Bug 1080065 - bumblebeed tainted (disabling already disabled device)
bumblebeed tainted (disabling already disabled device)
Status: RESOLVED INVALID
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel
Current
x86-64 All
: P5 - None : Minor (vote)
: ---
Assigned To: E-mail List
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-02-08 13:02 UTC by Mario Penzel
Modified: 2018-02-13 10:32 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
mkubecek: needinfo? (penc)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Penzel 2018-02-08 13:02:30 UTC
While struggling with another fault (Plasma Workspace not starting after todays major upgrade to release 20180206-1.2) found this in dmesg output:

Booting from earlier readonly snapshot
 :~> uname -a
        Linux linux-3ytr 4.15.0-1-default #1 SMP PREEMPT Wed Jan 31 07:03:28 UTC 2018 (ac01747) x86_64 x86_64 x86_64 GNU/Linux
show up this log.


[   14.325911] ------------[ cut here ]------------
[   14.325912] pci 0000:01:00.0: disabling already-disabled device
[   14.325921] WARNING: CPU: 7 PID: 2752 at ../drivers/pci/pci.c:1641 pci_disable_device+0x95/0xc0
[   14.325921] Modules linked in: nfnetlink_cthelper nfnetlink ip6t_REJECT nf_reject_ipv6 nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 xt_pkttype xt_tcpudp iptable_filter ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack libcrc32c ip6table_filter ip6_tables x_tables msr bnep snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 btusb videobuf2_core btrtl btbcm btintel videodev bluetooth ecdh_generic nls_iso8859_1 nls_cp437 vfat fat arc4 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp iwlmvm snd_hda_intel snd_hda_codec kvm_intel mac80211 snd_hda_core snd_hwdep kvm iwlwifi irqbypass crct10dif_pclmul snd_pcm crc32_pclmul ghash_clmulni_intel
[   14.325945]  pcbc snd_timer cfg80211 ideapad_laptop aesni_intel iTCO_wdt ipmi_devintf sparse_keymap r8169 mei_me iTCO_vendor_support aes_x86_64 snd crypto_simd ipmi_msghandler glue_helper mii joydev cryptd pcspkr soundcore i2c_i801 wmi_bmof mei shpchp thermal rfkill battery tpm_crb tpm_tis tpm_tis_core tpm acpi_pad ac btrfs xor zstd_decompress zstd_compress xxhash hid_generic usbhid raid6_pq crc32c_intel i915 i2c_algo_bit drm_kms_helper sdhci_pci syscopyarea sdhci sysfillrect sysimgblt xhci_pci fb_sys_fops serio_raw mmc_core xhci_hcd drm usbcore vboxnetadp(O) vboxnetflt(O) vboxpci(O) wmi video button vboxdrv(O) sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua bbswitch(O) efivarfs [last unloaded: nvidia]
[   14.325973] CPU: 7 PID: 2752 Comm: bumblebeed Tainted: P           O     4.15.0-1-default #1
[   14.325974] Hardware name: LENOVO 80NV/Allsparks 5A, BIOS CDCN52WW 09/01/2016
[   14.325975] RIP: 0010:pci_disable_device+0x95/0xc0
[   14.325976] RSP: 0018:ffffa4d5c266fe08 EFLAGS: 00010292
[   14.325977] RAX: 0000000000000033 RBX: ffff8855c49bd000 RCX: ffffffff9a05ca48
[   14.325978] RDX: 0000000000000001 RSI: 0000000000000096 RDI: 0000000000000287
[   14.325979] RBP: ffff8855c499c2e0 R08: 0000000000000033 R09: 00000000000003cd
[   14.325979] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8857e9604700
[   14.325980] R13: ffffa4d5c266ff28 R14: 00005611ba3db2c0 R15: 0000000000000028
[   14.325981] FS:  00007f7db7328b80(0000) GS:ffff8858005c0000(0000) knlGS:0000000000000000
[   14.325982] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   14.325983] CR2: 000055e027a2c034 CR3: 00000004547e8005 CR4: 00000000003606e0
[   14.325984] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   14.325984] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   14.325985] Call Trace:
[   14.325989]  bbswitch_off+0x9a/0x220 [bbswitch]
[   14.325991]  bbswitch_proc_write+0x8d/0xa4 [bbswitch]
[   14.325994]  proc_reg_write+0x40/0x70
[   14.325997]  __vfs_write+0x26/0x150
[   14.325999]  ? common_file_perm+0x51/0x150
[   14.326000]  ? security_file_permission+0x3c/0xb0
[   14.326002]  vfs_write+0xad/0x1a0
[   14.326004]  SyS_write+0x42/0x90
[   14.326006]  entry_SYSCALL_64_fastpath+0x2f/0xa1
[   14.326008] RIP: 0033:0x7f7db6611ae4
[   14.326008] RSP: 002b:00007ffe0c95fca8 EFLAGS: 00000246
[   14.326009] Code: 00 c6 05 37 92 cd 00 01 48 85 ed 74 34 48 8d bb a0 00 00 00 e8 ed fe 11 00 48 89 ea 48 89 c6 48 c7 c7 d8 39 e9 99 e8 6b 5c c3 ff <0f> ff eb 84 48 89 df e8 0f ff ff ff 80 a3 c1 07 00 00 f7 5b 5d 
[   14.326032] ---[ end trace 348ed3d2785f07a8 ]---
Comment 1 Michal Kubeček 2018-02-09 15:21:55 UTC
Where does this (out of tree) bbswitch module come from? It doesn't seem to be
part of our kernel packages. Is it provided as part of the distribution at all?
Comment 2 Jiri Slaby 2018-02-13 10:32:48 UTC
Calling pci_device_disable on disabled device is not a good idea. The module is from the bumblebee project, you have to report there.