Re: Boot with ZFS on single disk: "ZFS: i/o error - all block copies unavailable" [was: Re: GPT boot with ZFS RAIDZ "ZFS: i/o error - all block copies unavailable"]



On Wed, Nov 18, 2009 at 8:43 AM, Robert Noland <rnoland@xxxxxxxxxxx> wrote:
On Wed, 2009-11-18 at 17:11 +0100, Emil Smolenski wrote:
On Wed, 18 Nov 2009 14:50:47 +0100, Robert Noland <rnoland@xxxxxxxxxxx>
wrote:

Should I file a PR? I would
like to help in debugging it (however my skills in low-level C aren't
strong enough to do it on my own).
Ok, the first thing I would like to see is "zdb -uuu".
# zdb -uuu pgpool
Segmentation fault: 11 (core dumped)

Ok, this is disturbing...  It works fine for me on -CURRENT / amd64 and
reports the root block pointer, which is what we need to locate the MOS.

  Booting from 8.0-*-amd64-memstick.img (Fixit# console) makes "zdb -uuu"
happy:

Fixit# zdb -uuu pgpool
Uberblock

         magic = 0000000000bab10c
         version = 13
         txg = 443448
         guid_sum = 9780688847620645377
         timestamp = 1258560175 UTC = Wed Nov 18 16:02:55 2009
         rootbp = [L0 DMU objset] 400L/200P DVA[0]=<0:220000de400:200>
DVA[1]=<0:2a80008ee00:200> DVA[2]=<0:330000b9000:200> fletcher4 lzjb LE
contiguous birth=443448 fill=298
cksum=8a9775385:3935d6d58c7:c028430c00a8:1b58ac4ebf42ac

Ok, the offsets are definately up there... What is your normal
installation?  8.0 i386?

Robert's on to something. It looks like your LBAs are probably
overflowing 32 bits. This would affect all vdev regardless of type.

Try the attached patch.

Matt

Attachment: zfsboot.c.patch3
Description: Binary data

_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"

Relevant Pages

  • Re: Boot with ZFS on single disk: "ZFS: i/o error - all block copies unavailable" [was: Re: GPT
    ... like to help in debugging it (however my skills in low-level C aren't ... Segmentation fault: 11 ... Robert Noland ...
    (freebsd-current)
  • Boot with ZFS on single disk: "ZFS: i/o error - all block copies unavailable" [was: Re: GPT boot
    ... like to help in debugging it (however my skills in low-level C aren't ... Segmentation fault: 11 ... from the pool, in fact it is the read that attempts to mount the pool. ...
    (freebsd-current)
  • Re: segmentation fault - code attached
    ... > segmentation fault when executing calloc. ... It is used in VLSI for debugging and waveform dump in ... I was writing a library for the format. ... allocated enough space for a pointer to `struct Var' not an instance of ...
    (comp.lang.c)
  • segmentation fault - code attached
    ... segmentation fault when executing calloc. ... The program is to parse a file format called ... It is used in VLSI for debugging and waveform dump in ... I was writing a library for the format. ...
    (comp.lang.c)
  • Xfmedia - segmentation fault
    ... With a freshly installed Xfmedia, whenever it is launched, it crashes immediately with a "segmentation fault" message. ... Using workgroup WORKGROUP. ... Any thoughts on how to fix this, since the debugging doesn't give that much info I can work with? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)