Messages in this thread | | | Date | Tue, 21 Oct 2003 11:20:57 -0700 | From | Patrick Mansfield <> | Subject | Re: BUG REPORT: terminal hangs when I load the sd_mod module |
| |
On Mon, Oct 20, 2003 at 11:30:49PM -0400, Chris Friesen wrote:
> When I try and load the sd_mod module, that terminal just simply freezes > and I can't break out. Similarly, if I compile scsi disk support right > into the kernel, it sits forever at boot time. I have the following > options set in my .config.
> This problem has been present since at least -test6. Any ideas what's > going on?
Maybe the MODE SENSE page cache is causing problems (known problem with some USB storage devices), triggering the error (i.e. timeout) handler to run, leading to the command being retried forever.
Turn on all scsi logging (you must be logging and booting over IDE, so the following won't cause infinite logging):
sysctl -w dev.scsi.logging_level=0xffffffff
Also get a trace of the hung process via sysrq.
After you get that data, try removing sd_do_mode_sense() calls in sd.c to see if MODE SENSE commands are causing problems.
You could also try using sg (sg_utils) to send a MODE SENSE page 8, and see what happens.
-- Patrick Mansfield - 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/
| |