Closed Ares107 closed 3 years ago
I get some kernel panic message when I do ifconfig eth0 down / ifconfig eth0 up such operation repeatedly in my nuc970 board. here is the message:
nuc970_ether_close .... nuc970_reset_mac0 ...[0] BUG: Bad page state in process ifconfig pfn:03be7 page:c060ace0 count:-1 mapcount:0 mapping: (null) index:0x0 page flags: 0x0() Modules linked in: CPU: 0 PID: 539 Comm: ifconfig Not tainted 3.10.32 #12 Backtrace: [<c00123f4>] (dump_backtrace+0x0/0x10c) from [<c0012608>] (show_stack+0x18/0x1c) r6:c052c7f8 r5:c060ace0 r4:c0583528 r3:00000000 [<c00125f0>] (show_stack+0x0/0x1c) from [<c03ed57c>] (dump_stack+0x20/0x28) [<c03ed55c>] (dump_stack+0x0/0x28) from [<c0088e80>] (bad_page+0xb4/0x114) [<c0088dcc>] (bad_page+0x0/0x114) from [<c00894e8>] (get_page_from_freelist+0x540/0x6f0) r6:00000000 r5:00000000 r4:c060ac00 r3:c060ace0 [<c0088fa8>] (get_page_from_freelist+0x0/0x6f0) from [<c008a090>] (__alloc_pages_nodemask+0x11c/0x8b8) [<c0089f74>] (__alloc_pages_nodemask+0x0/0x8b8) from [<c02d73d8>] (__netdev_alloc_frag+0xa0/0x13c) [<c02d7338>] (__netdev_alloc_frag+0x0/0x13c) from [<c02d9ae8>] (__netdev_alloc_skb+0x48/0xe8) r9:00000060 r8:c058b470 r7:00000070 r6:c3b8bd80 r5:00000000 r4:000006e0 [<c02d9aa0>] (__netdev_alloc_skb+0x0/0xe8) from [<c025496c>] (nuc970_reset_mac+0x23c/0x53c) r6:c3b8bd80 r5:00000006 r4:c39b0000 r3:c49e5000 [<c0254730>] (nuc970_reset_mac+0x0/0x53c) from [<c0254dfc>] (nuc970_ether_open+0x2c/0x1d8) [<c0254dd0>] (nuc970_ether_open+0x0/0x1d8) from [<c02e7704>] (__dev_open+0xb8/0x11c) r6:00000001 r5:c040ab30 r4:c39b0000 [<c02e764c>] (__dev_open+0x0/0x11c) from [<c02e7958>] (__dev_change_flags+0x90/0x138) r5:00001043 r4:c39b0000 [<c02e78c8>] (__dev_change_flags+0x0/0x138) from [<c02e7a7c>] (dev_change_flags+0x18/0x50) r7:00000000 r6:c3b85480 r5:00001002 r4:c39b0000 [<c02e7a64>] (dev_change_flags+0x0/0x50) from [<c0350fe8>] (devinet_ioctl+0x6bc/0x76c) r6:c3b85480 r5:c389780c r4:c3b85480 r3:ffffffff [<c035092c>] (devinet_ioctl+0x0/0x76c) from [<c0352654>] (inet_ioctl+0x19c/0x1c8) [<c03524b8>] (inet_ioctl+0x0/0x1c8) from [<c02cfdf0>] (sock_ioctl+0x1d4/0x2a8) [<c02cfc1c>] (sock_ioctl+0x0/0x2a8) from [<c00d0ff8>] (do_vfs_ioctl+0x414/0x604) r7:bece3bc8 r6:00000000 r5:00000003 r4:c3b91500 [<c00d0be4>] (do_vfs_ioctl+0x0/0x604) from [<c00d1228>] (SyS_ioctl+0x40/0x6c) [<c00d11e8>] (SyS_ioctl+0x0/0x6c) from [<c000f120>] (ret_fast_syscall+0x0/0x2c) r8:c000f2a8 r7:00000036 r6:bece3dcc r5:bece3bc8 r4:001cb128 Disabling lock debugging due to kernel taint nuc970_reset_mac 11111 napi_enable_beging ----- [0] ----- [1] ----- [2] nuc970-emac0 nuc970-emac0: eth0 is OPENED
update the latest version to solve this problem.
I get some kernel panic message when I do ifconfig eth0 down / ifconfig eth0 up such operation repeatedly in my nuc970 board. here is the message: