[3c509-bug] 3c509 media selection problem with Linux kernel 2.4.1

Manfred Bartz mbartz@xix.com
11 Feb 2001 02:13:14 +1100


I have successfully used 3c509 NICs before with the 2.0 and 2.2
kernels.  However, with kernel 2.4.1 the media is AUI and manual
selection does not work.  I have also tried to set the default
to BNC by running the setup program -- no change.
Manually inserting the 3c509 module and specifying the ``xcvr''.
I tried xcvr=0 to xcvr=4, made no difference.  

Below is most of what I did in detail.

Any advice?

Thanks
-- 
Manfred


#
# 3c5x9 -afvw -F 10base2
3c5x9setup.c:v0.05b 10/6/99 Donald Becker (becker@cesdis.gsfc.nasa.gov)
 Interrupt sources are pending.
   Adapter Failure indication.
3c5x9 found at 0x300.
 Indication enable is 00fe, interrupt enable is 009c.
  Window 0: 6d50 9450 ff01 c010 0000 018f ffff 0002.
  Window 1: 5fff 5fff 00fe 2002 8000 00ff 0ffc 2002.
  Window 2: 2000 bfaf fa6d 4002 009c 009c 00fe 4002.
  Window 3: 0000 0006 0000 6002 ff80 0fff 0fff 6002.
  Window 4: 1300 00d4 2011 0084 0002 2800 00fe 8002.
  Window 5: 07fc 07fc 00fe 07fc 0007 009c 00fe a002.
  Window 6: 0000 0000 0000 0000 0000 0000 0000 c002.
  Window 7: 009c 009c 00fe e002 009c 009c 00fe e002.
 EEPROM contents:
  Model number 3c509 version 4, base I/O 0x300, IRQ 12, BNC port.
  3Com Node Address 00:20:AF:BF:6D:FA (used as a unique ID only).
  OEM Station address 00:20:AF:BF:6D:FA (used as the ethernet address).
  Manufacture date (MM/DD/YY) 3/20/95, division A, product AH.
  Options: half duplex, enable linkbeat.
  The computed checksum matches the stored checksum of 7b3c.
# 
# 3c509diag 
el3diag.c:v1.01 6/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Looking for card 1.
Generating the activation sequence on port 0x100 for card 1.
Activating the card at I/O address 300.
EEPROM contents:
 0020 afbf 6dfa 9450 be74 0041 4841 6d50 c010 cf00 0020 afbf 6dfa 1330 0000 7b3c
An ISA EtherLink III board was activated at I/O 0x300, IRQ 12.
eth0: 3c509 found at 0x300.
Window 0: 6d50 9450 ff01 c010 0000 018f ffff 0002.
Window 1: 5fff 5fff 00fe 2002 8000 00ff 0ffc 2002.
Window 2: 2000 bfaf fa6d 4002 009c 009c 00fe 4002.
Window 3: 0000 0006 0000 6002 ff80 0fff 0fff 6002.
Window 4: 1300 00d4 2011 0084 0002 2800 00fe 8002.
Window 5: 07fc 07fc 00fe 07fc 0007 009c 00fe a002.
Window 6: 0000 0000 0000 0000 0000 0000 0000 c002.
Window 7: 009c 009c 00fe e002 009c 009c 00fe e002.
   Done card 1.
Looking for card 2.
Generating the activation sequence on port 0x100 for card 2.
Activating the card at I/O address 3f0.
No ISA EtherLink III boards appear to be at index 2.
# 
# insmod 3c509 debug=9 xcvr=1
Using /lib/modules/2.4.1mh/kernel/drivers/net/3c509.o
#
# dmesg|tail
3c509.c:1.16 (2.2) 2/3/98 becker@cesdis.gsfc.nasa.gov.
  3c509 EEPROM word 7 0x6d50.
  3c509 EEPROM word 0 0x0020.
  3c509 EEPROM word 1 0xafbf.
  3c509 EEPROM word 2 0x6dfa.
  3c509 EEPROM word 8 0xc010.
  3c509 EEPROM word 9 0xcf00.
eth2: 3c509 at 0x300, AUI port, address  00 20 af bf 6d fa, IRQ 12.
3c509.c:1.16 (2.2) 2/3/98 becker@cesdis.gsfc.nasa.gov.
  3c509 EEPROM word 7 0xffff.
#
# ifconfig eth2 192.168.2.1
#
# ifconfig eth2 
eth2      Link encap:Ethernet  HWaddr 00:20:AF:BF:6D:FA  
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:12 Base address:0x300 Memory:1-3c509 

#
# grep eth2 /proc/interrupts 
 12:          0          XT-PIC  eth2
#