exanic-software icon indicating copy to clipboard operation
exanic-software copied to clipboard

kernel is crashed when the exanic drvier is removed on Rocky Linux 9.4.

Open adimgong opened this issue 5 months ago • 0 comments

I am using Rocky Linux 9.4(5.14.0), but the kernel is crashed when the exanic drvier is removed if I enable iommu options on the kernel command line, specifically in my case, "intel_iommu=on".

[ 524.456890] BUG: unable to handle page fault for address: ffffe414771a4088 [ 524.456983] #PF: supervisor read access in kernel mode [ 524.456998] #PF: error_code(0x0000) - not-present page [ 524.457013] PGD 0 P4D 0 [ 524.457022] Oops: 0000 [#1] PREEMPT SMP PTI [ 524.457036] CPU: 11 PID: 2536 Comm: rmmod Kdump: loaded Tainted: G S OE ------- --- 5.14.0-427.31.1.el9_4.x86_64 #1 [ 524.457067] Hardware name: Dell Inc. PowerEdge R720/0X6FFV, BIOS 2.9.0 12/06/2019 [ 524.457086] RIP: 0010:exanic_rx_in_use.cold+0x3a/0x87 [exanic] [ 524.457114] Code: 80 48 03 83 60 01 00 00 72 3d 48 c7 c2 00 00 00 80 48 2b 15 b0 a9 56 f3 48 01 d0 48 c1 e8 0c 48 c1 e0 06 48 03 05 8e a9 56 f3 <48> 8b 48 08 48 89 c2 f6 c1 01 74 1a 48 8d 41 ff 8b 40 34 b8 01 00 [ 524.457161] RSP: 0018:ffffa08d411dbbc8 EFLAGS: 00010282 [ 524.457177] RAX: ffffe414771a4080 RBX: ffff88a092500028 RCX: 0000000000000027 [ 524.457196] RDX: 0000776000000000 RSI: ffffffffb4667a00 RDI: ffff88a78f4e0848 [ 524.457215] RBP: 0000000000000000 R08: 80000000ffff8598 R09: ffffa08d411dbb68 [ 524.457234] R10: 0000000000000001 R11: 0000000000000024 R12: ffff88a096fa3440 [ 524.457253] R13: ffff88a092506348 R14: dead000000000122 R15: dead000000000100 [ 524.457272] FS: 00007f5abdd74740(0000) GS:ffff88a78f4c0000(0000) knlGS:0000000000000000 [ 524.457294] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 524.457323] CR2: ffffe414771a4088 CR3: 00000001106ce006 CR4: 00000000001706e0 [ 524.457341] Call Trace: [ 524.457350] <TASK> [ 524.457357] ? show_trace_log_lvl+0x1c4/0x2df [ 524.457385] ? show_trace_log_lvl+0x1c4/0x2df [ 524.457399] ? exanic_free_ctx+0x12c/0x160 [exanic] [ 524.457418] ? __die_body.cold+0x8/0xd [ 524.457430] ? page_fault_oops+0x134/0x170 [ 524.457443] ? kernelmode_fixup_or_oops+0x84/0x110 [ 524.457457] ? exc_page_fault+0xa8/0x150 [ 524.457470] ? asm_exc_page_fault+0x22/0x30 [ 524.457484] ? exanic_rx_in_use.cold+0x3a/0x87 [exanic] [ 524.457504] ? exanic_rx_in_use.cold+0xc/0x87 [exanic] [ 524.457523] exanic_free_ctx+0x12c/0x160 [exanic] [ 524.457542] exanic_netdev_stop+0x6e/0xb0 [exanic] [ 524.457560] __dev_close_many+0x9e/0x110 [ 524.457573] dev_close_many+0x8b/0x140 [ 524.457584] ? complete+0x18/0x80 [ 524.458109] unregister_netdevice_many+0x159/0x670 [ 524.458634] ? __flush_workqueue+0x184/0x3f0 [ 524.459183] unregister_netdevice_queue+0xcf/0x110 [ 524.459722] unregister_netdev+0x18/0x20 [ 524.460218] exanic_netdev_free+0x22/0x30 [exanic] [ 524.460728] exanic_remove+0xa2/0x296 [exanic] [ 524.461222] pci_device_remove+0x36/0xa0 [ 524.461697] device_release_driver_internal+0x193/0x200 [ 524.462181] driver_detach+0x44/0x90 [ 524.462667] bus_remove_driver+0x69/0xf0 [ 524.463146] pci_unregister_driver+0x2d/0xb0 [ 524.463640] exanic_exit+0xc/0x167 [exanic] [ 524.464111] __do_sys_delete_module.constprop.0+0x178/0x280 [ 524.464611] ? exit_to_user_mode_prepare+0xb6/0x100 [ 524.465081] ? syscall_trace_enter.constprop.0+0x126/0x1a0 [ 524.465570] do_syscall_64+0x5c/0x90 [ 524.466014] ? syscall_exit_work+0x103/0x130 [ 524.466507] ? syscall_exit_to_user_mode+0x22/0x40 [ 524.466928] ? do_syscall_64+0x69/0x90 [ 524.467391] ? exc_page_fault+0x62/0x150 [ 524.467789] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 524.468203] RIP: 0033:0x7f5abd50ee2b [ 524.468631] Code: 73 01 c3 48 8b 0d f5 af 0e 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 af 0e 00 f7 d8 64 89 01 48 [ 524.469483] RSP: 002b:00007ffc9a1970b8 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0 [ 524.469897] RAX: ffffffffffffffda RBX: 000055fe4b4c2770 RCX: 00007f5abd50ee2b [ 524.470365] RDX: 000000000000000a RSI: 0000000000000800 RDI: 000055fe4b4c27d8 [ 524.470783] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 524.471222] R10: 00007f5abd59eac0 R11: 0000000000000206 R12: 00007ffc9a197310 [ 524.471649] R13: 00007ffc9a1995a3 R14: 000055fe4b4c22a0 R15: 000055fe4b4c2770 [ 524.472063] </TASK>

adimgong avatar Sep 03 '24 01:09 adimgong