Date: Thu, 8 Sep 2011 15:50:16 +1000 From: Peter Jeremy <peterjeremy@acm.org> To: Andriy Gapon <avg@FreeBSD.org> Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org, Sebastian Chmielewski <chmiels@o2.pl> Subject: Re: ZFS: i/o error - all block copies unavailable after upgrading to r225312 Message-ID: <20110908055016.GB28874@server.vk2pj.dyndns.org> In-Reply-To: <4E679D3D.1000007@FreeBSD.org> References: <20110901223646.14b8aae8@o2.pl> <4E60DBBD.1040703@FreeBSD.org> <4E679D3D.1000007@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2011-Sep-07 19:35:09 +0300, Andriy Gapon <avg@FreeBSD.org> wrote: >Thanks to a lot of excellent testing, debugging and analysis from Sebastian >(which went behind the scenes) we now have this patch: >http://people.freebsd.org/~avg/zfs-boot-gang.diff =2E.. >If you use compression for a filesystem where your kernel resides and >you get a problem with booting, then please test this patch and >report back. Since the problem isn't consistent (it can appear on some files but not others), I modified zfstest to take a pathname, rather than have the pathname hard-coded. Using this, I found an example file that works with the patch but not with the old ZFS code: pjdesk% ./zfstest.old /boot/kernel.old/iwn6000fw.ko.symbols /dev/ad0p3 |le= ss ZFS: i/o error - all block copies unavailable can't lookup pjdesk% ./zfstest.old /boot/kernel.old/iwn6000fw.ko.symbols /dev/ad0p3 |le= ss ZFS: i/o error - all block copies unavailable can't lookup pjdesk% ./zfstest.old /boot/kernel.old/iwn6000fw.ko.symbols /dev/ad0p3 |le= ss ZFS: i/o error - all block copies unavailable can't lookup pjdesk% ./zfstest /boot/kernel.old/iwn6000fw.ko.symbols /dev/ad0p3 |less = =20 ^?ELF^B^A^A ^@^@^@^@^@^@^@^@^A^@>^@^A^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@= ^@^@p =2E.. pjdesk% ./zfstest /boot/kernel.old/iwn6000fw.ko.symbols /dev/ad0p3 | cmp -= /boot/kernel.old/iwn6000fw.ko.symbols pjdesk% ./zfstest /boot/kernel.old/iwn6000fw.ko.symbols /dev/ad0p3 | cmp -= /boot/kernel.old/iwn6000fw.ko.symbols pjdesk% ./zfstest.old /boot/kernel.old/iwn6000fw.ko.symbols /dev/ad0p3 | c= mp - /boot/kernel.old/iwn6000fw.ko.symbols=20 stdin /boot/kernel.old/iwn6000fw.ko.symbols differ: char 1, line 1 pjdesk%=20 This was tested on an 8-STABLE system at r225392. I've built new bootblocks but not tested them yet - I will do that tomorrow. --=20 Peter Jeremy --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk5oV5gACgkQ/opHv/APuIcQdACfUxBjX4w30gt+5BaxZRWHVMpe KmoAnAz8ki7P18u8cIGN4a4Gkbc2uC1H =Ov79 -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110908055016.GB28874>