From owner-freebsd-current@FreeBSD.ORG Thu Jul 3 04:05:10 2003 Return-Path: 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 634AC37B401 for ; Thu, 3 Jul 2003 04:05:10 -0700 (PDT) Received: from amsfep14-int.chello.nl (amsfep14-int.chello.nl [213.46.243.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB43544017 for ; Thu, 3 Jul 2003 04:05:08 -0700 (PDT) (envelope-from einekoai@chello.nl) Received: from [192.168.1.13] ([212.187.7.57]) by amsfep14-int.chello.nl (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP id <20030703110506.ZSY17933.amsfep14-int.chello.nl@[192.168.1.13]>; Thu, 3 Jul 2003 13:05:06 +0200 From: Koop Mast To: "acpi-jp@jp.FreeBSD.org" In-Reply-To: <20030701010230.U86209@root.org> References: <20030701010230.U86209@root.org> Content-Type: multipart/mixed; boundary="=-WS3N3zQWq7MbNeZi73Rz" Message-Id: <1057230554.27367.90.camel@headcrash.prisma.quccc.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 03 Jul 2003 13:09:16 +0200 cc: FreeBSD current Subject: Re: [acpi-jp 2363] Updated ec-burst.diff patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 11:05:10 -0000 --=-WS3N3zQWq7MbNeZi73Rz Content-Type: text/plain Content-Transfer-Encoding: 7bit Op di 01-07-2003, om 10:07 schreef Nate Lawson: > Please download and try the new version. It correctly implements burst > mode to the best of the 2.0 spec. Like the previous message, please > report the appropriate dmesgs ("acpi_ec0*" and "EC Waited*") and any > errors or regression. I've tested "du -a /" while plugging/unplugging the > power cable on my laptop many times with no errors. > > I haven't received any feedback yet. This WILL hit the tree in a few > weeks because it fixes known problems. Test it now or test it then. :) > > Thanks, > -Nate Hi, My machine an ASUS L3800S laptop. Before the burst_ec patch I am using the hw.acpi.ec.event_driven sysctl. This "fixed" the panic that occurred when switching to battery power. When using the patch I get same behavior as in the pre-event_driven="1" days :). Setting / unsetting hw.acpi.ec.burst_mode in /boot/loader.conf doesn't make a different. Dmesg and panic msg + trace are attached. If you need more info, I got the debug kernel and core sitting on my disk. -Koop --=-WS3N3zQWq7MbNeZi73Rz Content-Disposition: attachment; filename=dmesg.panic Content-Type: text/plain; name=dmesg.panic; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit root@crashalot:/usr/crash# gdb -k kernel.0 vmcore.0 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 = 0xefffffff fault code = supervisor read, page not present instruction pointer = 0x8:0xc01539c1 stack pointer = 0x10:0xccfc9ba0 frame pointer = 0x10:0xccfc9ba4 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 = 20 (acpi_thermal) trap number = 12 panic: page fault syncing disks, buffers remaining... ACPI debug layer 0x0 debug level 0x0 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-CURRENT #6: Thu Jul 3 10:47:04 CEST 2003 root@crashalot.prisma.quccc.org:/usr/obj/usr/src/sys/crashalot Preloaded elf kernel "/boot/kernel/kernel" at 0xc0554000. Preloaded elf module "/boot/kernel/linux.ko" at 0xc05541f4. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc05542a0. Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc055434c. Preloaded elf module "/boot/kernel/usb.ko" at 0xc05543f8. Preloaded elf module "/boot/kernel/ums.ko" at 0xc05544a0. Preloaded elf module "/boot/kernel/radeon.ko" at 0xc0554548. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 2000081208 Hz CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (2000.08-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 Features=0x3febf9ff real memory = 268406784 (255 MB) avail memory = 254902272 (243 MB) Pentium Pro MTRR support enabled acpi0: on motherboard 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-safe" frequency 3579545 Hz 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 pcib0: slot 29 INTA is routed to irq 5 pcib0: slot 29 INTB is routed to irq 9 pcib0: slot 31 INTA is routed to irq 9 pcib0: slot 31 INTB is routed to irq 11 pcib0: slot 31 INTB is routed to irq 11 agp0: mem 0xe0000000-0xefffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib1: slot 0 INTA is routed to irq 5 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.8.0 20020828 on minor 0 uhci0: port 0xb800-0xb81f irq 5 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 ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. uhci1: port 0xb400-0xb41f irq 9 at device 29.1 on pci0 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 pcib2: slot 5 INTA is routed to irq 9 pcib2: slot 7 INTC is routed to irq 9 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: at device 7.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib2: slot 7 INTA is routed to irq 5 cbb1: at device 7.1 on pci2 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pcib2: slot 7 INTB is routed to irq 11 pci2: at device 7.2 (no driver attached) 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 pcm0: 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 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 drq 1 on acpi0 sio1: type 16550A 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 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 npx0: on motherboard npx0: INT 16 interface orm0: