Skip site navigation (1)Skip section navigation (2)
Date:      26 Jan 2003 17:08:40 -0500
From:      Eric Jones <fpicard@bellsouth.net>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Options MAXMEM added to GENERIC kernel config causes kernel panic in -current
Message-ID:  <1043618525.630.4.camel@griffin.webcoven.org>
In-Reply-To: <20030124045626.GA8647@troutmask.apl.washington.edu>
References:  <20030123173821.F3206-100000@oahu.WURLDLINK.NET> <20030124045626.GA8647@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2003-01-23 at 23:56, Steve Kargl wrote:
> On Thu, Jan 23, 2003 at 05:40:16PM -1000, Vincent Poy wrote:
> > 
> > /boot/kernel/acpi.ko text=0x2fab4 data=-0x1a84+0x6e0
> > syms=[0x4+0x5540+0x702d|]
> 
> snip
> 
> > embedded  0     6     A   0x60  3 4 5 6 7 9 10 11 12 14 15
> > panic: pmap_mapdev: Couldn't alloc kernel virtual memory
> > Debugger("panic")
> > Stopped at      Debugger+0x45:  xchgl  %ebx,in_Debugger.0
> > db> trace
> > Debugger(c0435e9c) at Debugger+0x45
> > panic(c0460ba0,0,0,c064cbc4,0) at panic+0x7c
> > pmap_mapdev(1ffd0000,0,c064cc54,c064cbd4,c060547a) at pmap_mapdev+0x5d
> > AcpiOsMapMemory(1ffd0000,0,0,c064cbc4,0) at AcpiOsMapMemory+0x12
> > AcpiTbGetThisTable(c064cc54,c064cc08,c064cc64,c064cc54,c064cc54) at
> > AcpiTbGetThisTable+0xa6
> > AcpiTbGetTableBody(c064cc54,c064cc08,c064cc64,0,0) at AcpiTbTableBody+0x3b
> > AcpiTbGetTable(c064cc54,c064cc64,c064cc54,9,1ffd0000) at AcpiTbGetTable+0x29
> > AcpiTbGetTableRsdt(1,fd6e0,0,c061a520,c159ec80) at AcpiTbGetTableRsdt+0x1a
> > AcpiLoadTables(0,c66d8118,c061a3c8,c1586aa0,c064ccfc) at AcpiLoadTables+0x85
> > acpi_identify(c061a3c8,c159ec80) at acpi_identify+0x99
> > bus_generic_probe(c159ec80,c66b1090,c064cd34,c028e724,c159ec80) at
> > bus_generic_probe+0x54
> > nexus_probe(c159ec80) at nexus_probe+0x186
> > device_probe_child(c159ef00,c159ec80,c028e4e5,c15917c8,1) at
> > device_probe_child+0xcc
> > device_probe_and_attach(c159ec80) at device_probe_and_attach+0x4b
> > root_bus_configure(c159ef00,c045b660,0,4) at root_bus_configure+0x16
> > configure(0,649c00,649000,0,c01378b5) at configure+0x22
> > mi_startup() at mi_startup+0x9a
> > begin() at begin+0x2c
> > db>
> > 
> 
> Disable acpi. acpi is broken.

I had the same problem until today.  If ACPI was enabled, I would get a
panic on boot.  I removed MAXMEM from my kernel conf, recompiled, and
voila, no panic.  ACPI looks like its working, according to the dmesg,
where any attempt to load it before panicked with pmap_mapdev: Couldn't
alloc kernel virtual memory.

Is there any reason, on newer motherboards, to need the MAXMEM option? 
Without it specified, I see all 256M in the system.  I originally had it
specified for the old K6-2 MB I had in this system.  The new MB with a
Duron onboard doesn't need it.

Just my $0.02

-- 
Eric Jones <fpicard@bellsouth.net>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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