[ 22.177706][ T188] netconsole selftest: netcons_Ek23s [ 23.247748][ T188] netconsole selftest: netcons_Ek23s [ 23.834397][ T188] ------------[ cut here ]------------ [ 23.834628][ T188] WARNING: drivers/net/netdevsim/netdev.c:1234 at nsim_destroy+0x128/0x7b0 [netdevsim], CPU#1: bash/188 [ 23.834954][ T188] Modules linked in: netdevsim [last unloaded: netconsole] [ 23.835265][ T188] CPU: 1 UID: 0 PID: 188 Comm: bash Not tainted 7.0.0-rc2-virtme #1 PREEMPT(full) [ 23.835550][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.835751][ T188] RIP: 0010:nsim_destroy+0x128/0x7b0 [netdevsim] [ 23.835968][ T188] 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 cc d3 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 10 d3 [ 23.836539][ T188] RSP: 0018:ffa00000008a79b8 EFLAGS: 00010293 [ 23.836732][ T188] RAX: 0000000000000000 RBX: ff11000009342d00 RCX: ff11000009343448 [ 23.837019][ T188] RDX: 0000000000000000 RSI: 0000000000000000 RDI: dffffc0000000000 [ 23.837250][ T188] RBP: ff11000009343448 R08: ff11000009343448 R09: 0000000000000000 [ 23.837477][ T188] R10: 1fe2200001268689 R11: 0000000000000001 R12: ff11000009cb3c98 [ 23.837699][ T188] R13: dffffc0000000000 R14: ff11000009cb3800 R15: ffffffffc0459380 [ 23.837932][ T188] FS: 00007fd3b78c2bc0(0000) GS:ff1100009e705000(0000) knlGS:0000000000000000 [ 23.838205][ T188] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 23.838395][ T188] CR2: 0000558ca35e17e8 CR3: 000000000c188001 CR4: 0000000000771ef0 [ 23.838616][ T188] PKRU: 55555554 [ 23.838730][ T188] Call Trace: [ 23.838850][ T188] [ 23.838936][ T188] ? rcu_is_watching+0x15/0xd0 [ 23.839100][ T188] __nsim_dev_port_del+0x17c/0x2c0 [netdevsim] [ 23.839295][ T188] ? devl_lock_is_held+0x1a/0x20 [ 23.839447][ T188] nsim_dev_reload_destroy+0xd0/0x470 [netdevsim] [ 23.839632][ T188] nsim_drv_remove+0x4e/0x1e0 [netdevsim] [ 23.839782][ T188] device_release_driver_internal+0x3b6/0x570 [ 23.839980][ T188] ? sysfs_file_ops+0x140/0x140 [ 23.840128][ T188] bus_remove_device+0x1ec/0x3f0 [ 23.840286][ T188] ? sysfs_file_ops+0x140/0x140 [ 23.840432][ T188] device_del+0x324/0x8c0 [ 23.840545][ T188] ? __device_link_del+0x500/0x500 [ 23.840694][ T188] ? sysfs_file_ops+0x140/0x140 [ 23.840841][ T188] device_unregister+0x17/0xb0 [ 23.840999][ T188] del_device_store+0x2fb/0x580 [netdevsim] [ 23.841190][ T188] ? sysfs_file_kobj+0xb3/0x1e0 [ 23.841339][ T188] ? nsim_bus_dev_numvfs_show+0x80/0x80 [netdevsim] [ 23.841524][ T188] ? sysfs_file_kobj+0xbd/0x1e0 [ 23.841672][ T188] ? sysfs_kf_write+0x65/0x160 [ 23.841822][ T188] kernfs_fop_write_iter+0x335/0x510 [ 23.841981][ T188] ? kernfs_ops+0xf0/0xf0 [ 23.842095][ T188] new_sync_write+0x308/0x6f0 [ 23.842248][ T188] ? new_sync_read+0x6f0/0x6f0 [ 23.842398][ T188] ? lock_acquire.part.0+0xbc/0x260 [ 23.842549][ T188] ? ksys_write+0xff/0x200 [ 23.842700][ T188] vfs_write+0x65e/0xbb0 [ 23.842815][ T188] ksys_write+0xff/0x200 [ 23.842932][ T188] ? __ia32_sys_read+0xc0/0xc0 [ 23.843089][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 23.843245][ T188] ? rcu_is_watching+0x15/0xd0 [ 23.843394][ T188] do_syscall_64+0x117/0xfc0 [ 23.843543][ T188] ? exc_page_fault+0xaf/0xd0 [ 23.843692][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.843875][ T188] RIP: 0033:0x7fd3b7932c5e [ 23.844044][ T188] 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 [ 23.844580][ T188] RSP: 002b:00007ffd6b564290 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 23.844812][ T188] RAX: ffffffffffffffda RBX: 00007fd3b7aae5c0 RCX: 00007fd3b7932c5e [ 23.845042][ T188] RDX: 0000000000000004 RSI: 0000558ca35d0360 RDI: 0000000000000001 [ 23.845268][ T188] RBP: 00007ffd6b5642a0 R08: 0000000000000000 R09: 0000000000000000 [ 23.845492][ T188] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000004 [ 23.845716][ T188] R13: 0000000000000004 R14: 0000558ca35d0360 R15: 0000558ca3627bd0 [ 23.845947][ T188] [ 23.846062][ T188] irq event stamp: 199213 [ 23.846177][ T188] hardirqs last enabled at (199221): [] __up_console_sem+0x5a/0x70 [ 23.846438][ T188] hardirqs last disabled at (199228): [] __up_console_sem+0x3f/0x70 [ 23.846695][ T188] softirqs last enabled at (198862): [] handle_softirqs+0x60c/0x920 [ 23.846962][ T188] softirqs last disabled at (198857): [] irq_exit_rcu+0xa2/0xf0 [ 23.847333][ T188] ---[ end trace 0000000000000000 ]---