From owner-freebsd-sparc64@FreeBSD.ORG Fri Aug 29 17:30:54 2003 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 9341B16A4BF for ; Fri, 29 Aug 2003 17:30:54 -0700 (PDT) Received: from radix.sorted.org (radix.sorted.org [194.70.217.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FA3F43FF7 for ; Fri, 29 Aug 2003 17:30:53 -0700 (PDT) (envelope-from pete@sorted.org) Received: from sorted.org (bubble.sorted.org [194.70.217.145]) by radix.sorted.org (Postfix) with ESMTP id 7F4B02E364 for ; Sat, 30 Aug 2003 01:30:48 +0100 (BST) Date: Sat, 30 Aug 2003 01:30:50 +0100 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Pete Bentley To: freebsd-sparc64@freebsd.org Content-Transfer-Encoding: 7bit In-Reply-To: <20030822013101.A24406@newtrinity.zeist.de> Message-Id: <352D3384-DA81-11D7-8C90-000A959F6E56@sorted.org> X-Mailer: Apple Mail (2.552) Subject: Re: Netra X1 - Status query and stupid question 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: Sat, 30 Aug 2003 00:30:54 -0000 On Friday, August 22, 2003, at 12:31 AM, Marius Strobl wrote: > Just curious, could you please try the attached patch and check if the > MAC addresses get set and then set local-mac-address in the > OpenFirmware > and check again if the dc interfaces get different MAC addresses? Sorry for being a bit slow here, had other issues to deal with. I've just tried this patch - applies fine, builds fine (prevents the dc module from building, but I simply disabled that as a workaround). Tried it with and without local-mac-address set and with versions 1.0.1 and 1.0.18 of the Netra boot PROM and it works the same in all 4 instances... Works the same as Solaris 9, that is dc0 gets the hosts's MAC address and dc1 gets that address 'plus 1' (see output below). So in effect, local-mac-address is ignored but in a way that isn't likely to matter. Oh, and I guess my earlier reading of the patch was wrong too, sorry. Thanks for the patch - definitely better than hacking via an rc.d script. Pete. ------------------------------------------------- Sun Netra X1 (UltraSPARC-IIe 400MHz), No Keyboard OpenBoot 4.0, 640 MB memory installed, Serial #50735782. Ethernet address 0:3:ba:6:2a:a6, Host ID: 83062aa6. [...] dc0: port 0x10000-0x100ff at device 12.0 on pci0 dc0: Ethernet address: 00:03:ba:06:2a:a6 miibus0: on dc0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc1: port 0x10100-0x101ff mem 0x2000-0x20ff at device 5.0 on pci0 dc1: Ethernet address: 00:03:ba:06:2a:a7 miibus1: on dc1 ukphy1: on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto