Re: -CURRENT: mountroot failed

From: Andrey V. Elsukov <ae_at_FreeBSD.org>
Date: Mon, 16 May 2011 18:59:46 +0400
On 16.05.2011 16:13, Michiel Boland wrote:
>> Can you send me a binary image of the first sector of ada0?
>> Also, output of `gpart list ada0` would be helpful.
> charlemagne# gpart list ada0
> Geom name: ada0
> modified: false
> state: OK
> fwheads: 16
> fwsectors: 63
==============> last: 1953525167
==============> first: 63
> entries: 4
> scheme: MBR
> Providers:
> 1. Name: ada0s1
>    Mediasize: 1000204648448 (931G)
>    Sectorsize: 512
>    Mode: r5w5e9
>    attrib: active
>    rawtype: 165
>    length: 1000204648448
>    offset: 16384
>    type: freebsd
>    index: 1
==============> end: 1953524735
==============> start: 32

Your partition has start offset below the first LBA.
As temporary workaround you can set loader tunable
kern.geom.part.check_integrity=0 (recently added to CURRENT)

> (Note that I partitioned the disk so that partition 1 starts at a
> multiple of 4096 bytes; this is one of those 4kb-sector disks that
> performs extremely badly if access is not aligned on a 4k boundary.)

What tool did you use for partitioning?

-- 
WBR, Andrey V. Elsukov


Received on Mon May 16 2011 - 13:00:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:14 UTC