NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/47646: Test dev/scsipi/t_cd:noisyeject broken
The following reply was made to PR kern/47646; it has been noted by GNATS.
From: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
To: Martin Husemann <martin%duskware.de@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, Antti Kantee <pooka%NetBSD.org@localhost>
Subject: Re: kern/47646: Test dev/scsipi/t_cd:noisyeject broken
Date: Fri, 15 Mar 2013 15:51:29 +0100
On Fri, Mar 15, 2013 at 11:32:16AM +0100, Martin Husemann wrote:
> [...]
>
> So the (simulated) device, when told to read 1024 bytes, reads 0 bytes
> and signals no error - is that OK?
it's not, it should at last return the feature header. See
http://www.google.fr/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CDoQFjAA&url=ftp%3A%2F%2Fftp.t10.org%2Ft10%2Fdocument.97%2F97-263r0.pdf&ei=LDNDUcbmF8eQhQeG84DgCA&usg=AFQjCNEFP6HJkVddmEJfQ1fCNHPYRTnonA&bvm=bv.43828540,d.ZG4
(document T10/97-263r0)
I guess the feature header could have a 0 data length, which would break
out of the loop immediatly.
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index