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

Mike Gerdts mgerdts at gmail.com
Fri Oct 8 07:49:59 PDT 2010


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/



More information about the Developer mailing list