Skip to content
This repository

NVRM: failed to copy vbios to system memory on toshiba #173

Closed
walkyrie opened this Issue · 11 comments

2 participants

walkyrie Peter Wu
walkyrie
Distro : archlinux
Kernel : Linux toshiba 3.3.7-1-ARCH #1 SMP PREEMPT Tue May 22 00:26:26 CEST 2012 x86_64 GNU/Linux

Manufacter and model:
baseboard-manufacturer: TOSHIBA
baseboard-product-name: Portable PC
baseboard-version     : MP
system-manufacturer   : TOSHIBA
system-product-name   : SATELLITE P870
system-version        : PSPLBE-01V00HFR
bios-vendor           : Insyde Corp.
bios-version          : 1.10
bios-release-date     : 03/21/2012

I have followed the arch linux documentation at https://wiki.archlinux.org/index.php/Bumblebee#Installing_Bumblebee_with_Intel_.2F_NVidia

I have installed bumblebee (3.0-3), nvidia-utils-bumblebee (295.53-1) and nvidia-bumblebee (295.53-1) from AUR.

when i launch optirun glsgears, i get :

[INFO]Response: No - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
[ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please

in bumblebeed -vv :

[DEBUG][XORG] NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).
[ERROR][XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
[ERROR][XORG] (EE) NVIDIA(0):     check your system's kernel log for additional error
[ERROR][XORG] (EE) NVIDIA(0):     messages and refer to Chapter 8: Common Problems in the
[ERROR][XORG] (EE) NVIDIA(0):     README for additional information.
[ERROR][XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!

in kernel.log : (complete file at http://pastebin.com/L78ZAcp7 )

Jun  4 11:04:27 localhost kernel: [  217.026562] NVRM: failed to copy vbios to system memory.
Jun  4 11:04:27 localhost kernel: [  217.030862] NVRM: RmInitAdapter failed! (0x30:0xffffffff:858)
Jun  4 11:04:27 localhost kernel: [  217.030870] NVRM: rm_init_adapter(0) failed

i have tried to blacklist nouveau.

I tried rebooting after turning off PM by setting PMMethod=none in bumblebee.conf under NVIDIA.

I have verified my command line
/proc/cmdline : root=/dev/disk/by-uuid/a21aab17-52fb-4f8e-a5bb-83d434e37e4b ro

i can not desactivate optimus in the BIOS

please help me to find a solution.

Thanks

jerome

Peter Wu
Owner

Try getting nouveau to work first. If that fails too, it is a BIOS issue. Otherwise, it's a nvidia driver issue.

walkyrie

I have installed the nouveau driver but it fails too. If it is a BIOS issue, is there a solution ?

in xorg.log, i have

[   121.890] (EE) [drm] failed to open device
[   121.890] (EE) No devices detected.

i have in kernel.log :

Jun  4 13:51:18 localhost kernel: [    6.437690] nouveau 0000:01:00.0: enabling device (0006 -> 0007)
Jun  4 13:51:18 localhost kernel: [    6.440303] [drm] nouveau 0000:01:00.0: Detected an NVc0 generation card (0x0c1480a1)
Jun  4 13:51:18 localhost kernel: [    6.449478] [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PRAMIN
Jun  4 13:51:18 localhost kernel: [    6.459195] [drm] nouveau 0000:01:00.0: ... BIOS signature not found
Jun  4 13:51:18 localhost kernel: [    6.459198] [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PROM
Jun  4 13:51:18 localhost kernel: [    6.459207] [drm] nouveau 0000:01:00.0: ... BIOS signature not found
Jun  4 13:51:18 localhost kernel: [    6.459209] [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PCIROM
Jun  4 13:51:18 localhost kernel: [    6.469091] nouveau 0000:01:00.0: Invalid ROM contents
Jun  4 13:51:18 localhost kernel: [    6.469234] [drm] nouveau 0000:01:00.0: ... BIOS signature not found
Jun  4 13:51:18 localhost kernel: [    6.469236] [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from ACPI
Jun  4 13:51:18 localhost kernel: [    6.469240] [drm] nouveau 0000:01:00.0: ... BIOS signature not found
Jun  4 13:51:18 localhost kernel: [    6.469241] [drm] nouveau 0000:01:00.0: No valid BIOS image found

but in xorg.log , i can load the module nouveau without problem :

[   121.736] (II) LoadModule: "nouveau"
[   121.736] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[   121.752] (II) Module nouveau: vendor="X.Org Foundation"
[   121.752]    compiled for 1.12.1.902, module version = 0.0.16
[   121.752]    Module class: X.Org Video Driver
[   121.752]    ABI class: X.Org Video Driver, version 12.0

the command lsmod | grep nouveau gives :

nouveau               768714  0 
mxm_wmi                 1425  1 nouveau
drm_kms_helper         26947  2 nouveau,i915
ttm                    64384  1 nouveau
drm                   204375  5 ttm,drm_kms_helper,nouveau,i915
i2c_core               20593  7 i2c_i801,drm,drm_kms_helper,i2c_algo_bit,nouveau,videodev,i915
wmi                     8475  2 mxm_wmi,nouveau
button                  4502  2 nouveau,i915
video                  11243  2 nouveau,i915

Do you have any idea ?

Peter Wu
Owner

Check for BIOS updates and submit your acpi information to https://bugs.launchpad.net/lpbugreporter/+bug/752542

walkyrie

ok thank you for your help.

i have submitted the acpi infomation to launchpad.

just for curiosity, from what composant is the problem : the nouveau driver, the kernel, the bios or the bumblegee module ?

Peter Wu
Owner

Probably an issue similar to Bumblebee-Project/bbswitch#2 (although the solution proposed there does not directly work for this machine). Can you get ACPI handles information as described on the bottom of https://github.com/Bumblebee-Project/bbswitch. You can paste that output in this report.

walkyrie

information about ACPI handles :

0000:00:00.0 060000 
0000:00:01.0 060400 \_SB_.PCI0.PEG0
0000:00:02.0 030000 \_SB_.PCI0.GFX0
0000:00:14.0 0c0330 \_SB_.PCI0.XHC_
0000:00:16.0 078000 
0000:00:1a.0 0c0320 \_SB_.PCI0.EHC2
0000:00:1b.0 040300 \_SB_.PCI0.HDEF
0000:00:1c.0 060400 \_SB_.PCI0.RP01
0000:00:1c.1 060400 \_SB_.PCI0.RP02
0000:00:1c.4 060400 \_SB_.PCI0.RP05
0000:00:1d.0 0c0320 \_SB_.PCI0.EHC1
0000:00:1f.0 060100 \_SB_.PCI0.LPCB
0000:00:1f.2 010601 \_SB_.PCI0.SAT0
0000:00:1f.3 0c0500 \_SB_.PCI0.SBUS
0000:01:00.0 030000 \_SB_.PCI0.PEG0.VGA_
0000:07:00.0 020000 \_SB_.PCI0.RP01.PXSX
0000:08:00.0 028000 \_SB_.PCI0.RP02.PXSX
0000:09:00.0 ff0000 \_SB_.PCI0.RP05.PXSX
walkyrie

I suppose the problem is more complex but is it worth a try to add my model on the function need_acpi_handle_hack in the acpi-handle-hack.c ?

If I can help to debug, please just ask.

Peter Wu
Owner

Okay, it is the same issue. Please test the hack-lenovo branch.

walkyrie

thank you. It works with the patch.

can you indicate me how to get the DMI_PRODUCT_VERSION for the dmi_match function?

For now, i have replaced :

static bool __init need_acpi_handle_hack(void) {
return dmi_match(DMI_PRODUCT_VERSION, "Lenovo IdeaPad Y470 ") ||
dmi_match(DMI_PRODUCT_VERSION, "Lenovo IdeaPad Y570 ") ||
dmi_match(DMI_PRODUCT_VERSION, "LENOVO IDEAPAD Y570 ") /* sys-product-name: PIQY0 */;
}

by

static bool __init need_acpi_handle_hack(void) {
return true;
}

Peter Wu
Owner

I've already updated the acpi-handle-hack.c file: https://github.com/Bumblebee-Project/bbswitch/blob/hack-lenovo/acpi-handle-hack.c
The DMI_PRODUCT_VERSION field correspondends to the system-version string from dmidecode.

walkyrie walkyrie closed this
walkyrie

Thank you again

Bruno Pagani ArchangeGabriel referenced this issue in Bumblebee-Project/bbswitch
Closed

Bumblebee: problem with Gt 630m #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.