[ 19.810124][ T187] netconsole selftest: netcons_s6JZX [ 20.690738][ T187] netconsole selftest: netcons_s6JZX [ 21.154762][ T187] ------------[ cut here ]------------ [ 21.155010][ T187] WARNING: drivers/net/netdevsim/netdev.c:1234 at nsim_destroy+0x128/0x7b0 [netdevsim], CPU#3: bash/187 [ 21.155348][ T187] Modules linked in: netdevsim [last unloaded: netconsole] [ 21.155622][ T187] CPU: 3 UID: 0 PID: 187 Comm: bash Not tainted 7.0.0-rc2-virtme #1 PREEMPT(full) [ 21.155905][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.156105][ T187] RIP: 0010:nsim_destroy+0x128/0x7b0 [netdevsim] [ 21.156316][ 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 8c c8 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 d0 c7 [ 21.156869][ T187] RSP: 0018:ffa00000008a79b8 EFLAGS: 00010293 [ 21.157063][ T187] RAX: 0000000000000000 RBX: ff1100000ce92d00 RCX: ff1100000ce93448 [ 21.157299][ T187] RDX: 0000000000000000 RSI: 0000000000000000 RDI: dffffc0000000000 [ 21.157526][ T187] RBP: ff1100000ce93448 R08: ff1100000ce93448 R09: 0000000000000000 [ 21.157768][ T187] R10: 1fe22000019d2689 R11: 0000000000000001 R12: ff110000025abc98 [ 21.157995][ T187] R13: dffffc0000000000 R14: ff110000025ab800 R15: ffffffffc0426380 [ 21.158224][ T187] FS: 00007f513d2cbbc0(0000) GS:ff110000a9c05000(0000) knlGS:0000000000000000 [ 21.158488][ T187] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 21.158688][ T187] CR2: 0000561c9f5cbfc0 CR3: 0000000004a82001 CR4: 0000000000771ef0 [ 21.158913][ T187] PKRU: 55555554 [ 21.159028][ T187] Call Trace: [ 21.159188][ T187] [ 21.159266][ T187] ? rcu_is_watching+0x15/0xd0 [ 21.159427][ T187] __nsim_dev_port_del+0x17c/0x2c0 [netdevsim] [ 21.159625][ T187] ? devl_lock_is_held+0x1a/0x20 [ 21.159783][ T187] nsim_dev_reload_destroy+0xd0/0x470 [netdevsim] [ 21.159971][ T187] nsim_drv_remove+0x4e/0x1e0 [netdevsim] [ 21.160121][ T187] device_release_driver_internal+0x3b6/0x570 [ 21.160310][ T187] ? sysfs_file_ops+0x140/0x140 [ 21.160460][ T187] bus_remove_device+0x1ec/0x3f0 [ 21.160610][ T187] ? sysfs_file_ops+0x140/0x140 [ 21.160768][ T187] device_del+0x324/0x8c0 [ 21.160885][ T187] ? __device_link_del+0x500/0x500 [ 21.161041][ T187] ? sysfs_file_ops+0x140/0x140 [ 21.161193][ T187] device_unregister+0x17/0xb0 [ 21.161344][ T187] del_device_store+0x2fb/0x580 [netdevsim] [ 21.161531][ T187] ? sysfs_file_kobj+0xb3/0x1e0 [ 21.161689][ T187] ? nsim_bus_dev_numvfs_show+0x80/0x80 [netdevsim] [ 21.161876][ T187] ? sysfs_file_kobj+0xbd/0x1e0 [ 21.162025][ T187] ? sysfs_kf_write+0x65/0x160 [ 21.162174][ T187] kernfs_fop_write_iter+0x335/0x510 [ 21.162330][ T187] ? kernfs_ops+0xf0/0xf0 [ 21.162443][ T187] new_sync_write+0x308/0x6f0 [ 21.162595][ T187] ? new_sync_read+0x6f0/0x6f0 [ 21.162753][ T187] ? lock_acquire.part.0+0xbc/0x260 [ 21.162904][ T187] ? ksys_write+0xff/0x200 [ 21.163058][ T187] vfs_write+0x65e/0xbb0 [ 21.163173][ T187] ksys_write+0xff/0x200 [ 21.163286][ T187] ? __ia32_sys_read+0xc0/0xc0 [ 21.163437][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 21.163587][ T187] ? rcu_is_watching+0x15/0xd0 [ 21.163745][ T187] do_syscall_64+0x117/0xfc0 [ 21.163897][ T187] ? exc_page_fault+0xaf/0xd0 [ 21.164047][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.164234][ T187] RIP: 0033:0x7f513d33bc5e [ 21.164393][ 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 [ 21.164937][ T187] RSP: 002b:00007ffee4796230 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 21.165164][ T187] RAX: ffffffffffffffda RBX: 00007f513d4b75c0 RCX: 00007f513d33bc5e [ 21.165392][ T187] RDX: 0000000000000004 RSI: 0000561cc19a7360 RDI: 0000000000000001 [ 21.165623][ T187] RBP: 00007ffee4796240 R08: 0000000000000000 R09: 0000000000000000 [ 21.165851][ T187] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000004 [ 21.166079][ T187] R13: 0000000000000004 R14: 0000561cc19a7360 R15: 0000561cc19a9440 [ 21.166311][ T187] [ 21.166425][ T187] irq event stamp: 176643 [ 21.166540][ T187] hardirqs last enabled at (176651): [] __up_console_sem+0x5a/0x70 [ 21.166818][ T187] hardirqs last disabled at (176660): [] __up_console_sem+0x3f/0x70 [ 21.167080][ T187] softirqs last enabled at (176310): [] handle_softirqs+0x60c/0x920 [ 21.167342][ T187] softirqs last disabled at (176305): [] irq_exit_rcu+0xa2/0xf0 [ 21.167604][ T187] ---[ end trace 0000000000000000 ]---