ACPI, maybe GEOM problem

From: Peter Gade Jensen <rhazn_at_daimi.au.dk>
Date: Wed, 10 Dec 2003 02:18:51 +0100
I get a pagefault when i return from suspend(acpiconf -s 3) on my Toshiba Satellite Pro
6000. This used to work back in 5.1. 

FreeBSD aki 5.2-CURRENT FreeBSD 5.2-CURRENT #5: Wed Dec 10
00:52:34 CET 2003     root_at_aki:/usr/obj/usr/src/sys/AKI  i386

debug.acpi.acpi_ca_version: 0x20031203

======== acpi_printcpu() debug dump ========
gdt[0077:c08770c0] idt[07ff:c08779e0] ldt[0028] tr[0020] efl[00000086]
eax[00000046] ebx[c2bbf080] ecx[c2d3d140] edx[c2d3d140]
esi[00000000] edi[c1665450] ebp[d257bad0] esp[d257baa0]
cr0[8005003b] cr2[280b1140] cr3[0ba60000] cr4[00000691]
cs[0008] ds[0010] es[0010] fs[0018] gs[002f] ss[0010]
======== acpi_printcpu() debug dump ========
gdt[0077:c08770c0] idt[07ff:c08779e0] ldt[0028] tr[0020] efl[00000002]
eax[00000001] ebx[c2bbf080] ecx[00000001] edx[c2d3d140]
esi[00000000] edi[c1665450] ebp[d257bad0] esp[d257baa0]
cr0[8005003b] cr2[280b1140] cr3[0ba60000] cr4[00000691]
cs[0008] ds[0010] es[0010] fs[0018] gs[002f] ss[0010]
pcib0: matched entry for 0.2.INTA (source \\_SB_.PCI0.FNC0.LNKG)
pcib0: slot 2 INTA is routed to irq 11
pcib0: matched entry for 0.6.INTA (source \\_SB_.PCI0.FNC0.LNKH)
pcib0: slot 6 INTA is routed to irq 11
pcib0: matched entry for 0.10.INTA (source \\_SB_.PCI0.FNC0.LNKD)
pcib0: slot 10 INTA is routed to irq 11
pcib0: matched entry for 0.17.INTA (source \\_SB_.PCI0.FNC0.LNKA)
pcib0: slot 17 INTA is routed to irq 11
pcib0: matched entry for 0.17.INTB (source \\_SB_.PCI0.FNC0.LNKB)
pcib0: slot 17 INTB is routed to irq 11
pcib0: matched entry for 0.18.INTA (source \\_SB_.PCI0.FNC0.LNKA)
pcib0: slot 18 INTA is routed to irq 11
pcib1: matched entry for 1.0.INTA (source \\_SB_.PCI0.FNC0.LNKC)
pcib1: slot 0 INTA is routed to irq 11
ata0: resetting devices ..
ata0: reset tp1 mask=03 ostat0=80 ostat1=80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad0: stat=0x50 err=0x00 lsb=0xfe msb=0x3f
ata0-slave:  stat=0x00 err=0x00 lsb=0xfe msb=0x3f
ata0: reset tp2 mask=03 stat0=50 stat1=00 devices=0x0
GEOM: destroy disk ad0 dp=0xc2c6fd60

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0xdeadc0ea
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc059b519
stack pointer           = 0x10:0xcdc6cbf8
frame pointer           = 0x10:0xcdc6cc2c
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 2 (g_event)
Dumping 239 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224
 ---
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc0493b55 in db_fncall (dummy1=0, dummy2=0, dummy3=1999,
 dummy4=0xcdc6c9ec " \v\202ÀHd\207À\bÊÆÍ\r") at
 /usr/src/sys/ddb/db_command.c:548
#2  0xc04938a2 in db_command (last_cmdp=0xc0820240, cmd_table=0x0,
 aux_cmd_tablep=0xc07cb9d4, aux_cmd_tablep_end=0xc07cb9d8)
    at /usr/src/sys/ddb/db_command.c:346
#3  0xc04939e5 in db_command_loop () at
    /usr/src/sys/ddb/db_command.c:472
#4  0xc04969e5 in db_trap (type=12, code=0) at
    /usr/src/sys/ddb/db_trap.c:73
#5  0xc073975c in kdb_trap (type=12, code=0, regs=0xcdc6cbb8) at
    /usr/src/sys/i386/i386/db_interface.c:171
#6  0xc074f3e6 in trap_fatal (frame=0xcdc6cbb8, eva=0) at
    /usr/src/sys/i386/i386/trap.c:816
#7  0xc074f092 in trap_pfault (frame=0xcdc6cbb8, usermode=0,
    eva=3735929066) at /usr/src/sys/i386/i386/trap.c:735
#8  0xc074ec53 in trap (frame=
          {tf_fs = 24, tf_es = -1065746416, tf_ds = 16, tf_edi =
          -1027136512, tf_esi = -1027559168, tf_ebp = -842609620, tf_isp
          = -842609692, tf_ebx = 0, tf_edx = -559038242, tf_ecx =
          -559038242, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip =
          -1067862759, tf_cs = 8, tf_eflags = 66071, tf_esp = 244, tf_ss
          = 579})
    at /usr/src/sys/i386/i386/trap.c:420
#9  0xc073b1a8 in calltrap () at {standard input}:94
#10 0xc059d74d in g_access_rel (cp=0xc2c0b100, dcr=-1, dcw=-1,
    dce=-1027136512) at /usr/src/sys/geom/geom_subr.c:627
#11 0xc0598433 in g_dev_orphan (cp=0xc2c08c80) at
    /usr/src/sys/geom/geom_dev.c:437
#12 0xc0599d00 in g_orphan_register (pp=0xc2c72400) at
    /usr/src/sys/geom/geom_event.c:143
#13 0xc0599e20 in one_event () at /usr/src/sys/geom/geom_event.c:173
#14 0xc059a035 in g_run_events () at /usr/src/sys/geom/geom_event.c:206
#15 0xc059b065 in g_event_procbody () at
    /usr/src/sys/geom/geom_kern.c:134
#16 0xc05bbd44 in fork_exit (callout=0xc059b020 <g_event_procbody>,
    arg=0x0, frame=0x0) at /usr/src/sys/kern/kern_fork.c:793

Attached are dmesg and kernelconf. Tell me if you need more?

/peter
-- 
"What I like most about myself is that I'm so understanding when I mess
things up."

Received on Tue Dec 09 2003 - 16:19:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:33 UTC