Getting Started, Documentation, Tips & Tricks

Can't network installation IRIX to SGI Octane from FreeBSD

Hello! Need some help. I use this guide - http://www.nekochan.net/wiki/IRIX_Netwo ... _an_Octane

sgi octane:
Quote:
>> printenv
AutoLoad=Yes
console=g
diskless=0
dbaud=9600
volume=80
sgilogo=y
autopower=y
netaddr=192.168.1.3
eaddr=08:00:69:13:45:3b
boottune=1
notape=1
srvaddr=192.168.1.2
fxaddr=bootp()192.168.1.2:/IRIX/Overlays_1of4/stand/fx.64
tapedevice=bootp()192.168.1.2:/IRIX/Overlays_1of4/dist/sa
cpufreq=250
SystemPartition=xio(0)pci(15)scsi(0)disk(1)rdisk(0)partition(8)
OSLoadPartition=xio(0)pci(15)scsi(0)disk(1)rdisk(0)partition(0)
OSLoadFilename=/unix
OSLoader=sash
NoAutoLoad=CONSOLE OPEN FAILED.
ConsoleOut=serial(0)
ConsoleIn=serial(0)


freebsd:
Quote:
$ uname -a
FreeBSD freebsd 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 [email protected] :/usr/obj/usr/src/sys/GENERIC i386


Quote:
$ pwd
/tftpboot/IRIX
$ ls -la
total 36
drwxr-xr-x 9 root wheel 512 Jul 7 20:40 .
drwxr-xr-x 3 root wheel 512 Jul 7 20:37 ..
drwxr-xr-x 2 root wheel 512 Jul 7 20:40 Application
drwxr-xr-x 2 root wheel 512 Jul 7 20:40 Foundation_1
drwxr-xr-x 2 root wheel 512 Jul 7 20:40 Foundation_2
drwxr-xr-x 7 root wheel 512 Jul 7 21:51 Overlays_1of4
drwxr-xr-x 7 root wheel 512 Jul 7 21:51 Overlays_2of4
drwxr-xr-x 4 root wheel 512 Jul 7 22:06 Overlays_3of4
drwxr-xr-x 2 root wheel 512 Jul 7 20:40 Overlays_4of4
$ du -ks *
1490924 IRIX


Quote:
$ pwd
/tftpboot/IRIX/Overlays_1of4/stand
$ ls -la
total 8952
drwxr-xr-x 2 root wheel 512 Jul 7 23:39 .
drwxr-xr-x 7 root wheel 512 Jul 7 21:51 ..
-rw-r--r-- 1 root wheel 514544 Jan 10 2002 fx.64
-rw-r--r-- 1 root wheel 274524 Jan 10 2002 fx.ARCS
-rw-r--r-- 1 root wheel 987332 Jan 10 2002 ide.IP20
-rw-r--r-- 1 root wheel 1974468 Jan 10 2002 ide.IP22
-rw-r--r-- 1 root wheel 1028344 Jan 10 2002 ide.IP26
-rw-r--r-- 1 root wheel 1686944 Jan 10 2002 ide.IP28
-rw-r--r-- 1 root wheel 1594016 Jan 10 2002 ide.IP30
-rw-r--r-- 1 root wheel 750032 Jan 10 2002 ide.IP32


Quote:
$ more .IM
id = "3208"

# Please do NOT delete this file!
# This file serves to uniquely identify this CD

version = "1"
title = "IRIX 6.5.15 Installation Tools and Overlays 1-of-4 02/02"
part_num = "812-0818-015"
sub_id = "0"



Quote:
$ ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 08:00:27:93:60:48
inet6 fe80::a00:27ff:fe93:6048%em0 prefixlen 64 scopeid 0x1
inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active



Quote:
$ more /etc/inetd.conf
# $FreeBSD: release/9.1.0/etc/inetd.conf 206039 2010-04-01 13:13:09Z des $
#
# Internet server configuration database
#
# Define *both* IPv4 and IPv6 entries for dual-stack support.
# To disable a service, comment it out by prefixing the line with '#'.
# To enable a service, remove the '#' at the beginning of the line.
######

tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /tftpboot
bootps dgram udp wait root /usr/libexec/bootpd bootpd /etc/bootptab
shell stream tcp nowait root /usr/libexec/rshd rshd -L

######

Quote:
/etc/hosts
192.168.1.2
192.168.1.3


killall -HUP inetd

try boot on network :
Quote:
>> boot -f $fxaddr --x
Unable to execute bootp()192.168.1.2:/IRIX/Overlays_1of4/stand/fx.64: invalid a
rgument
Unable to load bootp()192.168.1.2:/IRIX/Overlays_1of4/stand/fx.64: ``bootp()192.
168.1.2:/IRIX/Overlays_1of4/stand/fx.64'' is not a valid file to boot.
I use this trick for mounting IRIX CD's - viewtopic.php?f=10&t=16727750#p7360706

What's wrong ?
I'm more familiar with using DINA , a packaged VM that's (mostly) configured to handle netbooting IRIX systems. Looking at my DINA VM, it uses ISC DHCPD to handle the bootp requests rather than a literal bootp server, so maybe not helpful as a guide.

However, basics - wha'ts your /etc/bootptab look like? Have you used tcpdump or similar to check the bootp requests and see that there are responses from your FreeBSD server? Checked the logs on that server for output from bootpd? Used a commandline tftp client to verify the server is responding?

_________________
Then? :IRIS3130: ... Now? :O3x02L: :A3504L: - :A3502L: :1600SW: +MLA :Fuel: :Octane2: :Octane: :Indigo2IMP: ... Other: DEC :BA213: :BA123: Sun , DG AViiON , NeXT :Cube:
DINA hard for me ( for now).

I try fixed FreeBSD.

I create /etc/bootptab on FreeBSD ( from here http://software.majix.org/irix/install-network.shtml ):

Quote:
/usr/local/boot
unix
%%
octane 1 08:00:69:13:45:1c 192.168.1.3


/etc/killall -HUP inetd


and get :

Quote:
>> boot -f $fxaddr --x
Unable to execute bootp()192.168.1.2:/IRIX/Overlays_1of4/stand/fx.64: invalid a
rgument
Unable to load bootp()192.168.1.2:/IRIX/Overlays_1of4/stand/fx.64: ``bootp()192.
168.1.2:/IRIX/Overlays_1of4/stand/fx.64'' is not a valid file to boot.
I use this guide - http://www.nekochan.net/wiki/IRIX_Netwo ... _from_OS_X

Still nothing. My hands is broken :-(

Quote:
eaddr=08:00:69:13:45:3b
boottune=1
SystemPartition=xio(0)pci(15)scsi(0)disk(1)rdisk(0)partition(8)
OSLoadPartition=xio(0)pci(15)scsi(0)disk(1)rdisk(0)partition(0)
OSLoadFilename=/unix
OSLoader=sash
notape=1
netaddr=10.100.100.20
srvaddr=10.100.100.6
fxaddr=bootp()10.100.100.6:/Users/sunforsun/IRIX/Overlays_1of4/stand/fx.64
tapedevice=bootp()10.100.100.6:/Users/sunforsun/IRIX/Overlays_1of4/dist/sa
>>
>> boot -f $fxaddr --x
Unable to execute bootp()10.100.100.6:/Users/sunforsun/IRIX/Overlays_1of4/stand/f
x.64: invalid argument
Unable to load bootp()10.100.100.6:/Users/sunforsun/IRIX/Overlays_1of4/stand/fx.6
4: ``bootp()10.100.100.6:/Users/sunforsun/IRIX/Overlays_1of4/stand/fx.64'' is not
a valid file to boot.
>>



One exit from this situation - buy external scsi cd-rom, or attach sgi hdd, and reset root :-(
SunForSun wrote:
Still nothing. My hands is broken :-(

Don't give up yet. Try here :

http://www.sgidepot.co.uk/netboot.html

This is Ian Mapleson's site, he's a helpful person here, I have used this description before but it was years ago. I do remember one thing that was a problem - not all the files on the CD's are in the directories you expect. Some are in sub-directories that you have to open as well.

If it's your first time, the whole thing is stressful but it's possible to succeed. If I did, anyone can.
Just my opinion, but I don't think any Octane should be without an external SCSI cdrom, but those are some weird error messages you're getting. hamei is right though, you're not sunk yet give Ian's method a try...

_________________
Project:
Movin' on up, toooo the east side
Plan:
World domination! Or something...
Maybe give hostnames to the addresses in your /etc/hosts file. Should bootparamd also be running?
Always a good idea to check Ian's guides.

I would still use a command-line TFTP client to make sure you're actually getting the file from the server. Also recommend again checking /var/adm/messages (or whatever) on your FreeBSD server. If you aren't getting messages from bootpd, change the config so you can see what it's doing.

It would also be good to verify that the files survived the copy operation intact. Maybe get a sum/md5 from that fx.64 binary and compare it with somebody's known-good copy. Unfortunately I don't have 6.5.15 - not sure how often they would have changed fx.64 between releases...
Code:
dina# pwd
/irix/6.5.19/o1/stand
dina# md5 fx.64
MD5 (fx.64) = fa3037fbb3f5cd0324b98d700149fbbf
dina# sum fx.64
42690 505 fx.64
dina#
dina# cd /irix/6.5.30/o1/stand
dina# md5 fx.64
MD5 (fx.64) = 6d352e91069596304ed1302e6876e9e9
dina# sum fx.64
26953 505 fx.64
dina#

_________________
Then? :IRIS3130: ... Now? :O3x02L: :A3504L: - :A3502L: :1600SW: +MLA :Fuel: :Octane2: :Octane: :Indigo2IMP: ... Other: DEC :BA213: :BA123: Sun , DG AViiON , NeXT :Cube:
I fix IT!
create /etc/ethers
create /etc/bootptab
restart /etc/rc.d/inetd restart

next step - reset root password :-)

from here ( Begin Actual Procedure) http://web.archive.org/web/200710110209 ... ystems.htm