Bug 9209 - hang during suspend ram/disk
Summary: hang during suspend ram/disk
Status: REJECTED INSUFFICIENT_DATA
Alias: None
Product: Power Management
Classification: Unclassified
Component: Hibernation/Suspend (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Rafael J. Wysocki
URL:
Keywords:
Depends on:
Blocks: 7216
  Show dependency tree
 
Reported: 2007-10-22 07:10 UTC by Thierry B
Modified: 2008-11-19 23:03 UTC (History)
2 users (show)

See Also:
Kernel Version: kernel 2.6.22
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Thierry B 2007-10-22 07:10:43 UTC
Hello,

I have a laptop Toshiba Satellite U200-163 with debian lenny and kernel 2.6.22 that I've compiled from debian kernel source.

I didn't manage to use suspend ram/disk with my laptop even with all options of S2ram.

I tried to add:
{
  .ident = "Satellite U200",
    .matches = {
      DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
      DMI_MATCH(DMI_PRODUCT_NAME, "Satellite U200"),
    },
},

to static struct dmi_system_id piix_broken_suspend_dmi_table[] in the
take5 patch, but it doesn't work.

I patch like that:

(I'm in my linux source directory extracted from the package
linux-source-2.6.22 of debian lenny)

# patch -p1 <
/home/thierry/Install/suspend/skip-pci-disable-and-suspend-on-tecra-m5-and-satellite-U205-take5.patch
patching file drivers/ata/ata_piix.c
Hunk #4 succeeded at 223 (offset -38 lines).
Hunk #5 succeeded at 838 (offset -38 lines).
patching file drivers/pci/pci.c
patching file drivers/pci/pci.h
patching file include/linux/libata.h
patching file include/linux/pci.h
patch unexpectedly ends in middle of line

I pase you my dmidecode, because I d'ont find how to attach a file on my message:

--------------------------------------------------------------------------
# dmidecode 2.9
SMBIOS 2.4 present.
43 structures occupying 1390 bytes.
Table at 0x000EC000.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
	Vendor: TOSHIBA
	Version: Version 3.70
	Release Date: 06/04/2007
	Address: 0xE0000
	Runtime Size: 128 kB
	ROM Size: 1024 kB
	Characteristics:
		ISA is supported
		PCI is supported
		PC Card (PCMCIA) is supported
		PNP is supported
		BIOS is upgradeable
		BIOS shadowing is allowed
		VLB is supported
		Boot from CD is supported
		Selectable boot is supported
		EDD is supported
		Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
		3.5"/720 KB floppy services are supported (int 13h)
		Print screen service is supported (int 5h)
		8042 keyboard services are supported (int 9h)
		Serial services are supported (int 14h)
		Printer services are supported (int 17h)
		ACPI is supported
		USB legacy is supported
		BIOS boot specification is supported
		Function key-initiated network boot is supported
		Targeted content distribution is supported
	BIOS Revision: 3.70
	Firmware Revision: 1.0

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: TOSHIBA
	Product Name: SATELLITE U200
	Version: PLUA0E-01801GFR
	Serial Number: 86561184G
	UUID: CC57BE80-AD1E-1811-8010-B80186561184
	Wake-up Type: Power Switch
	SKU Number: 0000000000
	Family: 0000000000

Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
	Manufacturer: TOSHIBA
	Product Name: Portable PC
	Version: Version A0
	Serial Number: $$C0688FTH

Handle 0x0003, DMI type 3, 17 bytes
Chassis Information
	Manufacturer: TOSHIBA
	Type: Notebook
	Lock: Not Present
	Version: Version 1.0
	Serial Number: 00000000
	Asset Tag: 0000000000
	Boot-up State: Safe
	Power Supply State: Safe
	Thermal State: Safe
	Security Status: None
	OEM Information: 0x00000000

Handle 0x0004, DMI type 4, 32 bytes
Processor Information
	Socket Designation: uFC-PGA Socket
	Type: Central Processor
	Family: <OUT OF SPEC>
	Manufacturer: Intel Corporation
	ID: E8 06 00 00 00 00 00 00
	Version:  
	Voltage: 1.3 V
	External Clock: 166 MHz
	Max Speed: 1660 MHz
	Current Speed: 1660 MHz
	Status: Populated, Enabled
	Upgrade: Other
	L1 Cache Handle: 0x0012
	L2 Cache Handle: 0x0013
	L3 Cache Handle: Not Provided

Handle 0x0009, DMI type 5, 20 bytes
Memory Controller Information
	Error Detecting Method: None
	Error Correcting Capabilities:
		None
	Supported Interleave: Other
	Current Interleave: Other
	Maximum Memory Module Size: 2048 MB
	Maximum Total Memory Size: 4096 MB
	Supported Speeds:
		Other
	Supported Memory Types:
		Other
		DIMM
		SDRAM
	Memory Module Voltage: Unknown
	Associated Memory Slots: 2
		0x000A
		0x000B
	Enabled Error Correcting Capabilities:
		None

Handle 0x000A, DMI type 6, 12 bytes
Memory Module Information
	Socket Designation: SO-DIMM
	Bank Connections: 0 1
	Current Speed: 4 ns
	Type: Other DIMM SDRAM
	Installed Size: 512 MB (Single-bank Connection)
	Enabled Size: 512 MB (Single-bank Connection)
	Error Status: OK

Handle 0x000B, DMI type 6, 12 bytes
Memory Module Information
	Socket Designation: SO-DIMM
	Bank Connections: 2 3
	Current Speed: 4 ns
	Type: Other DIMM SDRAM
	Installed Size: 512 MB (Single-bank Connection)
	Enabled Size: 512 MB (Single-bank Connection)
	Error Status: OK

Handle 0x0012, DMI type 7, 19 bytes
Cache Information
	Socket Designation: CPU Internal
	Configuration: Enabled, Not Socketed, Level 1
	Operational Mode: Write Back
	Location: Internal
	Installed Size: 128 KB
	Maximum Size: 128 KB
	Supported SRAM Types:
		Other
	Installed SRAM Type: Other
	Speed: 1 ns
	Error Correction Type: Single-bit ECC
	System Type: Unified
	Associativity: 8-way Set-associative

Handle 0x0013, DMI type 7, 19 bytes
Cache Information
	Socket Designation: CPU Internal
	Configuration: Enabled, Not Socketed, Level 2
	Operational Mode: Write Back
	Location: Internal
	Installed Size: 2048 KB
	Maximum Size: 2048 KB
	Supported SRAM Types:
		Other
	Installed SRAM Type: Other
	Speed: 1 ns
	Error Correction Type: Single-bit ECC
	System Type: Unified
	Associativity: 8-way Set-associative

Handle 0x0016, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator:  
	Internal Connector Type: None
	External Reference Designator: EXTERNAL MONITOR PORT
	External Connector Type: DB-15 female
	Port Type: Other

Handle 0x0017, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator:  
	Internal Connector Type: None
	External Reference Designator: BUILT-IN MODEM PORT
	External Connector Type: RJ-11
	Port Type: Modem Port

Handle 0x0018, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator:  
	Internal Connector Type: None
	External Reference Designator: BUILT-IN LAN PORT
	External Connector Type: RJ-45
	Port Type: Network Port

Handle 0x0019, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator:  
	Internal Connector Type: None
	External Reference Designator: USB PORT
	External Connector Type: Access Bus (USB)
	Port Type: USB

Handle 0x001A, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator:  
	Internal Connector Type: None
	External Reference Designator: USB PORT
	External Connector Type: Access Bus (USB)
	Port Type: USB

Handle 0x001B, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator:  
	Internal Connector Type: None
	External Reference Designator: USB PORT
	External Connector Type: Access Bus (USB)
	Port Type: USB

Handle 0x001C, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator:  
	Internal Connector Type: None
	External Reference Designator: HEADPHONE JACK
	External Connector Type: Mini Jack (headphones)
	Port Type: Other

Handle 0x001D, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator:  
	Internal Connector Type: None
	External Reference Designator: 1394 PORT
	External Connector Type: IEEE 1394
	Port Type: Firewire (IEEE P1394)

Handle 0x001E, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator:  
	Internal Connector Type: None
	External Reference Designator: MICROPHONE JACK
	External Connector Type: Other
	Port Type: Other

Handle 0x001F, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator:  
	Internal Connector Type: None
	External Reference Designator: WIRELESS LAN
	External Connector Type: Other
	Port Type: Other

Handle 0x0020, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator:  
	Internal Connector Type: None
	External Reference Designator: BLUETOOTH
	External Connector Type: Other
	Port Type: Other

Handle 0x0037, DMI type 9, 13 bytes
System Slot Information
	Designation: PCMCIA0
	Type: 32-bit PC Card (PCMCIA)
	Current Usage: In Use
	Length: Other
	ID: Adapter 1, Socket 0
	Characteristics:
		5.0 V is provided
		3.3 V is provided
		PC Card-16 is supported
		Cardbus is supported
		Hot-plug devices are supported

Handle 0x0038, DMI type 9, 13 bytes
System Slot Information
	Designation: SD CARD
	Type: Other
	Current Usage: In Use
	Length: Other
	Characteristics:
		3.3 V is provided
		Opening is shared
		Hot-plug devices are supported

Handle 0x0039, DMI type 9, 13 bytes
System Slot Information
	Designation: MEMORY STICK
	Type: Other
	Current Usage: In Use
	Length: Other
	Characteristics:
		3.3 V is provided
		Opening is shared
		Hot-plug devices are supported

Handle 0x003A, DMI type 9, 13 bytes
System Slot Information
	Designation: XD PICTURE CARD
	Type: 8-bit Other
	Current Usage: In Use
	Length: Other
	Characteristics:
		3.3 V is provided
		Opening is shared
		Hot-plug devices are supported

Handle 0x0058, DMI type 10, 20 bytes
On Board Device 1 Information
	Type: Other
	Status: Enabled
	Description: MODEM
On Board Device 2 Information
	Type: Other
	Status: Enabled
	Description: USB
On Board Device 3 Information
	Type: Video
	Status: Enabled
	Description: VIDEO
On Board Device 4 Information
	Type: Ethernet
	Status: Enabled
	Description: ETHERNET
On Board Device 5 Information
	Type: Sound
	Status: Enabled
	Description: SOUND
On Board Device 6 Information
	Type: Other
	Status: Enabled
	Description: WIRELESS LAN
On Board Device 7 Information
	Type: Other
	Status: Enabled
	Description: BLUETOOTH
On Board Device 8 Information
	Type: Other
	Status: Enabled
	Description: 1394

Handle 0x0059, DMI type 11, 5 bytes
OEM Strings
	String 1: PLUA0E-01801GFR,SLUA001801GFRS

Handle 0x0069, DMI type 12, 5 bytes
System Configuration Options
	Option 1: TOSHIBA

Handle 0x0080, DMI type 15, 23 bytes
System Event Log
	Area Length: 124 bytes
	Header Start Offset: 0x0000
	Data Start Offset: 0x0000
	Access Method: General-purpose non-volatile data functions
	Access Address: 0x0003
	Status: Valid, Not Full
	Change Token: 0x00000000
	Header Format: No Header
	Supported Log Type Descriptors: 0

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

Handle 0x0082, DMI type 17, 27 bytes
Memory Device
	Array Handle: 0x0081
	Error Information Handle: Not Provided
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 512 MB
	Form Factor: SODIMM
	Set: Unknown
	Locator: DIMM 0
	Bank Locator: CSA 0 & 1
	Type: DDR2
	Type Detail: Synchronous
	Speed: Unknown
	Manufacturer: CE00
	Serial Number: F61DB9B6
	Asset Tag: Not Specified
	Part Number: M4 70T6554CZ3-CD5 

Handle 0x0083, DMI type 17, 27 bytes
Memory Device
	Array Handle: 0x0081
	Error Information Handle: Not Provided
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 512 MB
	Form Factor: SODIMM
	Set: Unknown
	Locator: DIMM 1
	Bank Locator: CSA 2 & 3
	Type: DDR2
	Type Detail: Synchronous
	Speed: Unknown
	Manufacturer: CE00
	Serial Number: F61DB9B2
	Asset Tag: Not Specified
	Part Number: M4 70T6554CZ3-CD5 

Handle 0x0090, DMI type 19, 15 bytes
Memory Array Mapped Address
	Starting Address: 0x00000000000
	Ending Address: 0x000000A03FF
	Range Size: 641 kB
	Physical Array Handle: 0x0081
	Partition Width: 0

Handle 0x0091, DMI type 19, 15 bytes
Memory Array Mapped Address
	Starting Address: 0x00000100000
	Ending Address: 0x0003F8003FF
	Range Size: 1039361 kB
	Physical Array Handle: 0x0081
	Partition Width: 0

Handle 0x00A0, DMI type 20, 19 bytes
Memory Device Mapped Address
	Starting Address: 0x00000000000
	Ending Address: 0x000000A03FF
	Range Size: 641 kB
	Physical Device Handle: 0x0082
	Memory Array Mapped Address Handle: 0x0090
	Partition Row Position: 1

Handle 0x00A1, DMI type 20, 19 bytes
Memory Device Mapped Address
	Starting Address: 0x00000000000
	Ending Address: 0x000200003FF
	Range Size: 524289 kB
	Physical Device Handle: 0x0082
	Memory Array Mapped Address Handle: 0x0091
	Partition Row Position: 1

Handle 0x00A2, DMI type 20, 19 bytes
Memory Device Mapped Address
	Starting Address: 0x00020000000
	Ending Address: 0x000400003FF
	Range Size: 524289 kB
	Physical Device Handle: 0x0083
	Memory Array Mapped Address Handle: 0x0091
	Partition Row Position: 1

Handle 0x00B0, DMI type 21, 7 bytes
Built-in Pointing Device
	Type: Touch Pad
	Interface: PS/2
	Buttons: 2

Handle 0x00B1, DMI type 22, 26 bytes
Portable Battery
	Location: 1st Battery
	Manufacturer: TOSHIBA
	Manufacture Date: 07/12/06
	Serial Number: 0100269326
	Name: LP660E
	Chemistry: Lithium Ion
	Design Capacity: 0 mWh
	Design Voltage: 10800 mV
	SBDS Version: Not Specified
	Maximum Error: Unknown
	OEM-specific Information: 0x00000000

Handle 0x00B7, DMI type 24, 5 bytes
Hardware Security
	Power-On Password Status: Disabled
	Keyboard Password Status: Disabled
	Administrator Password Status: Disabled
	Front Panel Reset Status: Disabled

Handle 0x00D0, DMI type 32, 11 bytes
System Boot Information
	Status: No errors detected

Handle 0x00E0, DMI type 136, 6 bytes
OEM-specific Type
	Header and Data:
		88 06 E0 00 5A 5A

Handle 0xFEFF, DMI type 127, 4 bytes
End Of Table
-----------------------------------------------------------------------------

Thanks :-)
Comment 1 Andrew Morton 2007-10-22 11:14:25 UTC
Can you test 2.6.23?  It would also be good to test 2.6.24-rc1 when it is
released.  This stuff is changing fast...

Thanks.
Comment 2 Tejun Heo 2007-10-22 17:59:56 UTC
FYI, the situation seems a bit different from other PIIX_HOST_BROKEN_SUSPEND cases.  In other cases, w/o the quirk, all that happened was several mins of delay while burning cpu before finally entering suspend mode.  In this case, the user is reporting permanent lockup (right?).  Maybe X or something else is causing problem?
Comment 3 Thierry B 2007-10-22 18:05:33 UTC
Hello,

I test with linux source 2.6.23-1, but it hangs with s2ram -f without X.

Thanks.
Comment 4 Rafael J. Wysocki 2007-12-12 16:29:21 UTC
Please check the current mainline and report back, thanks.
Comment 5 Zhang Rui 2008-11-19 23:03:20 UTC
Thierry,
please re-open this bug if you can reproduce the problem with kernel 2.6.27.

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