Unable to boot via bootp (Octane)

New to SGIs? Need help getting things going? This is the forum for you!
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
jessedewaard
Posts: 21
Joined: Mon Mar 14, 2016 1:08 pm
Location: The Netherlands

Unable to boot via bootp (Octane)

Unread postby jessedewaard » Sat Nov 18, 2017 4:24 pm

Hi,

I lost the password of my Octane so am trying to bootp it in order to load the miniroot.
My Linux machine could not mount the XFS parition so i figured this could maybe work.

I have a freebsd server running and configured bootpd for it.
When i issue the "boot -f bootp():unix.IP30" command i get the following response:

Unable to execute bootp():unix.IP30: invalid argument
Unable to load bootp():unix.IP30: ``bootp():unix.IP30'' is not a valid file to boot.

On the server side i can see the request is received (and it is sending the file?)

My /etc/bootptab file contains the following:
irix:ht=1:ha=0800xxxxxxxx:hd=/tftpboot/irix:bf=unix.IP30

Does any one know what i am doing wrong?

rooprob
Posts: 75
Joined: Wed Sep 01, 2010 7:20 am

Re: Unable to boot via bootp (Octane)

Unread postby rooprob » Sat Nov 18, 2017 6:07 pm

Have you followed

http://www.nekochan.net/wiki/IRIX_Netwo ... _an_Octane

Can you tftp the file from your freebsd server tftp localhost, get unix.IP30 ?
:O2: r12 400 mapleleaf :Indigo2IMP: r10 195 IRIS :Cube: NeXT
New Zealand

jessedewaard
Posts: 21
Joined: Mon Mar 14, 2016 1:08 pm
Location: The Netherlands

Re: Unable to boot via bootp (Octane)

Unread postby jessedewaard » Sun Nov 19, 2017 12:20 pm

Hi rooprob, i had not yet seen the guide, thanks.
I enabled the bootp tftp and rsh in /etc/inetd.conf and enabled inet in /etc/inetd.conf.

When i tftp the file (unix.IP30) on the freebsd computer i can get it both via localhost and the ip of the computer.

When i issue the following command on the Octane:
sash: boot -f bootp():/irix/unix.IP30

TFTP error: File not found (code 1)
Unable to execute bootp():/irix/unix.IP30: invalid argument
Unable to load bootp():/irix/unix.IP30: ``bootp():/irix/unix.IP30'' is not a valid file to boot.

It says it is unable to find the file but on by freebsd machine it is ok (get /irix/unix.IP30)
I also tried to get fx.64 but it also fails

When i issue the following command:
sash: boot -f bootp()192.168.1.52:/irix/unix.IP30

No server for 192.168.1.52:/irix/unix.IP30.
Your netaddr environment variable may be set incorrectly, or
the net may be too busy for a connection to be made.
Unable to execute bootp()192.168.1.52:/irix/unix.IP30: could not connect to server
Unable to load bootp()192.168.1.52:/irix/unix.IP30: could not connect to remote server.

192.168.1.52 being my freebsd computer, adding a ip to bootp() means it will use tftp and not bootp right?
I can see the bootpd deamon running but not the tftp deamon(is this correct?), also when i use bootp()192.168.1.52 bootpd says it is ignoring the request.

User avatar
duck
Donor
Donor
Posts: 746
Joined: Mon Oct 27, 2003 5:22 pm
Location: Jakobstad, Finland
Contact:

Re: Unable to boot via bootp (Octane)

Unread postby duck » Fri Nov 24, 2017 1:26 pm

So I rebooted my octane just to see what it says, and I could load stuff off tftp provided I
a) set the next-server address (this made it actually perform the tftp request, even though the dhcpd config had server-name set and the prom did say it was loading something off that address)
b) DIDN'T set filename

I use dhcpd in bootp mode, but the equivalent for bootpd should be remove bf= and add sa=

My errors weren't the same as yours, it would complain about exec format error, but I suspect this was because it ignored the filename on the command line and loaded the sa (which was what my filename was set to) and got confused.

You should then be able to boot -f bootp():sash64 to load the sash and from then copy the miniroot into swap and then boot the install kernel.
:Octane: halo, octane Image knightrider, d i g i t a l AlphaPC164, pond, soekris net6501, misc cool stuff in a rack
N.B.: I tend to talk out of my ass. Do not take it too seriously.

User avatar
johnnym
Donor
Donor
Posts: 196
Joined: Sun Sep 04, 2016 9:53 pm

Re: Unable to boot via bootp (Octane)

Unread postby johnnym » Sat Nov 25, 2017 12:35 am

jessedewaard wrote:Hi rooprob, i had not yet seen the guide, thanks.
I enabled the bootp tftp and rsh in /etc/inetd.conf and enabled inet in /etc/inetd.conf.

When i tftp the file (unix.IP30) on the freebsd computer i can get it both via localhost and the ip of the computer.

When i issue the following command on the Octane:
sash: boot -f bootp():/irix/unix.IP30

TFTP error: File not found (code 1)
Unable to execute bootp():/irix/unix.IP30: invalid argument
Unable to load bootp():/irix/unix.IP30: ``bootp():/irix/unix.IP30'' is not a valid file to boot.

It says it is unable to find the file but on by freebsd machine it is ok (get /irix/unix.IP30)

From my test results (check case 7), could it be, that you have configured the path to the file to boot on your DHCP/BOOTP server? If yes, the path in the PROM command line is ignored. And if the configured path that is served by your DHCP/BOOTP server is wrong this should give the same result as when using a wrong path in the boot command.

In either way, the path served by the DHCP/BOOTP server is used, even if the output after issuing the boot command says otherwise.

jessedewaard wrote:When i issue the following command:
sash: boot -f bootp()192.168.1.52:/irix/unix.IP30

No server for 192.168.1.52:/irix/unix.IP30.
Your netaddr environment variable may be set incorrectly, or
the net may be too busy for a connection to be made.
Unable to execute bootp()192.168.1.52:/irix/unix.IP30: could not connect to server
Unable to load bootp()192.168.1.52:/irix/unix.IP30: could not connect to remote server.

This partly looks like case 1 from my test results. What do you have in the PROM environment variable netaddr? I assume the IP address could just be wrong or not match the one that is served by your DHCP/BOOTP server. On the other hand, I'm unsure if the local IP address information is still set by the DHCP/BOOTP server if you set the server's IP address to download the boot file from. So if netaddr is empty from the start and not set by the DHCP/BOOTP server, the download of the boot file won't work either.
:Indy: :O2: :Octane: :Octane2: :O200: = :O200: - :O200: = :O200: (O200 cluster w/2 GIGAchannel cabinets)
[ ( hp ) ] 712/80 c3000 (dead) :hpserv: (J5600) c3700 c3750 c8000 rp2470 :rx2600: (rx2620) rx4640
| d | i | g | i | t | a | l | AXPpci33 AlphaStation 200 AlphaStation 255 PWS 500au AlphaServer DS20E AlphaServer DS25
C O B A L T Qube 2 Qube 3 RaQ RaQ 2 RaQ 4r RaQ XTR

User avatar
duck
Donor
Donor
Posts: 746
Joined: Mon Oct 27, 2003 5:22 pm
Location: Jakobstad, Finland
Contact:

Re: Unable to boot via bootp (Octane)

Unread postby duck » Sat Nov 25, 2017 2:01 am

Some echo in here.
:Octane: halo, octane Image knightrider, d i g i t a l AlphaPC164, pond, soekris net6501, misc cool stuff in a rack
N.B.: I tend to talk out of my ass. Do not take it too seriously.

User avatar
johnnym
Donor
Donor
Posts: 196
Joined: Sun Sep 04, 2016 9:53 pm

Re: Unable to boot via bootp (Octane)

Unread postby johnnym » Sat Nov 25, 2017 2:26 am

duck wrote:Some echo in here.

Sorry, yeah, might be :oops: , but I believe I still added some generally useful information on top of your description. :)
:Indy: :O2: :Octane: :Octane2: :O200: = :O200: - :O200: = :O200: (O200 cluster w/2 GIGAchannel cabinets)
[ ( hp ) ] 712/80 c3000 (dead) :hpserv: (J5600) c3700 c3750 c8000 rp2470 :rx2600: (rx2620) rx4640
| d | i | g | i | t | a | l | AXPpci33 AlphaStation 200 AlphaStation 255 PWS 500au AlphaServer DS20E AlphaServer DS25
C O B A L T Qube 2 Qube 3 RaQ RaQ 2 RaQ 4r RaQ XTR


Return to “Getting Started, Documentation, Tips & Tricks”

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests