[4508] in linux-scsi channel archive

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

Re: 2.0 scsi BLIST_SINGLELUN and MBR-7 (fwd)

daemon@ATHENA.MIT.EDU (Maxim Surdu)
Wed Aug 5 06:19:13 1998

Date: 	Tue, 04 Aug 1998 23:00:45 +0400
To: Derrick J Brashear <shadow@DEMENTIA.ORG>, linux-scsi@vger.rutgers.edu
From: Maxim Surdu <maxim@mas2000.msk.ru>
In-Reply-To: <Pine.SOL.3.95L.980804083349.18500B-100000@johnstown.andrew
 .cmu.edu>

At 08:39 04.08.98 -0400, Derrick J Brashear wrote:
>But I try anything which does simultaneous accesses and what ends up
>happening is:
>Aug  4 00:22:00 jooky kernel: scsi : aborting command due to timeout : pid
>4937, scsi1, channel 0, id 2, lun 0 Read (6) 00 00 19 01 00 
>Aug  4 00:22:30 jooky kernel: scsi : aborting command due to timeout : pid
>4950, scsi1, channel 0, id 2, lun 3 Read (6) 60 00 26 01 00 
>Aug  4 00:22:32 jooky kernel: scsi : aborting command due to timeout : pid
>4937, scsi1, channel 0, id 2, lun 0 Read (6) 00 00 19 01 00 
>Aug  4 00:22:32 jooky kernel: SCSI host 1 abort (pid 4937) timed out -
>resetting
>Aug  4 00:22:32 jooky kernel: SCSI bus is being reset for host 1 channel
>0.
>Aug  4 00:23:03 jooky kernel: SCSI host 1 abort (pid 4950) timed out -
>resetting
>Aug  4 00:23:03 jooky kernel: SCSI bus is being reset for host 1 channel
>0.
>Aug  4 00:23:04 jooky kernel: CD-ROM I/O error: dev 0b:02, sector 100
>Aug  4 00:23:04 jooky kernel: CD-ROM I/O error: dev 0b:05, sector 152
>
>There are only 2 places in scsi.c where single_lun protects any code.
>Immediately inside both chunks of code, I inserted a line:
>          printk("request to singlelun %d:%d:%d: %d\n", device->channel, 
>                 device->id, device->lun, SCpnt->request.cmd);
>and I never see it, so there's absolutely nothing protecting me,
>apparently, which I don't understand at all. Do (the things which are
>responsible for calling allocate_device and request_queueable) get set up
>on a host basis, i.e. the sparc esp driver overrides them, or something?

I have the same problem with AIC78xx driver on kernel 2.0.34...
I think that I know what is the problem... But I'll be able to dig with 
it only on weekend so if you solve this problem before me please send me
patch...
----------------------
Maxim Surdu
maxim@mas2000.msk.ru
MAS Elektronikhandels GmbH
Moscow
Tel. (7-095) 162-31-32,65-75,65-23,
Fax. (7-095) 962-0333.


-
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