Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Mar 2015 09:53:01 +0100
From:      Michael Fuckner <michael@fuckner.net>
To:        Steven Hartland <killing@multiplay.co.uk>, Ryan Stone <rysto32@gmail.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: Server with 3TB Crashing at boot
Message-ID:  <55093CED.4090604@fuckner.net>
In-Reply-To: <5503405E.6050805@multiplay.co.uk>
References:  <550046F7.1050205@fuckner.net>	<CAJ-VmokruCyo3M5up9n%2BAfvkr7VFBtUftpdgc=52ES%2BNt6=JZA@mail.gmail.com>	<CAPQ4ffsd-SpsLTbGL8BdBsNHLx9HhVQ4Wh%2B95M98fCmT5idPAg@mail.gmail.com>	<550093DD.5040603@freebsd.org>	<55015D3B.6030605@fuckner.net>	<5501DD57.7030305@freebsd.org>	<CAJ-Vmom%2BZy_6ZCcTA_h4LFL-wDdaCmbqAgN5shpOsBBgWJw1mg@mail.gmail.com>	<5503234A.4060103@fuckner.net>	<55032C1B.5030004@multiplay.co.uk> <CAFMmRNzmr0Z1vXYK5y2QLk3eyUqXyK8TELgh4KHZ%2BDQVDXWZAg@mail.gmail.com> <5503405E.6050805@multiplay.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/13/2015 08:54 PM, Steven Hartland wrote:
>
> On 13/03/2015 19:40, Ryan Stone wrote:
>> On Fri, Mar 13, 2015 at 2:27 PM, Steven Hartland
>> <killing@multiplay.co.uk <mailto:killing@multiplay.co.uk>> wrote:
>>
>>     Looks like that's panicing when allocating the zfs dbuf hash
>>     table, which by my calculation should be requesting 8GB for a 4TB
>>     physmem?
>>
>>
>> Interesting observation.  Michael, can you try booting with this patch
>> applied?  There is a bug in the kernel when we attempt to malloc()
>> more than 4GB.
>>
>> https://people.freebsd.org/~rstone/patches/vm_64bit_malloc.diff
>> <https://people.freebsd.org/%7Erstone/patches/vm_64bit_malloc.diff>;
>>
> Nice catch Ryan, don't you just love integer overflows ;-)
>
could someone please push this patch to head- or are there any objections?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55093CED.4090604>