Suspend fails 50% of time on Linux 3.1.1, works on 3.0.4
Hi folks,
I upgraded yesterday from 3.0.4 to 3.1.1 and noticed that suspend wasn't working anymore as it used to. I began to investigate the problem and at it's core I believe that the cause is a buggy BIOS - the lid states are not correctly reported. To be precise, after resume, the lid state is:
$ cat /proc/acpi/button/lid/LID/state
state: closed
which is obviously invalid. The problem is described in detail already in a 2006 bug report on ubuntu bug tracker.
However, to my Toshiba Satellite U300, this didn't pose a big problem, because the Linux 3.0.4 always returned a lid close event, regardless of the lid state. However, in 3.1.1 it seems that a lid close event is not generated if the lid state is already closed. Thus when the lid is closed, no event is generated and the computer does not suspend. But when the lid is opened, a lid open event is generated (note: lid open is never generated when resuming from a suspend!) which corrects the lid state as open!
This means that to suspend the computer, the lid has to be closed every time twice. I know this problem affects other models too.. I seem to have an HP laptop in this household that's showing roughly the same symptoms.. lid needs to be closed twice. It's running Linux Mint though, and I haven't diagnosed the problem at all yet.
Here are the differences between 3.0.4 and 3.1.1 in acpi_listen
linux 3.1.1
$ acpi_listen
(CLOSE LID)
button/lid LID close
(OPEN LID - No lid event!)
battery PNP0C0A:00 00000081 00000001
processor LNXCPU:00 00000081 00000000
processor LNXCPU:01 00000081 00000000
ac_adapter ACPI0003:00 00000080 00000001
battery PNP0C0A:00 00000080 00000001
(CLOSE LID - No lid event, no suspend!)
(OPEN LID)
button/lid LID open
(CLOSE LID)
button/lid LID close
(OPEN LID - No lid event!)
battery PNP0C0A:00 00000081 00000001
processor LNXCPU:00 00000081 00000000
processor LNXCPU:01 00000081 00000000
ac_adapter ACPI0003:00 00000080 00000001
battery PNP0C0A:00 00000080 00000001
linux 3.0.4
$ acpi_listen
(CLOSE LID)
button/lid LID 00000080 00000003
(OPEN LID - No lid event!)
battery BAT1 00000081 00000001
processor CPU0 00000081 00000000
processor CPU1 00000081 00000000
ac_adapter ACAD 00000080 00000001
battery BAT1 00000080 00000001
(CLOSE LID)
button/lid LID 00000080 00000004
(OPEN LID)
battery BAT1 00000081 00000001
processor CPU0 00000081 00000000
processor CPU1 00000081 00000000
ac_adapter ACAD 00000080 00000001
battery BAT1 00000080 00000001
They both repeat the same pattern. Any gurus here got any advices/ways to deal with this situation? I suppose a DSDT fix would be in place.. it would be nice to catch the lid open event too! For now I'll be sticking with 3.0.4 for the sake of convenience.
Last edited by snaip (2011-11-18 09:39:14)
skunktrader wrote:Same problem here https://bbs.archlinux.org/viewtopic.php?id=130372 complete with a workaround
Thanks, but unfortunately not the same problem. In the above url the problem was about laptops suspending upon receiving a "lid open" event. I noticed that (my laptop was suspending when opening the lid..) and corrected it already before posting this thread.
I'll try to clarify, step by step. Here is what happens, from the point when computer is freshly rebooted and turned on.
Action - output of /proc/acpi/button/lid/LID/state - ACPI event generated - Result
1) Close the lid - state: closed - button/lid LID close - computer suspends
2) Open the lid - state: closed - no event - computer resumes, everything works great, but no lid open event.
3) Close the lid - state: closed - no event - Nothing happens
4) Open the lid - state: open - button/lid LID open - Lid open event.. state changes.
5) Close the lid - state: close - button/lid LID close - Computer suspends
6) Move to step 2
The only difference between 3.1.1 and 3.0.4 behaviour is that in 3.0.4 a LID close event is generated in step 3 (and thus the next step is step 2). The proc/acpi/button/lid/LID/state is always "closed". I've been browsing the kernel git, but haven't found at least so far what has caused it.
I'll try to pinpoint the exact version change where the problem occurs.
Last edited by snaip (2011-11-18 11:56:23)
Similar Messages
-
Suspends fails the first time, but succeeds the second time
Hi all,
I am running Arch Linux on my Dell XPS 15 9530 laptop, and overall I am very happy with the combination. I have however had some issues with suspending.
The problem is that the first time I try to suspend the machine it seems to go to sleep, but then two seconds later it automatically wakes up again. If I then immediately try again to suspend, it works (it does not wake up automatically). Does anyone know what could be going on, and how this can be fixed?
Usually I suspend from my gnome 3 desktop, but I have also tried to suspend directly using 'systemctl suspend' without having an X server running, and the result is exactly the same. I have tried a few versions of the vanilla kernel, but also the linux-lts and the linux-ck images, but to no avail.
Here is the output from dmesg, where suspend fails:
PM: Syncing filesystems ... done.
PM: Preparing system for mem sleep
bbswitch: enabling discrete graphics
Freezing user space processes ... (elapsed 0.543 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
PM: Entering mem sleep
Suspending console(s) (use no_console_suspend to debug)
sd 1:0:0:0: [sda] Synchronizing SCSI cache
smsc75xx 3-1:1.0 enp0s20u1: entering SUSPEND2 mode
sd 1:0:0:0: [sda] Stopping disk
Removing pn544
PM: suspend of devices complete after 334.544 msecs
PM: late suspend of devices complete after 0.201 msecs
ehci-pci 0000:00:1d.0: System wakeup enabled by ACPI
ehci-pci 0000:00:1a.0: System wakeup enabled by ACPI
xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI
PM: noirq suspend of devices complete after 26.944 msecs
ACPI: Preparing to enter system sleep state S3
PM: Saving platform NVS memory
Disabling non-boot CPUs ...
kvm: disabling virtualization on CPU1
smpboot: CPU 1 is now offline
kvm: disabling virtualization on CPU2
smpboot: CPU 2 is now offline
kvm: disabling virtualization on CPU3
smpboot: CPU 3 is now offline
kvm: disabling virtualization on CPU4
smpboot: CPU 4 is now offline
kvm: disabling virtualization on CPU5
smpboot: CPU 5 is now offline
kvm: disabling virtualization on CPU6
smpboot: CPU 6 is now offline
kvm: disabling virtualization on CPU7
smpboot: CPU 7 is now offline
ACPI: Low-level resume complete
PM: Restoring platform NVS memory
Enabling non-boot CPUs ...
x86: Booting SMP configuration:
smpboot: Booting Node 0 Processor 1 APIC 0x2
kvm: enabling virtualization on CPU1
Intel pstate controlling: cpu 1
CPU1 is up
smpboot: Booting Node 0 Processor 2 APIC 0x4
kvm: enabling virtualization on CPU2
Intel pstate controlling: cpu 2
CPU2 is up
smpboot: Booting Node 0 Processor 3 APIC 0x6
kvm: enabling virtualization on CPU3
Intel pstate controlling: cpu 3
CPU3 is up
smpboot: Booting Node 0 Processor 4 APIC 0x1
kvm: enabling virtualization on CPU4
Intel pstate controlling: cpu 4
CPU4 is up
smpboot: Booting Node 0 Processor 5 APIC 0x3
kvm: enabling virtualization on CPU5
Intel pstate controlling: cpu 5
CPU5 is up
smpboot: Booting Node 0 Processor 6 APIC 0x5
kvm: enabling virtualization on CPU6
Intel pstate controlling: cpu 6
CPU6 is up
smpboot: Booting Node 0 Processor 7 APIC 0x7
kvm: enabling virtualization on CPU7
Intel pstate controlling: cpu 7
CPU7 is up
ACPI: Waking up from system sleep state S3
acpi LNXPOWER:01: Turning OFF
xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
ehci-pci 0000:00:1a.0: System wakeup disabled by ACPI
ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI
PM: noirq resume of devices complete after 73.424 msecs
PM: early resume of devices complete after 0.091 msecs
mei_me 0000:00:16.0: irq 49 for MSI/MSI-X
snd_hda_intel 0000:00:03.0: irq 50 for MSI/MSI-X
snd_hda_intel 0000:00:1b.0: irq 53 for MSI/MSI-X
mei_me 0000:00:16.0: NFC MEI VERSION: IVN 0x1 Vendor ID 0x1 Type 0x1
Probing NFC pn544
ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
ata2.00: failed to get NCQ Send/Recv Log Emask 0x1
usb 3-1: reset high-speed USB device number 2 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 1.
ata2.00: failed to get NCQ Send/Recv Log Emask 0x1
ata2.00: configured for UDMA/133
sd 1:0:0:0: [sda] Starting disk
usb 3-1: reset high-speed USB device number 2 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 1.
usb 3-1: reset high-speed USB device number 2 using xhci_hcd
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88007fd75180
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88007fd751c0
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88007fd75200
smsc75xx 3-1:1.0 enp0s20u1: resuming from SUSPEND2
usb 3-4: reset full-speed USB device number 3 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 2.
usb 3-4: reset full-speed USB device number 3 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 2.
usb 3-4: reset full-speed USB device number 3 using xhci_hcd
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804148f9ac0
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804148f9a80
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804148f9a40
usb 3-6: reset full-speed USB device number 4 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 3.
usb 3-6: reset full-speed USB device number 4 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 3.
[drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
usb 3-6: reset full-speed USB device number 4 using xhci_hcd
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804174ddc80
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804174ddcc0
usb 3-11: reset high-speed USB device number 6 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 5.
usb 3-11: reset high-speed USB device number 6 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 5.
usb 3-11: reset high-speed USB device number 6 using xhci_hcd
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804148f9480
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804148f9440
usb 3-9: reset full-speed USB device number 5 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 4.
usb 3-9: reset full-speed USB device number 5 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 4.
pciehp 0000:00:1c.0:pcie04: Link Training Error occurs
pciehp 0000:00:1c.0:pcie04: Failed to check link status
dpm_run_callback(): pnp_bus_resume+0x0/0xa0 returns -19
PM: Device 00:08 failed to resume: error -19
usb 3-9: reset full-speed USB device number 5 using xhci_hcd
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804181db000
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804181db040
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804181db080
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880417451e80
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880417451ec0
PM: resume of devices complete after 2769.054 msecs
PM: Finishing wakeup.
Restarting tasks ...
iwlwifi 0000:06:00.0: no hotplug settings from platform
rtsx_pci 0000:07:00.0: no hotplug settings from platform
done.
Bluetooth: hci0: read Intel version: 370710018002030d00
Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
video LNXVIDEO:00: Restoring backlight state
video LNXVIDEO:01: Restoring backlight state
bbswitch: disabling discrete graphics
ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Bluetooth: hci0: Intel Bluetooth firmware patch completed and activated
smsc75xx 3-1:1.0 enp0s20u1: link down
smsc75xx 3-1:1.0 enp0s20u1: link down
smsc75xx 3-1:1.0 enp0s20u1: kevent 4 may have been dropped
smsc75xx 3-1:1.0 enp0s20u1: link down
smsc75xx 3-1:1.0 enp0s20u1: link down
and here where suspend succeeds:
smsc75xx 3-1:1.0 enp0s20u1: kevent 4 may have been dropped
smsc75xx 3-1:1.0 enp0s20u1: link up, 100Mbps, full-duplex, lpa 0xC5E1
smsc75xx 3-1:1.0 enp0s20u1: link up, 100Mbps, full-duplex, lpa 0xC5E1
PM: Syncing filesystems ... done.
PM: Preparing system for mem sleep
bbswitch: enabling discrete graphics
Freezing user space processes ... (elapsed 0.412 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
PM: Entering mem sleep
Suspending console(s) (use no_console_suspend to debug)
sd 1:0:0:0: [sda] Synchronizing SCSI cache
smsc75xx 3-1:1.0 enp0s20u1: entering SUSPEND2 mode
sd 1:0:0:0: [sda] Stopping disk
Removing pn544
PM: suspend of devices complete after 780.265 msecs
PM: late suspend of devices complete after 0.387 msecs
ehci-pci 0000:00:1d.0: System wakeup enabled by ACPI
ehci-pci 0000:00:1a.0: System wakeup enabled by ACPI
xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI
PM: noirq suspend of devices complete after 26.988 msecs
ACPI: Preparing to enter system sleep state S3
PM: Saving platform NVS memory
Disabling non-boot CPUs ...
kvm: disabling virtualization on CPU1
smpboot: CPU 1 is now offline
kvm: disabling virtualization on CPU2
smpboot: CPU 2 is now offline
kvm: disabling virtualization on CPU3
smpboot: CPU 3 is now offline
kvm: disabling virtualization on CPU4
smpboot: CPU 4 is now offline
kvm: disabling virtualization on CPU5
smpboot: CPU 5 is now offline
kvm: disabling virtualization on CPU6
smpboot: CPU 6 is now offline
kvm: disabling virtualization on CPU7
smpboot: CPU 7 is now offline
ACPI: Low-level resume complete
PM: Restoring platform NVS memory
Enabling non-boot CPUs ...
x86: Booting SMP configuration:
smpboot: Booting Node 0 Processor 1 APIC 0x2
kvm: enabling virtualization on CPU1
Intel pstate controlling: cpu 1
CPU1 is up
smpboot: Booting Node 0 Processor 2 APIC 0x4
kvm: enabling virtualization on CPU2
Intel pstate controlling: cpu 2
CPU2 is up
smpboot: Booting Node 0 Processor 3 APIC 0x6
kvm: enabling virtualization on CPU3
Intel pstate controlling: cpu 3
CPU3 is up
smpboot: Booting Node 0 Processor 4 APIC 0x1
kvm: enabling virtualization on CPU4
Intel pstate controlling: cpu 4
CPU4 is up
smpboot: Booting Node 0 Processor 5 APIC 0x3
kvm: enabling virtualization on CPU5
Intel pstate controlling: cpu 5
CPU5 is up
smpboot: Booting Node 0 Processor 6 APIC 0x5
kvm: enabling virtualization on CPU6
Intel pstate controlling: cpu 6
CPU6 is up
smpboot: Booting Node 0 Processor 7 APIC 0x7
kvm: enabling virtualization on CPU7
Intel pstate controlling: cpu 7
CPU7 is up
ACPI: Waking up from system sleep state S3
acpi LNXPOWER:01: Turning OFF
xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
ehci-pci 0000:00:1a.0: System wakeup disabled by ACPI
ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI
PM: noirq resume of devices complete after 73.411 msecs
PM: early resume of devices complete after 0.097 msecs
mei_me 0000:00:16.0: irq 49 for MSI/MSI-X
snd_hda_intel 0000:00:03.0: irq 50 for MSI/MSI-X
snd_hda_intel 0000:00:1b.0: irq 53 for MSI/MSI-X
mei_me 0000:00:16.0: NFC MEI VERSION: IVN 0x1 Vendor ID 0x1 Type 0x1
Probing NFC pn544
ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
ata2.00: failed to get NCQ Send/Recv Log Emask 0x1
usb 3-4: reset full-speed USB device number 3 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 2.
ata2.00: failed to get NCQ Send/Recv Log Emask 0x1
ata2.00: configured for UDMA/133
sd 1:0:0:0: [sda] Starting disk
usb 3-4: reset full-speed USB device number 3 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 2.
usb 3-4: reset full-speed USB device number 3 using xhci_hcd
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804148f9ac0
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804148f9a80
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804148f9a40
usb 3-1: reset high-speed USB device number 2 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 1.
usb 3-1: reset high-speed USB device number 2 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 1.
usb 3-1: reset high-speed USB device number 2 using xhci_hcd
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88007fd75180
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88007fd751c0
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff88007fd75200
smsc75xx 3-1:1.0 enp0s20u1: resuming from SUSPEND2
usb 3-9: reset full-speed USB device number 5 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 4.
usb 3-9: reset full-speed USB device number 5 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 4.
[drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
usb 3-9: reset full-speed USB device number 5 using xhci_hcd
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804181db000
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804181db040
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804181db080
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880417451e80
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880417451ec0
usb 3-6: reset full-speed USB device number 4 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 3.
usb 3-6: reset full-speed USB device number 4 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 3.
usb 3-6: reset full-speed USB device number 4 using xhci_hcd
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804174ddc80
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804174ddcc0
usb 3-11: reset high-speed USB device number 6 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 5.
usb 3-11: reset high-speed USB device number 6 using xhci_hcd
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 5.
pciehp 0000:00:1c.0:pcie04: Link Training Error occurs
pciehp 0000:00:1c.0:pcie04: Failed to check link status
dpm_run_callback(): pnp_bus_resume+0x0/0xa0 returns -19
PM: Device 00:08 failed to resume: error -19
usb 3-11: reset high-speed USB device number 6 using xhci_hcd
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804148f9480
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8804148f9440
PM: resume of devices complete after 2801.389 msecs
PM: Finishing wakeup.
Restarting tasks ...
iwlwifi 0000:06:00.0: no hotplug settings from platform
rtsx_pci 0000:07:00.0: no hotplug settings from platform
done.
Bluetooth: hci0: read Intel version: 370710018002030d00
Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
video LNXVIDEO:00: Restoring backlight state
video LNXVIDEO:01: Restoring backlight state
bbswitch: disabling discrete graphics
ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
Bluetooth: hci0: Intel Bluetooth firmware patch completed and activated
systemd[1]: Requested transaction contradicts existing jobs: File exists
systemd[1]: Service sleep.target is not needed anymore. Stopping.
smsc75xx 3-1:1.0 enp0s20u1: kevent 4 may have been dropped
smsc75xx 3-1:1.0 enp0s20u1: link down
smsc75xx 3-1:1.0 enp0s20u1: link down
It seems to me like the only real difference has to do with the xhci_hcd errors, perhaps the following:
xhci_hcd 0000:00:14.0: Setup ERROR: setup context command for slot 2.
Any input or help would be highly appreciated.Rexilion wrote:Maybe you could confirm your suspicion by rmmoding xhci before suspend and modprobing it after resume?
Thanks for the response. I should have said so, but I had already tried that, but without any luck. It seems like it doesn't change anything. -
[Solved] Systemd suspend fails everytime
Hi,
I've been using Arch Linux on my laptop for a while now and suddenly my laptop would not go into suspend anymore.
My laptop is Asus UX32VD.
Here's the whole journalctl between suspend starting and suspend failing.
I also get this at bootup:
[drm:intel_dp_start_link_train] *ERROR* too many voltage retries, give up
some while ago the iSSD in my laptop failed but it was later that the computer stopped suspending.
Does anyone see the problem?
Thanks.
Edit: When I try to mount the iSSD partitions I get the same error messages that begin with "ata2.00" so those errors seem to be connected to the iSSD drive. Now, I can't disable the drive in bios, is it possible to make arch linux ignore it all together?
Edit2: Arch Linux is installed on sda (ata1) and the bad drive is sdb (ata2)
Edit3: The broken ssd was the culprit. When I write 1 to /sys/block/sdb/device/delete the laptop suspends correctly.
So I made the following systemd service:
[Unit]
Description=Disable my fault ssd drive at suspend
[Service]
Type=OneShot
ExecStart=/bin/sh -c 'echo 1 > /sys/block/sdb/device/delete'
[Install]
WantedBy=sleep.target
Changing status to solved
Last edited by granra (2014-04-18 23:01:57)Rexilion wrote:What is stopping you from taking it out?
It's soldered to the motherboard. -
When logging in into yahoo mail after typing in password Firefox is adding something, probably remembered password and login fails all the time. At yahoo mail Notepad does not work because it is impossible to close the list of items and they cover information, so I have to go to IE.
Only when i go to a different browser (like IE) after i clear it , then all that shows up is the pages i visited in IE , that is what bugs me , why is IE browsing history sowing up in Firefox ??
Basically , i can clear the history in Firefox , and then for a example , go to Craigslist , using IE7 (launching it from a complete different Icon , in other words at that time i never open Firefox) , then after closing out , or even leaving open as it does not seem to matter , i go into Firefox , and hit History , and there is every place i visited in IE7 , on my History in Firefox -
When I try to do a Time Machine backup with my Seagate HD, and if I accidentally have Time Machine automatically on, it will fail if the HD is not fully on and recognized by the computer yet. But the problem is that when this has happened (twice now), it seems it loses all knowledge that it has backed up using Time Machine before and it will only try to back up the entire Mac HD to the Seagate. The Seagate already has 147 GB of data from prior Time Machine backups and I only need to backup the latest stuff since my last backup, but it won't let me do that. It tries to do the whole drive and it says it can't because there is only 135 GB of space left and it needs to backup 147 GB. Anyone know how to fix this and get it to start backing up again without erasing the drive and starting over? That's what I did last time. I erased the Seagate and then reset it as my Time Machine drive and it started working fine again until it failed and reverted to the problem. Thanks
These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
View ▹ Show Log List
from the menu bar.
Enter the word "Starting" (without the quotes) in the String Matching text field. You should now see log messages with the words "Starting * backup," where * represents any of the words "automatic," "manual," or "standard." Note the timestamp of the last such message that corresponds to an abnormal backup. Now
CLEAR THE WORD "Starting" FROM THE TEXT FIELD
so that all messages are showing, and scroll back in the log to the time you noted. Select the messages timestamped from then until the end of the backup, or the end of the log if that's not clear. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
If all you see are messages that contain the word "Starting," you didn't clear the text field.
If there are runs of repeated messages, post only one example of each. Don't post many repetitions of the same message.
When posting a log extract, be selective. Don't post more than is requested.
Please do not indiscriminately dump thousands of lines from the log into this discussion.
Some personal information, such as the names of your files, may be included—anonymize before posting. -
Hi,
Webtier Utilities 11.1.1.2 failed to install on Oracle Linux OEL 5.7 x86_64 (Linux vilje05 2.6.18-274.3.1.0.1.el5 #1 SMP Wed Sep 7 06:02:50 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux):
[oracle@vilje05 ~]$ cd install/Disk1/
[oracle@vilje05 Disk1]$ ./runInstaller -silent -response /home2/oracle/my_response.txt -invPtrLoc /home2/oracle/orainv.loc
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 80 MB. Actual 5192 MB Passed
Checking swap space: must be greater than 500 MB. Actual 2000 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-10-19_03-27-57PM. Please wait ...[oracle@vilje05 Disk1]$ Lo
g: /home2/oracle/oraInventory/logs/install2011-10-19_03-27-57PM.log
Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
Reading response file..
Expected result: One of enterprise-5.4,enterprise-4,enterprise-5,redhat-5.4,redhat-4,redhat-5,SuSE-10
Actual Result: enterprise-5
Check complete. The overall result of this check is: Passed
CertifiedVersions Check: Success.
Checking for binutils-2.17.50.0.6; found binutils-2.17.50.0.6-14.el5-x86_64. Passed
Checking for compat-libstdc++-33-3.2.3-x86_64; found compat-libstdc++-33-3.2.3-61-x86_64. Passed
Checking for compat-libstdc++-33-3.2.3-i386; found compat-libstdc++-33-3.2.3-61-i386. Passed
Checking for elfutils-libelf-0.125; found elfutils-libelf-0.137-3.el5-i386. Passed
Checking for elfutils-libelf-devel-0.125; found elfutils-libelf-devel-0.137-3.el5-x86_64. Passed
Checking for gcc-4.1.1; found gcc-4.1.2-51.el5-x86_64. Passed
Checking for gcc-c++-4.1.1; found gcc-c++-4.1.2-51.el5-x86_64. Passed
Checking for glibc-2.5-12-x86_64; found glibc-2.5-65-x86_64. Passed
Checking for glibc-2.5-12-i686; found glibc-2.5-65-i686. Passed
Checking for glibc-common-2.5; found glibc-common-2.5-65-x86_64. Passed
Checking for glibc-devel-2.5-x86_64; found glibc-devel-2.5-65-x86_64. Passed
Checking for glibc-devel-2.5-12-i386; found glibc-devel-2.5-65-i386. Passed
Checking for libaio-0.3.106-x86_64; found libaio-0.3.106-5-x86_64. Passed
Checking for libaio-0.3.106-i386; found libaio-0.3.106-5-i386. Passed
Checking for libaio-devel-0.3.106; found libaio-devel-0.3.106-5-x86_64. Passed
Checking for libgcc-4.1.1-x86_64; found libgcc-4.1.2-51.el5-x86_64. Passed
Checking for libgcc-4.1.1-i386; found libgcc-4.1.2-51.el5-i386. Passed
Checking for libgcc-4.1.1-i386; found libgcc-4.1.2-51.el5-i386. Passed
Checking for libstdc++-4.1.1-x86_64; found libstdc++-4.1.2-51.el5-x86_64. Passed
Checking for libstdc++-4.1.1-i386; found libstdc++-4.1.2-51.el5-i386. Passed
Checking for libstdc++-devel-4.1.1; found libstdc++-devel-4.1.2-51.el5-x86_64. Passed
Checking for make-3.81; found make-1:3.81-3.el5-x86_64. Passed
Checking for sysstat-7.0.0; found sysstat-7.0.2-11.el5-x86_64. Passed
Check complete. The overall result of this check is: Passed
Packages Check: Success.
Checking for VERSION=2.6.18; found VERSION=2.6.18-274.3.1.0.1.el5. Passed
Checking for hardnofiles=4096; found hardnofiles=16384. Passed
Checking for softnofiles=4096; found softnofiles=16384. Passed
Check complete. The overall result of this check is: Passed
Kernel Check: Success.
Expected result: ATLEAST=2.5-12
Actual Result: 2.5-65
Check complete. The overall result of this check is: Passed
GLIBC Check: Success.
Expected result: 1024MB
Actual Result: 11732MB
Check complete. The overall result of this check is: Passed
TotalMemory Check: Success.
Expected result: LD_ASSUME_KERNEL environment variable should not be set in the environment.
Actual Result: Variable Not set.
Check complete. The overall result of this check is: Passed
Check Env Variable Check: Success.
Verifying data......
Copying Files...
-----------20%----------40%----------60%----------80%--------100%
Applying Oneoff Patch...
[CONFIG] Launching Config Actions....
Started Configuration:Web Tier Configuration
[CONFIG]:Create and Start AS Instance (instance1)
[CONFIG] [Web Tier Configuration] [Create and Start AS Instance (instance1)]:Creating Oracle Instance directories...
[CONFIG] [Web Tier Configuration] [Create and Start AS Instance (instance1)]:Recording OPMN ports reservations...
[CONFIG] [Web Tier Configuration] [Create and Start AS Instance (instance1)]:Bootstrapping OPMN configuration files...
[CONFIG] [Web Tier Configuration] [Create and Start AS Instance (instance1)]:Instantiating opmnctl for direct usage...
[CONFIG] [Web Tier Configuration] [Create and Start AS Instance (instance1)]:Skipping instance registration
[CONFIG] SUCCESS:Create and Start AS Instance (instance1)
[CONFIG]:Create and Start OHS Component (ohs1)
[CONFIG] [Web Tier Configuration] [Create and Start OHS Component (ohs1)]:Creating empty component directories...
[CONFIG] [Web Tier Configuration] [Create and Start OHS Component (ohs1)]:Provisioning OHS files for ohs1
[CONFIG] [Web Tier Configuration] [Create and Start OHS Component (ohs1)]:Copying OHS files from ORACLE_HOME to ORACLE_INSTANCE locations
[CONFIG] [Web Tier Configuration] [Create and Start OHS Component (ohs1)]:Customizing httpd.conf
[CONFIG] [Web Tier Configuration] [Create and Start OHS Component (ohs1)]:Adding component's process control to OPMN...
[CONFIG] [Web Tier Configuration] [Create and Start OHS Component (ohs1)]:Skipping ohs1 component registration.
[CONFIG] FAILED:Create and Start OHS Component (ohs1)
Question Received:Failed to Start OHS Component
[CONFIG] [Web Tier Configuration]:Failed to Start OHS Component
[CONFIG] FAILED:Create and Start OHS Component (ohs1)
Configuration:Web Tier Configuration failed
Error while running Configuration.
The installation of Oracle AS Common Toplevel Component, Oracle WebTier and Utilities CD failed.
[oracle@vilje05 Disk1]$
[oracle@vilje05 ~]$ opmnctl stopall
XML parser init: error 54.
opmnctl stopall: error parsing /home2/oracle/bea_default/Oracle_WT1/instances/instance1/config/OPMN/opmn/opmn.xml
===
$ cat my_response.txt
[ENGINE]
#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0
[GENERIC]
#Set this to true if installation and configuration need to be done, all other required variables need to be provided. Variable "INSTALL AND CONFIGURE LATER TYPE" must be set to false if this is set to true as the variables are mutually exclusive
INSTALL AND CONFIGURE TYPE=true
#Set this to true if only Software only installation need to be done. If this is set to true then variable "INSTALL AND CONFIGURE TYPE" must be set to false, since the variables are mutually exclusive.
INSTALL AND CONFIGURE LATER TYPE=false
#Provide the Oracle Home location. The location has to be the immediate child under the specified Middleware Home location. The Oracle Home directory name may only contain alphanumeric , hyphen (-) , dot (.) and underscore (_) characters, and it must begin with an alphanumeric character. The total length has to be less than or equal to 128 characters. The location has to be an empty directory or a valid SOA Oracle Home.
ORACLE_HOME=/home2/oracle/bea_default/Oracle_WT1
#Provide existing Middleware Home location.
MIDDLEWARE_HOME=/home2/oracle/bea_default
#The name of the Oracle Instance. Instance name must begin with an alphabetic character, may only contain alphanumeric characters, or the underscore (_) or hyphen (-) characters and are 4 to 30 characters long.
INSTANCE_HOME=/home2/oracle/bea_default/Oracle_WT1/instances/instance1
#Provide the Oracle Instance location. The Oracle Instance directory name may only contain alphanumeric , hyphen (-) , dot (.) and underscore (_) characters, and it must begin with an alphanumeric character. The total length has to be less than or equal to 128 characters. The location has to be an empty or non existing directory.
INSTANCE_NAME=instance1
#If set to true, installer will auto assign ports
AUTOMATIC_PORT_DETECT=true
#This is required if "AUTOMATIC_PORT_DETECT" variable is set to false, absolute path of a staticports file location need to be provided with values for ports.\nThe template for staticports.ini can be found from Disk1/staget/Response directory of the shiphome.
STATICPORT INI FILE LOCATION=
#Provide the My Oracle Support Username. If you wish to ignore Oracle Configuration Manager configuration provide empty string for user name.
MYORACLESUPPORT_USERNAME=
#Provide the My Oracle Support Password
MYORACLESUPPORT_PASSWORD=<SECURE VALUE>
#Set this to true if you wish to decline the security updates. Setting this to true and providing empty string for My Oracle Support username will ignore the Oracle Configuration Manager configuration
DECLINE_SECURITY_UPDATES=true
#Set this to true if My Oracle Support Password is specified
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
#Provide the Proxy Host
PROXY_HOST=
#Provide the Proxy Port
PROXY_PORT=
#Provide the Proxy Username
PROXY_USER=
#Provide the Proxy Password
PROXY_PWD=<SECURE VALUE>
[SYSTEM]
#Set true to configure Oracle HTTP Server, else skip Oracle HTTP Server configuration
CONFIGURE_OHS=true
#Set true to configure Oracle Web Cache, else skip Oracle Web Cache configuration
CONFIGURE_WEBCACHE=false
#The Oracle HTTP Server (OHS) component name (required only if CONFIGURE_OHS is set to true). OHS component name must begin with an alphabetic character, may only contain alphanumeric characters, or the underscore (_) or hyphen (-) characters and are 4 to 30 characters long.
OHS_COMPONENT_NAME=ohs1
[APPLICATIONS]
[RELATIONSHIPS]
#If set to true, the instance and components will be registered with an existing weblogic server
ASSOCIATE_WEBTIER_WITH_DOMAIN=false
==
as you see all checks passed OK, but the whole install failed. What could be wrong? And what is XML parser init: error 54?
Edited by: 892273 on Oct 19, 2011 8:12 AMWhere's the WebLogic Server home???
Else you should attach this to an existing WebLogic domain
kind regards
Michel
Edited by: Michel Schildmeijer on 20-okt-2011 15:57 -
Can't Back Up Fails to Mount Time Capsule
I suddenly can't back up any more. It fails to mount Time Capsule. I am able to mount the Time Capsule via the Finder. I have mounted it and run Disk Utilities on it once it is mounted. It checks out with no repairs.
What gives?
By the way there is plenty of empty space on the drive.The problem corrected itself after I using disk repair and manually unmounting the image via the finder. I found it helped to connect to the drive via ethernet to do the back up because it had been so many days and it was taking all night to do the back up wirelessly.
-
Package failed with run time error: " GETWA_NOT_ASSIGNED".
Hi,
One of our custom package is failing with run time error " GETWA_NOT_ASSIGNED". We are getting this error after refresh. Infact this package is working fine both in production and Dev, but in QA system it giving runtime error.
Here with I am pasting run time error details. Please see...If any one have any idea or clue or if you have faced this kind of error.
Thanks is advance.
Error Details.
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_UJK_CUSTOM_LOGIC===========CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
You attempted to access an unassigned field symbol
(data segment 32774).
This error may occur if
- You address a typed field symbol before it has been set with
ASSIGN
- You address a field symbol that pointed to the line of an
internal table that was deleted
- You address a field symbol that was previously reset using
UNASSIGN or that pointed to a local field that no
longer exists
- You address a global function interface, although the
respective function module is not active - that is, is
not in the list of active calls. The list of active calls
can be taken from this short dump.
Regards, TrineHi Trine,
the error is about some field you are trying to map using field-simbols, that is diferent in the other system.
Go to the code program in the st22, there you will see when the erros occurs e what field gives the error.
Best Regards,
António -
I was today invited to upgrade my iTunes when I logged on. Update failed. Every time I now try to open iTunes I get error messages. Second message reads "iTunes was not installed correctly. Please re-install iTunes. Error 7. Windows error 126". I now can't sync my iPhoneand I am worried that if I re-install I will lose all my contacts,calendar, notes, etc.
I too had this problems (Windows 8.1). A few weeks ago after the previous update before this version of itunes, I'd had a problem with the itunes store crashing and at that time I followed instructions to copy QTMovieWin.dll to the itunes folder, which fixed the store crashing.
Today I fixed the problem by:
Delete QTMovieWin.dll from C:\Program Files (x86)\iTunes.
Uninstall ALL Apple Software using Control Panel / Programs and Features. I uninstalled:
iTunes
QuickTime
Apple Mobile Device Support
Apple Application Support
Apple Software Update
Bonjour
Delete the folders:
C:\Program Files (x86)\iTunes
C:\Program Files (x86)\Common Files\Apple
Restart the computer
Reinstall QuickTime
Reinstall iTunes
Everything works GREAT now, including the iTunes store. You will not lose your media files, I got everything back, all my settings, playlists, etc. -
"Installation Failed" the first time going in an application
I have an installer which installs a necessary version of the JRE, then calls installSucceeded(false) at the end. Everything seems to work as far as installing the JRE; however, I get an "Installation Failed" message after the JRE installs. The next time I launch my application it works just fine. Any idea of whats going on here? Any help would be appreciated.
To help some, it appears that the installer is as two separator instances at the same time.
-
Suspends only every second time when lid closed
Hello everybody, my problem is as the subject: to suspend I have to close usually the laptop lid twice.
I'm using kde, but I have also used years ago fluxbox, tweaking scripts and using laptop-mode (which is not running now). Thanks in advance for every idea where to look.
/etc/acpi$ cat handler.sh
#!/bin/sh
# Default acpi script that takes an entry for all actions
minspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq`
maxspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`
setspeed="/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed"
set $*
case "$1" in
button/power)
case "$2" in
PBTN|PWRF)
logger "PowerButton pressed: $2"
poweroff
logger "ACPI action undefined: $2"
esac
button/sleep)
case "$2" in
SLPB|SBTN)
echo -n mem >/sys/power/state
logger "ACPI action undefined: $2"
esac
ac_adapter)
case "$2" in
AC|ACAD|ADP0)
case "$4" in
00000000)
echo -n $minspeed >$setspeed
#/etc/laptop-mode/laptop-mode start
00000001)
echo -n $maxspeed >$setspeed
#/etc/laptop-mode/laptop-mode stop
esac
logger "ACPI action undefined: $2"
esac
battery)
case "$2" in
BAT0)
case "$4" in
00000000)
logger 'Battery online'
00000001)
logger 'Battery offline'
esac
CPU0)
*) logger "ACPI action undefined: $2" ;;
esac
button/lid)
case "$3" in
close)
logger 'LID closed'
open)
logger 'LID opened'
logger "ACPI action undefined: $3"
esac
logger "ACPI group/action undefined: $1 / $2"
esac
# vim:set ts=4 sw=4 ft=sh et:I actually do not understand who comands at the end - this handler.sh or the settings in Kde-powermanaging, I guess it's the second, I did remove the actions for suspend on lid close time ago. I made a test now, when I change handler.sh and check "do nothing when lid close" in kde powersettings happens exact the same: performs suspend every second time only.
button/lid)
case "$3" in
close)
logger 'LID closed'
/usr/sbin/pm-suspend
open)
logger 'LID opened'
logger "ACPI action undefined: $3"
esac
Last edited by steff (2012-07-21 17:08:46) -
Does your iPhone disable for 24 hours when failing a few times to enter your passcode?
Does your iPhone disable for 24 hours when failing a few times to enter your passcode?
Hello Hayema0,
After reviewing your post, I have located an article that can help with iOS passcodes. It contains a number of troubleshooting steps and helpful advice for the issue you are experiencing:
About iOS passcodes - Apple Support
Forget your passcode?
If you or someone else enters the wrong passcode too many times, your device will disable itself temporarily. Get help if you forgot your passcode or your device is disabled.
Learn what to do if you forgot your Restrictions passcode.
Thank you for contributing to Apple Support Communities.
Cheers,
BobbyD -
Dear Experts
Please any one tell how can I change time in LINUX machine through Command???
regards
PAKISTANuser2108660 wrote:
Dear Experts
Please any one tell how can I change time in LINUX machine through Command???
regards
PAKISTANIt's not Linux forum, it's Oracle forum
Your question is so easiy that could be found from simple google-ing
Here it is - http://www.cyberciti.biz/faq/howto-set-date-time-from-linux-command-prompt/ -
Problem when change time of Linux
Hi All,
we are developing an application using Adobe Air 1.5 and an issue is happenning when the time of Linux is delayed. For example, when the clock is delayed from 10 to 9 hours, the application freezes. Do you have any solution to this problem?
Regards
Vamberto.That was my guess
Craig Wollman
Word of Mouth Productions
phone 212 928 9581
fax 212 928 9582
159-00 Riverside Drive West #5H-70
NY, NY 10032
www.wordofmouthpros.com
"openspark" <[email protected]> wrote in
message
news:e1e1pc$183$[email protected]..
> The original code does not work because the rect of the
sprite is not
> updated
> after each command. This will also work...
>
> sprite(1).left = sprite(1).left - 5
> updateStage
> sprite(1).right = sprite(1).right + 5
> updateStage
>
> ... but it uses many more CPU cycles
> -
Java Thread.sleep(timeout) is influenced by changes to System time on Linux
Java Thread.sleep(timeout) is influenced by changes to System time on Linux
bugId : 6311057
I encountered this problem in redhat6/ jdk 1.6890651 wrote:
Java Thread.sleep(timeout) is influenced by changes to System time on Linux
bugId : 6311057
I encountered this problem in redhat6/ jdk 1.6At least half the time I use it, I'd want it to be, the other half I wouldn't care.
What are you doing with it where this might be a problem?
Changing the system clock abruptly can cause all kinds of problems with your system anyway, because various background activities etc. often depend on file dates. Wherever possible use the "skew" method to adjust your system clock, rather than just plonking in a new value, especially if you are setting the clock backwards.
Maybe you are looking for
-
Upgrading from old system - have storage/networking/Photos ?s
Hello, I want to upgrade from an old system and have a few questions: 1.) What are the advantages and disadvantages of getting a Time Capsule vs getting an Airport Extreme and a non-Apple external (cheaper) hard drive? 2.) If I get a 1TB SSD intern
-
I keep getting a message that my iPad has not been backed up to icloud
I keep getting a message on my iPad that my iPad 3 running iOS 6.0.1 has not been backed up to iCloud for 2 or 3 weeks even though Settings>iCloud>Storage and Backup indicates that the iPad has been backed up that very same day. Generally the iPad ba
-
How to use offset in getting the last 7 digit of a sting
Hi, Will you please tell me, how I can use Offset like command for the following code :- Data :- v_file type string . Let v_file = xyz/abc/ABCD/pq.rs.tuv1234 I want to take last 7 digit i.e. "tuv1234" Please tell me.. Saurabh
-
Gurus, is there some functionality in OCS, helping to handle bounce back email. If there isnt, is there any workaround for the issue. Thanks, Howard.
-
Content Server & Knowledge Management
Hi, I am new to the concept of content server & Knowledge management in CRM. Cotent server is already installed and I want to configure content server in CRM 7.0. I found some documents on service.sap.com but that describes the configuration of knowl