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 @ 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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to