Re: [osol-code] Debugging a system freeze: Booting with -k

2010-10-12 Thread Casper . Dik
>On Tue, 2010-10-12 at 17:12 +0200, casper@sun.com wrote: >> >Do you like to tell us that the current code no longer supports Sun serial >> >keyboards? >> >> The code is still there but the hardware is no longer supported. >> >> >> I've actually added some code to the frkit "acpidrv" which

Re: [osol-code] Debugging a system freeze: Booting with -k

2010-10-12 Thread Garrett D'Amore
On Tue, 2010-10-12 at 17:12 +0200, casper@sun.com wrote: > >Do you like to tell us that the current code no longer supports Sun serial > >keyboards? > > The code is still there but the hardware is no longer supported. > > > I've actually added some code to the frkit "acpidrv" which can creat

Re: [osol-code] Debugging a system freeze: Booting with -k

2010-10-12 Thread Saadia Fatima
The system specs are: x86, snv111b 32-bit USB keyboard and mouse. -- This message posted from opensolaris.org ___ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Re: [osol-code] Debugging a system freeze: Booting with -k

2010-10-12 Thread Casper . Dik
>Do you like to tell us that the current code no longer supports Sun serial >keyboards? The code is still there but the hardware is no longer supported. I've actually added some code to the frkit "acpidrv" which can create a panic or enter kdb when you hit the (soft) powerbutton three times qu

Re: [osol-code] Debugging a system freeze: Booting with -k

2010-10-12 Thread Joerg Schilling
Alan Coopersmith wrote: > joerg.schill...@fokus.fraunhofer.de wrote: > > On a Sparc system, you can replug the kbd > > If you still have a working system with a pre-USB keyboard. > There is of course zero overlap between such systems and the > set of SPARC systems officially supported by OpenSol

Re: [osol-code] Debugging a system freeze: Booting with -k

2010-10-12 Thread Alan Coopersmith
joerg.schill...@fokus.fraunhofer.de wrote: > On a Sparc system, you can replug the kbd If you still have a working system with a pre-USB keyboard. There is of course zero overlap between such systems and the set of SPARC systems officially supported by OpenSolaris 2009.06 or Solaris 11, or the se

Re: [osol-code] Debugging a system freeze: Booting with -k

2010-10-12 Thread Joerg Schilling
"Garrett D'Amore" wrote: > On Mon, 2010-10-11 at 11:18 -0700, Saadia Fatima wrote: > > How can I catch a system panic/freeze. I tried booting up with a kernel > > debugger, with -k option in the GRUB menu. When the system freezes how can > > I switch to the debugger? I tried f1+shift+a but it d

Re: [osol-code] Debugging a system freeze: Booting with -k

2010-10-11 Thread Jonathan Adams
On Mon, Oct 11, 2010 at 11:22:56AM -0700, Garrett D'Amore wrote: > On Mon, 2010-10-11 at 11:18 -0700, Saadia Fatima wrote: > > How can I catch a system panic/freeze. I tried booting up with a kernel > > debugger, with -k option in the GRUB menu. When the system freezes how can > > I switch to the

Re: [osol-code] Debugging a system freeze: Booting with -k

2010-10-11 Thread Garrett D'Amore
On Mon, 2010-10-11 at 11:18 -0700, Saadia Fatima wrote: > How can I catch a system panic/freeze. I tried booting up with a kernel > debugger, with -k option in the GRUB menu. When the system freezes how can I > switch to the debugger? I tried f1+shift+a but it did not work. > > Thanks > SF If

[osol-code] Debugging a system freeze: Booting with -k

2010-10-11 Thread Saadia Fatima
How can I catch a system panic/freeze. I tried booting up with a kernel debugger, with -k option in the GRUB menu. When the system freezes how can I switch to the debugger? I tried f1+shift+a but it did not work. Thanks SF -- This message posted from opensolaris.org ___

Re: [osol-code] Debugging shared object/libraries in ON

2008-07-31 Thread Cyril Plisko
On Thu, Jul 31, 2008 at 3:27 PM, Jan Pechanec <[EMAIL PROTECTED]> wrote: > On Thu, 31 Jul 2008, Darren J Moffat wrote: > >>> I am building debug version of one of the shared libraries in ON (I >>> need to run it through dbx), but it seems to still lack debug info. >>> Am I missing something obviou

Re: [osol-code] Debugging shared object/libraries in ON

2008-07-31 Thread Jan Pechanec
On Thu, 31 Jul 2008, Darren J Moffat wrote: >> I am building debug version of one of the shared libraries in ON (I >> need to run it through dbx), but it seems to still lack debug info. >> Am I missing something obvious here, or does it require some special >> make procedure to be used ? >> I am

Re: [osol-code] Debugging shared object/libraries in ON

2008-07-31 Thread Cyril Plisko
On Thu, Jul 31, 2008 at 3:19 PM, Darren J Moffat <[EMAIL PROTECTED]> wrote: > Cyril Plisko wrote: >> >> Hello ! >> >> I am building debug version of one of the shared libraries in ON (I >> need to run it through dbx), but it seems to still lack debug info. >> Am I missing something obvious here, o

Re: [osol-code] Debugging shared object/libraries in ON

2008-07-31 Thread Darren J Moffat
Cyril Plisko wrote: > Hello ! > > I am building debug version of one of the shared libraries in ON (I > need to run it through dbx), but it seems to still lack debug info. > Am I missing something obvious here, or does it require some special > make procedure to be used ? > I am able to debug it

[osol-code] Debugging shared object/libraries in ON

2008-07-31 Thread Cyril Plisko
Hello ! I am building debug version of one of the shared libraries in ON (I need to run it through dbx), but it seems to still lack debug info. Am I missing something obvious here, or does it require some special make procedure to be used ? I am able to debug it if I compile every source myself a

Re: [osol-code] Debugging Solaris on x86

2008-07-11 Thread Artem Kachitchkine
> There's also a keyboard sequence to do it for PS/2 keyboards -- I'm > pretty sure its CTRL-ALT-D (note that is "D" as in David, not > DELETE!) I've not tested to find out if it works for USB keyboards. It's F1-A ___ opensolaris-code mailing list

Re: [osol-code] Debugging Solaris on x86

2008-07-11 Thread [EMAIL PROTECTED]
Garrett D'Amore wrote: > Alexandra (Sasha) Fedorova wrote: > >> Hello, >> >> When I used to debug Solaris on SPARC, I'd send a "break" signal Ctrl-] to >> the console, the system would drop into "ok" prompt and I'd start mdb like >> this: "mdb -k". However, on x86 platform the break signal do

Re: [osol-code] Debugging Solaris on x86

2008-07-11 Thread Garrett D'Amore
Alexandra (Sasha) Fedorova wrote: > Hello, > > When I used to debug Solaris on SPARC, I'd send a "break" signal Ctrl-] to > the console, the system would drop into "ok" prompt and I'd start mdb like > this: "mdb -k". However, on x86 platform the break signal does not drop you > into the ok prom

[osol-code] Debugging Solaris on x86

2008-07-11 Thread Alexandra (Sasha) Fedorova
Hello, When I used to debug Solaris on SPARC, I'd send a "break" signal Ctrl-] to the console, the system would drop into "ok" prompt and I'd start mdb like this: "mdb -k". However, on x86 platform the break signal does not drop you into the ok prompt, and I recall reading somewhere online tha

Re: [osol-code] Debugging

2006-07-13 Thread Dan Mick
Ivan wrote: Hi, Could somebody tell me what the handiest way is to debug system call implementations? For example I would like to debug access function in /on/usr/src/uts/common/syscall/access.c and the stat,cstatat, ... functions in /on/usr/src/uts/common/syscall/stat.c Do you mean someth

Re: [osol-code] Debugging

2006-07-13 Thread Darren J Moffat
Ivan wrote: Hi, Could somebody tell me what the handiest way is to debug system call implementations? For example I would like to debug access function in /on/usr/src/uts/common/syscall/access.c and the stat,cstatat, ... functions in /on/usr/src/uts/common/syscall/stat.c DTrace syscall pro

[osol-code] Debugging

2006-07-12 Thread Ivan
Hi, Could somebody tell me what the handiest way is to debug system call implementations? For example I would like to debug access function in /on/usr/src/uts/common/syscall/access.c and the stat,cstatat, ... functions in /on/usr/src/uts/common/syscall/stat.c Thanks a lot Best regards, Ivan

Re: [osol-code] Debugging and testing

2006-05-12 Thread Alan DuBoff
On Thursday 11 May 2006 08:27 pm, Dan Mick wrote: > I don't know what you're saying, Alan; all I mean is "don't put the blame > for the OS boot hang on SATA configuration just yet until we have more > proof". That's not affected by BIOS in any way I can tell. Well, I figured we know it runs Solari

Re: [osol-code] Debugging and testing

2006-05-11 Thread Dan Mick
Alan DuBoff wrote: On Thursday 11 May 2006 05:33 pm, Dan Mick wrote: Alan DuBoff wrote: On Wednesday 10 May 2006 11:53 pm, Ivan wrote: I've got an AMD Opteron machine with a Tyan Motherboard (S2882) - SCSI (Adaptac 7902W) and SATA (Sil 3114 controller) present. When I try to install Openso

Re: [osol-code] Debugging and testing

2006-05-11 Thread Alan DuBoff
On Thursday 11 May 2006 05:33 pm, Dan Mick wrote: > Alan DuBoff wrote: > > On Wednesday 10 May 2006 11:53 pm, Ivan wrote: > >>I've got an AMD Opteron machine with a Tyan Motherboard (S2882) - SCSI > >>(Adaptac 7902W) and SATA (Sil 3114 controller) present. When I try to > >>install Opensolaris b38

Re: [osol-code] Debugging and testing

2006-05-11 Thread Dan Mick
Alan DuBoff wrote: On Wednesday 10 May 2006 11:53 pm, Ivan wrote: I've got an AMD Opteron machine with a Tyan Motherboard (S2882) - SCSI (Adaptac 7902W) and SATA (Sil 3114 controller) present. When I try to install Opensolaris b38 the machine hangs after the message Configuring Devices. I thi

Re: [osol-code] Debugging and testing

2006-05-11 Thread Alan DuBoff
On Wednesday 10 May 2006 11:53 pm, Ivan wrote: > I've got an AMD Opteron machine with a Tyan Motherboard (S2882) - SCSI > (Adaptac 7902W) and SATA (Sil 3114 controller) present. When I try to > install Opensolaris b38 the machine hangs after the message Configuring > Devices. I think it has somet

Re: [osol-code] Debugging and testing

2006-05-11 Thread Shudong Zhou
The easiest way is to modify the "failsafe" archive and boot that. The archive is at /boot/x86.miniroot-safe, in gzip'ed hsfs format. You can convert it to filesystem format with /boot/solaris/bin/root_archive unpack /boot/x86.miniroot-safe /tmp/root Now, everything is in /tmp/root. You can r

Re: [osol-code] Debugging and testing

2006-05-11 Thread James C. McPherson
Ivan wrote: I've got an AMD Opteron machine with a Tyan Motherboard (S2882) - SCSI (Adaptac 7902W) and SATA (Sil 3114 controller) present. When I try to install Opensolaris b38 the machine hangs after the message Configuring Devices. I think it has something to do with SATA. I've noticed in th

[osol-code] Debugging and testing

2006-05-10 Thread Ivan
Hi, I've got an AMD Opteron machine with a Tyan Motherboard (S2882) - SCSI (Adaptac 7902W) and SATA (Sil 3114 controller) present. When I try to install Opensolaris b38 the machine hangs after the message Configuring Devices. I think it has something to do with SATA. I've noticed in the bug

Re: [osol-code] Debugging

2006-03-27 Thread James C. McPherson
Joerg Schilling wrote: Oliver Yang <[EMAIL PROTECTED]> wrote: Yeah, I read Frank Hofmann's book couple months ago. And it's really a good book for those who want to be familiar with Soalris x86. But, it seems that book has not been finished yet. I really hope Frank can finish and publish it. :

Re: [osol-code] Debugging

2006-03-25 Thread Joerg Schilling
Oliver Yang <[EMAIL PROTECTED]> wrote: > Yeah, I read Frank Hofmann's book couple months ago. And it's really a > good book for those who want to be familiar with Soalris x86. > > But, it seems that book has not been finished yet. I really hope Frank > can finish and publish it. :-) Frank is o

Re: [osol-code] Debugging

2006-03-23 Thread Oliver Yang
Tao Chen wrote: On 3/23/06, *Gavin Maltby* <[EMAIL PROTECTED] > wrote: Frank Hofmann has a book "The Solaris Operating System on x86 Platform" covering Crashdump Analysis and Operating System Internals. I'm sure he's opensourced or similar it,

Re: [osol-code] Debugging

2006-03-23 Thread Tao Chen
On 3/23/06, Gavin Maltby <[EMAIL PROTECTED]> wrote: Frank Hofmann has a book "The Solaris Operating System on x86 Platform"covering Crashdump Analysis and Operating System Internals.  I'm sure he's opensourcedor similar it, but I don't see it on his blog.  Anyway dig it up (or mail me if you can't

Re: [osol-code] Debugging

2006-03-23 Thread Gavin Maltby
On 03/23/06 20:52, Matty wrote: If Sun puts together an opensolaris conference (which I hope they do), debugging crash dumps would be an awesome topic to cover. Also, Kimberly Brown put a poll up on her website to see if people would like an updated version of Panic! I am not sure if she decid

Re: [osol-code] Debugging

2006-03-23 Thread Matty
On Thu, 23 Mar 2006, Eric Lowe wrote: If you're interested in debugging in the kernel the Panic! book is a good place to start (though as I noted it's out of date with respect to the tools). Internally within Sun there is a course which teaches core dump analysis which is more up-to-date with

Re: [osol-code] Debugging

2006-03-23 Thread Eric Lowe
Ivan wrote: You told us that you like questions :-) Here's a new one: Heh, I'm getting exactly what I asked for. ;) Could you tell me how the OpenSolaris could be debugged? (Especially the VM part)? I wish there was a great resource I could point to for this but there isn't one. Havin

[osol-code] Debugging

2006-03-23 Thread Ivan
Eric, You told us that you like questions :-) Here's a new one: Could you tell me how the OpenSolaris could be debugged? (Especially the VM part)? Thanks a lot With kindest regards, Ivan This message posted from opensolaris.org ___ opensolaris-code