Server with 3TB Crashing at boot

Steven Hartland killing at multiplay.co.uk
Fri Mar 13 19:54:18 UTC 2015


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 ;-)

     Regards
     Steve


More information about the freebsd-hackers mailing list