O2 IRIX installation is fine but cannot boot
#1
O2 IRIX installation is fine but cannot boot
I'm having some trouble installing IRIX from the FTP on my O2. I'm using https://github.com/halfmanhalftaco/irixboot to make network installation. Everything seems to be working fine, the installation completes, quickrestaring ELF files completes and then I'm asked to reboot. 

So I enter (y) to reboot but on boot I get the following:

Cannot load pci(0)scsi(0)disk(1)rdisk(0)partition(0).
Illegal f_magic number 0x5846, expected MISPELMAGIC or MIPSEBMAGIC.

Did I miss something during the installation or might this be a hardware problem?
po6labs
O2

Trade Count: (0)
Posts: 7
Threads: 3
Joined: Aug 2018
Find Reply
11-01-2018, 10:04 AM
#2
RE: O2 IRIX installation is fine but cannot boot
The system is looking for the boot partition on disk 1, have you by any chance installed a new drive with a different SCSI ID setting before the OS installation? This could be a remnant from a previous installation and could possibly be cleared by running 'resetenv' from the command monitor (F5) in PROM.

If you have not made any chances to the disk ID, it could be a damaged partition or something similar. Have you run fx before the installation and made a new XFS filesystem? If you run out of options and plan to reinstall it may be worth to run an auto check from within fx to check consistency of the drive. This was advised by others for other disk related issues.

Maybe others can chime in with other suggestions. Hope this helps.

:Indy: R4000 @100MHz, 96MB, 3GB, XL Newport | :O2: R5000 @180MHz, 256MB, 36GB, CRM | :Indigo2: R4400 @250MHz, 192MB, 36GB, Elan + XZ | :Octane: R10000 @250MHz, 1024MB, 8GB+2GB, ESSI.



mamorim01
Octane

Trade Count: (0)
Posts: 99
Threads: 4
Joined: Oct 2018
Location: Spain
Website Find Reply
11-01-2018, 12:01 PM
#3
RE: O2 IRIX installation is fine but cannot boot
Regarding resetenv: this will always set up the system to boot from SCSI disk ID #1.

But in an R10K/R12K O2 system, the CPU module is wider and takes up the space of the left hard disk slot. Which corresponded to disk ID #1... So in an R10K/R12K O2 the system disk is always SCSI ID #2, and you need to change the PROM settings to reflect this.
jan-jaap
SGI Collector

Trade Count: (0)
Posts: 1,048
Threads: 37
Joined: Jun 2018
Location: Netherlands
Website Find Reply
11-01-2018, 12:37 PM
#4
RE: O2 IRIX installation is fine but cannot boot
Yes, it's a brand new harddisk that I've just plugged in before installation. I basically went along the instructions from http://www.sgidepot.co.uk/6.5inst.html starting at "Erasing the Disk Within the Inst Program".  Do have to do some partitioning beforehand? I though since the installation process was working that the disk is correctly formatted.

hinv says:
...
SCSI Disk: scsi(0)disk(1)
...

and printenv says:

...
SystemPartition=pci(0)scsi(0)disk(1)rdisk(0)partition(8)
OSLoadPartition=pci(0)scsi(0)disk(1)rdisk(0)partition(0)
OSLoadFilename=
OSLoader=sash
...

I can repeat the installation process without a problem if I have to. Could you point me to a document that explains how to correctly format the disk if that is the issue?
po6labs
O2

Trade Count: (0)
Posts: 7
Threads: 3
Joined: Aug 2018
Find Reply
11-01-2018, 01:19 PM
#5
RE: O2 IRIX installation is fine but cannot boot
(11-01-2018, 12:37 PM)jan-jaap Wrote:  Regarding resetenv: this will always set up the system to boot from SCSI disk ID #1.

But in an R10K/R12K O2 system, the CPU module is wider and takes up the space of the left hard disk slot. Which corresponded to disk ID #1... So in an R10K/R12K O2 the system disk is always SCSI ID #2, and you need to change the PROM settings to reflect this.

I was not aware that resetenv would default to disk ID 1, I agree this would achieve nothing on this particular case as there is consistency. I ran into problems myself once, entirely my fault, where I plugged in a disk set to ID 2 where PROM parameters were still considering the bootfile at ID 1. I could install IRIX but this discrepancy would not allow the system to boot. It was a silly mistake but it took me a while to figure it out. This does not seem to be the case, though.

(11-01-2018, 01:19 PM)po6labs Wrote:  Yes, it's a brand new harddisk that I've just plugged in before installation. I basically went along the instructions from http://www.sgidepot.co.uk/6.5inst.html starting at "Erasing the Disk Within the Inst Program".  Do have to do some partitioning beforehand? I though since the installation process was working that the disk is correctly formatted.

hinv says:
...
SCSI Disk: scsi(0)disk(1)
...

and printenv says:

...
SystemPartition=pci(0)scsi(0)disk(1)rdisk(0)partition(8)
OSLoadPartition=pci(0)scsi(0)disk(1)rdisk(0)partition(0)
OSLoadFilename=
OSLoader=sash
...

I can repeat the installation process without a problem if I have to. Could you point me to a document that explains how to correctly format the disk if that is the issue?

That looks okay. I am not in front of my SGI systems but shouldn't the OSLoadFilename parameter be?:

Quote:OSLoadFilename=/unix

I have followed the procedure which you used to initialize the disk with success, so that would probably not be an issue. Still, from within the fx program and before you repartition you may wish to carry out an [auto] initialization or an [exer]cise to check the integrity of the disk. See, for instance:

https://software.majix.org/irix/install-fx.shtml

This would provide insight in case there were problems with the drive. I would rule out other possibilities before attempting a reinstall, though.

:Indy: R4000 @100MHz, 96MB, 3GB, XL Newport | :O2: R5000 @180MHz, 256MB, 36GB, CRM | :Indigo2: R4400 @250MHz, 192MB, 36GB, Elan + XZ | :Octane: R10000 @250MHz, 1024MB, 8GB+2GB, ESSI.



mamorim01
Octane

Trade Count: (0)
Posts: 99
Threads: 4
Joined: Oct 2018
Location: Spain
Website Find Reply
11-01-2018, 01:54 PM
#6
RE: O2 IRIX installation is fine but cannot boot
If you decide to reinstall, try this:

https://github.com/unxmaal/irixboot

It's a lot easier.
Unxmaal
O2

Trade Count: (0)
Posts: 23
Threads: 8
Joined: Aug 2018
Find Reply
11-01-2018, 02:59 PM
#7
RE: O2 IRIX installation is fine but cannot boot
All I had to do was: setenv OSLoadFilename /unix

Thanks for your help, I would have never found that on my own...
po6labs
O2

Trade Count: (0)
Posts: 7
Threads: 3
Joined: Aug 2018
Find Reply
11-01-2018, 03:27 PM
#8
RE: O2 IRIX installation is fine but cannot boot
Great, enjoy your O2!

:Indy: R4000 @100MHz, 96MB, 3GB, XL Newport | :O2: R5000 @180MHz, 256MB, 36GB, CRM | :Indigo2: R4400 @250MHz, 192MB, 36GB, Elan + XZ | :Octane: R10000 @250MHz, 1024MB, 8GB+2GB, ESSI.



mamorim01
Octane

Trade Count: (0)
Posts: 99
Threads: 4
Joined: Oct 2018
Location: Spain
Website Find Reply
11-01-2018, 04:48 PM


Forum Jump:


Users browsing this thread: 1 Guest(s)