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 does not drop you 
>> into the ok prompt, and I recall reading somewhere online that there isn't 
>> such a thing as "ok" prompt on x86 architectures. 
>>
>> Could you please guide me in the right direction? How do I drop into the 
>> kernel debugger on x86 architectures? 
>>   
>>     
>
> There is no PROM debugger (ok prompt).
>
> However:  on both architectures, mdb -K on the system console will drop 
> into the kernel debugger (kmdb) for you, even if you forgot to boot via 
> kmdb.
>
> Break on a serial console should also drop you to the debugger, but 
> *only* if you have the kernel debugger loaded (e.g. via mdb -K or the 
> appropriate boot command in the GRUB command line.)
>
> 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.
>
>     -- Garrett
>   
And, of course, man kmdb should help...

max

>   
>> Thanks!
>>  
>>  
>> This message posted from opensolaris.org
>> _______________________________________________
>> opensolaris-code mailing list
>> opensolaris-code@opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
>>   
>>     
>
> _______________________________________________
> opensolaris-code mailing list
> opensolaris-code@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
>
>   

_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to