[3c509] 3c509b segmentation fault

Trico telectr5@tampabay.rr.com
Mon Apr 1 14:49:00 2002


Got a wierd one. Having read everything on the net and in this group
could not find anything that fits.
If I boot from a Floppy with network support ( image off of CD, Wish I
could get the module off it)
The card works perfect ! ( just to make things worse ! )

Downloaded and compiled the updated (
ftp://ftp.scyld.com/pub/network/3c509.c ) with the compile command at
the end of the file.  Have tried it with and without -Wall and
-Strict-Prototypes )

Using insmod 3c509  or using alias in the conf.modules file I receive
this

************************************************************
Unable to handle kernel NULL pointer difference at virtual address
0000003c
current->tss.cr3 = 00899000, %cr3 = 00899000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<c10122c7>]
EFLAGS: 00010246
eax: 00000000 ebx: 0000000b ecx: 00006d50 edx: 000003b0
esi:  00000000 edi:  000003b0 ebp: c09b7f2c  esp: c09b7f08
ds: 0018 ex: 0018 ss: 0018
Process insmod (pid: 328 Process nr:23 Stackpage c09b7000)
(Stack: info and Call Trace )
Code: 0f b6 40 3c ff 74 85 e8 ff 35 48 36 01 c1 86 55 08 ff 72 14
Segmentation Fault.

***************************************************************

( this does not happen on the ne driver it insmod just fine ! )
Any suggestions ( this is driving me crazy ! )


Copy of parts of /var/log/messages ***********************************

Mar 25 15:59:14 trico-lgo-gw kernel: 3c509.c:1.18 6/29/2000
becker@scyld.com
Mar 25 15:59:14 trico-lgo-gw kernel:
http://www.scyld.com/network/3c509.html<1>Unable to handle kernel NULL
pointer dereference at virtual address 0000003c
Mar 25 15:59:14 trico-lgo-gw kernel: current->tss.cr3 = 00921000, %cr3 =
00921000
Mar 25 15:59:14 trico-lgo-gw kernel: *pde = 00000000
Mar 25 15:59:14 trico-lgo-gw kernel: Oops: 0000
Mar 25 15:59:14 trico-lgo-gw kernel: CPU:    0
Mar 25 15:59:14 trico-lgo-gw kernel: EIP:
0010:[8390:NS8390_module+44071/8829893]
Mar 25 15:59:14 trico-lgo-gw kernel: EFLAGS: 00010246
Mar 25 15:59:14 trico-lgo-gw kernel: eax: 00000000   ebx: 0000000a
ecx: 00006d50   edx: 00000300
Mar 25 15:59:14 trico-lgo-gw kernel: esi: 00000000   edi: 00000300
ebp: c0a49f2c   esp: c0a49f08
Mar 25 15:59:14 trico-lgo-gw kernel: ds: 0018   es: 0018   ss: 0018
Mar 25 15:59:14 trico-lgo-gw kernel: Process insmod (pid: 518, process
nr: 26, stackpage=c0a49000)
Mar 25 15:59:14 trico-lgo-gw kernel: Stack: c101804e 00000030 c10151ff
c10191ad c10191b5 c10191b9 c10191c3 52976000
Mar 25 15:59:14 trico-lgo-gw kernel:        000004c2 c0a49f3c c1019093
00000000 c1018000 00000000 c0115cc6 c0a48000
Mar 25 15:59:14 trico-lgo-gw kernel:        0804fca0 c1018000 bffffcc0
00000000 c1019664 c0a49f78 c0a49f70 00000005
Mar 25 15:59:14 trico-lgo-gw kernel: Call Trace:
[8390:NS8390_module+43438/8830526] [8390:NS8390_module+31583/8842381]
[8390:NS8390_module+47885/8826079] [8390:NS8390_module+47893/8826071]
[8390:NS8390_module+47897/8826067] [8390:NS8390_module+47907/8826057]
[8390:NS8390_module+47603/8826361]
Mar 25 15:59:14 trico-lgo-gw kernel:
[8390:NS8390_module+43360/8830604] [sys_init_module+1114/1220]
[8390:NS8390_module+43360/8830604] [8390:NS8390_module+49092/8824872]
[8390:NS8390_module+35168/8838796] [8390:NS8390_module+43432/8830532]
[system_call+52/56] [8390:NS8390_module+43360/8830604]
Mar 25 15:59:14 trico-lgo-gw kernel: Code: 0f b6 40 3c ff 74 85 e8 ff 35
48 96 01 c1 8b 55 08 ff 72 14

***************************************************************
this is where I reset the card to defaults just to see if it worked !

Mar 26 09:03:22 trico-lgo-gw kernel: Freeing unused kernel memory: 60k
freed
Mar 26 09:03:22 trico-lgo-gw kernel: Adding Swap: 68540k swap-space
(priority -1)
Mar 26 09:03:22 trico-lgo-gw kernel: eth0: 3c509 at 0x300, 10baseT port,
address  00 60 97 52 c2 04, IRQ 11.
Mar 26 09:03:22 trico-lgo-gw kernel: 3c509.c:1.18 6/29/2000
becker@scyld.com
Mar 26 09:03:22 trico-lgo-gw kernel:
http://www.scyld.com/network/3c509.html<1>Unable to handle kernel NULL
pointer dereference at virtual address 0000003c
Mar 26 09:03:22 trico-lgo-gw kernel: current->tss.cr3 = 0098a000, %cr3 =
0098a000
Mar 26 09:03:22 trico-lgo-gw kernel: *pde = 00000000
Mar 26 09:03:22 trico-lgo-gw kernel: Oops: 0000
Mar 26 09:03:22 trico-lgo-gw kernel: CPU:    0
Mar 26 09:03:22 trico-lgo-gw kernel: EIP:    0010:[<c100c2c7>]
Mar 26 09:03:22 trico-lgo-gw kernel: EFLAGS: 00010246
Mar 26 09:03:22 trico-lgo-gw kernel: eax: 00000000   ebx: 0000000a
ecx: 00006d50   edx: 00000300
Mar 26 09:03:22 trico-lgo-gw kernel: esi: 00000000   edi: 00000300
ebp: c0989f2c   esp: c0989f08
Mar 26 09:03:22 trico-lgo-gw kernel: ds: 0018   es: 0018   ss: 0018
Mar 26 09:03:22 trico-lgo-gw kernel: Process insmod (pid: 194, process
nr: 12, stackpage=c0989000)
Mar 26 09:03:22 trico-lgo-gw kernel: Stack: c100c04e 00000030 c10051ff
c100d1ad c100d1b5 c100d1b9 c100d1c3 52976000
Mar 26 09:03:22 trico-lgo-gw kernel:        000004c2 c0989f3c c100d093
00000000 c100c000 00000000 c0115cc6 c0988000
Mar 26 09:03:22 trico-lgo-gw kernel:        0804ec98 c100c000 bffffd50
00000000 c100d664 c0989f78 c0989f70 00000005
Mar 26 09:03:23 trico-lgo-gw kernel: Call Trace: [<c100c04e>]
[<c10051ff>] [<c100d1ad>] [<c100d1b5>] [<c100d1b9>] [<c100d1c3>]
[<c100d093>]
Mar 26 09:03:23 trico-lgo-gw kernel:        [<c100c000>]
[sys_init_module+1114/1220] [<c100c000>] [<c100d664>] [<c100c048>]
[system_call+52/56] [<c100c000>]
Mar 26 09:03:23 trico-lgo-gw kernel: Code: 0f b6 40 3c ff 74 85 e8 ff 35
48 d6 00 c1 8b 55 08 ff 72 14

********************************************************************

Mar 26 13:32:42 trico-lgo-gw kernel:
http://www.scyld.com/network/3c509.html<1>Unable to handle kernel NULL
pointer dereference at virtual address 0000003c
Mar 26 13:32:42 trico-lgo-gw kernel: current->tss.cr3 = 00ad6000, %cr3 =
00ad6000
Mar 26 13:32:42 trico-lgo-gw kernel: *pde = 00000000
Mar 26 13:32:42 trico-lgo-gw kernel: Oops: 0000
Mar 26 13:32:42 trico-lgo-gw kernel: CPU:    0
Mar 26 13:32:42 trico-lgo-gw kernel: EIP:
0010:[8390:NS8390_module+44071/8829893]
Mar 26 13:32:42 trico-lgo-gw kernel: EFLAGS: 00010246
Mar 26 13:32:42 trico-lgo-gw kernel: eax: 00000000   ebx: 0000000a
ecx: 00006d50   edx: 00000300
Mar 26 13:32:42 trico-lgo-gw kernel: esi: 00000000   edi: 00000300
ebp: c0065f2c   esp: c0065f08
Mar 26 13:32:42 trico-lgo-gw kernel: ds: 0018   es: 0018   ss: 0018
Mar 26 13:32:42 trico-lgo-gw kernel: Process insmod (pid: 694, process
nr: 33, stackpage=c0065000)
Mar 26 13:32:42 trico-lgo-gw kernel: Stack: c101804e 00000030 c10151ff
c10191ad c10191b5 c10191b9 c10191c3 52976000
Mar 26 13:32:42 trico-lgo-gw kernel:        000004c2 c0065f3c c1019093
00000000 c1018000 00000000 c0115cc6 c0064000
Mar 26 13:32:42 trico-lgo-gw kernel:        0804ec98 c1018000 bffffd50
00000000 c1019664 c0065f78 c0065f70 00000005
Mar 26 13:32:42 trico-lgo-gw kernel: Call Trace:
[8390:NS8390_module+43438/8830526] [8390:NS8390_module+31583/8842381]
[8390:NS8390_module+47885/8826079] [8390:NS8390_module+47893/8826071]
[8390:NS8390_module+47897/8826067] [8390:NS8390_module+47907/8826057]
[8390:NS8390_module+47603/8826361]
Mar 26 13:32:42 trico-lgo-gw kernel:
[8390:NS8390_module+43360/8830604] [sys_init_module+1114/1220]
[8390:NS8390_module+43360/8830604] [8390:NS8390_module+49092/8824872]
[8390:NS8390_module+35168/8838796] [8390:NS8390_module+43432/8830532]
[system_call+52/56] [8390:NS8390_module+43360/8830604]
Mar 26 13:32:42 trico-lgo-gw kernel: Code: 0f b6 40 3c ff 74 85 e8 ff 35
48 96 01 c1 8b 55 08 ff 72 14

**********************************************************************
Mar 27 05:18:01 trico-lgo-gw rc.sysinit: Checking root filesystem
succeeded
Mar 27 05:18:01 trico-lgo-gw isapnp: /proc/bus/pci/devices not found, so
PCI resource conflict not checked
Mar 27 05:18:01 trico-lgo-gw isapnp: Board 1 has Identity b9 00 76 02 62
00 90 25 2a:  JQE9000 Serial No 7733858 [checksum b9]
Mar 27 05:18:01 trico-lgo-gw isapnp: Board 2 has Identity fd 97 52 c2 04
90 50 6d 50:  TCM5090 Serial No 2538783236 [checksum fd]
Mar 27 05:18:01 trico-lgo-gw isapnp: JQE9000/7733858[0]{PnP ISA Ethernet
Adapter}: Port 0x280; IRQ10 --- Enabled OK
Mar 27 05:18:01 trico-lgo-gw isapnp: TCM5090/2538783236[0]{3Com 3C509B
EtherLink III}: Port 0x3A0; IRQ11 --- Enabled OK
Mar 27 05:18:01 trico-lgo-gw rc.sysinit: Setting up ISA PNP devices
succeeded
Mar 27 05:18:01 trico-lgo-gw rc.sysinit: Remounting root filesystem in
read-write mode succeeded
Mar 27 05:18:56 trico-lgo-gw rc.sysinit: Finding module dependencies
succeeded
*****************************************************************************



Mar 27 10:19:51 trico-lgo-gw kernel: eth0: 3c509 at 0x3a0, 10baseT port,
address  00 60 97 52 c2 04, IRQ 11.
Mar 27 10:19:51 trico-lgo-gw kernel: 3c509.c:1.18 6/29/2000
becker@scyld.com
Mar 27 10:19:51 trico-lgo-gw kernel:
http://www.scyld.com/network/3c509.html<1>Unable to handle kernel NULL
pointer dereference at virtual address 0000003c
Mar 27 10:19:51 trico-lgo-gw kernel: current->tss.cr3 = 009fe000, %cr3 =
009fe000
Mar 27 10:19:51 trico-lgo-gw kernel: *pde = 00000000
Mar 27 10:19:51 trico-lgo-gw kernel: Oops: 0000
Mar 27 10:19:51 trico-lgo-gw kernel: CPU:    0
Mar 27 10:19:51 trico-lgo-gw kernel: EIP:    0010:[<c100c2c7>]
Mar 27 10:19:51 trico-lgo-gw kernel: EFLAGS: 00010246
Mar 27 10:19:51 trico-lgo-gw kernel: eax: 00000000   ebx: 0000000a
ecx: 00006d50   edx: 00000300
Mar 27 10:19:51 trico-lgo-gw kernel: esi: 00000000   edi: 00000300
ebp: c09fdf2c   esp: c09fdf08
Mar 27 10:19:51 trico-lgo-gw kernel: ds: 0018   es: 0018   ss: 0018
Mar 27 10:19:51 trico-lgo-gw kernel: Process insmod (pid: 226, process
nr: 11, stackpage=c09fd000)
Mar 27 10:19:51 trico-lgo-gw kernel: Stack: c100c04e 00000030 c10051ff
c100d1ad c100d1b5 c100d1b9 c100d1c3 52976000
Mar 27 10:19:51 trico-lgo-gw kernel:        000004c2 c09fdf3c c100d093
00000000 c100c000 00000000 c0115cc6 c09fc000
Mar 27 10:19:51 trico-lgo-gw kernel:        0804ec98 c100c000 bffffd50
00000000 c100d664 c09fdf78 c09fdf70 00000005
Mar 27 10:19:51 trico-lgo-gw kernel: Call Trace: [<c100c04e>]
[<c10051ff>] [<c100d1ad>] [<c100d1b5>] [<c100d1b9>] [<c100d1c3>]
[<c100d093>]
Mar 27 10:19:51 trico-lgo-gw kernel:        [<c100c000>]
[sys_init_module+1114/1220] [<c100c000>] [<c100d664>] [<c100c048>]
[system_call+52/56] [<c100c000>]
Mar 27 10:19:51 trico-lgo-gw kernel: Code: 0f b6 40 3c ff 74 85 e8 ff 35
48 d6 00 c1 8b 55 08 ff 72 14

******************************************************************************

the Segmentation Fault does not print in the log at all !!!

******************************************************************









Thanks
Don Wilson