From owner-acpi-jp@jp.FreeBSD.org Sat Feb 22 02:49:30 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id h1LHnUW71466;
	Sat, 22 Feb 2003 02:49:30 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from amsfep13-int.chello.nl (amsfep13-int.chello.nl [213.46.243.24])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id h1LHnSi71063
	for <acpi-jp@jp.FreeBSD.org>; Sat, 22 Feb 2003 02:49:28 +0900 (JST)
	(envelope-from einekoai@chello.nl)
Received: from [192.168.1.6] ([212.187.7.57]) by amsfep13-int.chello.nl
          (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP
          id <20030221174919.HWKA14460.amsfep13-int.chello.nl@[192.168.1.6]>;
          Fri, 21 Feb 2003 18:49:19 +0100
From: Koop Mast <einekoai@chello.nl>
To: acpi-jp@jp.FreeBSD.org
Cc: paul@fnug.net
Content-Type: multipart/mixed; boundary="=-oen2OJ18UiNR8ybCBLYh"
Organization: 
Message-Id: <1045849758.642.18.camel@lapbeest.bogus>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.2 
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: 21 Feb 2003 18:49:18 +0100
X-Sequence: acpi-jp 2095
Subject: [acpi-jp 2095] acpi panic ASUS L3800
Errors-To: owner-acpi-jp@jp.FreeBSD.org
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: einekoai@chello.nl
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030107


--=-oen2OJ18UiNR8ybCBLYh
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

(sorry for the dubble messages, I accendentely hit the send button).

Hi acpi-list,

I have here a panic (actual from late november).
This problem was also reported by Paul Mayer (CC'd).

This panic happens when you forget to unplug the power connector when
booting (it is safe to plug it in after 1 minute after booting). But
after that when you unplug the power connector its panics just the same.

dmesg-l3800 is the dmesg with the panic and backtrace-l3800 is the 
backtrace from the dump. 

I'm willing to test patches and/or gdb the dump file.

-Koop



--=-oen2OJ18UiNR8ybCBLYh
Content-Disposition: attachment; filename=backtrace-l3800
Content-Type: text/plain; name=backtrace-l3800; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-undermydesk-freebsd"...
panic: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xdeadc0de
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc014dde0
stack pointer           = 0x10:0xccfcdbe0
frame pointer           = 0x10:0xccfcdbe0
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         = 21 (acpi_thermal)
panic: from debugger
 
 
Fatal trap 3: breakpoint instruction fault while in kernel mode
instruction pointer     = 0x8:0xc032dc34
stack pointer           = 0x10:0xccfcd960
frame pointer           = 0x10:0xccfcd96c
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, IOPL = 0
current process         = 21 (acpi_thermal)
panic: from debugger
Uptime: 2m11s
Dumping 255 MB
ata0: resetting devices ..
done
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
---
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
239             dumping++;
(kgdb) where
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
#1  0xc02154ce in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:371
#2  0xc0215733 in panic () at /usr/src/sys/kern/kern_shutdown.c:542
#3  0xc0159312 in db_panic () at /usr/src/sys/ddb/db_command.c:448
#4  0xc0159292 in db_command (last_cmdp=0xc03a87c0, cmd_table=0x0,
    aux_cmd_tablep=0xc03a1bd0, aux_cmd_tablep_end=0xc03a1bd4)
    at /usr/src/sys/ddb/db_command.c:346
#5  0xc01593a6 in db_command_loop () at /usr/src/sys/ddb/db_command.c:470
#6  0xc015c13a in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_trap.c:72
#7  0xc032d992 in kdb_trap (type=12, code=0, regs=0xccfcdba0)
    at /usr/src/sys/i386/i386/db_interface.c:166
#8  0xc033f142 in trap_fatal (frame=0xccfcdba0, eva=0)
    at /usr/src/sys/i386/i386/trap.c:839
#9  0xc033ee52 in trap_pfault (frame=0xccfcdba0, usermode=0, eva=3735929054)
    at /usr/src/sys/i386/i386/trap.c:758
#10 0xc033e9cd in trap (frame=
      {tf_fs = -1071644648, tf_es = -1069940720, tf_ds = 1045823504, tf_edi = 0, tf_esi = -1070124994, tf_ebp = -855843872, tf_isp = -855843892, tf_ebx = -1070124989, tf_edx = -559038242, tf_ecx = 1, tf_eax = 0, tf_trapno = 12, tf_err = 0,
tf_eip = -1072374304, tf_cs = 8, tf_eflags = 66195, tf_esp = -855843832, tf_ss = -1072371475}) at /usr/src/sys/i386/i386/trap.c:445
#11 0xc032f2e8 in calltrap () at {standard input}:96
#12 0xc014e8ed in AcpiGetHandle (Parent=0xdeadc0de,
---Type <return> to continue, or q <return> to quit---
    Pathname=0xc037303e "_PS0", RetHandle=0xccfcdc2c)
    at /usr/src/sys/contrib/dev/acpica/nsxfname.c:177
#13 0xc01662c3 in acpi_pwr_switch_consumer (consumer=0x0, state=0)
    at /usr/src/sys/dev/acpica/acpi_powerres.c:359
#14 0xc0167b58 in acpi_tz_switch_cooler_on (obj=0xc232e560, arg=0xc2266e00)
    at /usr/src/sys/dev/acpica/acpi_thermal.c:588
#15 0xc015e1ed in acpi_ForeachPackageObject (pkg=0xc2266e00,
    func=0xc0167b20 <acpi_tz_switch_cooler_on>, arg=0xc2266e00)
    at /usr/src/sys/dev/acpica/acpi.c:1160
#16 0xc016793b in acpi_tz_monitor (sc=0xc232e560)
    at /usr/src/sys/dev/acpica/acpi_thermal.c:462
#17 0xc0167ea6 in acpi_tz_timeout (sc=0xc2266e00)
    at /usr/src/sys/dev/acpica/acpi_thermal.c:741
#18 0xc0168086 in acpi_tz_thread (arg=0x0)
    at /usr/src/sys/dev/acpica/acpi_thermal.c:821
#19 0xc0202074 in fork_exit (callout=0xc0167fc0 <acpi_tz_thread>, arg=0x0,
    frame=0x0) at /usr/src/sys/kern/kern_fork.c:871
(kgdb)

--=-oen2OJ18UiNR8ybCBLYh
Content-Disposition: attachment; filename=dmesg-l3800
Content-Type: text/plain; name=dmesg-l3800; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #9: Fri Feb 21 17:51:40 CET 2003
    root@lapbeest.bogus:/usr/obj/usr/src/sys/babylon
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0547000.
Preloaded elf module "/boot/kernel/if_an.ko" at 0xc05470a8.
Preloaded elf module "/boot/kernel/wlan.ko" at 0xc0547154.
Preloaded elf module "/boot/kernel/rc4.ko" at 0xc0547200.
Preloaded elf module "/boot/kernel/if_rl.ko" at 0xc05472a8.
Preloaded elf module "/boot/kernel/miibus.ko" at 0xc0547354.
Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc0547400.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc05474ac.
Preloaded elf module "/boot/kernel/smbfs.ko" at 0xc0547558.
Preloaded elf module "/boot/kernel/libmchain.ko" at 0xc0547604.
Preloaded elf module "/boot/kernel/libiconv.ko" at 0xc05476b4.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 2000081428 Hz
CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (2000.08-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf24  Stepping = 4
  Features=0x3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory  = 268406784 (255 MB)
avail memory = 255057920 (243 MB)
Pentium Pro MTRR support enabled
VESA: v2.0, 32768k memory, flags:0x1, mode table:0xc043a862 (1000022)
VESA: ATI MOBILITY RADEON 7500
netsmb_dev: loaded
acpi0: <ASUS   P4_L3CS > on motherboard
    ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
    ACPI-0625: *** Info: GPE Block1 defined as GPE16 to GPE31
pcibios: BIOS version 2.10
Using $PIR table, 6 entries at 0xc00f13b0
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <thermal zone> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_acad0: <AC adapter> on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82845 host to AGP bridge> mem 0xe0000000-0xefffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0xb800-0xb81f irq 5 at device 29.0 on pci0
uhci0: LegSup = 0x00002f00
usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port 0xb400-0xb41f irq 9 at device 29.1 on pci0
uhci1: LegSup = 0x00000f10
usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
rl0: <RealTek 8139 10/100BaseTX> port 0xa800-0xa8ff mem 0xd6800000-0xd68000ff irq 9 at device 5.0 on pci2
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect moderl0: Ethernet address: 00:e0:18:9a:3e:3a
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
cbb0: <RF5C476 PCI-CardBus Bridge> irq 5 at device 7.0 on pci2
start (88000000) < sc->membase (d6000000)
end (ffffffff) > sc->memlimit (d6ffffff)
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <RF5C476 PCI-CardBus Bridge> irq 11 at device 7.1 on pci2
start (88000000) < sc->membase (d6000000)
end (ffffffff) > sc->memlimit (d6ffffff)
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pci2: <serial bus, FireWire> at device 7.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 UDMA100 controller> port 0x8400-0x840f,0x8800-0x8803,0x9000-0x9007,0x9400-0x9403,0x9800-0x9807 mem 0xd5800000-0xd58003ff irq 9 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcm0: <Intel 82801CA (ICH3)> port 0xe100-0xe13f,0xe000-0xe0ff irq 11 at device 31.5 on pci0
pcm0: <Cirrus Logic CS4299D ac97 codec>
pci0: <simple comms> at device 31.6 (no driver attached)
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A, console
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
acpi_ec0: <embedded controller> port 0x66,0x62 on acpi0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pmtimer0 on isa0
orm0: <Option ROM> at iomem 0xc0000-0xcefff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x0>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
Timecounters tick every 10.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging disabled
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
ad0: 38154MB <IC25N040ATCS04-0> [77520/16/63] at ata0-master UDMA100
acd0: CD-RW <TOSHIBA DVD-ROM SD-R2102> at ata1-master UDMA33
pcm0: measured ac97 link rate at 512000000 Hz
MBREXT Slice 5 on ad0s4:
[0] f:00 typ:131 s(CHS):255/120/193 e(CHS):255/118/255 s:63 l:192717
[1] f:00 typ:5 s(CHS):255/119/193 e(CHS):255/118/255 s:192780 l:996030
MBREXT Slice 6 on ad0s4:
[0] f:00 typ:130 s(CHS):255/120/193 e(CHS):255/118/255 s:63 l:995967
[1] f:00 typ:5 s(CHS):255/119/193 e(CHS):255/118/255 s:1188810 l:498015
MBREXT Slice 7 on ad0s4:
[0] f:00 typ:131 s(CHS):255/120/193 e(CHS):255/118/255 s:63 l:497952
[1] f:00 typ:5 s(CHS):255/119/193 e(CHS):255/118/255 s:1686825 l:498015
MBREXT Slice 8 on ad0s4:
[0] f:00 typ:131 s(CHS):255/120/193 e(CHS):255/118/255 s:63 l:497952
[1] f:00 typ:5 s(CHS):255/119/193 e(CHS):255/118/255 s:2184840 l:2923830
MBREXT Slice 9 on ad0s4:
[0] f:00 typ:131 s(CHS):255/120/193 e(CHS):255/118/255 s:63 l:2923767
[1] f:00 typ:5 s(CHS):255/119/193 e(CHS):255/254/255 s:5108670 l:13021218
MBREXT Slice 10 on ad0s4:
[0] f:00 typ:131 s(CHS):255/120/193 e(CHS):255/254/255 s:63 l:13021155
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
Mounting root from ufs:/dev/ad0s2a
Loading configuration files.
Entropy harvesting: interrupts ethernet point_to_point.
kernel dumps on /dev/ad0s2b
swapon: adding /dev/ad0s2b as swap device
Starting file system checks:
hw.acpi.cpu.economy_speed: 4 -> 2
Doing initial network setup: hostname.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet 127.0.0.1 netmask 0xff000000
Flushed all rules.
00100 allow ip from any to any via lo0
00200 deny ip from any to 127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
65000 allow ip from any to any
Firewall rules loaded, starting divert daemons:.
Additional routing options:.
hw.bus.devctl_disable: 0 -> 1
Mounting NFS file systems:.
Starting syslogd.
Feb 21 18:12:06 lapbeest syslogd: kernel boot file is /boot/kernel/kernel
Checking for core dump...
savecore: no dumps found
ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout
Starting usbd.
vidcontrol: must be on a virtual console: Inappropriate ioctl for device
usbd: '/usr/sbin/moused -p /dev/${DEVNAME} -I /var/run/moused.${DEVNAME}.pid
; /usr/sbin/vidcontrol -m on' returned 1
Starting apm.
Starting local daemons:.
Updating motd.
Configuring syscons: blanktime.
Starting sshd.
Initial i386 initialization:.
Additional ABI support: linux.
Local package initialization: dhclient rl0.
Additional TCP options:.
Starting moused:.
Starting cron.
Starting background file system checks in 60 seconds.
 
Fri Feb 21 18:12:17 CET 2003
 
FreeBSD/i386 (lapbeest.bogus) (ttyd0)
 
login: Feb 21 18:12:28 lapbeest login: ROOT LOGIN (root) ON ttyv0
 
 
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xdeadc0de
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc014dde0
stack pointer           = 0x10:0xccfcdbe0
frame pointer           = 0x10:0xccfcdbe0
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         = 21 (acpi_thermal)
kernel: type 12 trap, code=0
Stopped at      AcpiNsMapHandleToNode+0x20:     cmpb    $0xaa,0(%edx)
db> trace
AcpiNsMapHandleToNode(deadc0de,deadc0de,ccfcdc08,c016611b,0) at AcpiNsMapHandleToNode+0x20
AcpiGetHandle(deadc0de,c037303e,ccfcdc2c,ccfcdc30,0) at AcpiGetHandle+0x4d
acpi_pwr_switch_consumer(deadc0de,0,c231dc60,c03732a9,0) at acpi_pwr_switch_consumer+0xe3
acpi_tz_switch_cooler_on(c232e560,c2266e00,0,c2266e00,0) at acpi_tz_switch_cooler_on+0x38
acpi_ForeachPackageObject(c232e340,c0167b20,c2266e00,ccfcdcd4,c0167fae) at acpi_ForeachPackageObject+0x3d
acpi_tz_monitor(c2266e00,0,ccfcdd0c,c0168086,c2266e00) at acpi_tz_monitor+0x29b
acpi_tz_timeout(c2266e00,ccfcdd00,ccfcdd04,32d,bb8) at acpi_tz_timeout+0x26
acpi_tz_thread(0,ccfcdd48,c038525d,35f,0) at acpi_tz_thread+0xc6
fork_exit(c0167fc0,0,ccfcdd48) at fork_exit+0xc4
fork_trampoline() at fork_trampoline+0x1a
--- trap 0x1, eip = 0, esp = 0xccfcdd7c, ebp = 0 ---
db>

--=-oen2OJ18UiNR8ybCBLYh--

