Date: Fri, 17 Jul 2009 13:25:11 +0300 From: Artis Caune <artis.caune@gmail.com> To: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Panic when booting from USB+GPT and ZFS Message-ID: <9e20d71e0907170325t406e1beap34bcc0e9c351cbc8@mail.gmail.com> In-Reply-To: <9e20d71e0907160627v57e9bbd3r6d305aaa5694711c@mail.gmail.com> References: <9e20d71e0907160627v57e9bbd3r6d305aaa5694711c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2009/7/16 Artis Caune <artis.caune@gmail.com>: > Hi, > > I'm booting from USB GPT flash disk (amd64, 8.0-BETA2, r195712) and > I'm getting panic when running command "zpool import": > > ZFS WARNING: Cannot open da0p2 for writting. > ZFS WARNING: Cannot open gptid/...... for writting. > > Fatal trap 12: page fault while in kernel mode > cpuid =3D 0; apic id =3D 00 > fault virtual address =C2=A0 =3D 0x48 > fault code =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D supervisor= read data, page not present > ... > current process =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 2 (g_event) Sorry for noise, I was playing with ZFS on this usb stick and created zfs:builder pool on GPT partition. Then I created bootable instalation disk on this usb stick, but didn't properly destroyed zfs:builder pool. I tried to install BETA2 but got this panic. I plugged stick in another box, run zpool import and there was zfs:builder pool, faulty. I could not import it. I zeroed usb stick, created fresh installation image and no more panics. Lesson learned: always clean-up after yourself! :) I'll beter rewrite this script to s/dd/gpart delete/ --=20 Artis Caune Everything should be made as simple as possible, but not simpler.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9e20d71e0907170325t406e1beap34bcc0e9c351cbc8>