<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[solved] Installation failure, SCSI issues]]></title><description><![CDATA[<p dir="auto">I am new to both BSD and pfSense.</p>
<p dir="auto">I downloaded the latest AMD64 USB image and wrote it to a stick, booted, went through the custom install in multi-user mode, and everything looked OK until the actual file writing step. I'm getting messages like:</p>
<pre><code>Execution of the command

/usr/bin/tar -C /mnt/ -xzpf /distrib/pfSense.txz

FAILED with a return code of 1.

(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21.0 (Logical block address out of range)
(da0:umass-sim0:0:0:0): Error 22, Unretryable error
g_vfs_done():ufs/pfSense[READ(offset=567148544, length=131072)]error = 5

./usr/bin/… : Can’t unlink already-existing object
/lib/libcrypto.so.7: truncated input
Tar: Error exit delayed from previous errors.
Exit status: 1

</code></pre>
<p dir="auto">So what do you think the issue is here? Flaky USB stick? Flaky SSD? Misconfiguration? Bad formatting? I verified my image checksum after download and it seems to be OK.</p>
]]></description><link>https://forum.netgate.com/topic/117160/solved-installation-failure-scsi-issues</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Mar 2026 12:39:31 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/117160.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 Jun 2017 17:44:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [solved] Installation failure, SCSI issues on Wed, 21 Jun 2017 01:47:35 GMT]]></title><description><![CDATA[<p dir="auto">Solved it by using a different USB stick. It's unfortunate, but oh well.</p>
]]></description><link>https://forum.netgate.com/post/706920</link><guid isPermaLink="true">https://forum.netgate.com/post/706920</guid><dc:creator><![CDATA[reinderien]]></dc:creator><pubDate>Wed, 21 Jun 2017 01:47:35 GMT</pubDate></item><item><title><![CDATA[Reply to [solved] Installation failure, SCSI issues on Tue, 20 Jun 2017 19:25:04 GMT]]></title><description><![CDATA[<p dir="auto">Yet more fishiness:</p>
<pre><code>
# fsck.ufs -f /dev/sdb
** /dev/sdb

CANNOT READ BLK: 128
CONTINUE? [yn] y

THE FOLLOWING DISK SECTORS COULD NOT BE READ: 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143,

</code></pre>
]]></description><link>https://forum.netgate.com/post/706853</link><guid isPermaLink="true">https://forum.netgate.com/post/706853</guid><dc:creator><![CDATA[reinderien]]></dc:creator><pubDate>Tue, 20 Jun 2017 19:25:04 GMT</pubDate></item><item><title><![CDATA[Reply to [solved] Installation failure, SCSI issues on Tue, 20 Jun 2017 19:11:37 GMT]]></title><description><![CDATA[<p dir="auto">I suspect that it may be due to the way I'm writing out the USB image. I'm writing it from Ubuntu using dd:</p>
<pre><code>
# dd if=/home/gtoombs/Downloads/pfSense-CE-memstick-2.3.4-RELEASE-amd64.img of=/dev/sdb bs=65536 iflag=noatime status=progress
10832+1 records in
10832+1 records out
709894144 bytes (710 MB, 677 MiB) copied, 68.1981 s, 10.4 MB/s

</code></pre>
<p dir="auto">After, disktype shows:</p>
<pre><code>
# disktype /dev/sdb

--- /dev/sdb
Block device, size 14.94 GiB (16039018496 bytes)
FreeBSD boot loader (i386 boot1 at sector 0)
FreeBSD boot loader (i386 boot2/BTX 1.02 at sector 2)
BSD disklabel (at sector 1), 8 partitions
Partition a: 677.0 MiB (709894144 bytes, 1386512 sectors from 0)
  Type 7 (4.2BSD fast file system)
  Includes the disklabel and boot code
  UFS2 file system, 64 KiB offset, little-endian
    Volume name "pfSense" (in superblock)
Partition c: 677.0 MiB (709894144 bytes, 1386512 sectors from 0)
  Type 0 (Unused)

</code></pre>
<p dir="auto">fdisk shows:</p>
<pre><code>
Disk /dev/sdb: 15 GiB, 16039018496 bytes, 31326208 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x90909090

Device     Boot Start   End Sectors  Size Id Type
/dev/sdb4  *        0 49999   50000 24.4M a5 FreeBSD

</code></pre>
<p dir="auto">This seems wrong, because the size is definitely supposed to be more than 24 MB.</p>
<p dir="auto">When I mount and ls:</p>
<pre><code>
# mount -r -t ufs -o ufstype=ufs2 /dev/sdb /mnt/stick/
# ls /mnt/stick
bin   cf    conf.default  dev      etc   lib      media  pkgs  rescue  sbin     sys  usr
boot  conf  COPYRIGHT     distrib  home  libexec  mnt    proc  root    scripts  tmp  var
# ls /mnt/stick/distrib
ls: reading directory '.': Input/output error

</code></pre>
<p dir="auto">So something is really fishy with this filesystem. What am I doing wrong here?</p>
]]></description><link>https://forum.netgate.com/post/706849</link><guid isPermaLink="true">https://forum.netgate.com/post/706849</guid><dc:creator><![CDATA[reinderien]]></dc:creator><pubDate>Tue, 20 Jun 2017 19:11:37 GMT</pubDate></item></channel></rss>