On Saturday 06 June 2009 1:51:58 pm Yuri Pankov wrote: > On Sat, Jun 06, 2009 at 06:18:35AM +0400, Yuri Pankov wrote: > > Hi, > > > > I'm getting the following "panic" from loader when trying to attach > > another GPT partitioned drive. loader is built using LOADER_ZFS_SUPPORT. > > > > BTX Loader 1.00 BTX version is 1.02 > > Consoles: internal video/keyboard > > BIOS drive C: is disk0 > > BIOS drive D: is disk1 > > > > panic:free: guard1 fail _at_ 0x7fd4b3f4 from > > /usr/src/sys/boot/i386/libi386/biosdisk.c:1048 > > > > > > ad4: > > => 34 488397101 ad4 GPT (233G) > > 34 128 1 freebsd-boot (64K) > > 162 16777216 2 freebsd-swap (8.0G) > > 16777378 471619757 3 freebsd-zfs (225G) > > > > ad10: > > empty disk, `gpart create -s GPT ad10` > > > > > > > > Yuri > > Looks like there are no checks in loader with GPT support if there are > no partitions defined (very rare case, but still.. :-). Attached patch > fixes booting with GPT disk without partitions (for me). That is the correct fix. -- John BaldwinReceived on Mon Jun 08 2009 - 13:33:57 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:49 UTC