System hangs with ATAng

Kevin Oberman oberman at
Wed Nov 5 13:58:58 PST 2003

I hate following up my own post, but I manages to get some significant

The console (previously inaccessible after the crash) was "on screen"
for the last event and I get the the following:
FAILURE - malloc ATA request failed
cannot allocate ATAPI/CAM request
(cd0:ata1:0:0:0): out of memory, freezing queue.
FAILURE - malloc ATA request failed
ad0: FAILURE - out of memory in start
(These two lines repeat 15 times)
panic: kmem_malloc(4096): kmem_map too small: 216326144 total allocated
Stopped at	Debugger+0x54:  xchgl    %ebx,in_Debugger.0

So it looks like in need to tune my kernel a bit.

Will this work?
options         VM_KMEM_SIZE_SCALE="4"
options         VM_KMEM_SIZE_MAX="(1024*1024*1024)"
options         KVA_PAGES=512

I found these suggested in a prior thread, but I am uncertain if the
values are even close to appropriate to my system (no PAE, UP, 384 MB
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at			Phone: +1 510 486-8634

More information about the freebsd-current mailing list