Date: Thu, 12 Nov 2009 17:04:41 -0800 From: Matt Reimer <mattjreimer@gmail.com> To: =?ISO-8859-2?Q?Radek_Val=E1=B9ek?= <valin@buchlovice.org> Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org, rnoland@freebsd.org Subject: Re: GPT boot with ZFS RAIDZ "ZFS: i/o error - all block copies unavailable" Message-ID: <f383264b0911121704p544cd8gb250ce173c013363@mail.gmail.com> In-Reply-To: <f383264b0911121654g3d15690eq4e6c92355e5368b6@mail.gmail.com> References: <4AD710D6.70404@buchlovice.org> <f383264b0911121654g3d15690eq4e6c92355e5368b6@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000e0cd32f54a7210c0478363e64 Content-Type: text/plain; charset=ISO-8859-1 2009/11/12 Matt Reimer <mattjreimer@gmail.com>: > > Radek, > > Try the attached patch (sponsored by VPOP Technologies). I found an > overflow in /sys/cddl/boot/zfs/zfssubr.c:vdev_raidz_read() that was > causing my 6x1TB raidz2 array to fail to boot. > > Apply the patch, build everything in /sys/boot, and then make sure you > update both gptzfsboot and /boot/loader. Oops, here's the patch. Matt --000e0cd32f54a7210c0478363e64 Content-Type: application/octet-stream; name="zfssubr.c.patch" Content-Disposition: attachment; filename="zfssubr.c.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g1y8xrsy0 LS0tIHpmc3N1YnIuYy5vcmlnCTIwMDktMTAtMjQgMTg6MTA6MjkuMDAwMDAwMDAwIC0wNzAwCisr KyB6ZnNzdWJyLmMJMjAwOS0xMS0xMiAxNjozNzowNS4wMDAwMDAwMDAgLTA4MDAKQEAgLTU1MCw3 ICs1NTAsOCBAQAogCXVpbnQ2NF90IHMgPSBwc2l6ZSA+PiB1bml0X3NoaWZ0OwogCXVpbnQ2NF90 IGYgPSBiICUgZGNvbHM7CiAJdWludDY0X3QgbyA9IChiIC8gZGNvbHMpIDw8IHVuaXRfc2hpZnQ7 Ci0JaW50IHEsIHIsIGMsIGMxLCBiYywgY29sLCBhY29scywgY29mZiwgZGV2aWR4LCBhc2l6ZSwg bjsKKwl1aW50NjRfdCBxLCByLCBjb2ZmOworCWludCBjLCBjMSwgYmMsIGNvbCwgYWNvbHMsIGRl dmlkeCwgYXNpemUsIG47CiAJc3RhdGljIHJhaWR6X2NvbF90IGNvbHNbMTZdOwogCXJhaWR6X2Nv bF90ICpyYywgKnJjMTsKIAo= --000e0cd32f54a7210c0478363e64--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f383264b0911121704p544cd8gb250ce173c013363>