From owner-freebsd-hackers@FreeBSD.ORG Fri May 23 15:36:45 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE62E37B401 for ; Fri, 23 May 2003 15:36:45 -0700 (PDT) Received: from adsl-64-161-78-226.dsl.lsan03.pacbell.net (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 69E9943F93 for ; Fri, 23 May 2003 15:36:44 -0700 (PDT) (envelope-from oremanj@adsl-64-161-78-226.dsl.lsan03.pacbell.net) Received: (qmail 41494 invoked by uid 1001); 23 May 2003 22:37:51 -0000 Date: Fri, 23 May 2003 15:37:51 -0700 From: Joshua Oreman To: Mikhail Kruk Message-ID: <20030523223751.GA41427@webserver.get-linux.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i cc: hackers@freebsd.org Subject: Re: current crashes X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 22:36:46 -0000 On Fri, May 23, 2003 at 04:49:30PM -0400 or thereabouts, Mikhail Kruk seemed to write: > Hello, > I'm trying to get a Gateway laptop working on CURRENT. See dmesg.txt for > hardware details. Also notice the lock order reversal complaint, but it's > not my main problem. The main problem is that it crashes quite often. It > always crashes in one of the acpi threads, but not always in the same. > I've seen it happen in both acpi_task? and in acpi_thermal. I can run for > quite a long time, but eventually it happens. The most reliable way to > provoke crash is to start buildworld. As a result I'm running with > 5.0-RELEASE system and 5.1-BETA kernel (took arount 10 attempts to build > the kernel). Now when it crashes I get into debugger, but I couldn't > figure out how to make it dump core. I tried givin 'panic' command and it > seemed like it was dumping core, but it's not in /var/crash. Am I doing it > wrong? > Anyway, here is the trace (typed it in manually): > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x80790ab0 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc06ea4d0 ^^^^^^^^^^ This value is important, but meaningless in its current form. Please see chapter 18 of the FAQ. Read it, do what it says, give us the symbol(s). -- Josh > stack pointer = 0x10:0xcd10bbf0 > frame pointer = 0x19:0xcd10bbf0 > 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 = 6 (acpi_task1) > kernel: type 12 trap, code=0 > Stopped at AcpiNsMapHandleToNode+0x20: cmpb $0xaa,0(%edx) > > trace: > AcpiNsMapHandleToNode > AcpiGetHandle > acpi_pwer_switch_consumer > acpi_tz_switch_cooler_on > acpi_ForeachPackageObject > acpi_tz_monitor > atcpi_task_thread > fork_exit > fork_trampoline > > > Please excuse me if this is wrong place to send this and thanks in avance! > -m > 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.1-BETA #0: Fri May 23 12:28:16 GMT 2003 > root@begemot.dyndns.org:/usr/src/sys/i386/compile/GENERIC > Preloaded elf kernel "/boot/kernel/kernel" at 0xc071a000. > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc071a0a8. > Timecounter "i8254" frequency 1193182 Hz > Timecounter "TSC" frequency 2392954684 Hz > CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2392.95-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 > Features=0xbfebf9ff > real memory = 267911168 (255 MB) > avail memory = 252489728 (240 MB) > Pentium Pro MTRR support enabled > npx0: on motherboard > npx0: INT 16 interface > acpi0: on motherboard > pcibios: BIOS version 2.10 > Using $PIR table, 11 entries at 0xc00fdf10 > 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 0x1008-0x100b on acpi0 > acpi_cpu0: on acpi0 > acpi_tz0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > agp0: mem 0xec000000-0xefffffff at device 0.0 on pci0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pci1: at device 0.0 (no driver attached) > uhci0: port 0x1800-0x181f irq 10 at device 29.0 on pci0 > 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 > pcib2: at device 30.0 on pci0 > pci2: on pcib2 > cbb0: irq 10 at device 2.0 on pci2 > cardbus0: on cbb0 > pccard0: <16-bit PCCard bus> on cbb0 > pci2: at device 3.0 (no driver attached) > fwohci0: vendor=104c, dev=8026 > fwohci0: <1394 Open Host Controller Interface> mem 0xe8200000-0xe8203fff,0xe8206000-0xe82067ff irq 10 at device 5.0 on pci2 > fwohci0: OHCI version 1.10 (ROM=1) > fwohci0: No. of Isochronous channel is 4. > fwohci0: EUI64 00:e0:b8:04:01:01:ec:f1 > fwohci0: Phy 1394a available S400, 1 ports. > fwohci0: Link S400, max_rec 2048 bytes. > firewire0: on fwohci0 > if_fwe0: on firewire0 > if_fwe0: Fake Ethernet address: 02:e0:b8:01:ec:f1 > sbp0: on firewire0 > fwohci0: Initiate bus reset > fxp0: port 0x3c00-0x3c3f mem 0xe8205000-0xe8205fff irq 10 at device 8.0 on pci2 > fxp0: Ethernet address 00:e0:b8:50:23:7b > miibus0: on fxp0 > inphy0: on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port 0x1820-0x182f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 mem 0xe8000000-0xe80003ff at device 31.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > pci0: at device 31.3 (no driver attached) > pci0: at device 31.6 (no driver attached) > acpi_lid0: on acpi0 > ACPI-1287: *** Error: Method execution failed [\\_SB_.LID_._PSW] (Node 0xc2622e80), AE_NOT_EXIST > acpi_acad0: on acpi0 > acpi_cmbat0: on acpi0 > acpi_button0: on acpi0 > 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 > ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0 > ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/8 bytes threshold > ppbus0: on ppc0 > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 > fdc0: FIFO enabled, 8 bytes threshold > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > orm0: