[ 20.833671][ T247] ------------[ cut here ]------------ [ 20.833910][ T247] WARNING: drivers/net/netdevsim/netdev.c:1234 at nsim_destroy+0x128/0x7b0 [netdevsim], CPU#3: rmmod/247 [ 20.834250][ T247] Modules linked in: netconsole netdevsim(-) [ 20.834477][ T247] CPU: 3 UID: 0 PID: 247 Comm: rmmod Not tainted 7.0.0-rc2-virtme #1 PREEMPT(full) [ 20.834736][ T247] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.834931][ T247] RIP: 0010:nsim_destroy+0x128/0x7b0 [netdevsim] [ 20.835131][ T247] Code: 00 00 00 00 00 fc ff df 48 c1 e9 03 80 3c 01 00 0f 85 47 06 00 00 48 8b 3b e8 84 17 ac dc 31 c0 48 8d ab 48 07 00 00 eb 07 90 <0f> 0b 90 83 c0 01 0f b7 d0 be 00 10 00 00 48 89 ef e8 e2 22 f0 db [ 20.835654][ T247] RSP: 0018:ffa00000005d7b58 EFLAGS: 00010293 [ 20.835840][ T247] RAX: 0000000000000000 RBX: ff1100000caa2d00 RCX: ff1100000caa3448 [ 20.836069][ T247] RDX: 0000000000000000 RSI: 0000000000000000 RDI: dffffc0000000000 [ 20.836291][ T247] RBP: ff1100000caa3448 R08: ff1100000caa3448 R09: 0000000000000000 [ 20.836513][ T247] R10: 1fe2200001954689 R11: 0000000000000001 R12: ff1100000bb93c98 [ 20.836732][ T247] R13: dffffc0000000000 R14: ff1100000bb93800 R15: ffffffffc02f1380 [ 20.836961][ T247] FS: 00007fc8b317cbc0(0000) GS:ff11000095c05000(0000) knlGS:0000000000000000 [ 20.837220][ T247] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 20.837403][ T247] CR2: 00007fc8b31a90d0 CR3: 000000000c8f2002 CR4: 0000000000771ef0 [ 20.837627][ T247] PKRU: 55555554 [ 20.837737][ T247] Call Trace: [ 20.837847][ T247] [ 20.837930][ T247] ? rcu_is_watching+0x15/0xd0 [ 20.838086][ T247] __nsim_dev_port_del+0x17c/0x2c0 [netdevsim] [ 20.838265][ T247] ? devl_lock_is_held+0x1a/0x20 [ 20.838411][ T247] nsim_dev_reload_destroy+0xd0/0x470 [netdevsim] [ 20.838596][ T247] nsim_drv_remove+0x4e/0x1e0 [netdevsim] [ 20.838740][ T247] device_release_driver_internal+0x3b6/0x570 [ 20.839427][ T247] bus_remove_device+0x1ec/0x3f0 [ 20.839578][ T247] device_del+0x324/0x8c0 [ 20.839688][ T247] ? __device_link_del+0x500/0x500 [ 20.839836][ T247] device_unregister+0x17/0xb0 [ 20.839983][ T247] nsim_bus_exit+0x1cf/0x380 [netdevsim] [ 20.840138][ T247] nsim_module_exit+0x15/0x430 [netdevsim] [ 20.840322][ T247] __do_sys_delete_module+0x2ce/0x4a0 [ 20.840471][ T247] ? module_flags+0x440/0x440 [ 20.840614][ T247] ? lockdep_hardirqs_on+0x84/0x130 [ 20.840764][ T247] ? do_raw_spin_unlock+0x59/0x250 [ 20.840912][ T247] ? rcu_is_watching+0x15/0xd0 [ 20.841062][ T247] do_syscall_64+0x117/0xfc0 [ 20.841207][ T247] ? exc_page_fault+0xaf/0xd0 [ 20.841351][ T247] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.841536][ T247] RIP: 0033:0x7fc8b327437b [ 20.841692][ T247] Code: 73 01 c3 48 8b 0d 85 2a 0f 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 55 2a 0f 00 f7 d8 64 89 01 48 [ 20.842214][ T247] RSP: 002b:00007ffd05c3c648 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0 [ 20.842432][ T247] RAX: ffffffffffffffda RBX: 000055dba612b7e0 RCX: 00007fc8b327437b [ 20.842651][ T247] RDX: 0000000000000003 RSI: 0000000000000800 RDI: 000055dba612b840 [ 20.842868][ T247] RBP: 00007ffd05c3c670 R08: 0000000000000000 R09: 0000000000000000 [ 20.843091][ T247] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 [ 20.843305][ T247] R13: 00007ffd05c3d6d1 R14: 00007ffd05c3c8c0 R15: 0000000000000000 [ 20.843530][ T247] [ 20.843640][ T247] irq event stamp: 20679 [ 20.843752][ T247] hardirqs last enabled at (20687): [] __up_console_sem+0x5a/0x70 [ 20.844012][ T247] hardirqs last disabled at (20696): [] __up_console_sem+0x3f/0x70 [ 20.844263][ T247] softirqs last enabled at (20478): [] handle_softirqs+0x60c/0x920 [ 20.844517][ T247] softirqs last disabled at (19593): [] irq_exit_rcu+0xa2/0xf0 [ 20.844770][ T247] ---[ end trace 0000000000000000 ]--- [ 22.074315][ T189] netconsole selftest: netcons_PKTKR [ 22.707284][ T189] ------------[ cut here ]------------ [ 22.707517][ T189] WARNING: drivers/net/netdevsim/netdev.c:1234 at nsim_destroy+0x128/0x7b0 [netdevsim], CPU#3: bash/189 [ 22.707824][ T189] Modules linked in: netdevsim netconsole [last unloaded: netdevsim] [ 22.708102][ T189] CPU: 3 UID: 0 PID: 189 Comm: bash Tainted: G W 7.0.0-rc2-virtme #1 PREEMPT(full) [ 22.708407][ T189] Tainted: [W]=WARN [ 22.708545][ T189] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.708731][ T189] RIP: 0010:nsim_destroy+0x128/0x7b0 [netdevsim] [ 22.708935][ T189] Code: 00 00 00 00 00 fc ff df 48 c1 e9 03 80 3c 01 00 0f 85 47 06 00 00 48 8b 3b e8 84 17 ac dc 31 c0 48 8d ab 48 07 00 00 eb 07 90 <0f> 0b 90 83 c0 01 0f b7 d0 be 00 10 00 00 48 89 ef e8 e2 22 f0 db [ 22.709466][ T189] RSP: 0018:ffa00000008679b8 EFLAGS: 00010293 [ 22.709655][ T189] RAX: 0000000000000000 RBX: ff11000005b9ad00 RCX: ff11000005b9b448 [ 22.709884][ T189] RDX: 0000000000000000 RSI: 0000000000000000 RDI: dffffc0000000000 [ 22.710124][ T189] RBP: ff11000005b9b448 R08: ff11000005b9b448 R09: 0000000000000000 [ 22.710348][ T189] R10: 1fe2200000b73689 R11: 0000000000000001 R12: ff1100000bd2d498 [ 22.710575][ T189] R13: dffffc0000000000 R14: ff1100000bd2d000 R15: ffffffffc02f1380 [ 22.710869][ T189] FS: 00007f28e99eabc0(0000) GS:ff11000095c05000(0000) knlGS:0000000000000000 [ 22.711140][ T189] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 22.711328][ T189] CR2: 000056472254c2ac CR3: 000000000bafc001 CR4: 0000000000771ef0 [ 22.711557][ T189] PKRU: 55555554 [ 22.711671][ T189] Call Trace: [ 22.711784][ T189] [ 22.711860][ T189] ? rcu_is_watching+0x15/0xd0 [ 22.712031][ T189] __nsim_dev_port_del+0x17c/0x2c0 [netdevsim] [ 22.712220][ T189] ? devl_lock_is_held+0x1a/0x20 [ 22.712373][ T189] nsim_dev_reload_destroy+0xd0/0x470 [netdevsim] [ 22.712567][ T189] nsim_drv_remove+0x4e/0x1e0 [netdevsim] [ 22.712717][ T189] device_release_driver_internal+0x3b6/0x570 [ 22.712910][ T189] ? sysfs_file_ops+0x140/0x140 [ 22.713065][ T189] bus_remove_device+0x1ec/0x3f0 [ 22.713215][ T189] ? sysfs_file_ops+0x140/0x140 [ 22.713362][ T189] device_del+0x324/0x8c0 [ 22.713485][ T189] ? __device_link_del+0x500/0x500 [ 22.713638][ T189] ? sysfs_file_ops+0x140/0x140 [ 22.713786][ T189] device_unregister+0x17/0xb0 [ 22.713942][ T189] del_device_store+0x2fb/0x580 [netdevsim] [ 22.714146][ T189] ? sysfs_file_kobj+0xb3/0x1e0 [ 22.714295][ T189] ? nsim_bus_dev_numvfs_show+0x80/0x80 [netdevsim] [ 22.714488][ T189] ? sysfs_file_kobj+0xbd/0x1e0 [ 22.714638][ T189] ? sysfs_kf_write+0x65/0x160 [ 22.714786][ T189] kernfs_fop_write_iter+0x335/0x510 [ 22.714940][ T189] ? kernfs_ops+0xf0/0xf0 [ 22.715059][ T189] new_sync_write+0x308/0x6f0 [ 22.715210][ T189] ? new_sync_read+0x6f0/0x6f0 [ 22.715359][ T189] ? lock_acquire.part.0+0xbc/0x260 [ 22.715514][ T189] ? ksys_write+0xff/0x200 [ 22.715666][ T189] vfs_write+0x65e/0xbb0 [ 22.715780][ T189] ksys_write+0xff/0x200 [ 22.715893][ T189] ? __ia32_sys_read+0xc0/0xc0 [ 22.716053][ T189] ? do_raw_spin_unlock+0x59/0x250 [ 22.716201][ T189] ? rcu_is_watching+0x15/0xd0 [ 22.716350][ T189] do_syscall_64+0x117/0xfc0 [ 22.716504][ T189] ? exc_page_fault+0xaf/0xd0 [ 22.716654][ T189] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.716839][ T189] RIP: 0033:0x7f28e9a5ac5e [ 22.717005][ T189] Code: 4d 89 d8 e8 34 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 13 ff ff ff 0f 1f 00 f3 0f 1e fa [ 22.717538][ T189] RSP: 002b:00007ffcb8b9a2c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 22.717765][ T189] RAX: ffffffffffffffda RBX: 00007f28e9bd65c0 RCX: 00007f28e9a5ac5e [ 22.717999][ T189] RDX: 0000000000000004 RSI: 000056472259d980 RDI: 0000000000000001 [ 22.718221][ T189] RBP: 00007ffcb8b9a2d0 R08: 0000000000000000 R09: 0000000000000000 [ 22.718445][ T189] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000004 [ 22.718670][ T189] R13: 0000000000000004 R14: 000056472259d980 R15: 00005647225a0790 [ 22.718906][ T189] [ 22.719028][ T189] irq event stamp: 206709 [ 22.719140][ T189] hardirqs last enabled at (206717): [] __up_console_sem+0x5a/0x70 [ 22.719404][ T189] hardirqs last disabled at (206724): [] __up_console_sem+0x3f/0x70 [ 22.719669][ T189] softirqs last enabled at (206466): [] handle_softirqs+0x60c/0x920 [ 22.719936][ T189] softirqs last disabled at (206461): [] irq_exit_rcu+0xa2/0xf0 [ 22.720200][ T189] ---[ end trace 0000000000000000 ]--- [ 25.775826][ T189] netconsole selftest: netcons_PKTKR [ 26.229555][ T189] ------------[ cut here ]------------ [ 26.229780][ T189] WARNING: drivers/net/netdevsim/netdev.c:1234 at nsim_destroy+0x128/0x7b0 [netdevsim], CPU#1: bash/189 [ 26.230099][ T189] Modules linked in: netdevsim netconsole [last unloaded: netdevsim] [ 26.230364][ T189] CPU: 1 UID: 0 PID: 189 Comm: bash Tainted: G W 7.0.0-rc2-virtme #1 PREEMPT(full) [ 26.230669][ T189] Tainted: [W]=WARN [ 26.230781][ T189] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.230981][ T189] RIP: 0010:nsim_destroy+0x128/0x7b0 [netdevsim] [ 26.231233][ T189] Code: 00 00 00 00 00 fc ff df 48 c1 e9 03 80 3c 01 00 0f 85 47 06 00 00 48 8b 3b e8 84 17 ac dc 31 c0 48 8d ab 48 07 00 00 eb 07 90 <0f> 0b 90 83 c0 01 0f b7 d0 be 00 10 00 00 48 89 ef e8 e2 22 f0 db [ 26.231764][ T189] RSP: 0018:ffa00000008679b8 EFLAGS: 00010293 [ 26.231958][ T189] RAX: 0000000000000000 RBX: ff11000011482d00 RCX: ff11000011483448 [ 26.232183][ T189] RDX: 0000000000000000 RSI: 0000000000000000 RDI: dffffc0000000000 [ 26.232404][ T189] RBP: ff11000011483448 R08: ff11000011483448 R09: 0000000000000000 [ 26.232630][ T189] R10: 1fe2200002290689 R11: 0000000000000001 R12: ff1100000b89bc98 [ 26.232852][ T189] R13: dffffc0000000000 R14: ff1100000b89b800 R15: ffffffffc02f1380 [ 26.233087][ T189] FS: 00007f28e99eabc0(0000) GS:ff11000095b05000(0000) knlGS:0000000000000000 [ 26.233348][ T189] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 26.233544][ T189] CR2: 000056472254c2ac CR3: 000000000bafc004 CR4: 0000000000771ef0 [ 26.233767][ T189] PKRU: 55555554 [ 26.233882][ T189] Call Trace: [ 26.234004][ T189] [ 26.234080][ T189] ? rcu_is_watching+0x15/0xd0 [ 26.234237][ T189] __nsim_dev_port_del+0x17c/0x2c0 [netdevsim] [ 26.234424][ T189] ? devl_lock_is_held+0x1a/0x20 [ 26.234579][ T189] nsim_dev_reload_destroy+0xd0/0x470 [netdevsim] [ 26.234765][ T189] nsim_drv_remove+0x4e/0x1e0 [netdevsim] [ 26.234919][ T189] device_release_driver_internal+0x3b6/0x570 [ 26.235110][ T189] ? sysfs_file_ops+0x140/0x140 [ 26.235260][ T189] bus_remove_device+0x1ec/0x3f0 [ 26.235411][ T189] ? sysfs_file_ops+0x140/0x140 [ 26.235563][ T189] device_del+0x324/0x8c0 [ 26.235677][ T189] ? __device_link_del+0x500/0x500 [ 26.235827][ T189] ? sysfs_file_ops+0x140/0x140 [ 26.235980][ T189] device_unregister+0x17/0xb0 [ 26.236133][ T189] del_device_store+0x2fb/0x580 [netdevsim] [ 26.236322][ T189] ? sysfs_file_kobj+0xb3/0x1e0 [ 26.236470][ T189] ? nsim_bus_dev_numvfs_show+0x80/0x80 [netdevsim] [ 26.236667][ T189] ? sysfs_file_kobj+0xbd/0x1e0 [ 26.236814][ T189] ? sysfs_kf_write+0x65/0x160 [ 26.236972][ T189] kernfs_fop_write_iter+0x335/0x510 [ 26.237126][ T189] ? kernfs_ops+0xf0/0xf0 [ 26.237238][ T189] new_sync_write+0x308/0x6f0 [ 26.237390][ T189] ? new_sync_read+0x6f0/0x6f0 [ 26.237543][ T189] ? lock_acquire.part.0+0xbc/0x260 [ 26.237692][ T189] ? ksys_write+0xff/0x200 [ 26.237848][ T189] vfs_write+0x65e/0xbb0 [ 26.237969][ T189] ksys_write+0xff/0x200 [ 26.238084][ T189] ? __ia32_sys_read+0xc0/0xc0 [ 26.238232][ T189] ? do_raw_spin_unlock+0x59/0x250 [ 26.238379][ T189] ? rcu_is_watching+0x15/0xd0 [ 26.238531][ T189] do_syscall_64+0x117/0xfc0 [ 26.238682][ T189] ? exc_page_fault+0xaf/0xd0 [ 26.238829][ T189] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.239024][ T189] RIP: 0033:0x7f28e9a5ac5e [ 26.239179][ T189] Code: 4d 89 d8 e8 34 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 13 ff ff ff 0f 1f 00 f3 0f 1e fa [ 26.239710][ T189] RSP: 002b:00007ffcb8b9a2c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 26.239999][ T189] RAX: ffffffffffffffda RBX: 00007f28e9bd65c0 RCX: 00007f28e9a5ac5e [ 26.240222][ T189] RDX: 0000000000000004 RSI: 000056472259d980 RDI: 0000000000000001 [ 26.240448][ T189] RBP: 00007ffcb8b9a2d0 R08: 0000000000000000 R09: 0000000000000000 [ 26.240671][ T189] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000004 [ 26.240890][ T189] R13: 0000000000000004 R14: 000056472259d980 R15: 00005647225a8350 [ 26.241189][ T189] [ 26.241301][ T189] irq event stamp: 426437 [ 26.241414][ T189] hardirqs last enabled at (426445): [] __up_console_sem+0x5a/0x70 [ 26.241682][ T189] hardirqs last disabled at (426452): [] __up_console_sem+0x3f/0x70 [ 26.241956][ T189] softirqs last enabled at (426486): [] handle_softirqs+0x60c/0x920 [ 26.242221][ T189] softirqs last disabled at (426461): [] irq_exit_rcu+0xa2/0xf0 [ 26.242482][ T189] ---[ end trace 0000000000000000 ]---