Eli4ph
Cadet
- Joined
- Dec 25, 2019
- Messages
- 3
This is my first FreeNAS build and I am trying to install the latest stable release, i.e.,
I bought two new USB sticks of the same model—one as the boot device, the other as the mirror.
During the installation, the following error message is reported.
And
With another USB stick, the installation proceeds without an error. But the two USB sticks are new and both of them works on my PC and Mac. So there seems to be a compatibility issue between FreeNAS 11.2-U7 and the two USB sticks.
Since FreeNAS is derived from FreeBSD, I played with FreeBSD 11.2 and 12.1. Surprisingly, I found that the problematic USB stick works with FreeBSD 12.1 and fails with FreeBSD 11.2.
I compare the events reported by
If I still want to use the problematic USB stick as the boot device, is there a solution? Is the problem caused by the firmware of the USB stick or the
FreeNAS 11.2-U7
. Though the problem happens during the installation, I think it is a problem related to storage—the kernel incorrectly detects the capacity of the USB stick for booting.I bought two new USB sticks of the same model—one as the boot device, the other as the mirror.
During the installation, the following error message is reported.
Code:
gpart: Invalid argument Could not do anything with da2, skipping Disk is too small to install FreeNAS The FreeNAS installation on da2 has failed. Press enter to continue..
And
dmesg
gives the following error message.Code:
ugen0.8: <16G SLC CHIPFANCIER> at usbus0 umass2 on uhub7 umass2: <16G SLC CHIPFANCIER, class 0/0, rev 3.00/0.01, addr 7> on usbus0 umass2: SCSI over Bulk-Only; quirks = 0x8100 umass2:9:2: Attached to scbus9 da2 at umass-sim2 bus 2 scbus9 target 0 lun 0 da2: <16G SLC CHIPFANCIER 1.00> Removable Direct Access SPC-4 SCSI device da2: Serial Number 4149330872 da2: 400.000MB/s transfers da2: 15253MB (31238389 512 byte sectors) da2: quirks=0x2<NO_6_BYTE> (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f3 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 b6 00 00 04 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f3 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f4 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f4 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f4 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f4 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f4 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error
With another USB stick, the installation proceeds without an error. But the two USB sticks are new and both of them works on my PC and Mac. So there seems to be a compatibility issue between FreeNAS 11.2-U7 and the two USB sticks.
Since FreeNAS is derived from FreeBSD, I played with FreeBSD 11.2 and 12.1. Surprisingly, I found that the problematic USB stick works with FreeBSD 12.1 and fails with FreeBSD 11.2.
I compare the events reported by
dmesg
after inserting the problematic USB stick. I find FreeNAS/FreeBSD 11.2 incorrectly detect the capacity of the USB stick. On FreeNAS/FreeBSD 11.2, the problematic USB stick is reported to have 31238389 512-byte sectors. However, on FreeBSD 12.1, Windows 7 and macOS, the same USB stick is reported to have 31205621 512-byte sectors. FreeNAS/FreeBSD 11.2 detects 0.1% more capacity than actual for the problematic USB stick.If I still want to use the problematic USB stick as the boot device, is there a solution? Is the problem caused by the firmware of the USB stick or the
umass
driver of FreeBSD 11.2?Code:
ugen0.8: <16G SLC CHIPFANCIER> at usbus0 umass2 on uhub7 umass2: <16G SLC CHIPFANCIER, class 0/0, rev 3.00/0.01, addr 7> on usbus0 umass2: SCSI over Bulk-Only; quirks = 0x8100 umass2:9:2: Attached to scbus9 da2 at umass-sim2 bus 2 scbus9 target 0 lun 0 da2: <16G SLC CHIPFANCIER 1.00> Removable Direct Access SPC-4 SCSI device da2: Serial Number 4149330872 da2: 400.000MB/s transfers da2: 15253MB (31238389 512 byte sectors) da2: quirks=0x2<NO_6_BYTE> (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f4 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f3 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 b6 00 00 04 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f3 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f4 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f4 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f4 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f4 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f4 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f3 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 b6 00 00 04 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f3 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f4 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f4 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error (da2:umass-sim2:2:0:0): READ(10). CDB: 28 00 01 dc a8 f4 00 00 01 00 (da2:umass-sim2:2:0:0): CAM status: SCSI Status Error (da2:umass-sim2:2:0:0): SCSI status: Check Condition (da2:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (da2:umass-sim2:2:0:0): Error 22, Unretryable error
Code:
ugen0.8: <16G SLC CHIPFANCIER> at usbus0 umass2 on uhub7 umass2: <16G SLC CHIPFANCIER, class 0/0, rev 3.00/0.01, addr 7> on usbus0 umass2: SCSI over Bulk-Only; quirks = 0x8100 umass2:8:2: Attached to scbus8 da2 at umass-sim2 bus 2 scbus8 target 0 lun 0 da2: <16G SLC CHIPFANCIER 1.00> Removable Direct Access SPC-4 SCSI device da2: Serial Number 4149330872 da2: 400.000MB/s transfers da2: 15237MB (31205621 512 byte sectors) da2: quirks=0x12<NO_6_BYTE,NO_RC16>