![]() | |||||||||||
Messages in this thread |
jtholmesjr@comcast.net [jtholmesjr@comcast.net] wrote: > The problem: > > I thought > echo "scsi log all" >/proc/scsi/scsi > with > scsi_logging=y in .config > would turn on kernel scsi logging and put some notification line > in /var/log/messages > indicating scsi logging was now active at such and such a level > > that is not happening and I have a external drive connected via > usb talking scsi that cannot be unmounted and i need to trace > scsi action so I can post here. > > lsscsi output is > [0:0:0:0] disk USB 2.0 Storage Device 0100 /dev/sda > [1:0:0:0] disk Linux scsi_debug 0004 /dev/sdb > The scsi logging interface switched control from proc to sysctl. sysctl -w dev.scsi.logging_level=0xffffffff Will result in a scsi log all. You need to use caution if syslogd is running and you have other scsi devices. -andmike -- Michael Anderson andmike@us.ibm.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||
| Last update: 2005-03-22 13:58 [from the cache] ©2003-2008 | |||||||||||