System crashes when commanded to suspend to ram

Getting your soundcard to work, using Debian on non-i386 hardware, etc

System crashes when commanded to suspend to ram

Postby porkburrito » 2017-04-02 23:21

Hello all, I've been searching for a solution to this all over the web and haven't been able to find a concrete solution to this problem I'm having. I haven't been a linux user for years, and just installed Debian 8 stable on my laptop, so I'm a little rusty as far as things go.

So everything installed flawlessly, and runs great. I don't have any issues with hardware when using the computer, didn't even have to tweak a thing! The only issue I've come across is that whenever i try to command the system to suspend to ram it completely crashes and shuts down. After which I have to hit the power button to turn it on and everything boots up like a normal cold reboot.

Supsend to hard disk works flawlessly. Not sure if it's a driver/kernel issue, or maybe bios. Was hoping you guys could help me figure it out.

Here is some system info:
Code: Select all
uname -r
3.16.0-4-amd64

Code: Select all
lspci -k | grep -EA2 'VGA|Display'
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R4/R5 Graphics]
        Subsystem: Dell Device 0657
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
jtwillobee@justinlaptop:~$ lspci -v
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1566
        Subsystem: Dell Device 0657
        Flags: bus master, fast devsel, latency 0

00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R4/R5 Graphics] (prog-if 00 [VGA controller])
        Subsystem: Dell Device 0657
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at d0000000 (64-bit, prefetchable) [size=8M]
        I/O ports at f000 [size=256]
        Memory at fe700000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at fe740000 [disabled] [size=128K]
        Capabilities: <access denied>

00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
        Subsystem: Dell Device 0657
        Flags: bus master, fast devsel, latency 0, IRQ 82
        Memory at fe764000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel

00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 156b
        Flags: fast devsel

00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1 (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00001000-00001fff
        Memory behind bridge: d0a00000-d0bfffff
        Prefetchable memory behind bridge: 00000000d0c00000-00000000d0dfffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1 (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        I/O behind bridge: 0000e000-0000efff
        Memory behind bridge: fe600000-fe6fffff
        Prefetchable memory behind bridge: 00000000d0800000-00000000d08fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1 (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        Memory behind bridge: fe500000-fe5fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1537
        Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1537
        Flags: bus master, fast devsel, latency 0
        Memory at d0900000 (64-bit, prefetchable) [size=128K]
        Memory at fe400000 (32-bit, non-prefetchable) [size=1M]
        Memory at fe76f000 (32-bit, non-prefetchable) [size=4K]
        Memory at fe76a000 (32-bit, non-prefetchable) [size=8K]
        Capabilities: <access denied>
        Kernel driver in use: AMD Cryptographic Coprocessor

00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 11) (prog-if 30 [XHCI])
        Subsystem: Dell Device 0657
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Memory at fe768000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd

00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (prog-if 01 [AHCI 1.0])
        Subsystem: Dell Device 0657
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 79
        I/O ports at f140 [size=8]
        I/O ports at f130 [size=4]
        I/O ports at f120 [size=8]
        I/O ports at f110 [size=4]
        I/O ports at f100 [size=16]
        Memory at fe76e000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: <access denied>
        Kernel driver in use: ahci

00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39) (prog-if 20 [EHCI])
        Subsystem: Dell Device 0657
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18
        Memory at fe76d000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>
        Kernel driver in use: ehci-pci

00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39) (prog-if 20 [EHCI])
        Subsystem: Dell Device 0657
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18
        Memory at fe76c000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>
        Kernel driver in use: ehci-pci

00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 42)
        Subsystem: Dell Device 0657
        Flags: 66MHz, medium devsel
        Kernel driver in use: piix4_smbus

00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 02)
        Subsystem: Dell Device 0657
        Flags: bus master, slow devsel, latency 32, IRQ 16
        Memory at fe760000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel

00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
        Subsystem: Dell Device 0657
        Flags: bus master, 66MHz, medium devsel, latency 0

00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1580
        Flags: fast devsel

00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1581
        Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1582
        Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1583
        Flags: fast devsel
        Capabilities: <access denied>
        Kernel driver in use: k10temp

00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1584
        Flags: fast devsel

00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1585
        Flags: fast devsel

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 07)
        Subsystem: Dell Device 0657
        Flags: bus master, fast devsel, latency 0, IRQ 73
        I/O ports at e000 [size=256]
        Memory at fe600000 (64-bit, non-prefetchable) [size=4K]
        Memory at d0800000 (64-bit, prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: r8169

03:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
        Subsystem: Dell Device 020c
        Flags: bus master, fast devsel, latency 0, IRQ 32
        Memory at fe500000 (64-bit, non-prefetchable) [size=512K]
        Expansion ROM at fe580000 [disabled] [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: ath9k

Code: Select all
cat /proc/cpuinfo | grep 'model name' | uniq
model name      : AMD A6-6310 APU with AMD Radeon R4 Graphics

Code: Select all
lsmod
Module                  Size  Used by
bnep                   17431  2
ctr                    12927  3
ccm                    17577  3
nfsd                  262938  2
auth_rpcgss            51209  1 nfsd
oid_registry           12419  1 auth_rpcgss
nfs_acl                12511  1 nfsd
nfs                   192232  0
lockd                  83389  2 nfs,nfsd
fscache                45542  1 nfs
sunrpc                237364  6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
rtsx_usb_ms            16899  0
memstick               13696  1 rtsx_usb_ms
uvcvideo               79048  0
videobuf2_vmalloc      12816  1 uvcvideo
videobuf2_memops       12519  1 videobuf2_vmalloc
videobuf2_core         47787  1 uvcvideo
kvm_amd                59128  0
v4l2_common            12995  1 videobuf2_core
videodev              126451  3 uvcvideo,v4l2_common,videobuf2_core
media                  18305  2 uvcvideo,videodev
kvm                   392897  1 kvm_amd
crc32_pclmul           12915  0
arc4                   12536  2
aesni_intel           151423  6
aes_x86_64             16719  1 aesni_intel
dell_wmi               12477  0
sparse_keymap          12818  1 dell_wmi
ath9k                  90245  0                                                   
ath9k_common           21746  1 ath9k                                             
ath9k_hw              391172  2 ath9k_common,ath9k                               
ath                    26067  3 ath9k_common,ath9k,ath9k_hw
lrw                    12757  1 aesni_intel
gf128mul               12970  1 lrw
mac80211              482315  1 ath9k
glue_helper            12695  1 aesni_intel
dell_laptop            17077  0
dcdbas                 13313  1 dell_laptop
evdev                  17445  23
ablk_helper            12572  1 aesni_intel
snd_hda_codec_realtek    67168  1
cryptd                 14516  2 aesni_intel,ablk_helper
pcspkr                 12595  0
ath3k                  16781  0
btusb                  29721  0
bluetooth             374429  7 bnep,ath3k,btusb
joydev                 17063  0
6lowpan_iphc           16588  1 bluetooth
serio_raw              12849  0
cfg80211              413730  4 ath,ath9k_common,ath9k,mac80211
snd_hda_codec_hdmi     45118  1
snd_hda_codec_generic    63181  1 snd_hda_codec_realtek
snd_hda_intel          26407  5
radeon               1349406  0
snd_hda_controller     26646  1 snd_hda_intel
snd_hda_codec         104500  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
ttm                    77862  1 radeon
drm_kms_helper         49210  1 radeon
k10temp                12618  0
drm                   249998  3 ttm,drm_kms_helper,radeon
rfkill                 18867  5 cfg80211,bluetooth,dell_laptop
snd_hwdep              13148  1 snd_hda_codec
i2c_algo_bit           12751  1 radeon
snd_pcm                88662  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              26720  1 snd_pcm
i2c_piix4              20864  0
snd                    65338  18 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
i2c_core               46012  7 drm,i2c_piix4,drm_kms_helper,i2c_algo_bit,v4l2_common,radeon,videodev
wmi                    17339  1 dell_wmi
edac_mce_amd           21166  0
edac_core              47321  0
shpchp                 31121  0
ccp                    30656  0
soundcore              13026  2 snd,snd_hda_codec
video                  18096  0
battery                13356  0
rng_core               12733  1 ccp
ac                     12715  0
button                 12944  0
acpi_cpufreq           17218  0
processor              28221  5 acpi_cpufreq
fuse                   83350  1
parport_pc             26300  0
ppdev                  16782  0
lp                     17074  0
parport                35749  3 lp,ppdev,parport_pc
autofs4                35529  2
ext4                  477894  2
crc16                  12343  2 ext4,bluetooth
mbcache                17171  1 ext4
jbd2                   82514  1 ext4
rtsx_usb_sdmmc         25280  0
mmc_core              102374  1 rtsx_usb_sdmmc
rtsx_usb               17541  2 rtsx_usb_sdmmc,rtsx_usb_ms
mfd_core               12601  1 rtsx_usb
sg                     29973  0
sd_mod                 44356  4
sr_mod                 21903  0
crc_t10dif             12431  1 sd_mod
cdrom                  47424  1 sr_mod
crct10dif_generic      12581  0
crct10dif_pclmul       13387  1
crct10dif_common       12356  3 crct10dif_pclmul,crct10dif_generic,crc_t10dif
crc32c_intel           21809  0
ehci_pci               12512  0
ehci_hcd               69837  1 ehci_pci
ahci                   33334  3
psmouse                99249  0
xhci_hcd              152977  0
libahci                27158  1 ahci
libata                177508  2 ahci,libahci
usbcore               195468  7 ath3k,btusb,uvcvideo,rtsx_usb,ehci_hcd,ehci_pci,xhci_hcd
scsi_mod              191405  4 sg,libata,sd_mod,sr_mod
r8169                  68262  0
usb_common             12440  1 usbcore
mii                    12675  1 r8169
thermal                17559  0
thermal_sys            27642  3 video,thermal,processor

Code: Select all
lspci -nn |grep VGA
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R4/R5 Graphics] [1002:9851]


I'm not sure what logs I need to look at for any evidence as to why this is happening.
Your help would be much appreciated!
porkburrito
 
Posts: 2
Joined: 2017-04-02 23:02

Re: System crashes when commanded to suspend to ram

Postby dasein » 2017-04-02 23:55

porkburrito wrote:whenever i try to command the system to suspend to ram it completely crashes and shuts down

You need to be specific about exactly what happens, and exactly how you're invoking suspend mode.

An overnight test of your RAM would also be worth doing.
User avatar
dasein
 
Posts: 7625
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: System crashes when commanded to suspend to ram

Postby porkburrito » 2017-04-03 00:27

dasein wrote:
porkburrito wrote:whenever i try to command the system to suspend to ram it completely crashes and shuts down

You need to be specific about exactly what happens, and exactly how you're invoking suspend mode.

An overnight test of your RAM would also be worth doing.


I select 'Sleep' from the application launcher, it shows the lock screen for a split second then the display glitches out and the latop dies...like display is off, fans aren't on, not a peep coming from the laptop. I push the power button and it boots up, I login and then the Konquerer page recovery window pops up. That's it. This also happens when closing the lid, except of course I can't see whats happening on the display, but it has the same symptoms. Also wanted to mention, I have 4 GB of swap on a seperate partition to match my 4 GB of RAM.

Also just noticed the following on start up:
Code: Select all
 
/dev/sda8: clean, 111075/610800 files, 987102/2241216 blocks ^@[ 9.852628] [Hardware Error]: System Fatal error.
[9.852785] [Hardware Error]: CPU:0 (16.:30:1) MC4_STATUS[OVER|UE|MiscV|PCC|addrV[-|-]: 0xfe00000000070f0f
[9.852785] [Hardware Error]: MC4_ADDR: 0X000000fdfc0003d4
[9.852826] [Hardware Error]: MC4 ERROR (node 0): Watchdog timeout due to lack of progress.
[9.852904] [Hardware Error]: cache level: L3/GEN, mem/io: GEN, mem-tx: GEN, part-proc: GEN (timed out)
[10.240232] [drm:radeon_pci_probe] *ERROR* radeon kernel modesetting for R600 or later requires firmware-linux-nonfree.
[11.639640] usb 4-1.2: firmware: failed to load ar3k/AthrBT_0x31010000.dfu (-2)
[11.666231] Bluetooth: Loading patch file failed
[13.176063] systemd-fsck[288]: /dev/sda10: recovering journal
[15.022594] systemd-fsck[288]: /dev/sda10: clean, 733/13746176 files, 1000702/54960384 blocks


FYI, I took a video with my phone on startup, and hand typed that in, so there might be typos.

Never had an issue supsending laptop with windows 10.
porkburrito
 
Posts: 2
Joined: 2017-04-02 23:02

Re: System crashes when commanded to suspend to ram

Postby pylkko » 2017-04-03 18:51

This could potentially be bad, as as far as I understand this is a machine check error. I think that MC4 in AMD is a error checking, see second to last page:
http://application-notes.digchip.com/019/19-44781.pdf

https://en.wikipedia.org/wiki/Machine-check_exception

MCE can be caused by overclocking or excessive heat or just bad manufacturing.

There are many linux tools to read errors messages and create logs (for example mcelog). Apparently some systems automatically do this and print it to a place like /var/log/mcelog, you might look there. Or install one and manually print a log to see what the codes indicate
User avatar
pylkko
 
Posts: 966
Joined: 2014-11-06 19:02


Return to Hardware

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable