Problems with network install of O2 using a Linux server

IRIX and IRIX software discussion including open source and commerical offerings.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
pettersson
Posts: 4
Joined: Sat Feb 28, 2015 7:34 am

Problems with network install of O2 using a Linux server

Unread postby pettersson » Sun Jul 23, 2017 12:15 am

Hi,

long time since I got my O2 and since my last post. I finally got a HD for the machine and tried installing IRIX 6.5. Turns out, CD drive is broken, so I went with a network install but didn't get far. Managed to setup a tftp server on the Linux box (Ubuntu 16.04) using atftp. Connecting locally works, CDs are mounted. When trying to start the installation with

Code: Select all

boot -f bootp()192.168.5.15:inst/stand/fx.ARCS --x
I can see tftp serving the data, but running into timeouts. After a while O2 gives me this message:

Code: Select all

Unable to execute bootp()192.168.5.15:inst/stand/fx.ARCS: invalid argument
Unable to load bootp()192.168.5.15:inst/stand/fx.ARCS: ''bootp()192.168.5.15:inst/stand/fx.ARCS'' is not a valid file to boot


Anyone has an idea what is going wrong? Read about DINA, but could not find it anywhere


Regards and thans for any tips
pettersson

User avatar
dexter1
Moderator
Moderator
Posts: 2743
Joined: Thu Feb 20, 2003 6:57 am
Location: Zoetermeer, The Netherlands

Re: Problems with network install of O2 using a Linux server

Unread postby dexter1 » Sun Jul 23, 2017 6:39 am

Dina is among other places over here

As for the tftpd problem, there can be a number of problems preventing you from booting programs for SGI machines.
I have a Ubuntu 16.04 install server myself, what packages are you using for
- rsh
- tftpd
also, what bootptab are you using?
I'm going to send you my IRIX install cookbook. It's a bit long, not well commented and you need to replace some paths because there are better guides out there, but this was enough to get me going:

Code: Select all

frank@link:/IRIX/frank/irixinstall$ more proc.scr
echo 1 > /proc/sys/net/ipv4/ip_no_pmtu_disc
echo "2048 32767" > /proc/sys/net/ipv4/ip_local_port_range

frank@link:/IRIX/frank/irixinstall$ more cookbook.txt
install tftpd bootpd and rsh-redone-server
 .rhosts in guest and root with
iris root
/etc/hosts entries for iris
/etc/passwd replace shell with /bin/mksh
check /etc/pam.d/rsh
add rsh rshd to /etc/securetty

frank@link:/IRIX/frank/irixinstall$ more tftp
# default: off
# description: The tftp server serves files using the Trivial File Transfer \
#    Protocol.  The tftp protocol is often used to boot diskless \
#    workstations, download configuration files to network-aware printers, \
#    and to start the installation process for some operating systems.
service tftp
{
    socket_type     = dgram
    protocol        = udp
    wait            = yes
    user            = root
    server          = /usr/sbin/in.tftpd
    server_args     = -s /IRIX/DIST
    disable         = yes
}

frank@link:/IRIX/frank/irixinstall$ more ethers
080069xxxxxx iris

frank@link:/IRIX/frank/irixinstall$ more bootps
service bootps
{
    socket_type         = dgram
    protocol            = udp
    wait                = yes
    user                = root
    server              = /usr/sbin/bootpd
    server_args         = -i -t0 -d4 /etc/bootptab
    disable             = yes
}

frank@link:/IRIX/frank/irixinstall$ more rsh
service shell
{
    socket_type     = stream
    wait            = no
    user            = root
    log_on_success  += USERID
    log_on_failure  += USERID
    server          = /usr/sbin/in.rshd
    disable         = yes
}

frank@link:/IRIX/frank/irixinstall$ more bootptab
iris:ha=080069xxxxxx:sa=192.168.178.54:ds=192.168.178.54:rp=/IRIX/DIST
frank@link:/IRIX/frank/irixinstall$

Note that i do not use the dhcpd service on Ubuntu, because i've experienced problems especially in bootp service.
Also check your stuff and try to 'tail -f' logs everywhere, you might see something popping up...

BTW, instead of DINA, this smells like an excellent service for a docker/LXC project!
:Crimson: :PI: :Indigo: :O2: :Indy: :Indigo2: :Indigo2IMP:

pettersson
Posts: 4
Joined: Sat Feb 28, 2015 7:34 am

Re: Problems with network install of O2 using a Linux server

Unread postby pettersson » Sun Jul 23, 2017 8:11 am

Hi,

I think I am on step closer to get it working, now I get an bootp request, but it gets ignored. Request comes from correct IP

My bootptab looks like this:

sgio2:ha=08006905****:sa=192.168.5.18:ds=192.168.5.18:bf=/home/****/IRIX/6.5inst/dist/miniroot/unix.IP32


Regards
pettersson

User avatar
dexter1
Moderator
Moderator
Posts: 2743
Joined: Thu Feb 20, 2003 6:57 am
Location: Zoetermeer, The Netherlands

Re: Problems with network install of O2 using a Linux server

Unread postby dexter1 » Sun Jul 23, 2017 8:37 am

You are using ip addresses for the install/bootp server in your bootp() command. I believe you should change that to the actual name of the server.
:Crimson: :PI: :Indigo: :O2: :Indy: :Indigo2: :Indigo2IMP:


Return to “IRIX and Software”

Who is online

Users browsing this forum: No registered users and 2 guests