Subject: Re: dev/scsipi/ch.c:chattach() fix ? (and approval for commit?)
To: Stoned Elipot <seb@ssr.univ-paris7.fr>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 06/16/2004 23:20:36
On Wed, Jun 16, 2004 at 04:10:01PM +0200, Stoned Elipot wrote:
> On Wed, Jun 16, 2004 at 12:03:59PM +0200, Manuel Bouyer wrote:
> [SNIP]
> > > Well this does not solve the original "problem".
> > 
> > It shouldn't, it just add diagnostic printfs.
> 
> Oh right :}
> 
> [SNIP]
> > No "got Unit Attention, returning ERESTART" or "restarting command" for
> > ch0 ?
> > Can you see if with your patch, these messages appear for ch0 ?
> 
> Not with my patch applied.
> 
> ...
> sd1(esiop0:0:1:0): got Unit Attention, returning ERESTART
> sd1(esiop0:0:1:0): restarting command
> ...
> cd0(esiop0:0:6:0): restarting command
> ch0 at scsibus1 target 4 lun 0: <QUALSTAR, RLS-4221, 0047> changer removable
> ch0: 22 slots, 1 drive, 1 picker, 0 portals
> ch0: async, 8-bit transfers
> st0 at scsibus1 target 5 lun 0: <SONY, SDX-500C, 0204> tape removable
> st0: st0(esiop1:0:5:0): restarting command
> ...

Hum. Can you apply the attached patch and see if there's any message for ch0 ?
This is to make sure that this changer doesn't return any sense at all.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--