Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 2016 11:51:27 +0500
From:      "Eugene M. Zheganin" <emz@norma.perm.ru>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   camcontrol rescan seems to be broken
Message-ID:  <585B77EF.2000805@norma.perm.ru>

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

could anyone tell me where am I wrong:

# camcontrol rescan all
camcontrol: CAMIOCOMMAND ioctl failed: Invalid argument
# uname -U
1100122
# uname -K
1100122
# uname -a
FreeBSD bsdrookie.norma.com. 11.0-RELEASE-p5 FreeBSD 11.0-RELEASE-p5 #0
r310364: Wed Dec 21 19:03:58 YEKT 2016    
emz@bsdrookie.norma.com.:/usr/obj/usr/src/sys/BSDROOKIE  amd64

# camcontrol devlist
<ST1000DM003-1CH162 CC46>          at scbus0 target 0 lun 0 (pass0,ada0)
<ST32000542AS CC34>                at scbus1 target 0 lun 0 (pass1,ada1)
<ST2000DM001-1CH164 CC24>          at scbus2 target 0 lun 0 (pass2,ada2)
<WDC WD5003ABYX-01WERA0 01.01S01>  at scbus3 target 0 lun 0 (pass3,ada3)
<ATAPI iHAS124   W HL03>           at scbus4 target 0 lun 0 (cd0,pass4)
<AHCI SGPIO Enclosure 1.00 0001>   at scbus5 target 0 lun 0 (pass5,ses0)
<SanDisk Cruzer Fit 1.26>          at scbus6 target 0 lun 0 (da0,pass6)

# egrep 'ahci0|ada' /var/run/dmesg.boot
ahci0: <Intel Panther Point AHCI SATA controller> port
0xf070-0xf077,0xf060-0xf063,0xf050-0xf057,0xf040-0xf043,0xf020-0xf03f
mem 0xf7202000-0xf72027ff irq 19 at device 31.2 on pci0
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahciem0: <AHCI enclosure management bridge> on ahci0
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <ST1000DM003-1CH162 CC46> ATA8-ACS SATA 3.x device
ada0: Serial Number Z1D45ETV
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 953869MB (1953525168 512 byte sectors)
ada0: quirks=0x1<4K>
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: <ST32000542AS CC34> ATA8-ACS SATA 2.x device
ada1: Serial Number 5XW0K4AP
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 1907729MB (3907029168 512 byte sectors)
ada2 at ahcich2 bus 0 scbus2 target 0 lun 0
ada2: <ST2000DM001-1CH164 CC24> ATA8-ACS SATA 3.x device
ada2: Serial Number Z1E2SLEV
ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 1907729MB (3907029168 512 byte sectors)
ada2: quirks=0x1<4K>
ada3 at ahcich3 bus 0 scbus3 target 0 lun 0
ada3: <WDC WD5003ABYX-01WERA0 01.01S01> ATA8-ACS SATA 2.x device
ada3: Serial Number WD-WMAYP0516506
ada3: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada3: Command Queueing enabled
ada3: 476940MB (976773168 512 byte sectors)
GEOM: ada3: the primary GPT table is corrupt or invalid.
GEOM: ada3: using the secondary instead -- recovery strongly advised.
GEOM_ELI: Device ada2p5.eli created.
ahci0: <Intel Panther Point AHCI SATA controller> port
0xf070-0xf077,0xf060-0xf063,0xf050-0xf057,0xf040-0xf043,0xf020-0xf03f
mem 0xf7202000-0xf72027ff irq 19 at device 31.2 on pci0
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahciem0: <AHCI enclosure management bridge> on ahci0
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <ST1000DM003-1CH162 CC46> ATA8-ACS SATA 3.x device
ada0: Serial Number Z1D45ETV
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 953869MB (1953525168 512 byte sectors)
ada0: quirks=0x1<4K>
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: <ST32000542AS CC34> ATA8-ACS SATA 2.x device
ada1: Serial Number 5XW0K4AP
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 1907729MB (3907029168 512 byte sectors)
ada2 at ahcich2 bus 0 scbus2 target 0 lun 0
ada2: <ST2000DM001-1CH164 CC24> ATA8-ACS SATA 3.x device
ada2: Serial Number Z1E2SLEV
ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 1907729MB (3907029168 512 byte sectors)
ada2: quirks=0x1<4K>
ada3 at ahcich3 bus 0 scbus3 target 0 lun 0
ada3: <WDC WD5003ABYX-01WERA0 01.01S01> ATA8-ACS SATA 2.x device
ada3: Serial Number WD-WMAYP0516506
ada3: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada3: Command Queueing enabled
ada3: 476940MB (976773168 512 byte sectors)

Thanks.
Eugene.



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