Removing the e1000e module causes a crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I have a Lenovo x1 Carbon Gen5 and when it initially came out if you left the onboard NIC (e1000e) module loaded it would suck CPU/battery life so I have it removed in rc.local on boot.
In 5.4 (also happens on 5.4.0.15.18 which I'm running from proposed right now), this is what happens when the module is unloaded:
[ 608.979789] e1000e 0000:00:1f.6 enp0s31f6: removed PHC
[ 609.008352] ------------[ cut here ]------------
[ 609.008353] kernel BUG at drivers/
[ 609.008358] invalid opcode: 0000 [#1] SMP PTI
[ 609.008359] CPU: 0 PID: 6829 Comm: rmmod Tainted: P O 5.4.0-15-generic #18-Ubuntu
[ 609.008360] Hardware name: LENOVO 20HRCTO1WW/
[ 609.008364] RIP: 0010:free_
[ 609.008365] Code: 84 df fe ff ff 45 31 f6 eb 11 41 83 c6 01 44 39 73 14 0f 86 cc fe ff ff 8b 7b 10 44 01 f7 e8 ea c3 b6 ff 48 83 78 70 00 74 e0 <0f> 0b 49 8d b5 b0 00 00 00 e8 b5 7d b7 ff e9 cd fe ff ff 49 8b 78
[ 609.008366] RSP: 0018:ffffa7d207
[ 609.008367] RAX: ffff8bc9bfb49e00 RBX: ffff8bc9ad69c720 RCX: 0000000000000000
[ 609.008368] RDX: 0000000000000000 RSI: 0000000000000084 RDI: ffffffffa9e65980
[ 609.008369] RBP: ffffa7d2072f7d70 R08: ffff8bc9bb564db0 R09: ffff8bc9bb564df8
[ 609.008369] R10: 0000000000000000 R11: ffffffffa9e65988 R12: ffff8bc9cb5272c0
[ 609.008370] R13: ffff8bc9cb527000 R14: 0000000000000000 R15: dead000000000100
[ 609.008371] FS: 00007f188f1f950
[ 609.008372] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 609.008373] CR2: 00007f6d1a6af060 CR3: 000000046d9f8006 CR4: 00000000003606f0
[ 609.008373] Call Trace:
[ 609.008376] pci_disable_
[ 609.008385] e1000e_
[ 609.008389] e1000_remove+
[ 609.008391] pci_device_
[ 609.008394] device_
[ 609.008396] driver_
[ 609.008397] bus_remove_
[ 609.008399] driver_
[ 609.008400] pci_unregister_
[ 609.008405] e1000_exit_
[ 609.008407] __x64_sys_
[ 609.008409] ? exit_to_
[ 609.008411] do_syscall_
[ 609.008413] entry_SYSCALL_
[ 609.008414] RIP: 0033:0x7f188f345c9b
[ 609.008416] Code: 73 01 c3 48 8b 0d f5 71 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b8 b0 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c5 71 0c 00 f7 d8 64 89 01 48
[ 609.008416] RSP: 002b:00007fffc8
[ 609.008418] RAX: ffffffffffffffda RBX: 0000561e1a391790 RCX: 00007f188f345c9b
[ 609.008419] RDX: 000000000000000a RSI: 0000000000000800 RDI: 0000561e1a3917f8
[ 609.008420] RBP: 00007fffc8d32ec8 R08: 0000000000000000 R09: 0000000000000000
[ 609.008420] R10: 00007f188f3c1ac0 R11: 0000000000000206 R12: 00007fffc8d33090
[ 609.008422] R13: 00007fffc8d3474a R14: 0000561e1a3912a0 R15: 0000561e1a391790
[ 609.008424] Modules linked in: thunderbolt rfcomm xfrm_user xfrm_algo l2tp_ppp l2tp_netlink l2tp_core ip6_udp_tunnel udp_tunnel pppox ccm xt_comment xt_CHECKSUM xt_MASQUERADE ip6table_mangle ip6table_nat dummy iptable_mangle iptable_nat nf_tables nfnetlink bridge stp llc cmac algif_hash algif_skcipher af_alg bnep zfs(PO) zunicode(PO) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) zlua(PO) joydev intel_rapl_msr mei_hdcp nls_iso8859_1 snd_seq_midi snd_seq_midi_event snd_hda_codec_hdmi snd_hda_
[ 609.008447] iwlwifi mc snd_timer rtsx_pci_ms ecdh_generic ecc cfg80211 memstick snd mei_me ucsi_acpi typec_ucsi intel_xhci_
[ 609.008470] ---[ end trace 7485502fa763552b ]---
[ 609.008472] RIP: 0010:free_
[ 609.008473] Code: 84 df fe ff ff 45 31 f6 eb 11 41 83 c6 01 44 39 73 14 0f 86 cc fe ff ff 8b 7b 10 44 01 f7 e8 ea c3 b6 ff 48 83 78 70 00 74 e0 <0f> 0b 49 8d b5 b0 00 00 00 e8 b5 7d b7 ff e9 cd fe ff ff 49 8b 78
[ 609.008474] RSP: 0018:ffffa7d207
[ 609.008475] RAX: ffff8bc9bfb49e00 RBX: ffff8bc9ad69c720 RCX: 0000000000000000
[ 609.008475] RDX: 0000000000000000 RSI: 0000000000000084 RDI: ffffffffa9e65980
[ 609.008476] RBP: ffffa7d2072f7d70 R08: ffff8bc9bb564db0 R09: ffff8bc9bb564df8
[ 609.008477] R10: 0000000000000000 R11: ffffffffa9e65988 R12: ffff8bc9cb5272c0
[ 609.008477] R13: ffff8bc9cb527000 R14: 0000000000000000 R15: dead000000000100
[ 609.008478] FS: 00007f188f1f950
[ 609.008479] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 609.008480] CR2: 00007f6d1a6af060 CR3: 000000046d9f8006 CR4: 00000000003606f0
At that point the computer will no longer suspend, shutdown, reboot, etc (although it otherwise functions fine).
tags: | added: champagne |
Changed in linux-5.4 (Ubuntu): | |
status: | New → Confirmed |
affects: | linux-5.4 (Ubuntu) → linux (Ubuntu) |
# first bad commit: [4f2d8236f465f6 186ded54e783b0e e28bdf5e9b2] e1000e: Drop unnecessary __E1000_DOWN bit twiddling