Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 2004 15:55:37 +0200
From:      Xavier Beaudouin <kiwi@oav.net>
To:        Marius Strobl <marius@alchemy.franken.de>
Cc:        freebsd-sparc64@freebsd.org
Subject:   Re: Netra T1 105 hme0 woes ?
Message-ID:  <8CAB39A1-268D-11D9-B00B-000A958871B8@oav.net>
In-Reply-To: <20041025013138.B20538@newtrinity.zeist.de>
References:  <72BED2C2-2429-11D9-B165-000A958871B8@oav.net> <20041025013138.B20538@newtrinity.zeist.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8CAB39A1-268D-11D9-B00B-000A958871B8>