Date: Tue, 16 Aug 2011 11:20:51 -0400 From: John Baldwin <jhb@freebsd.org> To: Christoph Hoffmann <christoph_hoffmann@me.com> Cc: freebsd-current@freebsd.org Subject: Re: gptzfsboot error using HP Smart Array P410i Controller Message-ID: <201108161120.51761.jhb@freebsd.org> In-Reply-To: <DA5CE78B-5AAB-4DFC-B9EE-BFCF45AFC16F@me.com> References: <E040B3A9-9B62-4545-ADC9-5CE3A9217024@me.com> <201108160948.07719.jhb@freebsd.org> <DA5CE78B-5AAB-4DFC-B9EE-BFCF45AFC16F@me.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, August 16, 2011 10:41:50 am Christoph Hoffmann wrote: > Hello John, > > First with printf() before > dsk = malloc(sizeof(struct dsk)); > > Attempting Boot From CD-ROM > Attempting Boot From Hard Drive (C:) > 464: high_heap_size=0x300000; dsk=0x0; &bootinfo=0x8714 <--- the malloc() is next. > 474: high_heap_size=0x300000; dsk=0xdf325000; &bootinfo=0x8714 > probe_drive(): drive 0x80: type 0: unit 0: slice 1: part 0: > probe_drive(): drive 0x81: type 0: unit 1: slice 0: part 0: > > BTX loader 1.00 BTX version is 1.02 > Consoles: internal video/keyboard > BIOS drive A: is disk0 > BIOS drive C: is disk1 > BIOS drive D: is disk2 > > > and now without printf() at line 464 > > > Attempting Boot From CD-ROM > Attempting Boot From Hard Drive (C:) > 474: high_heap_size=0x300000; dsk=0xdf325000; &bootinfo=0x86b4 > probe_drive(): drive 0x0: type 0: unit 0: slice 0: part 0: > gptzfsboot: error 1 lba 32 > gptzfsboot: error 1 lba 1 > probe_drive(): drive 0x81: type 0: unit 1: slice 0: part 0: > gptzfsboot: No ZFS pools located, can't boot Hmm, so the entire 'dsk' structure gets zero'd it seems. What if you force high_heap_size to 0? -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108161120.51761.jhb>