From owner-freebsd-current@FreeBSD.ORG Wed Jul 9 10:55:49 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 CBF0E37B401 for ; Wed, 9 Jul 2003 10:55:49 -0700 (PDT) Received: from mail.speakeasy.net (mail7.speakeasy.net [216.254.0.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2ABE43FAF for ; Wed, 9 Jul 2003 10:55:48 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 16370 invoked from network); 9 Jul 2003 17:55:47 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 9 Jul 2003 17:55:47 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id h69HtjGI099355; Wed, 9 Jul 2003 13:55:45 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030708220146.V3143@root.org> Date: Wed, 09 Jul 2003 13:55:59 -0400 (EDT) From: John Baldwin To: Nate Lawson cc: acpi-jp@jp.freebsd.org cc: current@freebsd.org Subject: RE: PATCH - updated EC driver 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: Wed, 09 Jul 2003 17:55:50 -0000 On 09-Jul-2003 Nate Lawson wrote: > If you tested my previous acpi_ec.c patch (or even if you didn't), please > test the following one: > > http://root.org/~nate/freebsd/ec-new.diff > > I will be committing this is in a few days if any problems that arise are > successfully addressed. It fixes numerous races and the broken tsleep > approach in the current version. Note that it does NOT have the > experimental burst mode support I had included in the last patch. It > appears that burst mode is more difficult to handle than I have time for > and the actual time spent in DELAY is low (~1-5 us per transaction). There > is no special dmesg output to report with this, just make sure it doesn't > break things (or fixes things for you). Not as broken as the last patch, but still broken for me: 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 #13: Wed Jul 9 12:33:56 EDT 2003 john@laptop.baldwin.cx:/usr/home/john/work/cvs/i386/compile/LAPTOP Preloaded elf kernel "/boot/test/kernel" at 0xc05b3000. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 696972994 Hz CPU: Intel Pentium III (696.97-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x383f9ff real memory = 402587648 (383 MB) avail memory = 384716800 (366 MB) Pentium Pro MTRR support enabled VESA: v2.0, 16384k memory, flags:0x1, mode table:0xc0507d82 (1000022) VESA: ATI MOBILE M3 acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 7 entries at 0xc00fdf50 Timecounter "ACPI-safe" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: port 0x530-0x537 on acpi0 acpi_tz0: port 0x530-0x537 on acpi0 acpi_lid0: on acpi0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_acad0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 7 INTD is routed to irq 5 pcib0: slot 8 INTA is routed to irq 5 pcib0: slot 16 INTA is routed to irq 5 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib1: slot 0 INTA is routed to irq 11 drm0: port 0x2000-0x20ff mem 0xf4100000-0xf4103fff,0xf8000000-0xfbffffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xe0000000 64MB info: [drm] Initialized r128 2.3.0 20021029 on minor 0 cbb0: at device 4.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib0: slot 4 INTA is routed to irq 11 cbb1: at device 4.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pcib0: slot 4 INTA is routed to irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1050-0x105f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1060-0x107f irq 5 at device 7.2 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 pci0: at device 7.3 (no driver attached) pcm0: port 0x1400-0x14ff irq 5 at device 8.0 on pci0 pcm0: pci0: at device 16.0 (no driver attached) acpi_button0: on acpi0 acpi_button1: on acpi0 isab1: on acpi0 device_probe_and_attach: isab1 attach returned 6 acpi_ec0: port 0x66,0x62 on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 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 ppc0 port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_NO_HARDWARE_RESPONSE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.PX41.SECN.BEXT] (Node 0xc3342260), AE_NO_HARDWARE_RESPONSE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.PX41.SECN.MAST._STA] (Node 0xc3342320), AE_NO_HARDWARE_RESPONSE ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_NO_HARDWARE_RESPONSE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.PX41.SECN.BEXT] (Node 0xc3342260), AE_NO_HARDWARE_RESPONSE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.PX41.SECN.SLAV._STA] (Node 0xc33422a0), AE_NO_HARDWARE_RESPONSE ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_NO_HARDWARE_RESPONSE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.PX41.SECN.BEXT] (Node 0xc3342260), AE_NO_HARDWARE_RESPONSE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.PX41.SECN.SLAV._STA] (Node 0xc33422a0), AE_NO_HARDWARE_RESPONSE ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_NO_HARDWARE_RESPONSE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.PX41.SECN.BEXT] (Node 0xc3342260), AE_NO_HARDWARE_RESPONSE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.PX41.SECN.SLAV._STA] (Node 0xc33422a0), AE_NO_HARDWARE_RESPONSE ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_NO_HARDWARE_RESPONSE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.PX41.SECN.BEXT] (Node 0xc3342260), AE_NO_HARDWARE_RESPONSE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.PX41.SECN.SLAV._STA] (Node 0xc33422a0), AE_NO_HARDWARE_RESPONSE i sab1: on acpi0 device_probe_and_attach: isab1 attach returned 6 ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_NO_HARDWARE_RESPONSE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.PX41.SECN.BEXT] (Node 0xc3342260), AE_NO_HARDWARE_RESPONSE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.PX41.SECN.MAST._STA] (Node 0xc3342320), AE_NO_HARDWARE_RESPONSE ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_NO_HARDWARE_RESPONSE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.PX41.SECN.BEXT] (Node 0xc3342260), AE_NO_HARDWARE_RESPONSE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.PX41.SECN.MAST._STA] (Node 0xc3342320), AE_NO_HARDWARE_RESPONSE ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_NO_HARDWARE_RESPONSE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.PX41.SECN.BEXT] (Node 0xc3342260), AE_NO_HARDWARE_RESPONSE ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.PX41.SECN.SLAV._STA] (Node 0xc33422a0), AE_NO_HARDWARE_RESPONSE n px0: on motherboard npx0: INT 16 interface orm0: