[Bug 211028] [GEOM][Hyper-V] gpart can't detect the new free space after the disk capacity changes

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 24 04:48:44 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211028

Peter Wemm <peter at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peter at FreeBSD.org

--- Comment #24 from Peter Wemm <peter at FreeBSD.org> ---
We're seeing new panics on machines in the freebsd.org cluster that appear to
be related to this.  Sometimes it boots fine, other times it panics like this:


Trying to mount root from zfs:zroot []...
GEOM_PART: da0 was automatically resized.
  Use `gpart commit da0` to save changes or `gpart undo da0` to revert them.
GEOM_PART: integrity check failed (da0, GPT)

Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0x48
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff80740005
stack pointer           = 0x28:0xfffffe01f119db10
frame pointer           = 0x28:0xfffffe01f119db30
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 13 (g_event)
[ thread pid 13 tid 100019 ]
Stopped at      g_part_resize+0x35:     testb   $0x8,0x48(%rbx)

When it boots, the partition info for da0 looks like this:

root at tiny.nyi:/home/peter # gpart show
=>       40  143374576  da0  GPT  (68G)
         40        216    1  freebsd-boot  (108K)
        256    8388608    2  freebsd-swap  (4.0G)
    8388864  134985752    3  freebsd-zfs  (64G)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list