From owner-freebsd-current Wed Dec 11 4: 7:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38DA337B401 for ; Wed, 11 Dec 2002 04:07:35 -0800 (PST) Received: from smtpserv.nhl.nl (smtphost1.nhl.nl [141.252.8.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C20343EB2 for ; Wed, 11 Dec 2002 04:07:33 -0800 (PST) (envelope-from einekoai@chello.nl) Received: from [141.252.172.12] (dhcp12.engineering.tech.nhl.nl [141.252.172.12]) by smtpserv.nhl.nl (8.11.6/8.11.6) with ESMTP id gBBC7Wp09019; Wed, 11 Dec 2002 13:07:33 +0100 Subject: Re: ACPI kernel panic with 5.0-RC1 From: Koop Mast To: "Paul A. Mayer" Cc: FreeBSD current Content-Type: multipart/mixed; boundary="=-yAg/iyKxb6ZcAXiCtVJv" Organization: Message-Id: <1039608450.615.3.camel@lapbeest.bogus> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 11 Dec 2002 13:07:31 +0100 X-NHL-MailScanner: Found to be clean Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-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 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: on motherboard npx0: INT 16 interface acpi0: 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: on acpi0 acpi_tz0: on acpi0 acpi_button0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 acpi_lid0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe0000000-0xefffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 drm0: 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: port 0xb800-0xb81f irq 5 at device 29.0 on pci0 uhci0: LegSup = 0x00002f00 usb0: 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: port 0xb400-0xb41f irq 9 at device 29.1 on pci0 uhci1: LegSup = 0x00000f10 usb1: 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: at device 30.0 on pci0 pci2: on pcib2 rl0: 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: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto cbb0: irq 5 at device 7.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: irq 11 at device 7.1 on pci2 cardbus1: 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: at device 31.0 on pci0 isa0: on isab0 atapci0: 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: port 0xe100-0xe13f,0xe000-0xe0ff irq 11 at device 31.5 on pci0 pci0: at device 31.6 (no driver attached) fdc0: 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: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A, console atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 acpi_ec0: port 0x66,0x62 on acpi0 orm0: