LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 854|回复: 3

请教:笔记本fc15拔出电源就休眠问题

[复制链接]
发表于 2011-10-13 09:41:25 | 显示全部楼层 |阅读模式
我的联想K42笔记本安装运行了fedora15出现一个问题:
每当拔出电源插头时系统就提示电压过低几分钟内休眠,随后它就真的休眠了。实际上电池电压是满的,重新开机不接入电源可以使用4小时左右。在winXP下没有这个问题,原来安装fedora12也没有出现这个问题。怀疑是fedora15的电源管理有问题,但如何解决呢?


[root@hnhh log]# dmesg |grep ACPI
[    0.003359] ACPI: Core revision 20110413
[    0.095522] PM: Registering ACPI NVS region at 5f6d0000 (77824 bytes)
[    0.097501] ACPI: bus type pci registered
[    0.101539] ACPI: EC: Look up EC in DSDT
[    0.104250] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    0.104858] ACPI: SSDT 5f6d8b69 00238 (v01  PmRef  Cpu0Ist 00003000 INTL 20050624)
[    0.105207] ACPI: Dynamic OEM Table Load:
[    0.105211] ACPI: SSDT   (null) 00238 (v01  PmRef  Cpu0Ist 00003000 INTL 20050624)
[    0.105364] ACPI: SSDT 5f6d84fa 005EA (v01  PmRef  Cpu0Cst 00003001 INTL 20050624)
[    0.105687] ACPI: Dynamic OEM Table Load:
[    0.105690] ACPI: SSDT   (null) 005EA (v01  PmRef  Cpu0Cst 00003001 INTL 20050624)
[    0.105962] ACPI: SSDT 5f6d8da1 000C8 (v01  PmRef  Cpu1Ist 00003000 INTL 20050624)
[    0.106302] ACPI: Dynamic OEM Table Load:
[    0.106305] ACPI: SSDT   (null) 000C8 (v01  PmRef  Cpu1Ist 00003000 INTL 20050624)
[    0.106413] ACPI: SSDT 5f6d8ae4 00085 (v01  PmRef  Cpu1Cst 00003000 INTL 20050624)
[    0.106737] ACPI: Dynamic OEM Table Load:
[    0.106740] ACPI: SSDT   (null) 00085 (v01  PmRef  Cpu1Cst 00003000 INTL 20050624)
[    0.107093] ACPI: Interpreter enabled
[    0.107101] ACPI: (supports S0 S3 S4 S5)
[    0.107123] ACPI: Using IOAPIC for interrupt routing
[    0.107939] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in ACPI motherboard resources
[    0.154006] ACPI: EC: GPE = 0x1c, I/O: command/status = 0x66, data = 0x62
[    0.154123] ACPI: No dock devices found.
[    0.154130] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.154527] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.157846] pci 0000:00:1f.0: quirk: [io  0x1000-0x107f] claimed by ICH6 ACPI/GPIO/TCO
[    0.162839] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[    0.163095] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT]
[    0.163155] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT]
[    0.163215] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP03._PRT]
[    0.163275] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP04._PRT]
[    0.163333] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP05._PRT]
[    0.163391] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP06._PRT]
[    0.163475] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
[    0.163535]  pci0000:00: Requesting ACPI _OSC control (0x1d)
[    0.163539]  pci0000:00: ACPI _OSC request failed (AE_NOT_FOUND), returned control mask: 0x1d
[    0.163541] ACPI _OSC control for PCIe not granted, disabling ASPM
[    0.169909] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 *5 6 7 10 12 14 15)
[    0.169967] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
[    0.170029] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 *7 10 12 14 15)
[    0.170083] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
[    0.170138] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
[    0.170192] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 *11 12 14 15)
[    0.170247] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
[    0.170302] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
[    0.170588] PCI: Using ACPI for IRQ routing
[    0.184135] pnp: PnP ACPI init
[    0.184161] ACPI: bus type pnp registered
[    0.184745] pnp 00:00: Plug and Play ACPI device, IDs PNP0a08 PNP0a03 (active)
[    0.184964] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.185238] pnp 00:02: Plug and Play ACPI device, IDs PNP0200 (active)
[    0.185297] pnp 00:03: Plug and Play ACPI device, IDs INT0800 (active)
[    0.185450] system 00:04: Plug and Play ACPI device, IDs PNP0103 PNP0c01 (active)
[    0.185523] pnp 00:05: Plug and Play ACPI device, IDs PNP0c04 (active)
[    0.185691] system 00:06: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.185753] pnp 00:07: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.205576] pnp 00:08: Plug and Play ACPI device, IDs PNP0501 (active)
[    0.205644] pnp 00:09: Plug and Play ACPI device, IDs PNP0303 (active)
[    0.205706] pnp 00:0a: Plug and Play ACPI device, IDs PNP0f13 (active)
[    0.205735] pnp: PnP ACPI: found 11 devices
[    0.205737] ACPI: ACPI bus type pnp unregistered
[    0.721325] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.726027] ACPI: Deprecated procfs I/F for AC is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
[    0.728037] ACPI: AC Adapter [ACAD] (on-line)
[    0.728164] ACPI: Lid Switch [LID0]
[    0.728221] ACPI: Power Button [PWRB]
[    0.728289] ACPI: Power Button [PWRF]
[    0.728484] ACPI: acpi_idle registered with cpuidle
[    0.776387] ACPI: Deprecated procfs I/F for battery is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
[    0.776394] ACPI: Battery Slot [BAT1] (battery present)
[    3.298751] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[21266.282558] tg3 0000:04:00.0: wake-up capability enabled by ACPI
[21269.387340] ACPI handle has no context!
[21269.387356] ACPI handle has no context!
[21269.388066] ACPI handle has no context!
[21269.801408] ACPI: Preparing to enter system sleep state S4
[21269.885973] ACPI: Waking up from system sleep state S4
[21269.964097] tg3 0000:04:00.0: wake-up capability disabled by ACPI
[21270.125985] ata1.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
[21270.125989] ata1.00: ACPI cmd ef/03:42:00:00:00:a0 (SET FEATURES) filtered out
[21270.732240] ata3.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
[21270.732248] ata3.00: ACPI cmd ef/03:22:00:00:00:a0 (SET FEATURES) filtered out
[21360.873287] tg3 0000:04:00.0: wake-up capability enabled by ACPI
[21363.917140] ACPI handle has no context!
[21363.917156] ACPI handle has no context!
[21363.918064] ACPI handle has no context!
[21364.332889] ACPI: Preparing to enter system sleep state S4
[21364.420666] ACPI: Waking up from system sleep state S4
[21364.501473] tg3 0000:04:00.0: wake-up capability disabled by ACPI
[21364.663160] ata1.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
[21364.663164] ata1.00: ACPI cmd ef/03:42:00:00:00:a0 (SET FEATURES) filtered out
[21365.267243] ata3.00: ACPI cmd ef/03:0c:00:00:00:a0 (SET FEATURES) filtered out
[21365.267251] ata3.00: ACPI cmd ef/03:22:00:00:00:a0 (SET FEATURES) filtered out
 楼主| 发表于 2011-10-13 10:27:22 | 显示全部楼层
刚才打开了笔记本BIOS中的AHCI后问题解决了,真的很奇怪。
哪位高手能解释一下吗?

]$ dmesg |grep ahci
[    1.159268] ahci 0000:00:1f.2: version 3.0
[    1.159284] ahci 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
[    1.159339] ahci 0000:00:1f.2: irq 46 for MSI/MSI-X
[    1.159410] ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 3 ports 3 Gbps 0x7 impl SATA mode
[    1.159415] ahci 0000:00:1f.2: flags: 64bit ncq sntf pm led clo pio slum part ccc
[    1.159421] ahci 0000:00:1f.2: setting latency timer to 64
[    1.159917] scsi0 : ahci
[    1.160044] scsi1 : ahci
[    1.160135] scsi2 : ahci
[xxjs@hnhh ~]$ dmesg |grep ACPI
[    0.000000]  BIOS-e820: 000000005f6d0000 - 000000005f6e3000 (ACPI NVS)
[    0.000000] ACPI: RSDP 000f7730 00024 (v02 LENOVO)
[    0.000000] ACPI: XSDT 5f6d869f 0008C (v01 LENOVO CB-01    06040000  LTP 00000000)
[    0.000000] ACPI: FACP 5f6dfbd2 000F4 (v03 LENOVO CB-01    06040000 ALAN 00000001)
[    0.000000] ACPI: DSDT 5f6d9b4a 06014 (v02 LENOVO CB-01    06040000 INTL 20061109)
[    0.000000] ACPI: FACS 5f6e2fc0 00040
[    0.000000] ACPI: APIC 5f6dfcc6 00068 (v01 LENOVO CB-01    06040000 LOHR 0000005A)
[    0.000000] ACPI: HPET 5f6dfd2e 00038 (v01 LENOVO CB-01    06040000 LOHR 0000005A)
[    0.000000] ACPI: MCFG 5f6dfd66 0003C (v01 LENOVO CB-01    06040000 LOHR 0000005A)
[    0.000000] ACPI: TCPA 5f6dfda2 00032 (v01 LENOVO CB-01    06040000 LOHR 0000005A)
[    0.000000] ACPI: SLIX 5f6dfdd4 00176 (v01 LENOVO CB-01    06040000 TBD  00000001)
[    0.000000] ACPI: TMOR 5f6dff4a 00026 (v01 LENOVO CB-01    06040000 PTL  00000003)
[    0.000000] ACPI: APIC 5f6dff70 00068 (v01 LENOVO CB-01    06040000  LTP 00000000)
[    0.000000] ACPI: BOOT 5f6dffd8 00028 (v01 LENOVO CB-01    06040000  LTP 00000001)
[    0.000000] ACPI: SSDT 5f6d9885 002C5 (v01 SataRe SataAhci 00001000 INTL 20050624)
[    0.000000] ACPI: SSDT 5f6d8cb7 0025F (v01  PmRef  Cpu0Tst 00003000 INTL 20050624)
[    0.000000] ACPI: SSDT 5f6d8c11 000A6 (v01  PmRef  Cpu1Tst 00003000 INTL 20050624)
[    0.000000] ACPI: SSDT 5f6d872b 004E6 (v01  PmRef    CpuPm 00003000 INTL 20050624)
[    0.000000] ACPI: BIOS bug: multiple APIC/MADT found, using 0
[    0.000000] ACPI: If "acpi_apic_instance=2" works better, notify linux-acpi@vger.kernel.org
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: PM-Timer IO Port: 0x1008
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[    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[0x01] address[0xfec00000] gsi_base[0])
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ2 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.003144] ACPI: Core revision 20110413
[    0.094522] PM: Registering ACPI NVS region at 5f6d0000 (77824 bytes)
[    0.096529] ACPI: bus type pci registered
[    0.100553] ACPI: EC: Look up EC in DSDT
[    0.103241] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    0.103848] ACPI: SSDT 5f6d9585 00238 (v01  PmRef  Cpu0Ist 00003000 INTL 20050624)
[    0.104196] ACPI: Dynamic OEM Table Load:
[    0.104200] ACPI: SSDT   (null) 00238 (v01  PmRef  Cpu0Ist 00003000 INTL 20050624)
[    0.104352] ACPI: SSDT 5f6d8f16 005EA (v01  PmRef  Cpu0Cst 00003001 INTL 20050624)
[    0.104673] ACPI: Dynamic OEM Table Load:
[    0.104677] ACPI: SSDT   (null) 005EA (v01  PmRef  Cpu0Cst 00003001 INTL 20050624)
[    0.104949] ACPI: SSDT 5f6d97bd 000C8 (v01  PmRef  Cpu1Ist 00003000 INTL 20050624)
[    0.105287] ACPI: Dynamic OEM Table Load:
[    0.105291] ACPI: SSDT   (null) 000C8 (v01  PmRef  Cpu1Ist 00003000 INTL 20050624)
[    0.105398] ACPI: SSDT 5f6d9500 00085 (v01  PmRef  Cpu1Cst 00003000 INTL 20050624)
[    0.105720] ACPI: Dynamic OEM Table Load:
[    0.105723] ACPI: SSDT   (null) 00085 (v01  PmRef  Cpu1Cst 00003000 INTL 20050624)
[    0.106074] ACPI: Interpreter enabled
[    0.106082] ACPI: (supports S0 S3 S4 S5)
[    0.106104] ACPI: Using IOAPIC for interrupt routing
[    0.106914] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in ACPI motherboard resources
[    0.156006] ACPI: EC: GPE = 0x1c, I/O: command/status = 0x66, data = 0x62
[    0.156094] ACPI: No dock devices found.
[    0.156101] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.156557] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.159802] pci 0000:00:1f.0: quirk: [io  0x1000-0x107f] claimed by ICH6 ACPI/GPIO/TCO
[    0.163840] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[    0.164093] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT]
[    0.164153] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP02._PRT]
[    0.164212] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP03._PRT]
[    0.164270] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP04._PRT]
[    0.164328] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP05._PRT]
[    0.164386] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP06._PRT]
[    0.164471] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
[    0.164530]  pci0000:00: Requesting ACPI _OSC control (0x1d)
[    0.164534]  pci0000:00: ACPI _OSC request failed (AE_NOT_FOUND), returned control mask: 0x1d
[    0.164536] ACPI _OSC control for PCIe not granted, disabling ASPM
[    0.170908] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 *5 6 7 10 12 14 15)
[    0.170966] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
[    0.171028] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 *7 10 12 14 15)
[    0.171082] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
[    0.171137] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
[    0.171192] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 *11 12 14 15)
[    0.171246] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
[    0.171301] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
[    0.171589] PCI: Using ACPI for IRQ routing
[    0.186117] pnp: PnP ACPI init
[    0.186140] ACPI: bus type pnp registered
[    0.186730] pnp 00:00: Plug and Play ACPI device, IDs PNP0a08 PNP0a03 (active)
[    0.186949] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.187224] pnp 00:02: Plug and Play ACPI device, IDs PNP0200 (active)
[    0.187280] pnp 00:03: Plug and Play ACPI device, IDs INT0800 (active)
[    0.187434] system 00:04: Plug and Play ACPI device, IDs PNP0103 PNP0c01 (active)
[    0.187506] pnp 00:05: Plug and Play ACPI device, IDs PNP0c04 (active)
[    0.187678] system 00:06: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.187740] pnp 00:07: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.207572] pnp 00:08: Plug and Play ACPI device, IDs PNP0501 (active)
[    0.207641] pnp 00:09: Plug and Play ACPI device, IDs PNP0303 (active)
[    0.207706] pnp 00:0a: Plug and Play ACPI device, IDs PNP0f13 (active)
[    0.207730] pnp: PnP ACPI: found 11 devices
[    0.207732] ACPI: ACPI bus type pnp unregistered
[    0.723215] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.725591] ACPI: Deprecated procfs I/F for AC is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
[    0.730036] ACPI: AC Adapter [ACAD] (on-line)
[    0.730167] ACPI: Lid Switch [LID0]
[    0.730224] ACPI: Power Button [PWRB]
[    0.730292] ACPI: Power Button [PWRF]
[    0.730486] ACPI: acpi_idle registered with cpuidle
[    0.775381] ACPI: Deprecated procfs I/F for battery is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
[    0.775388] ACPI: Battery Slot [BAT1] (battery present)
[    2.249618] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    1.159410] ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 3 ports 3 Gbps 0x7 impl SATA mode
[    1.159415] ahci 0000:00:1f.2: flags: 64bit ncq sntf pm led clo pio slum part ccc
[    1.159421] ahci 0000:00:1f.2: setting latency timer to 64
[    1.159917] scsi0 : ahci
[    1.160044] scsi1 : ahci
[    1.160135] scsi2 : ahci
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-10-14 11:22:23 | 显示全部楼层
还是没有解决!真气愤!

现在改回fedora 14了,必定实用第一。不过还是希望能将这个问题解决!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-11-14 10:50:42 | 显示全部楼层
真气愤,我这个本子在fedora16下也是如此,有时又好有时又不行。在fedora14没有问题。这是为何呢?!!!!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表