Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jul 2019 00:56:30 -0400
From:      Zaphod Beeblebrox <zbeeble@gmail.com>
To:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: 4k sector support (not good?)
Message-ID:  <CACpH0MeEgMUV-1Q4-Z3hJw87oBn07Yy2ypwjG1RuX=6LWgHKhg@mail.gmail.com>
In-Reply-To: <CACpH0McZ50=yoosevUfMSVsHz_nvdQYNY-ozA=BtV-SAaJUjaA@mail.gmail.com>
References:  <CACpH0McZ50=yoosevUfMSVsHz_nvdQYNY-ozA=BtV-SAaJUjaA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Replying to my own message to add data.  Attaching the drives to a SAS
controller that probes up with mps, they attach without complaint, but read
and write give:

(da1:mps0:0:12:0): SCSI status: Check Condition
(da1:mps0:0:12:0): SCSI sense: ILLEGAL REQUEST asc:74,79 (Security conflict
in translated device)
(da1:mps0:0:12:0): Error 13, Unretryable error
(da1:mps0:0:12:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00
(da1:mps0:0:12:0): CAM status: SCSI Status Error
(da1:mps0:0:12:0): SCSI status: Check Condition
(da1:mps0:0:12:0): SCSI sense: ILLEGAL REQUEST asc:74,79 (Security conflict
in translated device)
(da1:mps0:0:12:0): Error 13, Unretryable error
(da1:mps0:0:12:0): WRITE(10). CDB: 2a 00 00 00 00 00 00 00 01 00
(da1:mps0:0:12:0): CAM status: SCSI Status Error
(da1:mps0:0:12:0): SCSI status: Check Condition
(da1:mps0:0:12:0): SCSI sense: ILLEGAL REQUEST asc:74,79 (Security conflict
in translated device)
(da1:mps0:0:12:0): Error 13, Unretryable error

... now this drive is a ST2000NX0243.  The ST2000NX0248 is an encrypted
drive, but the 243 is not.

... so what's this error.  Also... I'm no SCSI speaker, but reading the
manual for the drive, 28 and 2a are not commands it lists.  20 and 24 (for
read and read extended) and 30 and 34 (for write and write extended).

Help?


On Fri, Jul 12, 2019 at 7:33 PM Zaphod Beeblebrox <zbeeble@gmail.com> wrote:

> 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@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@run:~> gpart show ada7
> gpart: No such geom: ada7.
> [1:17:317]root@run:~> gpart create -s GPT ada7
> gpart: Input/output error
> [1:18:318]root@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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACpH0MeEgMUV-1Q4-Z3hJw87oBn07Yy2ypwjG1RuX=6LWgHKhg>