4k sector support (not good?)
Zaphod Beeblebrox
zbeeble at gmail.com
Fri Jul 12 23:33:36 UTC 2019
So I have 6 drives that have 4k sectors. They are:
ST2000NX0243
I first tried talking to them with an old MFI passthru controller. I think
that is not FreeBSD's fault --- the MFI didn't want them.
Now on the motherboard, I have
ahci2: <Marvell 88SE9230 AHCI SATA controller> port
0xa050-0xa057,0xa040-0xa043,0xa030-0xa037,0xa020-0xa023,0xa000-0xa01f mem
0xfe610000-0xfe6107ff irq 40 at device 0.0 on pci7
ahci2: AHCI v1.20 with 8 6Gbps ports, Port Multiplier not supported
... which will attach the drives, but kick out all kinds of probe errors.
Smartctl can read the drives on this controller.
In a PCIe slot I have:
ahci3 at pci0:0:17:0: class=0x010601 card=0x84dd1043 chip=0x43911002
rev=0x40 hdr=0x00
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]'
which attaches the devices, kicks out a lot of errors and smartctl can't
read the drives on this controller.
now... on the motherboard controller, I can say:
[1:16:316]root at run:~> gpart show ada7
gpart: No such geom: ada7.
[1:17:317]root at run:~> gpart create -s GPT ada7
gpart: Input/output error
[1:18:318]root at run:~> dmesg | tail -40
(ada7:ahcich16:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 01 00 00 00 40 00 00 00
00 00 00
(ada7:ahcich16:0:0:0): CAM status: ATA Status Error
(ada7:ahcich16:0:0:0): ATA status: 41 (DRDY ERR), error: 04 (ABRT )
(ada7:ahcich16:0:0:0): RES: 41 04 00 00 00 00 00 00 00 01 00
(ada7:ahcich16:0:0:0): Retrying command, 3 more tries remain
(ada7:ahcich16:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 01 00 00 00 40 00 00 00
00 00 00
(ada7:ahcich16:0:0:0): CAM status: ATA Status Error
(ada7:ahcich16:0:0:0): ATA status: 41 (DRDY ERR), error: 04 (ABRT )
(ada7:ahcich16:0:0:0): RES: 41 04 00 00 00 00 00 00 00 01 00
(ada7:ahcich16:0:0:0): Retrying command, 2 more tries remain
(ada7:ahcich16:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 01 00 00 00 40 00 00 00
00 00 00
(ada7:ahcich16:0:0:0): CAM status: ATA Status Error
(ada7:ahcich16:0:0:0): ATA status: 41 (DRDY ERR), error: 04 (ABRT )
(ada7:ahcich16:0:0:0): RES: 41 04 00 00 00 00 00 00 00 01 00
(ada7:ahcich16:0:0:0): Retrying command, 1 more tries remain
(ada7:ahcich16:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 01 00 00 00 40 00 00 00
00 00 00
(ada7:ahcich16:0:0:0): CAM status: ATA Status Error
(ada7:ahcich16:0:0:0): ATA status: 41 (DRDY ERR), error: 04 (ABRT )
(ada7:ahcich16:0:0:0): RES: 41 04 00 00 00 00 00 00 00 01 00
(ada7:ahcich16:0:0:0): Retrying command, 0 more tries remain
(ada7:ahcich16:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 01 00 00 00 40 00 00 00
00 00 00
(ada7:ahcich16:0:0:0): CAM status: ATA Status Error
(ada7:ahcich16:0:0:0): ATA status: 41 (DRDY ERR), error: 04 (ABRT )
(ada7:ahcich16:0:0:0): RES: 41 04 00 00 00 00 00 00 00 01 00
(ada7:ahcich16:0:0:0): Error 5, Retries exhausted
More information about the freebsd-hackers
mailing list