Subject: Re: uvm_fault: stopped in sysmon
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2007.salmi.ch>
List: current-users
Date: 08/21/2007 23:32:04
Tobias Nygren --> current-users (2007-08-21 18:06:52 +0200):
> On Tue, 21 Aug 2007 17:52:06 +0200
> Jukka Salmi <j+nbsd@2007.salmi.ch> wrote:
> 
> > Hi,
> > 
> > I just wanted to try the recently [1]published fix for a firmware bug
> > on my (i386) x40 thinkpad laptop when I noticed that booting an ACPI
> > enabled kernel fails:
> > 
> > Kernelized RAIDframe activated
> > uvm_fault(0xc05add80, 0, 1) -> 0xe
> > kernel: supervisor trap page fault, code=0
> > Stopped in pid 2.1 (sysmon) at  netbsd:EcGpeQueryHandler+0x2e:  movzbl  0(%eax),%eax
> > db> bt
> > EcGpeQueryHandler(c190b200,0,0,0,cb321a80) at netbsd:EcGpeQueryHandler+0x2e
> > sysmon_task_queue_thread(cb321a80,0,c01002d2,fbff,c01002d2) at netbsd:sysmon_task_queue_thread+0x38
> > 
> > (this is hand typed and thus might contain typoes...)
> > 
> > Any hints?
> 
> Hmm. Make sure you have the latest firmwares installed. IIRC you can
> see the version in the BIOS setup dialog. I have BIOS 2.08 and Embedded
> Controller 1.62 and it works fine here.

I'm using the same firmware versions. BTW, this problem has nothing
to do with your DSDT fix (which works fine, thanks a lot!), I see it
also if I don't use ACPI_DSDT_OVERRIDE.

I noticed that the problem disappears if I comment out `pckbc* at
acpi?'. My kernel config file is:

    include "arch/i386/conf/GENERIC_LAPTOP"
    no apm* at mainbus0
    options POWERHOOK_DEBUG
    options ACPIVERBOSE
    aiboost* at acpi?
    attimer* at acpi?
    com*     at acpi?
    fdc*     at acpi?
    hpet*    at acpi?
    joy*     at acpi?
    lpt*     at acpi?
    mpu*     at acpi?
    npx*     at acpi?
    pckbc*   at acpi?
    pcppi*   at acpi?
    ug*      at acpi?
    wss*     at acpi?
    ym*      at acpi?

Is there a known problem with pckbc@acpi?


Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~