Date: Mon, 12 May 1997 11:38:01 +0100 (BST) From: bryan@fsel.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: kern/3580: Bad LUN probes on Xyratex MCD540 drive Message-ID: <199705121038.LAA22984@metis.fsel.com> Resent-Message-ID: <199705121050.DAA11702@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 3580 >Category: kern >Synopsis: 2.2.1 probes invalid LUNs on Xyratex MCD540 drive >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 12 03:50:01 PDT 1997 >Last-Modified: >Originator: Bryan Scattergood >Organization: Formal Systems (Europe) Ltd >Release: FreeBSD 2.2.1 >Environment: Cyrix P120+ on an AI5TH (HX,PCI) motherboard Adaptec 1542CF driving 0 730M Quantum Lightning 730S 2 Goldstar CDROM (GCD-R320) 4 Xyratex MCD 540I (540M removable drive related to the 270M Syquests) 6 WangDAT Model 1300 >Description: During boot ... aha0 at 0x330-0x333 irq 11 drq 5 on isa aha0 waiting for scsi devices to settle (aha0:0:0): "QUANTUM LIGHTING 730S 241E" type 0 fixed SCSI 2 sd0(aha0:0:0): Direct-Access 699MB (1431760 512 byte sectors) (aha0:2:0): "GOLDSTAR CD-ROM GCD-R320 1.0" type 5 removable SCSI 2 cd0(aha0:2:0): CD-ROM cd present [400000 x 2048 byte records] (aha0:4:0): "Xyratex MCD 540I 5.30" type 0 removable SCSI 2 sd1(aha0:4:0): Direct-Access 515MB (1055416 512 byte sectors) (aha0:4:1): "Xyratex MCD 540I 5.30" type 0 removable SCSI 2 sd2(aha0:4:1): Direct-Access 515MB (1055416 512 byte sectors) sd2(aha0:4:1): timed out sd2(aha0:4:1): timed out adapter not taking commands.. frozen?! AGAIN sd2 could not mode sense (4). Using fictitious geometry aha0: MBO 02 and bot 00 (free) ... and then another half-hour or so while the driver times out on the other 4:2 through 4:7, then on 5:0 and 6:0. The WangDAT isn't recognised. It then can't find the CD-ROM drive, presumably since the SCSI controller is jammed. >How-To-Repeat: Boot with the Xyratex in the SCSI bus under 2.2.1. >Fix: Problem caused by the new SCSI configuration scheme in scsiconf.c (system worked fine under 2.1.6, although the Xyratex behaviour is obviously broken). The Xyratex reports as a T_DIRECT and T_REMOV device and so gets mapped to the unknowndev entry which defines SC_MORE_LUS. Under 2.1.6 it mapped to the generic "sd" entry in the knowndevs table which defines SC_ONE_LU. Successfully worked round the problem by adding a { T_DIRECT, T_DIRECT, T_REMOV, "*", "*", "*", "sd", SC_ONE_LU } entry in the knowndev table. More brutal alternative might be to change unknowndev to SC_ONE_LU. More subtle might be to add a an entry specfific the MCD540. >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705121038.LAA22984>