Fedora Linux Support Community & Resources Center
  #1  
Old 18th April 2017, 06:57 PM
gluonman Offline
Registered User
 
Join Date: Apr 2017
Location: Lansing, MI
Posts: 2
linuxchrome
Unhappy Fedora 25 on Inspiron 15-5565 randomly freezing and requiring power-cycle to restart

Hello,

Let me start by listing all my specs:

Hardware
Laptop: Dell Inspiron 15-5565
CPU: 7th Generation AMD A9-9400 with integrated Radeon R5 graphics :: 5 compute cores 2c+3g x 2 :: 98e4 (rev c6)
Architecture: x86_64
Memory: 2 x 4GB DDR4 2400 (8GB)
Hard Drive: 1TB 5400 rpm Hard Drive
Boot: UEFI

Software
Original Shipped OS: Windows 10 Home Edition
Current OS: Fedora 25
OS Type: x86_64
Graphics: AMD Stoney
Window Manager: Gnome 3.22.2
XServer Version: 1.19.3_64a
Kernel: 4.10.9-200.fc25.x86_64

The problem

I purchased this laptop and had it shipped, and the day I received it I didn't hesitate to wipe Windows and install a distro of Linux. I started with Sabayon Linux, since that's what I had been using for the last 4 or 5 years on previous machines. But the OS would randomly freeze (sometimes soon after start-up, sometimes an hour later, but not as a result of any consistent behaviour or action I could detect), and if it happened to be freezing during an initial system update (which was very likely), I had to deal with corruption. I re-installed Sabayon multiple times until I got fed up and decided it might be time to explore a different distro. So I went with Fedora thinking it might have better out-of-box hardware support for this laptop then a lot of other distros.

With Sabayon, I figured the issue was likely related to the radeon driver, since the system froze without there being a problem with resource allocation, like some kind of segmentation fault, or something. And the only way to restart the machine when that happens is to power cycle it (hold down power button until it forces the machine to shut down). But I didn't look into it too much because I bought this laptop to catch up on software programming work that I have to do on a major time crunch, so I don't have time to struggle to make Linux work on my hardware. Hence switching distros to try to find better luck getting a working-out-of-box experience.

I installed Fedora 25 using the standard Fedora Media Writer method and a USB stick. The system is secure-boot-disabled, UEFI-enabled, and Legacy-disabled. Fedora 25 installed without issues, and I used it for the first 2 hours before I encountered my first freeze. For a minute I figured I was in the clear, but while Fedora 25 is freezing way less frequently than Sabayon was, I've still had to re-install once when it froze during an initial system update and corrupted the root partition. Just like with Sabayon, the freezes are seemingly random and unrelated to resource consumption, although it does seem to be more likely when I'm running Firefox or running a DNF command (otherwise, it can go quite a while before it freezes). So instead of re-installing or switching distros, I'm now trying to get to the bottom of what's happening and figure out the solution, since I'm not confident that any Linux distro will be free from this problem (let me know if you can suggest another distro that you think will work with my hardware out of box). Here are the errors I have dug out of my 'journalctl -xb' output (the very first one being the only one that displays during boot-up):

Code:
[Firmware Bug]: cpu 0, invalid threshold interrupt offset 1 for bank 4, block 0 (MSR00000413=0xd000000001000000)

tpm_crb MSFT0101:00: can't request region for resource [mem 0xdfbba000-0xdfbbdfff]
tpm_crb: probe of MSFT0101:00 failed with error -16

sp5100_tco: I/O address 0x0cd6 already in use

dactylion avahi-daemon[850]: chroot.c: open() failed: No such file or directory
dactylion avahi-daemon[835]: Failed to open /etc/resolv.conf: Invalid argument

dactylion abrtd[864]: '/var/spool/abrt/oops-2017-04-17-21:56:23-924-3' is not a problem directory
dactylion abrtd[864]: '/var/spool/abrt/oops-2017-04-17-21:29:06-924-3' is not a problem directory
dactylion abrtd[864]: '/var/spool/abrt/oops-2017-04-17-21:56:40-924-0' is not a problem directory
dactylion abrtd[864]: '/var/spool/abrt/oops-2017-04-17-21:56:23-924-1' is not a problem directory
dactylion abrtd[864]: '/var/spool/abrt/oops-2017-04-17-21:02:33-924-4' is not a problem directory
dactylion abrtd[864]: '/var/spool/abrt/oops-2017-04-17-21:00:02-924-1' is not a problem directory
dactylion abrtd[864]: '/var/spool/abrt/oops-2017-04-17-21:08:42-924-4' is not a problem directory
dactylion abrtd[864]: '/var/spool/abrt/oops-2017-04-17-21:56:23-924-0' is not a problem directory

dactylion systemd[1084]: user@42.service: Failed at step PAM spawning /usr/lib/systemd/systemd: Operation not permitted
dactylion systemd[1498]: user@1000.service: Failed at step PAM spawning /usr/lib/systemd/systemd: Operation not permitted

dactylion spice-vdagent[1766]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0

dactylion gnome-settings-[1765]: Theme parsing error: gtk-dark.css:597:14: not a number
dactylion gnome-settings-[1765]: Theme parsing error: gtk-dark.css:597:14: Expected a string.

dactlyion dnf[2205]: Error: Failed to synchronize cache for repo 'updates'
dactylion systemd[1]: dnf-makecache.service: Main process exited, code=exited, status=1/FAILURE
dactylion systemd[1]: Failed to start dnf makecache.

dactylion anacron[2543]: Can't find sendmail at /usr/sbin/sendmail, not mailing output
My Attempted Solutions So Far

My first attempt at a solution was to find AMD's proprietary Linux driver from their website and install it manually. I found the following driver:

AMD Radeon Software Crimson Edition 15.12 Proprietary Linux x86 Display Driver (supports AMD Radeon R5 M200 Series). My specific Radeon R5 is a 98e4 (rev c6), but I couldn't find anywhere which M### series of Radeon R5 that corresponded to. Of the drivers I found, this one seemed to be the closest, so I downloaded and gave it a try. The only problem is that it refuses to proceed with installation when it finds that it doesn't support the current XServer:

Code:
error: Detected X Server version 'XServer 1.19.3_64a' is not supported.  Supported versions are X.Org 6.9 or later, up to XServer 1.10 (default:v2:x86_64:lib:XServer 1.19.3_64a:none:4.10.9-200.fc25.x86_64:)
Installation will not proceed.

Removing temporary directory: fglrx-install.pOPG8d
Of course, I take this moment to become enraged at AMD for not offering up-to-date support, and the corporate climate that is responsible for those trends. I seriously have to either heavily downgrade XServer, write my own driver (which I'm not going to do), or find a tweak or patch for the native Fedora radeon driver that will solve the freezing. It turns out that graphics drivers aren't my area of expertise, and I have no prior experience even manually installing XServer, let alone downgrading so heavily. I'm not exactly a Linux noob, but the idea of downgrading XServer doesn't terribly excite me because it'll probably be a huge dependencies mess.

In any case, I'm raising these issues to the Fedora community because I need advice on the best way to approach this problem. I'm looking for a permanent and effective solution, even if it isn't the most elegant or graceful. I'd prefer the solution that gets me back to working on my software sooner rather than later.

So if you're aware of an unofficial driver that works much better for my specific card, or if you can show me the AMD driver I missed from their website that is more up-to-date, or if you can educate me on the proper way to downgrade XServer, or if you have any patches or tweaks, please let me know.
Reply With Quote
  #2  
Old 18th May 2017, 07:26 AM
Waraqa Offline
Registered User
 
Join Date: May 2017
Location: Sudan
Posts: 2
linuxfedorafirefox
Re: Fedora 25 on Inspiron 15-5565 randomly freezing and requiring power-cycle to rest

Hi gluonman,

Did you happen find a fix for this problem or you change the distro again?

I have had the same freezing symptomps since kernel 4.10 was introduced to fedora 24. Every time a 4.10.x kernel released, I try it for a while until system freezes, then I reboot and go back to the latest 4.9 kernel.

There are many reports about freezing in the kernel 4.10 across the internet, but most of them use nvidia card. As a workaround, They use this kernel parameter (nvidia-drm.modeset=0), but obviously this is nvidia-specific.

If you still have fedora, could you confirm this by downgrading to a kernel 4.9.x and test if this freezing ever happen?

Code:
[root@localhost ~]# lshw -c video
  *-display                 
       description: VGA compatible controller
       product: Trinity [Radeon HD 7660G]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 1
       bus info: pci@0000:00:01.0
       version: 00
       width: 32 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=radeon latency=0
       resources: irq:38 memory:d0000000-dfffffff ioport:4000(size=256) memory:f0400000-f043ffff memory:c0000-dffff
[root@localhost ~]# lspci | grep -i vga
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7660G]
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7500M/7600M Series] (rev ff)
Reply With Quote
  #3  
Old 18th May 2017, 10:51 AM
StevenAust Online
Registered User
 
Join Date: Feb 2011
Location: Australia
Posts: 11
linuxfedorafirefox
Re: Fedora 25 on Inspiron 15-5565 randomly freezing and requiring power-cycle to rest

I have F25 on a Dell XPS 13" 2017 2 in 1. I use UEFI and Secure Boot on and changed bios to ahci

https://www.google.com.au/search?q=a...L4rr8wfm9o3YBA

it runs beautifully
Reply With Quote
  #4  
Old 18th May 2017, 08:24 PM
Waraqa Offline
Registered User
 
Join Date: May 2017
Location: Sudan
Posts: 2
linuxfirefox
Re: Fedora 25 on Inspiron 15-5565 randomly freezing and requiring power-cycle to rest

Quote:
Originally Posted by StevenAust View Post
I have F25 on a Dell XPS 13" 2017 2 in 1. I use UEFI and Secure Boot on and changed bios to ahci

https://www.google.com.au/search?q=a...L4rr8wfm9o3YBA

it runs beautifully
Was it freezing before you change bios to ahci?
Reply With Quote
Reply

Tags
fedora, freezing, inspiron, powercycle, randomly, requiring, restart

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dell Inspiron 15 5565 Fedora 25 TPM2 i2c errors Yonggui Chen Hardware & Laptops 7 22nd May 2017 02:27 PM
randomly freezing fedora vivithemage Installation, Upgrades and Live Media 2 6th September 2006 10:52 PM
Fedora 5 freezing randomly Daniel114 Using Fedora 16 19th April 2006 07:51 PM
Fedora installation OK after power cycle GRUB does not recognise install newtman Installation, Upgrades and Live Media 3 2nd January 2006 02:51 AM


Current GMT-time: 03:40 (Thursday, 29-06-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat