Bug 1038

Summary: ACPI-0345 Error on IBM Thinkpad R40
Product: ACPI Reporter: Ruben Puettmann (ruben)
Component: Config-OtherAssignee: Shaohua (shaohua.li)
Status: CLOSED CODE_FIX    
Severity: high CC: acpi-bugzilla, al.rau, batlogg, daf, garloff, hhielscher, kotoml, mario.mikocevic, meder, peter, zeimetz
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.4.22-pre10 Subsystem:
Regression: --- Bisected commit-id:
Attachments: Patch for detecting embedded Controller
patch for battery error
patch for disabling nonexist device

Description Ruben Puettmann 2003-08-04 05:40:24 UTC
Distribution: Debian unstable
Hardware Environment: IBM Thinkpad R40 2722 with newest aviable BIOS

Problem Description:


ACPI-0345: *** Error: Handler for [EmbeddedControl] returned AE_TIME
ACPI-1121: *** Error: Method execution failed [\_SB_.PCI0.LPC_.EC__.AC__._PSR]
Node c15ba320), AE_TIME
ACPI-0345: *** Error: Handler for [EmbeddedControl] returned AE_TIME
ACPI-1121: *** Error: Method execution failed [\_SB_.PCI0.LPC_.EC__.BAT0._STA]
(Node c15bbec0), AE_TIME
ACPI-0345: *** Error: Handler for [EmbeddedControl] returned AE_TIME
ACPI-1121: *** Error: Method execution failed [\_SB_.PCI0.LPC_.EC__.BAT1._STA]
(Node c15ba220), AE_TIME
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Sleep Button (CM) [SLPB]
ACPI-0345: *** Error: Handler for [EmbeddedControl] returned AE_TIME
ACPI-1121: *** Error: Method execution failed [\_PR_.CPU_._PPC] (Node c158d960),
AE_TIME
ACPI: Processor [CPU] (supports C1 C2 C3, 6 performance states, 8 throttling states)
ACPI-0345: *** Error: Handler for [EmbeddedControl] returned AE_TIME
ACPI-1121: *** Error: Method execution failed [\_TZ_.THM0._TMP] (Node c15b5920),
AE_TIME

The most directory's under /proc/acpi are empty.
Comment 1 Ruben Puettmann 2003-08-04 23:49:39 UTC
After searching the web last night I found many people with this problem not
only  Thinkpad R40 users have this problem. I read from T30 and X31 on LKM and
acpi ML so it seems this bug is related to all newer thinkpad's. So i set the
Severity to high. It looks that in 2.6 where the same problems
Comment 2 Dominik Bartenstein 2003-08-11 00:22:22 UTC
It's the same prob with the Thinkpad A31 series. :( Interestingly at least the 
battery status worked with [2.4.21-rc1 + acpi patch] and some previous 
versions. All newer acpi patches did not work. 
Comment 3 Ruben Puettmann 2003-08-13 05:01:50 UTC
Created attachment 644 [details]
Patch for detecting embedded Controller

This PAtch I have got from From: "Yu, Luming" <luming.yu@intel.com>. now the
controller will be detected but it works not relay fine:

Testet with 2.4.22-pre10-ac1 and error found ...

This happends:

First the boot up:

I Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 9 10 11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 *10 11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11, disabled)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11, disabled)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 *9 10 11)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BAM/CAM PCI Bridge
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: Embedded Controller [EC] (gpe 28)
schedule_task(): keventd has not started
ACPI: Power Resource [PUBS] (on)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
PCI: Probing PCI hardware
ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 5
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even
'acpi=off'
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
PnPBIOS: Found PnP BIOS installation structure at 0xc00f6d90
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0x9d5f, dseg 0x400
PnPBIOS: 20 nodes reported by PnP BIOS; 20 recorded by driver
PnPBIOS: PNP0c02: ioport range 0x4d0-0x4d1 has been reserved
PnPBIOS: PNP0c02: ioport range 0x1000-0x105f has been reserved
PnPBIOS: PNP0c02: ioport range 0x1060-0x107f has been reserved
PnPBIOS: PNP0c02: ioport range 0x1180-0x11bf has been reserved
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
IA-32 Microcode Update Driver: v1.11 <tigran@veritas.com>
Starting kswapd
Journalled Block Device driver loaded
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
udf: registering filesystem
ACPI: AC Adapter [AC] (on-line)
ACPI: Battery Slot [BAT0] (battery present)
ACPI: Battery Slot [BAT1] (battery absent)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Processor [CPU] (supports C1 C2 C3, 6 performance states, 8 throttling
states)
ACPI: Thermal Zone [THM0] (68 C)
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI
ISAPNP enabled
kmod: failed to exec /sbin/modprobe -s -k parport_lowlevel, errno = 2
lp: driver loaded but no devices found
Real Time Clock Driver v1.10e
Non-volatile memory driver v1.2
i810_rng: RNG not detected
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
loop: loaded (max 8 devices)
Intel(R) PRO/100 Network Driver - version 2.3.18-k1
Copyright (c) 2003 Intel Corporation

e100: selftest OK.
e100: eth0: Intel(R) PRO/100 Network Connection
  Hardware receive checksums enabled

Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected Intel(R) 855PM chipset
agpgart: AGP aperture is 256M @ 0xd0000000
[drm] AGP 0.99 Aperture @ 0xd0000000 256MB
[drm] Initialized radeon 1.7.0 20020828 on minor 0
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 00:1f.1
PCI: Enabling device 00:1f.1 (0005 -> 0007)
ICH4: chipset revision 1
ICH4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:DMA, hdd:pio
hda: HITACHI_DK23EA-60B, ATA DISK drive
blk: queue c04980c0, I/O limit 4095Mb (mask 0xffffffff)
hdc: MATSHITADVD-RAM UJ-810, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 117210240 sectors (60012 MB) w/2048KiB Cache, CHS=7752/240/63, UDMA(100)
hdc: attached ide-scsi driver.
Partition check:
 hda: hda1 hda2 hda3 hda4 < hda5 >
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: MATSHITA  Model: DVD-RAM UJ-810    Rev: C104
  Type:   CD-ROM			     ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
ohci1394: $Rev: 1010 $ Ben Collins <bcollins@debian.org>
ohci1394_0: Remapped memory spaces reg 0xe0868000
ohci1394_0: Soft reset finished
ohci1394_0: Iso contexts reg: 000000a8 implemented: 0000000f
ohci1394_0: 4 iso receive contexts available
ohci1394_0: Iso contexts reg: 00000098 implemented: 000000ff
ohci1394_0: 8 iso transmit contexts available
ohci1394_0: GUID: 00061b00:2008c600
ohci1394_0: Receive DMA ctx=0 initialized
ohci1394_0: Receive DMA ctx=0 initialized
ohci1394_0: Transmit DMA ctx=0 initialized
ohci1394_0: Transmit DMA ctx=1 initialized
ohci1394_0: OHCI-1394 1.1 (PCI): IRQ=[9]  MMIO=[c0215000-c02157ff]  Max
Packet=[2048]
ohci1394_0: request csr_rom address: dfd02000
ohci1394_0: IntEvent: 00020010
ohci1394_0: irq_handler: Bus reset requested
ohci1394_0: Cancel request received
ohci1394_0: Got RQPkt interrupt status=0x00008409
ohci1394_0: Single packet rcv'd
ohci1394_0: Got phy packet ctx=0 ... discarded
Intel 810 + AC97 Audio, version 0.24, 13:15:52 Aug 13 2003
PCI: Setting latency timer of device 00:1f.5 to 64
i810: Intel ICH4 found at IO 0x18c0 and 0x1c00, MEM 0xc0000c00 and 0xc0000800,
IRQ 5
i810: Intel ICH4 mmio at 0xe086ac00 and 0xe086c800
ohci1394_0: IntEvent: 00010000
ohci1394_0: SelfID interrupt received (phyid 0, root)
ohci1394_0: SelfID packet 0x807f8842 received
ieee1394: Including SelfID 0x42887f80
ohci1394_0: SelfID for this node is 0x807f8842
ohci1394_0: SelfID complete
ohci1394_0: PhyReqFilter=ffffffffffffffff
ieee1394: selfid_complete called with successful SelfID stage ... irm_id:
0xFFC0 node_id: 0xFFC0
ieee1394: NodeMgr: Processing host reset for knodemgrd_0
ieee1394: Initiating ConfigROM request for node 0-00:1023
ieee1394: send packet local: ffc00140 ffc0ffff f0000400
ieee1394: received packet: ffc00140 ffc0ffff f0000400
ieee1394: send packet local: ffc00160 ffc00000 00000000 c3500404
ieee1394: received packet: ffc00160 ffc00000 00000000 c3500404
ieee1394: send packet local: ffc00540 ffc0ffff f0000404
ieee1394: received packet: ffc00540 ffc0ffff f0000404
ieee1394: send packet local: ffc00560 ffc00000 00000000 34393331
ieee1394: received packet: ffc00560 ffc00000 00000000 34393331
ieee1394: send packet local: ffc00940 ffc0ffff f0000408
ieee1394: received packet: ffc00940 ffc0ffff f0000408
ieee1394: send packet local: ffc00960 ffc00000 00000000 02a000e0
ieee1394: received packet: ffc00960 ffc00000 00000000 02a000e0
ieee1394: send packet local: ffc00d40 ffc0ffff f000040c
ieee1394: received packet: ffc00d40 ffc0ffff f000040c
ieee1394: send packet local: ffc00d60 ffc00000 00000000 001b0600
ieee1394: received packet: ffc00d60 ffc00000 00000000 001b0600
ieee1394: send packet local: ffc01140 ffc0ffff f0000410
ieee1394: received packet: ffc01140 ffc0ffff f0000410
ieee1394: send packet local: ffc01160 ffc00000 00000000 00c60820
ieee1394: received packet: ffc01160 ffc00000 00000000 00c60820
ieee1394: send packet local: ffc01540 ffc0ffff f0000400
ieee1394: received packet: ffc01540 ffc0ffff f0000400
ieee1394: send packet local: ffc01560 ffc00000 00000000 c3500404
ieee1394: received packet: ffc01560 ffc00000 00000000 c3500404
ieee1394: send packet local: ffc01940 ffc0ffff f0000414
ieee1394: received packet: ffc01940 ffc0ffff f0000414
ieee1394: send packet local: ffc01960 ffc00000 00000000 760f0300
ieee1394: received packet: ffc01960 ffc00000 00000000 760f0300
ieee1394: send packet local: ffc01d40 ffc0ffff f0000418
ieee1394: received packet: ffc01d40 ffc0ffff f0000418
ieee1394: send packet local: ffc01d60 ffc00000 00000000 28000803
ieee1394: received packet: ffc01d60 ffc00000 00000000 28000803
ieee1394: send packet local: ffc02140 ffc0ffff f000041c
ieee1394: received packet: ffc02140 ffc0ffff f000041c
ieee1394: send packet local: ffc02160 ffc00000 00000000 02000081
ieee1394: received packet: ffc02160 ffc00000 00000000 02000081
ieee1394: send packet local: ffc02540 ffc0ffff f0000424
ieee1394: received packet: ffc02540 ffc0ffff f0000424
ieee1394: send packet local: ffc02560 ffc00000 00000000 ab030600
ieee1394: received packet: ffc02560 ffc00000 00000000 ab030600
ieee1394: send packet local: ffc02940 ffc0ffff f0000420
ieee1394: received packet: ffc02940 ffc0ffff f0000420
ieee1394: send packet local: ffc02960 ffc00000 00000000 c083000c
ieee1394: received packet: ffc02960 ffc00000 00000000 c083000c
ieee1394: NodeMgr: raw=0xe000a002 irmc=1 cmc=1 isc=1 bmc=0 pmc=0 cyc_clk_acc=0
max_rec=2048 gen=0 lspd=2
ieee1394: send packet local: ffc02d40 ffc0ffff f0000400
ieee1394: received packet: ffc02d40 ffc0ffff f0000400
ieee1394: send packet local: ffc02d60 ffc00000 00000000 c3500404
ieee1394: received packet: ffc02d60 ffc00000 00000000 c3500404
ieee1394: send packet local: ffc03140 ffc0ffff f0000414
ieee1394: received packet: ffc03140 ffc0ffff f0000414
ieee1394: send packet local: ffc03160 ffc00000 00000000 760f0300
ieee1394: received packet: ffc03160 ffc00000 00000000 760f0300
ieee1394: send packet local: ffc03540 ffc0ffff f0000418
ieee1394: received packet: ffc03540 ffc0ffff f0000418
ieee1394: send packet local: ffc03560 ffc00000 00000000 28000803
ieee1394: received packet: ffc03560 ffc00000 00000000 28000803
ieee1394: send packet local: ffc03940 ffc0ffff f000041c
ieee1394: received packet: ffc03940 ffc0ffff f000041c
ieee1394: send packet local: ffc03960 ffc00000 00000000 02000081
ieee1394: received packet: ffc03960 ffc00000 00000000 02000081
ieee1394: send packet local: ffc03d40 ffc0ffff f0000424
ieee1394: received packet: ffc03d40 ffc0ffff f0000424
ieee1394: send packet local: ffc03d60 ffc00000 00000000 ab030600
ieee1394: received packet: ffc03d60 ffc00000 00000000 ab030600
ieee1394: send packet local: ffc04140 ffc0ffff f0000428
ieee1394: received packet: ffc04140 ffc0ffff f0000428
ieee1394: send packet local: ffc04160 ffc00000 00000000 00000000
ieee1394: received packet: ffc04160 ffc00000 00000000 00000000
ieee1394: send packet local: ffc04540 ffc0ffff f000042c
ieee1394: received packet: ffc04540 ffc0ffff f000042c
ieee1394: send packet local: ffc04560 ffc00000 00000000 00000000
ieee1394: received packet: ffc04560 ffc00000 00000000 00000000
ieee1394: send packet local: ffc04940 ffc0ffff f0000430
ieee1394: received packet: ffc04940 ffc0ffff f0000430
ieee1394: send packet local: ffc04960 ffc00000 00000000 756e694c
ieee1394: received packet: ffc04960 ffc00000 00000000 756e694c
ieee1394: send packet local: ffc04d40 ffc0ffff f0000434
ieee1394: received packet: ffc04d40 ffc0ffff f0000434
ieee1394: send packet local: ffc04d60 ffc00000 00000000 484f2078
ieee1394: received packet: ffc04d60 ffc00000 00000000 484f2078
ieee1394: send packet local: ffc05140 ffc0ffff f0000438
ieee1394: received packet: ffc05140 ffc0ffff f0000438
ieee1394: send packet local: ffc05160 ffc00000 00000000 312d4943
ieee1394: received packet: ffc05160 ffc00000 00000000 312d4943
ieee1394: send packet local: ffc05540 ffc0ffff f000043c
ieee1394: received packet: ffc05540 ffc0ffff f000043c
ieee1394: send packet local: ffc05560 ffc00000 00000000 00343933
ieee1394: received packet: ffc05560 ffc00000 00000000 00343933
ieee1394: send packet local: ffc05940 ffc0ffff f0000420
ieee1394: received packet: ffc05940 ffc0ffff f0000420
ieee1394: send packet local: ffc05960 ffc00000 00000000 c083000c
ieee1394: received packet: ffc05960 ffc00000 00000000 c083000c
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00061b002008c600]
ieee1394: send packet 100: ffff0100 ffc0ffff f0000234 1f0000c0
ohci1394_0: Inserting packet for node 0-63:1023, tlabel=0, tcode=0x0, speed=0
ohci1394_0: Starting transmit DMA ctx=0
ohci1394_0: IntEvent: 00000001
ohci1394_0: Got reqTxComplete interrupt status=0x00008011
ohci1394_0: Packet sent to node 63 tcode=0x0 tLabel=0x00 ack=0x11 spd=0
data=0x1F0000C0 ctx=0
i810_audio: Primary codec has ID 0
i810_audio: Audio Controller supports 6 channels.
i810_audio: Defaulting to base 2 channel mode.
i810_audio: Resetting connection 0
i810_audio: Connection 0 with codec id 0
ac97_codec: AC97 Audio codec, id: ADS116 (Unknown)
i810_audio: AC'97 codec 0 supports AMAP, total channels = 2
I2O Core - (C) Copyright 1999 Red Hat Software
I2O: Event thread created as pid 11
Linux I2O PCI support (c) 1999 Red Hat Software.
i2o: Checking for PCI I2O controllers...
I2O configuration manager v 0.04.
  (C) Copyright 1999 Red Hat Software
I2O Block Storage OSM v0.9
   (c) Copyright 1999-2001 Red Hat Software.
i2o_block: Checking for Boot device...
i2o_block: Checking for I2O Block devices...
I2O LAN OSM (C) 1999 University of Helsinki.
i2o_scsi.c: Version 0.0.1
  chain_pool: 0 bytes @ dfd3b760
  (512 byte buffers X 4 can_queue X 0 i2o controllers)
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 144k freed
Adding Swap: 1050836k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver usbkbd
usbkbd.c: :USB HID Boot Protocol keyboard driver
PCI: Setting latency timer of device 00:1d.7 to 64
ehci_hcd 00:1d.7: Intel Corp. 82801DB USB2
ehci_hcd 00:1d.7: irq 9, pci mem e090f000
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:1d.7: enabled 64bit PCI DMA
PCI: 00:1d.7 PCI cache line size set incorrectly (0 bytes) by BIOS/FW.
PCI: 00:1d.7 PCI cache line size corrected to 32.
ehci_hcd 00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-19/2.4
hub.c: USB hub found
hub.c: 6 ports detected
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Setting latency timer of device 00:1d.0 to 64
uhci.c: USB UHCI at I/O 0x1800, IRQ 9
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Setting latency timer of device 00:1d.1 to 64
uhci.c: USB UHCI at I/O 0x1820, IRQ 11
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Setting latency timer of device 00:1d.2 to 64
uhci.c: USB UHCI at I/O 0x1840, IRQ 10
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 2 ports detected
e100: eth0 NIC Link is Up 100 Mbps Full duplex
Linux PCMCIA Card Services 3.2.2
  kernel build: 2.4.22-pre10-ac1 #8 Die Aug 5 17:34:09 CEST 2003
  options:  [pci] [cardbus] [apm]
Intel ISA/PCI/CardBus PCIC probe:
  Unknown [104c ac56] rev 00 PCI-to-CardBus at slot 02:00, mem 0x20001000
    host opts [0]: [pci irq 11] [lat 64/176] [bus 3/5]
    PCI irq 11 test failed
    ISA irqs (default) = 3,4,7 polling interval = 1000 ms

cat /proc/interrupts

	   CPU0
  0:	  45715 	 XT-PIC  timer
  1:	   1363 	 XT-PIC  keyboard
  2:	      0 	 XT-PIC  cascade
  5:	      0 	 XT-PIC  Intel ICH4
  8:	      4 	 XT-PIC  rtc
  9:	     67 	 XT-PIC  acpi, ohci1394, ehci_hcd, usb-uhci
 10:	      0 	 XT-PIC  usb-uhci
 11:	    858 	 XT-PIC  usb-uhci, eth0
 12:	    144 	 XT-PIC  PS/2 Mouse
 14:	   5303 	 XT-PIC  ide0
 15:	      4 	 XT-PIC  ide1
NMI:	      0
LOC:	  10572
ERR:	      0
MIS:	      0

find /proc/acpi
.
./thermal_zone
./thermal_zone/THM0
./thermal_zone/THM0/polling_frequency
./thermal_zone/THM0/cooling_mode
./thermal_zone/THM0/trip_points
./thermal_zone/THM0/temperature
./thermal_zone/THM0/state
./processor
./processor/CPU
./processor/CPU/limit
./processor/CPU/throttling
./processor/CPU/performance
./processor/CPU/power
./processor/CPU/info
./fan
./button
./button/sleep
./button/sleep/SLPB
./button/sleep/SLPB/info
./button/lid
./button/lid/LID
./button/lid/LID/state
./button/lid/LID/info
./button/power
./button/power/PWRF
./button/power/PWRF/info
./battery
./battery/BAT1
./battery/BAT1/alarm
./battery/BAT1/state
./battery/BAT1/info
./battery/BAT0
./battery/BAT0/alarm
./battery/BAT0/state
./battery/BAT0/info
./ac_adapter
./ac_adapter/AC
./ac_adapter/AC/state
./embedded_controller
./embedded_controller/EC
./embedded_controller/EC/info
./power_resource
./power_resource/PUBS
./power_resource/PUBS/state
./alarm
./sleep
./event
./fadt
./dsdt
./info


Now the error the first run from acpi runs fine and I got the output :

Battery 1: charging, 67%, 00:33:53 until charged

on the second try:

    ACPI-1121: *** Error: Method execution failed [\_SB_.PCI0.LPC_.EC__.GBST]
(Node c15bbdc0), AE_AML_INTERNAL
    ACPI-1121: *** Error: Method execution failed
[\_SB_.PCI0.LPC_.EC__.BAT0._BST] (Node c15bbf00), AE_AML_INTERNAL
    ACPI-1121: *** Error: Method execution failed [\_SB_.PCI0.LPC_.EC__.GBST]
(Node c15bbdc0), AE_AML_INTERNAL
    ACPI-1121: *** Error: Method execution failed
[\_SB_.PCI0.LPC_.EC__.BAT0._BST] (Node c15bbf00), AE_AML_INTERNAL
    ACPI-1121: *** Error: Method execution failed [\_SB_.PCI0.LPC_.EC__.GBST]
(Node c15bbdc0), AE_AML_INTERNAL
    ACPI-1121: *** Error: Method execution failed
[\_SB_.PCI0.LPC_.EC__.BAT0._BST] (Node c15bbf00), AE_AML_INTERNAL
    ACPI-1121: *** Error: Method execution failed [\_SB_.PCI0.LPC_.EC__.GBST]
(Node c15bbdc0), AE_AML_INTERNAL
    ACPI-1121: *** Error: Method execution failed
[\_SB_.PCI0.LPC_.EC__.BAT0._BST] (Node c15bbf00), AE_AML_INTERNAL

Whats wrong?


	Ruben
Comment 4 Jodok Batlogg 2003-08-14 11:14:52 UTC
i can confirm the problem with Thinkpad A31. the last "half working" (only 
battery status) version was 2.4.21-rc1 + acpi patch. 
Comment 5 David Richmond 2003-08-14 23:17:40 UTC
Very very happy to see some progress!  :)

Distribution: Debian/unstable
Hardware: IBM Thinkpad T40 2373
Kernel version: 2.6.0-test2

- Applied the July 30 ACPI patch
- Applied Luming Yu's patch (well, manually)

I can confirm that Ruben's problem on the R40 applies to the T40 as well.  With
Yuming's patch the following now work that didn't before:

- System no longer gets bombarded with AE_TIME errors when pressing the Fn key
- System no longer gets bombared with AE_TIME errors when closing the lid
- Thermal sensor is read correctly
- AC adaptor status is ready correctly
- Presence of battery is detected correctly
- \_PR_.CPU_._PPC error is gone
- S3 works and is _fast_!  except under X it hangs.  good enough for this bug
though.
- S4 wants to work ;) but the touchpad/trackpoint driver seems to break it.  oh
well.  good enough for this bug.

I have also disassembled the DSDT, fixed the 2 iASL compiler errors and 3
warnings, and patched the kernel with the overridden table.  I am no AML expert
so who knows whether the DSDT is a contributing factor to this problem or not.

I now get the following errors, similiar to Ruben's outstanding errors, on a
1-sec interval basis:

ACPI-1121: *** Error: Method execution failed [\_SB_.PCI0.LPC_.EC__.GBST] (Node
c15d7e40), AE_AML_INTERNAL

ACPI-1121: *** Error: Method execution failed [\_SB_.PCI0.LPC_.EC__.BAT0._BST]
(Node c15d7d00), AE_AML_INTERNAL

ACPI-1121: *** Error: Method execution failed [\_SB_.PCI0.LPC_.EC__.GBST] (Node
c15d7e40), AE_AML_OPERAND_TYPE

ACPI-1121: *** Error: Method execution failed [\_SB_.PCI0.LPC_.EC__.BAT0._BST]
(Node c15d7d00), AE_AML_OPERAND_TYPE

Hope this helps,

David Richmond
drich at symphonicman dot com
Comment 6 Shaohua 2003-08-18 01:49:54 UTC
I test it under my T40, and this is the output:
cat /proc/acpi/battery/BAT0/state
output:
   .....(some correct info)
   utdelete-0381 [47] ut_update_ref_count   : **** Warning **** Large Reference 
Count (CACA) in object dfb9cdac
utdelete-0381 [47] ut_update_ref_count   : **** Warning **** Large Reference 
Count (CACB) in object dfb9cdac
utdelete-0381 [43] ut_update_ref_count   : **** Warning **** Large Reference 
Count (CACC) in object dfb9cdac
utobject-0467 [38] ut_get_simple_object_s: Unsupported type=CA in object 
dfb9cdac
utdelete-0381 [37] ut_update_ref_count   : **** Warning **** Large Reference 
Count (CACA) in object dfb9cdac
acpi_battery-0192 [34] acpi_battery_get_statu: Error evaluating _BST

The output indicate that read method of proc filesystem for battery was called 
twice. It's strange.

When remove battery module and the reinsert the module, I get the following 
error:

utdelete-0381 [55] ut_update_ref_count   : **** Warning **** Large Reference 
Count (CACA) in object dfb9cdac
utdelete-0381 [55] ut_update_ref_count   : **** Warning **** Large Reference 
Count (CACB) in object dfb9cdac
utdelete-0381 [51] ut_update_ref_count   : **** Warning **** Large Reference 
Count (CACC) in object dfb9cdac
utdelete-0381 [56] ut_update_ref_count   : **** Warning **** Large Reference 
Count (CACA) in object dfb9cdac
utdelete-0381 [53] ut_update_ref_count   : **** Warning **** Large Reference 
Count (CACB) in object dfb9cdac
utdelete-0381 [56] ut_update_ref_count   : **** Warning **** Large Reference 
Count (CACA) in object dfb9cdac
utdelete-0381 [53] ut_update_ref_count   : **** Warning **** Large Reference 
Count (CACB) in object dfb9cdac
 exstore-0296 [53] ex_store_object_to_ind: Could not store object to indexed 
package element
 psparse-1121: *** Error: Method execution failed [\_SB_.PCI0.LPC_.EC__.GBST] 
(Node c15921b4), AE_AML_INTERNAL
utdelete-0381 [53] ut_update_ref_count   : **** Warning **** Large Reference 
Count (CACA) in object dfb9cdac
 psparse-1121: *** Error: Method execution failed 
[\_SB_.PCI0.LPC_.EC__.BAT0._BST] (Node c159289c), AE_AML_INTERNAL
acpi_battery-0192 [42] acpi_battery_get_statu: Error evaluating _BST
utdelete-0381 [57] ut_update_ref_count   : **** Warning **** Large Reference 
Count (CAC9) in object dfb9cdac
utdelete-0381 [57] ut_update_ref_count   : **** Warning **** Large Reference 
Count (CACA) in object dfb9cdac
utdelete-0381 [53] ut_update_ref_count   : **** Warning **** Large Reference 
Count (CACB) in object dfb9cdac
 exstore-0296 [55] ex_store_object_to_ind: Could not store object to indexed 
package element
 psparse-1121: *** Error: Method execution failed [\_SB_.PCI0.LPC_.EC__.GBST] 
(Node c15921b4), AE_AML_INTERNAL
utdelete-0381 [55] ut_update_ref_count   : **** Warning **** Large Reference 
Count (CACA) in object dfb9cdac
 psparse-1121: *** Error: Method execution failed 
[\_SB_.PCI0.LPC_.EC__.BAT0._BST] (Node c159289c), AE_AML_INTERNAL
acpi_battery-0192 [44] acpi_battery_get_statu: Error evaluating _BST

read method of proc filesystem for battery was called twice too. It seems that 
_BST method has sideeffect.
Comment 7 Shaohua 2003-08-21 00:55:34 UTC
It seems that some acpi codes used unallocated memory(or used memory deleted) 
which gererates the problem. I did observer some symptoms that ACPI codes use 
unallocated memory. According to this, I made a workaround patch, which just 
sets the pointers of deleted objects to NULL. With the patch, battery works 
fine. But I am not very sure if I get the right solution.
Comment 8 Shaohua 2003-08-22 03:32:35 UTC
Created attachment 683 [details]
patch for battery error

I get a patch for the battery error. With this patch, everything seems ok under
my T40. Please help test.
Comment 9 Ruben Puettmann 2003-08-22 05:43:32 UTC
Looks great but I see some problems:

1. The /proc/acpi/fan is empty. I have start 
   cd /usr/src/linux
   make -j 4 dep clean bzImage modules
   
   I have seen that the temprature goes up to 54 C but no fan starts 

2. /proc/cpuinfo schow ever


processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 9
model name      : Intel(R) Pentium(R) M processor 1500MHz
stepping        : 5
cpu MHz         : 599.511
cache size      : 0 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr mce cx8 apic sep mtrr pge mca cmov pat
clflush dts acpi mmx fxsr sse sse2 tm
bogomips        : 1196.03


I thkn the cache size is wrong and the cpu MHz it doesn't matter if I look with
battery or with ac. 



 
Comment 10 Ruben Puettmann 2003-08-22 05:54:50 UTC
OK some new Informations ;-)

If i boot with AC enabled the Mhz is O.K. 

cpu MHz         : 1498.748
cache size      : 0 KB

Now I have start make -j 6 ...
I got temperature to 75 C the fan still did not start.

If I unplugged the AC the /proc/cpuinfo still shows 

cpu MHz         : 1498.748
cache size      : 0 KB

cpufreq is enabled and cpufred is configured to use acpi 

                
Comment 11 Ruben Puettmann 2003-08-22 05:56:36 UTC
shutdown -h  did not poweroff the thinkapd. 
Comment 12 Erik Rigtorp 2003-08-23 16:58:52 UTC
Using the above mentioned patches and a fixed dsdt ACPI now works on my Thinkpad
X31. S3 doesn't work but everything else.

http://erkki.tty0.org/thinkpad/thinkpad-acpi.html
Comment 13 David Richmond 2003-08-24 09:48:20 UTC
Battery is detected and status read properly with Shaohua's patch.  However,
/proc/acpi/sleep no longer exists and /sys/power/state seems to be empty.
Comment 14 David Richmond 2003-08-24 09:48:52 UTC
That's on a T40 with 2.6.0-test4, sorry.
Comment 15 Sam Meder 2003-08-24 09:58:55 UTC
The patches seems to get rid of the immediate problem on my T30 (2.4.22rc3), but
the only sleep state that does anything seems to be S5. Any idea on how to debug
why S3 doesn't work?

/Sam
Comment 16 Erik Rigtorp 2003-08-24 10:13:20 UTC
David, have you enables sleep states in your kernel config? I don't now if that
is necessary for /proc/acpi/sleep.
Comment 17 Shaohua 2003-08-24 19:36:38 UTC
Some symptoms I observered.
  Yes, shutdown -h can't power off Thinkpad.

  /proc/acpi/sleep is exist(  2.4.22-pre10-ac1 under T40 )

  fan isn't exist.That is because T40's DSDT defined no FAN device. So ACPI 
can't control fan. According to the DSDT, ACPI can only execute passive 
cooling. I don't know if it's a BIOS bug. 
Comment 18 David Richmond 2003-08-24 23:18:45 UTC
sleep states enabled:

david@drtp:~/linux-2.6.0$ grep SLEEP .config
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set

software suspend is also enabled.

kind of odd.....i will try -test3 and -test2 to try to isolate. 
/proc/acpi/sleep last worked on -test2 without Shaohua's patch.
Comment 19 Ruben Puettmann 2003-08-25 03:35:27 UTC
I found it very bad that I'm seeing here no ibm people. IBM makes money with
linux but I can't see here something from them. 

Where are the IBM people building the Thinkpad's?

I have phone to IBM germany to get a contact but nobody could give me some
informations. 

Only the poeple from intel are working here and I will say a very big 

                           THANK YOU !!!

to them.
Comment 20 Jodok Batlogg 2003-08-25 04:37:58 UTC
Ruben,

i agree ;-) as stated earlier our thinkpads are waiting too for linux acpi 
support in our company.
dominik bartenstein (one of our employees, currently on vacation) tried to get a 
solution on this problem in january and he contacted some people (SuSE / IBM). 
The SuSE people contacted the IBM Bios Team and we got quite fast feedback and a 
new development bios that should fix the problems (unfortunately it didn't ;-)).

I just sent a mail to these people and invited them to join the discussion. i 
hope we'll get linux acpi support for thinkpads soon!
Comment 21 Erik Rigtorp 2003-08-25 08:53:21 UTC
Thinkpad X31
BIOS 1.04a

I can confirm that /proc/acpi/sleep is nonexistant on 2.6.0-test4.
Comment 22 David Richmond 2003-08-26 14:10:52 UTC
I just noticed that dmesg says:

ACPI-0269: *** Error: Looking up [SERN] in namespace, AE_ALREADY_EXISTS
ACPI-1121: *** Error: Method execution failed [\_SB_.PCI0.LPC_.EC__.GBIF] (Node
c15d7e40), AE_ALREADY_EXISTS

perhaps that is the source of the missing /proc/acpi/sleep on 2.6.0-test4?

THANK YOU, INTEL!
Comment 23 Shaohua 2003-08-26 19:17:49 UTC
I go through the ACPI code of 2.6.0-test4, and find that the code to 
create '/proc/acpi/sleep' was deleted. I don't know why we should do this. 

david, can you attach your dmesg. The error seems to mean the patch for 
battery has some bugs.
Comment 24 Shaohua 2003-08-26 19:28:06 UTC
I'd like to summarize the track:
   EC crash: done
   Battery error: has a patch, but need more test.
   Fan lost:      DSDT don't define fan device. Maybe is a BIOS error.
   '/proc/acpi/sleep' lost in 2.6.0-test4: 2.6.0-test4 deleted the code to 
create the proc file. Why?
   Failed to shutdown: Try patch for http://bugme.osdl.org/show_bug.cgi?id=1141
   cache size is 0: ?
Comment 25 David Richmond 2003-08-26 22:32:42 UTC
well, dmesg per se is completely flooded with the AE_ALREADY_EXISTS errors.  but
the latest bootup log from /var/log/messages is:

Aug 25 17:22:07 drtp syslogd 1.4.1#11: restart.
Aug 25 17:22:07 drtp kernel: klogd 1.4.1#11, log source = /proc/kmsg started.
Aug 25 17:22:07 drtp kernel: Inspecting /boot/System.map-2.6.0-test4
Aug 25 17:22:08 drtp kernel: Loaded 29085 symbols from /boot/System.map-2.6.0-test4.
Aug 25 17:22:08 drtp kernel: Symbols match kernel version 2.6.0.
Aug 25 17:22:08 drtp kernel: No module symbols loaded - kernel modules not enabled.
Aug 25 17:22:08 drtp kernel: Linux version 2.6.0-test4 (root@drtp) (gcc version
3.3.2 20030812 (Debian prerelease)) #3 Sun Aug 24 10:06:16 PDT 2003
Aug 25 17:22:08 drtp kernel: Video mode to be used for restore is ffff
Aug 25 17:22:08 drtp kernel: BIOS-provided physical RAM map:
Aug 25 17:22:08 drtp kernel:  BIOS-e820: 0000000000000000 - 000000000009f000
(usable)
Aug 25 17:22:08 drtp kernel:  BIOS-e820: 000000000009f000 - 00000000000a0000
(reserved)
Aug 25 17:22:08 drtp kernel:  BIOS-e820: 00000000000d2000 - 00000000000d4000
(reserved)
Aug 25 17:22:08 drtp kernel:  BIOS-e820: 00000000000dc000 - 0000000000100000
(reserved)
Aug 25 17:22:08 drtp kernel:  BIOS-e820: 0000000000100000 - 000000001ff60000
(usable)
Aug 25 17:22:08 drtp kernel:  BIOS-e820: 000000001ff60000 - 000000001ff79000
(ACPI data)
Aug 25 17:22:08 drtp kernel:  BIOS-e820: 000000001ff79000 - 000000001ff7b000
(ACPI NVS)
Aug 25 17:22:08 drtp kernel:  BIOS-e820: 000000001ff80000 - 0000000020000000
(reserved)
Aug 25 17:22:08 drtp kernel:  BIOS-e820: 00000000ff800000 - 0000000100000000
(reserved)
Aug 25 17:22:08 drtp kernel: 511MB LOWMEM available.
Aug 25 17:22:08 drtp kernel: On node 0 totalpages: 130912
Aug 25 17:22:08 drtp kernel:   DMA zone: 4096 pages, LIFO batch:1
Aug 25 17:22:08 drtp kernel:   Normal zone: 126816 pages, LIFO batch:16
Aug 25 17:22:08 drtp kernel:   HighMem zone: 0 pages, LIFO batch:1
Aug 25 17:22:08 drtp kernel: DMI present.
Aug 25 17:22:08 drtp kernel: IBM machine detected. Enabling interrupts during
APM calls.
Aug 25 17:22:08 drtp kernel: IBM machine detected. Disabling SMBus accesses.
Aug 25 17:22:08 drtp kernel: ACPI: RSDP (v002 IBM                              
        ) @ 0x000f6ba0
Aug 25 17:22:08 drtp kernel: ACPI: XSDT (v001 IBM    TP-1R    0x00001070  LTP
0x00000000) @ 0x1ff6d7b2
Aug 25 17:22:08 drtp kernel: ACPI: FADT (v003 IBM    TP-1R    0x00001070 IBM 
0x00000001) @ 0x1ff6d800
Aug 25 17:22:08 drtp kernel: ACPI: SSDT (v001 IBM    TP-1R    0x00001070 MSFT
0x0100000e) @ 0x1ff6d9b4
Aug 25 17:22:08 drtp kernel: ACPI: ECDT (v001 IBM    TP-1R    0x00001070 IBM 
0x00000001) @ 0x1ff78dd7
Aug 25 17:22:08 drtp kernel: ACPI: TCPA (v001 IBM    TP-1R    0x00001070 PTL 
0x00000001) @ 0x1ff78e29
Aug 25 17:22:08 drtp kernel: ACPI: BOOT (v001 IBM    TP-1R    0x00001070  LTP
0x00000001) @ 0x1ff78fd8
Aug 25 17:22:08 drtp kernel: ACPI: DSDT (v001 IBM    TP-1R    0x00001070 MSFT
0x0100000e) @ 0x00000000
Aug 25 17:22:08 drtp kernel: ACPI: MADT not present
Aug 25 17:22:08 drtp kernel: Building zonelist for node : 0
Aug 25 17:22:08 drtp kernel: Kernel command line: BOOT_IMAGE=Linux ro root=303
hdc=ide-scsi video=radeonfb:1024x768-16@100
Aug 25 17:22:08 drtp kernel: ide_setup: hdc=ide-scsi
Aug 25 17:22:08 drtp kernel: Local APIC disabled by BIOS -- reenabling.
Aug 25 17:22:08 drtp kernel: Found and enabled local APIC!
Aug 25 17:22:08 drtp kernel: Initializing CPU#0
Aug 25 17:22:08 drtp kernel: PID hash table entries: 2048 (order 11: 16384 bytes)
Aug 25 17:22:08 drtp kernel: Detected 1595.263 MHz processor.
Aug 25 17:22:08 drtp kernel: Console: colour VGA+ 80x25
Aug 25 17:22:08 drtp kernel: Calibrating delay loop... 3153.92 BogoMIPS
Aug 25 17:22:08 drtp kernel: Memory: 513152k/523648k available (2959k kernel
code, 9740k reserved, 1126k data, 188k init, 0k highmem)
Aug 25 17:22:08 drtp kernel: Dentry cache hash table entries: 65536 (order: 6,
262144 bytes)
Aug 25 17:22:08 drtp kernel: Inode-cache hash table entries: 32768 (order: 5,
131072 bytes)
Aug 25 17:22:08 drtp kernel: Mount-cache hash table entries: 512 (order: 0, 4096
bytes)
Aug 25 17:22:08 drtp kernel: -> /dev
Aug 25 17:22:08 drtp kernel: -> /dev/console
Aug 25 17:22:08 drtp kernel: -> /root
Aug 25 17:22:08 drtp kernel: CPU: L1 I cache: 32K, L1 D cache: 32K
Aug 25 17:22:08 drtp kernel: CPU: L2 cache: 1024K
Aug 25 17:22:08 drtp kernel: Intel machine check architecture supported.
Aug 25 17:22:08 drtp kernel: Intel machine check reporting enabled on CPU#0.
Aug 25 17:22:08 drtp kernel: CPU: Intel(R) Pentium(R) M processor 1600MHz
stepping 05
Aug 25 17:22:08 drtp kernel: Enabling fast FPU save and restore... done.
Aug 25 17:22:08 drtp kernel: Enabling unmasked SIMD FPU exception support... done.
Aug 25 17:22:08 drtp kernel: Checking 'hlt' instruction... OK.
Aug 25 17:22:08 drtp kernel: POSIX conformance testing by UNIFIX
Aug 25 17:22:08 drtp kernel: enabled ExtINT on CPU#0
Aug 25 17:22:08 drtp kernel: ESR value before enabling vector: 00000000
Aug 25 17:22:08 drtp kernel: ESR value after enabling vector: 00000000
Aug 25 17:22:08 drtp kernel: Using local APIC timer interrupts.
Aug 25 17:22:08 drtp kernel: calibrating APIC timer ...
Aug 25 17:22:08 drtp kernel: ..... CPU clock speed is 1594.0589 MHz.
Aug 25 17:22:08 drtp kernel: ..... host bus clock speed is 99.0661 MHz.
Aug 25 17:22:08 drtp kernel: Initializing RT netlink socket
Aug 25 17:22:08 drtp kernel: PCI: PCI BIOS revision 2.10 entry at 0xfd906, last
bus=8
Aug 25 17:22:08 drtp kernel: PCI: Using configuration type 1
Aug 25 17:22:08 drtp kernel: mtrr: v2.0 (20020519)
Aug 25 17:22:08 drtp kernel: BIO: pool of 256 setup, 14Kb (56 bytes/bio)
Aug 25 17:22:08 drtp kernel: biovec pool[0]:   1 bvecs: 256 entries (12 bytes)
Aug 25 17:22:08 drtp kernel: biovec pool[1]:   4 bvecs: 256 entries (48 bytes)
Aug 25 17:22:08 drtp kernel: biovec pool[2]:  16 bvecs: 256 entries (192 bytes)
Aug 25 17:22:08 drtp kernel: biovec pool[3]:  64 bvecs: 256 entries (768 bytes)
Aug 25 17:22:08 drtp kernel: biovec pool[4]: 128 bvecs: 256 entries (1536 bytes)
Aug 25 17:22:08 drtp kernel: biovec pool[5]: 256 bvecs: 256 entries (3072 bytes)
Aug 25 17:22:08 drtp kernel: ACPI: Subsystem revision 20030813
Aug 25 17:22:08 drtp kernel: ACPI: Found ECDT
Aug 25 17:22:08 drtp kernel:     ACPI-1121: *** Error: Method execution failed
[\_SB_.PCI0.USB7._INI] (Node c15d1d20), AE_AML_REGION_LIMIT
Aug 25 17:22:08 drtp kernel: ACPI: Interpreter enabled
Aug 25 17:22:08 drtp kernel: ACPI: Using PIC for interrupt routing
Aug 25 17:22:08 drtp kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 3 *4 5 6 7 9
10 11)
Aug 25 17:22:08 drtp kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 9
10 11)
Aug 25 17:22:08 drtp kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 *6 7 9
10 11)
Aug 25 17:22:08 drtp kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *9
10 11)
Aug 25 17:22:08 drtp kernel: ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9
10 11, disabled)
Aug 25 17:22:08 drtp kernel: ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9
10 11, disabled)
Aug 25 17:22:08 drtp kernel: ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9
10 11, disabled)
Aug 25 17:22:08 drtp kernel: ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9
10 *11)
Aug 25 17:22:08 drtp kernel: ACPI: PCI Root Bridge [PCI0] (00:00)
Aug 25 17:22:08 drtp kernel: PCI: Probing PCI hardware (bus 00)
Aug 25 17:22:08 drtp kernel: PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
Aug 25 17:22:08 drtp kernel: Transparent bridge - 0000:00:1e.0
Aug 25 17:22:08 drtp kernel: ACPI: Embedded Controller [EC] (gpe 28)
Aug 25 17:22:08 drtp kernel: ACPI: Power Resource [PUBS] (on)
Aug 25 17:22:08 drtp kernel: Linux Plug and Play Support v0.97 (c) Adam Belay
Aug 25 17:22:08 drtp kernel: PnPBIOS: Scanning system for PnP BIOS support...
Aug 25 17:22:08 drtp kernel: PnPBIOS: Found PnP BIOS installation structure at
0xc00f6bf0
Aug 25 17:22:08 drtp kernel: PnPBIOS: PnP BIOS version 1.0, entry
0xf0000:0x9c73, dseg 0x400
Aug 25 17:22:08 drtp kernel: PnPBIOS: 19 nodes reported by PnP BIOS; 19 recorded
by driver
Aug 25 17:22:08 drtp kernel: SCSI subsystem initialized
Aug 25 17:22:08 drtp kernel: Linux Kernel Card Services 3.1.22
Aug 25 17:22:08 drtp kernel:   options:  [pci] [cardbus] [pm]
Aug 25 17:22:08 drtp kernel: drivers/usb/core/usb.c: registered new driver usbfs
Aug 25 17:22:08 drtp kernel: drivers/usb/core/usb.c: registered new driver hub
Aug 25 17:22:08 drtp kernel: ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
Aug 25 17:22:08 drtp kernel: ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 9
Aug 25 17:22:08 drtp kernel: ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
Aug 25 17:22:08 drtp kernel: ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 10
Aug 25 17:22:08 drtp kernel: ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
Aug 25 17:22:08 drtp kernel: PCI: Using ACPI for IRQ routing
Aug 25 17:22:08 drtp kernel: PCI: if you experience problems, try using option
'pci=noacpi' or even 'acpi=off'
Aug 25 17:22:08 drtp kernel: pty: 256 Unix98 ptys configured
Aug 25 17:22:08 drtp kernel: SBF: Simple Boot Flag extension found and enabled.
Aug 25 17:22:08 drtp kernel: SBF: Setting boot flags 0x1
Aug 25 17:22:08 drtp kernel: speedstep-centrino: found "Intel(R) Pentium(R) M
processor 1600MHz": max frequency: 1600000kHz
Aug 25 17:22:08 drtp kernel: IA-32 Microcode Update Driver: v1.11
<tigran@veritas.com>
Aug 25 17:22:08 drtp kernel: Total HugeTLB memory allocated, 0
Aug 25 17:22:08 drtp kernel: Journalled Block Device driver loaded
Aug 25 17:22:08 drtp kernel: devfs: v1.22 (20021013) Richard Gooch
(rgooch@atnf.csiro.au)
Aug 25 17:22:08 drtp kernel: devfs: boot_options: 0x0
Aug 25 17:22:08 drtp kernel: Installing knfsd (copyright (C) 1996
okir@monad.swb.de).
Aug 25 17:22:08 drtp kernel: NTFS driver 2.1.4 [Flags: R/O].
Aug 25 17:22:08 drtp kernel: udf: registering filesystem
Aug 25 17:22:08 drtp kernel: Initializing Cryptographic API
Aug 25 17:22:08 drtp kernel: ACPI: AC Adapter [AC] (on-line)
Aug 25 17:22:08 drtp kernel: ACPI: Battery Slot [BAT0] (battery present)
Aug 25 17:22:08 drtp kernel: ACPI: Battery Slot [BAT1] (battery present)
Aug 25 17:22:08 drtp kernel: ACPI: Power Button (FF) [PWRF]
Aug 25 17:22:08 drtp kernel: ACPI: Lid Switch [LID]
Aug 25 17:22:08 drtp kernel: ACPI: Sleep Button (CM) [SLPB]
Aug 25 17:22:08 drtp kernel: ACPI: Processor [CPU] (supports C1 C2 C3, 8
throttling states)
Aug 25 17:22:08 drtp kernel: ACPI: Thermal Zone [THM0] (52 C)
Aug 25 17:22:08 drtp kernel: isapnp: Scanning for PnP cards...
Aug 25 17:22:08 drtp kernel: isapnp: No Plug & Play device found
Aug 25 17:22:08 drtp kernel: lp: driver loaded but no devices found
Aug 25 17:22:08 drtp kernel: Real Time Clock Driver v1.11a
Aug 25 17:22:08 drtp kernel: hw_random hardware driver 1.0.0 loaded
Aug 25 17:22:08 drtp kernel: Linux agpgart interface v0.100 (c) Dave Jones
Aug 25 17:22:08 drtp kernel: agpgart: Detected an Intel 855PM Chipset.
Aug 25 17:22:08 drtp kernel: agpgart: Maximum main memory to use for agp memory:
439M
Aug 25 17:22:08 drtp kernel: agpgart: AGP aperture is 256M @ 0xd0000000
Aug 25 17:22:08 drtp kernel: parport0: PC-style at 0x3bc [PCSPP(,...)]
Aug 25 17:22:08 drtp kernel: lp0: using parport0 (polling).
Aug 25 17:22:08 drtp kernel: loop: loaded (max 8 devices)
Aug 25 17:22:08 drtp kernel: Linux video capture interface: v1.00
Aug 25 17:22:08 drtp kernel: Uniform Multi-Platform E-IDE driver Revision:
7.00alpha2
Aug 25 17:22:08 drtp kernel: ide: Assuming 33MHz system bus speed for PIO modes;
override with idebus=xx
Aug 25 17:22:08 drtp kernel: ICH4: IDE controller at PCI slot 0000:00:1f.1
Aug 25 17:22:08 drtp kernel: PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
Aug 25 17:22:08 drtp kernel: ICH4: chipset revision 1
Aug 25 17:22:08 drtp kernel: ICH4: not 100%% native mode: will probe irqs later
Aug 25 17:22:08 drtp kernel:     ide0: BM-DMA at 0x1860-0x1867, BIOS settings:
hda:DMA, hdb:pio
Aug 25 17:22:08 drtp kernel:     ide1: BM-DMA at 0x1868-0x186f, BIOS settings:
hdc:pio, hdd:pio
Aug 25 17:22:08 drtp kernel: hda: IC25N080ATMR04-0, ATA DISK drive
Aug 25 17:22:08 drtp kernel: Using anticipatory scheduling elevator
Aug 25 17:22:08 drtp kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Aug 25 17:22:08 drtp kernel: hda: max request size: 128KiB
Aug 25 17:22:08 drtp kernel: hda: Host Protected Area detected.
Aug 25 17:22:08 drtp kernel: ^Icurrent capacity is 150198690 sectors (76901 MB)
Aug 25 17:22:08 drtp kernel: ^Inative  capacity is 156301488 sectors (80026 MB)
Aug 25 17:22:08 drtp kernel: hda: 150198690 sectors (76901 MB) w/7884KiB Cache,
CHS=65535/16/63, UDMA(100)
Aug 25 17:22:08 drtp kernel:  /dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 > p3 p4
Aug 25 17:22:08 drtp kernel: Yenta: CardBus bridge found at 0000:02:00.0 [1014:0512]
Aug 25 17:22:08 drtp kernel: Yenta IRQ list 0088, PCI irq10
Aug 25 17:22:08 drtp kernel: Socket status: 30000006
Aug 25 17:22:08 drtp kernel: Yenta: CardBus bridge found at 0000:02:00.1 [1014:0512]
Aug 25 17:22:08 drtp kernel: Yenta IRQ list 0088, PCI irq5
Aug 25 17:22:08 drtp kernel: Socket status: 30000006
Aug 25 17:22:08 drtp kernel: ehci_hcd 0000:00:1d.7: EHCI Host Controller
Aug 25 17:22:08 drtp kernel: ehci_hcd 0000:00:1d.7: irq 10, pci mem e0863000
Aug 25 17:22:08 drtp kernel: ehci_hcd 0000:00:1d.7: new USB bus registered,
assigned bus number 1
Aug 25 17:22:08 drtp kernel: ehci_hcd 0000:00:1d.7: enabled 64bit PCI DMA
Aug 25 17:22:08 drtp kernel: PCI: cache line size of 32 is not supported by
device 0000:00:1d.7
Aug 25 17:22:08 drtp kernel: ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00,
driver 2003-Jun-13
Aug 25 17:22:08 drtp kernel: hub 1-0:0: USB hub found
Aug 25 17:22:08 drtp kernel: hub 1-0:0: 6 ports detected
Aug 25 17:22:08 drtp kernel: drivers/usb/host/uhci-hcd.c: USB Universal Host
Controller Interface driver v2.1
Aug 25 17:22:08 drtp kernel: uhci-hcd 0000:00:1d.0: UHCI Host Controller
Aug 25 17:22:08 drtp kernel: uhci-hcd 0000:00:1d.0: irq 10, io base 00001800
Aug 25 17:22:08 drtp kernel: uhci-hcd 0000:00:1d.0: new USB bus registered,
assigned bus number 2
Aug 25 17:22:08 drtp kernel: hub 2-0:0: USB hub found
Aug 25 17:22:08 drtp kernel: hub 2-0:0: 2 ports detected
Aug 25 17:22:08 drtp kernel: uhci-hcd 0000:00:1d.1: UHCI Host Controller
Aug 25 17:22:08 drtp kernel: uhci-hcd 0000:00:1d.1: irq 9, io base 00001820
Aug 25 17:22:08 drtp kernel: uhci-hcd 0000:00:1d.1: new USB bus registered,
assigned bus number 3
Aug 25 17:22:08 drtp kernel: hub 3-0:0: USB hub found
Aug 25 17:22:08 drtp kernel: hub 3-0:0: 2 ports detected
Aug 25 17:22:08 drtp kernel: uhci-hcd 0000:00:1d.2: UHCI Host Controller
Aug 25 17:22:08 drtp kernel: uhci-hcd 0000:00:1d.2: irq 11, io base 00001840
Aug 25 17:22:08 drtp kernel: uhci-hcd 0000:00:1d.2: new USB bus registered,
assigned bus number 4
Aug 25 17:22:08 drtp kernel: hub 4-0:0: USB hub found
Aug 25 17:22:08 drtp kernel: hub 4-0:0: 2 ports detected
Aug 25 17:22:08 drtp kernel: drivers/usb/core/usb.c: registered new driver hid
Aug 25 17:22:08 drtp kernel: drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Aug 25 17:22:08 drtp kernel: mice: PS/2 mouse device common for all mice
Aug 25 17:22:08 drtp kernel: input: PC Speaker
Aug 25 17:22:08 drtp kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
Aug 25 17:22:08 drtp kernel: input: AT Set 2 keyboard on isa0060/serio0
Aug 25 17:22:08 drtp kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
Aug 25 17:22:08 drtp kernel: I2O Core - (C) Copyright 1999 Red Hat Software
Aug 25 17:22:08 drtp kernel: I2O: Event thread created as pid 14
Aug 25 17:22:08 drtp kernel: i2o: Checking for PCI I2O controllers...
Aug 25 17:22:08 drtp kernel: I2O configuration manager v 0.04.
Aug 25 17:22:08 drtp kernel:   (C) Copyright 1999 Red Hat Software
Aug 25 17:22:08 drtp kernel: I2O Block Storage OSM v0.9
Aug 25 17:22:08 drtp kernel:    (c) Copyright 1999-2001 Red Hat Software.
Aug 25 17:22:08 drtp kernel: i2o_block: Checking for Boot device...
Aug 25 17:22:08 drtp kernel: i2o_block: Checking for I2O Block devices...
Aug 25 17:22:08 drtp kernel: i2o_scsi.c: Version 0.1.2
Aug 25 17:22:08 drtp kernel:   chain_pool: 0 bytes @ dfc4e380
Aug 25 17:22:08 drtp kernel:   (512 byte buffers X 4 can_queue X 0 i2o controllers)
Aug 25 17:22:08 drtp kernel: i2c-i801 version 2.7.0 (20021208)
Aug 25 17:22:08 drtp kernel: i2c-piix4 version 2.7.0 (20021208)
Aug 25 17:22:08 drtp kernel: Advanced Linux Sound Architecture Driver Version
0.9.6 (Wed Aug 20 20:27:13 2003 UTC
).
Aug 25 17:22:08 drtp kernel: ALSA device list:
Aug 25 17:22:08 drtp kernel:   No soundcards found.
Aug 25 17:22:08 drtp kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Aug 25 17:22:08 drtp kernel: IP: routing cache hash table of 4096 buckets, 32Kbytes
Aug 25 17:22:08 drtp kernel: TCP: Hash tables configured (established 32768 bind
65536)
Aug 25 17:22:08 drtp kernel: ip_tables: (C) 2000-2002 Netfilter core team
Aug 25 17:22:08 drtp kernel: Initializing IPsec netlink socket
Aug 25 17:22:08 drtp kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Aug 25 17:22:08 drtp kernel: cpufreq: No CPUs supporting ACPI performance
management found.
Aug 25 17:22:08 drtp kernel: ACPI: (supports S0 S3 S4 S5)
Aug 25 17:22:08 drtp kernel: found reiserfs format "3.6" with standard journal
Aug 25 17:22:08 drtp kernel: Reiserfs journal params: device hda3, size 8192,
journal first block 18, max trans l
en 1024, max batch 900, max commit age 30, max trans age 30
Aug 25 17:22:08 drtp kernel: reiserfs: checking transaction log (hda3) for (hda3)
Aug 25 17:22:08 drtp kernel: reiserfs: replayed 23 transactions in 10 seconds
Aug 25 17:22:08 drtp kernel: Using r5 hash to sort names
Aug 25 17:22:08 drtp kernel: VFS: Mounted root (reiserfs filesystem) readonly.
Aug 25 17:22:08 drtp kernel: Freeing unused kernel memory: 188k freed
Aug 25 17:22:08 drtp kernel: Adding 7363432k swap on /dev/hda4.  Priority:-1
extents:1
Aug 25 17:22:08 drtp kernel: Removing [32767 253196 0x0 SD]..done
Aug 25 17:22:08 drtp kernel: Removing [2414 32870 0x0 SD]..done
Aug 25 17:22:08 drtp kernel: Removing [2414 32866 0x0 SD]..done
Aug 25 17:22:08 drtp kernel: Removing [2414 32859 0x0 SD]..done
Aug 25 17:22:08 drtp kernel: Removing [2414 32774 0x0 SD]..done
Aug 25 17:22:08 drtp kernel: Removing [942 1554 0x0 SD]..done
Aug 25 17:22:08 drtp kernel: Removing [942 1549 0x0 SD]..done
Aug 25 17:22:08 drtp kernel: There were 7 uncompleted unlinks/truncates. Completed
Aug 25 17:22:08 drtp kernel: Intel(R) PRO/1000 Network Driver - version 5.1.13-k2
Aug 25 17:22:08 drtp kernel: Copyright (c) 1999-2003 Intel Corporation.
Aug 25 17:22:08 drtp kernel: eth0: Intel(R) PRO/1000 Network Connection
Aug 25 17:22:08 drtp kernel: [drm] Initialized radeon 1.9.0 20020828 on minor 0
Aug 25 17:22:08 drtp kernel: Synaptics Touchpad, model: 1
Aug 25 17:22:08 drtp kernel:  Firmware: 5.9
Aug 25 17:22:08 drtp kernel:  Sensor: 44
Aug 25 17:22:08 drtp kernel:  new absolute packet format
Aug 25 17:22:08 drtp kernel:  Touchpad has extended capability bits
Aug 25 17:22:08 drtp kernel:  -> multifinger detection
Aug 25 17:22:08 drtp kernel:  -> palm detection
Aug 25 17:22:08 drtp kernel:  -> pass-through port
Aug 25 17:22:08 drtp kernel: input: Synaptics Synaptics TouchPad on isa0060/serio1
Aug 25 17:22:08 drtp kernel: serio: Synaptics pass-through port at
isa0060/serio1/input0
Aug 25 17:22:08 drtp kernel: input: PS/2 Generic Mouse on synaptics-pt/serio0
Aug 25 17:22:08 drtp kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Aug 25 17:22:08 drtp kernel: cs: IO port probe 0x0800-0x08ff: clean.
Aug 25 17:22:08 drtp kernel: cs: IO port probe 0x0100-0x04ff: excluding
0x170-0x177 0x370-0x377 0x3c0-0x3df 0x4d0
-0x4d7
Aug 25 17:22:08 drtp kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Aug 25 17:22:11 drtp kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Aug 25 17:22:12 drtp net.agent[687]: add event not handled
Aug 25 17:22:12 drtp kernel: eth1: New link status: Connected (0001)
Aug 25 17:22:12 drtp kernel: intel8x0: clocking to 48000
Aug 25 17:22:15 drtp lpd[1098]: restarted
Aug 25 17:22:17 drtp kernel: eth1: New link status: Disconnected (0002)
Aug 25 17:22:18 drtp xfs: ignoring font path element
/usr/lib/X11/fonts/cyrillic/ (unreadable)
Aug 25 17:22:19 drtp kernel: eth1: New link status: Connected (0001)
Aug 25 17:22:19 drtp xfs: ignoring font path element /usr/lib/X11/fonts/CID
(unreadable)
Aug 25 17:22:19 drtp xfs: ignoring font path element /usr/share/fonts/truetype/
(unreadable)
Aug 25 17:22:23 drtp kernel: eth1: New link status: Connected (0001)
Aug 25 17:22:25 drtp kernel: agpgart: Found an AGP 2.0 compliant device at
0000:00:00.0.
Aug 25 17:22:25 drtp kernel: agpgart: Putting AGP V2 device at 0000:00:00.0 into
1x mode
Aug 25 17:22:25 drtp kernel: agpgart: Putting AGP V2 device at 0000:01:00.0 into
1x mode
Aug 25 17:22:25 drtp kernel: [drm] Loading R200 Microcode
Aug 25 17:29:25 drtp kernel:     ACPI-0269: *** Error: Looking up [SERN] in
namespace, AE_ALREADY_EXISTS
Aug 25 17:29:25 drtp kernel:     ACPI-1121: *** Error: Method execution failed
[\_SB_.PCI0.LPC_.EC__.GBIF] (Node
c15d7e40), AE_ALREADY_EXISTS

and etc......
Comment 26 Jonathan Thambidurai 2003-08-31 08:09:37 UTC
I'm not sure if I should post this as another bug, but it has to do with T30
ACPI, so here it is.  APCI works great with the patches that have been posted to
this list.  When I start the machine in the Thinkpad Docking station, however,
errors cause ACPI to be completely disabled.  This is important to me becase
ACPI would allow hot dock/undock operation.  As it is (with apm), I must
completely shutdown the machine to remove it from the dock.  This is with a
patched 2.6.0-test4 kernel.  here is the output from dmesg:


Linux version 2.6.0-test4 (root@T30) (gcc version 3.3) #4 Wed Aug 27 14:36:28
EDT 2003
Video mode to be used for restore is 317
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000d2000 - 00000000000d4000 (reserved)
 BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000ff70000 (usable)
 BIOS-e820: 000000000ff70000 - 000000000ff7e000 (ACPI data)
 BIOS-e820: 000000000ff7e000 - 000000000ff80000 (ACPI NVS)
 BIOS-e820: 000000000ff80000 - 0000000010000000 (reserved)
 BIOS-e820: 00000000ff800000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65392
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 61296 pages, LIFO batch:14
  HighMem zone: 0 pages, LIFO batch:1
DMI present.
IBM machine detected. Enabling interrupts during APM calls.
IBM machine detected. Disabling SMBus accesses.
ACPI: RSDP (v002 IBM                                       ) @ 0x000f7010
ACPI: XSDT (v001 IBM    TP-1I    0x00002060  LTP 0x00000000) @ 0x0ff731cd
ACPI: FADT (v001 IBM    TP-1I    0x00002060 IBM  0x00000001) @ 0x0ff73300
ACPI: SSDT (v001 IBM    TP-1I    0x00002060 MSFT 0x0100000d) @ 0x0ff733b4
ACPI: ECDT (v001 IBM    TP-1I    0x00002060 IBM  0x00000001) @ 0x0ff7debc
ACPI: TCPA (v001 IBM    TP-1I    0x00002060 PTL  0x00000001) @ 0x0ff7df0e
ACPI: BOOT (v001 IBM    TP-1I    0x00002060  LTP 0x00000001) @ 0x0ff7dfd8
ACPI: DSDT (v001 IBM    TP-1I    0x00002060 MSFT 0x0100000d) @ 0x00000000
ACPI: MADT not present
Building zonelist for node : 0
Kernel command line: BOOT_IMAGE=LinuxACPI-2.6 ro root=303 hdc=ide-scsi
resume=/dev/hda2
ide_setup: hdc=ide-scsi
No local APIC present or hardware disabled
Initializing CPU#0
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 1798.915 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 3547.13 BogoMIPS
Memory: 254392k/261568k available (2442k kernel code, 6456k reserved, 993k data,
196k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
-> /dev
-> /dev/console
-> /root
CPU:     After generic identify, caps: 3febf9ff 00000000 00000000 00000000
CPU:     After vendor identify, caps: 3febf9ff 00000000 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU:     After all inits, caps: 3febf9ff 00000000 00000000 00000080
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU#0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz stepping 04
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PM: Adding info for No Bus:legacy
Initializing RT netlink socket
PCI: PCI BIOS revision 2.10 entry at 0xfd8fe, last bus=15
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
BIO: pool of 256 setup, 14Kb (56 bytes/bio)
biovec pool[0]:   1 bvecs: 256 entries (12 bytes)
biovec pool[1]:   4 bvecs: 256 entries (48 bytes)
biovec pool[2]:  16 bvecs: 256 entries (192 bytes)
biovec pool[3]:  64 bvecs: 256 entries (768 bytes)
biovec pool[4]: 128 bvecs: 256 entries (1536 bytes)
biovec pool[5]: 256 bvecs: 256 entries (3072 bytes)
ACPI: Subsystem revision 20030813
 tbxface-0117 [03] acpi_load_tables      : ACPI Tables successfully acquired
Parsing all Control
Methods:.........................................................................................................................................................................................................................................................................................................................................................................................
Table [DSDT](id F005) - 1241 Objects with 62 Devices 377 Methods 19 Regions
Parsing all Control Methods:.
Table [SSDT](id F003) - 1 Objects with 0 Devices 1 Methods 0 Regions
ACPI Namespace successfully loaded at root c04a3a1c
evxfevnt-0093 [04] acpi_enable           : Transition to ACPI mode successful
evgpeblk-0748 [06] ev_create_gpe_block   : GPE 00 to 15 [_GPE] 2 regs at
0000000000001028 on int 9
evgpeblk-0748 [06] ev_create_gpe_block   : GPE 16 to 31 [_GPE] 2 regs at
000000000000102C on int 9
ACPI: Found ECDT
evregion-0249 [66] ev_address_space_dispa: no handler for region(c13c4628)
[PCI_Config]
 exfldio-0235 [65] ex_access_region      : Region PCI_Config(2) has no handler
 dswexec-0422 [58] ds_exec_end_op        : [And]: Could not resolve operands,
AE_NOT_EXIST
 psparse-1121: *** Error: Method execution failed
[\_SB_.PCI0.PCI1.DOCK.CBS2.ICFG] (Node c13c2828), AE_NOT_EXIST
 psparse-1121: *** Error: Method execution failed
[\_SB_.PCI0.PCI1.DOCK.CBS2.DREG] (Node c13c2da8), AE_NOT_EXIST
 psparse-1121: *** Error: Method execution failed [\_SB_.PCI0.PCI1.DOCK._REG]
(Node c13c8f28), AE_NOT_EXIST
ACPI: Unable to initialize ACPI objects
evxfevnt-0139 [50] acpi_disable          : ACPI mode disabled
c12d61a8 Len 001C   utalloc-173 parse_obj aml_opcode 00A0
c12d9b28 Len 001C   utalloc-173 parse_obj aml_opcode 00A0
 utalloc-0991 [49] ut_dump_allocations   : 2(2) Outstanding allocations
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00f7040
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0x9d54, dseg 0x400
PM: Adding info for No Bus:pnp0
PM: Adding info for pnp:00:01
PM: Adding info for pnp:00:02
PM: Adding info for pnp:00:03
PM: Adding info for pnp:00:04
PM: Adding info for pnp:00:05
PM: Adding info for pnp:00:06
PM: Adding info for pnp:00:07
PM: Adding info for pnp:00:08
PM: Adding info for pnp:00:09
PM: Adding info for pnp:00:0a
PM: Adding info for pnp:00:0b
PM: Adding info for pnp:00:0c
PM: Adding info for pnp:00:0d
PM: Adding info for pnp:00:0e
PM: Adding info for pnp:00:0f
PM: Adding info for pnp:00:10
PM: Adding info for pnp:00:11
PM: Adding info for pnp:00:12
PM: Adding info for pnp:00:13
PM: Adding info for pnp:00:14
PM: Adding info for pnp:00:16
PM: Adding info for pnp:00:19
PM: Adding info for pnp:00:1a
PnPBIOS: 23 nodes reported by PnP BIOS; 23 recorded by driver
SCSI subsystem initialized
Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus] [pm]
ACPI: ACPI tables contain no PCI IRQ routing entries
PCI: Invalid ACPI-PCI IRQ routing table
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PM: Adding info for No Bus:pci0000:00
Transparent bridge - 0000:00:1e.0
Transparent bridge - 0000:02:03.0
PM: Adding info for pci:0000:00:00.0
PM: Adding info for pci:0000:00:01.0
PM: Adding info for pci:0000:00:1d.0
PM: Adding info for pci:0000:00:1d.1
PM: Adding info for pci:0000:00:1d.2
PM: Adding info for pci:0000:00:1e.0
PM: Adding info for pci:0000:00:1f.0
PM: Adding info for pci:0000:00:1f.1
PM: Adding info for pci:0000:00:1f.3
PM: Adding info for pci:0000:00:1f.5
PM: Adding info for pci:0000:00:1f.6
PM: Adding info for pci:0000:01:00.0
PM: Adding info for pci:0000:02:00.0
PM: Adding info for pci:0000:02:00.1
PM: Adding info for pci:0000:02:02.0
PM: Adding info for pci:0000:02:03.0
PM: Adding info for pci:0000:02:08.0
PM: Adding info for pci:0000:09:00.0
PM: Adding info for pci:0000:09:00.1
PM: Adding info for pci:0000:09:01.0
PM: Adding info for pci:0000:09:02.0
PM: Adding info for pci:0000:09:02.1
PCI: Using IRQ router PIIX [8086/248c] at 0000:00:1f.0
PCI: IRQ 0 for device 0000:00:1f.1 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Found IRQ 11 for device 0000:00:1f.1
PCI: Sharing IRQ 11 with 0000:00:1d.2
PCI: Sharing IRQ 11 with 0000:02:02.0
PCI: Sharing IRQ 11 with 0000:09:02.0
PCI: Sharing IRQ 11 with 0000:09:02.1
vesafb: framebuffer at 0xe8000000, mapped to 0xd0814000, size 16320k
vesafb: mode is 1024x768x16, linelength=2048, pages=9
vesafb: protected mode interface info at c000:5701
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
fb0: VESA VGA frame buffer device
Console: switching to colour frame buffer device 128x48
pty: 512 Unix98 ptys configured
SBF: Simple Boot Flag extension found and enabled.
SBF: Setting boot flags 0x1
Machine check exception polling timer started.
VFS: Disk quotas dquot_6.5.1
Journalled Block Device driver loaded
Initializing Cryptographic API
PM: Adding info for No Bus:pnp1
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.11a
hw_random hardware driver 1.0.0 loaded
Hangcheck: starting hangcheck timer 0.5.0 (tick is 180 seconds, margin is 60
seconds).
Serial: 8250/16550 driver $Revision: 1.90 $ IRQ sharing enabled
PCI: Found IRQ 11 for device 0000:00:1f.6
PCI: Sharing IRQ 11 with 0000:00:1f.3
PCI: Sharing IRQ 11 with 0000:00:1f.5
PCI: Sharing IRQ 11 with 0000:02:00.1
PCI: Sharing IRQ 11 with 0000:09:01.0
pnp: Device 00:12 activated.
ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
Using anticipatory scheduling elevator
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
PM: Adding info for platform:floppy0
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
Intel(R) PRO/100 Network Driver - version 2.3.18-k1
Copyright (c) 2003 Intel Corporation

PCI: Found IRQ 11 for device 0000:02:08.0
e100: selftest OK.
e100: eth0: Intel(R) PRO/100 Network Connection
  Hardware receive checksums enabled

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH3M: IDE controller at PCI slot 0000:00:1f.1
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
PCI: Found IRQ 11 for device 0000:00:1f.1
PCI: Sharing IRQ 11 with 0000:00:1d.2
PCI: Sharing IRQ 11 with 0000:02:02.0
PCI: Sharing IRQ 11 with 0000:09:02.0
PCI: Sharing IRQ 11 with 0000:09:02.1
ICH3M: chipset revision 2
ICH3M: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:DMA, hdd:pio
hda: IC25N040ATCS04-0, ATA DISK drive
PM: Adding info for No Bus:ide0
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
PM: Adding info for ide:0.0
hdc: DW-28E, ATAPI CD/DVD-ROM drive
PM: Adding info for No Bus:ide1
ide1 at 0x170-0x177,0x376 on irq 15
PM: Adding info for ide:1.0
CMD648: IDE controller at PCI slot 0000:09:01.0
PCI: Found IRQ 11 for device 0000:09:01.0
PCI: Sharing IRQ 11 with 0000:00:1f.3
PCI: Sharing IRQ 11 with 0000:00:1f.5
PCI: Sharing IRQ 11 with 0000:00:1f.6
PCI: Sharing IRQ 11 with 0000:02:00.1
CMD648: chipset revision 1
CMD648: 100% native mode on irq 11
    ide2: BM-DMA at 0x9000-0x9007, BIOS settings: hde:pio, hdf:pio
    ide3: BM-DMA at 0x9008-0x900f, BIOS settings: hdg:pio, hdh:pio
hda: max request size: 128KiB
hda: 78140160 sectors (40007 MB) w/1768KiB Cache, CHS=65535/16/63, UDMA(100)
 hda: hda1 hda2 hda3
ide-floppy driver 0.99.newide
Console: switching to colour frame buffer device 128x48
PCI: Found IRQ 11 for device 0000:02:00.0
PCI: Sharing IRQ 11 with 0000:00:1d.0
PCI: Sharing IRQ 11 with 0000:01:00.0
PCI: Sharing IRQ 11 with 0000:09:00.0
PCI: Sharing IRQ 11 with 0000:09:00.1
Yenta: CardBus bridge found at 0000:02:00.0 [1014:0512]
Yenta IRQ list 04b8, PCI irq11
Socket status: 30000006
PCI: Found IRQ 11 for device 0000:02:00.1
PCI: Sharing IRQ 11 with 0000:00:1f.3
PCI: Sharing IRQ 11 with 0000:00:1f.5
PCI: Sharing IRQ 11 with 0000:00:1f.6
PCI: Sharing IRQ 11 with 0000:09:01.0
Yenta: CardBus bridge found at 0000:02:00.1 [1014:0512]
Yenta IRQ list 04b8, PCI irq11
Socket status: 30000006
PCI: Found IRQ 11 for device 0000:09:02.0
PCI: Sharing IRQ 11 with 0000:00:1d.2
PCI: Sharing IRQ 11 with 0000:00:1f.1
PCI: Sharing IRQ 11 with 0000:02:02.0
PCI: Sharing IRQ 11 with 0000:09:02.1
Yenta: CardBus bridge found at 0000:09:02.0 [1014:0148]
Yenta IRQ list 04b8, PCI irq11
Socket status: 30000006
PCI: Found IRQ 11 for device 0000:09:02.1
PCI: Sharing IRQ 11 with 0000:00:1d.2
PCI: Sharing IRQ 11 with 0000:00:1f.1
PCI: Sharing IRQ 11 with 0000:02:02.0
PCI: Sharing IRQ 11 with 0000:09:02.0
Yenta: CardBus bridge found at 0000:09:02.1 [1014:0148]
Yenta IRQ list 04b8, PCI irq11
Socket status: 30000006
mice: PS/2 mouse device common for all mice
inport.c: Didn't find InPort mouse at 0x23c
Synaptics Touchpad, model: 1
 Firware: 5.9
 Sensor: 44
 new absolute packet format
 Touchpad has extended capability bits
 -> multifinger detection
 -> palm detection
input: Synaptics Synaptics TouchPad on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   8regs     :  2120.000 MB/sec
   8regs_prefetch:  1992.000 MB/sec
   32regs    :  1344.000 MB/sec
   32regs_prefetch:  1276.000 MB/sec
   pIII_sse  :  2236.000 MB/sec
   pII_mmx   :  2700.000 MB/sec
   p5_mmx    :  2764.000 MB/sec
raid5: using function: pIII_sse (2236.000 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
Advanced Linux Sound Architecture Driver Version 0.9.6 (Wed Aug 20 20:27:13 2003
UTC).
ALSA device list:
  No soundcards found.
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
Initializing IPsec netlink socket
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
cpufreq: No CPUs supporting ACPI performance management found.
swsusp: Resume From Partition: /dev/hda2, Device: hda2
Resume Machine: This is normal swap space
Resume Machine: Error -22 resuming
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 196k freed
Adding 997912k swap on /dev/hda2.  Priority:-1 extents:1
EXT3 FS on hda3, internal journal
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x3b8-0x3df 0x3f8-0x3ff 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.

Comment 27 Shaohua 2003-08-31 18:49:23 UTC
David, In my T40, I can't find such symptoms. kernel 2.4.22-pre10-ac1
Comment 28 Shaohua 2003-08-31 19:17:53 UTC
Jonathan, In my T40(kernel 2.4.22-pre10-ac1), hotpluging docking station can't 
lead to any error.  Your dmesg shows some warnings about DSDT. I'd like to 
check it. can you attach the acpidmp output? By the way, can you open a new 
track about this problem. I think it's another bug.
Comment 29 Ruben Puettmann 2003-09-01 05:07:06 UTC
After a short weekend som things to tell:

> Fan lost:      DSDT don't define fan device. Maybe is a BIOS error.

OK if this is an bios error why can the fan module not disable it selfs an give
the control back to the bios? If I build an kernel on my R40 without the fan
module the fan will work same on an new Sony Notebook.

Has somebody checkt the dst table if it is correct? How can I do it?
If it is broken can somebody make open a call by IBM?

> Battery error: has a patch, but need more test.

Works for me very well on 2.4 i will test 2.6 in the next day's


> cache size is 0: ?

seems to be a Problem only in 2.4 seems that 2.4 don't recognize the cpu correct.

> Failed to shutdown: Try patch for http://bugme.osdl.org/show_bug.cgi?id=1141

I will test it in the next build









Comment 30 Shaohua 2003-09-01 20:40:41 UTC
Created attachment 783 [details]
patch for disabling nonexist device

Ruben, this patch can disable nonexist device(for kernel 2.4). Thanks for your
advice.
fan's PNP id is PNP0C0B, you can check if your DSDT has error by scaning string
 'PNP0C0B'
Comment 31 Bernd Zeimetz 2003-09-03 15:35:54 UTC
Distribution: Debian unstable 
Hardware Environment: IBM Thinkpad R40 2722 with newest aviable BIOS 
Kernel 2.4.22-ac1 with EC, Battery, poweroff and DSDT patch, 
fixed DSDT. 
 
- Thinklight and Displaybackligth buttons wirk now 
- shutdown with powerbutton works, but after a shutdown 
  the R40 doesn't power-off (only the HDD)! Last messages: 
    Power down 
    e100: config WOL failed 
  Display is still working after that. 
  Disabling Local APIC as in 
  http://mailman.linux-thinkpad.org/pipermail/
linux-thinkpad/2003-June/011686.html 
  doesn't help (needed for a working apm) 
- suspend/resume buttons don't work 
- tpctl doesn't work with acpi 
- I think the fan is a little bit louder than with apm 
  but I can't proove it. 
 
Here is the dmesg-output: 
 
BIOS-provided physical RAM map: 
 BIOS-e820: 0000000000000000 - 000000000009f000 (usable) 
 BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved) 
 BIOS-e820: 00000000000d2000 - 00000000000d4000 (reserved) 
 BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved) 
 BIOS-e820: 0000000000100000 - 000000002ff60000 (usable) 
 BIOS-e820: 000000002ff60000 - 000000002ff78000 (ACPI data) 
 BIOS-e820: 000000002ff78000 - 000000002ff7a000 (ACPI NVS) 
 BIOS-e820: 000000002ff80000 - 0000000030000000 (reserved) 
 BIOS-e820: 00000000ff800000 - 0000000100000000 (reserved) 
0MB HIGHMEM available. 
767MB LOWMEM available. 
ACPI: have wakeup address 0xc0001000 
On node 0 totalpages: 196448 
zone(0): 4096 pages. 
zone(1): 192352 pages. 
zone(2): 0 pages. 
IBM machine detected. Enabling interrupts during APM calls. 
ACPI: RSDP (v002 IBM                                       ) @ 0x000f6d40 
ACPI: XSDT (v001 IBM    TP-1P    0x00001130  LTP 0x00000000) @ 0x2ff6e4e6 
ACPI: FADT (v003 IBM    TP-1P    0x00001130 IBM  0x00000001) @ 0x2ff6e600 
ACPI: SSDT (v001 IBM    TP-1P    0x00001130 MSFT 0x0100000e) @ 0x2ff6e7b4 
ACPI: ECDT (v001 IBM    TP-1P    0x00001130 IBM  0x00000001) @ 0x2ff77ea3 
ACPI: TCPA (v001 IBM    TP-1P    0x00001130 PTL  0x00000001) @ 0x2ff77ef5 
ACPI: BOOT (v001 IBM    TP-1P    0x00001130  LTP 0x00000001) @ 0x2ff77fd8 
ACPI: DSDT (v001 IBM    TP-1P    0x00001130 MSFT 0x0100000e) @ 0x00000000 
ACPI: MADT not present 
Kernel command line: root=/dev/hda6 ro single 
Local APIC disabled by BIOS -- reenabling. 
Found and enabled local APIC! 
Initializing CPU#0 
Detected 1495.176 MHz processor. 
Console: colour VGA+ 80x25 
Calibrating delay loop... 2981.88 BogoMIPS 
Memory: 773944k/785792k available (1280k kernel code, 11460k reserved, 527k 
data, 120k init, 0k highmem) 
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) 
Inode cache hash table entries: 65536 (order: 7, 524288 bytes) 
Mount cache hash table entries: 512 (order: 0, 4096 bytes) 
Buffer cache hash table entries: 65536 (order: 6, 262144 bytes) 
Page-cache hash table entries: 262144 (order: 8, 1048576 bytes) 
Intel machine check architecture supported. 
Intel machine check reporting enabled on CPU#0. 
CPU:     After generic, caps: a7e9fbbf 00000000 00000000 00000000 
CPU:             Common caps: a7e9fbbf 00000000 00000000 00000000 
CPU: Intel(R) Pentium(R) M processor 1500MHz stepping 05 
Enabling fast FPU save and restore... done. 
Enabling unmasked SIMD FPU exception support... done. 
Checking 'hlt' instruction... OK. 
POSIX conformance testing by UNIFIX 
enabled ExtINT on CPU#0 
ESR value before enabling vector: 00000000 
ESR value after enabling vector: 00000000 
Using local APIC timer interrupts. 
calibrating APIC timer ... 
..... CPU clock speed is 1495.1760 MHz. 
..... host bus clock speed is 99.6784 MHz. 
cpu: 0, clocks: 996784, slice: 498392 
CPU0<T0:996784,T1:498384,D:8,S:498392,C:996784> 
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au) 
mtrr: detected mtrr type: Intel 
ACPI: Subsystem revision 20030813 
PCI: PCI BIOS revision 2.10 entry at 0xfd936, last bus=5 
PCI: Using configuration type 1 
    ACPI-0292: *** Info: Table [DSDT] replaced by host OS 
ACPI: Found ECDT 
schedule_task(): keventd has not started 
ACPI: Interpreter enabled 
ACPI: Using PIC for interrupt routing 
ACPI: System [ACPI] (supports S0 S3 S4 S5) 
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11) 
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11) 
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *9 10 11) 
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 *7 9 10 11) 
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 *6 7 9 10 11) 
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11, disabled) 
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11, disabled) 
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 *6 7 9 10 11) 
ACPI: PCI Root Bridge [PCI0] (00:00) 
PCI: Probing PCI hardware (bus 00) 
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1 
Transparent bridge - Intel Corp. 82801BAM/CAM PCI Bridge 
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT] 
ACPI: Embedded Controller [EC] (gpe 28) 
schedule_task(): keventd has not started 
ACPI: Power Resource [PUBS] (on) 
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT] 
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT] 
PCI: Probing PCI hardware 
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 5 
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11 
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 9 
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 10 
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5 
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 11 
PCI: Using ACPI for IRQ routing 
PCI: if you experience problems, try using option 'pci=noacpi' or even 
'acpi=off' 
isapnp: Scanning for PnP cards... 
isapnp: No Plug & Play device found 
Linux NET4.0 for Linux 2.4 
Based upon Swansea University Computer Society NET3.039 
Initializing RT netlink socket 
IA-32 Microcode Update Driver: v1.11 <tigran@veritas.com> 
speedstep-centrino: found "Intel(R) Pentium(R) M processor 1500MHz": max 
frequency: 1500000kHz 
Starting kswapd 
VFS: Disk quotas vdquot_6.5.1 
Journalled Block Device driver loaded 
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au) 
devfs: boot_options: 0x0 
ACPI: AC Adapter [AC] (on-line) 
ACPI: Battery Slot [BAT0] (battery present) 
ACPI: Battery Slot [BAT1] (battery absent) 
ACPI: Power Button (FF) [PWRF] 
ACPI: Lid Switch [LID] 
ACPI: Sleep Button (CM) [SLPB] 
ACPI: Processor [CPU] (supports C1 C2 C3, 6 performance states, 8 throttling 
states) 
ACPI: Thermal Zone [THM0] (35 C) 
pty: 256 Unix98 ptys configured 
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT 
SHARE_IRQ SERIAL_PCI ISAPNP enabled 
ttyS01 at 0x02f8 (irq = 3) is a 16550A 
Real Time Clock Driver v1.10e 
Non-volatile memory driver v1.2 
[...] 
Comment 32 Ruben Puettmann 2003-09-18 05:21:44 UTC
Shutdown does not work with patch from:

http://bugme.osdl.org/show_bug.cgi?id=1141

Last message:

Power down.
acpi_power_off called

Screen shows this message nad nothing happend

Kernel: 26.0-test5-bk4 + "Patch for detecting embedded Controller" + "patch for
battery error" + Patch from http://bugme.osdl.org/show_bug.cgi?id=1141.

Hardware: Thinkpad R40 2722 with newest bios
Comment 33 Ruben Puettmann 2003-09-18 05:25:31 UTC
Kernel: 26.0-test5-bk4 + "Patch for detecting embedded Controller" + "patch for
battery error" + Patch from http://bugme.osdl.org/show_bug.cgi?id=1141.

Hardware: Thinkpad R40 2722 with newest bios

Fan still not work on next build I will test the "patch for disabling nonexist
device".

Comment 34 Ruben Puettmann 2003-09-18 05:35:12 UTC
Kernel: 26.0-test5-bk4 + "Patch for detecting embedded Controller" + "patch for
battery error" + Patch from http://bugme.osdl.org/show_bug.cgi?id=1141.

suspend to ram seems not to work.If I close my thinkpad it don't go into sleep
Comment 35 Ruben Puettmann 2003-09-18 05:39:27 UTC
Kernel: 26.0-test5-bk4 + "Patch for detecting embedded Controller" + "patch for
battery error" + Patch from http://bugme.osdl.org/show_bug.cgi?id=1141.

config:

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
CONFIG_SOFTWARE_SUSPEND=y

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI_HT=y
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y

#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_PROC_INTF=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_24_API=y
CONFIG_CPU_FREQ_TABLE=y

#
# CPUFreq processor drivers
#
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
# CONFIG_X86_POWERNOW_K6 is not set
# CONFIG_X86_POWERNOW_K7 is not set
# CONFIG_X86_GX_SUSPMOD is not set
CONFIG_X86_SPEEDSTEP_CENTRINO=y
CONFIG_X86_SPEEDSTEP_ICH=y
# CONFIG_X86_SPEEDSTEP_SMI is not set
CONFIG_X86_SPEEDSTEP_LIB=y
# CONFIG_X86_P4_CLOCKMOD is not set
# CONFIG_X86_LONGRUN is not set
# CONFIG_X86_LONGHAUL is not set


dmesg |grep cpufreq

cpufreq: No CPU's supporting ACPI performance management found

what is wrong? 
Comment 36 Ruben Puettmann 2003-09-18 06:08:34 UTC
Kernel: 26.0-test5-bk4 + "Patch for detecting embedded Controller" + "patch for
battery error" + "patch for disabling nonexist device" + Patch from
http://bugme.osdl.org/show_bug.cgi?id=1141.

Hardware: Thinkpad R40 2722 with newest bios



schleppy:~# dmesg |grep -i acpi 
ACPI: AC Adapter [AC] (on-line)
ACPI: Battery Slot [BAT0] (battery present)
ACPI: Battery Slot [BAT1] (battery absent)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Processor [CPU] (supports C1 C2 C3, 8 throttling states)
ACPI: Thermal Zone [THM0] (68 C)
cpufreq: No CPUs supporting ACPI performance management found.
ACPI: (supports S0 S3 S4 S5)
schleppy:~# modprobe fan
FATAL: Error inserting fan
(/lib/modules/2.6.0-test5-bk4/kernel/drivers/acpi/fan.ko): No such device


Helps this a little bit?
Comment 37 Ruben Puettmann 2003-09-18 06:10:54 UTC
soory I Fogott

schleppy:/proc/acpi# find    
.
./alarm
./event
./fadt
./dsdt
./info
./power_resource
./power_resource/PUBS
./power_resource/PUBS/state
./embedded_controller
./embedded_controller/EC
./embedded_controller/EC/info

all other are away after modpobe fan ..

Comment 38 Peter Johanson 2003-09-23 08:01:28 UTC
Running 2.6.0-test5-mm2 here on a T30 2366-85U with BIOS v2.04 and EC v1.03

Have applied both the EC patch and the patch for the battery. dmesg now shows no
errors, and acpi reports the battery properly.

Suspend (S3) *almost* works here. Everything seems to suspend properly but the
LCD refuses to turn off. on resume i have to remove and reinsert my alsa
modules, but otherwise things are good.

Anybody w/ S3 success on T30s?
Comment 39 Ruben Puettmann 2003-09-23 12:46:57 UTC
looks like the patch for disabling nonexist device did not work see my error 
report above.

Who do I send my thinkpad into sleep with acpi? On apm it was apm -s oder apm -
S.

Comment 40 Shaohua 2003-09-25 02:45:13 UTC
ruben, disabling nonexist device patch works in my T40 with 2.4.22-rc4. I didn't
try 2.6 kernel. in your dmesg, I find
>ACPI: AC Adapter [AC] (on-line)
>ACPI: Battery Slot [BAT0] (battery present)
>ACPI: Battery Slot [BAT1] (battery absent)
>ACPI: Power Button (FF) [PWRF]
AC, BAT ..., modules have been inserted succesfully. strange to me is why their
proc file didn't exist.
Comment 41 Erik Rigtorp 2003-09-30 11:59:58 UTC
Thinkpad X31
BIOS v 2.01
Kernel: linux-2.6.0-test6-mm1

Just tested Andrew's kernel tree and it seems to work without patches. He has
incorporated Shaohua's patches. 

From -test5 and up, S3 works:
# echo 3 > /proc/acpi/sleep
or
# echo -n mem /sys/power/state

But the backlight lights up at full brightness when machine is suspended. Swsusp
Hibernation is broken, waiting for new patches. Pmdisk is broken on X31 at least.

I'm getting this error repeated in dmesg:
    ACPI-0269: *** Error: Looking up [SERN] in namespace, AE_ALREADY_EXISTS
    ACPI-1121: *** Error: Method execution failed [\_SB_.PCI0.LPC_.EC__.GBIF]
(Node c1527b20), AE_ALREADY_EXISTS

Seems to be the same problem as david has, and I had it with both -test3 and -test5.
Comment 42 Shaohua 2003-10-08 01:54:39 UTC
>ACPI-0269: *** Error: Looking up [SERN] in namespace, AE_ALREADY_EXISTS
>ACPI-1121: *** Error: Method execution failed [\_SB_.PCI0.LPC_.EC__.GBIF]
Still can't get the same error in T40. How can I reproduce it? Please attach 
the acpidmp. did you use 2 battery?
Comment 43 Andreas Kotowicz 2003-10-10 04:01:28 UTC
seems like the battery patch hasn't been incorporated in kernel 2.6.0-test7 but
the patch provided by Shaohua applies nice against it. But I still have no fan.

these are the error messages I get on startup:

ACPI: Found ECDT
    ACPI-1120: *** Error: Method execution failed [\_SB_.PCI0.USB7._INI] (Node
c15d3680), AE_AML_REGION_LIMIT
cpufreq: No CPUs supporting ACPI performance management found.

Comment 44 Ruben Puettmann 2003-10-10 05:33:05 UTC
I have phone to IBM germany to get a contact but nobody could give me some
informations. Now I have wrote a 3 side letter with my thinkpad problems direct
to the chief IBM Germany. Now waiting ...

What will be if all here will do it? Writing a nice ltter to here local IBM
chief and ask him for informations.

Comment 45 Shaohua 2003-10-14 01:46:33 UTC
cpufreq works in 2.6.0-test5-mm1 under a T40. But you need let CPU's _INI 
method execute during initializing.
Comment 46 Ruben Puettmann 2003-10-14 03:34:06 UTC
Today I got the first reaction to teh letter I worte to IBM. 

English in short : 

They acceptet my letter
I have now someone there who will look to my problems.


Comment 47 Andreas Kotowicz 2003-10-14 12:44:18 UTC
how do I start CPU's _INI method? couldn't find anything about it.
something else: is there somewhere light on the horizon for intel shipping a
wlan driver sometime?
Comment 48 Shaohua 2003-10-14 17:27:32 UTC
You can change your DSDT. In my T40, I add:
\_PR.CPU._INI()
in method \_SB._INI
so cpu's _INI method will be executed when initializing devices. Currently, 
ACPI doesn't execute non-device's _INI method. Somebody said next version ACPI 
will support this feature.
Comment 49 Andreas Kotowicz 2003-10-31 11:58:39 UTC
seems like test9-mm1 has some acpi patches for the thinkpad. I can send my
machine to sleep now! but still no battery, fan, ac_adapter. but cpufreq seems
to work aswell.

here's some info from my kernel: 

IBM machine detected. Enabling interrupts during APM calls.
IBM machine detected. Disabling SMBus accesses.
ACPI: RSDP (v002 IBM                                       ) @ 0x000f6d40
ACPI: XSDT (v001 IBM    TP-1P    0x00001140  LTP 0x00000000) @ 0x1ff6e23a
ACPI: FADT (v003 IBM    TP-1P    0x00001140 IBM  0x00000001) @ 0x1ff6e300
ACPI: SSDT (v001 IBM    TP-1P    0x00001140 MSFT 0x0100000e) @ 0x1ff6e4b4
ACPI: ECDT (v001 IBM    TP-1P    0x00001140 IBM  0x00000001) @ 0x1ff77e4f
ACPI: TCPA (v001 IBM    TP-1P    0x00001140 PTL  0x00000001) @ 0x1ff77ea1
ACPI: BOOT (v001 IBM    TP-1P    0x00001140  LTP 0x00000001) @ 0x1ff77fd8
ACPI: DSDT (v001 IBM    TP-1P    0x00001140 MSFT 0x0100000e) @ 0x00000000

ACPI: Subsystem revision 20031002
ACPI: IRQ 9 was Edge Triggered, setting to Level Triggerd
ACPI: Found ECDT
    ACPI-1120: *** Error: Method execution failed [\_SB_.PCI0.USB7._INI] (Node c
15d3680), AE_AML_REGION_LIMIT
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: Embedded Controller [EC] (gpe 28)
ACPI: Power Resource [PUBS] (on)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00f6d90
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0x9d5f, dseg 0x400
PnPBIOS: 19 nodes reported by PnP BIOS; 19 recorded by driver
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 11

speedstep-centrino: found "Intel(R) Pentium(R) M processor 1300MHz": max frequen
cy: 1300000kHz
Comment 50 Jonathan Thambidurai 2003-11-01 23:02:35 UTC
Shaouhua, I forgot about my T30/Dock post a while ago.  Here is the link to the
relevant bug and information.

--Jonathan Thambidurai
Comment 51 Jonathan Thambidurai 2003-11-01 23:15:16 UTC
Forgot the link:

http://bugme.osdl.org/show_bug.cgi?id=1477

--Jonathan Thambidurai
Comment 52 Shaohua 2003-11-04 03:07:11 UTC
*** Bug 793 has been marked as a duplicate of this bug. ***
Comment 53 Andreas Kotowicz 2003-11-04 03:23:10 UTC
on my R40 I suffer from frequent ide bus resets. could this be acpi related?

hda: dma_timer_expiry: dma status == 0x21
hda: DMA timeout error
hda: dma timeout error: status=0xd0 { Busy } 

hda: DMA disabled
ide0: reset: success
Comment 54 Andreas Kotowicz 2003-12-01 11:15:03 UTC
battery status seems to work now with kernel 2.6.0-test11. there are still two
issues:
- acpi power off doesn't work. I have to power off the machine manually
- can't wake up from suspend to ram. sending the laptop to sleep works instantly
it just never comes back
Comment 55 Michal Schmidt 2003-12-18 01:37:37 UTC
Andreas,
The power off problem might be bug #1661.
Not waking up from S3 is bug #1415.
Comment 56 Michal Schmidt 2003-12-18 01:40:17 UTC
Oops, the acpi_power_off not working is bug #1141
Comment 57 Shaohua 2003-12-18 18:37:33 UTC
because the patches have been merged, I'd like to close it. if you have any 
other problems, please open a new track.