RE: PATCH - updated EC driver

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 09 Jul 2003 13:55:59 -0400 (EDT)
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_at_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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
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: <DELL   I 5000 > 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: <CPU> port 0x530-0x537 on acpi0
acpi_tz0: <thermal zone> port 0x530-0x537 on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_cmbat1: <Control method Battery> on acpi0
acpi_acad0: <AC adapter> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> 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: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib1: slot 0 INTA is routed to irq 11
drm0: <ATI Rage 128 Mobility LF (AGP)> 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: <TI1225 PCI-CardBus Bridge> at device 4.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pcib0: slot 4 INTA is routed to irq 11
cbb1: <TI1225 PCI-CardBus Bridge> at device 4.1 on pci0
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pcib0: slot 4 INTA is routed to irq 11
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0x1050-0x105f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1060-0x107f irq 5 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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: <bridge, PCI-unknown> at device 7.3 (no driver attached)
pcm0: <ESS Technology Maestro-2E> port 0x1400-0x14ff irq 5 at device 8.0 on pci0
pcm0: <SigmaTel STAC9721/23 AC97 Codec>
pci0: <simple comms> at device 16.0 (no driver attached)
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
isab1: <ACPI Generic ISA bridge> on acpi0
device_probe_and_attach: isab1 attach returned 6
acpi_ec0: <embedded controller> port 0x66,0x62 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> 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: <Parallel port bus> on ppc0
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
    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: <ACPI Generic ISA bridge> 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: <math processor> on motherboard
npx0: INT 16 interface
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=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
    ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_NO_HARDWARE_RESPONSE
    ACPI-1287: *** Error: Method execution failed [\\_SB_.BAT0._BST] (Node 0xc32a0e40),
AE_NO_HARDWARE_RESPONSE
wi0: <Lucent Technologies WaveLAN/IEEE> at port 0x100-0x13f irq 11 function 0 config 1 on pccard0
wi0: 802.11 address: 00:02:2d:0d:1d:67
wi0: using Lucent Technologies, WaveLAN/IEEE
wi0: Lucent Firmware: Station (6.6.1)
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ad0: 38154MB <IC25N040ATCS04-0> [77520/16/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s2a
    ACPI-0432: *** Error: Handler for [EmbeddedControl] returned AE_NO_HARDWARE_RESPONSE
    ACPI-1287: *** Error: Method execution failed [\\_TZ_.THRM._TMP] (Node 0xc11cc300),
AE_NO_HARDWARE_RESPONSE

-- 

John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
Received on Wed Jul 09 2003 - 08:55:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:14 UTC