init 5 可以进行硬盘休眠,但是无法启动!
init 3 可以进行硬盘休眠,还启动正常!
init 3 内存休眠好象作用不大,一闪就回来了! init 5 内存休眠还有点作用,不过一动鼠标就恢复了! 发现休眠到内存
echo mem > /sys/power/state
无论 init 3还是5
都是一闪就回来了!(不好)
echo standby > /sys/power/state(好)
无论 init 3还是5,都要动鼠标或键盘才可以恢复!! 应该不是显卡驱动的问题。我在init 3下也不能实现休眠到内存的恢复。主要问题还是能休眠,但是无法启动起来。
再有,bios里关于电源管理的选项还真不少,有些都不太清楚,比如这个S3,S4,S5等等的,这都是什么意思? echo standby > /sys/power/state
后在屏幕显示:
ACPI: PCI Interrupt for device 0000:00:11.5 disabled
ACPI: PCI Interrupt for device 0000:00:10.3 disabled
ACPI: PCI Interrupt for device 0000:00:10.2 disabled
ACPI: PCI Interrupt for device 0000:00:10.1 disabled
ACPI: PCI Interrupt for device 0000:00:10.0 disabled
lspci 的结果:
00:00.0 Host bridge: VIA Technologies, Inc. P4M266 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP]
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: S3 Inc. VT8375 [ProSavage8 KM266/KL266]
看来是 USB 控制器和声卡不能进入待机,显卡已经可以进入待机,那么显示器为何还亮? echo 1:1 > /sys/power/resume
没有反应
echo standby > /sys/power/state
屏幕闪了一下就黑屏,死机,只能强行关机
# dmesg
Linux version 2.6.13.4 (root@Magiclinux) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-1mgc)) #1 Tue Nov 1 02:58:19 CST 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000002bfd0000 (usable)
BIOS-e820: 000000002bfd0000 - 000000002bfdf000 (ACPI data)
BIOS-e820: 000000002bfdf000 - 000000002c000000 (ACPI NVS)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
703MB LOWMEM available.
found SMP MP-table at 000ff780
On node 0 totalpages: 180176
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 176080 pages, LIFO batch:31
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 ACPIAM ) @ 0x000f7510
ACPI: RSDT (v001 A M IOEMRSDT0x06000510 MSFT 0x00000097) @ 0x2bfd0000
ACPI: FADT (v002 A M IOEMFACP0x06000510 MSFT 0x00000097) @ 0x2bfd0200
ACPI: MADT (v001 A M IOEMAPIC0x06000510 MSFT 0x00000097) @ 0x2bfd0390
ACPI: OEMB (v001 A M IAMI_OEM0x06000510 MSFT 0x00000097) @ 0x2bfdf040
ACPI: DSDT (v001 UW F09_____ 0x00000000 INTL 0x02002026) @ 0x00000000
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id lapic_id enabled)
Processor #0 15:12 APIC version 16
ACPI: IOAPIC (id address gsi_base)
IOAPIC: apic_id 1, version 2, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ10 used by override.
Enabling APIC mode:Flat.Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 2c000000 (gap: 2c000000:d3f80000)
Built 1 zonelists
Kernel command line: ro root=/dev/hda7 vga=791 splash=silent
bootsplash: silent mode.
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 1596.627 MHz processor.
Using pmtmr for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 707656k/720704k available (3826k kernel code, 12368k reserved, 982k data, 300k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 3195.07 BogoMIPS (lpj=6390154)
Security Framework v1.0.0 initialized
SELinux:Initializing.
SELinux:Starting in permissive mode
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 078bfbff c3d3fbff 00000000 00000000 00000000 00000000 00000001
CPU: After vendor identify, caps: 078bfbff c3d3fbff 00000000 00000000 00000000 00000000 00000001
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 128K (64 bytes/line)
CPU: After all inits, caps: 078bfbff c3d3fbff 00000000 00000010 00000000 00000000 00000001
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
mtrr: v2.0 (20020519)
CPU: AMD Mobile AMD Sempron(tm) Processor 2600+ stepping 00
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1=2 pin2=-1
checking if image is initramfs... it is
Freeing initrd memory: 476k freed
NET: Registered protocol family 16
EISA bus registered
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=1
PCI: Using configuration type 1
ACPI: Subsystem revision 20050408
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] segment is 0
Uncovering SIS963 that hid as a SIS503 (compatible=0)
Enabling SiS 96x SMBus.
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: Embedded Controller (gpe 2)
ACPI: PCI Interrupt Link (IRQs 3 4 5 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link (IRQs 3 4 *5 7 10 11 12 14 15)
ACPI: PCI Interrupt Link (IRQs 3 4 5 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link (IRQs 3 4 *5 7 10 11 12 14 15)
ACPI: PCI Interrupt Link (IRQs 3 *4 5 7 10 11 12 14 15)
ACPI: PCI Interrupt Link (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link (IRQs *3 4 5 7 10 11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 9 devices
PnPBIOS: Disabled by ACPI PNP
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".If it helps, post a report
irda_init()
NET: Registered protocol family 23
PCI: Ignore bogus resource 6 of 0000:01:00.0
PCI: Bridge: 0000:00:01.0
IO window: d000-dfff
MEM window: dfe00000-dfefffff
PREFETCH window: cfd00000-dfcfffff
Machine check exception polling timer started.
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
audit: initializing netlink socket (disabled)
audit(1131378398.196:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFS: nTxBlock = 5534, nTxLock = 44276
SGI XFS with ACLs, security attributes, realtime, large block numbers, no debug enabled
SGI XFS Quota Management subsystem
SELinux:Registering netfilter hooks
Initializing Cryptographic API
vesafb: framebuffer at 0xd0000000, mapped to 0xecb80000, using 6144k, total 16384k
vesafb: mode is 1024x768x16, linelength=2048, pages=4
vesafb: protected mode interface info at cbe6:0008
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
bootsplash 3.1.6-2004/03/31: looking for picture...<6> silentjpeg size 59008 bytes,<6>...found (1024x768, 19600 bytes, v3).
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
ACPI: AC Adapter (on-line)
ACPI: Battery Slot (battery absent)
ACPI: Power Button (FF)
ACPI: Lid Switch
ACPI: Sleep Button (CM)
ACPI: Power Button (CM)
ACPI: CPU0 (power states: C1 C2 C3)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected AGP bridge 0
agpgart: AGP aperture is 32M @ 0xe0000000
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G chipsets
intelfb: Version 0.9.2
PNP: PS/2 Controller at 0x60,0x64 irq 1,12
i8042.c: Detected active multiplexing controller, rev 1.0.
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Linux video capture interface: v1.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller at PCI slot 0000:00:02.5
SIS5513: chipset revision 0
SIS5513: not 100% native mode: will probe irqs later
SIS5513: SiS 962/963 MuTIOL IDE UDMA133 controller
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: IC25N030ATMR04-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: SAMSUNG CD-ROM SN-124, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 58605120 sectors (30005 MB) w/1740KiB Cache, CHS=16383/255/63, UDMA(33)
hda: cache flushes supported
hda: hda1 hda2 < hda5 hda6 hda7 hda8 >
libata version 1.12 loaded.
usbmon: debugfs is not available
mice: PS/2 mouse device common for all mice
md: md driver 0.90.2 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 3.38
EISA: Probing bus 0 at eisa.0
NET: Registered protocol family 26
NET: Registered protocol family 2
input: AT Translated Set 2 keyboard on isa0060/serio0
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
ACPI wakeup devices:
LIDMAC AC97 MC97 SLPB
ACPI: (supports S0 S1 S3 S4 S5)
Freeing unused kernel memory: 300k freed
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
Synaptics Touchpad, model: 1, fw: 5.9, id: 0x926eb1, caps: 0x804719/0x0
input: SynPS/2 Synaptics TouchPad on isa0060/serio2
EXT3-fs: hda7: orphan cleanup on readonly fs
ext3_orphan_cleanup: deleting unreferenced inode 281314
ext3_orphan_cleanup: deleting unreferenced inode 281313
ext3_orphan_cleanup: deleting unreferenced inode 281273
ext3_orphan_cleanup: deleting unreferenced inode 313553
ext3_orphan_cleanup: deleting unreferenced inode 313554
ext3_orphan_cleanup: deleting unreferenced inode 313551
EXT3-fs: hda7: 6 orphan inodes deleted
EXT3-fs: recovery complete.
kjournald starting.Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
hdc: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
floppy0: no floppy controllers found
sis900.c: v1.08.08 Jan. 22 2005
ACPI: PCI Interrupt 0000:00:04.0 -> GSI 19 (level, low) -> IRQ 169
0000:00:04.0: Realtek RTL8201 PHY transceiver found at address 1.
0000:00:04.0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0xe400, IRQ 169, 00:03:0d:2c:14:63.
ACPI: PCI Interrupt 0000:00:02.7 -> GSI 18 (level, low) -> IRQ 177
intel8x0_measure_ac97_clock: measured 55315 usecs
intel8x0: clocking to 48000
i2c-sis96x version 1.0.0
sis96x_smbus 0000:00:02.1: SiS96x SMBus base address: 0x0c00
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
ACPI: PCI Interrupt 0000:00:03.3 -> GSI 23 (level, low) -> IRQ 185
ehci_hcd 0000:00:03.3: Silicon Integrated Systems USB 2.0 Controller
ehci_hcd 0000:00:03.3: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:03.3: irq 185, io mem 0xdffff000
PCI: cache line size of 64 is not supported by device 0000:00:03.3
ehci_hcd 0000:00:03.3: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt 0000:00:03.0 -> GSI 20 (level, low) -> IRQ 193
ohci_hcd 0000:00:03.0: Silicon Integrated Systems USB 1.0 Controller
ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:03.0: irq 193, io mem 0xdfffd000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
ACPI: PCI Interrupt 0000:00:03.1 -> GSI 21 (level, low) -> IRQ 201
ohci_hcd 0000:00:03.1: Silicon Integrated Systems USB 1.0 Controller (#2)
ohci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:03.1: irq 201, io mem 0xdfffe000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 3 ports detected
ieee1394: Initialized config rom entry `ip1394'
ohci1394: $Rev: 1299 $ Ben Collins <[email protected]>
ACPI: PCI Interrupt 0000:00:06.0 -> GSI 19 (level, low) -> IRQ 169
usb 2-1: new low speed USB device using ohci_hcd and address 2
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=MMIO=Max Packet=
eth0: Media Link On 100mbps full-duplex
usbcore: registered new driver hiddev
input: USB HID v1.10 Mouse on usb-0000:00:03.0-1
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
ieee1394: Host added: ID:BUSGUID
Using specific hotkey driver
ibm_acpi: ec object not found
ACPI: Thermal Zone (75 C)
ACPI: Video Device (multi-head: yesrom: nopost: no)
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: [email protected]
cdrom: open failed.
usbcore: registered new driver usbmouse
drivers/usb/input/usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
cdrom: open failed.
EXT3 FS on hda7, internal journal
Adding 160608k swap on /dev/hda8.Priority:-1 extents:1
lp: driver loaded but no devices found
mtrr: 0xd0000000,0x4000000 overlaps existing 0xd0000000,0x1000000
atkbd.c: Unknown key pressed (translated set 2, code 0x0 on isa0060/serio0).
atkbd.c: Use 'setkeycodes 00 <keycode>' to make it known.
atkbd.c: Unknown key pressed (translated set 2, code 0x0 on isa0060/serio0).
atkbd.c: Use 'setkeycodes 00 <keycode>' to make it known.
ACPI-0423: *** Error: Handler for returned AE_TIME
ACPI-1172: *** Error: Method execution failed [\_SB_.PCI0.AC0_._PSR] (Node dfff5180), AE_TIME
ACPI-0423: *** Error: Handler for returned AE_TIME
ACPI-1172: *** Error: Method execution failed [\_SB_.PCI0.AC0_._PSR] (Node dfff5180), AE_TIME
cdrom: open failed.
cdrom: open failed.
usb 2-1: USB disconnect, address 2
usb 3-1: new low speed USB device using ohci_hcd and address 2
input: USB HID v1.10 Mouse on usb-0000:00:03.1-1
页:
1
[2]