bin/170288: camcontrol(8) inquiry command does not provide
information for ata(4) harddisks
Daniel Rudy
dr2867 at pacbell.net
Mon Jul 30 23:30:11 UTC 2012
>Number: 170288
>Category: bin
>Synopsis: camcontrol(8) inquiry command does not provide information for ata(4) harddisks
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 30 23:30:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Daniel Rudy
>Release: 9.0-RELEASE p3
>Organization:
N/A
>Environment:
FreeBSD strata..org 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #4: Sun Jul 29 16:03:08 PDT 2012 root at strata:/usr/obj/usr/src/sys/STRATA i386
>Description:
The camcontrol(8) utility does not provide any information for any ata(4) based harddisk when using any of the three allowed command line options (-D, -R, -S).
strata:/root 803 ### ->camcontrol devlist -v
scbus0 on ata0 bus 0:
<ST3402111A 3.AAJ> at scbus0 target 0 lun 0 (pass0,ada0)
<ST3120213A 3.AAJ> at scbus0 target 1 lun 0 (pass1,ada1)
<> at scbus0 target -1 lun -1 ()
scbus1 on ata1 bus 0:
<TOSHIBA DVD-ROM SD-R1202 1020> at scbus1 target 0 lun 0 (pass2,cd0)
<> at scbus1 target -1 lun -1 ()
scbus2 on sbp0 bus 0:
<> at scbus2 target -1 lun -1 ()
scbus3 on umass-sim0 bus 0:
<Pretec 256MB Tiny 1.00> at scbus3 target 0 lun 0 (pass3,da0)
scbus4 on umass-sim1 bus 1:
<Pretec 256MB Tiny 1.00> at scbus4 target 0 lun 0 (pass4,da1)
scbus-1 on xpt0 bus 0:
<> at scbus-1 target -1 lun -1 (xpt0)
strata:/root 804 ### ->camcontrol inquiry 0:0
strata:/root 805 ### ->camcontrol inquiry 0:0:0
strata:/root 806 ### ->camcontrol inquiry 0:1
strata:/root 807 ### ->camcontrol inquiry 0:1:0
strata:/root 808 ### ->camcontrol inquiry 1:0:0
pass2: <TOSHIBA DVD-ROM SD-R1202 1020> Removable CD-ROM SCSI-0 device
pass2: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
strata:/root 809 ### ->camcontrol inquiry 2:0:0
camcontrol: cam_open_btl: no passthrough device found at 2:0:0
strata:/root 810 ### ->camcontrol inquiry 3:0:0
pass3: <Pretec 256MB Tiny 1.00> Removable Direct Access SCSI-2 device
pass3: Serial Number 23AB00000000FC
pass3: 1.000MB/s transfers
strata:/root 811 ### ->camcontrol inquiry 4:0:0
pass4: <Pretec 256MB Tiny 1.00> Removable Direct Access SCSI-2 device
pass4: Serial Number 01AB0000000223
pass4: 1.000MB/s transfers
However, the following command does work.
strata:/root 814 ### ->camcontrol ident 0:0:0
pass0: <ST3402111A 3.AAJ> ATA-7 device
pass0: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
protocol ATA/ATAPI-7
device model ST3402111A
firmware revision 3.AAJ
serial number 9PF0JSZY
cylinders 16383
heads 16
sectors/track 63
sector size logical 512, physical 512, offset 0
LBA supported 78165360 sectors
LBA48 supported 78165360 sectors
PIO supported PIO4
DMA supported WDMA2 UDMA5
Feature Support Enabled Value Vendor
read ahead yes yes
write cache yes yes
flush cache yes yes
overlap no
Tagged Command Queuing (TCQ) no no
Native Command Queuing (NCQ) no
SMART yes yes
microcode download yes yes
security yes no
power management yes yes
advanced power management no no
automatic acoustic management no no
media status notification no no
power-up in Standby no no
write-read-verify no no
unload no no
free-fall no no
data set management (TRIM) no
strata:/root 815 ### ->camcontrol ident 0:1:0
pass1: <ST3120213A 3.AAJ> ATA-7 device
pass1: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
protocol ATA/ATAPI-7
device model ST3120213A
firmware revision 3.AAJ
serial number 9LS2ALPE
cylinders 16383
heads 16
sectors/track 63
sector size logical 512, physical 512, offset 0
LBA supported 234441648 sectors
LBA48 supported 234441648 sectors
PIO supported PIO4
DMA supported WDMA2 UDMA5
Feature Support Enabled Value Vendor
read ahead yes yes
write cache yes yes
flush cache yes yes
overlap no
Tagged Command Queuing (TCQ) no no
Native Command Queuing (NCQ) no
SMART yes yes
microcode download yes yes
security yes no
power management yes yes
advanced power management no no
automatic acoustic management no no
media status notification no no
power-up in Standby no no
write-read-verify no no
unload no no
free-fall no no
data set management (TRIM) no
strata:/root 816 ### ->
>How-To-Repeat:
See Full Description.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list