Re: Panic in scsi.c ( and a fix)

Richard Waltham (dormouse@farsrobt.demon.co.uk)
Wed, 9 Sep 1998 03:17:49 +0100 (BST)


My previous message had an incorrect printk patch. Should be as below.

>
> The following patch to scsi.c will show the order devices are scanned if
> you're interested. It is not part of the fix.
>
> --- linux-2.0.36-pre8/drivers/scsi/scsi.c~ Wed Sep 9 01:10:19 1998
> +++ linux/drivers/scsi/scsi.c Wed Sep 9 01:12:24 1998
> @@ -1081,6 +1081,10 @@
> target_busy = 0;
> SCpnt = device->host->host_queue;
> while(SCpnt){
> + printk("single_lun: (%d,%d,%d)\n",
> + SCpnt->channel,
> + SCpnt->target,
> + SCpnt->lun);
> if(SCpnt->channel == device->channel
> && SCpnt->target == device->id) {
> if (SCpnt->lun == device->lun) {
>

Richard

-- 
 Richard Waltham   |              Work: richard@digitalinterface.demon.co.uk
   At home in      |              Home:        dormouse@farsrobt.demon.co.uk
 Southampton UK    |                              100421.1276@compuserve.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/faq.html