Subject: Re: UltraSPARC UWS1 almost netboots
To: Steven Grunza <steven_grunza@ieee.org>
From: Andrei Petrov <and@genesyslab.com>
List: port-sparc64
Date: 09/08/2000 12:16:39
That's exactly what I saw on my ultra2. Some time ago I sent a patch
for hme.c on this list(that was a result on my attempts to understand
what's going on). And that patch in conjunction with continious pinging
of booted box got me to the shell(wow!) but it was very slow.

Excercise proved that it can work, and the problem is around hme, don't
know how good hme works for other, is it hme/sbus or just hme or whatever
else it can be. I'm looking into it in spare time... along with other
sparc related thing.

Regards,
	Andrey

On Thu, 7 Sep 2000, Steven Grunza wrote:

> My Integrix UWS1 almost netbooted.  Below is the console output:
> 
> ok boot net netbsd
> Resetting ... 
> 
> 
> Ultra 1 UPA/SBus (UltraSPARC 167MHz), No Keyboard
> OpenBoot 3.0, 256 MB memory installed, Serial #3867098.
> Ethernet address 0:40:dc:3b:1:da, Host ID: 803b01da.
> 
> 
> 
> Rebooting with command: boot net netbsd                               
> Boot device: /sbus/SUNW,hme@e,8c00000  File and args: netbsd
> Timeout waiting for ARP/RARP packet
> 15400 >> NetBSD/sparc64 OpenFirmware Boot, Revision 
> >> (mrg@powerofseven.eterna.com.au, Sat Aug 19 02:35:03 EST 2000)
> Using BOOTPARAMS protocol: ip address: 192.168.0.4, hostname: vulcan
> root addr=192.168.0.1 path=/export/vulcan/root
> loadfile: reading header
> elf64_exec: Booting /sbus@1f,0/SUNW,hme@e,8c00000/netbsd
> 3021759@0xf1000000+221136@0xf1400000+433608@0xf1435fd0 
> symbols @ 0xfff12300 74+242448+125126 start=0xf1000000
> chain: calling OF_chain(800000, ef18, f1000000, fffb3a80, 18)
> [ using 368424 bytes of netbsd ELF symbol table ]
> pmap_bootstrap: could not claim physical dseg extention at 178a0000 size
> 360000
> Our trap handler is enabled
> consinit()
> setting up stdin
> stdin instance = fffe8458
> setting up stdout
> stdout instance = fffe8608
> stdout package = f005a058
> console is unknown
> Copyright (c) 1996, 1997, 1998, 1999, 2000
>     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.5E (GENERIC) #0: Sat Aug 19 04:19:06 EST 2000
>     mrg@powerofseven.eterna.com.au:/orb/p/src/sys/arch/sparc64/compile/GENERIC
> total memory = 256 MB
> avail memory = 228 MB
> using 832 buffers containing 13208 KB of memory
> bootpath: /sbus@1f,0/SUNW,hme@e,8c00000
> mainbus0 (root): SUNW,Ultra-1
> cpu0 at mainbus0: SUNW,UltraSPARC @ 167 MHz, version 0 FPU
> cpu0: physical 4K instruction (32 b/l), 4K data (32 b/l), 2048K external
> (64 b/l) 
> timer0 at mainbus0 addr 0xfffc3c00 irq vectors 7f0 and 7f1
> sbus0 at mainbus0 addr 0xfffcc000: clock = 25 MHz
> DVMA map: ff802000 to ffffe000
> audiocs0 at sbus0 slot 13 offset 0xc000000 vector 24 ipl 13: CS4231A
> audio0 at audiocs0: full duplex
> auxio0 at sbus0 slot 15 offset 0x1900000
> flashprom at sbus0 slot 15 offset 0x0 not configured
> SUNW,fdtwo at sbus0 slot 15 offset 0x1400000 vector 29 ipl 11 not configured
> clock0 at sbus0 slot 15 offset 0x1200000: mk48t59: hostid ffffffff803b01da
> zs0 at sbus0 slot 15 offset 0x1100000 vector 28 ipl 12 softpri 6
> zstty0 at zs0 channel 0 (console i/o)
> zstty1 at zs0 channel 1
> zs1 at sbus0 slot 15 offset 0x1000000 vector 28 ipl 12 softpri 6
> kbd0 at zs1 channel 0
> ms0 at zs1 channel 1
> intr_establish: intr reused 2024
> sc at sbus0 slot 15 offset 0x1300000 not configured
> SUNW,pll at sbus0 slot 15 offset 0x1304000 not configured
> SUNW,fas at sbus0 slot 14 offset 0x8800000 vector 20 ipl 3 not configured
> hme1 at sbus0 slot 14 offset 0x8c00000 vector 21 ipl 6: address
> 00:40:dc:3b:01:da
> nsphy0 at hme1 phy 1: DP83840 10/100 media interface, rev. 0
> nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> bpp0 at sbus0 slot 14 offset 0xc800000 vector 22 ipl 2: rev unknown
> (0x20000000)
> SUNW,ffb at mainbus0 addr 0xffb68000 not configured
> pcons at mainbus0 not configured
> raidattach: Asked for 4 units
> Kernelized RAIDframe activated
> root device: hme1
> dump device: hme1
> file system (default generic): nfs
> root on hme1 dumps on hme1h
> nfs_boot: trying RARP (and RPC/bootparam)
> nd6_na_input: duplicate IP6 address fe80:0001::0240:dcff:fe3b:01da
> nfs_boot: client_addr=192.168.0.4 (RARP from 192.168.0.1)
> hme1: error interrupt, status=20101<GOTFRAME,SENTFRAME,NORXD>
> hme1: error interrupt, status=20101<GOTFRAME,SENTFRAME,NORXD>
> nfs_boot: timeout...
> hme1: error interrupt, status=20101<GOTFRAME,SENTFRAME,NORXD>
> nfs_boot: timeout...
> hme1: error interrupt, status=20101<GOTFRAME,SENTFRAME,NORXD>
> nfs_boot: timeout...
> hme1: error interrupt, status=20101<GOTFRAME,SENTFRAME,NORXD>
> nfs_boot: bootparam whoami, error=60
> cannot mount root, error = 60
> root device (default hme1): 
> 
> 
> tcpdump reports the following:
> 
> Sep  7 21:32:20 scrappy rarpd[199]: received packet on ep0
> 21:33:32.098484 vulcan Broadcast rarp 60: rarp who-is vulcan tell vulcan
> 21:33:32.102196 scrappy vulcan rarp 42: rarp reply vulcan at vulcan
> 21:33:32.591124 vulcan Broadcast rarp 60: rarp who-is vulcan tell vulcan
> 21:33:32.594654 scrappy vulcan rarp 42: rarp reply vulcan at vulcan
> 21:33:32.650847 vulcan Broadcast arp 60: arp who-has vulcan tell vulcan
> 21:33:35.652367 vulcan Broadcast ip 138: vulcan.1023 >
> 192.168.0.255.sunrpc: udp 96
> 21:33:36.651109 vulcan Broadcast ip 138: vulcan.1023 >
> 192.168.0.255.sunrpc: udp 96
> 21:33:38.651033 vulcan Broadcast ip 138: vulcan.1023 >
> 192.168.0.255.sunrpc: udp 96
> 21:33:41.690920 vulcan Broadcast ip 138: vulcan.1023 >
> 192.168.0.255.sunrpc: udp 96
> 21:33:45.730783 vulcan Broadcast ip 138: vulcan.1023 >
> 192.168.0.255.sunrpc: udp 96
> 21:33:50.791544 vulcan Broadcast ip 138: vulcan.1023 >
> 192.168.0.255.sunrpc: udp 96
> 21:33:55.851281 vulcan Broadcast ip 138: vulcan.1023 >
> 192.168.0.255.sunrpc: udp 96
> 21:34:00.911124 vulcan Broadcast ip 138: vulcan.1023 >
> 192.168.0.255.sunrpc: udp 96
> 
> 
> PS
>   scrappy is the NetBSD-i386 server, vulcan is the UWS1
> 
> 
> 
> 
> ==============================================================================
> "Luke, you're going to find that many  | Steven Grunza
> of the truths we cling to depend       | e-mail: steven_grunza@ieee.org
> greatly on our own point view."        | AOL IM: StevenGrunza
>                                        | flames: /dev/null
> Obi Wan Kenobi,  Return of the Jedi    |
> ------------------------------------------------------------------------------
> 
> ____________NetZero Free Internet Access and Email_________
> Download Now     http://www.netzero.net/download/index.html
> Request a CDROM  1-800-333-3633
> ___________________________________________________________
>