3c507 ethernet driver crashes

3c507 ethernet driver crashes

Post by Eric Y. Cha » Wed, 07 Jan 1998 04:00:00



Hi.  I am having some trouble with a 3com Etherlink 16 network
card (3c507).  It seems to work fine when connecting to slower
machines (such as a 386/25) but causes crashes when files are
sent from a Pentium class machine.  The host has a 486 DX 4/100.
The crashes take many forms.  Sometimes, the machine locks and
occasionally, the screen also goes blank.  Cntl-alt-del does
not help.  Sometimes, there is an Aieee, killing interrupt
handler message.  At this point, the network is dead until
reboot, but the machine can still be shut down properly.

Because of the messages (Aieee type), it seems that some
memory is being freed incorrectly.  There is a very suspicious
call to dev_kfree_skb().  Is there any straightforward way
to debug this problem?  Does the message actually make sense,
i.e. is there really a problem with non-kmalloced memory being
kfreed?  Or, can this message come from a bogus source?

I tried posting a couple of messages for help in
comp.os.linux.hardware and comp.os.linux.networking, but there
was only one answer, a suggestion to move up to version 2.0.33
of the Linux kernel.  This did not help.  The problem occurs
under 2.0.0, 2.0.30 and 2.0.33.  Also, it occurs with both
samba and ftp.  It occurs when the remote host is running either
Windows 95 or Linux, and I suspect that it will also occur with
any other OS.

At this point, I am afraid that I will need to fix this myself.
In fact, some arrogant Microsoft devotee (who claimed to have
authored a book on Windows device drivers announced to me that
you cannot run Linux without writing drivers -- incorrect).
Does anyone have any hints on how to debug this problem?  I am
a relative newcomer to this field, but it would be nice to have
a working network connection.  If it would help, the error
messages can be posted, but they do not always print out or
show up in the syslog.

Thanks, Eric

 
 
 

1. Crashes with 3c507

Hi.  I am having some crash, Aiee type problems with an Etherlink
16 (3c507) card.  The problems happen with either incoming ftp
or incoming Samba transactions.

Here are the results:

version 2.0.0 kernel   Aiee, no crash
version 2.0.30 kernel  crash with ftp
                       Aiee, no crash with Samba 1.15
                crash and fsck problem with Samba 1.17
I will download and patch to 2.0.33 to see if this helps.  Following
is a transcript of the problem under 2.0.0:

 16:00:31 sunny kernel: Unable to handle kernel NULL pointer dereference at virtual address c000002a
 16:00:31 sunny kernel: current->tss.cr3 = 00101000, |r3 = 00101000
 16:00:31 sunny kernel: *pde = 00102067
 16:00:31 sunny kernel: *pte = 00000027
 16:00:31 sunny kernel: Oops: 0000
 16:00:31 sunny kernel: CPU:    0
 16:00:31 sunny kernel: EIP:    0010:[el16_interrupt+104/560]
 16:00:31 sunny kernel: EFLAGS: 00010206
 16:00:31 sunny kernel: eax: 00000363   ebx: 00011318   ecx: 000d0000   edx: 0000000a
 16:00:31 sunny kernel: esi: 001d001c   edi: 00004240   ebp: 00000000   esp: 001c3408
 16:00:31 sunny kernel: ds: 0018   es: 0018   fs: 002b   gs: 0018   ss: 0018
 16:00:31 sunny kernel: Process swapper (pid: 0, process nr: 0, stackpage=001c1500)
 16:00:31 sunny kernel: Stack: 0023b158 00000000 0000000a 001c3458 0c0aa8c0 00000212 0013742c 000d0000
 16:00:31 sunny kernel:        00000320 0010c789 0000000a 00000000 001c3458 001c3458 001c34e0 00000000
 16:00:31 sunny kernel:        00009000 0010bfdc 0000000a 001c3458 0000265a 0000000d 001c3bc4 001c34e0
 16:00:31 sunny kernel: Call Trace: [net_bh+236/268] [do_IRQ+45/80] [IRQ10_interrupt+92/128] [sys_idle+92/112] [system_call+82/128] [init+0/796] [wake_up_interruptible+60/216]
 16:00:31 sunny kernel:        [start_kernel+399/412] [it_real_fn+0/72] [schedule+560/648]
 16:00:31 sunny kernel: Code: 14 42 20 01 b0 80 ee 66 ff 42 20 01 39 4b 58 0f 84 d9 00 00
 16:00:31 sunny kernel: Aiee, killing interrupt handler
 16:00:31 sunny kernel: kfree of non-kmalloced memory: 001c3548, next= 00000000, order=0
 16:00:31 sunny kernel: kfree of non-kmalloced memory: 001c3538, next= 00000000, order=0
 16:00:31 sunny kernel: kfree of non-kmalloced memory: 001c396c, next= 00000000, order=0
 16:00:31 sunny kernel: idle task may not sleep
 16:00:31 sunny last message repeated 4 times

I am currently downloading patches and will try 2.0.33 soon.  If anyone
has any suggestions, they would be welcome.  Thanks.  Eric

2. question about diamond fire gl 1000

3. Ethernet: 3c507->3c509 and life is wonderful

4. The Adaptec War

5. Intel and 3c507 Ethernet cards - do they work ?

6. cl5440 drivers

7. 3C507 ethernet card

8. Help needed with a smal kornshell script

9. Strange Problem with 3Com 3c507 Ethernet Card

10. NET Driver for 3c507

11. 3c505 or 3c507 drivers?

12. 3c507 driver?

13. 4.4-STABLE crashes - suspects ata-driver over wd-driver