====================================== | [ 10.663576][ T231] netconsole: network logging started | [ 11.554484][ T218] ------------[ cut here ]------------ | [ 11.554896][ T218] WARNING: CPU: 3 PID: 218 at ./include/net/netdev_lock.h:52 __netdev_update_features (./include/net/netdev_lock.h:52 ./include/net/netdev_lock.h:49 net/core/dev.c:10566) | [ 11.555336][ T218] Modules linked in: netconsole netdevsim [ 11.555870][ T218] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.556144][ T218] RIP: 0010:__netdev_update_features (./include/net/netdev_lock.h:52 ./include/net/netdev_lock.h:49 net/core/dev.c:10566) [ 11.556439][ T218] Code: 00 e8 a3 4a fe ff 48 8b 5c 24 58 e9 87 fb ff ff 49 8d bf 90 0c 00 00 be ff ff ff ff e8 08 e9 78 00 85 c0 0f 85 99 00 00 00 90 <0f> 0b 90 48 b8 00 00 00 00 00 fc ff df 48 8b 54 24 20 48 c1 ea 03 All code ======== 0: 00 e8 add %ch,%al 2: a3 4a fe ff 48 8b 5c movabs %eax,0x58245c8b48fffe4a 9: 24 58 b: e9 87 fb ff ff jmp 0xfffffffffffffb97 10: 49 8d bf 90 0c 00 00 lea 0xc90(%r15),%rdi 17: be ff ff ff ff mov $0xffffffff,%esi 1c: e8 08 e9 78 00 call 0x78e929 21: 85 c0 test %eax,%eax 23: 0f 85 99 00 00 00 jne 0xc2 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 90 nop 2d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 34: fc ff df 37: 48 8b 54 24 20 mov 0x20(%rsp),%rdx 3c: 48 c1 ea 03 shr $0x3,%rdx Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 90 nop 3: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax a: fc ff df d: 48 8b 54 24 20 mov 0x20(%rsp),%rdx 12: 48 c1 ea 03 shr $0x3,%rdx [ 11.557234][ T218] RSP: 0018:ffffc90000ab7548 EFLAGS: 00010246 [ 11.557524][ T218] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 11.557831][ T218] RDX: 0000000000000000 RSI: ffff88800609ac90 RDI: ffff8880024cd0f8 [ 11.558142][ T218] RBP: ffffffff9e128600 R08: 0000000000000000 R09: fffffbfff37fd944 [ 11.558494][ T218] R10: ffffffff9bfeca27 R11: ffff8880024cc5c0 R12: 0000000000000000 [ 11.558794][ T218] R13: ffff88800609a128 R14: ffff88800609a008 R15: ffff88800609a000 [ 11.559354][ T218] FS: 00007f33f8a2f740(0000) GS:ffff888036180000(0000) knlGS:0000000000000000 [ 11.559714][ T218] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 11.560008][ T218] CR2: 00007f33f8be3733 CR3: 000000000bcd8005 CR4: 0000000000772ef0 [ 11.560355][ T218] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 11.560691][ T218] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 11.561015][ T218] PKRU: 55555554 [ 11.561200][ T218] Call Trace: [ 11.561369][ T218] [ 11.561486][ T218] ? __netdev_update_features (./include/net/netdev_lock.h:52 ./include/net/netdev_lock.h:49 net/core/dev.c:10566) [ 11.561710][ T218] ? __warn (kernel/panic.c:748) [ 11.561883][ T218] ? __netdev_update_features (./include/net/netdev_lock.h:52 ./include/net/netdev_lock.h:49 net/core/dev.c:10566) [ 11.562122][ T218] ? report_bug (lib/bug.c:201 lib/bug.c:219) [ 11.562355][ T218] ? handle_bug (arch/x86/kernel/traps.c:285) [ 11.562532][ T218] ? exc_invalid_op (arch/x86/kernel/traps.c:309 (discriminator 1)) [ 11.562755][ T218] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:621) [ 11.562990][ T218] ? __netdev_update_features (./include/net/netdev_lock.h:52 ./include/net/netdev_lock.h:49 net/core/dev.c:10566) [ 11.563227][ T218] ? __netdev_update_features (./include/net/netdev_lock.h:52 net/core/dev.c:10566) [ 11.563461][ T218] ? __pfx___netdev_update_features (net/core/dev.c:10559) [ 11.563741][ T218] ? _raw_spin_unlock_irq (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:97 ./include/linux/spinlock_api_smp.h:159 kernel/locking/spinlock.c:202) [ 11.563971][ T218] ? netdev_register_kobject (net/core/net-sysfs.c:2344) [ 11.564196][ T218] register_netdevice (net/core/dev.c:11003) [ 11.564422][ T218] ? __pfx_register_netdevice (net/core/dev.c:10881) [ 11.564656][ T218] nsim_create (drivers/net/netdevsim/netdev.c:958 drivers/net/netdevsim/netdev.c:1018) netdevsim [ 11.564879][ T218] __nsim_dev_port_add (drivers/net/netdevsim/dev.c:1393) netdevsim [ 11.565155][ T218] ? __pfx___nsim_dev_port_add (drivers/net/netdevsim/dev.c:1357) netdevsim [ 11.565429][ T218] ? nsim_dev_hwstats_init (./include/linux/workqueue.h:817 drivers/net/netdevsim/hwstats.c:442) netdevsim [ 11.565703][ T218] nsim_drv_probe (drivers/net/netdevsim/dev.c:1450 drivers/net/netdevsim/dev.c:1607) netdevsim [ 11.565916][ T218] ? __pfx_nsim_drv_probe (drivers/net/netdevsim/dev.c:1528) netdevsim [ 11.566181][ T218] ? kernfs_create_link (fs/kernfs/symlink.c:48) [ 11.566432][ T218] ? kernfs_put (./arch/x86/include/asm/atomic.h:67 (discriminator 1) ./include/linux/atomic/atomic-arch-fallback.h:2278 (discriminator 1) ./include/linux/atomic/atomic-instrumented.h:1384 (discriminator 1) fs/kernfs/dir.c:557 (discriminator 1)) [ 11.566590][ T218] ? sysfs_do_create_link_sd (fs/sysfs/symlink.c:48) [ 11.566802][ T218] really_probe (drivers/base/dd.c:579 drivers/base/dd.c:658) [ 11.567008][ T218] __driver_probe_device (drivers/base/dd.c:800) [ 11.567221][ T218] driver_probe_device (drivers/base/dd.c:830) [ 11.567435][ T218] __device_attach_driver (drivers/base/dd.c:959) [ 11.567665][ T218] ? __pfx___device_attach_driver (drivers/base/dd.c:922) [ 11.567936][ T218] bus_for_each_drv (drivers/base/bus.c:462) [ 11.568174][ T218] ? __pfx_bus_for_each_drv (drivers/base/bus.c:450) [ 11.568415][ T218] ? bus_to_subsys (drivers/base/bus.c:85) [ 11.568637][ T218] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 11.568857][ T218] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 11.569075][ T218] __device_attach (drivers/base/dd.c:1030) [ 11.569296][ T218] ? __pfx___device_attach (drivers/base/dd.c:1001) [ 11.569502][ T218] ? bus_to_subsys (drivers/base/bus.c:85) [ 11.569710][ T218] ? do_raw_spin_unlock (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/asm-generic/qspinlock.h:57 kernel/locking/spinlock_debug.c:101 kernel/locking/spinlock_debug.c:141) [ 11.569923][ T218] bus_probe_device (drivers/base/bus.c:537) [ 11.570147][ T218] device_add (drivers/base/core.c:3672) [ 11.570363][ T218] ? __pfx_device_add (drivers/base/core.c:3548) [ 11.570571][ T218] ? __init_waitqueue_head (./include/linux/list.h:37 kernel/sched/wait.c:12) [ 11.570805][ T218] new_device_store (drivers/net/netdevsim/bus.c:443 drivers/net/netdevsim/bus.c:173) netdevsim [ 11.571090][ T218] ? __pfx_new_device_store (drivers/net/netdevsim/bus.c:142) netdevsim [ 11.571385][ T218] ? __pfx_sysfs_kf_write (fs/sysfs/file.c:132) [ 11.571603][ T218] ? sysfs_file_ops (fs/sysfs/file.c:31 (discriminator 1)) [ 11.571821][ T218] ? __pfx_sysfs_kf_write (fs/sysfs/file.c:132) [ 11.572019][ T218] kernfs_fop_write_iter (fs/kernfs/file.c:334) [ 11.572242][ T218] vfs_write (fs/read_write.c:586 fs/read_write.c:679) [ 11.572411][ T218] ? __pfx_vfs_write (fs/read_write.c:660) [ 11.572632][ T218] ? __lock_release (kernel/locking/lockdep.c:5527) [ 11.572831][ T218] ? do_user_addr_fault (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 ./include/linux/mm.h:742 arch/x86/mm/fault.c:1339) [ 11.573042][ T218] ? __pfx___up_read (kernel/locking/rwsem.c:1337) [ 11.573262][ T218] ksys_write (fs/read_write.c:731) [ 11.573450][ T218] ? __pfx_ksys_write (fs/read_write.c:721) [ 11.573654][ T218] ? do_user_addr_fault (./include/linux/rcupdate.h:882 ./include/linux/mm.h:742 arch/x86/mm/fault.c:1339) [ 11.573867][ T218] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 11.574087][ T218] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 11.574357][ T218] RIP: 0033:0x7f33f8b70b77 [ 11.574571][ T218] Code: 0b 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24 All code ======== 0: 0b 00 or (%rax),%eax 2: f7 d8 neg %eax 4: 64 89 02 mov %eax,%fs:(%rdx) 7: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax e: eb b7 jmp 0xffffffffffffffc7 10: 0f 1f 00 nopl (%rax) 13: f3 0f 1e fa endbr64 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 10 jne 0x33 23: b8 01 00 00 00 mov $0x1,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 51 ja 0x83 32: c3 ret 33: 48 83 ec 28 sub $0x28,%rsp 37: 48 89 54 24 18 mov %rdx,0x18(%rsp) 3c: 48 rex.W 3d: 89 .byte 0x89 3e: 74 24 je 0x64 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 51 ja 0x59 8: c3 ret 9: 48 83 ec 28 sub $0x28,%rsp d: 48 89 54 24 18 mov %rdx,0x18(%rsp) 12: 48 rex.W 13: 89 .byte 0x89 14: 74 24 je 0x3a [ 11.575300][ T218] RSP: 002b:00007ffc5f0ec558 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 11.575620][ T218] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f33f8b70b77 [ 11.575920][ T218] RDX: 0000000000000004 RSI: 0000563cccfede20 RDI: 0000000000000001 [ 11.576226][ T218] RBP: 0000563cccfede20 R08: 0000000000000000 R09: 00007f33f8be34e0 [ 11.576542][ T218] R10: 00007f33f8be33e0 R11: 0000000000000246 R12: 0000000000000004 [ 11.576856][ T218] R13: 00007f33f8c2c760 R14: 0000000000000004 R15: 00007f33f8c279c0 | [ 11.611647][ T218] ------------[ cut here ]------------ | [ 11.612018][ T218] WARNING: CPU: 2 PID: 218 at ./include/net/netdev_lock.h:52 __netdev_update_features (./include/net/netdev_lock.h:52 ./include/net/netdev_lock.h:49 net/core/dev.c:10566) | [ 11.612468][ T218] Modules linked in: netconsole netdevsim | [ 11.613089][ T218] Tainted: [W]=WARN [ 11.613291][ T218] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.613556][ T218] RIP: 0010:__netdev_update_features (./include/net/netdev_lock.h:52 ./include/net/netdev_lock.h:49 net/core/dev.c:10566) [ 11.613841][ T218] Code: 00 e8 a3 4a fe ff 48 8b 5c 24 58 e9 87 fb ff ff 49 8d bf 90 0c 00 00 be ff ff ff ff e8 08 e9 78 00 85 c0 0f 85 99 00 00 00 90 <0f> 0b 90 48 b8 00 00 00 00 00 fc ff df 48 8b 54 24 20 48 c1 ea 03 All code ======== 0: 00 e8 add %ch,%al 2: a3 4a fe ff 48 8b 5c movabs %eax,0x58245c8b48fffe4a 9: 24 58 b: e9 87 fb ff ff jmp 0xfffffffffffffb97 10: 49 8d bf 90 0c 00 00 lea 0xc90(%r15),%rdi 17: be ff ff ff ff mov $0xffffffff,%esi 1c: e8 08 e9 78 00 call 0x78e929 21: 85 c0 test %eax,%eax 23: 0f 85 99 00 00 00 jne 0xc2 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 90 nop 2d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 34: fc ff df 37: 48 8b 54 24 20 mov 0x20(%rsp),%rdx 3c: 48 c1 ea 03 shr $0x3,%rdx Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 90 nop 3: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax a: fc ff df d: 48 8b 54 24 20 mov 0x20(%rsp),%rdx 12: 48 c1 ea 03 shr $0x3,%rdx [ 11.614631][ T218] RSP: 0018:ffffc90000ab7548 EFLAGS: 00010246 [ 11.614910][ T218] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 11.615234][ T218] RDX: 0000000000000000 RSI: ffff88800bcfac90 RDI: ffff8880024cd0f8 [ 11.615545][ T218] RBP: ffffffff9e128600 R08: 0000000000000000 R09: fffffbfff37fd944 [ 11.615861][ T218] R10: ffffffff9bfeca27 R11: ffff8880024cc5c0 R12: 0000000000000000 [ 11.616186][ T218] R13: ffff88800bcfa128 R14: ffff88800bcfa008 R15: ffff88800bcfa000 [ 11.616498][ T218] FS: 00007f33f8a2f740(0000) GS:ffff888036100000(0000) knlGS:0000000000000000 [ 11.616861][ T218] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 11.617139][ T218] CR2: 00007f44acdc0000 CR3: 000000000bcd8002 CR4: 0000000000772ef0 [ 11.617678][ T218] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 11.618008][ T218] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 11.618391][ T218] PKRU: 55555554 [ 11.618575][ T218] Call Trace: [ 11.618756][ T218] [ 11.618881][ T218] ? __netdev_update_features (./include/net/netdev_lock.h:52 ./include/net/netdev_lock.h:49 net/core/dev.c:10566) [ 11.619138][ T218] ? __warn (kernel/panic.c:748) [ 11.619323][ T218] ? __netdev_update_features (./include/net/netdev_lock.h:52 ./include/net/netdev_lock.h:49 net/core/dev.c:10566) [ 11.619562][ T218] ? report_bug (lib/bug.c:201 lib/bug.c:219) [ 11.619801][ T218] ? handle_bug (arch/x86/kernel/traps.c:285) [ 11.619984][ T218] ? exc_invalid_op (arch/x86/kernel/traps.c:309 (discriminator 1)) [ 11.620228][ T218] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:621) [ 11.620491][ T218] ? __netdev_update_features (./include/net/netdev_lock.h:52 ./include/net/netdev_lock.h:49 net/core/dev.c:10566) [ 11.620726][ T218] ? __netdev_update_features (./include/net/netdev_lock.h:52 net/core/dev.c:10566) [ 11.620969][ T218] ? __pfx___netdev_update_features (net/core/dev.c:10559) [ 11.621269][ T218] ? _raw_spin_unlock_irq (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:97 ./include/linux/spinlock_api_smp.h:159 kernel/locking/spinlock.c:202) [ 11.621508][ T218] ? netdev_register_kobject (net/core/net-sysfs.c:2344) [ 11.621753][ T218] register_netdevice (net/core/dev.c:11003) [ 11.621987][ T218] ? __pfx_register_netdevice (net/core/dev.c:10881) [ 11.622242][ T218] nsim_create (drivers/net/netdevsim/netdev.c:958 drivers/net/netdevsim/netdev.c:1018) netdevsim [ 11.622496][ T218] __nsim_dev_port_add (drivers/net/netdevsim/dev.c:1393) netdevsim [ 11.622790][ T218] ? __pfx___nsim_dev_port_add (drivers/net/netdevsim/dev.c:1357) netdevsim [ 11.623146][ T218] ? nsim_dev_hwstats_init (./include/linux/workqueue.h:817 drivers/net/netdevsim/hwstats.c:442) netdevsim [ 11.623449][ T218] nsim_drv_probe (drivers/net/netdevsim/dev.c:1450 drivers/net/netdevsim/dev.c:1607) netdevsim [ 11.623694][ T218] ? __pfx_nsim_drv_probe (drivers/net/netdevsim/dev.c:1528) netdevsim [ 11.623990][ T218] ? kernfs_create_link (fs/kernfs/symlink.c:48) [ 11.624235][ T218] ? kernfs_put (./arch/x86/include/asm/atomic.h:67 (discriminator 1) ./include/linux/atomic/atomic-arch-fallback.h:2278 (discriminator 1) ./include/linux/atomic/atomic-instrumented.h:1384 (discriminator 1) fs/kernfs/dir.c:557 (discriminator 1)) [ 11.624416][ T218] ? sysfs_do_create_link_sd (fs/sysfs/symlink.c:48) [ 11.624653][ T218] really_probe (drivers/base/dd.c:579 drivers/base/dd.c:658) [ 11.624889][ T218] __driver_probe_device (drivers/base/dd.c:800) [ 11.625132][ T218] driver_probe_device (drivers/base/dd.c:830) [ 11.625371][ T218] __device_attach_driver (drivers/base/dd.c:959) [ 11.625610][ T218] ? __pfx___device_attach_driver (drivers/base/dd.c:922) [ 11.625887][ T218] bus_for_each_drv (drivers/base/bus.c:462) [ 11.626164][ T218] ? __pfx_bus_for_each_drv (drivers/base/bus.c:450) [ 11.626406][ T218] ? bus_to_subsys (drivers/base/bus.c:85) [ 11.626638][ T218] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 11.626866][ T218] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 11.627423][ T218] __device_attach (drivers/base/dd.c:1030) [ 11.627670][ T218] ? __pfx___device_attach (drivers/base/dd.c:1001) [ 11.627898][ T218] ? bus_to_subsys (drivers/base/bus.c:85) [ 11.628136][ T218] ? do_raw_spin_unlock (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/asm-generic/qspinlock.h:57 kernel/locking/spinlock_debug.c:101 kernel/locking/spinlock_debug.c:141) [ 11.628392][ T218] bus_probe_device (drivers/base/bus.c:537) [ 11.628749][ T218] device_add (drivers/base/core.c:3672) [ 11.628990][ T218] ? __pfx_device_add (drivers/base/core.c:3548) [ 11.629227][ T218] ? __init_waitqueue_head (./include/linux/list.h:37 kernel/sched/wait.c:12) [ 11.629480][ T218] new_device_store (drivers/net/netdevsim/bus.c:443 drivers/net/netdevsim/bus.c:173) netdevsim [ 11.629778][ T218] ? __pfx_new_device_store (drivers/net/netdevsim/bus.c:142) netdevsim [ 11.630094][ T218] ? __pfx_sysfs_kf_write (fs/sysfs/file.c:132) [ 11.630378][ T218] ? sysfs_file_ops (fs/sysfs/file.c:31 (discriminator 1)) [ 11.630623][ T218] ? __pfx_sysfs_kf_write (fs/sysfs/file.c:132) [ 11.630867][ T218] kernfs_fop_write_iter (fs/kernfs/file.c:334) [ 11.631259][ T218] vfs_write (fs/read_write.c:586 fs/read_write.c:679) [ 11.631449][ T218] ? __pfx_vfs_write (fs/read_write.c:660) [ 11.631808][ T218] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 11.632047][ T218] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 11.632298][ T218] ksys_write (fs/read_write.c:731) [ 11.632478][ T218] ? __pfx_ksys_write (fs/read_write.c:721) [ 11.632722][ T218] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 11.632959][ T218] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 11.633403][ T218] RIP: 0033:0x7f33f8b70b77 [ 11.633646][ T218] Code: Unable to access opcode bytes at 0x7f33f8b70b4d. Code starting with the faulting instruction =========================================== [ 11.633937][ T218] RSP: 002b:00007ffc5f0ec588 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 11.634333][ T218] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f33f8b70b77 [ 11.634673][ T218] RDX: 0000000000000004 RSI: 0000563cccfede20 RDI: 0000000000000001 [ 11.635307][ T218] RBP: 0000563cccfede20 R08: 0000000000000000 R09: 00007f33f8be34e0 [ 11.635644][ T218] R10: 00007f33f8be33e0 R11: 0000000000000246 R12: 0000000000000004 Finger prints: __netdev_update_features:register_netdevice:nsim_create:__nsim_dev_port_add:nsim_drv_probe