Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Oct 2002 15:39:18 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Poul-Henning Kamp <phk@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/alpha/conf GENERIC SIMOS src/sys/conf NOTES files files.alpha files.i386 files.ia64 files.pc98 files.sparc64 options src/sys/dev/mcd mcd.c mcd_isa.c src/sys/geom geom_disk.c src/sys/i386/conf GENERIC OLDCARD src/sys/i386/isa scd.c ...
Message-ID:  <20021005153918.A17714@panzer.kdm.org>
In-Reply-To: <200210051635.g95GZXBq062212@freefall.freebsd.org>; from phk@FreeBSD.org on Sat, Oct 05, 2002 at 09:35:33AM -0700
References:  <200210051635.g95GZXBq062212@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 05, 2002 at 09:35:33 -0700, Poul-Henning Kamp wrote:
>   SCSI floppy drives:
>           Appearantly the scsi-da driver return "EBUSY" if no media
>           is inserted.  This is wrong, it should return ENXIO.

I haven't seen any mention of this elsewhere.

It is likely that this is caused by bogus drive firmware, not the da(4)
driver itself.

Errors in CAM are determined by the ASC/ASCQ pair, if available, and
otherwise by the sense key if they're not available.

If this device isn't returning a standard "Medium not present" sense code, 
we may not return ENXIO as you'd expect.

If you look in scsi_all.c, the "Medium not present" sense codes all result
in ENXIO being returned.

Ken
-- 
Kenneth Merry
ken@kdm.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021005153918.A17714>