pangdae 发表于 2005-11-5 00:15:31

请大家测试2.6.13.4内核的休眠

MagicLinux2 RC1 的内核 2.6.13.4 已经具备软休眠的功能 S3,S4,请大家测试一下在您的硬件上,是否可以休眠。多谢了!
首先提示的是:测试休眠的时候一定要保存好正在工作的数据
1.休眠到内存 S3
   echo mem > /sys/power/state
此时系统应该关闭一切设备,即Windows的待机,恢复,可以按任意键,有的机器需要按一下电源开关。
2.休眠到硬盘 S4
   echo disk > /sys/power/state
   休眠到硬盘,将数据全部存入交换分区,要实现S4 休眠,首先要在启动的时候给内核传递参数 resume=交换分区设备 例如我的交换分区为/dev/hda6 则在 grub 中给 kernel 末尾增加 resume=/dev/hda6 即可

如果您休眠成功,请您将您的 lspci 信息贴上来,如果没有成功,请您也将您的 lspci 贴上来,最好可以附带 dmesg,试着帮您解决。

KDE 发表于 2005-11-5 03:55:07

建议尝试如下方法:
echo 1:1 > /sys/power/resume
echo standby > /sys/power/state

tanhitzq 发表于 2005-11-5 08:01:43

good!
顶上去。终于实现了windows在 200版就实现的功能!!
问题:如果内存比交换分区还要大,休眠到硬盘会出现怎么样的情况阿?

tanhitzq 发表于 2005-11-5 08:03:52

还有一种情况,本来交换分区已经使用到差不多满的时候,休眠到硬盘又出现怎么样的情况阿?

pangdae 发表于 2005-11-5 09:42:48

good!
顶上去。终于实现了windows在 200版就实现的功能!!
问题:如果内存比交换分区还要大,休眠到硬盘会出现怎么样的情况阿?

确实是个问题,有时间测试一下....
另外还有一个softsuspend2的内核补丁,他提供将内存写到swap或者文件

zslevin 发表于 2005-11-5 13:55:54

Re: 请大家测试2.6.13.4内核的休眠


1.休眠到内存 S3
   echo mem > /sys/power/state
此时系统应该关闭一切设备,即Windows的待机,恢复,可以按任意键,有的机器需要按一下电源开关。

我这里只黑一下屏,过一两秒后恢复。

zslevin 发表于 2005-11-5 14:04:02

建议尝试如下方法:
echo 1:1 > /sys/power/resume
echo standby > /sys/power/state

这种方法听到硬盘停了, 但屏幕仍有显示,显示 APCI 的信息,按任意键后返回正常界面。

KDE 发表于 2005-11-5 16:04:51

我说过,目前对休眠的支持不好,不仅内核,还涉及到外围软件是否支持此种模式。我们的内核目前没有打那个补丁,所以不保证能正常使用休眠功能。况且我听说即便打那个补丁,对新机型支持也不满意。

KDE 发表于 2005-11-5 16:20:13

使用如下方法效果好一些:

首先看我的分区:

[root@MagicLinux ~]# fdisk -l

Disk /dev/hda: 41.1 GB, 41174138880 bytes
255 heads, 63 sectors/track, 5005 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   IdSystem
/dev/hda1   *         1         523   4200966    bW95 FAT32
/dev/hda2             524      5005    36001665    fW95 Ext'd (LBA)
/dev/hda5             524         915   3148708+   bW95 FAT32
/dev/hda6             916         948      265041   82Linux swap / Solaris
/dev/hda7             949      1438   3935893+83Linux
/dev/hda8            1439      2091   5245191    bW95 FAT32
/dev/hda9            2092      2744   5245191    bW95 FAT32
/dev/hda10         2745      3397   5245191    bW95 FAT32
/dev/hda11         3398      4378   7879851    bW95 FAT32
/dev/hda12         4379      5005   5036346    bW95 FAT32

Disk /dev/hdb: 20.4 GB, 20404101120 bytes
16 heads, 63 sectors/track, 39535 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   IdSystem
/dev/hdb1               1       12775   6438568+83Linux
/dev/hdb2         12776       39535    13487040    fW95 Ext'd (LBA)
/dev/hdb5         12776       39535    13487008+   bW95 FAT32

Disk /dev/sda: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   IdSystem
/dev/sda1               1      2613    20988891    cW95 FAT32 (LBA)
/dev/sda2            2614      9733    57191400    fW95 Ext'd (LBA)
/dev/sda5            2614      5226    20988891    cW95 FAT32 (LBA)
/dev/sda6            5227      7839    20988891    cW95 FAT32 (LBA)
/dev/sda7            7840      9733    15213523+   cW95 FAT32 (LBA)


注意看:

/dev/hda6    916   948   265041   82Linux swap / Solaris


修改 grub.conf 在启动的时候给内核传递参数 resume=交换分区设备(我这里是 /dev/hda6 ):

# grub.conf generated by MagicInstaller.

# Note that you do not have to rerun grub after making changes to this file.
default=0
timeout=15
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
title Windows
      rootnoverify (hd0,0)
      chainloader +1
title MagicLinux
      root (hd0,6)
      kernel /boot/vmlinuz-2.6.13.4ro root=/dev/hda7 vga=791 resume=/dev/hda6
      initrd /boot/initrd-2.6.13.4.img
title MagicLinux (Graphics Mode)
      root (hd0,6)
      kernel /boot/vmlinuz-2.6.13.4 init 5 ro root=/dev/hda7 vga=791 splash=silent resume=/dev/hda6
      initrd /boot/initrd-2.6.13.4.img
title MagicLinux (Console Mode)
      root (hd0,6)
      kernel /boot/vmlinuz-2.6.13.4 init 3 ro root=/dev/hda7 vga=791 splash=silent resume=/dev/hda6
      initrd /boot/initrd-2.6.13.4.img
title MagicLinux (Single Mode)
      root (hd0,6)
      kernel /boot/vmlinuz-2.6.13.4 init 1 ro root=/dev/hda7 vga=791 splash=silent resume=/dev/hda6
      initrd /boot/initrd-2.6.13.4.img


重启计算机,执行:

[root@MagicLinux ~]# cat/sys/power/resume
3:6


这才是我机器上正确的参数。然后执行:

echo standby > /sys/power/state


此时看到的出错信息少多了,但是还是警告说:我的 usb 存储设备(80G 移动硬盘)使用休眠功能不安全,并且禁用了在它上面的休眠功能。看来移动存储设备联接后就不适合休眠了。

wjfree 发表于 2005-11-5 16:46:49

建议尝试如下方法:
echo 1:1 > /sys/power/resume
echo standby > /sys/power/state
我这里用第一条命令没有反映,第二条命令可以实现待机.
待机效果跟windows的待机一模一样。
但是用echo mem > /sys/power/state 系统电源也关了,没法恢复,摁电源开关后,机器PC喇叭叫了一声,过了一会就关机了.
我的机器是815EP+转接卡+CRIII1.2up to1.44

pangdae 发表于 2005-11-5 22:51:57

如果 不能休眠 可以将您的dmesg信息贴上来,大家一起研究,确实有一些硬件暂时是不能支持电源管理的。
或者就是由于某些驱动的原因,例如使用ATI官方fglrx驱动,休眠到硬盘恢复的时候,X就会死掉,但是使用radeon休眠和恢复就没问题

attiseve 发表于 2005-11-6 00:21:02

测试结果:
echo mem > /sys/power/state 可以成功休眠,但是不能成功恢复,测试了两次,一次重启进入X后半分钟死机,第二次直接在重启显示显卡阶段就死机了。另外:
echo 1:1 > /sys/power/resume
echo standby > /sys/power/state
以上两条命令在我这里都不起作用。

echo disk > /sys/power/state按照楼主说的可以休眠后重启,暂时没发现问题。

====================================================================
lspci
00:00.0 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge
00:0b.0 Ethernet controller: VIA Technologies, Inc. VT6105 (rev 86)
00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 (rev 78)
00:18.0 Host bridge: Advanced Micro Devices K8 HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices K8 Address Map
00:18.2 Host bridge: Advanced Micro Devices K8 DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices K8 Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation NV18 (rev c1)

============================================================
dmesg
6>SELinux:Registering netfilter hooks
Initializing Cryptographic API
vesafb: framebuffer at 0xc8000000, mapped to 0xe0a80000, using 6144k, total 65536k
vesafb: mode is 1024x768x16, linelength=2048, pages=1
vesafb: protected mode interface info at c000:f360
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: Power Button (FF)
ACPI: Power Button (CM)
ACPI: CPU0 (power states: C1)
ACPI: Processor (supports 16 throttling states)
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 128M @ 0xd0000000
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G chipsets
intelfb: Version 0.9.2
PNP: PS/2 controller doesn't have AUX irq; using default 0xc
PNP: PS/2 Controller at 0x60,0x64 irq 112
serio: i8042 AUX 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
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
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
VP_IDE: IDE controller at PCI slot 0000:00:0f.1
ACPI: PCI Interrupt 0000:00:0f.1 -> GSI 20 (level, low) -> IRQ 169
PCI: Via IRQ fixup for 0000:00:0f.1, from 255 to 9
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:DMA
Probing IDE interface ide0...
Probing IDE interface ide1...
hdd: SAMSUNG CD-ROM SH-152A, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide0...
libata version 1.12 loaded.
sata_via version 1.1
ACPI: PCI Interrupt 0000:00:0f.0 -> GSI 20 (level, low) -> IRQ 169
PCI: Via IRQ fixup for 0000:00:0f.0, from 10 to 9
sata_via(0000:00:0f.0): routed to hard irq line 9
ata1: SATA max UDMA/133 cmd 0xEC00 ctl 0xE802 bmdma 0xDC00 irq 169
ata2: SATA max UDMA/133 cmd 0xE400 ctl 0xE002 bmdma 0xDC08 irq 169
ata1: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4003 85:7c69 86:3e01 87:4003 88:407f
ata1: dev 0 ATA, max UDMA/133, 320173056 sectors: lba48
ata1: dev 0 configured for UDMA/133
scsi0 : sata_via
ata2: no device found (phy stat 00000000)
scsi1 : sata_via
Vendor: ATA       Model: Maxtor 6Y160M0    Rev: YAR5
Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 320173056 512-byte hdwr sectors (163929 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 320173056 512-byte hdwr sectors (163929 MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2 < sda5 sda6 sda7 sda8 sda9 >
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,type 0
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: 8192 (order: 3, 32768 bytes)
TCP established hash table entries: 32768 (order: 6, 262144 bytes)
TCP bind hash table entries: 32768 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 32768 bind 32768)
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:
PCI0 UAR1 USB1 USB2 USB3 USB4 EHCI USBDAC9MC9 ILAN
ACPI: (supports S0 S3 S4 S5)
Freeing unused kernel memory: 300k freed
ReiserFS: sda8: found reiserfs format "3.6" with standard journal
ReiserFS: sda8: using ordered data mode
ReiserFS: sda8: journal params: device sda8, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda8: checking transaction log (sda8)
ReiserFS: sda8: replayed 20 transactions in 0 seconds
ReiserFS: sda8: Using r5 hash to sort names
hdd: ATAPI 52X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
via-rhine.c:v1.10-LK1.2.0-2.6 June-10-2004 Written by Donald Becker
ACPI: PCI Interrupt 0000:00:0b.0 -> GSI 19 (level, low) -> IRQ 177
PCI: Via IRQ fixup for 0000:00:0b.0, from 5 to 1
eth0: VIA Rhine III at 0xcfffbf00, 00:11:95:ec:15:95, IRQ 177.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1.
ACPI: PCI Interrupt 0000:00:12.0 -> GSI 23 (level, low) -> IRQ 185
PCI: Via IRQ fixup for 0000:00:12.0, from 11 to 9
eth1: VIA Rhine II at 0xcfffbc00, 00:11:09:c1:d7:34, IRQ 185.
eth1: MII PHY found at address 1, status 0x7849 advertising 01e1 Link 0000.
ACPI: PCI Interrupt 0000:00:11.5 -> GSI 22 (level, low) -> IRQ 193
PCI: Via IRQ fixup for 0000:00:11.5, from 10 to 1
PCI: Setting latency timer of device 0000:00:11.5 to 64
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
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3
ACPI: PCI Interrupt 0000:00:10.4 -> GSI 21 (level, low) -> IRQ 201
PCI: Via IRQ fixup for 0000:00:10.4, from 10 to 9
ehci_hcd 0000:00:10.4: VIA Technologies, Inc. USB 2.0
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.4: irq 201, io mem 0xcfffbd00
ehci_hcd 0000:00:10.4: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
USB Universal Host Controller Interface driver v2.3
ACPI: PCI Interrupt 0000:00:10.0 -> GSI 21 (level, low) -> IRQ 201
PCI: Via IRQ fixup for 0000:00:10.0, from 11 to 9
uhci_hcd 0000:00:10.0: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:10.0: irq 201, io base 0x0000c400
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.1 -> GSI 21 (level, low) -> IRQ 201
PCI: Via IRQ fixup for 0000:00:10.1, from 11 to 9
uhci_hcd 0000:00:10.1: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:10.1: irq 201, io base 0x0000c800
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.2 -> GSI 21 (level, low) -> IRQ 201
PCI: Via IRQ fixup for 0000:00:10.2, from 3 to 9
uhci_hcd 0000:00:10.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#3)
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:10.2: irq 201, io base 0x0000cc00
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.3 -> GSI 21 (level, low) -> IRQ 201
PCI: Via IRQ fixup for 0000:00:10.3, from 3 to 9
uhci_hcd 0000:00:10.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#4)
uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:10.3: irq 201, io base 0x0000d000
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
Using specific hotkey driver
ibm_acpi: ec object not found
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: [email protected]
usb 3-1: new full speed USB device using uhci_hcd and address 2
usb 3-2: new low speed USB device using uhci_hcd and address 3
cdrom: open failed.
cdrom: open failed.
ReiserFS: sda8: Removing ..done
ReiserFS: sda8: Removing ..done
ReiserFS: sda8: Removing ..done
ReiserFS: sda8: Removing ..done
ReiserFS: sda8: Removing ..done
ReiserFS: sda8: Removing ..done
ReiserFS: sda8: Removing ..done
ReiserFS: sda8: Removing ..done
ReiserFS: sda8: Removing ..done
ReiserFS: sda8: There were 9 uncompleted unlinks/truncates. Completed
usbcore: registered new driver hiddev
usb 5-2: new low speed USB device using uhci_hcd and address 2
input: USB HID v1.10 Joystick on usb-0000:00:10.1-2
input: USB HID v1.10 Joystick on usb-0000:00:10.1-2
input: USB HID v1.10 Mouse on usb-0000:00:10.3-2
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
usbcore: registered new driver usbmouse
drivers/usb/input/usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
/root/Desktop/spca5xx-20051101/drivers/usb/spca5xx.c: USB SPCA5XX camera found. Type Vimicro Zc301P 0x301b
/root/Desktop/spca5xx-20051101/drivers/usb/spca5xx.c: Camera type JPEG
/root/Desktop/spca5xx-20051101/drivers/usb/zc3xx.h: sensor answer10
/root/Desktop/spca5xx-20051101/drivers/usb/zc3xx.h: sensor answervga0
/root/Desktop/spca5xx-20051101/drivers/usb/zc3xx.h: sensor answervga0
/root/Desktop/spca5xx-20051101/drivers/usb/zc3xx.h: sensor answervga0
/root/Desktop/spca5xx-20051101/drivers/usb/zc3xx.h: sensor answervga0
/root/Desktop/spca5xx-20051101/drivers/usb/zc3xx.h: sensor answervga170
/root/Desktop/spca5xx-20051101/drivers/usb/zc3xx.h: Find Sensor PB0330
/root/Desktop/spca5xx-20051101/drivers/usb/spca5xx.c: maxw 640 maxh 480 minw 176 minh 144
usbcore: registered new driver spca5xx
/root/Desktop/spca5xx-20051101/drivers/usb/spca5xx.c: spca5xx driver 00.57.04 registered
NTFS driver 2.1.23 .
NTFS-fs warning (device sda1): parse_options(): Option iocharset is deprecated. Please use option nls=<charsetname> in the future.
NTFS volume version 3.1.
NTFS-fs error (device sda1): load_system_files(): Volume is dirty.Mounting read-only.Run chkdsk and mount in Windows.
NTFS-fs warning (device sda5): parse_options(): Option iocharset is deprecated. Please use option nls=<charsetname> in the future.
NTFS volume version 3.1.
NTFS-fs error (device sda5): load_system_files(): Volume is dirty.Mounting read-only.Run chkdsk and mount in Windows.
NTFS-fs warning (device sda6): parse_options(): Option iocharset is deprecated. Please use option nls=<charsetname> in the future.
NTFS volume version 3.1.
NTFS-fs error (device sda6): load_system_files(): Volume is dirty.Mounting read-only.Run chkdsk and mount in Windows.
NTFS-fs warning (device sda7): parse_options(): Option iocharset is deprecated. Please use option nls=<charsetname> in the future.
NTFS volume version 3.1.
NTFS-fs error (device sda7): load_system_files(): Volume is dirty.Mounting read-only.Run chkdsk and mount in Windows.
Adding 1630556k swap on /dev/sda9.Priority:-1 extents:1
ieee1394: Initialized config rom entry `ip1394'
lp0: using parport0 (interrupt-driven).
lp0: console ready
Stopping tasks: =============================================================|
Freeing memory... done (38848 pages freed)
spca5xx 3-1:1.0: resume is unsafe!
ACPI: PCI interrupt for device 0000:00:11.5 disabled
ACPI: PCI interrupt for device 0000:00:10.4 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
resume= option should be used to set suspend deviceswsusp: Need to copy 24195 pages
swsusp: Restoring Highmem
APIC error on CPU0: 00(00)
PCI: Setting latency timer of device 0000:00:01.0 to 64
ata1: command 0x35 timeout, stat 0x50 host_stat 0x0
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
ACPI: PCI Interrupt 0000:00:0f.0 -> GSI 20 (level, low) -> IRQ 169
ACPI: PCI Interrupt 0000:00:0f.1 -> GSI 20 (level, low) -> IRQ 169
ACPI: PCI Interrupt 0000:00:10.0 -> GSI 21 (level, low) -> IRQ 201
PCI: Via IRQ fixup for 0000:00:10.0, from 11 to 9
ACPI: PCI Interrupt 0000:00:10.0 -> GSI 21 (level, low) -> IRQ 201
ACPI: PCI Interrupt 0000:00:10.1 -> GSI 21 (level, low) -> IRQ 201
PCI: Via IRQ fixup for 0000:00:10.1, from 11 to 9
ACPI: PCI Interrupt 0000:00:10.1 -> GSI 21 (level, low) -> IRQ 201
ACPI: PCI Interrupt 0000:00:10.2 -> GSI 21 (level, low) -> IRQ 201
PCI: Via IRQ fixup for 0000:00:10.2, from 3 to 9
ACPI: PCI Interrupt 0000:00:10.2 -> GSI 21 (level, low) -> IRQ 201
ACPI: PCI Interrupt 0000:00:10.3 -> GSI 21 (level, low) -> IRQ 201
PCI: Via IRQ fixup for 0000:00:10.3, from 3 to 9
ACPI: PCI Interrupt 0000:00:10.3 -> GSI 21 (level, low) -> IRQ 201
ACPI: PCI Interrupt 0000:00:10.4 -> GSI 21 (level, low) -> IRQ 201
PCI: Via IRQ fixup for 0000:00:10.4, from 10 to 9
ehci_hcd 0000:00:10.4: BIOS handoff failed (104, 01010001)
ehci_hcd 0000:00:10.4: continuing after BIOS bug...
ehci_hcd 0000:00:10.4: USB 2.0 restarted, EHCI 1.00, driver 10 Dec 2004
ACPI: PCI Interrupt 0000:00:10.4 -> GSI 21 (level, low) -> IRQ 201
ACPI: PCI Interrupt 0000:00:11.5 -> GSI 22 (level, low) -> IRQ 193
usb 3-1: USB disconnect, address 2
usb 3-2: USB disconnect, address 3
usb 5-2: USB disconnect, address 2
Restarting tasks... done
usb 5-2: new low speed USB device using uhci_hcd and address 3
input: USB HID v1.10 Mouse on usb-0000:00:10.3-2
usb 3-1: new full speed USB device using uhci_hcd and address 4
/root/Desktop/spca5xx-20051101/drivers/usb/spca5xx.c: USB SPCA5XX camera found. Type Vimicro Zc301P 0x301b
/root/Desktop/spca5xx-20051101/drivers/usb/spca5xx.c: Camera type JPEG
/root/Desktop/spca5xx-20051101/drivers/usb/zc3xx.h: sensor answer10
/root/Desktop/spca5xx-20051101/drivers/usb/zc3xx.h: sensor answervga0
/root/Desktop/spca5xx-20051101/drivers/usb/zc3xx.h: sensor answervga0
/root/Desktop/spca5xx-20051101/drivers/usb/zc3xx.h: sensor answervga0
/root/Desktop/spca5xx-20051101/drivers/usb/zc3xx.h: sensor answervga0
/root/Desktop/spca5xx-20051101/drivers/usb/zc3xx.h: sensor answervga170
/root/Desktop/spca5xx-20051101/drivers/usb/zc3xx.h: Find Sensor PB0330
/root/Desktop/spca5xx-20051101/drivers/usb/spca5xx.c: maxw 640 maxh 480 minw 176 minh 144
usb 3-2: new low speed USB device using uhci_hcd and address 5
input: USB HID v1.10 Joystick on usb-0000:00:10.1-2
input: USB HID v1.10 Joystick on usb-0000:00:10.1-2


=============================
AMD Athlon x64 3000+
金士顿 DDR 512 MB
迈拓SATA 160GB
微星K8T Neo-V 主板

attiseve 发表于 2005-11-6 00:24:31

bios里面也有个电源设置,是不是那里面也要有什么特别的设定才行啊? 请楼主说明一下。

tanhitzq 发表于 2005-11-6 00:53:36

建议尝试如下方法:
echo 1:1 > /sys/power/resume
echo standby > /sys/power/state
可以休眠到内存!

点几下鼠标,键盘就恢复了!

pangdae 发表于 2005-11-6 01:03:51

bios里面也有个电源设置,是不是那里面也要有什么特别的设定才行啊? 请楼主说明一下。

确实应该看一下 你也提醒了我

这位兄弟 您是否装了官方的NV驱动呢?
另外请您这样试一下,在init 3模式下(不起X),控制台下echo disk >/sys/power/state
如果这样能够正确的恢复到控制台下,且是可用状态,那么说明是显卡驱动的问题了...
页: [1] 2
查看完整版本: 请大家测试2.6.13.4内核的休眠