Server with 3TB Crashing at boot

Michael Fuckner michael at fuckner.net
Wed Mar 18 08:53:27 UTC 2015


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 at multiplay.co.uk <mailto:killing at 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?



More information about the freebsd-hackers mailing list