g_vfs_done() ada2p1 error = 5

Christoph Kukulies kuku at kukulies.org
Tue May 5 08:43:06 UTC 2020

I have a GPT partitioned SSD here which was serving as a boot volume of my previously installed
FreeBSD 8.0 and now, as I have 12.1 installed and booting from that I have mounted this SD into 
my running system.

In my system log I’m seeing the following error message (and when I try to mount that partition, I’m getting an
INPUT/OUTPUT error also):

g_vfs_done():ada2p1[READ(offest=262144, length=8192)]error = 5

ada2 at ahcich2 bus 0 scbus2 target 0 lun 0
ada2: <Samsung SSD 840 EVO 120GB EXT0AB0Q> ACS-2 ATA SATA 3.x device
ada2: Serial Number S1D5NSAD779704E
ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 114473MB (234441648 512 byte sectors)
ada2: quirks=0x3<4K,NCQ_TRIM_BROKEN>

$ gpart list ada2
Geom name: ada2
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 234441614
first: 34
entries: 128
scheme: GPT
1. Name: ada2p1
   Mediasize: 65536 (64K)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 1024
   Mode: r0w0e0
   efimedia: HD(1,GPT,8d4f6bbc-XXXX-XXXX-9255-0025238adc5e,0x22,0x80)
   rawuuid: 8d4f6bbc-XXXX-XXXX-9255-0025238adc5e
   rawtype: 83bd6b9d-XXXX-XXXX-be0b-001560b84f0f
   label: (null)
   length: 65536
   offset: 17408
   type: freebsd-boot
   index: 1
   end: 161
   start: 34
2. Name: ada2p2
   Mediasize: 114890309632 (107G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 1024
   Mode: r1w1e1
   efimedia: HD(2,GPT,8d50616c-XXXX-XXXX-9255-0025238adc5e,0xa2,0xd5fff80)
   rawuuid: 8d50616c-88db-XXXX-XXXX-0025228adc5e
   rawtype: 516e7cb6-XXXX-XXXX-8ff8-00022d09712b
   label: (null)
   length: 114890309632
   offset: 82944
   type: freebsd-ufs
   index: 2
   end: 224395297
   start: 162
3. Name: ada2p3
   Mediasize: 4294967296 (4.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 1024
   Mode: r0w0e0
   efimedia: HD(3,GPT,8d526158-XXXX-XXXX-9255-0025228adc5e,0xd600022,0x800000)
   rawuuid: 8d526158-88db-XXXX-XXXX-0025228adc5e
   rawtype: 516e7cb5-XXXX-XXXX-8ff8-00022d09712b
   label: (null)
   length: 4294967296
   offset: 114890392576
   type: freebsd-swap
   index: 3
   end: 232783905
   start: 224395298
1. Name: ada2
   Mediasize: 120034123776 (112G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e2


What does this error message mean? How do I get rid of it?


More information about the freebsd-questions mailing list