Re: Which floppy drive
Regarding booting a sparc from the net for installation.
This is how I boot for installation e.g. a U10 (hematit) from a local mirror (opal).
0, write down network configs and such
rarp support in opal kernel
tftp installed
local mirror exported ro via nfs
1, on hematit, power on, stop-a, boot net
2, on opal, run insmod and make sure hostname is in either dns or /etc/hosts
3, on opal, start tcpddump in another vt or xterm
4, on opal, copy ethernet address from line c to line 5 and run rarp
5, on opal, copy the C0A85D02 from line f to to line 8
(or calculate by hand, C0A85D02 = 192.168.93.2 in hex, but copying is easier)
6, at line i, hematit starts loading the kernel
7, switch to the sparc and continue with the installation program.
--------- Commands run on opal -----
1 # insmod rarp
2 Using /lib/modules/2.2.17/ipv4/rarp.o
3 # grep hematit /etc/hosts
4 192.168.93.2 hematit.aspo.lcl hematit
5 # rarp -s hematit 8:0:20:b0:9b:2
6 # cd /boot
7 # cp /home/ftp/pub/linux/debian/dists/potato/main/disks-sparc/2.2.16-2000-08-03/sun4u/tftpboot.img .
8 # ln -s tftpboot.img C0A85D02
--------- tcpdump log --------------
a # tcpdump -i eth0 -e -n
b tcpdump: listening on eth0
c 14:47:26.500072 8:0:20:b0:9b:2 ff:ff:ff:ff:ff:ff 8035 64: rarp who-is 8:0:20:b0:9b:2 tell 8:0:20:b0:9b:2
d 14:48:02.691503 8:0:20:b0:9b:2 ff:ff:ff:ff:ff:ff 8035 64: rarp who-is 8:0:20:b0:9b:2 tell 8:0:20:b0:9b:2
e 14:48:02.691521 0:c0:f0:57:be:82 8:0:20:b0:9b:2 8035 42: rarp reply 8:0:20:b0:9b:2 at 192.168.93.2
f 14:48:02.697073 8:0:20:b0:9b:2 0:c0:f0:57:be:82 0800 64: 192.168.93.2.57235 > 192.168.93.3.69: 17 RRQ "C0A85D02"
g 14:48:02.795724 0:c0:f0:57:be:82 ff:ff:ff:ff:ff:ff 0806 42: arp who-has 192.168.93.2 tell 192.168.93.3
h 14:48:02.797665 8:0:20:b0:9b:2 0:c0:f0:57:be:82 0806 64: arp reply 192.168.93.2 is-at 8:0:20:b0:9b:2
i 14:48:02.797686 0:c0:f0:57:be:82 8:0:20:b0:9b:2 0800 558: 192.168.93.3.2277 > 192.168.93.2.57235: udp 516
14:48:02.805222 8:0:20:b0:9b:2 0:c0:f0:57:be:82 0800 64: 192.168.93.2.57235 > 192.168.93.3.2277: udp 4
14:48:02.805581 0:c0:f0:57:be:82 8:0:20:b0:9b:2 0800 558: 192.168.93.3.2277 > 192.168.93.2.57235: udp 516
14:48:02.812703 8:0:20:b0:9b:2 0:c0:f0:57:be:82 0800 64: 192.168.93.2.57235 > 192.168.93.3.2277: udp 4
14:48:02.812966 0:c0:f0:57:be:82 8:0:20:b0:9b:2 0800 558: 192.168.93.3.2277 > 192.168.93.2.57235: udp 516
14:48:02.820204 8:0:20:b0:9b:2 0:c0:f0:57:be:82 0800 64: 192.168.93.2.57235 > 192.168.93.3.2277: udp 4
14:48:02.820471 0:c0:f0:57:be:82 8:0:20:b0:9b:2 0800 558: 192.168.93.3.2277 > 192.168.93.2.57235: udp 516
...
line c, d: hematit ask for ip number
line e: opal gives hematit 192.168.93.2
line f: hematit asks for image (in this case, kernel + root fs) to boot
(link as in line 8 was already there from earlier install, thats why
you don't see any retransmits on this)
line g, h: opal fills its arp cache
line i...: hematit fetches image
--------- Comments -----------------
bootps don't seem to be used:
# tcpdump port bootps
tcpdump: listening on eth0
( ^C pressed after first install screen appeared on hematit)
0 packets received by filter
0 packets dropped by kernel
#
Regards,
/Karl
-----------------------------------------------------------------------
Karl Hammar Aspö Data karl@kalle.csb.ki.se
Lilla Aspö 2340 +46 173 140 57 Networks
S-742 94 Östhammar +46 70 511 97 84 Computers
Sweden Consulting
-----------------------------------------------------------------------
From: Andreas Tille <tillea@rki.de>
Subject: Re: Which floppy drive
Date: Mon, 18 Dec 2000 11:34:23 +0100 (CET)
> On Sun, 17 Dec 2000, Erik Mouw wrote:
>
> > Sun machines are able to boot from network, so instead of fiddling with
> > new hardware, it might be easier to do a net boot. See section 5.5 from
> > the installation manual:
> >
> > http://www.debian.org/releases/potato/sparc/install
> Hmm, my box seems not to find the tftp image. It just repeats:
>
> Timeout waiting for ARP/RARP packet
>
> My reseller (which declared not to support Linux in any way :-(()
> said that this is not possible with the E250 because it searches for
> some configuration files using ARP protocol.
>
> Another chance would be, if someone could ship a Debian boot cd (I'm
> currently unable to burn one myself :-()
>
> Hope to get my "Christmas gift" running this week ...
>
> Kind regards
>
> Andreas.
...
Reply to: