[4678] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

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

daemon@ATHENA.MIT.EDU (Richard Waltham)
Wed Sep 9 05:28:14 1998

From: Richard Waltham <dormouse@farsrobt.demon.co.uk>
To: dormouse@farsrobt.demon.co.uk (dormouse)
Date: 	Wed, 9 Sep 1998 03:17:49 +0100 (BST)
Cc: ishikawa@yk.rim.or.jp, garloff@kg1.ping.de, linux-kernel@vger.rutgers.edu,
        linux-scsi@vger.rutgers.edu, alan@cymru.net, trevor@jpj.net,
        info@lianelle.com.au
In-Reply-To: <no.id> from "dormouse" at Sep 9, 98 02:49:05 am

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-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post