panic: pmap_mapdev: Couldn't alloc kernel virtual memory on
mpt_attach
Pawel Worach
pawel.worach at telia.com
Sat Jan 8 00:13:16 PST 2005
Pawel Worach wrote:
> mpt0: soft reset
> mpt1: <LSILogic 1030 Ultra4 Adapter> port 0x2700-0x27ff mem
> 0xf7fc0000-0xf7fcffff,0xf7fd0000-0xf7fdffff irq 28 at device 7.1 on pci8
> mpt1: linking with peer (mpt0)
> mpt1: Reserved 0x10000 bytes for rid 0x14 type 3 at 0xf7fd0000
> panic: pmap_mapdev: Couldn't alloc kernel virtual memory
After a quick binary search I found the commit that sunk the mpt battleship.
2004-11-21 04:30:00 UTC works
2004-11-21 05:00:00 UTC panics
Can KTR be used during the boot process, the busdma stuff seems pretty well
instrumented?
scottl 2004-11-21 04:43:28 UTC
FreeBSD src repository
Modified files:
sys/i386/i386 busdma_machdep.c
Log:
MFC amd64:
Consolidate all of the bounce tests into the BUS_DMA_COULD_BOUNCE flag.
Allocate the bounce zone at either tag creation or map creation to help
avoid null-pointer derefs later on. Track total pages per zone so that
each zone can get a minimum allocation at tag creation time instead of
being defeated by mis-behaving tags that suck up the max amount.
Revision Changes Path
1.66 +45 -29 src/sys/i386/i386/busdma_machdep.c
--
Pawel
More information about the freebsd-current
mailing list