Oops in 2.0.33 (possibly in ip_masq_ftp)

Patrick D. Wildi (patrick@wildi.com)
Tue, 17 Mar 1998 16:58:33 -0800 (PST)


I got another series of oopses in my 2.0.33 (with patches:
3c59x.c:v0.49J, aic7xxx-5.0.7). This machine also
experiences occasional (between a few hours to a few days)
spontaneous resets.

I am not an oops expert. The "EIP" and "Code" for all oopses is
the same even though the "Stack" and "Call Trace" are not.

My guesstimate is the oops happens in file net/ipv4/ip_masq_ftp.c
in the function masq_ftp_out(), line 97:

if (memcmp(data,"PORT ",5) && memcmp(data,"port ",5))

Patrick

here goes the log and ksymoops output:

Unable to handle kernel paging request at virtual address c4000000
current->tss.cr3 = 00101000, ^Lr3 = 00101000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<0480b0bb>]
EFLAGS: 00010246
eax: 00000000 ebx: 001ce5ec ecx: 00000005 edx: 04000000
esi: 04000000 edi: 0480b800 ebp: 001db264 esp: 001ce5a4
ds: 0018 es: 0018 fs: 002b gs: 0018 ss: 0018
Process swapper (pid: 0, process nr: 0, stackpage=001cc7f0)
Stack: 021c0b18 001ce6c4 003baabf 03fd59d8 010e0ee0 00af8cdc 010e0ee0 03fb95b5
001ce5f0 000000fc 001d0b38 00000000 001e7a74 00002100 00000200 0407628a
03fb95b5 03e9b068 04000000 03e9b038 00000246 001e0000 00000001 00000100
Call Trace: [ip_masq_app_pkt_out+178/236] [ip_masq_set_expire+45/52] [ip_fw_masquerade+940/1220] [ip_forward+702/1920] [ip_rcv+1261/1380] [__skb_unlink+46/88] [net_bh+232/264]
[do_bottom_half+59/96] [handle_bottom_half+11/32] [sys_idle+92/112] [system_call+85/128] [init+0/612] [sg_ioctl+92/156] [start_kernel+449/460]
Code: f3 a6 74 1d 89 d6 bf 06 b8 80 04 b9 05 00 00 00 fc a8 00 f3

ksymoops produced:
Code: f3 a6 repz cmpsb %ds:(%esi),%es:(%edi)
Code: 74 1d je 21 <_EIP+21>
Code: 89 d6 movl %edx,%esi
Code: bf 06 b8 80 04 movl $0x480b806,%edi
Code: b9 05 00 00 00 movl $0x5,%ecx
Code: fc cld
Code: a8 00 testb $0x0,%al

Aiee, killing interrupt handler
kfree of non-kmalloced memory: 001ce838, next= 00000000, order=0
kfree of non-kmalloced memory: 001ce828, next= 00000000, order=0
kfree of non-kmalloced memory: 001ced3c, next= 00000000, order=0
idle task may not sleep
sage repeated 4 times
Unable to handle kernel paging request at virtual address c4000000
current->tss.cr3 = 00101000, ^Lr3 = 00101000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<0480b0bb>]
EFLAGS: 00010246
eax: 00000000 ebx: 001ce358 ecx: 00000005 edx: 04000000
esi: 04000000 edi: 0480b800 ebp: 001db264 esp: 001ce310
ds: 0018 es: 0018 fs: 002b gs: 0000 ss: 0018
Process swapper (pid: 0, process nr: 0, stackpage=001cc7f0)
Stack: 021c0b18 001ce430 003baabf 03fd59d8 00000246 00cb5c00 00000000 03fb95b5
001ce35c 001aae38 00cb5c00 00000000 00000002 00cb5c00 02babc00 04076872
03fb95b5 03e9b650 04000000 03e9b620 001ec780 00000000 00000101 001b6e00
Call Trace: [requeue_sd_request+40/3568] [ip_masq_app_pkt_out+178/236] [ip_masq_set_expire+45/52] [ip_fw_masquerade+940/1220] [ip_forward+702/1920] [ip_rcv+1261/1380] [__skb_unlink+46/88]
[net_bh+232/264] [do_bottom_half+59/96] [handle_bottom_half+11/32] [exit_notify+30/472] [do_exit+456/508] [die_if_kernel+695/704] [<05000000>] [<04800000>]
[sg_ioctl+92/156] [do_page_fault+718/736] [do_page_fault+0/736] [<0480b800>] [error_code+64/80] [<0480b800>] [<0480b0bb>] [ip_masq_app_pkt_out+178/236]
[ip_masq_set_expire+45/52] [ip_fw_masquerade+940/1220] [ip_forward+702/1920] [ip_rcv+1261/1380] [__skb_unlink+46/88] [net_bh+232/264] [do_bottom_half+59/96] [handle_bottom_half+11/32]
[sys_idle+92/112] [system_call+85/128] [init+0/612] [sg_ioctl+92/156] [start_kernel+449/460]
Code: f3 a6 74 1d 89 d6 bf 06 b8 80 04 b9 05 00 00 00 fc a8 00 f3
Aiee, killing interrupt handler
Unable to handle kernel paging request at virtual address c4000000
current->tss.cr3 = 00101000, ^Lr3 = 00101000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<0480b0bb>]
EFLAGS: 00010246
eax: 00000000 ebx: 001ce0b4 ecx: 00000005 edx: 04000000
esi: 04000000 edi: 0480b800 ebp: 001db264 esp: 001ce06c
ds: 0018 es: 0018 fs: 002b gs: 0000 ss: 0018
Process swapper (pid: 0, process nr: 0, stackpage=001cc7f0)
Stack: 021c0b18 001ce18c 003baabf 03fd59d8 00000000 014556e8 00af8cdc 03fb95b5
001ce0b8 00af8cdc 014556e8 01202c0c 01455038 00af8c00 00af8d00 0407657e
03fb95b5 03e9b35c 04000000 03e9b32c 00142f29 00f10000 00000001 00000000
Call Trace: [ip_queue_xmit+369/452] [ip_masq_app_pkt_out+178/236] [ip_masq_set_expire+45/52] [ip_fw_masquerade+940/1220] [ip_forward+702/1920] [ip_rcv+1261/1380] [__skb_unlink+46/88]
[net_bh+232/264] [do_bottom_half+59/96] [handle_bottom_half+11/32] [getmodel+32/96] [del_timer+51/64] [do_exit+71/508] [die_if_kernel+695/704] [<05000000>]
[<04800000>] [sg_ioctl+92/156] [do_page_fault+718/736] [do_page_fault+0/736] [<0480b800>] [error_code+64/80] [<0480b800>] [<0480b0bb>]
[requeue_sd_request+40/3568] [ip_masq_app_pkt_out+178/236] [ip_masq_set_expire+45/52] [ip_fw_masquerade+940/1220] [ip_forward+702/1920] [ip_rcv+1261/1380] [__skb_unlink+46/88] [net_bh+232/264]
[do_bottom_half+59/96] [handle_bottom_half+11/32] [exit_notify+30/472] [do_exit+456/508] [die_if_kernel+695/704] [<05000000>] [<04800000>] [sg_ioctl+92/156]
[do_page_fault+718/736] [do_page_fault+0/736] [<0480b800>] [error_code+64/80] [<0480b800>] [<0480b0bb>] [ip_masq_app_pkt_out+178/236] [ip_masq_set_expire+45/52]
[ip_fw_masquerade+940/1220] [ip_forward+702/1920] [ip_rcv+1261/1380] [__skb_unlink+46/88] [net_bh+232/264] [do_bottom_half+59/96] [handle_bottom_half+11/32] [sys_idle+92/112]
[system_call+85/128] [init+0/612] [sg_ioctl+92/156] [start_kernel+449/460]
Code: f3 a6 74 1d 89 d6 bf 06 b8 80 04 b9 05 00 00 00 fc a8 00 f3
Aiee, killing interrupt handler
Unable to handle kernel paging request at virtual address c4000000
current->tss.cr3 = 00101000, ^Lr3 = 00101000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<0480b0bb>]
EFLAGS: 00010246
eax: 00000000 ebx: 001cde34 ecx: 00000005 edx: 04000000
esi: 04000000 edi: 0480b800 ebp: 001db264 esp: 001cddec
ds: 0018 es: 0018 fs: 0000 gs: 0000 ss: 0018
Process swapper (pid: 0, process nr: 0, stackpage=001cc7f0)
Stack: 021c0b18 001cdf0c 003baabf 03fd59d8 020a8034 00000021 00000021 03fb95b5
001cde38 00af8c0c 00a61018 020a8098 00000064 00000000 020a8000 04076482
03fb95b5 03e9b260 04000000 03e9b230 020a8098 00000000 00000001 020a8000
Call Trace: [dev_kfree_skb+25/76] [ip_masq_app_pkt_out+178/236] [ip_masq_set_expire+45/52] [ip_fw_masquerade+940/1220] [ip_forward+702/1920] [ip_rcv+1261/1380] [__skb_unlink+46/88]
[net_bh+232/264] [do_bottom_half+59/96] [schedule+63/652] [exit_notify+219/472] [do_exit+503/508] [die_if_kernel+695/704] [<05000000>] [<04800000>]
[sg_ioctl+92/156] [do_page_fault+718/736]
Code: f3 a6 74 1d 89 d6 bf 06 b8 80 04 b9 05 00 00 00 fc a8 00 f3
Aiee, killing interrupt handler
Unable to handle kernel paging request at virtual address c4000000
current->tss.cr3 = 00101000, ^Lr3 = 00101000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<0480b0bb>]
EFLAGS: 00010246
eax: 00000000 ebx: 001cdbb4 ecx: 00000005 edx: 04000000
esi: 04000000 edi: 0480b800 ebp: 001db264 esp: 001cdb6c
ds: 0018 es: 0018 fs: 0000 gs: 0000 ss: 0018
Process swapper (pid: 0, process nr: 0, stackpage=001cc7f0)
Stack: 021c0b18 001cdc8c 003baabf 03fd59d8 020a8230 00000021 00000021 03fb95b5
001cdbb8 00af8c0c 00a61018 020a826e 0000003e 00000000 020a8200 0407696e
03fb95b5 03e9b74c 04000000 03e9b71c e7471eff 00000000 01202c01 01202c00
Call Trace: [def_callback2+17/44] [ip_masq_app_pkt_out+178/236] [ip_masq_set_expire+45/52] [ip_fw_masquerade+940/1220] [ip_forward+702/1920] [ip_rcv+1261/1380] [__skb_unlink+46/88]
[net_bh+232/264] [do_bottom_half+59/96] [schedule+63/652] [exit_notify+219/472] [do_exit+503/508] [die_if_kernel+695/704] [<05000000>] [<04800000>]
[sg_ioctl+92/156] [do_page_fault+718/736] [do_page_fault+0/736] [<0480b800>] [error_code+64/80] [<0480b800>] [<0480b0bb>] [dev_kfree_skb+25/76]
[ip_masq_app_pkt_out+178/236] [ip_masq_set_expire+45/52] [ip_fw_masquerade+940/1220] [ip_forward+702/1920] [ip_rcv+1261/1380] [__skb_unlink+46/88] [net_bh+232/264] [do_bottom_half+59/96]
[schedule+63/652] [exit_notify+219/472] [do_exit+503/508] [die_if_kernel+695/704] [<05000000>] [<04800000>] [sg_ioctl+92/156] [do_page_fault+718/736]
Code: f3 a6 74 1d 89 d6 bf 06 b8 80 04 b9 05 00 00 00 fc a8 00 f3
Aiee, killing interrupt handler
Unable to handle kernel paging request at virtual address c4000000
current->tss.cr3 = 00101000, ^Lr3 = 00101000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<0480b0bb>]
EFLAGS: 00010246
eax: 00000000 ebx: 001cd934 ecx: 00000005 edx: 04000000
esi: 04000000 edi: 0480b800 ebp: 001db264 esp: 001cd8ec
ds: 0018 es: 0018 fs: 0000 gs: 0000 ss: 0018
Process swapper (pid: 0, process nr: 0, stackpage=001cc7f0)
Stack: 021c0b18 001cda0c 003baabf 03fd59d8 020a842c 00000021 00000021 03fb95b5
001cd938 00af8c0c 00000000 03e9bc38 00000000 00138600 03e9bc00 0407714e
03fb95b5 03e9bf2c 04000000 03e9befc 020a867c 00000000 00138701 020a8600
Call Trace: [skb_reserve+8/116] [kfree_skb+93/264] [ip_masq_app_pkt_out+178/236] [ip_masq_set_expire+45/52] [ip_fw_masquerade+940/1220] [ip_forward+702/1920] [ip_rcv+1261/1380]
[__skb_unlink+46/88] [net_bh+232/264] [do_bottom_half+59/96] [schedule+63/652] [exit_notify+219/472] [do_exit+503/508] [die_if_kernel+695/704] [<05000000>]
[<04800000>] [sg_ioctl+92/156] [do_page_fault+718/736] [do_page_fault+0/736] [<0480b800>] [error_code+64/80] [<0480b800>] [<0480b0bb>]
[def_callback2+17/44] [ip_masq_app_pkt_out+178/236] [ip_masq_set_expire+45/52] [ip_fw_masquerade+940/1220] [ip_forward+702/1920] [ip_rcv+1261/1380] [__skb_unlink+46/88] [net_bh+232/264]
[do_bottom_half+59/96] [schedule+63/652] [exit_notify+219/472] [do_exit+503/508] [die_if_kernel+695/704] [<05000000>] [<04800000>] [sg_ioctl+92/156]
[do_page_fault+718/736] [do_page_fault+0/736] [<0480b800>] [error_code+64/80] [<0480b800>] [<0480b0bb>] [dev_kfree_skb+25/76] [ip_masq_app_pkt_out+178/236]
[ip_masq_set_expire+45/52] [ip_fw_masquerade+940/1220] [ip_forward+702/1920] [ip_rcv+1261/1380] [__skb_unlink+46/88] [net_bh+232/264] [do_bottom_half+59/96] [schedule+63/652]
[exit_notify+219/472] [do_exit+503/508] [die_if_kernel+695/704] [<05000000>] [<04800000>] [sg_ioctl+92/156] [do_page_fault+718/736]
Code: f3 a6 74 1d 89 d6 bf 06 b8 80 04 b9 05 00 00 00 fc a8 00 f3
Aiee, killing interrupt handler
Unable to handle kernel paging request at virtual address c4000000
current->tss.cr3 = 00101000, ^Lr3 = 00101000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<0480b0bb>]
EFLAGS: 00010246
eax: 00000000 ebx: 001cd6a0 ecx: 00000005 edx: 04000000
esi: 04000000 edi: 0480b800 ebp: 001db264 esp: 001cd658
ds: 0018 es: 0018 fs: 002b gs: 0000 ss: 0018
Process swapper (pid: 0, process nr: 0, stackpage=001cc7f0)
Stack: 011db818 001cd778 00bfd109 03fd59d8 00000246 00c4d000 00000000 03fb95b5
001cd6a4 00000000 03e90a04 00000006 001d2d14 00000002 011db800 04076c62
03fb95b5 03e9ba40 04000000 00000256 00151d64 011db818 00000000 03e9ba24
Call Trace: [ip_masq_new_enh+640/752] [ip_masq_app_pkt_out+178/236] [ip_fw_masquerade+940/1220] [ip_forward+702/1920] [ip_rcv+1261/1380] [__skb_unlink+46/88] [net_bh+232/264]
[do_bottom_half+59/96] [handle_bottom_half+11/32] [exit_notify+62/472] [do_exit+456/508] [die_if_kernel+695/704] [<05000000>] [<04800000>] [sg_ioctl+92/156]
[do_page_fault+718/736] [do_page_fault+0/736] [<0480b800>] [error_code+64/80] [<0480b800>] [<0480b0bb>] [skb_reserve+8/116] [kfree_skb+93/264]
[ip_masq_app_pkt_out+178/236] [ip_masq_set_expire+45/52] [ip_fw_masquerade+940/1220] [ip_forward+702/1920] [ip_rcv+1261/1380] [__skb_unlink+46/88] [net_bh+232/264] [do_bottom_half+59/96]
[schedule+63/652] [exit_notify+219/472] [do_exit+503/508] [die_if_kernel+695/704] [<05000000>] [<04800000>] [sg_ioctl+92/156] [do_page_fault+718/736]
[do_page_fault+0/736] [<0480b800>] [error_code+64/80] [<0480b800>] [<0480b0bb>] [def_callback2+17/44] [ip_masq_app_pkt_out+178/236] [ip_masq_set_expire+45/52]
[ip_fw_masquerade+940/1220] [ip_forward+702/1920] [ip_rcv+1261/1380] [__skb_unlink+46/88] [net_bh+232/264] [do_bottom_half+59/96] [schedule+63/652] [exit_notify+219/472]
[do_exit+503/508] [die_if_kernel+695/704] [<05000000>] [<04800000>] [sg_ioctl+92/156] [do_page_fault+718/736] [do_page_fault+0/736] [<0480b800>]
[error_code+64/80] [<0480b800>] [<0480b0bb>] [dev_kfree_skb+25/76] [ip_masq_app_pkt_out+178/236] [ip_masq_set_expire+45/52] [ip_fw_masquerade+940/1220] [ip_forward+702/1920]
[ip_rcv+1261/1380] [__skb_unlink+46/88] [net_bh+232/264] [do_bottom_half+59/96] [schedule+63/652] [exit_notify+219/472] [do_exit+503/508] [die_if_kernel+695/704]
[<05000000>] [<04800000>] [sg_ioctl+92/156] [do_page_fault+718/736]
Code: f3 a6 74 1d 89 d6 bf 06 b8 80 04 b9 05 00 00 00 fc a8 00 f3
Aiee, killing interrupt handler

-------------------------------------------------------------------
Patrick D. Wildi patrick@wildi.com
http://www.wildi.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu