Date: Sat, 4 Jan 1997 12:47:51 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: gurney_j@resnet.uoregon.edu (John-Mark Gurney) Cc: freebsd-scsi@FreeBSD.org (FreeBSD SCSI list) Subject: Re: Ideas on CD changers sought Message-ID: <Mutt.19970104124751.j@uriah.heep.sax.de> In-Reply-To: <Mutt.19970104123854.j@uriah.heep.sax.de>; from J Wunsch on Jan 4, 1997 12:38:54 %2B0100 References: <Mutt.19970104104444.j@uriah.heep.sax.de> <Pine.NEB.3.95.970104025030.300A-300000@hydrogen.nike.efn.org> <Mutt.19970104123854.j@uriah.heep.sax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
As I wrote: > > (bt0:3:1): "unknown unknown ????" type 0 fixed SCSI 0 > > sd2(bt0:3:1): Direct-Access > > sd2(bt0:3:1): ILLEGAL REQUEST asc:24,0 Invalid field in CDB > > That's the consequence out of assuming `direct access' from the null > inquiry. I think this should be killed, the device should be assigned > to the `uk' driver (unknown SCSI device) in case it failed to deliver > inquiry data. It makes things only worse this way. > > (The docking station of our Toshiba T5100 notebook contains an AIC7850 > and an unknown CD drive. Since it times out during inquiry, the > driver also assumes it to be an `sd0', which finally causes the kernel > to panic.) Since you're just in experimenting :), please try this. It should make the misprobed devices (LUNs in your case) going to the uk driver. If nobody objects, i would commit that change, including the 2.2 branch. I feel much safer with it than with the current scenario of assigning those devices to the `sd' driver (which is IMHO an artifact only of T_DIRECT having the value 0). Index: sys/scsi/scsiconf.c =================================================================== RCS file: /home/ncvs/src/sys/scsi/scsiconf.c,v retrieving revision 1.73 diff -u -u -r1.73 scsiconf.c --- scsiconf.c 1996/12/20 20:43:45 1.73 +++ scsiconf.c 1997/01/04 11:44:04 @@ -1256,6 +1256,7 @@ make_readable(manu, "unknown", sizeof(manu)); make_readable(model, "unknown", sizeof(model)); make_readable(version, "????", sizeof(version)); + type = T_UNKNOWN; } sc_print_start(sc_link); -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970104124751.j>