Does IRIX have a kernel debugging feature?
#1
Does IRIX have a kernel debugging feature?
I'm running into numerous kernel crashes while playing around with basic stub drivers for IRIX (printf debug statements, sending various UNIX signals etc.) 

Currently, the modus operandi is to spam printfs everywhere, create a trap/crash, reboot and check SYSLOG. Did IRIX ship with any kind of kernel debugging software?

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
02-27-2021, 04:17 AM
#2
RE: Does IRIX have a kernel debugging feature?
(02-27-2021, 04:17 AM)Raion Wrote:  I'm running into numerous kernel crashes while playing around with basic stub drivers for IRIX (printf debug statements, sending various UNIX signals etc.) 

Currently, the modus operandi is to spam printfs everywhere, create a trap/crash, reboot and check SYSLOG. Did IRIX ship with any kind of kernel debugging software?
The icrash(1M) tool is the rough equivalent of adb(1) or crash(1) on a SVR4 system. The idbg(1M) tool is the functional equivalent to SVR4's adb -k. There is also a "resident debugger" called symmon(1M) that runs as a standalone executable. You need to configure a debugging kernel, and have a serial console terminal, in order to use it.
http://retrogeeks.org/sgi_bookshelves/SG.../ch10.html

Personaliris O2 Indigo2 R10000/IMPACT Indigo2 R10000/IMPACT Indigo2 Indy   (past: 4D70GT)
robespierre
refector peritus

Trade Count: (0)
Posts: 640
Threads: 3
Joined: Nov 2020
Location: Massholium
Find Reply
02-27-2021, 04:54 AM
#3
RE: Does IRIX have a kernel debugging feature?
Oh nice. I'll read up on this.

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
02-27-2021, 04:57 AM


Forum Jump:


Users browsing this thread: 1 Guest(s)