regression: acpi not working since upgrade from feisty to Gutsy

Bug #146132 reported by Bryan
8
Affects Status Importance Assigned to Milestone
GNOME Applets
New
Undecided
Unassigned
acpi
New
Undecided
Unassigned
acpi-support
New
Undecided
Unassigned
gnome-power
New
Undecided
Unassigned
linux (Ubuntu)
Incomplete
Undecided
Unassigned
linux-source-2.6.22 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: acpi

I have a Dell Latitude L400. Ever since the install of tribe 5 I have not battery information. The power usage is unavailable and proc reports that my battery is not present. I get the following (incorrect) message from dmesg:

ACPI: Battery Slot [BAT1] (battery absent)

It also reports that the AC adapter is "online" though it is currently unplugged.

ACPI: AC Adapter [ACAD] (on-line)

Furthermore, the temperature always shows a constant 50C which is incorrect. This could become a very serious problem because it will allow the computer to overheat under load. All the fans stay off until the temperature reads 65C...

All this worked under feisty.

full dmesg:
[ 0.000000] BIOS-e820: 000000000fff0000 - 000000000ffffc00 (ACPI data)
[ 0.000000] BIOS-e820: 000000000ffffc00 - 0000000010000000 (ACPI NVS)
[ 0.000000] ACPI: RSDP 000F6ED0, 0014 (r0 PTLTD )
[ 0.000000] ACPI: RSDT 0FFFC65F, 002C (r1 DELL ATLAS II 20010314 LTP 0)
[ 0.000000] ACPI: FACP 0FFFFB65, 0074 (r1 DELL Atlas II 20010314 PTL F4240)
[ 0.000000] ACPI: DSDT 0FFFC68B, 34DA (r1 PTL BX-TJ 20010314 MSFT 1000007)
[ 0.000000] ACPI: FACS 0FFFFFC0, 0040
[ 0.000000] ACPI: BOOT 0FFFFBD9, 0027 (r1 PTLTD $SBFTBL$ 20010314 LTP 1)
[ 0.000000] ACPI: PM-Timer IO Port: 0x8008
[ 29.267682] ACPI: Core revision 20070126
[ 29.268019] ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
[ 29.273871] ACPI: setting ELCR to 0200 (from 0c00)
[ 29.284592] ACPI: bus type pci registered
[ 29.299793] ACPI: EC: Look up EC in DSDT
[ 29.319205] ACPI: EC: GPE=0x00, ports=0x66, 0x62
[ 29.327426] ACPI: Interpreter enabled
[ 29.327487] ACPI: (supports S0 S3 S4 S5)
[ 29.327745] ACPI: Using PIC for interrupt routing
[ 29.354587] ACPI: Device [FDDA] status [00000008]: functional but not present; setting present
[ 29.358035] ACPI: Device [CDRM] status [00000008]: functional but not present; setting present
[ 29.364285] ACPI: EC: GPE=0x00, ports=0x66, 0x62
[ 29.364515] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 29.365105] PCI quirk: region 8000-803f claimed by PIIX4 ACPI
[ 29.365861] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 29.366019] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
[ 29.369583] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 *10 11 14 15)
[ 29.370400] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 14 15)
[ 29.371182] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11 14 15) *0, disabled.
[ 29.372053] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11 14 15)
[ 29.372975] ACPI: Power Resource [PFN0] (off)
[ 29.373139] ACPI: Power Resource [PFN1] (off)
[ 29.373304] pnp: PnP ACPI init
[ 29.373386] ACPI: bus type pnp registered
[ 29.406123] pnp: PnP ACPI: found 10 devices
[ 29.406188] ACPI: ACPI bus type pnp unregistered
[ 29.406250] PnPBIOS: Disabled by ACPI PNP
[ 29.406487] PCI: Using ACPI for IRQ routing
[ 29.442037] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
[ 29.442108] ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
[ 33.167166] ACPI: Transitioning device [FAN0] to D3
[ 33.167237] ACPI: Transitioning device [FAN0] to D3
[ 33.167298] ACPI: Fan [FAN0] (off)
[ 33.167537] ACPI: Transitioning device [FAN1] to D3
[ 33.167595] ACPI: Transitioning device [FAN1] to D3
[ 33.167653] ACPI: Fan [FAN1] (off)
[ 33.192165] ACPI: CPU0 (power states: C1[C1] C2[C2])
[ 33.192339] ACPI: Processor [CPU0] (supports 8 throttling states)
[ 33.197731] ACPI: Thermal Zone [THRM] (50 C)
[ 35.306449] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[ 35.306522] ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
[ 35.444881] ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
[ 8.292000] Time: acpi_pm clocksource has been installed.
[ 35.456000] ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
[ 36.084000] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
[ 36.084000] ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
[ 44.488000] ACPI: Battery Slot [BAT1] (battery absent)
[ 44.564000] ACPI: Power Button (FF) [PWRF]
[ 44.576000] ACPI: Lid Switch [LID]
[ 44.584000] ACPI: Sleep Button (CM) [SBTN]
[ 45.120000] ACPI: AC Adapter [ACAD] (on-line)
[ 49.980000] apm: overridden by ACPI.

full lspci -vvn:
00:00.0 0600: 8086:7190 (rev 03)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort+ >SERR- <PERR-
        Latency: 64
        Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [a0] AGP version 1.0
                Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64
bit- FW- AGP3- Rate=x1,x2
                Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<n
one>

00:01.0 0604: 8086:7191 (rev 03) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- Step
ping- SERR- FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
        Latency: 128
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        I/O behind bridge: 0000e000-0000efff
        Memory behind bridge: fd000000-fecfffff
        Prefetchable memory behind bridge: 28000000-280fffff
        Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort+ <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B+

00:07.0 0680: 8086:7110 (rev 02)
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
        Latency: 0

00:07.1 0101: 8086:7111 (rev 01) (prog-if 80 [Master])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
        Latency: 64
        Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disab
led] [size=8]
        Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disab
led] [size=1]
        Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disab
led] [size=8]
        Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [disab
led] [size=1]
        Region 4: I/O ports at fcd0 [size=16]

00:07.2 0c03: 8086:7112 (rev 01) (prog-if 00 [UHCI])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
        Latency: 64
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at fce0 [size=32]

00:07.3 0680: 8086:7113 (rev 03)
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
        Interrupt: pin ? routed to IRQ 9

00:08.0 0401: 1013:6005 (rev 01)
        Subsystem: 1028:00dc
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
        Latency: 64 (1000ns min, 6000ns max)
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at fedef000 (32-bit, non-prefetchable) [size=4K]
        Region 1: Memory at fedf0000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot
+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0a.0 0607: 104c:ac50 (rev 01)
        Subsystem: 1028:00dc
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
        Latency: 168, Cache Line Size: 128 bytes
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at 28120000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
        Memory window 0: 20000000-23fff000 (prefetchable)
        Memory window 1: 24000000-27fff000
        I/O window 0: 00001000-000010ff
        I/O window 1: 00001400-000014ff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt- PostWrite+
        16-bit legacy interface ports at 0001

00:0d.0 0200: 10b7:9200 (rev 78)
        Subsystem: 1028:00dc
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Step
ping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
        Latency: 80 (2500ns min, 2500ns max), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at fc00 [size=128]
        Region 1: Memory at fededc00 (32-bit, non-prefetchable) [size=128]
        [virtual] Expansion ROM at 28100000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot
+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-

01:00.0 0300: 1002:4c4d (rev 64) (prog-if 00 [VGA])
        Subsystem: 1028:00dc
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping+ SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
        Latency: 66 (2000ns min), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: I/O ports at e800 [size=256]
        Region 2: Memory at fecfe000 (32-bit, non-prefetchable) [size=4K]
        [virtual] Expansion ROM at 28000000 [disabled] [size=128K]
        Capabilities: [50] AGP version 1.0
                Status: RQ=256 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 6
4bit- FW- AGP3- Rate=x1,x2
                Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<n
one>
        Capabilities: [5c] Power Management version 1
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot
-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

02:00.0 0200: 168c:0013 (rev 01)
        Subsystem: 1737:0035
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
        Latency: 168 (2500ns min, 7000ns max), Cache Line Size: 128 bytes
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at 24000000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3h
ot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-

Revision history for this message
Bryan (brywilharris) wrote : update: compiled vanilla kernel-> acpi works fine

I compiled a vanilla kernel version 2.6.22.9 and acpi works. I used the
vanilla sources from kernel.org and the config file
from /boot/config-2.6.22-12-generic. There was an error message
involving a missing acpi file which I assume is related to a
debian/ubuntu patch.
this was the symbol the vanilla kernel didn't like from line 18:
CONFIG_ACPI_CUSTOM_DSDT_INITRD=y
I saw a few rumblings about this when I googled for acpi problems, but
they all involved older kernels.

What kernel version is the gutsy image based on? It looked in the
changelog like they maintain their own patch-set against 2.6.22, but
that doesn't seem right... Can someone clear this up for me?

I guess I have a workaround of sorts, but I don't know if the vanilla
kernel will break any Ubuntu features. I remember in Fedora Core it
caused all sorts of problems... It seems fine here. I would love to be
able to use the stock kernel.

Bryan

Revision history for this message
Gavin McCullagh (gmccullagh) wrote :

I can confirm this on my latitude l400. I have my cable unplugged for the past number of minutes,

######################################
libby@hector:~$ uname -a
Linux hector 2.6.22-12-generic #1 SMP Sun Sep 23 18:11:30 GMT 2007 i686 GNU/Linux
libby@hector:~$ acpitool -e
  Kernel version : 2.6.22-12-gener20070126 - ACPI version : 20070126
  -----------------------------------------------------------
  Battery #1 : slot empty

  AC adapter : on-line
  Fan : off
  Fan : off

  CPU type : Pentium III (Coppermine)
  Min/Max frequency : 500/700 MHz
  Current frequency : 500 MHz
  Frequency governor : userspace
  Freq. scaling driver : speedstep-smi
  Cache size : 256 KB
  Bogomips : 996.74
  Processor ID : 0
  Bus mastering control : no
  Power management : yes
  Throttling control : yes
  Limit interface : yes
  Active C-state : C2
  C-states (incl. C0) : 3
  Usage of state C1 : 23010 (1.8 %)
  Usage of state C2 : 1254970 (98.2 %)
  T-state count : 8
  Active T-state : T0

  Thermal zone 1 : ok, 50 C
  Trip points :
  -------------
  critical (S5): 99 C
  passive: 90 C: tc1=2 tc2=3 tsp=40 devices=CPU0
  active[0]: 80 C: devices=FAN1
  active[1]: 65 C: devices=FAN0

   Device S-state Status Sysfs node
  ---------------------------------------
  1. PCI0 S3 disabled no-bus:pci0000:00
  2. COMA S3 disabled pnp:00:08
  3. CRD0 S3 disabled pci:0000:00:0a.0
  4. MDEM S3 disabled pci:0000:00:10.0
  5. LID S4 *enabled
######################################

I should say that I've hacked the dsdt a little, in order to fix a couple of warnings.

Revision history for this message
DJ Saltarelli (djsaltarelli) wrote :

I'm bitten by this one, too. I'm running BIOS A05, btw.

/djs

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.