Bug#764639: libgl1-nvidia-glx: failst to upgrade or install with KMS (nouveau) active

Andreas Beckmann anbe at debian.org
Wed Feb 22 11:50:18 UTC 2017


On 2017-02-22 11:29, Luca Boccassi wrote:
> Ok I managed to fix everything that was trying to load nvidia modules.
> 
> Now booting with nouveau, I can't actually manage to reproduce the
> stale /proc/driver/nvidia with any series - tried 304, 340 and 378. Not
> sure what's going on...

What are the kernel messages you get when loading the modules? Try to 
load the module a second time after it had failed to load ...
The problem should be reproducible at least with 340 as in the archive 
(and should be fixed in svn).
Anything 361+ should not have the problem any more.

Let me see if I can find my kernel log entries ... yep, that's 
* try to load the module -> nouveau already clained our device
* try to load the module again -> proc_dir_entry 'driver/nvidia' already registered
* access /proc/driver/nvidia -> OOPS
(with jessie's kernel)

[...]
Feb 10 21:39:53 t530 kernel: [    6.084133] [drm] Initialized nouveau 1.1.2 20120801 for 0000:01:00.0 on minor 1
Feb 10 21:39:53 t530 kernel: [    6.123206] nvidia: module license 'NVIDIA' taints kernel.
Feb 10 21:39:53 t530 kernel: [    6.123210] Disabling lock debugging due to kernel taint
Feb 10 21:39:53 t530 kernel: [    6.132582] NVRM: The NVIDIA probe routine was not called for 1 device(s).
Feb 10 21:39:53 t530 kernel: [    6.132585] NVRM: This can occur when a driver such as: 
Feb 10 21:39:53 t530 kernel: [    6.132585] NVRM: nouveau, rivafb, nvidiafb or rivatv 
Feb 10 21:39:53 t530 kernel: [    6.132585] NVRM: was loaded and obtained ownership of the NVIDIA device(s).
Feb 10 21:39:53 t530 kernel: [    6.132588] NVRM: Try unloading the conflicting kernel module (and/or
Feb 10 21:39:53 t530 kernel: [    6.132588] NVRM: reconfigure your kernel without the conflicting
Feb 10 21:39:53 t530 kernel: [    6.132588] NVRM: driver(s)), then try loading the NVIDIA kernel module
Feb 10 21:39:53 t530 kernel: [    6.132588] NVRM: again.
Feb 10 21:39:53 t530 kernel: [    6.132590] NVRM: No NVIDIA graphics adapter probed!
Feb 10 21:39:53 t530 kernel: [    6.132591] [drm] Module unloaded
[...]
Feb 10 21:40:12 t530 kernel: [   28.064190] ------------[ cut here ]------------
Feb 10 21:40:12 t530 kernel: [   28.064196] WARNING: CPU: 5 PID: 4122 at /build/linux-GU1w8g/linux-3.16.39/fs/proc/generic.c:304 proc_register+0xc0/0x140()
Feb 10 21:40:12 t530 kernel: [   28.064197] proc_dir_entry 'driver/nvidia' already registered
Feb 10 21:40:12 t530 kernel: [   28.064198] Modules linked in: nvidia(PO+) bnep snd_hrtimer snd_seq [...]
Feb 10 21:40:12 t530 kernel: [   28.064265] CPU: 5 PID: 4122 Comm: modprobe Tainted: P           O  3.16.0-4-amd64 #1 Debian 3.16.39-1
Feb 10 21:40:12 t530 kernel: [   28.064266] Hardware name: LENOVO 24296JG/24296JG, BIOS G4ET95WW (2.55 ) 08/12/2013
Feb 10 21:40:12 t530 kernel: [   28.064267]  0000000000000000 ffffffff81514c11 ffff8803fdd93c30 0000000000000009
Feb 10 21:40:12 t530 kernel: [   28.064268]  ffffffff81068867 ffff880428d879c0 ffff8803fdd93c80 ffff88042cee4440
Feb 10 21:40:12 t530 kernel: [   28.064270]  ffff88042dd25a40 ffff880428d879c0 ffffffff810688cc ffffffff81730518
Feb 10 21:40:12 t530 kernel: [   28.064271] Call Trace:
Feb 10 21:40:12 t530 kernel: [   28.064275]  [<ffffffff81514c11>] ? dump_stack+0x5d/0x78
Feb 10 21:40:12 t530 kernel: [   28.064278]  [<ffffffff81068867>] ? warn_slowpath_common+0x77/0x90
Feb 10 21:40:12 t530 kernel: [   28.064280]  [<ffffffff810688cc>] ? warn_slowpath_fmt+0x4c/0x50
Feb 10 21:40:12 t530 kernel: [   28.064281]  [<ffffffff8120f350>] ? proc_register+0xc0/0x140
Feb 10 21:40:12 t530 kernel: [   28.064283]  [<ffffffff8120f4cc>] ? proc_mkdir_data+0x4c/0x70
Feb 10 21:40:12 t530 kernel: [   28.064322]  [<ffffffffa0c44bfc>] ? nv_register_procfs+0x4c/0x1e0 [nvidia]
Feb 10 21:40:12 t530 kernel: [   28.064386]  [<ffffffffa1646285>] ? nvidia_init_module+0x285/0x78b [nvidia]
Feb 10 21:40:12 t530 kernel: [   28.064451]  [<ffffffffa164679a>] ? nv_drm_init+0xf/0xf [nvidia]
Feb 10 21:40:12 t530 kernel: [   28.064515]  [<ffffffffa16467e7>] ? nvidia_frontend_init_module+0x4d/0x866 [nvidia]
Feb 10 21:40:12 t530 kernel: [   28.064517]  [<ffffffff8100213c>] ? do_one_initcall+0xcc/0x200
Feb 10 21:40:12 t530 kernel: [   28.064520]  [<ffffffff810dcfed>] ? load_module+0x210d/0x2710
Feb 10 21:40:12 t530 kernel: [   28.064521]  [<ffffffff810d8b60>] ? store_uevent+0x40/0x40
Feb 10 21:40:12 t530 kernel: [   28.064523]  [<ffffffff810dd74d>] ? SyS_finit_module+0x7d/0xa0
Feb 10 21:40:12 t530 kernel: [   28.064526]  [<ffffffff8151adcd>] ? system_call_fast_compare_end+0x10/0x15
Feb 10 21:40:12 t530 kernel: [   28.064528] ---[ end trace 9cc8c799d0ec934f ]---
Feb 10 21:40:13 t530 kernel: [   28.310327] thinkpad_acpi: EC reports that Thermal Table has changed
Feb 10 21:40:13 t530 kernel: [   28.310334] nouveau 0000:01:00.0: enabling device (0004 -> 0007)
Feb 10 21:40:13 t530 kernel: [   28.310569] NVRM: The NVIDIA probe routine was not called for 1 device(s).
Feb 10 21:40:13 t530 kernel: [   28.310571] NVRM: This can occur when a driver such as: 
Feb 10 21:40:13 t530 kernel: [   28.310571] NVRM: nouveau, rivafb, nvidiafb or rivatv 
Feb 10 21:40:13 t530 kernel: [   28.310571] NVRM: was loaded and obtained ownership of the NVIDIA device(s).
Feb 10 21:40:13 t530 kernel: [   28.310573] NVRM: Try unloading the conflicting kernel module (and/or
Feb 10 21:40:13 t530 kernel: [   28.310573] NVRM: reconfigure your kernel without the conflicting
Feb 10 21:40:13 t530 kernel: [   28.310573] NVRM: driver(s)), then try loading the NVIDIA kernel module
Feb 10 21:40:13 t530 kernel: [   28.310573] NVRM: again.
Feb 10 21:40:13 t530 kernel: [   28.310575] NVRM: No NVIDIA graphics adapter probed!
Feb 10 21:40:13 t530 kernel: [   28.310577] [drm] Module unloaded
[...]
Feb 10 21:41:16 t530 kernel: [   92.243461] PGD 1816067 PUD 1817063 PMD 42c415067 PTE 0
Feb 10 21:41:16 t530 kernel: [   92.243508] Oops: 0000 [#1] SMP 
Feb 10 21:41:16 t530 kernel: [   92.243538] Modules linked in: bnep snd_hrtimer snd_seq [...]
Feb 10 21:41:16 t530 kernel: [   92.245163] CPU: 3 PID: 5097 Comm: test Tainted: P        W  O  3.16.0-4-amd64 #1 Debian 3.16.39-1
Feb 10 21:41:16 t530 kernel: [   92.245223] Hardware name: LENOVO 24296JG/24296JG, BIOS G4ET95WW (2.55 ) 08/12/2013
Feb 10 21:41:16 t530 kernel: [   92.245274] task: ffff880400656a60 ti: ffff8803f93f0000 task.ti: ffff8803f93f0000
Feb 10 21:41:16 t530 kernel: [   92.245323] RIP: 0010:[<ffffffff8120a340>]  [<ffffffff8120a340>] proc_get_inode+0xc0/0x170
Feb 10 21:41:16 t530 kernel: [   92.245381] RSP: 0018:ffff8803f93f3c98  EFLAGS: 00010246
Feb 10 21:41:16 t530 kernel: [   92.245417] RAX: 0000000000008000 RBX: ffff8804063dc088 RCX: 0000000000000018
Feb 10 21:41:16 t530 kernel: [   92.245463] RDX: ffffffffa11b7960 RSI: 0000000000000001 RDI: ffff8804063dc088
Feb 10 21:41:16 t530 kernel: [   92.245510] RBP: ffff8803f93f3ca8 R08: 000000000000006e R09: 0000000000000001
Feb 10 21:41:16 t530 kernel: [   92.245578] R10: fefefefefefefeff R11: 0000000000000000 R12: ffff880428fcb1c0
Feb 10 21:41:16 t530 kernel: [   92.245624] R13: ffff8800aa509d48 R14: 00000000ffffff9c R15: 0000000000000000
Feb 10 21:41:16 t530 kernel: [   92.245663] FS:  00007fda72571700(0000) GS:ffff88043e2c0000(0000) knlGS:0000000000000000
Feb 10 21:41:16 t530 kernel: [   92.245705] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 10 21:41:16 t530 kernel: [   92.245737] CR2: ffffffffa11b79b8 CR3: 000000042be1e000 CR4: 00000000001407e0
Feb 10 21:41:16 t530 kernel: [   92.245775] Stack:
Feb 10 21:41:16 t530 kernel: [   92.245788]  ffff880428fcb1c0 ffff8800a0bd6b58 0000000000000007 ffffffff8120f699
Feb 10 21:41:16 t530 kernel: [   92.245835]  ffff8800a0bd6b58 ffff8800a0bd6c18 ffff8800a0bd6c18 ffff8803f93f3e00
Feb 10 21:41:16 t530 kernel: [   92.245882]  ffffffff811b37d9 ffff8803f93f3e00 0000000000000001 ffffffff811b406f
Feb 10 21:41:16 t530 kernel: [   92.245928] Call Trace:
Feb 10 21:41:16 t530 kernel: [   92.245947]  [<ffffffff8120f699>] ? proc_lookup_de+0x79/0xd0
Feb 10 21:41:16 t530 kernel: [   92.245982]  [<ffffffff811b37d9>] ? lookup_real+0x19/0x50
Feb 10 21:41:16 t530 kernel: [   92.246014]  [<ffffffff811b406f>] ? __lookup_hash+0x2f/0x40
Feb 10 21:41:16 t530 kernel: [   92.246047]  [<ffffffff81513a59>] ? lookup_slow+0x3e/0xa3
Feb 10 21:41:16 t530 kernel: [   92.246078]  [<ffffffff811b663d>] ? path_lookupat+0x73d/0x780
Feb 10 21:41:16 t530 kernel: [   92.246111]  [<ffffffff811b66a6>] ? filename_lookup+0x26/0xc0
Feb 10 21:41:16 t530 kernel: [   92.246143]  [<ffffffff811ba8e4>] ? user_path_at_empty+0x54/0x90
Feb 10 21:41:16 t530 kernel: [   92.246188]  [<ffffffff81058321>] ? __do_page_fault+0x1d1/0x4f0
Feb 10 21:41:16 t530 kernel: [   92.246236]  [<ffffffff81172809>] ? do_mmap_pgoff+0x2e9/0x3b0
Feb 10 21:41:16 t530 kernel: [   92.246269]  [<ffffffff811af0e6>] ? vfs_fstatat+0x46/0x90
Feb 10 21:41:16 t530 kernel: [   92.246300]  [<ffffffff811af57a>] ? SYSC_newstat+0x1a/0x40
Feb 10 21:41:16 t530 kernel: [   92.246332]  [<ffffffff8151cde8>] ? page_fault+0x28/0x30
Feb 10 21:41:16 t530 kernel: [   92.246363]  [<ffffffff8151adcd>] ? system_call_fast_compare_end+0x10/0x15
Feb 10 21:41:16 t530 kernel: [   92.246417] Code: 00 48 89 43 20 49 8b 54 24 28 48 85 d2 74 14 0f b7 03 66 25 00 f0 66 3d 00 80 74 0f 48 89 93 40 01 00 00 48 89 d8 5b 41 5c 5d c3 <48> 83 7a 58 00 48 c7 c0 80 77 62 81 48 c7 c2 80 78 62 81 48 0f 
Feb 10 21:41:16 t530 kernel: [   92.246772]  RSP <ffff8803f93f3c98>
Feb 10 21:41:16 t530 kernel: [   92.246805] CR2: ffffffffa11b79b8
Feb 10 21:41:16 t530 kernel: [   92.258848] ---[ end trace 9cc8c799d0ec9350 ]---


Andreas



More information about the pkg-nvidia-devel mailing list