Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!cbnewsc!dcon From: dcon@cbnewsc.att.com (david.r.connet) Newsgroups: comp.unix.sysv386 Subject: Re: Kernel core dumps (was Re: out of swap space??) Keywords: forced panic Message-ID: <1991May13.204435.3138@cbnewsc.att.com> Date: 13 May 91 20:44:35 GMT References: <1991May4.232044.3487@NCoast.ORG> <9105122137.aa00923@art-sy.detroit.mi.us> <1991May13.162909.20686@turnkey.tcc.com> Distribution: na Organization: AT&T Bell Laboratories Lines: 46 In article <1991May13.162909.20686@turnkey.tcc.com> jackv@turnkey.TCC.COM (Jack F. Vogel) writes: >In article <9105122137.aa00923@art-sy.detroit.mi.us> chap@art-sy.detroit.mi.us (j chapman flack) writes: >[ wants a way to force a system panic...] > >>One person suggested using the kernel debugger; several suggested using >>`crash' to look at the running system. I don't have a development system >>and I haven't found anything lying around that looks like a kernel debugger, >>so I doubt that linking that in is an option for me. > >You don't need the development system, and the "debugger" is not some binary >that you would find "lying around". It should be an option in linking your >kernel. I don't know how far SCO varies from the AT&T standard, but if >you run 'kconfig' (or whatever SCO calls the kernel configurer program) >there should be an option to add facilities to the kernel, when you enter >that submenu one of the facilites you can add is the debugger. Then rebuild >a kernel and presto you have the debugger, you can drop into it at any >particular point by hitting d, then enter the command: >sysdump. If SCO doesn't include this facility you should scream loudly :-}. > >>Is there some undocumented way to >>modify things with `crash'? > >NO. You could use adb on the running system but then 3.2 doesn't have >adb, oh well... > >Disclaimer: I'm paid to fix bugs, not to speak for the company! > > >-- >Jack F. Vogel jackv@locus.com >AIX370 Technical Support - or - >Locus Computing Corp. jackv@turnkey.TCC.COM The kernel debugger for AT&T (as far as I know) is not available for the general public. (I would assume a source license gets it, but that type of stuff is out of my realm.) If you did have it though, you get into the same way as above. (There is also a call you can put into a program. This is convenient when you are running on an alternate console and don't have the keyboard to do a ctrl-alt-d.) The debugger gives you basically the same abilities as crash, though in a very different syntax (I don't know crash's syntax). Dave Connet dcon@iwtng.att.com