Re: gptzfsboot error using HP Smart Array P410i Controller

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Thu, 13 Oct 2011 09:41:34 +0300
on 13/10/2011 00:33 Christoph Hoffmann said the following:
> Hello Daniel,
> 
> Last time I checked up on the issue was on the 23rd of September,
> it was not fixed then.
> I was able to to boot from drive 0x80 after adding:
> 
> *** zfsboot.c.orig	Fri Sep 23 18:03:26 2011
> --- zfsboot.c	Fri Sep 23 18:47:44 2011
> ***************
> *** 459,464 ****
> --- 459,465 ----
> 	heap_end = (char *) PTOV(bios_basemem);
>   }
> 
> + 	printf("Hello! I am a hack.\n");
>   dsk = malloc(sizeof(struct dsk));
>   dsk->drive = *(uint8_t *)PTOV(ARGS);
>   dsk->type = dsk->drive & DRV_HARD ? TYPE_AD : TYPE_FD;
> 
> I am inclined to think that this is related to the way how we compile this code, 
> especially when run on the following particular processor:
> 
> 1 Processor(s) detected, 4 total cores enabled, Hyperthreading is enabled
> Proc 1: Intel(R) Xeon(R) CPU E5630 _at_ 2.53GHz
> QPI Speed: 5.8 GT/s.

Can you try the latest code in head?
I've removed all the optimization/pessimization compiler flags for gpt/zfs boot
blocks that at times seemed to do more harm than good.

-- 
Andriy Gapon
Received on Thu Oct 13 2011 - 04:41:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:19 UTC