Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2012 15:47:53 +0100
From:      kirk russell <kirk@ba23.org>
To:        freebsd-stable@freebsd.org
Subject:   FreeBSD 9.1 RC1 and CAM issues with old SCSI drive
Message-ID:  <CAN1LDCFUyypXO5y-8R%2BLbJGFg_ZRWjmtL3ksPqt=N=qvSjknxw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I booted FreeBSD 9.1-RC1 on one of my older scratch i386 PCs and
noticed this regression -- the SCSI disk is unusable:

FreeBSD 9.1-RC1 #0: Tue Aug 14 03:56:40 UTC 2012
    root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0x6400-0x64ff mem
0xd3000000-0xd3000fff irq 3 at device 13.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
(probe0:ahc0:0:0:0): INQUIRY. CDB: 12 0 0 1 0 0
(probe0:ahc0:0:0:0): CAM status: SCSI Status Error
(probe0:ahc0:0:0:0): SCSI status: Check Condition
(probe0:ahc0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB)
(probe0:ahc0:0:0:0): Command Specific Info: 0xffffffff
(probe0:ahc0:0:0:0): Command byte 3 is invalid
(probe0:ahc0:0:0:0): Error 22, Unretryable error
[da0 never appears]


This drive will be found with 9.0:

FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:15:25 UTC 2012
    root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0x6400-0x64ff mem
0xd3000000-0xd3000fff irq 3 at device 13.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
(probe0:ahc0:0:0:0): inquiry data fails comparison at DV1 step
(probe0:ahc0:0:0:0): inquiry data fails comparison at DV1 step
(probe0:ahc0:0:0:0): inquiry data fails comparison at DV1 step
da0 at ahc0 bus 0 scbus2 target 0 lun 0
da0: <COMPAQPC WDE9100W 1.01> Fixed Direct Access SCSI-2 device
da0: 6.600MB/s transfers (16bit)
da0: Command Queueing enabled
da0: 8678MB (17773500 512 byte sectors: 255H 63S/T 1106C)


That this drive is downgraded to 6.600MB/s appears to be known issue
--  http://www.freebsd.org/cgi/query-pr.cgi?pr=128245
This appeared to work better with 6.1

FreeBSD 6.1-RELEASE #0: Mon May 29 19:39:51 EDT 2006
ahc1: <Adaptec 2940 Ultra SCSI adapter> port 0x9800-0x98ff mem
0xe3800000-0xe3800fff irq 11 at device 11.0 on pci0
da0: <COMPAQPC WDE9100W 1.01> Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 8678MB (17773500 512 byte sectors: 255H 63S/T 1106C)



-- 
Kirk Russell            <kirk@ba23.org>           http://www.ba23.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN1LDCFUyypXO5y-8R%2BLbJGFg_ZRWjmtL3ksPqt=N=qvSjknxw>