O2 Set SCSI boot drive

SGI hardware problems, solutions, tips, hacks, etc.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
Raion-Fox
Donor
Donor
Posts: 1333
Joined: Thu Jan 30, 2014 5:01 pm
Location: near King George, Virginia
Contact:

O2 Set SCSI boot drive

Unread postby Raion-Fox » Thu May 11, 2017 9:08 pm

Got an O2 here, I'm trying to use a U320 SCSI drive that doesn't have ID jumpers, and the SCSI ID in my second R10k O2 is dksc(0,1,2) but the system wants to boot for some reason from dksc(0,1,0). How do I fix this?
:O3x02L: R16000 700MHz 8GB RAM kanna
:Octane: R12000 300MHz SI 896MB RAM yuuka
:Octane2: R12000A 400MHz V6 2.5GB RAM
:Indy: (Acclaim) R4600 133MHz XL Graphics 32MB RAM
:Indy: (Challenge S) R4600 133MHz (MIPS III Build Server)
Thinkpad W530 i7 3940XM 3GHz, 32GB, K1000M Windows 8.1 Embedded rin
Thinkpad R40 Pentium M 1.5GHz 2GB RAM kasha

User avatar
josehill
Moderator
Moderator
Posts: 3305
Joined: Mon Jun 06, 2005 9:53 pm
Location: New England, USA
Contact:

Re: O2 Set SCSI boot drive

Unread postby josehill » Thu May 11, 2017 11:07 pm

You need to set the boot environment variables in the nvram. I presume that you can't boot into IRIX at the moment, so you'll need to do it from the PROM monitor. Boot into the PROM monitor, and get the hard drive's SCSI ID from the PROM monitor's "hinv" command. Then use the "setenv" command to set the variables.

Some hints in viewtopic.php?t=13865
Also, take a look at the chapter on the PROM monitor in the "IRIX Admin: System Configuration and Operation" manual in your favorite Techpubs archive for more info. For future reference, once you can boot into IRIX, you also can change the nvram variables without having to go to the PROM monitor if you use the IRIX "nvram" command.

User avatar
miod
Posts: 508
Joined: Fri Oct 09, 2009 2:44 am
Location: Clermont-Ferrand (France)
Contact:

Re: O2 Set SCSI boot drive

Unread postby miod » Fri May 12, 2017 12:09 am

Raion-Fox wrote:Got an O2 here, I'm trying to use a U320 SCSI drive that doesn't have ID jumpers, and the SCSI ID in my second R10k O2 is dksc(0,1,2) but the system wants to boot for some reason from dksc(0,1,0). How do I fix this?

I'm not sure you got your first dksc value correct, did you mean dksc(0,2,0)? (the device SCSI ID is the second number, and the third number is the partition on the disk, which should be 0 on both machines).

I am guessing the new O2 is not an R10k-based one, right? Remember than R10k/R12k O2 only have one disk slot, which get assigned ID #2, but R5k O2 have two disks slots, with the closest to the CPU board being ID #1 and the farthest being ID #2. It looks like you've put the disk in slot #2 but the PROM is configured to use #1. Simply move the disk, or fix the PROM variables.
:Indigo:R3000 (alas, dead) :Indigo:R4000 x4 :Indigo2:R4400 :Indigo2IMP:R4400 x2 :Indigo2:R8000 :Indigo2IMP:R10000 :Indy:R4000PC :Indy:R4000SC :Indy:R4400SC :Indy:R4600 :Indy:R5000SC :O2:R5000 x3 :O2:RM7000 :Octane:2xR10000 :Octane:R12000 :O200:2xR12000 :O200: - :O200:2x2xR10000 :Fuel:R16000 :O3x0:4xR16000 :A350:
among more than 150 machines : Apollo, Data General, Digital, HP, IBM, MIPS before SGI, Motorola, NeXT, SGI, Solbourne, Sun...

User avatar
Raion-Fox
Donor
Donor
Posts: 1333
Joined: Thu Jan 30, 2014 5:01 pm
Location: near King George, Virginia
Contact:

Re: O2 Set SCSI boot drive

Unread postby Raion-Fox » Fri May 12, 2017 4:53 pm

miod wrote:I'm not sure you got your first dksc value correct, did you mean dksc(0,2,0)? (the device SCSI ID is the second number, and the third number is the partition on the disk, which should be 0 on both machines).

I am guessing the new O2 is not an R10k-based one, right? Remember than R10k/R12k O2 only have one disk slot, which get assigned ID #2, but R5k O2 have two disks slots, with the closest to the CPU board being ID #1 and the farthest being ID #2. It looks like you've put the disk in slot #2 but the PROM is configured to use #1. Simply move the disk, or fix the PROM variables.


So this is an R10k O2, and the PROM was giving bad values for a lot of things so I had to set the clear jumper. I had it correct as far as the PROM goes, because it keeps trying to load the IRIX miniroot into device ID 0.

Josehill's response was what I was looking for. I am not very familiar with PROM values.
:O3x02L: R16000 700MHz 8GB RAM kanna
:Octane: R12000 300MHz SI 896MB RAM yuuka
:Octane2: R12000A 400MHz V6 2.5GB RAM
:Indy: (Acclaim) R4600 133MHz XL Graphics 32MB RAM
:Indy: (Challenge S) R4600 133MHz (MIPS III Build Server)
Thinkpad W530 i7 3940XM 3GHz, 32GB, K1000M Windows 8.1 Embedded rin
Thinkpad R40 Pentium M 1.5GHz 2GB RAM kasha

User avatar
japes
Donor
Donor
Posts: 990
Joined: Thu Nov 08, 2007 4:35 pm
Location: Lynnwood, WA

Re: O2 Set SCSI boot drive

Unread postby japes » Sat May 13, 2017 8:19 pm

You should be able to reset the PROM environment variables with resetenv too, so no jumpers required.
:O3000: :Fuel: :Tezro: :Tezro: :Octane2: :Octane: :Octane: :Indigo: :Indigo: :Indigo: :Indigo: :O2: :1600SW: :O2: :1600SW: :1600SW: :Indigo2: :Indigo2: :Indigo2: :Indigo2: :Indigo2IMP: :Indy: :Indy: :Indy: :Indy: :O3x0: :O3x02L: :O3x02L:

User avatar
Raion-Fox
Donor
Donor
Posts: 1333
Joined: Thu Jan 30, 2014 5:01 pm
Location: near King George, Virginia
Contact:

Re: O2 hangs at install tools

Unread postby Raion-Fox » Sat May 13, 2017 9:33 pm

Hehe I got it to see the right drive now, but theres a new issue I've to track down, why it hangs after install tools have been copied. I'm gonna swap the drive with another to see if the behavior is replicated or if it's a problem with the drive.
:O3x02L: R16000 700MHz 8GB RAM kanna
:Octane: R12000 300MHz SI 896MB RAM yuuka
:Octane2: R12000A 400MHz V6 2.5GB RAM
:Indy: (Acclaim) R4600 133MHz XL Graphics 32MB RAM
:Indy: (Challenge S) R4600 133MHz (MIPS III Build Server)
Thinkpad W530 i7 3940XM 3GHz, 32GB, K1000M Windows 8.1 Embedded rin
Thinkpad R40 Pentium M 1.5GHz 2GB RAM kasha


Return to “SGI: Hardware”

Who is online

Users browsing this forum: No registered users and 2 guests