Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Nov 2004 22:20:08 -0800 (PST)
From:      Doug White <dwhite@gumbysoft.com>
To:        Aaron Wallace <awallac3@uiuc.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: bug report: AMD64, 5.3, sym driver
Message-ID:  <20041128220740.O40277@carver.gumbysoft.com>
In-Reply-To: <41A60006.3060708@uiuc.edu>
References:  <41A60006.3060708@uiuc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Nov 2004, Aaron Wallace wrote:

> I believe that I've found a bug with the sym driver in AMD64.  I don't
> have this problem with 5.3 under i386.  I wasn't able to submit this
> report via web because the anti-spam code wasn't being recognized.
>
> The problem occurs during boot up / driver detect.  I get the following
> messages in bootup which I've manually copied:
>
> sym0: <810a> port 0x9000-0x90ff mem 0xea094000-0xea0940ff irq 12 at
> device 7.0 on pci1
> __sym_calloc2: failed to allocate HCB[4288]
> device_attach: sym0 attach returned 6

Oh yuck. The sym driver has its own memory allocator that caps allocations
at 1 page. Since PAGE_SIZE on amd64 is 4k, and the 64 bit resizing of the
structs puts the size over 4k, the struct will need some pruning.
(PAGE_SIZE is 8k on sparc64 (and alpha?) which is why this hasn't been
caught previously.)

You will have to use a different controller until the driver can be fixed.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



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