Never mind, I found the issue
hw.ata.ata_dma=0
hw.ata.atapi_dma=0
in /boot/loader.conf, hanging around from the days of wood burning power
supplies was causing this strange behaviour! Sorry for the noise folks!
---Mike
On 8/22/2018 12:17 PM, Mike Tancsa wrote:
> OK,
> Some more o
On 8/21/2018 2:30 PM, Mike Tancsa wrote:
> On 8/21/2018 9:51 AM, Eugene Grosbein wrote:
>>
>> It seems like faulty media to me: it silently returns bad data.
OK, it was a config issue on my part! Some legacy config from the long
ago days of Soekris 5501s, had
hw.ata.ata_dma=0
hw.ata.atapi_dma=0
OK,
Some more odd things going on. If I write to a file from dd some random
junk, not all of the file is saved when I do an unmount. This seems to
be specific either to the ata controller of the APU or to the msata disk
as I tested on a regular server with plain old disks and no issue
Eric
On 8/21/18 1:30 PM, Mike Tancsa wrote:
There are 3 of these disks I found. Unfortunately, they all seem a
little different from the revision stamps on the board. They are all
from PCEngines who generally seem to source quality products. This is in
an APU3
I have an APU2. My disk is exactly li
On 8/21/2018 9:51 AM, Eugene Grosbein wrote:
>
> It seems like faulty media to me: it silently returns bad data.
>
> There is an easy way to verify this just with naked eye:
>
> yes | dd bs=128k of=/dev/ada0
> hd /dev/ada0
>
> That is, hd(1) should write back only 3 lines of output:
>
> 00
21.08.2018 20:20, Mike Tancsa wrote:
> On 8/20/2018 11:34 PM, Eugene Grosbein wrote:
>>> I was trying to create a single partition on a 16G mSata drive and
>>> whenever I add a partition, all of a sudden the secondary GPT partion is
>>> borked. Any idea whats going on here ?
>>
>> Did you look to
On 8/20/2018 11:34 PM, Eugene Grosbein wrote:
>> I was trying to create a single partition on a 16G mSata drive and
>> whenever I add a partition, all of a sudden the secondary GPT partion is
>> borked. Any idea whats going on here ?
>>
>
> Did you look to "dmesg -a" output for additional hints?
21.08.2018 2:15, Mike Tancsa wrote:
> I was trying to create a single partition on a 16G mSata drive and
> whenever I add a partition, all of a sudden the secondary GPT partion is
> borked. Any idea whats going on here ?
>
>
>
> 0# gpart destroy -F ada0
> ada0 destroyed
> 0# gpart create -s GP
I was trying to create a single partition on a 16G mSata drive and
whenever I add a partition, all of a sudden the secondary GPT partion is
borked. Any idea whats going on here ?
0# gpart destroy -F ada0
ada0 destroyed
0# gpart create -s GPT ada0
ada0 created
0# gpart add -t freebsd-ufs ada0
GE