news from primus + bumblebee + nvidia (tesla)

Patrice Duroux duroux.patrice at orange.fr
Sat Dec 28 14:37:54 GMT 2019


Ok, finally I got it.
nvidia-persistenced is the one trying to load the nvidia driver while bbswitch
is active and has disabled the discrete card.
Once I removed this package, the system after a fresh boot is more consistent.

It is not clear why bbswitch became inconsistent regarding its status (wrt
/proc/acpi/bbswitch) in the first situation.
For info, here are the log messages:

Dec 28 13:15:29 hp-dark kernel: [  167.011126] ------------[ cut here ]------------
Dec 28 13:15:29 hp-dark kernel: [  167.011127] pci 0000:01:00.0: disabling already-disabled device
Dec 28 13:15:29 hp-dark kernel: [  167.011137] WARNING: CPU: 1 PID: 10015 at drivers/pci/pci.c:1942 pci_disable_device+0x8c/0xb0
Dec 28 13:15:29 hp-dark kernel: [  167.011138] Modules linked in: fuse ctr ccm rfcomm bnep ipmi_devintf ipmi_msghandler bbswitch(OE) binfmt_misc intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_hdmi nls_ascii nls_cp437 vfat fat iwlmvm mei_wdt btusb ppdev btrtl mac80211 btbcm btintel snd_hda_codec_realtek bluetooth kvm snd_hda_codec_generic efi_pstore irqbypass ledtrig_audio libarc4 intel_cstate snd_hda_intel intel_uncore drbg iwlwifi snd_hda_codec uvcvideo snd_hda_core ansi_cprng intel_rapl_perf videobuf2_vmalloc cfg80211 videobuf2_memops videobuf2_v4l2 snd_hwdep pcspkr videobuf2_common snd_pcm joydev rtsx_pci_ms videodev hp_wmi tpm_infineon snd_timer serio_raw iTCO_wdt efivars snd ecdh_generic sparse_keymap iTCO_vendor_support ecc mei_me wmi_bmof sg watchdog mc memstick soundcore rfkill mei ie31200_edac parport_pc battery tpm_tis parport tpm_tis_core tpm ac hp_accel rng_core lis3lv02d hp_wireless evdev input_polldev efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2
Dec 28 13:15:29 hp-dark kernel: [  167.011164]  raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c crc32c_generic raid1 raid0 multipath linear md_mod dm_mirror dm_region_hash dm_log dm_mod sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel i915 ghash_clmulni_intel i2c_algo_bit drm_kms_helper rtsx_pci_sdmmc aesni_intel mmc_core ahci aes_x86_64 crypto_simd xhci_pci libahci mxm_wmi xhci_hcd libata ehci_pci cryptd ehci_hcd glue_helper drm psmouse e1000e usbcore scsi_mod rtsx_pci lpc_ich i2c_i801 mfd_core ptp pps_core usb_common video wmi button
Dec 28 13:15:29 hp-dark kernel: [  167.011183] CPU: 1 PID: 10015 Comm: bumblebeed Tainted: P           OE     5.3.0-3-amd64 #1 Debian 5.3.15-1
Dec 28 13:15:29 hp-dark kernel: [  167.011183] Hardware name: Hewlett-Packard HP ZBook 15 G2/2253, BIOS M70 Ver. 01.25 08/29/2019
Dec 28 13:15:29 hp-dark kernel: [  167.011184] RIP: 0010:pci_disable_device+0x8c/0xb0
Dec 28 13:15:29 hp-dark kernel: [  167.011186] Code: 4d 85 e4 75 07 4c 8b a3 b0 00 00 00 48 8d bb b0 00 00 00 e8 46 28 12 00 4c 89 e2 48 c7 c7 c8 e3 cc 84 48 89 c6 e8 a2 a6 c4 ff <0f> 0b eb 8e 48 89 df e8 e8 fe ff ff 80 a3 c9 07 00 00 df 5b 41 5c
Dec 28 13:15:29 hp-dark kernel: [  167.011186] RSP: 0018:ffffb7a28dd37e58 EFLAGS: 00010282
Dec 28 13:15:29 hp-dark kernel: [  167.011187] RAX: 0000000000000000 RBX: ffff9d90e5804000 RCX: 0000000000000000
Dec 28 13:15:29 hp-dark kernel: [  167.011188] RDX: 0000000000000033 RSI: ffffffff85422bd3 RDI: 0000000000000246
Dec 28 13:15:29 hp-dark kernel: [  167.011188] RBP: 000055e29834af30 R08: 00000026e2a38fed R09: 0000000000000033
Dec 28 13:15:29 hp-dark kernel: [  167.011189] R10: ffffffff85422f80 R11: 0000000085422ba3 R12: ffff9d90e5f818e0
Dec 28 13:15:29 hp-dark kernel: [  167.011189] R13: ffffb7a28dd37f08 R14: 000055e29834af30 R15: 0000000000000000
Dec 28 13:15:29 hp-dark kernel: [  167.011190] FS:  00007fa65566cf80(0000) GS:ffff9d90e7840000(0000) knlGS:0000000000000000
Dec 28 13:15:29 hp-dark kernel: [  167.011191] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Dec 28 13:15:29 hp-dark kernel: [  167.011191] CR2: 00007fa656172360 CR3: 000000029e346002 CR4: 00000000001606e0
Dec 28 13:15:29 hp-dark kernel: [  167.011192] Call Trace:
Dec 28 13:15:29 hp-dark kernel: [  167.011197]  bbswitch_off.cold+0xc1/0x1d1 [bbswitch]
Dec 28 13:15:29 hp-dark kernel: [  167.011199]  bbswitch_proc_write+0x90/0xa0 [bbswitch]
Dec 28 13:15:29 hp-dark kernel: [  167.011201]  proc_reg_write+0x3c/0x60
Dec 28 13:15:29 hp-dark kernel: [  167.011205]  vfs_write+0xb6/0x1a0
Dec 28 13:15:29 hp-dark kernel: [  167.011206]  ksys_write+0x5f/0xe0
Dec 28 13:15:29 hp-dark kernel: [  167.011209]  do_syscall_64+0x53/0x140
Dec 28 13:15:29 hp-dark kernel: [  167.011211]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Dec 28 13:15:29 hp-dark kernel: [  167.011213] RIP: 0033:0x7fa655f3f914
Dec 28 13:15:29 hp-dark kernel: [  167.011214] Code: 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb bb 0f 1f 80 00 00 00 00 48 8d 05 c9 3a 0d 00 8b 00 85 c0 75 13 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 48 83 ec 28 48 89 54 24 18 48
Dec 28 13:15:29 hp-dark kernel: [  167.011214] RSP: 002b:00007ffc3cb51008 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
Dec 28 13:15:29 hp-dark kernel: [  167.011215] RAX: ffffffffffffffda RBX: 0000000000000028 RCX: 00007fa655f3f914
Dec 28 13:15:29 hp-dark kernel: [  167.011216] RDX: 0000000000000028 RSI: 000055e29834af30 RDI: 0000000000000005
Dec 28 13:15:29 hp-dark kernel: [  167.011216] RBP: 000055e29834af30 R08: 00007fa65566cf80 R09: 0000000000000001
Dec 28 13:15:29 hp-dark kernel: [  167.011216] R10: 00000000000001b6 R11: 0000000000000246 R12: 0000000000000028
Dec 28 13:15:29 hp-dark kernel: [  167.011217] R13: 000055e298341280 R14: 0000000000000028 R15: 00007fa65600e960
Dec 28 13:15:29 hp-dark kernel: [  167.011218] ---[ end trace 5227833fea7e0538 ]---

Thanks,
Patrice






More information about the pkg-nvidia-devel mailing list