[illumos-Developer] 'sd' driver - debug buffer

Piotr Jasiukajtis estseg at gmail.com
Fri Oct 8 07:54:31 PDT 2010


I would use anonymous tracing but I'm not able to mount root file
system that's why I use kmdb for that :)

On Fri, Oct 8, 2010 at 4:49 PM, Mike Gerdts <mgerdts at gmail.com> wrote:
> On Fri, Oct 8, 2010 at 9:46 AM, Piotr Jasiukajtis <estseg at gmail.com> wrote:
>> Hi,
>>
>> I'm looking for a ways to get more info from the sd driver from a
>> kernel debugger. I'm in very early booting stage.
>>
>> I see there is a 'sd_log_buf' buffer but it's empty. I'm using
>> non-debug build (142 at this moment). Should I use debug build or set
>> some magic variables to enable this buffer?
>
> Perhaps you could use anonymous tracing to capture the logs to a dtrace buffer.
>
> http://wikis.sun.com/display/DTrace/Anonymous+Tracing
>
> --
> Mike Gerdts
> http://mgerdts.blogspot.com/
>



-- 
Piotr Jasiukajtis | estibi | SCA OS0072
http://estseg.blogspot.com



More information about the Developer mailing list