Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: dibl on 2013/12/30, 17:01:31

Title: [SOLVED] Kernel 3.13-rc5-siduction-amd64 -- problem with Nivida
Post by: dibl on 2013/12/30, 17:01:31
dmesg says


Code: [Select]
nvidia: Unknown symbol acpi_os_wait_events_complete (err 0)

Hardware:


Code: [Select]
System:    Host: imerabox Kernel: 3.12-6.towo-siduction-amd64 x86_64 (64 bit, gcc: 4.8.2)
           Desktop: KDE 4.11.4 (Qt 4.8.6) Distro: aptosid 2011-02 Ἡμέρα - kde-lite - (201107131633)
Machine:   Mobo: ASUSTeK model: P6X58D-E version: Rev 1.xx Bios: American Megatrends version: 0602 date: 03/24/2011
CPU:       Quad core Intel Core i7 CPU 950 (-HT-MCP-) cache: 8192 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 33738.4
           Clock Speeds: 1: 1600.00 MHz 2: 1600.00 MHz 3: 1600.00 MHz 4: 1600.00 MHz 5: 1600.00 MHz 6: 1600.00 MHz 7: 1600.00 MHz 8: 1600.00 MHz
Graphics:  Card: NVIDIA GF100 [GeForce GTX 480] bus-ID: 05:00.0 X.Org: 1.14.5 driver: nvidia Resolution: 1920x1200@59.9hz
           GLX Renderer: GeForce GTX 480/PCIe/SSE2 GLX Version: 4.4.0 NVIDIA 331.20 Direct Rendering: Yes
Network:   Card: Marvell 88E8056 PCI-E Gigabit Ethernet Controller driver: sky2 ver: 1.30 port: d800 bus-ID: 06:00.0
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: 20:cf:30:5c:41:1d
Drives:    HDD Total Size: 2136.5GB (4.2% used) 1: model: KINGSTON_SS100S2
           2: model: OCZ 3: model: OCZ 4: model: WDC_WD1002FAEX 5: model: WDC_WD1002FAEX
Info:      Processes: 289 Uptime: 1:04 Memory: 1722.4/5966.0MB Runlevel: 5 Gcc sys: 4.8.2
           Client: Shell (bash 4.2.45) inxi: 1.9.17


Title: Re: Kernel 3.13-rc5-siduction-amd64 -- problem with Nivida
Post by: towo on 2013/12/30, 17:36:43
You need a little patch.

http://paste.debian.net/73252/
Title: Re: Kernel 3.13-rc5-siduction-amd64 -- problem with Nivida
Post by: dibl on 2013/12/30, 18:26:39
Got it -- thanks.  Since I don't know how to patch a kernel, I will be happy to wait until it is incorporated in future kernel releases.


Thanks for your work, towo!




Title: Re: Kernel 3.13-rc5-siduction-amd64 -- problem with Nivida
Post by: towo on 2013/12/30, 18:43:43
This is not a patch for the kernel, it's a patch for the driver.
Save tha paste to a file, e.g. /usr/src/nv-linux-3.13.patch.
cd /usr/src/nvidia-current-331.20/
patch -p1 < ../nv-linux-3.13.patch

Then you can build the module.
Title: Re: Kernel 3.13-rc5-siduction-amd64 -- problem with Nivida
Post by: dibl on 2013/12/30, 20:55:45

Then you can build the module.


I assume this means


Code: [Select]
apt-get install --reinstall nvidia-driver

??


The patch seemed to apply with no error.  But after I reinstall nvidia-driver, I tried


Code: [Select]
modprobe nvidia

and the error says


Code: [Select]
ERROR: could not insert "nvidia_current": Unknown symbol in module, or unknown parameter (see dmesg)



What do I not know?
Title: Re: Kernel 3.13-rc5-siduction-amd64 -- problem with Nivida
Post by: towo on 2013/12/30, 21:04:16
No!
After patching do

Code: [Select]
dkms build -m nvidia-current -v 331.20 -k 3.13-rc6-siduction-amd64
dkms install -m nvidia-current -v 331.20 -k 3.13-rc6-siduction-amd64

If you do a reinstall nvidia-driver, the patch is gone!
Title: Re: Kernel 3.13-rc5-siduction-amd64 -- problem with Nivida
Post by: dibl on 2013/12/30, 21:46:15
PERFECT!


Code: [Select]
System:    Host: imerabox Kernel: 3.13-rc6-siduction-amd64 x86_64 (64 bit)
           Desktop: KDE 4.11.4 Distro: aptosid 2011-02 Ἡμέρα - kde-lite - (201107131633)
Machine:   Mobo: ASUSTeK model: P6X58D-E version: Rev 1.xx Bios: American Megatrends version: 0602 date: 03/24/2011
CPU:       Quad core Intel Core i7 CPU 950 (-HT-MCP-) clocked at 1600.00 MHz
Graphics:  Card: NVIDIA GF100 [GeForce GTX 480] X.Org: 1.14.5 driver: nvidia Resolution: 1920x1200@59.9hz
           GLX Renderer: GeForce GTX 480/PCIe/SSE2 GLX Version: 4.4.0 NVIDIA 331.20
Network:   Card: Marvell 88E8056 PCI-E Gigabit Ethernet Controller driver: sky2
Drives:    HDD Total Size: 2136.5GB (4.2% used) 1: model: OCZ
           2: model: KINGSTON_SS100S2 3: model: OCZ 4: model: WDC_WD1002FAEX 5: model: WDC_WD1002FAEX
Info:      Processes: 317 Uptime: 1 min Memory: 1502.9/5976.6MB Client: Shell (bash) inxi: 1.9.17


Many thanks -- Vielen Dank!
Title: Re: [SOLVED] Kernel 3.13-rc5-siduction-amd64 -- problem with Nivida
Post by: pjnsmb on 2014/01/21, 07:32:21

After a routine apt-get dist-upgrade that included installing kernel 3.13 I cannot boot into the new kernel.


I am getting the same error in dmesg :

nvidia: Unknown symbol acpi_os_wait_events_complete (err 0)


It is the first time I have had this sort of problem with a new kernel so I apologise for being a little unsure as to what information to provide.


Do I need a patch like dibl to make this new kernel 3.13 work ?


thanks for any help


Hardware :


[/code]
Code: [Select]
[font=Verdana][size=78%]System:    Host: petersbox Kernel: 3.12-8.towo-siduction-amd64 x86_64 (64 bit, gcc: 4.8.2) [/font][/size]
           Desktop: Xfce 4.10.2 (Gtk 2.24.18) Distro: siduction 13.2.0 December - xfce - (201312310323)
Machine:   Mobo: Gigabyte model: G31M-ES2L version: x.x Bios: Award version: F5 date: 11/06/2008
CPU:       Dual core Intel Core2 Duo CPU E8400 (-MCP-) cache: 6144 KB flags: (lm nx sse sse2 sse3 sse4_1 ssse3 vmx) bmips: 12000.2
           Clock Speeds: 1: 2000.00 MHz 2: 2000.00 MHz
Graphics:  Card: NVIDIA G96 [GeForce 9500 GT] bus-ID: 01:00.0
           X.org: 1.14.5 driver: nvidia tty size: 118x38 Advanced Data: N/A for root
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 ver: 2.3LK-NAPI port: d000 bus-ID: 03:00.0
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: 00:1f:d0:cd:fc:aa
Drives:    HDD Total Size: 1320.3GB (43.0% used) 1: model: Hitachi_HDT72103
           2: model: FA_GoFlex_Desk
Info:      Processes: 162 Uptime: 25 min Memory: 1471.3/3958.6MB Runlevel: 5 Gcc sys: 4.8.2
           Client: Shell (bash 4.2.45) inxi: 1.9.17







Title: Re: [SOLVED] Kernel 3.13-rc5-siduction-amd64 -- problem with Nivida
Post by: towo on 2014/01/21, 07:43:43
You have to use the driver from our fixes-repo, it has all patches in.
Title: Re: [SOLVED] Kernel 3.13-rc5-siduction-amd64 -- problem with Nivida
Post by: pjnsmb on 2014/01/21, 08:09:33
thanks for your help towo


I did say I am a kernel problem virgin  :-[


I am taking a guess that I need to download the nvidia-driver (331.38-2.siduction.1)


will this automatically replace my existing

[/size]nvidia-driver:  Installed: 319.82-1 ? or do I uninstall the existing driver first ? [size=78%]
[/size]
[/size]a guide or advice to the correct procedure would really help if you have time [size=78%]

[/size]thanks[size=78%]
Title: Re: [SOLVED] Kernel 3.13-rc5-siduction-amd64 -- problem with Nivida
Post by: towo on 2014/01/21, 08:40:06
Make a d-u, the driver will replace the installed one.
Make sure, you have added contrib non-free to the fixes sources.
Title: Re: [SOLVED] Kernel 3.13-rc5-siduction-amd64 -- problem with Nivida
Post by: pjnsmb on 2014/01/21, 09:02:24
Again I am embarrassed  :-[


I have added the fixes repo so now a d-u wants to update ALL of the nvidea packages :


 nvidia-kernel-dkms nvidia-vdpau-driver nvidia-alternative nvidia-driver libgl1-nvidia-glx  xserver-xorg-video-nvidia


is this correct or should I be only updating nvidea-driver ?


thanks
Title: Re: [SOLVED] Kernel 3.13-rc5-siduction-amd64 -- problem with Nivida
Post by: towo on 2014/01/21, 09:08:20
Could it be, debian is not the right distro for you?
Some basics you should learn.
The nvidia-driver is not only one package, so you have to install/update all involved packages.
Title: Re: [SOLVED] Kernel 3.13-rc5-siduction-amd64 -- problem with Nivida
Post by: dibl on 2014/01/21, 20:57:45
To expand:


Code: [Select]
root@imerabox:/# dpkg -l | grep nvidia
ii  glx-alternative-nvidia                           0.4.1                              amd64        allows the selection of NVIDIA as GLX provider
rc  libgl1-nvidia-alternatives-ia32                  319.17-0.siduction.0               amd64        simplifies replacing MESA libGL with GPU vendor libraries (32-bit)
ii  libgl1-nvidia-glx:amd64                          331.38-0.siduction.3               amd64        NVIDIA binary OpenGL libraries
rc  libgl1-nvidia-glx:i386                           319.23-0.siduction.1               i386         NVIDIA binary OpenGL libraries
ii  libnvidia-ml1:amd64                              331.38-0.siduction.3               amd64        NVIDIA Management Library (NVML) runtime library
ii  nvidia-alternative                               331.38-0.siduction.3               amd64        allows the selection of NVIDIA as GLX provider
ii  nvidia-driver                                    331.38-0.siduction.3               amd64        NVIDIA metapackage
ii  nvidia-glx                                       331.38-0.siduction.3               amd64        transition to nvidia-driver
ii  nvidia-installer-cleanup                         20131102+1                         amd64        cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common                             20131102+1                         amd64        NVIDIA binary kernel module support files
ii  nvidia-kernel-dkms                               331.38-0.siduction.3               amd64        NVIDIA binary kernel module DKMS source
ii  nvidia-kernel-source                             331.38-0.siduction.3               amd64        NVIDIA binary kernel module source
ii  nvidia-settings                                  331.38-0.siduction.1               amd64        tool for configuring the NVIDIA graphics driver
ii  nvidia-support                                   20131102+1                         amd64        NVIDIA binary graphics driver support files
ii  nvidia-vdpau-driver:amd64                        331.38-0.siduction.3               amd64        NVIDIA vdpau driver
ii  xserver-xorg-video-nvidia                        331.38-0.siduction.3               amd64        NVIDIA binary Xorg driver


to support this:


Code: [Select]
Graphics:  Card: NVIDIA GF100 [GeForce GTX 480] bus-ID: 05:00.0 X.Org: 1.14.5 driver: nvidia Resolution: 1920x1200@59.9hz
           GLX Renderer: GeForce GTX 480/PCIe/SSE2 GLX Version: 4.4.0 NVIDIA 331.38 Direct Rendering: Yes



Title: Re: [SOLVED] Kernel 3.13-rc5-siduction-amd64 -- problem with Nivida
Post by: pjnsmb on 2014/01/22, 08:45:36
thanks for the help dibl


It is a fact you never stop learning with linux  ;D




Title: Re: [SOLVED] Kernel 3.13-rc5-siduction-amd64 -- problem with Nivida
Post by: ajavibp on 2014/01/22, 23:06:53
I've update today without problems with Nvidia driver.
Regards!