Bug 10240 - Failed to read /proc/acpi/battery/BAT0/info
Summary: Failed to read /proc/acpi/battery/BAT0/info
Status: CLOSED WILL_NOT_FIX
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Battery (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: ykzhao
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-14 02:38 UTC by Stepan Zastupov
Modified: 2008-03-17 22:43 UTC (History)
0 users

See Also:
Kernel Version: 2.6.24.3
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
dsdt.dsl (11.58 KB, application/x-gzip)
2008-03-16 18:33 UTC, Stepan Zastupov
Details
Output of acpidump (27.46 KB, application/x-gzip)
2008-03-16 22:38 UTC, Stepan Zastupov
Details
cpu0cst (368 bytes, application/x-gzip)
2008-03-17 02:10 UTC, Stepan Zastupov
Details
cpu0ist (380 bytes, application/x-gzip)
2008-03-17 02:10 UTC, Stepan Zastupov
Details
dmesg (8.65 KB, application/x-gzip)
2008-03-17 02:11 UTC, Stepan Zastupov
Details

Description Stepan Zastupov 2008-03-14 02:38:41 UTC
Latest working kernel version: none
Earliest failing kernel version: none
Distribution: Ubuntu 7.10
Hardware Environment:
[    0.000000] Linux version 2.6.24.3redchrom (root@redchrom-laptop) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #3 SMP Fri Mar 14 15:10:54 IRKT 2008
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[    0.000000]  BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000d0000 - 00000000000d4000 (reserved)
[    0.000000]  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 0000000037e80000 (usable)
[    0.000000]  BIOS-e820: 0000000037e80000 - 0000000037e94000 (ACPI data)
[    0.000000]  BIOS-e820: 0000000037e94000 - 0000000037f00000 (ACPI NVS)
[    0.000000]  BIOS-e820: 0000000037f00000 - 0000000040000000 (reserved)
[    0.000000]  BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
[    0.000000]  BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
[    0.000000]  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[    0.000000]  BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
[    0.000000] 0MB HIGHMEM available.
[    0.000000] 894MB LOWMEM available.
[    0.000000] found SMP MP-table at 000f86e0
[    0.000000] Entering add_active_range(0, 0, 228992) 0 entries of 256 used
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA             0 ->     4096
[    0.000000]   Normal       4096 ->   228992
[    0.000000]   HighMem    228992 ->   228992
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0:        0 ->   228992
[    0.000000] On node 0 totalpages: 228992
[    0.000000]   DMA zone: 32 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 4064 pages, LIFO batch:0
[    0.000000]   Normal zone: 1757 pages used for memmap
[    0.000000]   Normal zone: 223139 pages, LIFO batch:31
[    0.000000]   HighMem zone: 0 pages used for memmap
[    0.000000]   Movable zone: 0 pages used for memmap
[    0.000000] DMI present.
[    0.000000] ACPI: RSDP 000F8630, 0024 (r2 PTLTD )
[    0.000000] ACPI: XSDT 37E8D7AF, 0064 (r1 BenQ   Joybook   6040000  LTP        0)
[    0.000000] ACPI: FACP 37E93CB8, 00F4 (r3 VN896  PTLTW     6040000 PTL_    F4240)
[    0.000000] ACPI: DSDT 37E8FB9D, 40A7 (r1  VIA   PTL_ACPI  6040000 MSFT  3000001)
[    0.000000] ACPI: FACS 37E94FC0, 0040
[    0.000000] ACPI: APIC 37E93DAC, 006A (r1 PTLTD  	 APIC    6040000  LTP        0)
[    0.000000] ACPI: SLIC 37E93E16, 0176 (r1 BenQ   Joybook   6040000  LTP        1)
[    0.000000] ACPI: MCFG 37E93F8C, 003C (r1 PTLTD    MCFG    6040000  LTP        0)
[    0.000000] ACPI: HPET 37E93FC8, 0038 (r1 PTLTD  HPETTBL   6040000  LTP        1)
[    0.000000] ACPI: SSDT 37E8EC7B, 025F (r1  PmRef  Cpu0Tst     3000 INTL 20050228)
[    0.000000] ACPI: SSDT 37E8EBD5, 00A6 (r1  PmRef  Cpu1Tst     3000 INTL 20050228)
[    0.000000] ACPI: SSDT 37E8D813, 13C2 (r1  PmRef    CpuPm     3000 INTL 20050228)
[    0.000000] ACPI: DMI detected: BenQ
[    0.000000] ACPI: PM-Timer IO Port: 0x4008
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] Processor #0 6:14 APIC version 20
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[    0.000000] Processor #1 6:14 APIC version 20
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 2, version 3, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: IOAPIC (id[0x03] address[0xfecc0000] gsi_base[24])
[    0.000000] IOAPIC[1]: apic_id 3, version 3, address 0xfecc0000, GSI 24-47
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] ACPI: IRQ10 used by override.
[    0.000000] Enabling APIC mode:  Flat.  Using 2 I/O APICs
[    0.000000] ACPI: HPET id: 0x11068201 base: 0xfed00000
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] Allocating PCI resources starting at 50000000 (gap: 40000000:a0000000)
[    0.000000] swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
[    0.000000] swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000d0000
[    0.000000] swsusp: Registered nosave memory region: 00000000000d0000 - 00000000000d4000
[    0.000000] swsusp: Registered nosave memory region: 00000000000d4000 - 00000000000e0000
[    0.000000] swsusp: Registered nosave memory region: 00000000000e0000 - 0000000000100000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 227203
[    0.000000] Kernel command line: root=UUID=050f4f31-e257-4da1-be05-f3917e996000 ro 
[    0.000000] mapped APIC to ffffb000 (fee00000)
[    0.000000] mapped IOAPIC to ffffa000 (fec00000)
[    0.000000] mapped IOAPIC to ffff9000 (fecc0000)
[    0.000000] Enabling fast FPU save and restore... done.
[    0.000000] Enabling unmasked SIMD FPU exception support... done.
[    0.000000] Initializing CPU#0
[    0.000000] PID hash table entries: 4096 (order: 12, 16384 bytes)
[    0.000000] Detected 1995.058 MHz processor.
[   24.641672] Console: colour VGA+ 80x25
[   24.641678] console [tty0] enabled
[   24.644825] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[   24.645153] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[   24.671086] Memory: 897668k/915968k available (2156k kernel code, 17740k reserved, 774k data, 352k init, 0k highmem)
[   24.671147] virtual kernel memory layout:
[   24.671148]     fixmap  : 0xfff4c000 - 0xfffff000   ( 716 kB)
[   24.671149]     pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
[   24.671150]     vmalloc : 0xf8800000 - 0xff7fe000   ( 111 MB)
[   24.671151]     lowmem  : 0xc0000000 - 0xf7e80000   ( 894 MB)
[   24.671152]       .init : 0xc03e4000 - 0xc043c000   ( 352 kB)
[   24.671153]       .data : 0xc031b2cb - 0xc03dce64   ( 774 kB)
[   24.671154]       .text : 0xc0100000 - 0xc031b2cb   (2156 kB)
[   24.671508] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[   24.671832] hpet clockevent registered
[   24.751792] Calibrating delay using timer specific routine.. 3992.63 BogoMIPS (lpj=7985260)
[   24.751922] Security Framework initialized
[   24.751987] Mount-cache hash table entries: 512
[   24.752164] CPU: After generic identify, caps: bfe9fbff 00100000 00000000 00000000 0000c189 00000000 00000000 00000000
[   24.752171] monitor/mwait feature present.
[   24.752216] using mwait in idle threads.
[   24.752262] CPU: L1 I cache: 32K, L1 D cache: 32K
[   24.752342] CPU: L2 cache: 2048K
[   24.752387] CPU: Physical Processor ID: 0
[   24.752432] CPU: Processor Core ID: 0
[   24.752476] CPU: After all inits, caps: bfe9fbff 00100000 00000000 00002940 0000c189 00000000 00000000 00000000
[   24.752483] Compat vDSO mapped to ffffe000.
[   24.752538] Checking 'hlt' instruction... OK.
[   24.768147] SMP alternatives: switching to UP code
[   24.769869] ACPI: Core revision 20070126
[   24.769967] ACPI: Table DSDT replaced by host OS
[   24.770084] ACPI: DSDT 00000000, 3748 (r1  VIA   PTL_ACPI  6040000 INTL 20061109)
[   24.770208] ACPI: DSDT override uses original SSDTs unless "acpi_no_auto_ssdt"CPU0: Intel(R) Core(TM) Duo CPU      T2450  @ 2.00GHz stepping 0c
[   24.779625] SMP alternatives: switching to SMP code
[   24.780463] Booting processor 1/1 eip 3000
[   24.790657] Initializing CPU#1
[   24.867724] Calibrating delay using timer specific routine.. 3990.05 BogoMIPS (lpj=7980118)
[   24.867733] CPU: After generic identify, caps: bfe9fbff 00100000 00000000 00000000 0000c189 00000000 00000000 00000000
[   24.867738] monitor/mwait feature present.
[   24.867741] CPU: L1 I cache: 32K, L1 D cache: 32K
[   24.867743] CPU: L2 cache: 2048K
[   24.867745] CPU: Physical Processor ID: 0
[   24.867746] CPU: Processor Core ID: 1
[   24.867748] CPU: After all inits, caps: bfe9fbff 00100000 00000000 00002940 0000c189 00000000 00000000 00000000
[   24.868301] CPU1: Intel(R) Core(TM) Duo CPU      T2450  @ 2.00GHz stepping 0c
[   24.868726] Total of 2 processors activated (7982.68 BogoMIPS).
[   24.869115] ENABLING IO-APIC IRQs
[   24.869349] ..TIMER: vector=0x31 apic1=0 pin1=0 apic2=-1 pin2=-1
[   25.015805] checking TSC synchronization [CPU#0 -> CPU#1]: passed.
[   25.035894] Brought up 2 CPUs
[   25.036176] net_namespace: 64 bytes
[   25.036225] Booting paravirtualized kernel on bare hardware
[   25.036669] Time: 15:55:02  Date: 03/14/08
[   25.036749] NET: Registered protocol family 16
[   25.036952] EISA bus registered
[   25.036998] ACPI: bus type pci registered
[   25.037120] PCI: Using MMCONFIG
[   25.037756] Setting up standard PCI resources
[   25.046285] ACPI: EC: Look up EC in DSDT
[   25.049177] ACPI: Interpreter enabled
[   25.049221] ACPI: (supports S0 S3 S4 S5)
[   25.049407] ACPI: Using IOAPIC for interrupt routing
[   25.050164] ACPI: EC: non-query interrupt received, switching to interrupt mode
[   25.054137] ACPI: EC: GPE = 0x5, I/O: command/status = 0x66, data = 0x62
[   25.054183] ACPI: EC: driver started in interrupt mode
[   25.054266] ACPI: PCI Root Bridge [PCI0] (0000:00)
[   25.055802] PCI: Transparent bridge - 0000:00:13.1
[   25.055873] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[   25.056106] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEGC._PRT]
[   25.056172] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PE0C._PRT]
[   25.056247] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.SP2P._PRT]
[   25.056332] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2PE._PRT]
[   25.067651] ACPI: PCI Interrupt Link [ALKA] (IRQs 16 17 18 19 20 21 22 23) *9, disabled.
[   25.068177] ACPI: PCI Interrupt Link [ALKB] (IRQs 16 17 18 19 20 21 22 23) *10, disabled.
[   25.068699] ACPI: PCI Interrupt Link [ALKC] (IRQs 22) *11, disabled.
[   25.068975] ACPI: PCI Interrupt Link [ALKD] (IRQs 21) *3, disabled.
[   25.069274] ACPI: PCI Interrupt Link [LNKA] (IRQs *9 10 11 12)
[   25.069603] ACPI: PCI Interrupt Link [LNKB] (IRQs 9 *10 11 12)
[   25.069931] ACPI: PCI Interrupt Link [LNKC] (IRQs 9 10 *11 12)
[   25.070258] ACPI: PCI Interrupt Link [LNKD] (IRQs 9 10 11 12) *3
[   25.070672] Linux Plug and Play Support v0.97 (c) Adam Belay
[   25.070743] pnp: PnP ACPI init
[   25.070790] ACPI: bus type pnp registered
[   25.072613] pnp: PnP ACPI: found 11 devices
[   25.072656] ACPI: ACPI bus type pnp unregistered
[   25.072701] PnPBIOS: Disabled by ACPI PNP
[   25.072928] PCI: Using ACPI for IRQ routing
[   25.072973] PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
[   25.087889] NET: Registered protocol family 8
[   25.087932] NET: Registered protocol family 20
[   25.088007] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[   25.088187] hpet0: 3 32-bit timers, 14318180 Hz
[   25.091605] Time: tsc clocksource has been installed.
[   25.115624] system 00:01: iomem range 0xe0000000-0xefffffff could not be reserved
[   25.115675] system 00:01: iomem range 0xf0012000-0xf0012fff has been reserved
[   25.115720] system 00:01: iomem range 0xf0013000-0xf0013fff has been reserved
[   25.115771] system 00:06: iomem range 0x0-0x9ffff could not be reserved
[   25.115816] system 00:06: iomem range 0xe0000-0xfffff could not be reserved
[   25.115862] system 00:06: iomem range 0xfff00000-0xffffffff could not be reserved
[   25.115912] system 00:06: iomem range 0xffee0000-0xffefffff has been reserved
[   25.115958] system 00:06: iomem range 0xfec00000-0xfec0ffff could not be reserved
[   25.116009] system 00:06: iomem range 0xfee00000-0xfee0ffff could not be reserved
[   25.116062] system 00:07: ioport range 0x4d0-0x4d1 has been reserved
[   25.116107] system 00:07: ioport range 0xfe10-0xfe11 has been reserved
[   25.116152] system 00:07: ioport range 0xfe00-0xfe00 has been reserved
[   25.116197] system 00:07: ioport range 0x4000-0x407f has been reserved
[   25.116242] system 00:07: ioport range 0x4100-0x411f has been reserved
[   25.116287] system 00:07: ioport range 0x378-0x378 has been reserved
[   25.116332] system 00:07: ioport range 0x37c-0x37c has been reserved
[   25.116377] system 00:07: iomem range 0xffb00000-0xffedefff has been reserved
[   25.146771] PCI: Failed to allocate mem resource #6:10000@c0000000 for 0000:01:00.0
[   25.146821] PCI: Bridge: 0000:00:01.0
[   25.147650]   IO window: disabled.
[   25.147695]   MEM window: c9000000-c9ffffff
[   25.147739]   PREFETCH window: a0000000-bfffffff
[   25.147784] PCI: Bridge: 0000:00:02.0
[   25.147827]   IO window: 5000-6fff
[   25.147872]   MEM window: ca000000-ca8fffff
[   25.147916]   PREFETCH window: c8000000-c87fffff
[   25.147961] PCI: Bridge: 0000:00:03.0
[   25.148004]   IO window: 7000-8fff
[   25.148048]   MEM window: cb000000-cb7fffff
[   25.148093]   PREFETCH window: c8800000-c8ffffff
[   25.148139] PCI: Bridge: 0000:00:13.0
[   25.148180]   IO window: disabled.
[   25.148225]   MEM window: ca900000-ca9fffff
[   25.148268]   PREFETCH window: disabled.
[   25.148313] PCI: Bridge: 0000:00:13.1
[   25.148355]   IO window: disabled.
[   25.148398]   MEM window: disabled.
[   25.148442]   PREFETCH window: disabled.
[   25.148499] PCI: Setting latency timer of device 0000:00:01.0 to 64
[   25.148512] ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 27 (level, low) -> IRQ 16
[   25.148598] PCI: Setting latency timer of device 0000:00:02.0 to 64
[   25.148611] ACPI: PCI Interrupt 0000:00:03.0[A] -> GSI 31 (level, low) -> IRQ 17
[   25.148697] PCI: Setting latency timer of device 0000:00:03.0 to 64
[   25.148707] PCI: Setting latency timer of device 0000:00:13.0 to 64
[   25.148717] PCI: Setting latency timer of device 0000:00:13.1 to 64
[   25.148747] NET: Registered protocol family 2
[   25.191614] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[   25.191883] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[   25.193212] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[   25.194086] TCP: Hash tables configured (established 131072 bind 65536)
[   25.194131] TCP reno registered
[   25.203745] checking if image is initramfs... it is
[   25.705871] Freeing initrd memory: 5991k freed
[   25.707021] audit: initializing netlink socket (disabled)
[   25.707092] audit(1205510101.908:1): initialized
[   25.707476] VFS: Disk quotas dquot_6.5.1
[   25.707551] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   25.707733] io scheduler noop registered
[   25.707776] io scheduler anticipatory registered
[   25.707819] io scheduler deadline registered
[   25.707874] io scheduler cfq registered (default)
[   25.707936] PCI: VIA PCI bridge detected. Disabling DAC.
[   25.708056] Boot video device is 0000:01:00.0
[   25.708213] PCI: Setting latency timer of device 0000:00:02.0 to 64
[   25.708249] assign_interrupt_mode Found MSI capability
[   25.708335] Allocate Port Service[0000:00:02.0:pcie00]
[   25.708367] Allocate Port Service[0000:00:02.0:pcie01]
[   25.708406] Allocate Port Service[0000:00:02.0:pcie02]
[   25.708442] Allocate Port Service[0000:00:02.0:pcie03]
[   25.708516] PCI: Setting latency timer of device 0000:00:03.0 to 64
[   25.708559] assign_interrupt_mode Found MSI capability
[   25.708643] Allocate Port Service[0000:00:03.0:pcie00]
[   25.708676] Allocate Port Service[0000:00:03.0:pcie01]
[   25.708709] Allocate Port Service[0000:00:03.0:pcie02]
[   25.708740] Allocate Port Service[0000:00:03.0:pcie03]
[   25.709194] AER service couldn't init device 0000:00:02.0:pcie01 - no _OSC support
[   25.709512] AER service couldn't init device 0000:00:03.0:pcie01 - no _OSC support
[   25.709583] isapnp: Scanning for PnP cards...
[   26.063649] isapnp: No Plug & Play device found
[   26.084517] Real Time Clock Driver v1.12ac
[   26.084827] hpet_resources: 0xfed00000 is busy
[   26.084873] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[   26.086100] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[   26.086150] HP CISS Driver (v 3.6.14)
[   26.086233] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[   26.086279] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[   26.086600] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[   26.088579] i8042.c: Detected active multiplexing controller, rev 1.1.
[   26.089751] serio: i8042 KBD port at 0x60,0x64 irq 1
[   26.089798] serio: i8042 AUX0 port at 0x60,0x64 irq 12
[   26.089853] serio: i8042 AUX1 port at 0x60,0x64 irq 12
[   26.089901] serio: i8042 AUX2 port at 0x60,0x64 irq 12
[   26.089948] serio: i8042 AUX3 port at 0x60,0x64 irq 12
[   26.090099] mice: PS/2 mouse device common for all mice
[   26.090253] EISA: Probing bus 0 at eisa.0
[   26.090314] Cannot allocate resource for EISA slot 4
[   26.090358] Cannot allocate resource for EISA slot 5
[   26.090401] Cannot allocate resource for EISA slot 6
[   26.090445] Cannot allocate resource for EISA slot 7
[   26.090488] Cannot allocate resource for EISA slot 8
[   26.090531] EISA: Detected 0 cards.
[   26.090685] TCP cubic registered
[   26.090740] NET: Registered protocol family 1
[   26.090819] Starting balanced_irq
[   26.090883] Using IPI No-Shortcut mode
[   26.091070]   Magic number: 0:514:942
[   26.091193]   hash matches device ptyyd
[   26.091623] Freeing unused kernel memory: 352k freed
[   26.122337] input: AT Translated Set 2 keyboard as /class/input/input0
[   26.251206] fuse init (API version 7.9)
[   26.258933] ACPI: SSDT 37E8F423, 02BE (r1  PmRef  Cpu0Ist     3000 INTL 20050228)
[   26.259305] ACPI: SSDT 37E8EEDA, 04C4 (r1  PmRef  Cpu0Cst     3001 INTL 20050228)
[   26.261662] ACPI: Processor [CPU0] (supports 8 throttling states)
[   26.262110] ACPI: SSDT 37E8F6E1, 00C3 (r1  PmRef  Cpu1Ist     3000 INTL 20050228)
[   26.262434] ACPI: SSDT 37E8F39E, 0085 (r1  PmRef  Cpu1Cst     3000 INTL 20050228)
[   26.263403] ACPI: Processor [CPU1] (supports 8 throttling states)
[   26.263564] ACPI Exception (processor_core-0816): AE_NOT_FOUND, Processor Device is not present [20070126]
[   26.263692] ACPI Exception (processor_core-0816): AE_NOT_FOUND, Processor Device is not present [20070126]
[   26.263819] ACPI Exception (processor_core-0816): AE_NOT_FOUND, Processor Device is not present [20070126]
[   26.263946] ACPI Exception (processor_core-0816): AE_NOT_FOUND, Processor Device is not present [20070126]
[   26.264074] ACPI Exception (processor_core-0816): AE_NOT_FOUND, Processor Device is not present [20070126]
[   26.264200] ACPI Exception (processor_core-0816): AE_NOT_FOUND, Processor Device is not present [20070126]
[   26.273273] ACPI: Thermal Zone [TZ0] (55 C)
[   26.678995] usbcore: registered new interface driver usbfs
[   26.679101] usbcore: registered new interface driver hub
[   26.685863] VP_IDE: IDE controller (0x1106:0x0571 rev 0x07) at  PCI slot 0000:00:0f.1
[   26.686027] VP_IDE: not 100% native mode: will probe irqs later
[   26.686078] VP_IDE: VIA vt8237a (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
[   26.686135]     ide0: BM-DMA at 0x4c90-0x4c97, BIOS settings: hda:pio, hdb:pio
[   26.686262]     ide1: BM-DMA at 0x4c98-0x4c9f, BIOS settings: hdc:DMA, hdd:pio
[   26.686384] Probing IDE interface ide0...
[   26.695482] usbcore: registered new device driver usb
[   26.706587] USB Universal Host Controller Interface driver v3.0
[   26.791537] via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
[   27.254358] Probing IDE interface ide1...
[   28.453750] hdc: HL-DT-ST DVDRAM GSA-T20N, ATAPI CD/DVD-ROM drive
[   28.453949] hdc: host max PIO5 wanted PIO255(auto-tune) selected PIO4
[   28.454814] hdc: UDMA/33 mode selected
[   28.455305] ide1 at 0x170-0x177,0x376 on irq 15
[   28.465031] ACPI: PCI Interrupt 0000:00:10.4[C] -> GSI 21 (level, low) -> IRQ 18
[   28.465177] ehci_hcd 0000:00:10.4: EHCI Host Controller
[   28.465673] ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
[   28.465763] ehci_hcd 0000:00:10.4: irq 18, io mem 0xcac00000
[   28.471454] SCSI subsystem initialized
[   28.477641] ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[   28.477845] usb usb1: configuration #1 chosen from 1 choice
[   28.477914] hub 1-0:1.0: USB hub found
[   28.477963] hub 1-0:1.0: 8 ports detected
[   28.478613] libata version 3.00 loaded.
[   28.581807] ACPI: PCI Interrupt 0000:00:10.0[A] -> GSI 20 (level, low) -> IRQ 19
[   28.581923] uhci_hcd 0000:00:10.0: UHCI Host Controller
[   28.581993] uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
[   28.582077] uhci_hcd 0000:00:10.0: irq 19, io base 0x00004c00
[   28.582233] usb usb2: configuration #1 chosen from 1 choice
[   28.582303] hub 2-0:1.0: USB hub found
[   28.582356] hub 2-0:1.0: 2 ports detected
[   28.685667] ACPI: PCI Interrupt 0000:00:10.1[B] -> GSI 22 (level, low) -> IRQ 20
[   28.685766] uhci_hcd 0000:00:10.1: UHCI Host Controller
[   28.685834] uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
[   28.685907] uhci_hcd 0000:00:10.1: irq 20, io base 0x00004c20
[   28.686066] usb usb3: configuration #1 chosen from 1 choice
[   28.686131] hub 3-0:1.0: USB hub found
[   28.686179] hub 3-0:1.0: 2 ports detected
[   28.789534] ACPI: PCI Interrupt 0000:00:10.2[C] -> GSI 21 (level, low) -> IRQ 18
[   28.789624] uhci_hcd 0000:00:10.2: UHCI Host Controller
[   28.789688] uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
[   28.789755] uhci_hcd 0000:00:10.2: irq 18, io base 0x00004c40
[   28.789895] usb usb4: configuration #1 chosen from 1 choice
[   28.789959] hub 4-0:1.0: USB hub found
[   28.790006] hub 4-0:1.0: 2 ports detected
[   28.893469] ACPI: PCI Interrupt 0000:00:10.3[D] -> GSI 23 (level, low) -> IRQ 21
[   28.893559] uhci_hcd 0000:00:10.3: UHCI Host Controller
[   28.893632] uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5
[   28.893702] uhci_hcd 0000:00:10.3: irq 21, io base 0x00004c60
[   28.893843] usb usb5: configuration #1 chosen from 1 choice
[   28.893907] hub 5-0:1.0: USB hub found
[   28.893954] hub 5-0:1.0: 2 ports detected
[   28.997513] ACPI: PCI Interrupt 0000:00:12.0[A] -> GSI 23 (level, low) -> IRQ 21
[   29.001730] eth0: VIA Rhine II at 0x14800, 00:40:d0:c2:4c:8a, IRQ 21.
[   29.002485] eth0: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
[   29.006321] usb 2-1: new low speed USB device using uhci_hcd and address 2
[   29.007071] sata_via 0000:00:0f.0: version 2.3
[   29.007098] ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI 21 (level, low) -> IRQ 18
[   29.007248] sata_via 0000:00:0f.0: routed to hard irq line 10
[   29.007755] scsi0 : sata_via
[   29.008256] scsi1 : sata_via
[   29.008340] ata1: SATA max UDMA/133 cmd 0x4cb0 ctl 0x4ca4 bmdma 0x4c80 irq 18
[   29.008388] ata2: SATA max UDMA/133 cmd 0x4ca8 ctl 0x4ca0 bmdma 0x4c88 irq 18
[   29.015535] hdc: ATAPI 24X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache
[   29.015799] Uniform CD-ROM driver Revision: 3.20
[   29.178973] usb 2-1: configuration #1 chosen from 1 choice
[   29.209462] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   29.321421] usbcore: registered new interface driver hiddev
[   29.373735] ata1.00: ATA-8: FUJITSU MHW2120BH, 00000012, max UDMA/100
[   29.373782] ata1.00: 234441648 sectors, multi 16: LBA48 NCQ (depth 0/32)
[   29.389715] ata1.00: configured for UDMA/100
[   29.592989] ata2: SATA link down 1.5 Gbps (SStatus 0 SControl 300)
[   29.603915] scsi 0:0:0:0: Direct-Access     ATA      FUJITSU MHW2120B 0000 PQ: 0 ANSI: 5
[   29.608939] Driver 'sd' needs updating - please use bus_type methods
[   29.609075] sd 0:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB)
[   29.609136] sd 0:0:0:0: [sda] Write Protect is off
[   29.609186] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   29.609200] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   29.609319] sd 0:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB)
[   29.609374] sd 0:0:0:0: [sda] Write Protect is off
[   29.609419] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   29.609436] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   29.609490]  sda: sda1 < sda5 sda6 > sda3
[   29.610479] sd 0:0:0:0: [sda] Attached SCSI disk
[   29.613870] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   29.882330] Attempting manual resume
[   29.882376] swsusp: Resume From Partition 8:5
[   29.882377] PM: Checking swsusp image.
[   29.882646] PM: Resume from disk failed.
[   29.894906] kjournald starting.  Commit interval 5 seconds
[   29.894918] EXT3-fs: mounted filesystem with ordered data mode.
[   30.105630] input: KYE NetScroll Eye as /class/input/input1
[   30.116698] input: USB HID v1.10 Mouse [KYE NetScroll Eye] on usb-0000:00:10.0-1
[   30.116829] usbcore: registered new interface driver usbhid
[   30.116876] drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
[   36.541789] input: Power Button (FF) as /class/input/input2
[   36.596995] ACPI: Power Button (FF) [PWRF]
[   36.609089] ACPI: AC Adapter [AC] (on-line)
[   36.609259] input: Sleep Button (CM) as /class/input/input3
[   36.661053] ACPI: Sleep Button (CM) [SBTN]
[   36.661195] input: Lid Switch as /class/input/input4
[   36.693184] ACPI: Lid Switch [LID]
[   36.695497] ACPI: Battery Slot [BAT0] (battery present)
[   36.848996] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[   36.893213] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[   37.256904] input: PC Speaker as /class/input/input5
[   37.554961] ACPI: PCI Interrupt 0000:06:01.0[A] -> GSI 17 (level, low) -> IRQ 22
[   37.555086] PCI: Setting latency timer of device 0000:06:01.0 to 64
[   37.823885] Synaptics Touchpad, model: 1, fw: 6.2, id: 0x92a0b1, caps: 0xa04713/0x200000
[   37.856873] input: SynPS/2 Synaptics TouchPad as /class/input/input6
[   38.577310] lp: driver loaded but no devices found
[   38.642087] Adding 995956k swap on /dev/sda5.  Priority:-1 extents:1 across:995956k
[   39.308175] EXT3 FS on sda6, internal journal
[   45.022160] toshiba_acpi: Unknown parameter `hotkeys_over_acpi'
[   46.491777] eth0: link down
[   46.616000] NET: Registered protocol family 10
[   46.616303] lo: Disabled Privacy Extensions
[   46.616615] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   46.877482] ppdev: user-space parallel port driver
[   67.743859] Bluetooth: Core ver 2.11
[   67.744683] NET: Registered protocol family 31
[   67.744689] Bluetooth: HCI device and connection manager initialized
[   67.744697] Bluetooth: HCI socket layer initialized
[   67.780613] Bluetooth: L2CAP ver 2.9
[   67.780622] Bluetooth: L2CAP socket layer initialized
[   67.896156] Bluetooth: RFCOMM socket layer initialized
[   67.899324] Bluetooth: RFCOMM TTY layer initialized
[   67.899337] Bluetooth: RFCOMM ver 1.8
[  114.955770] hda-intel: Invalid position buffer, using LPIB read method instead.
[  206.113666] ath_hal: disagrees about version of symbol struct_module
[  206.121369] wlan: disagrees about version of symbol struct_module
[  206.125397] ath_pci: disagrees about version of symbol struct_module
[  349.875924] ath_hal: module license 'Proprietary' taints kernel.
[  349.881113] ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
[  349.900347] wlan: 0.9.4
[  349.908905] ath_pci: 0.9.4
[  349.909425] ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 24 (level, low) -> IRQ 23
[  349.909444] PCI: Setting latency timer of device 0000:02:00.0 to 64
[  350.422609] ath_rate_sample: 1.2 (0.9.4)
[  350.423382] wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[  350.423390] wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[  350.423402] wifi0: H/W encryption support: WEP AES AES_CCM TKIP
[  350.423408] wifi0: mac 10.0 phy 6.1 radio 10.2
[  350.423413] wifi0: Use hw queue 1 for WME_AC_BE traffic
[  350.423416] wifi0: Use hw queue 0 for WME_AC_BK traffic
[  350.423418] wifi0: Use hw queue 2 for WME_AC_VI traffic
[  350.423421] wifi0: Use hw queue 3 for WME_AC_VO traffic
[  350.423423] wifi0: Use hw queue 8 for CAB traffic
[  350.423425] wifi0: Use hw queue 9 for beacons
[  350.437115] wifi0: Atheros 5424/2424: mem=0xca800000, irq=23
[  361.849715] ADDRCONF(NETDEV_CHANGE): ath0: link becomes ready
[  361.874584] NET: Registered protocol family 17
[  380.510616] ath0: no IPv6 routers present
[ 2549.943181] ACPI: Battery Slot [BAT0] (battery present)

Software Environment:
Ubuntu 7.10
Problem Description:
I cannot read any file in /proc/acpi/battery/BAT0/ on my Benq R42 laptop.

Steps to reproduce:
% cat /proc/acpi/battery/BAT0/info
cat: /proc/acpi/battery/BAT0/info: Bad address
Comment 1 ykzhao 2008-03-16 07:06:53 UTC
Will you please attach the output of acpidump?
Thanks.
Comment 2 Stepan Zastupov 2008-03-16 18:33:51 UTC
Created attachment 15304 [details]
dsdt.dsl

DSDT attached. Yesterday I have found the roots of problem, here is the part of extract_package from battery.c:
if (offsets[i].mode) {
            u8 *ptr = (u8 *)battery + offsets[i].offset;
            if (element->type == ACPI_TYPE_STRING ||
                element->type == ACPI_TYPE_BUFFER)
                strncpy(ptr, element->string.pointer, 32);
            else if (element->type == ACPI_TYPE_INTEGER) {
                strncpy(ptr, (u8 *)&element->integer.value,
                    sizeof(acpi_integer));
                ptr[sizeof(acpi_integer)] = 0;
            } else
                return -EFAULT; // Problem is here!!!
        }

BIOS returns ACPI_TYPE_ANY type. I've temporary commented return statement and successfully read battery information (without some fields). I know that the bug is in my bios, but don't know how to fix the dsdt (i've spent two hours playing with BIF method). Maybe will be better just to skip some types?
Thank you.
Comment 3 ykzhao 2008-03-16 19:54:10 UTC
Thanks for the works.
What you said in comment #3 is right. The problem is related with BIOS.
There exists the following in the DSDT.dsl
>Name (BIFP, Package (0x0D)   {
                    One,
                    Ones,
                    Ones,
                    One,
                    Ones,
                    0x012C,
                    0x96, 
                    One, 
                    One,
                    Z003, 
                    Z004,
                    "LIon",
                    Z005
 >               })
  Z003, Z004 is declared in the other SSDT.dsl. And acpica can't parse the above package.
  Will you please try the patch in bug 9429?Maybe it can fix the problem in your laptop.
  Thanks.
   
Comment 4 Stepan Zastupov 2008-03-16 20:40:30 UTC
If you talk about http://bugzilla.kernel.org/attachment.cgi?id=13831&action=view , this patch is already in my 2.6.24.3 kernel.
Comment 5 ykzhao 2008-03-16 22:12:51 UTC
Thanks for the confirm.
Will you please attach the output of acpidump?
The pmtool-20071116 can be found in 
   http://www.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/
Thanks.
Comment 6 Stepan Zastupov 2008-03-16 22:38:04 UTC
Created attachment 15305 [details]
Output of acpidump

Acpidump dump attached.
Comment 7 Zhang Rui 2008-03-17 00:54:19 UTC
The dmesg shown that you are useing an customized DSDT.
Stepan, can you please attach the dmesg with the original DSDT? :)
Comment 8 ykzhao 2008-03-17 01:47:05 UTC
What Rui in comment #7 is right. 
Please use the original DSDT and see whether the info of battery is correct.

At the same time it seems that there is no definition for Z003,Z004 in the DSDT or SSDT.
Will you please attach the following output?
  acpidump --addr 0x37e8f423 --length 0x2BE -o cpu0ist
  acpidump --addr 0x37e8eeda --length 0x4c4 -o cpu0cst

   Thanks.
Comment 9 Stepan Zastupov 2008-03-17 02:10:04 UTC
Created attachment 15306 [details]
cpu0cst

acpidump --addr 0x37e8eeda --length 0x4c4 -o cpu0cst
Comment 10 Stepan Zastupov 2008-03-17 02:10:35 UTC
Created attachment 15307 [details]
cpu0ist

acpidump --addr 0x37e8f423 --length 0x2BE -o cpu0ist
Comment 11 Stepan Zastupov 2008-03-17 02:11:30 UTC
Created attachment 15308 [details]
dmesg

dmesg with vendor DSDT
Comment 12 ykzhao 2008-03-17 19:35:54 UTC
Hi, Stepan
    Thanks for the info.
    It seems that this is caused by broken BIOS.
>Name (BIFP, Package (0x0D)   {
                    One,
                    Ones,
                    Ones,
                    One,
                    Ones,
                    0x012C,
                    0x96, 
                    One, 
                    One,
                    Z003, 
                    Z004,
                    "LIon",
                    Z005
 >               })
   And the Z003,Z004,Z005 can't be found in other SSDT.dsl. The Linux acpi can't parse the above package. 
   
   It will be appropriate to fix this bug by upgrading BIOS.
Comment 13 Stepan Zastupov 2008-03-17 22:43:31 UTC
was:
Z003, 
Z004,
"LIon",
Z005
become:
"Foo3",
"Foo4",
"LIon",
"Foo5"

Works fine :) :
cat /proc/acpi/battery/BAT0/info
present:                 yes
design capacity:         4800 mAh
last full capacity:      5010 mAh
battery technology:      rechargeable
design voltage:          11100 mV
design capacity warning: 501 mAh
design capacity low:     250 mAh
capacity granularity 1:  1 mAh
capacity granularity 2:  1 mAh
model number:            Foo3
serial number:           Foo4
battery type:            LIon
OEM info:                Foo5

Note You need to log in before you can comment on or make changes to this bug.