isp(4) - setting debug mode flags

Ross westr at connection.ca
Mon Aug 25 16:53:09 UTC 2008


To close my own thread with an answer.  I forgot that I was statically
compiling in my hints file into the kernel, so therefore any overrides
in /boot/device.hints would not work.

SL> First thing to check is whether what you're setting is actually making
SL> it into the kernel environment and is what you expect it to be.  Run
SL> 'kenv' on a running system and look for the hint.isp.0.debug string.
SL> Second, it looks like ISP_LOGDEBUG1 is the only flag that has any
SL> special meaning, make sure you set that as well as ISP_LOGWARN and
SL> ISP_LOGERR (the default flags).

ISP_LOGDEBUG0 is the best so far - LOGDEBUG1 provides a huge amount of
additional output that is probably too much.

Debug value of "0x11F" provides the majority of needed output for me.



Ross.

-- 




More information about the freebsd-scsi mailing list