Failure to detect second tulip card on Compaq 1850 servers

Nigel Metheringham Nigel.Metheringham@ThePLAnet.net
Wed Jan 27 11:04:14 1999


This is a multipart MIME message.

--==_Exmh_-8463888180
Content-Type: text/plain; charset=us-ascii

I asked about this problem before Christmas, but then thought all my 
problems were solved by version 0.90f - obviously they were not.

We have a load of Compaq servers which we use, all with 2 Kingston 
KNE-100TX cards in (and also the on-board TLAN driver which we tend not to 
use since its unreliable and eats CPU).

On Compaq 1600R & 850R servers all ethernet cards are seen on every boot 
with all the kernel variants we have built (in general we run exactly the 
same kernel on all our servers).

We have one kernel which when booted sees all 3 ethernet cards on an 1850 
server (eth0,1 are KNE-100TXs, eth2 is the TLAN).
Another kernel, built with one slightly different option only sees 2 
ethernet devices (eth0 - KNE-100TX, eth1 is now the TLAN).

In all cases /proc/pci is sensible and shows all the devices (sample at 
end).

The only theory we have been able to come up with is:-
  - The 1850 has a faster PCI bridge than the other systems and
    a generally different PCI bridge arrangement
  - The alignment of the tulip code is different between the working
    and non-working code (both are still paragraph aligned though)
  - maybe just maybe the second probe, which will be running from cache,
    is just that bit too fast for the system sometimes....

An earlier version of the kernel, with a tulip driver earlier than 0.90f 
saw one card sometimes and both cards the other times... mostly 
randomly....

Any clues as to what is happening would be nice....
Any ideas to fix it would be even nicer :-)

	Nigel.

Working kernel has the following tulip symbols:-

0019ed10 T tulip_probe
0019efb8 t tulip_probe1
001a02d4 t tulip_open
001a11f8 t tulip_timer
001a21f4 t tulip_tx_timeout
001a2464 t tulip_init_ring
001a2548 t tulip_start_xmit
001a2650 t tulip_interrupt
001a2ad4 t tulip_rx
001a2e1c t tulip_close
001a2f5c t tulip_get_stats
00209478 d tulip_tbl
0020957c d root_tulip_dev


Broken kernel has these symbols:-

0019ee40 T tulip_probe
0019f0e8 t tulip_probe1
001a0404 t tulip_open
001a1328 t tulip_timer
001a2324 t tulip_tx_timeout
001a2594 t tulip_init_ring
001a2678 t tulip_start_xmit
001a2780 t tulip_interrupt
001a2c04 t tulip_rx
001a2f4c t tulip_close
001a308c t tulip_get_stats
002095ac d tulip_tbl



--==_Exmh_-8463888180
Content-Type: text/plain; name="pci.txt"; charset=us-ascii
Content-Description: pci.txt
Content-Disposition: attachment; filename="pci.txt"

PCI devices found:
  Bus  0, device  16, function  0:
    Ethernet controller: DEC DC21140 (rev 34).
      Medium devsel.  Fast back-to-back capable.  IRQ 10.  Master Capable.  Latency=64.  Min Gnt=20.Max Lat=40.
      I/O at 0x2c80.
      Non-prefetchable 32 bit memory at 0xc6ffcc00.
  Bus  0, device  15, function  0:
    Ethernet controller: DEC DC21140 (rev 34).
      Medium devsel.  Fast back-to-back capable.  IRQ 5.  Master Capable.  Latency=64.  Min Gnt=20.Max Lat=40.
      I/O at 0x2c00.
      Non-prefetchable 32 bit memory at 0xc6ffcc80.
  Bus  0, device   9, function  0:
    System peripheral: Compaq Unknown device (rev 0).
      Vendor id=e11. Device id=a0f0.
      Medium devsel.  IRQ 255.  
      I/O at 0x1800.
      Non-prefetchable 32 bit memory at 0xc6ffcd00.
  Bus  0, device   8, function  0:
    VGA compatible controller: ATI Unknown device (rev 58).
      Vendor id=1002. Device id=4756.
      Medium devsel.  Fast back-to-back capable.  IRQ 255.  Master Capable.  Latency=64.  Min Gnt=8.
      Prefetchable 32 bit memory at 0xc5000000.
      I/O at 0x2800.
      Non-prefetchable 32 bit memory at 0xc6ffd000.
  Bus  0, device   7, function  0:
    Network controller: Compaq Netelligent 10/100 ProLiant (rev 16).
      Medium devsel.  Fast back-to-back capable.  IRQ 12.  Master Capable.  Latency=64.  
      I/O at 0x3000.
      Non-prefetchable 32 bit memory at 0xc6ffcbf0.
  Bus  0, device   6, function  1:
    SCSI storage controller: NCR 53c875 (rev 20).
      Medium devsel.  IRQ 15.  Master Capable.  Latency=255.  Min Gnt=17.Max Lat=64.
      I/O at 0x2400.
      Non-prefetchable 32 bit memory at 0xc6ffce00.
      Non-prefetchable 32 bit memory at 0xc6ffe000.
  Bus  0, device   6, function  0:
    SCSI storage controller: NCR 53c875 (rev 20).
      Medium devsel.  IRQ 11.  Master Capable.  Latency=255.  Min Gnt=17.Max Lat=64.
      I/O at 0x2000.
      Non-prefetchable 32 bit memory at 0xc6ffcf00.
      Non-prefetchable 32 bit memory at 0xc6fff000.

--==_Exmh_-8463888180
Content-Type: text/plain; charset=us-ascii

[ Nigel.Metheringham@theplanet.net   -  Systems Software Engineer ]
[ Tel : +44 113 207 6112                   Fax : +44 113 234 6065 ]
[      Real life is but a pale imitation of a Dilbert strip       ]
[ We're recruiting  http://www.theplanet.net/profile/recruit.htm  ]

--==_Exmh_-8463888180--