From owner-freebsd-sparc64@FreeBSD.ORG Mon Oct 25 13:55:51 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E53916A4CE for ; Mon, 25 Oct 2004 13:55:51 +0000 (GMT) Received: from mail.oav.net (mail01.oav.net [193.218.105.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5EBF43D46 for ; Mon, 25 Oct 2004 13:55:50 +0000 (GMT) (envelope-from kiwi@oav.net) Received: from localhost (unknown [193.218.105.18]) by mail01.oav.net (Postfix) with ESMTP id 770C945074; Mon, 25 Oct 2004 15:54:25 +0200 (CEST) (envelope-from kiwi@oav.net) Received: from mail02.oav.net ([193.218.105.18]) by localhost (mail01.oav.net [172.31.1.1]) (amavisd-new, port 10024) with LMTP id 79437-07-6; Mon, 25 Oct 2004 15:54:21 +0200 (CEST) Received: from [192.168.0.7] (kiwi.oav.net [82.225.248.92]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail02.oav.net (Postfix) with ESMTP id 224E622820; Mon, 25 Oct 2004 15:55:52 +0200 (CEST) (envelope-from kiwi@oav.net) In-Reply-To: <20041025013138.B20538@newtrinity.zeist.de> References: <72BED2C2-2429-11D9-B165-000A958871B8@oav.net> <20041025013138.B20538@newtrinity.zeist.de> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <8CAB39A1-268D-11D9-B00B-000A958871B8@oav.net> Content-Transfer-Encoding: 7bit From: Xavier Beaudouin Date: Mon, 25 Oct 2004 15:55:37 +0200 To: Marius Strobl X-Mailer: Apple Mail (2.619) X-Virus-Scanned: by amavisd-new at mail01.oav.net X-Spam-Status: No, hits=0.261 tagged_above=-999 required=6.3 tests=AWL, SMILEY, TW_II X-Spam-Level: cc: freebsd-sparc64@freebsd.org Subject: Re: Netra T1 105 hme0 woes ? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Oct 2004 13:55:51 -0000 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: mem 0xe0000000-0xe0007fff at device 1.1 on pci1 miibus0: on hme0 luphy0: on miibus0 luphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto luphy1: 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: mem 0xe0010000-0xe0017fff at device 3.1 on pci1 miibus1: on hme1 luphy2: 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