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

Re: Multiple NICs on Umax S900



On Wed, Sep 15, 2004 at 01:18:56AM -0300, Rog?rio Brito wrote:

> It seems that the order of the PCI cards also matter for an old PMac
> 9500/180MP that I have here: I remember that I had some problems some
> time ago, when I tried to install a Realtek 8139 card on that PMac.
> Changing the slots helped.

The plot sickens. I removed both the ATA and video cards, leaving only
the gigabit NIC in PCI slot #1. With this arrangement, I was able to
probe in the appropriate modules for both the built-in NIC and the PCI
NIC ('mace' and 'r8169', respectively), and was also able to
successfully configure both.

Then things got weird. I only had one Ethernet cable to play with, so I
would alternate back and forth trying to get one or the other to talk to
my PC. The built-in NIC worked fine. It would respond to pings and I
could SSH in. The PCI (gigabit) NIC would not work at all. However, if I
pinged the IP address assigned to the PCI NIC while the cable was still
plugged into the built-in NIC, it would happily pong back. Very odd. It
seems as if somehow both eth0 and eth1 are being assigned to the
built-in NIC, even though by most signs this is clearly not the case.

Just for grins, I've attached the output of `lspci -vv` and a few /proc
nodes ('interrupts', 'iomem', and 'ioports') on the off-chance it's
meaningful to someone.


Thanks,

Paul

0000:00:0b.0 Host bridge: Apple Computer Inc. Bandit PowerPC host bridge (rev 03)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
	Latency: 32, Cache Line Size: 0x08 (32 bytes)
	Interrupt: pin ? routed to IRQ 22

0000:00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
	Subsystem: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet
	Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 32 (8000ns min, 16000ns max), Cache Line Size: 0x08 (32 bytes)
	Interrupt: pin A routed to IRQ 23
	Region 0: I/O ports at 2000 [disabled] [size=256]
	Region 1: Memory at 80900000 (32-bit, non-prefetchable) [disabled] [size=256]
	Expansion ROM at 80920000 [disabled] [size=64K]
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:0e.0 Display controller: Integrated Micro Solutions Inc. IMS9128 [Twin turbo 128] (rev 01)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 32 (2000ns min, 2000ns max)
	Interrupt: pin A routed to IRQ 24
	Region 0: Memory at 82000000 (32-bit, prefetchable) [size=16M]
	Expansion ROM at 80910000 [disabled] [size=64K]

0000:00:0f.0 PCI bridge: Digital Equipment Corporation DECchip 21052 (rev 01) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 32, Cache Line Size: 0x08 (32 bytes)
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 00001000-00001fff
	Memory behind bridge: 80800000-808fffff
	BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-

0000:00:10.0 ff00: Apple Computer Inc. Grand Central I/O (rev 02)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR+
	Latency: 32, Cache Line Size: 0x08 (32 bytes)
	Interrupt: pin ? routed to IRQ 22
	Region 0: Memory at f3000000 (32-bit, non-prefetchable) [size=128K]

0000:01:01.0 Unknown mass storage controller: Promise Technology, Inc. PDC20262 (FastTrak66/Ultra66) (rev 01)
	Subsystem: Promise Technology, Inc. Ultra66
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 32
	Interrupt: pin A routed to IRQ 25
	Region 0: I/O ports at 1070 [size=8]
	Region 1: I/O ports at 1060 [size=4]
	Region 2: I/O ports at 1050 [size=8]
	Region 3: I/O ports at 1040 [size=4]
	Region 4: I/O ports at 1000 [size=64]
	Region 5: Memory at 80820000 (32-bit, non-prefetchable) [size=128K]
	Expansion ROM at 80800000 [disabled] [size=64K]
	Capabilities: [58] Power Management version 1
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

           CPU0       CPU1       
  2:          0          0   PMAC-PIC  Edge      MACE-txdma
  3:        275          0   PMAC-PIC  Edge      MACE-rxdma
  8:          0          0   PMAC-PIC  Edge      Built-in Sound out
  9:          0          0   PMAC-PIC  Edge      Built-in Sound in
 12:          7          0   PMAC-PIC  Edge      53C94
 13:      18873          0   PMAC-PIC  Edge      MESH
 14:        183          0   PMAC-PIC  Edge      MACE
 15:         53          0   PMAC-PIC  Edge      PowerMac Zilog
 17:          0          0   PMAC-PIC  Edge      Built-in Sound misc
 18:      12924          0   PMAC-PIC  Edge      ADB
 30:        565          0   PMAC-PIC  Edge      primary IPI
IPI (recv/sent):       2139/2140
BAD:          0
80000000-8fffffff : /bandit
  80800000-808fffff : PCI Bus #01
    80820000-8083ffff : 0000:01:01.0
  80900000-809000ff : 0000:00:0d.0
  82000000-82ffffff : 0000:00:0e.0
    82000000-82ffffff : imsttfb
f3000000-f3ffffff : /bandit
  f3000000-f301ffff : 0000:00:10.0
    f3000000-f301ffff : 0.f3000000:gc
      f3008000-f30080ff : 0.00010000:53c94
        f3008000-f30080ff : mac53c94
      f3008100-f30081ff : 0.00015000:swim3
      f3008200-f30082ff : 0.00011000:mace
        f3008200-f30082ff : mace
      f3008300-f30083ff : 0.00011000:mace
        f3008300-f30083ff : mace
      f3008400-f30084ff : 0.00013020:ch-a
        f3008400-f30084ff : pmac_zilog
      f3008500-f30085ff : 0.00013020:ch-a
        f3008500-f30085ff : pmac_zilog
      f3008600-f30086ff : 0.00013000:ch-b
        f3008600-f30086ff : pmac_zilog
      f3008700-f30087ff : 0.00013000:ch-b
        f3008700-f30087ff : pmac_zilog
      f3008800-f30088ff : 0.00014000:awacs
        f3008800-f30088ff : awacs (tx dma)
      f3008900-f30089ff : 0.00014000:awacs
        f3008900-f30089ff : awacs (rx dma)
      f3008a00-f3008aff : 0.00018000:mesh
        f3008a00-f3008aff : mesh
      f3010000-f30100ff : 0.00010000:53c94
        f3010000-f30100ff : mac53c94
      f3011000-f3011fff : 0.00011000:mace
        f3011000-f3011fff : mace
      f3013000-f301301f : 0.00013000:ch-b
        f3013000-f301301f : pmac_zilog
      f3013020-f301303f : 0.00013020:ch-a
        f3013020-f301303f : pmac_zilog
      f3014000-f3014fff : 0.00014000:awacs
        f3014000-f3014fff : awacs
      f3015000-f3015fff : 0.00015000:swim3
      f3016000-f3017fff : 0.00016000:via-cuda
        f3016000-f3017fff : via-cuda
      f3018000-f30180ff : 0.00018000:mesh
        f3018000-f30180ff : mesh
      f301d000-f301d00f : 0.0001d000:nvram
      f301f000-f301f1ff : 0.0001d000:nvram
f8000000-f80007ff : hammerhead
00000000-007fffff : /bandit
  00001000-00001fff : PCI Bus #01
    00001000-0000103f : 0000:01:01.0
      00001000-00001007 : ide2
      00001008-0000100f : ide3
      00001010-0000103f : PDC20262
    00001040-00001043 : 0000:01:01.0
    00001050-00001057 : 0000:01:01.0
    00001060-00001063 : 0000:01:01.0
    00001070-00001077 : 0000:01:01.0
  00002000-000020ff : 0000:00:0d.0

Reply to: