Known problems with 2.2.10 and IPX?

Petr Vandrovec Ing. VTEI (VANDROVE@vc.cvut.cz)
Thu, 9 Dec 1999 22:58:57 MET-1


Hi,
I know that kernel 2.2.10 is a bit outdated, but one on ncpfs users
(jlewis@ponet.ucla.edu) contacted me with strange problem. He is using
SuSE 6.2 with
Linux alpha 2.2.10 #8 Mon Nov 8 15:18:08 /etc/localtime 1999 i586 unknown
He is using Madge token ring card and when he tries to run ipx_interface,
machine oops on exit from ipx_interface program (IP traffic is OK):

execve("/usr/local/bin/ipx_interface", ["ipx_interface", "add", "-p", "tr0", "snap"], [/* 45 vars */]) = 0
brk(0) = 0x804b1a8
[cut off loading binaries]
personality(PER_LINUX) = 0
getpid() = 1393
brk(0) = 0x804b1a8
brk(0x804b348) = 0x804b348
brk(0x804c000) = 0x804c000
socket(PF_IPX, SOCK_DGRAM, [PF_IPX]) = -1 ENOSYS (Function not implemented)
socket(PF_IPX, SOCK_DGRAM, [PF_IPX]) = -1 ENOSYS (Function not implemented)
socket(PF_IPX, SOCK_DGRAM, [PF_IPX]) = 3
ioctl(3, SIOCSIFADDR, 0x804b184) = 0
_exit(0) = ?
+++ killed by SIGSEGV +++

In syslog, following things appear (ok, I fix ipx_interface to close
socket before exit, but anyway...):

Dec 9 08:07:32 alpha kernel: NET4: Linux IPX 0.38 for NET4.0
Dec 9 08:07:32 alpha kernel: IPX Portions Copyright (c) 1995 Caldera, Inc.
Dec 9 08:07:32 alpha kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000
Dec 9 08:07:32 alpha kernel: current->tss.cr3 = 00101000, %cr3 = 00101000
Dec 9 08:07:32 alpha kernel: *pde = 00000000
Dec 9 08:07:32 alpha kernel: Oops: 0000
Dec 9 08:07:32 alpha kernel: CPU: 0
Dec 9 08:07:32 alpha kernel: EIP: 0010:[<00000000>]
Dec 9 08:07:32 alpha kernel: EFLAGS: 00010246
Dec 9 08:07:32 alpha kernel: eax: 00000000 ebx: c087ba10 ecx: c1bb9980 edx: c087ba10
Dec 9 08:07:32 alpha kernel: esi: c1bb9a1c edi: c0d1acd0 ebp: 00000001 esp: c1375f34
Dec 9 08:07:32 alpha kernel: ds: 0018 es: 0018 ss: 0018
Dec 9 08:07:32 alpha kernel: Process ipx_configure (pid: 3613, process nr: 41, stackpage=c1375000)
Dec 9 08:07:32 alpha kernel: Stack: c1bb9a1c c1bb9980 c0151fd3 c1bb9a1c 00000000 c1bb9980 c01523c0 c1bb9a1c
Dec 9 08:07:32 alpha kernel: c12a7320 c01249eb c1bb9980 c12a7320 c12a7320 00000000 c0d1acd0 c0125b33
Dec 9 08:07:32 alpha kernel: c12a7320 c12a7320 c12a7320 c0124a69 c12a7320 00000001 00000003 c0966920
Dec 9 08:07:32 alpha kernel: Call Trace: [sock_release+31/80] [sock_close+56/60] [__fput+31/72] [fput+23/72] [filp_close+85/96] [do_exit+325/636] [sys_exit+14/16]
Dec 9 08:07:32 alpha kernel: [system_call+52/56]
Dec 9 08:07:32 alpha kernel: Code: <1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
Dec 9 08:07:32 alpha kernel: current->tss.cr3 = 00101000, %cr3 = 00101000
Dec 9 08:07:32 alpha kernel: *pde = 00000000
Dec 9 08:07:32 alpha kernel: Oops: 0000
Dec 9 08:07:32 alpha kernel: CPU: 0
Dec 9 08:07:32 alpha kernel: EIP: 0010:[show_registers+527/576]
Dec 9 08:07:32 alpha kernel: EFLAGS: 00010096
Dec 9 08:07:32 alpha kernel: eax: 00000000 ebx: 00000000 ecx: 00000005 edx: c03ea000
Dec 9 08:07:32 alpha kernel: esi: 0000002b edi: c1376000 ebp: c2800000 esp: c1375e98
Dec 9 08:07:32 alpha kernel: ds: 0018 es: 0018 ss: 0018
Dec 9 08:07:32 alpha kernel: Process ipx_configure (pid: 3613, process nr: 41, stackpage=c1375000)
Dec 9 08:07:32 alpha kernel: Stack: 00000000 c01e7c24 c020bd16 c2800000 c3000000 c0109631 c1375ef8 c01c93fc
7Dec 9 08:07:32 alpha kernel: c01ca434 00000000 00000000 c010e836 c01ca434 c1375ef8 00000000 c1374000
Dec 9 08:07:32 alpha kernel: c1bb9a1c c0d1acd0 00000001 00001000 00000000 c01092b5 c1375ef8 00000000
Dec 9 08:07:32 alpha kernel: Call Trace: [mtok:mtok_add_device+-102480/32] [serial:unregister_serial+8313900/163529804] [die+45/56] [stext_lock+4904/9228] [stext_lock+9056/9228]
[do_page_fault+702/904] [stext_lock+9056/9228]
Dec 9 08:07:32 alpha kernel: [error_code+45/52] [serial:unregister_serial+166888/171676816] [sock_release+31/80] [sock_close+56/60] [__fput+31/72] [fput+23/72] [filp_close+85/96]
[do_exit+325/636]
Dec 9 08:07:32 alpha kernel: [sys_exit+14/16] [system_call+52/56]
Dec 9 08:07:32 alpha kernel: Code: 0f b6 04 03 89 44 24 14 50 68 f4 93 1c c0 e8 72 9f 00 00 83
Dec 9 08:07:39 alpha kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000
Dec 9 08:07:39 alpha kernel: current->tss.cr3 = 01376000, %cr3 = 01376000
Dec 9 08:07:39 alpha kernel: *pde = 00000000
Dec 9 08:07:39 alpha kernel: Oops: 0000
Dec 9 08:07:39 alpha kernel: CPU: 0
Dec 9 08:07:39 alpha kernel: EIP: 0010:[<00000000>]
Dec 9 08:07:39 alpha kernel: EFLAGS: 00010246
Dec 9 08:07:39 alpha kernel: eax: 00000000 ebx: c087a490 ecx: c11a7210 edx: c087a490
Dec 9 08:07:39 alpha kernel: esi: c11a72ac edi: c0d1ae50 ebp: bffff878 esp: c1375f48
Dec 9 08:07:39 alpha kernel: ds: 0018 es: 0018 ss: 0018
Dec 9 08:07:39 alpha kernel: Process ifconfig (pid: 3615, process nr: 41, stackpage=c1375000)
Dec 9 08:07:39 alpha kernel: Stack: c11a72ac c11a7210 c0151fd3 c11a72ac 00000000 c11a7210 c01523c0 c11a72ac
Dec 9 08:07:39 alpha kernel: c0b56960 c01249eb c11a7210 c0b56960 c0b56960 00000000 c0d1ae50 c0125b33
Dec 9 08:07:39 alpha kernel: c0b56960 c0b56960 c0b56960 c0124a69 c0b56960 00000005 c0b56960 fffffff7
Dec 9 08:07:39 alpha kernel: Call Trace: [sock_release+31/80] [sock_close+56/60] [__fput+31/72] [fput+23/72] [filp_close+85/96] [sys_close+91/104] [system_call+52/56]
Dec 9 08:07:39 alpha kernel: Code: <1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
Dec 9 08:07:39 alpha kernel: current->tss.cr3 = 01376000, %cr3 = 01376000
Dec 9 08:07:39 alpha kernel: *pde = 00000000
Dec 9 08:07:39 alpha kernel: Oops: 0000
Dec 9 08:07:39 alpha kernel: CPU: 0
Dec 9 08:07:39 alpha kernel: EIP: 0010:[show_registers+527/576]
Dec 9 08:07:39 alpha kernel: EFLAGS: 00010082
Dec 9 08:07:39 alpha kernel: eax: 00000000 ebx: 00000000 ecx: 00000005 edx: c03ea000
Dec 9 08:07:39 alpha kernel: esi: 0000002b edi: c1376000 ebp: c2800000 esp: c1375eac
Dec 9 08:07:39 alpha kernel: ds: 0018 es: 0018 ss: 0018
Dec 9 08:07:39 alpha kernel: Process ifconfig (pid: 3615, process nr: 41, stackpage=c1375000)
Dec 9 08:07:39 alpha kernel: Stack: 00000000 c001eee0 c020bd16 c2800000 c3000000 c0109631 c1375f0c c01c93fc
Dec 9 08:07:39 alpha kernel: c01ca434 00000000 00000000 c010e836 c01ca434 c1375f0c 00000000 c1374000
Dec 9 08:07:39 alpha kernel: c11a72ac c0d1ae50 bffff878 00000002 00000000 c01092b5 c1375f0c 00000000
Dec 9 08:07:39 alpha kernel: Call Trace: [mtok:mtok_add_device+-102480/32] [serial:unregister_serial+8313900/163529804] [die+45/56] [stext_lock+4904/9228] [stext_lock+9056/9228]
[do_page_fault+702/904] [stext_lock+9056/9228]
Dec 9 08:07:39 alpha kernel: [error_code+45/52] [serial:unregister_serial+166888/171676816] [sock_release+31/80] [sock_close+56/60] [__fput+31/72] [fput+23/72] [filp_close+85/96]
[sys_close+91/104]
Dec 9 08:07:39 alpha kernel: [system_call+52/56]
Dec 9 08:07:39 alpha kernel: Code: 0f b6 04 03 89 44 24 14 50 68 f4 93 1c c0 e8 72 9f 00 00 83
Dec 9 08:08:20 alpha kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000
Dec 9 08:08:20 alpha kernel: current->tss.cr3 = 00101000, %cr3 = 00101000
Dec 9 08:08:20 alpha kernel: *pde = 00000000
Dec 9 08:08:20 alpha kernel: Oops: 0000
Dec 9 08:08:20 alpha kernel: CPU: 0
Dec 9 08:08:20 alpha kernel: EIP: 0010:[<00000000>]
Dec 9 08:08:20 alpha kernel: EFLAGS: 00010246
Dec 9 08:08:20 alpha kernel: eax: 00000000 ebx: c087a740 ecx: c11a7320 edx: c087a740
Dec 9 08:08:20 alpha kernel: esi: c11a73bc edi: c0d1aed0 ebp: 00000001 esp: c1375f34
Dec 9 08:08:20 alpha kernel: ds: 0018 es: 0018 ss: 0018
Dec 9 08:08:20 alpha kernel: Process ipx_configure (pid: 3616, process nr: 41, stackpage=c1375000)
Dec 9 08:08:20 alpha kernel: Stack: c11a73bc c11a7320 c0151fd3 c11a73bc 00000000 c11a7320 c01523c0 c11a73bc
Dec 9 08:08:20 alpha kernel: c12a71a0 c01249eb c11a7320 c12a71a0 c12a71a0 00000000 c0d1aed0 c0125b33
Dec 9 08:08:20 alpha kernel: c12a71a0 c12a71a0 c12a71a0 c0124a69 c12a71a0 00000001 00000003 c0966780
Dec 9 08:08:20 alpha kernel: Call Trace: [sock_release+31/80] [sock_close+56/60] [__fput+31/72] [fput+23/72] [filp_close+85/96] [do_exit+325/636] [sys_exit+14/16]
Dec 9 08:08:20 alpha kernel: [system_call+52/56]
Dec 9 08:08:20 alpha kernel: Code: <1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
Dec 9 08:08:20 alpha kernel: current->tss.cr3 = 00101000, %cr3 = 00101000
Dec 9 08:08:20 alpha kernel: *pde = 00000000
Dec 9 08:08:20 alpha kernel: Oops: 0000
Dec 9 08:08:20 alpha kernel: CPU: 0
Dec 9 08:08:20 alpha kernel: EIP: 0010:[show_registers+527/576]
Dec 9 08:08:20 alpha kernel: EFLAGS: 00010096
Dec 9 08:08:20 alpha kernel: eax: 00000000 ebx: 00000000 ecx: 00000005 edx: c03ea000
Dec 9 08:08:20 alpha kernel: esi: 0000002b edi: c1376000 ebp: c2800000 esp: c1375e98
Dec 9 08:08:20 alpha kernel: ds: 0018 es: 0018 ss: 0018
Dec 9 08:08:20 alpha kernel: Process ipx_configure (pid: 3616, process nr: 41, stackpage=c1375000)
Dec 9 08:08:20 alpha kernel: Stack: 00000000 c01e7c24 c020bd16 c2800000 c3000000 c0109631 c1375ef8 c01c93fc
Dec 9 08:08:20 alpha kernel: c01ca434 00000000 00000000 c010e836 c01ca434 c1375ef8 00000000 c1374000
Dec 9 08:08:20 alpha kernel: c11a73bc c0d1aed0 00000001 00013b4c 00000000 c01092b5 c1375ef8 00000000
Dec 9 08:08:20 alpha kernel: Call Trace: [mtok:mtok_add_device+-102480/32] [serial:unregister_serial+8313900/163529804] [die+45/56] [stext_lock+4904/9228] [stext_lock+9056/9228]
[do_page_fault+702/904] [stext_lock+9056/9228]
Dec 9 08:08:20 alpha kernel: [error_code+45/52] [serial:unregister_serial+166888/171676816] [sock_release+31/80] [sock_close+56/60] [__fput+31/72] [fput+23/72] [filp_close+85/96]
[do_exit+325/636]
Dec 9 08:08:20 alpha kernel: [sys_exit+14/16] [system_call+52/56]
Dec 9 08:08:20 alpha kernel: Code: 0f b6 04 03 89 44 24 14 50 68 f4 93 1c c0 e8 72 9f 00 00 83

I have no clue what went wrong and before I recommend him to upgrade
to 2.2.14-pre12 (or what's latest), I'd like to know whether it will help,
as this does not happen with ethernet drivers...
Thanks,
Petr Vandrovec
vandrove@vc.cvut.cz

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