• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] Suspend to Disk - Notebook schaltet nicht ab

Status
Für weitere Antworten geschlossen.
Liebe Linuxexperten,

bei meinem SONY Notebook Vaio VGN-A115B und Dual Boot Windows / OpenSuse 10.2
tritt folgendes Problem (?) auf:

Der Suspend to Disk - Vorgang beginnt normal, wenn der Bildschirm allerdings schwarz wird, fährt der Lüfter hoch, das Notebook schaltet sich also nicht automatisch ab. Wenn ich dann die Powertaste 5 sec drücke, würge ich es ab. Der Start sieht danach für mich relativ normal aus, resume funktioniert.

Meine Frage ist, ob und in welchen Logs ich ggf. entdecken kann, ob und was nicht funktioniert. Oder ist das Abwürgen müssen normal bei s2disk?

Vielleicht hilft euch folgendes:

dhcppc0:/var/log # s2ram
Machine is unknown.
This machine can be identified by:
sys_vendor = "Sony Corporation"
sys_product = "VGN-A115B(DE)"
sys_version = "01"
bios_version = "R0080F1"

Hier ein Verlauf der Aktion:

hcppc0:/var/log # cat pm-suspend.log
Sat Mar 17 15:12:26 CET 2007: running hibernate hooks.
===== Sat Mar 17 15:12:26 CET 2007: running hook: /etc/pm/hooks/00clear =====
===== Sat Mar 17 15:12:26 CET 2007: running hook: /etc/pm/hooks/01logging =====
hibernate initiated: Sat Mar 17 15:12:26 CET 2007

Module Size Used by
ipaq 37400 0
usbserial 35304 1 ipaq
radeon 108832 2
drm 71316 3 radeon
xt_pkttype 6016 3
ipt_LOG 10624 8
xt_limit 6912 8
af_packet 29320 2
sonypi 25788 1
snd_pcm_oss 53376 0
snd_mixer_oss 21248 1 snd_pcm_oss
snd_seq 60272 0
snd_seq_device 12812 1 snd_seq
cpufreq_conservative 11912 0
cpufreq_ondemand 10892 1
cpufreq_userspace 9088 0
cpufreq_powersave 5888 0
speedstep_centrino 12832 1
freq_table 8832 1 speedstep_centrino
sony_acpi 9868 0
button 10896 0
battery 14340 0
ac 9476 0
ip6t_REJECT 9344 3
xt_tcpudp 7296 3
ipt_REJECT 9472 3
xt_state 6272 12
iptable_mangle 7040 0
iptable_nat 11524 0
ip_nat 21804 1 iptable_nat
iptable_filter 7168 1
ip6table_mangle 6528 0
ip_conntrack 52960 3 xt_state,iptable_nat,ip_nat
nfnetlink 11032 2 ip_nat,ip_conntrack
ip_tables 17604 3 iptable_mangle,iptable_nat,iptable_filter
ip6table_filter 7040 1
ip6_tables 18756 2 ip6table_mangle,ip6table_filter
x_tables 18180 10 xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,xt_tcpudp,ipt_REJECT,xt_state,iptable_nat,ip_tables,ip6_tables
ipv6 263584 15 ip6t_REJECT
apparmor 55572 0
aamatch_pcre 18304 1 apparmor
nls_iso8859_1 8320 1
nls_cp437 9984 1
vfat 16640 1
fat 55324 1 vfat
nls_utf8 6272 2
ntfs 210580 2
loop 20488 0
dm_mod 60184 0
pcmcia 40892 0
usbhid 52192 0
ipw2200 110020 0
ieee80211 34632 1 ipw2200
ieee80211_crypt 10112 1 ieee80211
e100 39688 0
mii 9600 1 e100
yenta_socket 30348 1
rsrc_nonstatic 17024 1 yenta_socket
firmware_class 14080 2 pcmcia,ipw2200
pcmcia_core 43412 3 pcmcia,yenta_socket,rsrc_nonstatic
ohci1394 37040 0
ieee1394 102584 1 ohci1394
ohci_hcd 23428 0
ehci_hcd 34696 0
shpchp 40224 0
uhci_hcd 26892 0
intel_agp 27804 1
i2c_i801 11660 0
i2c_core 25216 1 i2c_i801
ide_cd 42272 0
cdrom 38432 1 ide_cd
usbcore 114896 6 ipaq,usbserial,usbhid,ohci_hcd,ehci_hcd,uhci_hcd
agpgart 35528 2 drm,intel_agp
pci_hotplug 35136 1 shpchp
snd_intel8x0 36764 1
snd_ac97_codec 95648 1 snd_intel8x0
snd_ac97_bus 6400 1 snd_ac97_codec
snd_pcm 86916 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer 27908 2 snd_seq,snd_pcm
snd 61188 10 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore 13792 1 snd
snd_page_alloc 14472 2 snd_intel8x0,snd_pcm
ext3 141192 2
mbcache 12804 1 ext3
jbd 70324 1 ext3
edd 13892 0
fan 8964 0
piix 13700 0 [permanent]
thermal 18568 0
processor 34664 2 speedstep_centrino,thermal
ide_disk 20480 7
ide_core 129992 3 ide_cd,piix,ide_disk

total used free shared buffers cached
Mem: 515520 389812 125708 0 14372 265856
-/+ buffers/cache: 109584 405936
Swap: 1036152 120 1036032

===== Sat Mar 17 15:12:26 CET 2007: running hook: /etc/pm/hooks/05led =====
===== Sat Mar 17 15:12:26 CET 2007: running hook: /etc/pm/hooks/06autofs =====
===== Sat Mar 17 15:12:27 CET 2007: running hook: /etc/pm/hooks/10NetworkManager =====
===== Sat Mar 17 15:12:29 CET 2007: running hook: /etc/pm/hooks/23dock =====
===== Sat Mar 17 15:12:29 CET 2007: running hook: /etc/pm/hooks/30s2disk-check =====
INFO: checking for suspend-to-disk prerequisites...
using userspace suspend method
setting resume device to /dev/hda7
setting image size to 237551616
adding these parameters from /etc/suspend.conf:
===== Sat Mar 17 15:12:29 CET 2007: running hook: /etc/pm/hooks/45pcmcia =====
ejecting PCMCIA cards...
===== Sat Mar 17 15:12:29 CET 2007: running hook: /etc/pm/hooks/50modules =====
trying to unload: button
===== Sat Mar 17 15:12:29 CET 2007: running hook: /etc/pm/hooks/80acpi-fan =====
===== Sat Mar 17 15:12:29 CET 2007: running hook: /etc/pm/hooks/80videobios =====
===== Sat Mar 17 15:12:29 CET 2007: running hook: /etc/pm/hooks/94cpufreq =====
===== Sat Mar 17 15:12:29 CET 2007: running hook: /etc/pm/hooks/95led =====
===== Sat Mar 17 15:12:29 CET 2007: running hook: /etc/pm/hooks/99Zgrub =====
INFO: running prepare-grub
Skipping grub entry #2, because it has the noresume option
running kernel is grub menu entry 1 (vmlinuz-2.6.18.2-34-default)
preparing boot-loader: selecting entry 1, kernel /boot/2.6.18.2-34-default
time needed for sync: 2.6 seconds, time needed for grub: 0.2 seconds.
===== Sat Mar 17 15:12:32 CET 2007: running hook: /etc/pm/hooks/99info =====
Sat Mar 17 15:12:32 CET 2007: finished hibernate hooks.

################# Hier wieder gestartet: ##########################

Sat Mar 17 16:34:08 CET 2007: running thaw hooks.
===== Sat Mar 17 16:34:08 CET 2007: running hook: /etc/pm/hooks/99info =====
===== Sat Mar 17 16:34:08 CET 2007: running hook: /etc/pm/hooks/99Zgrub =====
INFO: running grub-once-restore
restoring original /boot/grub/default
===== Sat Mar 17 16:34:10 CET 2007: running hook: /etc/pm/hooks/95led =====
===== Sat Mar 17 16:34:10 CET 2007: running hook: /etc/pm/hooks/94cpufreq =====
===== Sat Mar 17 16:34:10 CET 2007: running hook: /etc/pm/hooks/80videobios =====
===== Sat Mar 17 16:34:10 CET 2007: running hook: /etc/pm/hooks/80acpi-fan =====
===== Sat Mar 17 16:34:10 CET 2007: running hook: /etc/pm/hooks/50modules =====
trying to reload: button
===== Sat Mar 17 16:34:12 CET 2007: running hook: /etc/pm/hooks/45pcmcia =====
inserting PCMCIA cards...
===== Sat Mar 17 16:34:12 CET 2007: running hook: /etc/pm/hooks/30s2disk-check =====
===== Sat Mar 17 16:34:12 CET 2007: running hook: /etc/pm/hooks/23dock =====
===== Sat Mar 17 16:34:12 CET 2007: running hook: /etc/pm/hooks/10NetworkManager =====
===== Sat Mar 17 16:34:12 CET 2007: running hook: /etc/pm/hooks/06autofs =====
===== Sat Mar 17 16:34:12 CET 2007: running hook: /etc/pm/hooks/05led =====
===== Sat Mar 17 16:34:12 CET 2007: running hook: /etc/pm/hooks/01logging =====
===== Sat Mar 17 16:34:12 CET 2007: running hook: /etc/pm/hooks/00clear =====
Sat Mar 17 16:34:12 CET 2007: finished thaw hooks.

Vielen Dank im Voraus,
mfg
Daniel

Betreff von Oli-nux um das Wort [gelöst] erweitert!
 
Da wirst Du zu keiner einfachen Lösung kommen.

Ich habe auf einem Sony Vaio VGN-S4 auch gekämpft wie ein Löwe.
Das BIOS von Sony ist sch....lecht. Nicht mal Windows kann damit einwandfrei umgehen.

Bei meinem Vaio war es so, dass überhaupt kein suspend-modi ging. Auch beim herunterfahren schaltete es nicht ab, sondern volle Kanne nur den Lüfter.
Das ist ein Problem mit Kernels >= 2.6.16
Bei SuSE 10.1 oder Mandriva 2005 LE wirst diese Probleme in der Form nicht haben. Mehr kann ich dazu auch nicht sagen. Ich habe mich nicht näher damit beschäftigt. Ist mir damals beim Update auf SuSE 10.2 und Mandriva 2006 aufgefallen.

Du könntest mal versuchen, ob Du BIOS Spezifikationen zu Deinem Notebook findest. Weiterführend wäre hier eine Anleitung, wo man was in der DSD-Tabelle des BIOS ändern müsste.

Das ganze ist aber mit viel Arbeit und Gefahr verbunden. Ich würde es nicht tun. Habe das mal bei einem Acer Notebook gemacht. Ging alles gut, aber es war sehr umständlich.

Ich habe Linux auf den Vaio wieder gelöscht. Habe jetzt ein Samsung Q35 und das läuft super mit Linux.

Tut mir leid, aber ich glaube, dass man Dir hier wohl bei Deinem Problem kaum helfen kann. :(
 
Vielen Dank für die Infos. Ne, also beim BIOS möchte ich nicht rumspielen, das ist mir zu gefährlich bzw. das Notebook zu wichtig.
Aber kann ich jetzt einfach so weitermachen, d.h. Abwürgen? Kann ich irgendwo sehen, ob z.B. nur der Lüfter weitergelaufen ist, oder auch die Festplatte? Gibt es so ein Hardware-Log?
Ich finde das s2disk halt schon recht praktisch, da das Notebook dann still ist und schnell wieder hochfährt. Bei s2ram läuft der Lüfter ja weiter.
 
Versteh es nicht falsch.
Dein System zieht sich eine Kopie der DSD-Tabelle. Die DSD-Tabelle ist für die ACPI-Steuerung das wichtigste Element. Sie wird direkt aus dem BIOS heruas kopiert und kann von daher separat zum orginalen Bios modifiziert werden. Also Gefahr für das Gerät droht nicht mittelbar. Es sei denn, dass beim Modifizieren falsche Parameter übergeben werden, die dann z.B. Powertweak-Effekte hervorrufen. Aber das kann sein, muss nicht.

Die DSD-Tabelle findest Du in /proc/acpi unter dem Namen dsdt. Mit dem Intel-Compiler kannst sie Umwandeln. Sie ist so im Binärformat vorhanden.

Du kannst mal in Yast - Powermanagement die Profile überarbeiten. Dort kannst Du die Kühlstrategie steuern. Vielleicht hilft das ja schon.
 
Achso. Ich hab hier einige Infos zum Bios gefunden, siehe unten...
Also diese dsdt ist momentan nicht lesbar, wie heißt denn dieser compiler? ich hab etwas nach intel und compiler gesucht aber nix gefunden. Ah jetzt: iasl heißt das Ding. Aber das funktioniert nicht: dsdt ist binär, aber mit iasl -d dsdt kann ich sie nicht entziffern..

EDIT: Jetzt habe ich mit cat /proc/acpi/dsdt > dsdt.aml und iasl -d dsdt.aml geschafft, dass sich was tut. Allerdings sieht die asl-Datei dann nur so aus:

dhcppc0:/home/Daniel # cat dsdt.asl

Intel ACPI Component Architecture
AML Disassembler version 20060912 [Nov 25 2006]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a

Hier noch etwas Bios-Info,
Ich weiß, es ist etwas viel, aber ich weiß nicht genau was hilfreich sein kann...
dhcppc0:/proc/acpi # dmidecode
# dmidecode 2.8
SMBIOS 2.3 present.
17 structures occupying 809 bytes.
Table at 0x000F8E60.

Handle 0x0000, DMI type 0, 20 bytes
BIOS Information
Vendor: American Megatrends Inc.
Version: R0080F1
Release Date: 09/28/2004
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 512 kB
Characteristics:
PCI is supported
PC Card (PCMCIA) is supported
PNP is supported
BIOS is upgradeable
BIOS shadowing is allowed
ESCD support is available
Boot from CD is supported
Selectable boot is supported
EDD is supported
8042 keyboard services are supported (int 9h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
AGP is supported
Smart battery is supported
BIOS boot specification is supported
Function key-initiated network boot is supported

Handle 0x0001, DMI type 1, 25 bytes
System Information
Manufacturer: Sony Corporation
Product Name: VGN-A115B(DE)
Version: 01
Serial Number: 28173251-5324069
UUID: 55FA95A0-FA69-11D7-8B9E-080046D98445
Wake-up Type: Power Switch

Handle 0x0002, DMI type 3, 17 bytes
Chassis Information
Manufacturer: Sony Corporation
Type: Notebook
Lock: Not Present
Version: N/A
Serial Number: 28173251-5324069
Asset Tag: 8Q8M0000000000000000000f0000
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x00000003

Handle 0x0003, DMI type 4, 35 bytes
Processor Information
Socket Designation: N/A
Type: Central Processor
Family: Pentium M
Manufacturer: GenuineIntel
ID: 95 06 00 00 BF FB E9 A7
Signature: Type 0, Family 6, Model 9, Stepping 5
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (Fast floating-point save and restore)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Intel(R) Pentium(R) M processor 1500MHz
Voltage: 1.5 V
External Clock: 100 MHz
Max Speed: 1500 MHz
Current Speed: 1500 MHz
Status: Populated, Enabled
Upgrade: None
L1 Cache Handle: 0x0004
L2 Cache Handle: 0x0005
L3 Cache Handle: 0x0006
Serial Number: N/A
Asset Tag: N/A
Part Number: N/A

Handle 0x0004, DMI type 7, 19 bytes
Cache Information
Socket Designation: L1 Cache
Configuration: Enabled, Socketed, Level 1
Operational Mode: Varies With Memory Address
Location: Internal
Installed Size: 32 KB
Maximum Size: 32 KB
Supported SRAM Types:
Unknown
Installed SRAM Type: Unknown
Speed: Unknown
Error Correction Type: Unknown
System Type: Data
Associativity: 8-way Set-associative

Handle 0x0005, DMI type 7, 19 bytes
Cache Information
Socket Designation: L2 Cache
Configuration: Enabled, Socketed, Level 2
Operational Mode: Varies With Memory Address
Location: Internal
Installed Size: 1024 KB
Maximum Size: 1024 KB
Supported SRAM Types:
Unknown
Installed SRAM Type: Unknown
Speed: Unknown
Error Correction Type: Unknown
System Type: Unified
Associativity: 8-way Set-associative

Handle 0x0006, DMI type 7, 19 bytes
Cache Information
Socket Designation: L3 Cache
Configuration: Disabled, Not Socketed, Level 3
Operational Mode: Unknown
Location: Unknown
Installed Size: 0 KB
Maximum Size: 0 KB
Supported SRAM Types:
Unknown
Installed SRAM Type: Unknown
Speed: Unknown
Error Correction Type: Unknown
System Type: Unknown
Associativity: Unknown

Handle 0x0007, DMI type 9, 13 bytes
System Slot Information
Designation: PCCARD1
Type: 32-bit PC Card (PCMCIA)
Current Usage: Available
Length: Other
ID: Adapter 0, Socket 1
Characteristics:
5.0 V is provided
3.3 V is provided
PC Card-16 is supported
Cardbus is supported
Modem ring resume is supported
PME signal is supported
Hot-plug devices are supported

Handle 0x0008, DMI type 11, 5 bytes
OEM Strings
String 1: EUB1112B022

Handle 0x0009, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Unknown
Maximum Capacity: 2048 GB
Error Information Handle: Not Provided
Number Of Devices: 2

Handle 0x000A, DMI type 19, 15 bytes
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x0001FFFFFFF
Range Size: 512 MB
Physical Array Handle: 0x0009
Partition Width: 0

Handle 0x000B, DMI type 17, 21 bytes
Memory Device
Array Handle: 0x0009
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 256 MB
Form Factor: SODIMM
Set: None
Locator: SODIMM1
Bank Locator: BANK0
Type: DDR
Type Detail: Unknown

Handle 0x000C, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x0000FFFFFFF
Range Size: 256 MB
Physical Device Handle: 0x000B
Memory Array Mapped Address Handle: 0x000A
Partition Row Position: Unknown
Interleave Position: Unknown
Interleaved Data Depth: Unknown

Handle 0x000D, DMI type 17, 21 bytes
Memory Device
Array Handle: 0x0009
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 256 MB
Form Factor: SODIMM
Set: None
Locator: SODIMM2
Bank Locator: BANK1
Type: DDR
Type Detail: Unknown

Handle 0x000E, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00010000000
Ending Address: 0x0001FFFFFFF
Range Size: 256 MB
Physical Device Handle: 0x000D
Memory Array Mapped Address Handle: 0x000A
Partition Row Position: Unknown
Interleave Position: Unknown
Interleaved Data Depth: Unknown

Handle 0x000F, DMI type 32, 20 bytes
System Boot Information
Status: No errors detected

Handle 0x0010, DMI type 127, 4 bytes
End Of Table

Und hier noch etwas dazu:
dhcppc0:/proc/acpi # biosdecode
# biosdecode 2.8
BIOS32 Service Directory present.
Revision: 0
Calling Interface Address: 0x000F0010
PCI Interrupt Routing 1.0 present.
Router ID: 00:1f.0
Exclusive IRQs: None
Compatible Router: 8086:24cc
Slot Entry 1: ID 00:01, on-board
Slot Entry 2: ID 00:1f, on-board
Slot Entry 3: ID 00:1d, on-board
Slot Entry 4: ID 01:00, on-board
Slot Entry 5: ID 02:08, on-board
Slot Entry 6: ID 02:01, on-board
Slot Entry 7: ID 02:02, on-board
Slot Entry 8: ID 02:03, on-board
Slot Entry 9: ID 02:04, on-board
PNP BIOS 1.0 present.
Event Notification: Not Supported
Real Mode 16-bit Code Address: F000:4232
Real Mode 16-bit Data Address: F000:0000
16-bit Protected Mode Code Address: 0x000F425A
16-bit Protected Mode Data Address: 0x000F0000
ACPI 1.0 present.
OEM Identifier: SONY
RSD Table 32-bit Address: 0x1FF40000
SMBIOS 2.3 present.
Structure Table Length: 809 bytes
Structure Table Address: 0x000F8E60
Number Of Structures: 17
Maximum Structure Size: 123 bytes
Sony system detected.

Hier noch einige Testergebnisse von firmwaretest:

DSDT AML verificationThis test first disassembles the DSDT of the BIOS, and then uses the IASL compiler from Intel to recompile the code. The IASL copiler is much stricter in detecting deviations from the ACPI specification and can find numerous defects that other AML compilers cannot find. Fixing these defects increases the probability that the BIOS will operate well with a variety of operating systems.Tested table DSDT.dslThe IASL compiler from Intel would save 771 bytes of space.The existing code takes 15192 bytes
The IASL compiler from Intel uses 14421 bytes
This is a saving of 771 bytes.

General ACPI informationThis test checks the output of the in-kernel ACPI CA against common error messages that indicate a bad interaction with the bios, including those that point at AML syntax errors.DSDT was compiled by the Microsoft AML compilerACPI: DSDT (v001 SONY F1 0x20040928 MSFT 0x0100000d) @ 0x00000000
 
Ich habe zwar kein Sony Noteboook, hatte aber mit dem Powermanagemet unter suse 10.2 auch dieverse Problem auf dem Notebook. Mit dem neuen Kernel 2.6.18.8-0.1-default wurde das aber alles behoben. Wenn der Kernel bei dir noch nicht läuft, lohnt vielleicht ein update
 
Vielen Dank für die Ideen!

@coogor: Kann ich also einfach auf Englisch mein Problem als Mail an die Adresse schicken?

@Grothesk: Mmh, aber das ist ja nur für suspend 2 ram oder? Aber das hier:
http://en.opensuse.org/Pm-utils sieht interessant aus...

@stka: Ähmm, mal ne blöde Frage: Wenn es ein kernel-Update gibt, würde ich das doch automatisch mitkriegen, oder? (automatisches Update eingestellt) 2.6.18.2-34-default ist meine derzeitige Version, siehe oben ;-) Also älter als 2.6.18.8... Oder werden kernel-Updates anders gehandelt?

mfg
Daniel
 
@stka: Das Kernel-Update war der richtige Tipp! Nachdem ich das mit dem YAST-Updater gemacht habe, tritt das Problem nicht mehr auf - der Laptop schaltet richtig ab.
Also nochmal vielen Dank! :D
 
Status
Für weitere Antworten geschlossen.
Oben