系统崩溃,求解

发布于 2022-10-15 04:22:11 字数 16582 浏览 15 评论 0

系统内核版本:Linux 2.6.30
其中mr_wd为自己编写的程序名称,运行一段时间后报系统错误,如下:
此时仍然能进入系统,但mr_wd程序的功能部分丧失。
本打算用ftp将/var/log/syslog文件上传到服务器,但启用ftp服务时又报系统错误

求各位给点解决的建议与措施,谢谢!!!
//  /var/log/syslog文件截取的错误日志

Jun 14 13:40:58 STA0 vmunix: [  797.875946] ------------[ cut here ]------------
Jun 14 13:40:58 STA0 vmunix: [  797.876007] Kernel BUG at c015b036 [verbose debug info unavailable]
Jun 14 13:40:58 STA0 vmunix: [  797.876007] invalid opcode: 0000 [#1] PREEMPT
Jun 14 13:40:58 STA0 vmunix: [  797.876007] last sysfs file: /sys/class/net/lo/operstate
Jun 14 13:40:58 STA0 vmunix: [  797.876007] Modules linked in: authenc esp4 xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack iptable_filter ip_tables x_tables wlan_scan_sta ipv6 deflate zlib_deflate ecb af_key hostap_pci hostap lib80211 natsemi ath_rate_minstrel ath_pci wlan ath_hal(P) ftdi_sio usbserial i2c_i801 i2c_core pcspkr usbhid usb_storage ata_piix ata_generic libata ide_pci_generic uhci_hcd ehci_hcd e1000e usbcore [last unloaded: scsi_wait_scan]
Jun 14 13:40:58 STA0 vmunix: [  797.876007]
Jun 14 13:40:58 STA0 vmunix: [  797.876007] Pid: 4206, comm: mr_wd Tainted: P           (2.6.30-voyage #1) Montevina
Jun 14 13:40:58 STA0 vmunix: [  797.876007] EIP: 0060:[<c015b036>] EFLAGS: 00010006 CPU: 0
Jun 14 13:40:58 STA0 vmunix: [  797.876007] EIP is at cache_alloc_refill+0xfb/0x438
Jun 14 13:40:58 STA0 vmunix: [  797.876007] EAX: 0000003f EBX: f70fbd80 ECX: f70f9d10 EDX: f70f8b40
Jun 14 13:40:58 STA0 vmunix: [  797.876007] ESI: f70f9d08 EDI: f70f9d00 EBP: f65cfc14 ESP: f65cfbd4
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
Jun 14 13:40:58 STA0 vmunix: [  797.876007] Process sta_fwd (pid: 4206, ti=f65ce000 task=f73d3870 task.ti=f65ce000)
Jun 14 13:40:58 STA0 vmunix: [  797.876007] Stack:
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  f65cfd6c f65cfd68 00000000 00000020 00008020 f70f8b40 00000000 f70f9d10
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  f70f9d08 0000001b 00000246 f65cfc30 c02e2e0f c0436cd8 f70f8b40 00000292
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  f65cfc2c c015b441 00008020 c0436cd8 c0436cb0 00000002 f65cfc38 c02dc5d9
Jun 14 13:40:58 STA0 vmunix: [  797.876007] Call Trace:
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c02e2e0f>] ? flow_cache_lookup+0x1b5/0x296
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c015b441>] ? kmem_cache_alloc+0x34/0x6c
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c02dc5d9>] ? dst_alloc+0x2a/0x68
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c0323c1a>] ? __xfrm_lookup+0x42d/0x90f
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c03287c7>] ? xfrm_output2+0xd/0xf
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c0328859>] ? xfrm_output+0x90/0x9b
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c0321eb0>] ? xfrm4_output_finish+0x30/0x32
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c02f6580>] ? ip_push_pending_frames+0x2b4/0x2c5
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c02f0a2a>] ? ip_route_output_flow+0x6e/0x1d9
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c030ebe0>] ? udp_sendmsg+0x2cf/0x558
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c0313a2a>] ? inet_sendmsg+0x3b/0x48
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c02cd458>] ? sock_sendmsg+0xc9/0xe0
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c030de11>] ? udp_queue_rcv_skb+0x1cf/0x1fa
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c012772d>] ? autoremove_wake_function+0x0/0x33
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c030e4c9>] ? udp_rcv+0x12/0x14
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c02f2fe8>] ? ip_local_deliver_finish+0x16b/0x1a2
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c02f3080>] ? ip_local_deliver+0x61/0x6a
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c02cd6a2>] ? sys_sendto+0xa1/0xc0
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c02f2c70>] ? ip_rcv_finish+0x21c/0x232
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c02f2e5f>] ? ip_rcv+0x1d9/0x1f7
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c02d8386>] ? netif_receive_skb+0x3e7/0x3f2
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c02ce381>] ? sys_socketcall+0xd5/0x16d
Jun 14 13:40:58 STA0 vmunix: [  797.876007]  [<c0102995>] ? syscall_call+0x7/0xb
Jun 14 13:40:58 STA0 vmunix: [  797.876007] Code: 01 13 e9 b1 00 00 00 8b 37 39 fe 75 13 8b 77 10 c7 47 30 01 00 00 00 3b 75 dc 0f 84 93 00 00 00 8b 55 d4 8b 46 10 3b 42 1c 72 2b <0f> 0b eb fe 8b 45 d4 8b 0b 8b 50 10 8b 45 c4 0f af 56 14 03 56
Jun 14 13:40:58 STA0 vmunix: [  797.876007] EIP: [<c015b036>] cache_alloc_refill+0xfb/0x438 SS:ESP 0068:f65cfbd4
Jun 14 13:40:58 STA0 vmunix: [  797.876007] ---[ end trace 8d2692c27b2eb3f8 ]---
Jun 14 13:40:58 STA0 vmunix: [  797.887023] note: mr_wd [4206] exited with preempt_count 2
Jun 14 13:43:55 STA0 vmunix: [  974.081940] ------------[ cut here ]------------
Jun 14 13:43:55 STA0 vmunix: [  974.082001] Kernel BUG at c015b036 [verbose debug info unavailable]
Jun 14 13:43:55 STA0 vmunix: [  974.082006] invalid opcode: 0000 [#2] PREEMPT
Jun 14 13:43:55 STA0 vmunix: [  974.082006] last sysfs file: /sys/class/net/lo/operstate
Jun 14 13:43:55 STA0 vmunix: [  974.082006] Modules linked in: authenc esp4 xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack iptable_filter ip_tables x_tables wlan_scan_sta ipv6 deflate zlib_deflate ecb af_key hostap_pci hostap lib80211 natsemi ath_rate_minstrel ath_pci wlan ath_hal(P) ftdi_sio usbserial i2c_i801 i2c_core pcspkr usbhid usb_storage ata_piix ata_generic libata ide_pci_generic uhci_hcd ehci_hcd e1000e usbcore [last unloaded: scsi_wait_scan]
Jun 14 13:43:55 STA0 vmunix: [  974.082006]
Jun 14 13:43:55 STA0 vmunix: [  974.082006] Pid: 4711, comm: ftp Tainted: P      D    (2.6.30-voyage #1) Montevina
Jun 14 13:43:55 STA0 vmunix: [  974.082006] EIP: 0060:[<c015b036>] EFLAGS: 00010016 CPU: 0
Jun 14 13:43:55 STA0 vmunix: [  974.082006] EIP is at cache_alloc_refill+0xfb/0x438
Jun 14 13:43:55 STA0 vmunix: [  974.082006] EAX: 00000033 EBX: f70fbd80 ECX: f70f9d10 EDX: f70f8b40
Jun 14 13:43:55 STA0 vmunix: [  974.082006] ESI: f70f9d08 EDI: f70f9d00 EBP: f662dcdc ESP: f662dc9c
Jun 14 13:43:55 STA0 vmunix: [  974.082006]  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
Jun 14 13:43:55 STA0 vmunix: [  974.082006] Process ftp (pid: 4711, ti=f662c000 task=f70c2820 task.ti=f662c000)
Jun 14 13:43:55 STA0 vmunix: [  974.082006] Stack:
Jun 14 13:43:55 STA0 vmunix: [  974.082006]  f662de6c f662de68 00000000 00000020 00008020 f70f8b40 00000000 f70f9d10
Jun 14 13:43:55 STA0 vmunix: [  974.082006]  f70f9d08 0000001b 00000246 f662dcf8 c02e2ec6 c0436cd8 f70f8b40 00000286
Jun 14 13:43:55 STA0 vmunix: [  974.082006]  f662dcf4 c015b441 00008020 c0436cd8 c0436cb0 00000002 f662dd00 c02dc5d9
Jun 14 13:43:55 STA0 vmunix: [  974.082006] Call Trace:
Jun 14 13:43:55 STA0 vmunix: [  974.082006]  [<c02e2ec6>] ? flow_cache_lookup+0x26c/0x296
Jun 14 13:43:55 STA0 vmunix: [  974.082006]  [<c015b441>] ? kmem_cache_alloc+0x34/0x6c
Jun 14 13:43:55 STA0 vmunix: [  974.082006]  [<c02dc5d9>] ? dst_alloc+0x2a/0x68
Jun 14 13:43:55 STA0 vmunix: [  974.082006]  [<c0323c1a>] ? __xfrm_lookup+0x42d/0x90f
Jun 14 13:43:55 STA0 vmunix: [  974.082006]  [<c02f0a2a>] ? ip_route_output_flow+0x6e/0x1d9
Jun 14 13:43:55 STA0 vmunix: [  974.082006]  [<c030a60b>] ? tcp_v4_connect+0x196/0x4a3
Jun 14 13:43:55 STA0 vmunix: [  974.082006]  [<c014356c>] ? __alloc_pages_internal+0x95/0x356
Jun 14 13:43:55 STA0 vmunix: [  974.082006]  [<c0314265>] ? inet_stream_connect+0x86/0x1f0
Jun 14 13:43:55 STA0 vmunix: [  974.082006]  [<c02ccf64>] ? sys_connect+0x54/0x71
Jun 14 13:43:55 STA0 vmunix: [  974.082006]  [<c016bd05>] ? d_alloc+0x1e/0x16d
Jun 14 13:43:55 STA0 vmunix: [  974.082006]  [<c02cd16e>] ? sock_attach_fd+0x7f/0xac
Jun 14 13:43:55 STA0 vmunix: [  974.082006]  [<c02cd1e6>] ? sock_map_fd+0x4b/0x56
Jun 14 13:43:55 STA0 vmunix: [  974.082006]  [<c02ce31d>] ? sys_socketcall+0x71/0x16d
Jun 14 13:43:55 STA0 vmunix: [  974.082006]  [<c0102995>] ? syscall_call+0x7/0xb
Jun 14 13:43:55 STA0 vmunix: [  974.082006] Code: 01 13 e9 b1 00 00 00 8b 37 39 fe 75 13 8b 77 10 c7 47 30 01 00 00 00 3b 75 dc 0f 84 93 00 00 00 8b 55 d4 8b 46 10 3b 42 1c 72 2b <0f> 0b eb fe 8b 45 d4 8b 0b 8b 50 10 8b 45 c4 0f af 56 14 03 56
Jun 14 13:43:55 STA0 vmunix: [  974.082006] EIP: [<c015b036>] cache_alloc_refill+0xfb/0x438 SS:ESP 0068:f662dc9c
Jun 14 13:43:55 STA0 vmunix: [  974.082006] ---[ end trace 8d2692c27b2eb3f9 ]---
Jun 14 13:43:55 STA0 vmunix: [  974.082006] note: ftp[4711] exited with preempt_count 2
Jun 14 13:43:55 STA0 vmunix: [  974.089298] BUG: scheduling while atomic: ftp/4711/0x00000003
Jun 14 13:43:55 STA0 vmunix: [  974.089356] Modules linked in: authenc esp4 xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack iptable_filter ip_tables x_tables wlan_scan_sta ipv6 deflate zlib_deflate ecb af_key hostap_pci hostap lib80211 natsemi ath_rate_minstrel ath_pci wlan ath_hal(P) ftdi_sio usbserial i2c_i801 i2c_core pcspkr usbhid usb_storage ata_piix ata_generic libata ide_pci_generic uhci_hcd ehci_hcd e1000e usbcore [last unloaded: scsi_wait_scan]
Jun 14 13:43:55 STA0 vmunix: [  974.090926] Pid: 4711, comm: ftp Tainted: P      D    2.6.30-voyage #1
Jun 14 13:43:55 STA0 vmunix: [  974.090984] Call Trace:
Jun 14 13:43:55 STA0 vmunix: [  974.091053]  [<c0113bbd>] __schedule_bug+0x47/0x4c
Jun 14 13:43:55 STA0 vmunix: [  974.091912]  [<c034c28d>] __schedule+0x60/0x311
Jun 14 13:43:55 STA0 vmunix: [  974.091970]  [<c0110000>] ? __bad_area_nosemaphore+0x137/0x14e
Jun 14 13:43:55 STA0 vmunix: [  974.092043]  [<c034c550>] schedule+0x12/0x24
Jun 14 13:43:55 STA0 vmunix: [  974.092100]  [<c02cf013>] lock_sock_nested+0x70/0xb7
Jun 14 13:43:55 STA0 vmunix: [  974.092157]  [<c012772d>] ? autoremove_wake_function+0x0/0x33
Jun 14 13:43:55 STA0 vmunix: [  974.092218]  [<c02fbd88>] tcp_close+0x15/0x327
Jun 14 13:43:55 STA0 vmunix: [  974.092274]  [<c03145a9>] inet_release+0x41/0x47
Jun 14 13:43:55 STA0 vmunix: [  974.092332]  [<c02cd867>] sock_release+0x14/0x58
Jun 14 13:43:55 STA0 vmunix: [  974.092389]  [<c02cd8c7>] sock_close+0x1c/0x20
Jun 14 13:43:55 STA0 vmunix: [  974.092446]  [<c015e57e>] __fput+0xad/0x15e
Jun 14 13:43:55 STA0 vmunix: [  974.092502]  [<c015e647>] fput+0x18/0x1a
Jun 14 13:43:55 STA0 vmunix: [  974.092557]  [<c015bf41>] filp_close+0x51/0x5b
Jun 14 13:43:55 STA0 vmunix: [  974.092615]  [<c01194cc>] put_files_struct+0x67/0xa9
Jun 14 13:43:55 STA0 vmunix: [  974.092673]  [<c0119547>] exit_files+0x39/0x3c
Jun 14 13:43:55 STA0 vmunix: [  974.092730]  [<c011a7c3>] do_exit+0x131/0x53c
Jun 14 13:43:55 STA0 vmunix: [  974.092787]  [<c034c20b>] ? printk+0xf/0x14
Jun 14 13:43:55 STA0 vmunix: [  974.092842]  [<c0118087>] ? oops_exit+0x23/0x28
Jun 14 13:43:55 STA0 vmunix: [  974.092901]  [<c0104da8>] oops_end+0x66/0x6d
Jun 14 13:43:55 STA0 vmunix: [  974.092957]  [<c0104ee4>] die+0x49/0x4f
Jun 14 13:43:55 STA0 vmunix: [  974.093027]  [<c0103216>] do_trap+0x7d/0x85
Jun 14 13:43:55 STA0 vmunix: [  974.093083]  [<c01034c5>] ? do_invalid_op+0x0/0x7b
Jun 14 13:43:55 STA0 vmunix: [  974.093140]  [<c0103536>] do_invalid_op+0x71/0x7b
Jun 14 13:43:55 STA0 vmunix: [  974.093198]  [<c015b036>] ? cache_alloc_refill+0xfb/0x438
Jun 14 13:43:55 STA0 vmunix: [  974.093257]  [<c02a4cf1>] ? scsi_setup_fs_cmnd+0x92/0x97
Jun 14 13:43:55 STA0 vmunix: [  974.093316]  [<c03271a9>] ? xfrm_state_look_at+0x26/0x8f
Jun 14 13:43:55 STA0 vmunix: [  974.093374]  [<c0327a4a>] ? xfrm_state_find+0x187/0x5e1
Jun 14 13:43:55 STA0 vmunix: [  974.093432]  [<c0327e46>] ? xfrm_state_find+0x583/0x5e1
Jun 14 13:43:55 STA0 vmunix: [  974.093491]  [<c034dea5>] error_code+0x65/0x70
Jun 14 13:43:55 STA0 vmunix: [  974.093548]  [<c01034c5>] ? do_invalid_op+0x0/0x7b
Jun 14 13:43:55 STA0 vmunix: [  974.093605]  [<c015b036>] ? cache_alloc_refill+0xfb/0x438
Jun 14 13:43:55 STA0 vmunix: [  974.093665]  [<c02e2ec6>] ? flow_cache_lookup+0x26c/0x296
Jun 14 13:43:55 STA0 vmunix: [  974.093724]  [<c015b441>] kmem_cache_alloc+0x34/0x6c
Jun 14 13:43:55 STA0 vmunix: [  974.093782]  [<c02dc5d9>] dst_alloc+0x2a/0x68
Jun 14 13:43:55 STA0 vmunix: [  974.093839]  [<c0323c1a>] __xfrm_lookup+0x42d/0x90f
Jun 14 13:43:55 STA0 vmunix: [  974.093898]  [<c02f0a2a>] ip_route_output_flow+0x6e/0x1d9
Jun 14 13:43:55 STA0 vmunix: [  974.093958]  [<c030a60b>] tcp_v4_connect+0x196/0x4a3
Jun 14 13:43:55 STA0 vmunix: [  974.094030]  [<c014356c>] ? __alloc_pages_internal+0x95/0x356
Jun 14 13:43:55 STA0 vmunix: [  974.094091]  [<c0314265>] inet_stream_connect+0x86/0x1f0
Jun 14 13:43:55 STA0 vmunix: [  974.094150]  [<c02ccf64>] sys_connect+0x54/0x71
Jun 14 13:43:55 STA0 vmunix: [  974.094208]  [<c016bd05>] ? d_alloc+0x1e/0x16d
Jun 14 13:43:55 STA0 vmunix: [  974.094266]  [<c02cd16e>] ? sock_attach_fd+0x7f/0xac
Jun 14 13:43:55 STA0 vmunix: [  974.094325]  [<c02cd1e6>] ? sock_map_fd+0x4b/0x56
Jun 14 13:43:55 STA0 vmunix: [  974.094383]  [<c02ce31d>] sys_socketcall+0x71/0x16d
Jun 14 13:43:55 STA0 vmunix: [  974.094441]  [<c0102995>] syscall_call+0x7/0xb

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文