Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2011 19:49:18 +0200
From:      Christoph Hoffmann <christoph_hoffmann@me.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: gptzfsboot error  using HP Smart Array P410i Controller
Message-ID:  <E4144408-8FE7-4FC6-B394-06B2072AC824@me.com>
In-Reply-To: <201108181310.10920.jhb@freebsd.org>
References:  <E040B3A9-9B62-4545-ADC9-5CE3A9217024@me.com> <201108161515.50127.jhb@freebsd.org> <23B6937F-F261-4DC4-9168-96720251C98D@me.com> <201108181310.10920.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
John,=20

Unfortunately not, as we is still need 4 additional instructions or some =
sort of memory=20
barrier [ like mb() in Tru64 :) ] .

Regards,

Christoph

--
Christoph Hoffmann

On Aug 18, 2011, at 7:10 PM, John Baldwin wrote:

> On Thursday, August 18, 2011 12:30:24 pm Christoph Hoffmann wrote:
>> Hello John,
>>=20
>> Thank you very much indeed for the hints.
>>=20
>> I am under the impression that we are facing a problem with =
synchronisation=20
>> of CPU local caches. I also wasn't able to find any problem with =
memory=20
>> allocation.
>>=20
>> This box is equipped with:
>>=20
>> 1 Processor(s) detected, 4 total cores enabled, Hyperthreading is =
enabled      =20
>> Proc 1: Intel(R) Xeon(R) CPU E5630 @ 2.53GHz                          =
         =20
>> QPI Speed: 5.8 GT/s                                                   =
         =20
>>=20
>> Changing the order of execution in zfsboot.c main() function to
>>=20
>> [=85]
>> int
>> main(void)
>> {
>> [=85]
>>    bios_getmem();
>>=20
>>    if (high_heap_size > 0) {
>> [=85]
>>    bootinfo.bi_version =3D BOOTINFO_VERSION;
>>    bootinfo.bi_size =3D sizeof(bootinfo);
>>    bootinfo.bi_basemem =3D bios_basemem / 1024;
>>    bootinfo.bi_extmem =3D bios_extmem / 1024;
>>    bootinfo.bi_memsizes_valid++;
>> /*  bootinfo.bi_bios_dev =3D dsk->drive; */
>>    bootinfo.bi_bios_dev =3D *(uint8_t *)PTOV(ARGS);
>=20
> What if you leave the order as-is but just change this one line to use=20=

> PTOV(ARGS) directly here instead of 'dsk->drive'?
>=20
> --=20
> John Baldwin
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to =
"freebsd-current-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E4144408-8FE7-4FC6-B394-06B2072AC824>