New guy, just bought a Fuel

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.
sornywrx
Posts: 31
Joined: Mon Aug 17, 2015 4:05 pm

Re: New guy, just bought a Fuel

Unread postby sornywrx » Sun Aug 23, 2015 10:53 am

hamei wrote:
sornywrx wrote: Started with Overlay CD 1 ...

Houston, I think we have a problem.

You didn't by any chance download these from SGI ? 'Cuz those aren't the operating system. Those are overlays to the operating system. Fixpacks. Updates. Will not do what you want.



Nope, didn't download them from SGI.

I have a set that has Overlay 1-3 6.5.22, Foundation 6.5, and IRIX 6.5.22 Applications.


To be specific on what I did, I started by running boot -f dksc(1,6,8)sash64 and then when I get to the sash prompt I ran boot -f dksc(1,6,7)stand/fx.64 --x and then selected defaults for device name, ctrl#, and drive# (dksc, 0, and 1). It reported drive selftest OK and shows my SEAGATE drive. Then I did repartition, root, label, and sync then exited and tried to "Install System Software" and that's when I got the error. The "Install System Software" option does report that it's copying the tools and takes about 20-30 seconds as it reads the CD-ROM. Then it fails with this error:

== see attachment ==

Any ideas? I burned the CD again to make sure I didn't have a bad write (could be a bad ISO I guess but I checked the checksums).

The error mentions controller 0, disk 1 and that's what the partition program shows so it seems to be pointing to the correct thing. Also, when I ran boot -f I replaced dksc(1,6,x) with cdrom(1,6,x) and both worked (as far as loading the partitioning tool but both ways gives me the same error in the screenshot above.

I'm running a disk exercise now to test it, figured it couldn't hurt.

I'm sure it's something minor, like a the tools are looking in the wrong place for the drive or something, but I've never ever installed IRIX or worked with an SGI so I'm not familiar with the process... I assumed I partitioned the drive and now the tools were supposed to be loaded into memory and then ran so that I could format the drive and continue installation.
Attachments
zERszf4.jpg
Last edited by foetz on Sun Aug 23, 2015 12:31 pm, edited 1 time in total.
Reason: please keep the image sizes reasonable or attach otherwise

ajw99uk
Posts: 256
Joined: Tue Apr 19, 2011 4:59 am
Location: Yorkshire, UK

Re: New guy, just bought a Fuel

Unread postby ajw99uk » Sun Aug 23, 2015 11:32 am

Gut feel first was, take the PCI SCSI card out and try again (then if that works to get you to installed IRIX, pop the SCSI card back in and see what happens). But re-reading the error, it is device 1 on the internal controller (0) being referenced.

Have you been able to check the partitioning by re-running "fx -x" and using the "label" menu (from memory - it's reasonably intuitive)?
Fuel; Indigo2; Inspiron 531 WinXP/Win10/debian-buster; Inspiron 4100 debian-buster; RiscPC Kinetic/448MB/RISCOS4.39; RPi B/256MB RISCOS5.23; RPi2 Raspbian-buster; A5000/33MHz/FPA11/8MB/RISCOS3.11; A540/25MHz/FPA10/16MB/RISCOS3.11 or RISCiX1.21

sornywrx
Posts: 31
Joined: Mon Aug 17, 2015 4:05 pm

Re: New guy, just bought a Fuel

Unread postby sornywrx » Sun Aug 23, 2015 11:40 am

I did pull the SCSI card out and tried again, same thing... but i was thinking the same thing you just said that controller 0 should be the internal (assumed so anyways).

It's in the middle of a disk exercise now and is going pretty slow (might take another hour or two) but after that I'll try checking the label again as I haven't tried that.

Also, if it helps, after I partition and try to run the installer, if I go back and run boot -f it gives me a message a miniroot install is misconfigured or previous installation failed. Gives me options to 'c' continue, 'f' to fix the miniroot install state and try again, or 'a' abort and return to menu.

I've tried them all and never got anywhere. If I do a 'fix' it tells me that miniroot install state reset to normal. This is the part where my troubleshooting skills are weak as I'm not sure what the miniroot is or what it's trying to do so I can't really get my head in there and figure it out. I've worked in IT 15 years and am now a Systems Engineer but it's all Windows and VMware stuff with a little linux, so I have the IT and troubleshooting background but am lost on this.

ajw99uk
Posts: 256
Joined: Tue Apr 19, 2011 4:59 am
Location: Yorkshire, UK

Re: New guy, just bought a Fuel

Unread postby ajw99uk » Sun Aug 23, 2015 12:15 pm

One other thing to check - PROM "printenv" show?

Given the message about checking nvram, there may be a "funny" among the variables (paying special attention to the different ways PROM and IRIX refer to partitions!), in which case resetting those might get you further.
Fuel; Indigo2; Inspiron 531 WinXP/Win10/debian-buster; Inspiron 4100 debian-buster; RiscPC Kinetic/448MB/RISCOS4.39; RPi B/256MB RISCOS5.23; RPi2 Raspbian-buster; A5000/33MHz/FPA11/8MB/RISCOS3.11; A540/25MHz/FPA10/16MB/RISCOS3.11 or RISCiX1.21

User avatar
foetz
Moderator
Moderator
Posts: 6543
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Re: New guy, just bought a Fuel

Unread postby foetz » Sun Aug 23, 2015 12:34 pm

usually it's a good idea to do a "resetenv" in the prom before starting an installation. otherwise have a look at the output of "hinv" and set SystemPartition and OSLoadPartition accordingly

sornywrx
Posts: 31
Joined: Mon Aug 17, 2015 4:05 pm

Re: New guy, just bought a Fuel

Unread postby sornywrx » Sun Aug 23, 2015 2:15 pm

Here's my printenv after a reset (should've taken a pic before but didn't)

== see attachment ==

I'm assuming the System and OSLoad partition entries are correct.

What seems to be failing here? When I partitioned the drive and then tried to boot the installer is it loading files to the HD and then trying to boot it (and failing)? Guess I"m just lost on the boot process as I'm used to standard x86 PCs with BIOS.

I did an 'ls' from the command line and it shows :
dksc(0,1,8)/:
sgilabel

Is that right? 'sgilabel' is what the partitioning tool showed as the drive label after I let it setup the default root partition.

Thanks for the help, btw guys. If I need to start a new thread at this point just let me know.
Attachments
eDnAiVf.jpg
Last edited by foetz on Sun Aug 23, 2015 5:02 pm, edited 1 time in total.
Reason: please keep the image sizes reasonable or attach otherwise

User avatar
foetz
Moderator
Moderator
Posts: 6543
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Re: New guy, just bought a Fuel

Unread postby foetz » Sun Aug 23, 2015 5:03 pm

sornywrx wrote:When I partitioned the drive

how did you do that?

sornywrx
Posts: 31
Joined: Mon Aug 17, 2015 4:05 pm

Re: New guy, just bought a Fuel

Unread postby sornywrx » Sun Aug 23, 2015 5:30 pm

foetz wrote:
sornywrx wrote:When I partitioned the drive

how did you do that?


Is that not what fx does? Sorry, I thought that fx was a disk partitioning tool. As I understood it I was to run fx (which seems to run ok) then run the installation tools off the CD and format the drive and finish the install.

Also, I just saw your edit for the image size. I apologize and will resize them next time.

User avatar
foetz
Moderator
Moderator
Posts: 6543
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Re: New guy, just bought a Fuel

Unread postby foetz » Sun Aug 23, 2015 5:38 pm

sornywrx wrote:Is that not what fx does?

oh yes it is but i wanted to know what you did in fx i.e. how you partitioned the disk exactly

Also, I just saw your edit for the image size. I apologize and will resize them next time.

no worries :-)

sornywrx
Posts: 31
Joined: Mon Aug 17, 2015 4:05 pm

Re: New guy, just bought a Fuel

Unread postby sornywrx » Sun Aug 23, 2015 5:44 pm

foetz wrote:
sornywrx wrote:Is that not what fx does?

oh yes it is but i wanted to know what you did in fx i.e. how you partitioned the disk exactly


Ah, ok, yes I looked at a few guides and they all had the same procedure which was:

Press enter for disk defaults (controller 0, drive 1), it found my Seagate drive ok. I then did the following:

-'r' for repartition
-'ro' for root drive option
-confirmed XFS
-'..' to go up a level
-'l' for new disk label
-'sy' for new disk label (which was confirmed with a message)
-'ex' for exit... I believe here it asked if I wanted to save changes to the disk, I typed y

Then it rebooted. And with the same CD in the drive I tried to continue the installation and after reading the tools portion of the CD for 20-30 sec that's when I got the error message in the screen shot about being unable to read /hw etc etc.


I did as little reading. Read about the process and how after partitioning the option to start the install copies the 'miniroot' to a partition (#1) on the HD then boots it.

So I go to the cmd line and loaded sash64 and typed 'ls' on a fresh disk partition, BEFORE running the install. It only showed 1 partition, dksc(0,1,8) which is 'sgilabel'

After I attempted the install and it copies the tools from the CD (and then fails to give me the inst> prompt where I'd run mkfs) I went back to the prompt and run ls. This time it shows the dksc(0,1,8) with 'sgilabel' AND dksc(0,1,1) with some files and folders.
.cshrc .login .profile bin dev etc hw lib lib32 sbin usr var

I did an 'dksc(0,1,1)/hw' and it shows that it's an empty drive. So I don't know if this is the same 'hw' referenced in the error in my earlier screenshot or if it's supposed to be empty.

Ah, I ran dksc(0,1,1)/bin just to see what it'd have an I got "xfs: file read error" and "read of inode failed" "inode 0 has invalid magic number 0x5846' and could not read file ..U(A" ---except the ..U(A part of the 'file' name was the u with an ^ on top and an A with a ` on top.... obviously not real files and showing file corruption :( Not sure if it's the HD or the media.

So it looks like its at least seeing the drive, setting up partitions, and attempting to copy the tools but then fails to load the miniroot.

Either way I'm already learning a lot about IRIX :)
Last edited by foetz on Sun Aug 23, 2015 6:58 pm, edited 1 time in total.
Reason: quote fixed and merged

User avatar
foetz
Moderator
Moderator
Posts: 6543
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Re: New guy, just bought a Fuel

Unread postby foetz » Sun Aug 23, 2015 7:08 pm

sornywrx wrote:Press enter for disk defaults (controller 0, drive 1), it found my Seagate drive ok. I then did the following:

-'r' for repartition
-'ro' for root drive option
-confirmed XFS
-'..' to go up a level
-'l' for new disk label
-'sy' for new disk label (which was confirmed with a message)
-'ex' for exit... I believe here it asked if I wanted to save changes to the disk, I typed y

yeah that's correct but you still have to format it after. partitioning does not include creating a filesystem which goes for pretty much any os.

after booting the cd go to the admin menu and escape to a shell. in there run "mount" to see the full path of your root partition. then try:

Code: Select all

umount root_partition_path_here
mkfs /hw/rdisk/dks0d1s0
mount /hw/disk/dks0d1s0 root_partition_path_here


after that leave the shell (ctrl+d), return to the main menu and proceed with the installation

sornywrx
Posts: 31
Joined: Mon Aug 17, 2015 4:05 pm

Re: New guy, just bought a Fuel

Unread postby sornywrx » Sun Aug 23, 2015 7:26 pm

foetz wrote:
sornywrx wrote:Press enter for disk defaults (controller 0, drive 1), it found my Seagate drive ok. I then did the following:

-'r' for repartition
-'ro' for root drive option
-confirmed XFS
-'..' to go up a level
-'l' for new disk label
-'sy' for new disk label (which was confirmed with a message)
-'ex' for exit... I believe here it asked if I wanted to save changes to the disk, I typed y

yeah that's correct but you still have to format it after. partitioning does not include creating a filesystem which goes for pretty much any os.

after booting the cd go to the admin menu and escape to a shell. in there run "mount" to see the full path of your root partition. then try:

Code: Select all

umount root_partition_path_here
mkfs /hw/rdisk/dks0d1s0
mount /hw/disk/dks0d1s0 root_partition_path_here


after that leave the shell (ctrl+d), return to the main menu and proceed with the installation



Thanks for the info but I'm a little lost... When you say 'booting the cd' are you talking about running boot -f dksc(1,6,8)sash64? Because when at the admin menu (the one with "Start System, Install System Software, Run Diagnostics, Recover System, Enter Command Monitor, Select KB Layout) I choose Enter Command Monitor and tried running the boot -f command on the CD and get the sash prompt. From there I tried to run mount, umount, mkfs and got errors about it being unknown.

I understand that the drive needs to be formatted after partitioning but all of the guides I've read on IRIX installation say to partition it with fx, then click "Install System Software" and then you're able to use mkfs to format once you get the miniroot prompt. I think my breakdown is occurring when the miniroot isn't installing properly so I don't get the opportunity to get a shell but maybe I misunderstood your directions.

User avatar
foetz
Moderator
Moderator
Posts: 6543
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Re: New guy, just bought a Fuel

Unread postby foetz » Sun Aug 23, 2015 11:28 pm

sornywrx wrote:I think my breakdown is occurring when the miniroot isn't installing properly so I don't get the opportunity to get a shell but maybe I misunderstood your directions.

oh so you never even got to inst?
btw which of the irix cds did you use?

robespierre
Posts: 1554
Joined: Mon Sep 12, 2011 2:28 pm
Location: Boston

Re: New guy, just bought a Fuel

Unread postby robespierre » Mon Aug 24, 2015 1:28 am

It sounds like there is a problem where the PROM and the miniroot are talking past each other. You may have to start the installation manually, using the command interpreter. Something like "dksc(0,1,1)unix root=dks0d1s1"
:PI: :O2: :Indigo2IMP: :Indigo2IMP:

sornywrx
Posts: 31
Joined: Mon Aug 17, 2015 4:05 pm

Re: New guy, just bought a Fuel

Unread postby sornywrx » Mon Aug 24, 2015 6:13 am

foetz wrote:
sornywrx wrote:I think my breakdown is occurring when the miniroot isn't installing properly so I don't get the opportunity to get a shell but maybe I misunderstood your directions.

oh so you never even got to inst?
btw which of the irix cds did you use?


That's correct, didn't even get to inst> prompt. Right before it should've loaded, after the CD is read and the tools are copied to the HD, it fails with that error message.

What's interesting is that after it copies the tools from the CD to the partition I can go to the command line (from the main menu) and type ls dksc(0,1,1) and it lists some files and folders. But *some* of the folders have files listed that look like the file names are corrupted. Such as "__ÀÙÙ" and the times I"ve seen that on other file systems is when files are corrupted. Not all of them are like this... I saw some files in the folders on dksc(0,1,1) as regular looking file names, but some were definitely corrupted.

I am thinking that when the CD tools are being copied to the 0,1,1 partition for miniroot somethings getting corrupted and that's why it's failing. If that's the case then I'm probably in a world of hurt as it could be lots of reasons why it's corrupting the data... CD-ROM drive, HD, controller issues, memory....

Are there any kind of diagnostics I can run without having IRIX installed? I've got fx doing a disk exercise now to check for problems and it's been running about 8 hours and is almost finished.

Also, forgot to mention this, my CDs are 6.5.22 Overlays 1/2/3 and I have 6.5 Foundations 1/2. I've burned a few copies of the Installation Tools CD (Overlay CD1 apparently) to make sure it wasn't a bad burn or something.


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

Who is online

Users browsing this forum: No registered users and 2 guests