[ 18.878049][ T199] netconsole: network logging started [ 22.167780][ T187] netconsole selftest: netcons_29ZMY [ 22.675599][ T187] ------------[ cut here ]------------ [ 22.675858][ T187] WARNING: drivers/net/netdevsim/netdev.c:1234 at nsim_destroy+0x128/0x7b0 [netdevsim], CPU#3: bash/187 [ 22.676226][ T187] Modules linked in: netconsole netdevsim [ 22.676421][ T187] CPU: 3 UID: 0 PID: 187 Comm: bash Not tainted 7.0.0-rc2-virtme #1 PREEMPT(full) [ 22.676708][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.676903][ T187] RIP: 0010:nsim_destroy+0x128/0x7b0 [netdevsim] [ 22.677157][ T187] 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 f5 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 f4 [ 22.677715][ T187] RSP: 0018:ffa00000008f79b8 EFLAGS: 00010293 [ 22.677910][ T187] RAX: 0000000000000000 RBX: ff11000012f9ad00 RCX: ff11000012f9b448 [ 22.678202][ T187] RDX: 0000000000000000 RSI: 0000000000000000 RDI: dffffc0000000000 [ 22.678431][ T187] RBP: ff11000012f9b448 R08: ff11000012f9b448 R09: 0000000000000000 [ 22.678659][ T187] R10: 1fe22000025f3689 R11: 0000000000000001 R12: ff110000125d8c98 [ 22.678896][ T187] R13: dffffc0000000000 R14: ff110000125d8800 R15: ffffffffc0482380 [ 22.679220][ T187] FS: 00007fd5f250bbc0(0000) GS:ff1100007ca05000(0000) knlGS:0000000000000000 [ 22.679492][ T187] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 22.679692][ T187] CR2: 000055aab305a168 CR3: 0000000012736001 CR4: 0000000000771ef0 [ 22.679925][ T187] PKRU: 55555554 [ 22.680072][ T187] Call Trace: [ 22.680203][ T187] [ 22.680286][ T187] ? rcu_is_watching+0x15/0xd0 [ 22.680449][ T187] __nsim_dev_port_del+0x17c/0x2c0 [netdevsim] [ 22.680642][ T187] ? devl_lock_is_held+0x1a/0x20 [ 22.680803][ T187] nsim_dev_reload_destroy+0xd0/0x470 [netdevsim] [ 22.681014][ T187] nsim_drv_remove+0x4e/0x1e0 [netdevsim] [ 22.681195][ T187] device_release_driver_internal+0x3b6/0x570 [ 22.681390][ T187] ? sysfs_file_ops+0x140/0x140 [ 22.681543][ T187] bus_remove_device+0x1ec/0x3f0 [ 22.681704][ T187] ? sysfs_file_ops+0x140/0x140 [ 22.681859][ T187] device_del+0x324/0x8c0 [ 22.681985][ T187] ? __device_link_del+0x500/0x500 [ 22.682174][ T187] ? sysfs_file_ops+0x140/0x140 [ 22.682327][ T187] device_unregister+0x17/0xb0 [ 22.682478][ T187] del_device_store+0x2fb/0x580 [netdevsim] [ 22.682669][ T187] ? sysfs_file_kobj+0xb3/0x1e0 [ 22.682832][ T187] ? nsim_bus_dev_numvfs_show+0x80/0x80 [netdevsim] [ 22.683045][ T187] ? sysfs_file_kobj+0xbd/0x1e0 [ 22.683220][ T187] ? sysfs_kf_write+0x65/0x160 [ 22.683374][ T187] kernfs_fop_write_iter+0x335/0x510 [ 22.683527][ T187] ? kernfs_ops+0xf0/0xf0 [ 22.683642][ T187] new_sync_write+0x308/0x6f0 [ 22.683803][ T187] ? new_sync_read+0x6f0/0x6f0 [ 22.683955][ T187] ? lock_acquire.part.0+0xbc/0x260 [ 22.684151][ T187] ? ksys_write+0xff/0x200 [ 22.684310][ T187] vfs_write+0x65e/0xbb0 [ 22.684428][ T187] ksys_write+0xff/0x200 [ 22.684544][ T187] ? __ia32_sys_read+0xc0/0xc0 [ 22.684705][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 22.684861][ T187] ? rcu_is_watching+0x15/0xd0 [ 22.685033][ T187] do_syscall_64+0x117/0xfc0 [ 22.685207][ T187] ? exc_page_fault+0xaf/0xd0 [ 22.685361][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.685551][ T187] RIP: 0033:0x7fd5f257bc5e [ 22.685717][ T187] 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.686310][ T187] RSP: 002b:00007ffcd128b110 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 22.686547][ T187] RAX: ffffffffffffffda RBX: 00007fd5f26f75c0 RCX: 00007fd5f257bc5e [ 22.686787][ T187] RDX: 0000000000000004 RSI: 000055aab30abd10 RDI: 0000000000000001 [ 22.687036][ T187] RBP: 00007ffcd128b120 R08: 0000000000000000 R09: 0000000000000000 [ 22.687289][ T187] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000004 [ 22.687521][ T187] R13: 0000000000000004 R14: 000055aab30abd10 R15: 000055aab30acfe0 [ 22.687766][ T187] [ 22.687884][ T187] irq event stamp: 161495 [ 22.688021][ T187] hardirqs last enabled at (161503): [] __up_console_sem+0x5a/0x70 [ 22.688310][ T187] hardirqs last disabled at (161510): [] __up_console_sem+0x3f/0x70 [ 22.688576][ T187] softirqs last enabled at (161450): [] handle_softirqs+0x60c/0x920 [ 22.688851][ T187] softirqs last disabled at (161439): [] irq_exit_rcu+0xa2/0xf0 [ 22.689160][ T187] ---[ end trace 0000000000000000 ]--- [ 25.784375][ T187] netconsole selftest: netcons_29ZMY [ 29.516613][ T187] netconsole selftest: netcons_29ZMY [ 33.390632][ T187] netconsole selftest: netcons_29ZMY