Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hibernate to ram with IONITX
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Arrta
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2003
Posts: 106

PostPosted: Sat Aug 01, 2009 3:00 am    Post subject: Hibernate to ram with IONITX Reply with quote

I am having an issue similar to this one that someone posted on ubuntuforums http://ubuntuforums.org/showthread.php?p=7652358#post7652358
I configured my kernel to support suspend, I hibernate to ram, system shuts down, I have to power back on with the power button.
I enable any USB hub to the list of devices allowed to wake the system and system will hibernate to ram, and instantly wakes, as if a USB device sent notification.
I went sofar as to disconnect every USB device and reboot, and agian if any USB hub is added the machine auto wakes.
Note: the IONITX boards did not support wake on USB until PCB Ver 01 which I do have.
The JP3 jumper has 2 settings 5VDual and 5V. I have tried with both, no difference.
Anyone have ideas? Need logs?
Back to top
View user's profile Send private message
Arrta
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2003
Posts: 106

PostPosted: Sun Aug 02, 2009 12:13 am    Post subject: Reply with quote

dmesg from hibernate without USB enabled as a wakeup device.
Code:
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
lirc_streamzap[0]: suspend
forcedeth 0000:00:0a.0: wake-up capability disabled by ACPI
forcedeth 0000:00:0a.0: PME# disabled
forcedeth 0000:00:0a.0: PCI INT A disabled
HDA Intel 0000:00:08.0: PCI INT A disabled
HDA Intel 0000:00:08.0: power state changed by ACPI to D3
ehci_hcd 0000:00:06.1: PCI INT B disabled
ehci_hcd 0000:00:06.1: PME# disabled
ohci_hcd 0000:00:06.0: PCI INT A disabled
ohci_hcd 0000:00:06.0: PME# disabled
ehci_hcd 0000:00:04.1: PCI INT B disabled
ehci_hcd 0000:00:04.1: PME# disabled
ohci_hcd 0000:00:04.0: PCI INT A disabled
ohci_hcd 0000:00:04.0: PME# disabled
ACPI: Preparing to enter system sleep state S3
Disabling non-boot CPUs ...
CPU 1 is now offline
SMP alternatives: switching to UP code
CPU0 attaching NULL sched-domain.
CPU1 attaching NULL sched-domain.
CPU0 attaching NULL sched-domain.
CPU1 is down
Back to C!
CPU0: Thermal LVT vector (0xfa) already installed
Enabling non-boot CPUs ...
SMP alternatives: switching to SMP code
Booting processor 1 APIC 0x1 ip 0x6000
Initializing CPU#1
Calibrating delay using timer specific routine.. 3199.50 BogoMIPS (lpj=1599750)
CPU: L1 I cache: 32K, L1 D cache: 24K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU1: Thermal monitoring enabled (TM1)
CPU1: Intel(R) Atom(TM) CPU  230   @ 1.60GHz stepping 02
checking TSC synchronization [CPU#0 -> CPU#1]: passed.
CPU0 attaching NULL sched-domain.
CPU0 attaching sched-domain:
 domain 0: span 0-1 level SIBLING
  groups: 0 1
CPU1 attaching sched-domain:
 domain 0: span 0-1 level SIBLING
  groups: 1 0
CPU1 is up
ACPI: Waking up from system sleep state S3
ohci_hcd 0000:00:04.0: restoring config space at offset 0x1 (was 0xb00007, writing 0xb00003)
ehci_hcd 0000:00:04.1: restoring config space at offset 0x1 (was 0xb00006, writing 0xb00002)
ohci_hcd 0000:00:06.0: restoring config space at offset 0x1 (was 0xb00007, writing 0xb00003)
ehci_hcd 0000:00:06.1: restoring config space at offset 0x1 (was 0xb00006, writing 0xb00002)
HDA Intel 0000:00:08.0: restoring config space at offset 0x1 (was 0xb00006, writing 0xb00002)
forcedeth 0000:00:0a.0: restoring config space at offset 0x7 (was 0x0, writing 0xfae7e000)
forcedeth 0000:00:0a.0: restoring config space at offset 0x6 (was 0x0, writing 0xfae7e400)
pcieport-driver 0000:00:0c.0: restoring config space at offset 0x1 (was 0x100004, writing 0x100404)
pci 0000:00:10.0: restoring config space at offset 0x3 (was 0x10000, writing 0x10010)
pcieport-driver 0000:00:15.0: restoring config space at offset 0x1 (was 0x100004, writing 0x100404)
pcieport-driver 0000:00:16.0: restoring config space at offset 0x1 (was 0x100004, writing 0x100404)
pcieport-driver 0000:00:17.0: restoring config space at offset 0x1 (was 0x100004, writing 0x100404)
pcieport-driver 0000:00:18.0: restoring config space at offset 0x1 (was 0x100004, writing 0x100404)
nvidia 0000:03:00.0: restoring config space at offset 0xc (was 0xfafe0000, writing 0x0)
nvidia 0000:03:00.0: restoring config space at offset 0x3 (was 0x10, writing 0x0)
nvidia 0000:03:00.0: restoring config space at offset 0x1 (was 0x100107, writing 0x100007)
nForce2_smbus 0000:00:03.2: PME# disabled
ohci_hcd 0000:00:04.0: PME# disabled
ohci_hcd 0000:00:04.0: PCI INT A -> Link[LUB0] -> GSI 23 (level, low) -> IRQ 23
ohci_hcd 0000:00:04.0: setting latency timer to 64
ohci_hcd 0000:00:04.0: PME# disabled
ehci_hcd 0000:00:04.1: PME# disabled
ehci_hcd 0000:00:04.1: PCI INT B -> Link[LUB2] -> GSI 21 (level, low) -> IRQ 21
ehci_hcd 0000:00:04.1: setting latency timer to 64
ehci_hcd 0000:00:04.1: PME# disabled
ohci_hcd 0000:00:06.0: PME# disabled
ohci_hcd 0000:00:06.0: PCI INT A -> Link[UB11] -> GSI 22 (level, low) -> IRQ 22
ohci_hcd 0000:00:06.0: setting latency timer to 64
ohci_hcd 0000:00:06.0: PME# disabled
ehci_hcd 0000:00:06.1: PME# disabled
ehci_hcd 0000:00:06.1: PCI INT B -> Link[UB12] -> GSI 20 (level, low) -> IRQ 20
ehci_hcd 0000:00:06.1: setting latency timer to 64
ehci_hcd 0000:00:06.1: PME# disabled
HDA Intel 0000:00:08.0: PCI INT A -> Link[LAZA] -> GSI 21 (level, low) -> IRQ 21
HDA Intel 0000:00:08.0: setting latency timer to 64
pci 0000:00:09.0: setting latency timer to 64
forcedeth 0000:00:0a.0: wake-up capability disabled by ACPI
forcedeth 0000:00:0a.0: PME# disabled
forcedeth 0000:00:0a.0: irq 29 for MSI/MSI-X
eth0: no link during initialization.
pci 0000:00:10.0: setting latency timer to 64
Restarting tasks ... done.
eth0: link up.


dmesg from when USB is enabled as wakeable.
Code:
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
lirc_streamzap[0]: suspend
forcedeth 0000:00:0a.0: wake-up capability disabled by ACPI
forcedeth 0000:00:0a.0: PME# disabled
forcedeth 0000:00:0a.0: PCI INT A disabled
HDA Intel 0000:00:08.0: PCI INT A disabled
HDA Intel 0000:00:08.0: power state changed by ACPI to D3
ehci_hcd 0000:00:06.1: PCI INT B disabled
ehci_hcd 0000:00:06.1: PME# enabled
ehci_hcd 0000:00:06.1: wake-up capability enabled by ACPI
ohci_hcd 0000:00:06.0: PCI INT A disabled
ohci_hcd 0000:00:06.0: PME# enabled
ohci_hcd 0000:00:06.0: wake-up capability enabled by ACPI
ehci_hcd 0000:00:04.1: PCI INT B disabled
ehci_hcd 0000:00:04.1: PME# enabled
ehci_hcd 0000:00:04.1: wake-up capability enabled by ACPI
ohci_hcd 0000:00:04.0: PCI INT A disabled
ohci_hcd 0000:00:04.0: PME# enabled
ohci_hcd 0000:00:04.0: wake-up capability enabled by ACPI
ACPI: Preparing to enter system sleep state S3
Disabling non-boot CPUs ...
CPU 1 is now offline
SMP alternatives: switching to UP code
CPU0 attaching NULL sched-domain.
CPU1 attaching NULL sched-domain.
CPU0 attaching NULL sched-domain.
CPU1 is down
Back to C!
CPU0: Thermal LVT vector (0xfa) already installed
Enabling non-boot CPUs ...
SMP alternatives: switching to SMP code
Booting processor 1 APIC 0x1 ip 0x6000
Initializing CPU#1
Calibrating delay using timer specific routine.. 3199.52 BogoMIPS (lpj=1599760)
CPU: L1 I cache: 32K, L1 D cache: 24K
CPU: L2 cache: 512K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU1: Thermal monitoring enabled (TM1)
CPU1: Intel(R) Atom(TM) CPU  230   @ 1.60GHz stepping 02
checking TSC synchronization [CPU#0 -> CPU#1]: passed.
CPU0 attaching NULL sched-domain.
CPU0 attaching sched-domain:
 domain 0: span 0-1 level SIBLING
  groups: 0 1
CPU1 attaching sched-domain:
 domain 0: span 0-1 level SIBLING
  groups: 1 0
CPU1 is up
ACPI: Waking up from system sleep state S3
ohci_hcd 0000:00:04.0: restoring config space at offset 0x1 (was 0xb00007, writing 0xb00003)
ehci_hcd 0000:00:04.1: restoring config space at offset 0x1 (was 0xb00006, writing 0xb00002)
ohci_hcd 0000:00:06.0: restoring config space at offset 0x1 (was 0xb00007, writing 0xb00003)
ehci_hcd 0000:00:06.1: restoring config space at offset 0x1 (was 0xb00006, writing 0xb00002)
HDA Intel 0000:00:08.0: restoring config space at offset 0x1 (was 0xb00006, writing 0xb00002)
forcedeth 0000:00:0a.0: restoring config space at offset 0x7 (was 0x0, writing 0xfae7e000)
forcedeth 0000:00:0a.0: restoring config space at offset 0x6 (was 0x0, writing 0xfae7e400)
pcieport-driver 0000:00:0c.0: restoring config space at offset 0x1 (was 0x100004, writing 0x100404)
pci 0000:00:10.0: restoring config space at offset 0x3 (was 0x10000, writing 0x10010)
pcieport-driver 0000:00:15.0: restoring config space at offset 0x1 (was 0x100004, writing 0x100404)
pcieport-driver 0000:00:16.0: restoring config space at offset 0x1 (was 0x100004, writing 0x100404)
pcieport-driver 0000:00:17.0: restoring config space at offset 0x1 (was 0x100004, writing 0x100404)
pcieport-driver 0000:00:18.0: restoring config space at offset 0x1 (was 0x100004, writing 0x100404)
nvidia 0000:03:00.0: restoring config space at offset 0xc (was 0xfafe0000, writing 0x0)
nvidia 0000:03:00.0: restoring config space at offset 0x3 (was 0x10, writing 0x0)
nvidia 0000:03:00.0: restoring config space at offset 0x1 (was 0x100107, writing 0x100007)
nForce2_smbus 0000:00:03.2: PME# disabled
ohci_hcd 0000:00:04.0: wake-up capability disabled by ACPI
ohci_hcd 0000:00:04.0: PME# disabled
ohci_hcd 0000:00:04.0: PCI INT A -> Link[LUB0] -> GSI 23 (level, low) -> IRQ 23
ohci_hcd 0000:00:04.0: setting latency timer to 64
ohci_hcd 0000:00:04.0: wake-up capability disabled by ACPI
ohci_hcd 0000:00:04.0: PME# disabled
ehci_hcd 0000:00:04.1: wake-up capability disabled by ACPI
ehci_hcd 0000:00:04.1: PME# disabled
ehci_hcd 0000:00:04.1: PCI INT B -> Link[LUB2] -> GSI 21 (level, low) -> IRQ 21
ehci_hcd 0000:00:04.1: setting latency timer to 64
ehci_hcd 0000:00:04.1: wake-up capability disabled by ACPI
ehci_hcd 0000:00:04.1: PME# disabled
ohci_hcd 0000:00:06.0: wake-up capability disabled by ACPI
ohci_hcd 0000:00:06.0: PME# disabled
ohci_hcd 0000:00:06.0: PCI INT A -> Link[UB11] -> GSI 22 (level, low) -> IRQ 22
ohci_hcd 0000:00:06.0: setting latency timer to 64
ohci_hcd 0000:00:06.0: wake-up capability disabled by ACPI
ohci_hcd 0000:00:06.0: PME# disabled
ehci_hcd 0000:00:06.1: wake-up capability disabled by ACPI
ehci_hcd 0000:00:06.1: PME# disabled
ehci_hcd 0000:00:06.1: PCI INT B -> Link[UB12] -> GSI 20 (level, low) -> IRQ 20
ehci_hcd 0000:00:06.1: setting latency timer to 64
ehci_hcd 0000:00:06.1: wake-up capability disabled by ACPI
ehci_hcd 0000:00:06.1: PME# disabled
HDA Intel 0000:00:08.0: PCI INT A -> Link[LAZA] -> GSI 21 (level, low) -> IRQ 21
HDA Intel 0000:00:08.0: setting latency timer to 64
pci 0000:00:09.0: setting latency timer to 64
forcedeth 0000:00:0a.0: wake-up capability disabled by ACPI
forcedeth 0000:00:0a.0: PME# disabled
forcedeth 0000:00:0a.0: irq 29 for MSI/MSI-X
eth0: no link during initialization.
pci 0000:00:10.0: setting latency timer to 64
Restarting tasks ... done.
eth0: link up.


Both of these were done immediately after a reboot. Only difference in the USB one was enabling USB.
Immediately after the autorestart with USB enabled, If I disable USB, the machine goes into standby as expected and requires pressing the power button to wake.
I am not using the suspend package (s2ram) I am using hibernate-scripts. The above logs are for hibernate-scripts and not for s2ram.

If I install suspend(s2ram), with USB off, the machine will only hibernate once each reboot. After the first suspend the machine will auto-wake. Sounds the same as the link in the first post.
If I enable USB with s2ram the machine auto-wakes on the first suspend and all later suspends it auto-wakes. If I disable USB after the first suspend the machine still auto-wakes.

As this is for an HTPC I would prefer being able to suspend and wake using the remote, without having to walk over to the system to press the button.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum