[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Tulip driver broken on newer MIATAs



Hi Again,

Has anyone gotten the Tulip driver to work on newer Miatas (aka PWS500a)
yet?

With kernels 2.0.33 (using tulip.c 0.83 and 0.88) and 2.1.103 (using
tulip.c 0.83 and 0.89H) I have the same problem (in both redhat and debian,
as it were): The network interface simply does not work, even though the
right interface is, in fact, selected.

To be precise: on Debian the command

  insmod tulip debug=4 options=12; sleep 1; ifconfig eth0 up; sleep 1;
  /etc/init.d/network; sleep 1; ping 140.77.11.130 ; ifconfig eth0 down;
  rmmod tulip

gives (the ping being interrupted by ^C)

  Found Digital DS21142/3 Tulip at I/O 0x8000.
  tulip.c:v0.89H 5/23/98 becker@cesdis.gsfc.nasa.gov
  eth0: Digital DS21142/3 Tulip at 0x8000, 00 00 f8 75 b5 27, IRQ 24.
  read_eeprom:
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0103 0000 75f8 27b5 1e00 0000 0800
  8605 0002 08ff 00f0 0286 ff04 f008 8600
  0102 08ff 00f0 0286 ff02 f008 9100 0003
  ff02 f008 0000 7800 01e0 5000 1800 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 0000
  0000 0000 0000 0000 0000 0000 0000 c996
  eth0:  EEPROM default media type Autosense.
  eth0:  Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block.
  eth0:  Index #1 - Media 10baseT-FD (#4) described by a 21142 Serial PHY (2) block.
  eth0:  Index #2 - Media 10base2 (#1) described by a 21142 Serial PHY (2) block.
  eth0:  Index #3 - Media AUI (#2) described by a 21142 Serial PHY (2) block.
  eth0:  MII interface PHY 0, setup/reset sequences 2/0 long, capabilities 00 f0.
  eth0:  Index #4 - Media MII (#11) described by a 21142 MII PHY (3) block.
  eth0:  MII transceiver found at MDIO address 5, config 1000 status 782d.
  eth0:  Advertising 01e1 on PHY 5, previously advertising 01e1.
    PCI latency timer (CFLT) is 0x60,  PCI command is 0007.
  eth0: tulip_open() irq 24.
  eth0: Done tulip_open(), CSR0 ffa0e000, CSR5 f0760000 CSR6 b2422202.
  eth0: exiting interrupt, csr5=0xf0660000.
  eth0: exiting interrupt, csr5=0xf0660000.
  eth0: exiting interrupt, csr5=0xf0660000.
  eth0: exiting interrupt, csr5=0xf0660000.
  eth0: exiting interrupt, csr5=0xf0660000.
  eth0: 21142 negotiation status 000020c7, 10baseT.
  eth0: 21142 negotiation failed, status 000020c7.
  eth0: Testing new 21142 media 100baseTx.
  eth0: Transmit error, Tx status 7fffbc85.
  eth0: Transmit error, Tx status 7fffbc84.
  eth0: Transmit error, Tx status 7fffbc84.
  eth0: exiting interrupt, csr5=0xf0660000.
  eth0: Transmit error, Tx status 7fffbc84.
  eth0: exiting interrupt, csr5=0xf0660000.
  eth0: Transmit error, Tx status 7fffbc84.
  eth0: exiting interrupt, csr5=0xf0660000.
  eth0: Transmit error, Tx status 7fffbc84.
  eth0: exiting interrupt, csr5=0xf0660000.
  eth0: Transmit error, Tx status 7fffbc84.
  eth0: exiting interrupt, csr5=0xf0660000.
  Socket destroy delayed (r=0 w=384)
  eth0: Shutting down ethercard, status was f0670004.
  eth0: exiting interrupt, csr5=0xf0660000.

My /proc/pci devices are:

  PCI devices found:
    Bus  0, device   3, function  0:
      Ethernet controller: DEC DC21142 (rev 48).
	Medium devsel.  Fast back-to-back capable.  IRQ 18.  Master Capable.  Latency=96.  Min Gnt=20.Max Lat=40.
	I/O at 0x8000 [0x8001].
	Non-prefetchable 32 bit memory at 0x9000000 [0x9000000].
    Bus  0, device   4, function  0:
      IDE interface: CMD 646 (rev 1).
	Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=32.  Min Gnt=2.Max Lat=4.
	I/O at 0x8800 [0x8801].
    Bus  0, device   7, function  0:
      Non-VGA device: Intel 82378IB (rev 67).
	Medium devsel.  Master Capable.  No bursts.  
    Bus  0, device  12, function  0:
      VGA compatible controller: Matrox Millennium II (rev 0).
	Medium devsel.  Fast back-to-back capable.  IRQ 20.  Master Capable.  Latency=32.  
	Non-prefetchable 32 bit memory at 0xa000000 [0xa000000].
	Non-prefetchable 32 bit memory at 0xb000000 [0xb000000].
	Non-prefetchable 32 bit memory at 0xb800000 [0xb800000].
    Bus  0, device  20, function  0:
      PCI bridge: DEC DC21152 (rev 2).
	Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=32.  Min Gnt=4.Max Lat=4.
    Bus  1, device   8, function  0:
      SCSI storage controller: Q Logic ISP1020 (rev 5).
	Medium devsel.  IRQ 24.  Master Capable.  Latency=32.  
	I/O at 0x9000 [0x9001].
	Non-prefetchable 32 bit memory at 0xc000000 [0xc000000].

It seems /proc/pci reports interrupts in hex (since it reports the tulip
irq as [0x]18=24 and the scsi irq as [0x]24=36).

I tried cold-booting with the network in and all the other things I could
think of ... the PWS500a is a pure digital box sold *with* redhat 5.0 so it
ought to work!

Any further help on this will be greatly appreciated,
							Kristoffer

PS. On the positive side: I have managed to make a boot CD-ROM for Debian
2.0 requiring no diskettes at all on the Miata.  It is based on Loic's
root+base disk set, and I installed Debian completely using it :)

--
Kristoffer Høgsbro Rose, Ph.D., prof.associé  <Kristoffer.Rose@ENS-Lyon.FR>
Laboratoire de l'Informatique du Parallélisme  équipe PLUME, bureau LR5-026
Ecole Normale Supérieure de Lyon; 46, Allée d'Italie; F-69364 Lyon 07 cedex
phone: +33(0)4 7272 8642; fax:...8080    <http://www.ens-lyon.fr/~krisrose>


--
To UNSUBSCRIBE, email to debian-alpha-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: