Subject: Re: network on Netra does not work
To: David Wetzel <dave@turbocat.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-sparc64
Date: 10/12/2002 17:18:47
On Sat, Oct 12, 2002 at 02:03:50AM +0200, David Wetzel wrote:
> Hi Folks,
> 
> I managed to install sparc64 by formating the disk on my sparc5.
> After some disk-changes, I can boot NetBSD on the Netra:-)
> 
> But a server is a bit senseless without working network.
>  From the messages all looks ok for me. But I can not ping other hosts.
> 
> lom>poweron                             
> lom>                                    
> LOM event: power on                     
> .                                       
> Netra t1 (UltraSPARC-IIi 360MHz), No Keyboard
> OpenBoot 3.10.24 ME, 320 MB memory installed, Serial #11705139.
> Ethernet address 8:0:20:b2:9b:33, Host ID: 80b29b33.
>                                         
>                                         
>                                         
> Boot device: disk:a  File and args:                                   
> NetBSD IEEE 1275 Bootblock
> .>> NetBSD/sparc64 OpenFirmware Boot, Revision 1.5
> >> (autobuild@cs20.apochromatic.org, Sun Sep  8 11:34:12 UTC 2002)
> loadfile: reading header
> elf64_exec: Booting /pci@1f,0/pci@1,1/scsi@2/disk@0,0:a/netbsd
> 4412224@0x1000000+139824@0x1800000+4054480@0x1822230 
> symbols @ 0xfea84300 74+329592+174878 start=0x1000000
> chain: calling OF_chain(800000, e478, 1000000, fffa3a80, 18)
> [ using 505320 bytes of netbsd ELF symbol table ]
> console is /pci@1f,0/pci@1,1/ebus@1/su@14,3803f8
> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
>     The NetBSD Foundation, Inc.  All rights reserved.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>     The Regents of the University of California.  All rights reserved.
> 
> NetBSD 1.6 (GENERIC) #0: Sun Sep  8 11:55:46 UTC 2002
>     autobuild@cs20.apochromatic.org:/autobuilder/build/sparc64/OBJ/autobuilder/build/src/sys/Ctotal memory = 320 MB
> avail memory = 286 MB
> using 2060 buffers containing 16480 KB of memory
> bootpath: /pci@1f,0/pci@1,1/scsi@2,0/disk@0,0
> mainbus0 (root): SUNW,UltraSPARC-IIi-cEngine
> cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 360.010 MHz, version 0 FPU
> cpu0: physical 32K instruction (32 b/l), 16K data (32 b/l), 1024K external (64 b/l)
> psycho0 at mainbus0 addr 0xfffc0000
> SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 3; PCI bus 0
> DVMA map: c0000000 to e0000000
> IOTSB: 1804000 to 1884000
> pci0 at psycho0
> pci0: i/o space, memory space enabled
> ppb0 at pci0 dev 1 function 1: Sun Microsystems Simba PCI bridge (rev. 0x13)
> pci1 at ppb0 bus 1
> pci1: i/o space, memory space enabled
> ebus0 at pci1 dev 1 function 0
> ebus0: Sun Microsystems PCIO Ebus2, revision 0x01
> auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003, 72c000-72c003, 72f000-72f003power at ebus0 addr 724000-724003 ipl 37 not configured
> SUNW,pll at ebus0 addr 504000-504002 not configured
> com0 at ebus0 addr 3803f8-3803ff ipl 28: ns16550a, working fifo
> com0: console
> com1 at ebus0 addr 3602f8-3602ff ipl 20: ns16550a, working fifo
> lpt0 at ebus0 addr 340278-340287, 30015c-30015d, 700000-70000f ipl 34
> fdthree at ebus0 addr 3203f0-3203f7, 706000-70600f, 720000-720003 ipl 39 not configured
> clock0 at ebus0 addr 0-1fff: mk48t59: hostid 80b29b33
> flashprom at ebus0 addr 0-fffff not configured
> watchdog at ebus0 addr 200000-20003f ipl 4 not configured
> display7seg at ebus0 addr 200040-200040 not configured
> beeper at ebus0 addr 722000-722003 not configured
> flashprom at ebus0 addr 400000-5fffff not configured
> flashprom at ebus0 addr 800000-9fffff not configured
> i2c at ebus0 addr 600000-600003 ipl 40 not configured
> i2c at ebus0 addr 100000-100003 ipl 27 not configured
> SUNW,lom at ebus0 addr 400000-400063 not configured
> hme0 at pci1 dev 1 function 1: Sun Happy Meal Ethernet, rev. 1
> hme0: interrupting at ivec 3021
> hme0: Ethernet address 08:00:20:b2:9b:33
> ukphy0 at hme0 phy 0: Generic IEEE 802.3u media interface
> ukphy0: OUI 0x0006b8, model 0x000c, rev. 1
> ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> ukphy1 at hme0 phy 1: Generic IEEE 802.3u media interface
> ukphy1: OUI 0x0006b8, model 0x000c, rev. 1
> ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

If I remember properly, the netra has 2 ethernet interface,
but shows up as only one with 2 PHYs on NetBSD, right ?
Maybe try to select a different PHY instance on hme0:
ifconfig hme0 instance 0
or
ifconfig hme0 instance 1


-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 23 ans d'experience feront toujours la difference
--