You are not logged in.
Pages: 1
Hello all and greetings (my first post),
Nevermind as of:
12/16/15 Motherboard died, thread no longer needed and is obsolete.
Hopefully this is the right section, I recently installed Arch onto a Gateway MD2614u laptop, it utilizes a Crucial MX100 256GB SSD as its boot drive. I am pretty sure I have the required tweaks for that completed.
Performance is exellent, 30sec bootup (about 25 after factoring in my password) and 6sec shutdowns.
However I am having issues with sleeping/suspending this laptop. It utilizes a HD Radeon 3200 as its IGP code number RS780. I am trying to utilize pm-utils to suspend and hybernate this laptop. If I use "sudo pm-suspend" it suspends successfully but when I resume it shows a blinking cursor at the top left and nothing else works (no caps lock or anything). I've used these links to attempt troubleshooting http://chriseiffel.com/everything-linux … 4-mint-11/
http://www.ubuntugeek.com/fix-for-suspe … ment-53547
https://wiki.archlinux.org/index.php/Pm … leshooting
Not sure if this is related but I have calise running as a daemon in systemd it mentioned about pm-utils and I figured install that too. My desktop environment is Cinnamon (very much like win7 but far more customizable).
My system utilizes these modules: (from sudo lspci -v)
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge
Subsystem: Gateway, Inc. Device 0700
Flags: bus master, 66MHz, medium devsel, latency 64
Capabilities: [c4] HyperTransport: Slave or Primary Interface
Capabilities: [54] HyperTransport: UnitID Clumping
Capabilities: [40] HyperTransport: Retry Mode
Capabilities: [9c] HyperTransport: #1a
Capabilities: [f8] HyperTransport: #1c
00:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (int gfx) (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 66
Bus: primary=00, secondary=01, subordinate=01, sec-latency=68
I/O behind bridge: 00009000-00009fff
Memory behind bridge: cfd00000-cfefffff
Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
Capabilities: [44] HyperTransport: MSI Mapping Enable+ Fixed+
Capabilities: [b0] Subsystem: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (int gfx)
Kernel modules: shpchp
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 0) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 24
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: f0500000-f05fffff
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot+), MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [b0] Subsystem: Gateway, Inc. Device 0700
Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [110] Virtual Channel
Kernel driver in use: pcieport
Kernel modules: shpchp
00:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (PCIE port 2) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 25
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
Memory behind bridge: f0300000-f03fffff
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot+), MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [b0] Subsystem: Gateway, Inc. Device 0700
Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [110] Virtual Channel
Kernel driver in use: pcieport
Kernel modules: shpchp
00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 3) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 26
Bus: primary=00, secondary=08, subordinate=08, sec-latency=0
I/O behind bridge: 00001000-00001fff
Memory behind bridge: c8000000-c82fffff
Prefetchable memory behind bridge: 00000000c8300000-00000000c84fffff
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot+), MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [b0] Subsystem: Gateway, Inc. Device 0700
Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [110] Virtual Channel
Kernel driver in use: pcieport
Kernel modules: shpchp
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] (prog-if 01 [AHCI 1.0])
Subsystem: Gateway, Inc. Device 0700
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
I/O ports at 8430 [size=8]
I/O ports at 8424 [size=4]
I/O ports at 8428 [size=8]
I/O ports at 8420 [size=4]
I/O ports at 8400 [size=16]
Memory at f0208000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [60] Power Management version 2
Capabilities: [70] SATA HBA v1.0
Kernel driver in use: ahci
Kernel modules: ahci
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
Subsystem: Gateway, Inc. Device 0700
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at f0004000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller (prog-if 10 [OHCI])
Subsystem: Gateway, Inc. Device 0700
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at f0005000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
Subsystem: Gateway, Inc. Device 0700
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at f0208400 (32-bit, non-prefetchable) [size=256]
Capabilities: [c0] Power Management version 2
Capabilities: [e4] Debug port: BAR=1 offset=00e0
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
Subsystem: Gateway, Inc. Device 0700
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at f0006000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller (prog-if 10 [OHCI])
Subsystem: Gateway, Inc. Device 0700
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at f0007000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
Subsystem: Gateway, Inc. Device 0700
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 10
Memory at f0208800 (32-bit, non-prefetchable) [size=256]
Capabilities: [c0] Power Management version 2
Capabilities: [e4] Debug port: BAR=1 offset=00e0
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3a)
Subsystem: Gateway, Inc. Device 0700
Flags: 66MHz, medium devsel
Capabilities: [b0] HyperTransport: MSI Mapping Enable- Fixed+
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller (prog-if 8a [Master SecP PriP])
Subsystem: Gateway, Inc. Device 0700
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
I/O ports at 01f0 [size=8]
I/O ports at 03f4
I/O ports at 0170 [size=8]
I/O ports at 0374
I/O ports at 8410 [size=16]
Capabilities: [70] MSI: Enable- Count=1/2 Maskable- 64bit-
Kernel driver in use: pata_atiixp
Kernel modules: pata_atiixp, pata_acpi, ata_generic
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
Subsystem: Gateway, Inc. Device 0700
Flags: bus master, slow devsel, latency 64, IRQ 11
Memory at f0000000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
Subsystem: Gateway, Inc. Device 0700
Flags: bus master, 66MHz, medium devsel, latency 0
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (prog-if 01 [Subtractive decode])
Flags: bus master, 66MHz, medium devsel, latency 64
Bus: primary=00, secondary=06, subordinate=07, sec-latency=64
Memory behind bridge: f0600000-f06fffff
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 11h Processor HyperTransport Configuration (rev 40)
Flags: fast devsel
Capabilities: [80] HyperTransport: Host or Secondary Interface
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 11h Processor Address Map
Flags: fast devsel
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 11h Processor DRAM Controller
Flags: fast devsel
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 11h Processor Miscellaneous Control
Flags: fast devsel
Capabilities: [f0] Secure device <?>
Kernel driver in use: k10temp
Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 11h Processor Link Control
Flags: fast devsel
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS780M [Mobility Radeon HD 3200] (prog-if 00 [VGA controller])
Subsystem: Gateway, Inc. Device 0701
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at d0000000 (32-bit, prefetchable) [size=256M]
I/O ports at 9000 [size=256]
Memory at cfdf0000 (32-bit, non-prefetchable) [size=64K]
Memory at cfe00000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at <unassigned> [disabled]
Capabilities: [50] Power Management version 3
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Kernel driver in use: radeon
Kernel modules: radeon
01:05.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RS780 HDMI Audio [Radeon (HD) 3000 Series]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 9612
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at cfdec000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 3
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8057 PCI-E Gigabit Ethernet Controller (rev 10)
Subsystem: Gateway, Inc. Device 0700
Flags: bus master, fast devsel, latency 0, IRQ 30
Memory at f0500000 (64-bit, non-prefetchable) [size=16K]
I/O ports at a000 [size=256]
[virtual] Expansion ROM at f0520000 [disabled] [size=128K]
Capabilities: [48] Power Management version 3
Capabilities: [5c] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [c0] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [130] Device Serial Number 37-e5-48-ff-ff-8b-23-00
Kernel driver in use: sky2
Kernel modules: sky2
03:00.0 Network controller: Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Lite-On Communications Inc WN6600A 802.11bgn Wireless Mini PCIe Card [AR9281]
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at f0300000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Count=1 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
Kernel driver in use: ath9k
Kernel modules: ath9k
06:09.0 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 03)
Subsystem: Gateway, Inc. Device 0700
Flags: slow devsel, IRQ 11
Memory at f0600000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [a0] Power Management version 2
06:09.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02) (prog-if 01)
Subsystem: Gateway, Inc. Device 0700
Flags: bus master, slow devsel, latency 64, IRQ 10
Memory at f0601000 (32-bit, non-prefetchable) [size=256]
Capabilities: [a0] Power Management version 2
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci
08:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller (prog-if 30 [XHCI])
Subsystem: Device 174c:2104
Physical Slot: 1
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at c8000000 (64-bit, non-prefetchable) [size=32K]
Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [68] MSI-X: Enable+ Count=8 Masked-
Capabilities: [78] Power Management version 3
Capabilities: [80] Express Legacy Endpoint, MSI 00
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
And I found this early in the dmesg --system output
Feb 06 16:18:55 ArchGatewayMD2614U kernel: [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
Feb 06 16:18:55 ArchGatewayMD2614U kernel: ACPI: Interpreter enabled
Feb 06 16:18:55 ArchGatewayMD2614U kernel: ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20140926/hwxface-580)
Feb 06 16:18:55 ArchGatewayMD2614U kernel: ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20140926/hwxface-580)
Feb 06 16:18:55 ArchGatewayMD2614U kernel: ACPI: (supports S0 S3 S4 S5)
Feb 06 16:18:55 ArchGatewayMD2614U kernel: ACPI: Using IOAPIC for interrupt routing
Feb 06 16:18:55 ArchGatewayMD2614U kernel: PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
Feb 06 16:18:55 ArchGatewayMD2614U kernel: [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
Feb 06 16:18:55 ArchGatewayMD2614U kernel: [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
Could this be a backlight issue, and/or the Radeon HD3200 IGP not reinitiallizing the display?
Thank you in advance,
HaloSlayer255
Last edited by HaloSlayer255 (2015-12-17 16:54:05)
Offline
pm-utils has been superseded by systemd ("systemctl suspend"). See if it works better..
If you suspect the display is at fault, install openssh, start sshd and see if you can ssh from another computer after resume.
Offline
Hi lucke,
I just removed pm-utils and its dependencies. Seems like when I try to resume the system the keyboard does not respond. No caps lock or anything, the display is completely black but if I had run sudo pm-suspend it would show a blinking cursor in the top left corner of the display in both cases the keyboard would not respond and I would have to hard shutdown.
I might see what I can do with SSH, however I have it permitted in gufw on the source system and a system to remote into the laptop. I have just installed openssh and have putty on the system as well. The IP addresses I am using are 192.168.1.3 for the gateway laptop and 192.168.1.9 for a desktop to remotely access the laptop. The gateway from the ISP does have a firewall but is configured for NAT only, what could I be missing? Both systems keep saying connection refused.
Thanks in advance,
HaloSlayer255
Offline
Have you started sshd with systemctl? Is it visible in "ps ax"?
Offline
Just tried that, and output is:
Created symlink from /etc/systemd/system/multi-user.target.wants/sshd.service to /usr/lib/systemd/system/sshd.service
Afterwards ssh 192.168.1.3
ssh: connect to host 192.168.1.3 port 22: Connection refused
And using sshd 192.168.1.3 shows this:
sshd re-exec requires execution with an absolute path
Haven't really used SSH before, telnet and console lines to configure a few networking devices but not SSH.
---Edit---
It occured to me that I also needed to use systemctl start sshd.service, did that on both devices and it works. Using sudo systemctl suspend on the laptop and resuming results in above symptoms. Accessing from the desktop with ssh returns:
ssh: connect to host 192.168.1.3 port 22: No route to host
---/Edit---
Thanks in advance,
HaloSlayer255
Last edited by HaloSlayer255 (2015-03-02 22:27:02)
Offline
So it seems network dies too (thus the laptop probably hangs totallly).
-edit-
Try on linux-lts.
Try removing *_hcd modules or any other modules that you can remove before suspending.
Try suspending without X running.
Last edited by lucke (2015-03-02 22:35:33)
Offline
Linux-lts kernal same as above,
Removing *_hcd modules and other modules still no go.
[List of modules following from /etc/pm/config.d/modules]
SUSPEND_MODULES="uhci_hd button ehci_hw iwlwifi ohci_pci snd_hda_intel sky2 ath9k sdhci_pci radeon"
Suspending without running X:
Logged in as usual and stopped the gdm.service with systemctl, used ctrl+alt+F2 to login to my user and issued systemctl suspend, still no go.
Thanks in advance,
HaloSlayer255
P.S. That file remained from pm-utils, is it possible I can have systemctl suspend reference that as a list of modules to unload, provided it is not following that file.
Offline
You can make systemd run scripts on suspend/resume (man systemd-sleep), but you'd have to write something acting upon that list (or any other list) yourself.
Offline
Hello lucke,
Just found this https://wiki.archlinux.org/index.php/Po … leep_hooks
I think if I do something like this:
/etc/systemd/system/suspend@.service
[Unit]
Description=User suspend actions
Before=sleep.target
[Service]
User=%I
Type=forking
Environment=DISPLAY=:0
ExecStartPre= rmmod uhci_hd button ehci_hw iwlwifi ohci_pci snd_hda_intel sky2 ath9k sdhci_pci radeon
ExecStart=/bin/bash systemctl suspend
[Install]
WantedBy=sleep.target
And then perhaps use this on resume:
/etc/systemd/system/resume@.service
[Unit]
Description=User resume actions
After=suspend.target
[Service]
User=%I
Type=simple
ExecStartPre=modprobe uhci_hd button ehci_hw iwlwifi ohci_pci snd_hda_intel sky2 ath9k sdhci_pci radeon
ExecStart=/bin/bash systemctl resume
[Install]
WantedBy=suspend.target
It's getting kinda late here 11:30PM, will sign off for tonight.
Thanks for the diagnosis and troubleshooting steps so far,
HaloSlayer255
Offline
Well, that last idea of mine didn't work. Unless I did something wrong in the script. Perhaps I can tweak the script mentioned in the ubuntu url in my first post to include more modules as a diagnosis step.
Will post back on the results.
---Edit---
Just tried this file from /usr/lib/systemd/system-sleep/ and it didn't work. I added some more modules to the list than were originally in the script.
#!/bin/sh
#inspired by http://art.ubuntuforums.org/showpost.php?p=9744970&postcount=19
#...and http://thecodecentral.com/2011/01/18/fix-ubuntu-10-10-suspendhibernate-not-working-bug
# tidied by tqzzaa :)
# Comments added by chriseiffel.com
VERSION=1.1.1
DEV_LIST=/tmp/usb-dev-list
DRIVERS_DIR=/sys/bus/pci/drivers
DRIVERS="ehci xhci uhci ohci snd_hda_intel sky2 ath9k sdhci_pci radeon" ####### ehci_hcd, xhci_hcd, uhci_hcd ohci_pci snd_hda_intel sky2 ath9k #######sdhci_pci radeon
HEX="[[:xdigit:]]"
MAX_BIND_ATTEMPTS=2
BIND_WAIT=0.1
#This function executes when the computer is going
#into sleep/hibernation. It looks for all devices
#in /sys/bus/pci/drivers with the ehci_hcd, etc
#and adds them to the unbind list
unbindDev() {
echo -n > $DEV_LIST 2>/dev/null
for driver in $DRIVERS; do
DDIR=$DRIVERS_DIR/${driver}_hcd
for dev in `ls $DDIR 2>/dev/null | egrep "^$HEX+:$HEX+:$HEX"`; do
echo -n "$dev" > $DDIR/unbind
echo "$driver $dev" >> $DEV_LIST
done
done
}
#Executed on a resume/thaw attempts to rebind the stored drivers
bindDev() {
if [ -s $DEV_LIST ]; then
while read driver dev; do
DDIR=$DRIVERS_DIR/${driver}_hcd
while [ $((MAX_BIND_ATTEMPTS)) -gt 0 ]; do
echo -n "$dev" > $DDIR/bind
if [ ! -L "$DDIR/$dev" ]; then
sleep $BIND_WAIT
else
break
fi
MAX_BIND_ATTEMPTS=$((MAX_BIND_ATTEMPTS-1))
done
done < $DEV_LIST
fi
rm $DEV_LIST 2>/dev/null
}
case "$1" in
hibernate|suspend) unbindDev;;
resume|thaw) bindDev;;
esac
Thanks in advance,
HaloSlayer255
Last edited by HaloSlayer255 (2015-03-05 01:23:59)
Offline
Pages: 1