"PANIC: KERNEL FAULT" when trying to install Irix 6.5.22 via irixboot
#1
"PANIC: KERNEL FAULT" when trying to install Irix 6.5.22 via irixboot
Hey all,

I'm trying to install Irix 6.5.22 on my Indy R5000 using irixboot in Ubuntu (this fork: https://github.com/unxmaal/irixboot), and I'm running into the following error:

PANIC: KERNEL FAULT
PC: 0x8801ad40 ep: 0xffffc7a8
EXC code: 128, 'Software detected SEGV'
Bad addr: 0x4000, cause: 0x8<CE=-2009769480

[Press reset to restart the machine.]

Despite this, I can successfully run bootp():/disc1/stand/fx.ARCS from Command Monitor and launch fx to go through that part of the process. 

Indy specs:
256MB memory
2GB IBM HDD
SEAGATE HDD (don't know what size, but it's the first drive)
R5000 CPU

What's going on? Is this a hardware error? I've tried taking out half the ram but that only changed part of the error (what you see above is 128MB, 256MB replaces  the top line with "PC: 0x880c2708 ep: 0xffffc6b8").

I'm seriously stumped... after struggling for days to get irixboot/vagrant working correctly on a Windows 10 laptop, I finally dug out an older machine and installed Ubuntu, and successfully used fx.ARCS to partition the hard drive. I really thought everything was going to work this time  :(  For reference, my setup is: Laptop -> network switch -> Indy.

Also I'm extremely new to all of this, so before you respond, think to yourself: "how would I explain this to a 5 year old?". Any and all help is greatly appreciated, thank you.

- Chief
DeChief
O2

Trade Count: (0)
Posts: 6
Threads: 1
Joined: Dec 2018
Find Reply
12-07-2018, 05:34 AM
#2
RE: "PANIC: KERNEL FAULT" when trying to install Irix 6.5.22 via irixboot
So I did some research into this. This makes me think there's a memory slot in the bottom (primary) memory slots that's either corroded, making poor contact or has a cracked solder joint. Either way the kernel appears to be checking the memory for integrity and not liking it.

Make sure it's all fast page mode, parity 70/60ns SIMMs (PS/2 SIMMs should work okay)

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,240
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
12-07-2018, 03:15 PM
#3
RE: "PANIC: KERNEL FAULT" when trying to install Irix 6.5.22 via irixboot
There was a known bug with some variants of the Indy R5 processor (Revision 1.0?) that could cause SEGV faults during IRIX 6.5 installs.

It's been quite some time, but as I (vaguely) recall the fix for that issue was to set "_R5000_CVT_WAR" as a PROM variable.
indy99
nekochan displaced person

Trade Count: (0)
Posts: 60
Threads: 2
Joined: May 2018
Find Reply
12-08-2018, 12:53 AM
#4
RE: "PANIC: KERNEL FAULT" when trying to install Irix 6.5.22 via irixboot
That sounds about right.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,240
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
12-08-2018, 05:09 AM
#5
RE: "PANIC: KERNEL FAULT" when trying to install Irix 6.5.22 via irixboot
Thanks for the suggestions, I reflowed all of the ram solder joints and that didn't change anything. Then I tried setting that variable and it didn't change either... Is it possible there's something wrong with the CPU module? Should I look around for a replacement? It doesn't even have to be an R5000, at this point I'll take any CPU if it's going to actually let me install Irix.
DeChief
O2

Trade Count: (0)
Posts: 6
Threads: 1
Joined: Dec 2018
Find Reply
12-08-2018, 06:04 AM
#6
RE: "PANIC: KERNEL FAULT" when trying to install Irix 6.5.22 via irixboot
If you can find one cheap, sure. buy a new CPU module - any module should work.

I'm the system admin of this site. Private security technician, licensed locksmith, hack of a c developer and vintage computer enthusiast. 

https://contrib.irixnet.org/raion/ -- contributions and pieces that I'm working on currently. 

https://codeberg.org/SolusRaion -- Code repos I control

Technical problems should be sent my way.
Raion
Chief IRIX Officer

Trade Count: (9)
Posts: 4,240
Threads: 533
Joined: Nov 2017
Location: Eastern Virginia
Website Find Reply
12-08-2018, 06:14 AM
#7
RE: "PANIC: KERNEL FAULT" when trying to install Irix 6.5.22 via irixboot
You might want to try indy99's suggestion before you buy a new CPU:

(12-08-2018, 12:53 AM)indy99 Wrote:  There was a known bug with some variants of the Indy R5 processor (Revision 1.0?) that could cause SEGV faults during IRIX 6.5 installs.

It's been quite some time, but as I (vaguely) recall the fix for that issue was to set "_R5000_CVT_WAR" as a PROM variable.

Correct, For some R5000 machines, notably Indy's, this environment variable setting was needed to install 6.5.22m. Internet thread with the info is: http://unix.derkeiler.com/Newsgroups/com...00016.html

And for reference you have to set the variable in the PROM of the machine via:

setenv -p _R5000_CVT_WAR 0

The -p preserves the variable setting in the prom IIRC.
dexter1
Administrator

Trade Count: (1)
Posts: 297
Threads: 17
Joined: May 2018
Location: The Netherlands
Find Reply
12-08-2018, 08:58 AM
#8
RE: "PANIC: KERNEL FAULT" when trying to install Irix 6.5.22 via irixboot
(12-08-2018, 08:58 AM)dexter1 Wrote:  You might want to try indy99's suggestion before you buy a new CPU:

(12-08-2018, 12:53 AM)indy99 Wrote:  There was a known bug with some variants of the Indy R5 processor (Revision 1.0?) that could cause SEGV faults during IRIX 6.5 installs.  

It's been quite some time, but as I (vaguely) recall the fix for that issue was to set "_R5000_CVT_WAR" as a PROM variable.

Correct, For some R5000 machines, notably Indy's, this environment variable setting was needed to install 6.5.22m. Internet thread with the info is: http://unix.derkeiler.com/Newsgroups/com...00016.html

And for reference you have to set the variable in the PROM of the machine via:

setenv -p _R5000_CVT_WAR 0

The -p preserves the variable setting in the prom IIRC.

Yeah I found the command in an old nekochan thread, it didn't work as stated above. The kernel fault I'm getting is different to what you would see with that error anyway.
(This post was last modified: 12-09-2018, 02:03 AM by DeChief.)
DeChief
O2

Trade Count: (0)
Posts: 6
Threads: 1
Joined: Dec 2018
Find Reply
12-09-2018, 02:02 AM
#9
RE: "PANIC: KERNEL FAULT" when trying to install Irix 6.5.22 via irixboot
Okay, after somehow convincing myself not to smash the Indy R5000 with a sledgehammer and throw it out of a moving vehicle, I took a break for 2 months and am now coming back to it.

But as I worked on it for a few hours today, I was already beginning to regain those same feelings of frustration...

I've been trying to use my SCSI2SD as a CD-ROM drive emulator to install Irix 5.3 (downloaded from http://fr.irisware.net/irix-os/legacy-ir...y%20R5000/), and am having very little luck. When I try to install from the maintenance menu's second option "Install System Software", it will get through the "Copying Installation Tools" progress bar and then drop to this error:
Show Content

I've also tried booting into sashARCS and fx.ARCS from Command Monitor, and I can boot into sashARCS just fine but can't get into fx.ARCS from there. Despite the fact that I can use "ls" to see the file inside the "stand" folder, it gives me an error after I try "boot -f dksc(0,5,7)stand/fx.ARCS". I didn't take a photo of the error but will if somebody thinks it's relevant.

Does anybody have a single clue as to what is going on?

If not, I have an idea: would anybody possibly be willing to use their SGI machine and SCSI2SD to install an Indy R5000 compatible version of Irix onto a MicroSD card, and then send it to me? I'm completely happy to pay for the card and for shipping of course. If that doesn't work, then I'll pretty much know for sure that my Indy has some sort of hardware issue that needs to be repaired.
DeChief
O2

Trade Count: (0)
Posts: 6
Threads: 1
Joined: Dec 2018
Find Reply
02-01-2019, 07:06 AM
#10
RE: "PANIC: KERNEL FAULT" when trying to install Irix 6.5.22 via irixboot
Okay, update time:

I managed to make the SCSI2SD act as both a hard drive and CD drive, and I successfully got into fx.ARCS from the Irix 5.3 image! I formatted the drive and then backed out to the maintenance menu, clicked "Install System Software", aaaaaaand... was greeted with the exact same error from my last post.  :( :huh: :dodgy:
DeChief
O2

Trade Count: (0)
Posts: 6
Threads: 1
Joined: Dec 2018
Find Reply
02-01-2019, 10:03 AM


Forum Jump:


Users browsing this thread: 1 Guest(s)