Skip site navigation (1)Skip section navigation (2)
Date:      11 Dec 2002 13:07:31 +0100
From:      Koop Mast <einekoai@chello.nl>
To:        "Paul A. Mayer" <paul@fnug.net>
Cc:        FreeBSD current <current@freebsd.org>
Subject:   Re: ACPI kernel panic with 5.0-RC1
Message-ID:  <1039608450.615.3.camel@lapbeest.bogus>

next in thread | raw e-mail | index | archive | help

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

On Tue, 2002-12-10 at 18:43, Paul A. Mayer wrote: 
> Greetings,
> 
> Congratulations on RC1!  I've found an issue!  :-)
> 
> I just upgraded my ASUS LC3800 portable to 5.0-RC1 from 5.0-DP2.  The
> new kernel panics shortly after booting up and drops into the debugger.
> 
> The messages look something like this:
> 
> Fatal trap 12
> Page fault in kernel mode fault virtual address 0x42 page not present
> ....
> process acpi_thermal
> Stopped at: vm_object_pip_add+0x37: movzwl 0x42(%esi),%eax
> 
> This happens after the kernel is loaded and within approximately 15-30
> seconds after the login prompt is shown.
> 
> The machine is based on the i845MP chipset and is running a 2Ghz mobile P4.
> 
> I'd be happy to provide more debugging info and work on patch testing,
> just tell me what needs to be known or done.
> 
> Please mail my personal address as well as the list, as I've not been
> accepted for the list.
> 
> Best regards,
> 
> Paul
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message

Got the same laptop here, with the same problem.
Dmesg and some debug info attached.

For more debugging info or patch testing just ask.

Paul: 
I found a little work around for this problem.
Just boot de laptop without de AC connector.
After this msg scrolls past 
"acpi_acad0: acline initialization done, tried 7 times" 
I can plug in de AC connector without the machine panic.

But I have seen that if you unplug and then replug the AC connector,
the machine panics anyway.

-Koop

--=-yAg/iyKxb6ZcAXiCtVJv
Content-Disposition: attachment; filename=laptop-debug
Content-Type: text/plain; name=laptop-debug; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xdeadc0de
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc057f6d0
stack pointer           = 0x10:0xcd232c00
frame pointer           = 0x10:0xcd232c00
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         = 7 (acpi_task2)
kernel: type 12 trap, code=0
Stopped at      AcpiNsMapHandleToNode+0x20:     cmpb    $0xaa,0(%edx)
db> Context switches not allowed in the debugger.
db> trace
AcpiNsMapHandleToNode(deadc0de,deadc0de,cd232c28,c05927bb,0) at AcpiNsMapHandleToNode+0x20
AcpiGetHandle(deadc0de,c059cabb,cd232c4c,cd232c50,0) at AcpiGetHandle+0x4d
acpi_pwr_switch_consumer(deadc0de,3,cd232cbc,c025a91a,cd232c98) at acpi_pwr_switch_consumer+0xe3
acpi_tz_switch_cooler_off(c29b9090,c24e9300,0,c24e9300,c24e9300) at acpi_tz_switch_cooler_off+0x58
acpi_ForeachPackageObject(c29b6540,c05940c0,c24e9300,c24e9300,c0593a00) at acpi_ForeachPackageObject+0x3d
acpi_tz_all_off(c24e9300,c022ede1,c03f7220,8,c059d373) at acpi_tz_all_off+0x2f
acpi_tz_establish(c24e9300,0,c059d373,7b,0) at acpi_tz_establish+0x14
acpi_task_thread(0,cd232d48,c03a9c7a,360,0) at acpi_task_thread+0x100
fork_exit(c0596700,0,cd232d48) at fork_exit+0xc4
fork_trampoline() at fork_trampoline+0x1a
--- trap 0x1, eip = 0, esp = 0xcd232d7c, ebp = 0 ---
db> panic
panic: from debugger
Debugger("panic")


Fatal trap 3: breakpoint instruction fault while in kernel mode
instruction pointer     = 0x8:0xc0355674
stack pointer           = 0x10:0xcd232980
frame pointer           = 0x10:0xcd23298c
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = IOPL = 0
current process         = 7 (acpi_task2)
Stopped at      AcpiNsMapHandleToNode+0x20:     cmpb    $0xaa,0(%edx)
db> panic
panic: from debugger
Uptime: 4m9s
pfs_vncache_unload(): 1 entries remaining
Dumping 255 MB
ata0: resetting devices ..
done
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
Dump complete
Terminate ACPI
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...

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

Copyright (c) 1992-2002 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-RC #0: Tue Dec 10 23:27:49 CET 2002
    root@lapbeest.bogus:/usr/obj/usr/src/sys/babylon
Preloaded elf kernel "/boot/kernel/kernel" at 0xc05af000.
Preloaded elf module "/boot/kernel/firewire.ko" at 0xc05af0a8.
Preloaded elf module "/boot/kernel/radeon.ko" at 0xc05af158.
Preloaded elf module "/boot/kernel/smbfs.ko" at 0xc05af204.
Preloaded elf module "/boot/kernel/libmchain.ko" at 0xc05af2b0.
Preloaded elf module "/boot/kernel/libiconv.ko" at 0xc05af360.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc05af410.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 2000081384 Hz
CPU: Pentium 4 (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 = 254701568 (242 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
VESA: v2.0, 32768k memory, flags:0x1, mode table:0xc04832c2 (1000022)
VESA: ATI MOBILITY RADEON 7500
netsmb_dev: loaded
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS   P4_L3CS > on motherboard
    ACPI-0628: *** Info: GPE Block0 defined as GPE0 to GPE15
    ACPI-0628: *** Info: GPE Block1 defined as GPE16 to GPE31
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
drm0: <ATI Radeon LW Mobility 7 (AGP)> port 0xd800-0xd8ff mem 0xd7000000-0xd700ffff,0xd8000000-0xdfffffff irq 5 at device 0.0 on pci1
info: [drm] AGP at 0xe0000000 256MB
info: [drm] Initialized radeon 1.1.1 20010405 on minor 0
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 Optical Mouse, rev 1.10/21.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 mode
rl0: 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
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
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
XXXfw: vendid=1180, dev=552
fwohci0: <1394 Open Host Controller Interface> mem 0xd6000000-0xd60007ff irq 9 at device 7.2 on pci2
fwohci0: PCI bus latency was changing to 250.
fwohci0: Could not map memory
device_probe_and_attach: fwohci0 attach returned 6
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 ATA100 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
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
orm0: <Option ROM> at iomem 0xc0000-0xcefff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging disabled
acpi_cpu0: set speed to 100.0%
acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5%
acpi_acad0: acline initialization start
system power profile changed to 'economy'
acpi_cmbat0: battery initialization start
acpi_cpu0: set speed to 50.0%
acpi_acad0: Off Line
acpi_cmbat0: battery initialization done, tried 1 times
ad0: 38154MB <IC25N040ATCS04-0> [77520/16/63] at ata0-master UDMA100
acd0: CD-RW <TOSHIBA DVD-ROM SD-R2102> at ata1-master UDMA33
MBREXT Slice 5 on ad0s4:
0000   00 fe ff ff 83 fe ff ff 3f 00 00 00 cd f0 02 00  |........?.......|
[0] f:00 typ:131 s(CHS):255/254/255 e(CHS):255/254/255 s:63 l:192717
0000   00 fe ff ff 05 fe ff ff 0c f1 02 00 be 32 0f 00  |.............2..|
[1] f:00 typ:5 s(CHS):255/254/255 e(CHS):255/254/255 s:192780 l:996030
MBREXT Slice 6 on ad0s4:
0000   00 fe ff ff 82 fe ff ff 3f 00 00 00 7f 32 0f 00  |........?....2..|
[0] f:00 typ:130 s(CHS):255/254/255 e(CHS):255/254/255 s:63 l:995967
0000   00 fe ff ff 05 fe ff ff ca 23 12 00 5f 99 07 00  |.........#.._...|
[1] f:00 typ:5 s(CHS):255/254/255 e(CHS):255/254/255 s:1188810 l:498015
MBREXT Slice 7 on ad0s4:
0000   00 fe ff ff 83 fe ff ff 3f 00 00 00 20 99 07 00  |........?... ...|
[0] f:00 typ:131 s(CHS):255/254/255 e(CHS):255/254/255 s:63 l:497952
0000   00 fe ff ff 05 fe ff ff 29 bd 19 00 5f 99 07 00  |........)..._...|
[1] f:00 typ:5 s(CHS):255/254/255 e(CHS):255/254/255 s:1686825 l:498015
MBREXT Slice 8 on ad0s4:
0000   00 fe ff ff 83 fe ff ff 3f 00 00 00 20 99 07 00  |........?... ...|
[0] f:00 typ:131 s(CHS):255/254/255 e(CHS):255/254/255 s:63 l:497952
0000   00 fe ff ff 05 fe ff ff 88 56 21 00 36 9d 2c 00  |.........V!.6.,.|
[1] f:00 typ:5 s(CHS):255/254/255 e(CHS):255/254/255 s:2184840 l:2923830
MBREXT Slice 9 on ad0s4:
0000   00 fe ff ff 83 fe ff ff 3f 00 00 00 f7 9c 2c 00  |........?.....,.|
[0] f:00 typ:131 s(CHS):255/254/255 e(CHS):255/254/255 s:63 l:2923767
0000   00 fe ff ff 05 fe ff ff be f3 4d 00 22 b0 c6 00  |..........M."...|
[1] f:00 typ:5 s(CHS):255/254/255 e(CHS):255/254/255 s:5108670 l:13021218
MBREXT Slice 10 on ad0s4:
0000   00 fe ff ff 83 fe ff ff 3f 00 00 00 e3 af c6 00  |........?.......|
[0] f:00 typ:131 s(CHS):255/254/255 e(CHS):255/254/255 s:63 l:13021155
0000   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  |................|
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0

--=-yAg/iyKxb6ZcAXiCtVJv--


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?1039608450.615.3.camel>