>Is there a way to make the SCSI layers (midlayer, sd, etc.) print out >some debug output to /var/log/messages
Note that no kernel code puts stuff in /var/log/messages. The SCSI log messages are ordinary kernel messages, and most people have a user space process or two running that suck recent kernel messages out of the kernel message buffer and write them into /var/log/messages. They typically control this behavior with /etc/syslog.conf. It's good to remember this because of a couple of things. First of all, a lot of syslog.confs say to ignore "debug" level messages or put them some place besides /var/log/messages. Second, if the kernel generates the messages faster than the syslog daemon can move them to /var/log/messages, you'll miss some. Third, the filesystem I/O this process does to write to the log file might interfere with whatever you're trying to investigate. A log_buf_len= kernel boot parameter is useful for making the kernel message buffer big enough to avoid overruns. Two sometimes simpler ways to gather your SCSI debug messages are: have the kernel display them on the console, by issuing a 'dmesg -n8' command (this isn't useful if your console is in graphics mode), and simply display or move to a file the contents of the kernel message buffer, with 'dmesg'. - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

