Netra T1 105 hme0 woes ?

Xavier Beaudouin kiwi at oav.net
Mon Oct 25 06:55:51 PDT 2004


Hello Marius,

> Yes, that's ukphy1. The HME chips can handle a maximum of two PHYs,
> an internal and an external one. On machines and cards equipped with
> a single PHY per HME chip this is usually the internal one (with a
> MII interface on some machines and cards to connect an external one.)
> The Netra T1 105 really is a Sun CP1500 CompactPCI board with one
> single PHY for the first HME chip plus an extension card with the two
> external PHYs (ukphy0 and ukphy2) connected to the ethernet ports on
> the rear.

Ok I see that is confirm what I was thinking :) Thanks about this 
details. :)

>> CPU... Maybe this port is the ukphy0 and it is desactivated per 
>> default
>> on Solaris ?
>
> I don't think that Solaris disbales the internal PHY in this case.
> The problem is some strangeness that when the unused PHY of the first
> HME chip (either ukphy0 or ukphy1) is isolated from the MII bus the
> whole bus wedges.
> Could you give the patch at:
> http://alchemy.franken.de/~marius/hme_luphy.diff
> a try? Please start with an empty kernel build directory.

Works like a charm and solved all my problems :)

Here is a snippet of dmesg :

hme0: <Sun HME 10/100 Ethernet> mem 0xe0000000-0xe0007fff at device 1.1 
on pci1
miibus0: <MII bus> on hme0
luphy0: <LU6612 10/100 media interface> on miibus0
luphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
luphy1: <LU6612 10/100 media interface> on miibus0
luphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme0: Ethernet address: 08:00:20:d9:d3:b0
hme0: if_start running deferred for Giant
hme0: [GIANT-LOCKED]
sym0: <875> port 0xc00000-0xc000ff mem 
0xe000a000-0xe000afff,0xe0008000-0xe00080
ff at device 2.0 on pci1
sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
sym0: [GIANT-LOCKED]
hme1: <Sun HME 10/100 Ethernet> mem 0xe0010000-0xe0017fff at device 3.1 
on pci1
miibus1: <MII bus> on hme1
luphy2: <LU6612 10/100 media interface> on miibus1
luphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme1: Ethernet address: 08:00:20:d9:d3:b0
hme1: if_start running deferred for Giant
hme1: [GIANT-LOCKED]


Note I use FreeBSD 5.3-RC1... does this patch will be added to 
5.3-RELEASE ?

Many thanks Marius about that patch :)

/Xavier

--
Xavier Beaudouin - Unix System Administrator & Projects Leader.
President of Kazar Organization : http://www.kazar.net/
Please visit http://caudium.net/, home of Caudium & Camas projects



More information about the freebsd-sparc64 mailing list