Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Udev freeze during boot [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
esperto
Apprentice
Apprentice


Joined: 27 Dec 2004
Posts: 156
Location: Brazil

PostPosted: Sun Oct 16, 2016 1:58 pm    Post subject: Udev freeze during boot [solved] Reply with quote

Hi people,

I'm facing a very weird problem that I'm not able to solve. It will be a long post, so please bear with me.

I have a core i7 with and ati card (HD7770). The ati driver is shit and since the upgrade to plasma I had to disable compositing otherwise plasmashell would stop working every 5 min and would get a lot of artifacts. Even without compositing, for a couple of weeks I've been getting some weird behavior from plasma (not showing some wallpapers for instance), but assumed it was some plasma bug.
Last Wednesday I was working normally and did a kernel recompile to remove some modules, but didn't boot immediately, after some time I had an issue with my video (still don't know if the card itself, the driver or plasma) and decided to reboot.
During the boot when udev is started the computer "freezes", it is not a complete freeze because crtl-alt-del will reboot the computer. The kernel I was running at the time was 4.4.6 I think.
Using the interactive boot was able to complete the boot without udev and xdm, but as soon as I tried to start udev (to bring network up) it froze again and I couldn't even change TTY.
Tried enabling udev log, but it didn't even create a file.
Then I tried booting a older kernel I had on boot partition, 4.1.x (don't recall the full version), and udev went up just fine, but couldn't get xdm to run, even after recompiling ati-drivers.
Then tried the latest gentoo-sources available (4.4.21) and same behavior as 4.4.6.
So I thought that my video card might had went tits up, but before condemning it, I booted using a Mint liveUSB, and to my surprise everything worked, video and all, but using the radeon kernel driver, so I went back, and removed the ati-driver, compiled the radeon driver in the kernel as a module, changed my make.conf (removed fglrx and added radeon) and recompiled xorg packages... and it didn't work, still the same behavior.

So I bit the bullet and formated my drive and reinstalled everything, followed the handbook, but I guess that using the Mint liveUSB caused problems (with /dev/shm or something similar I think) and grub didn't work, efi or not, so I grabbed gentoo livedvd and did all over again, this time boot worked but with a caveat, if grub passed to the kernel in text mode (gfxmode=text), the boot would run normally, but when I've changed to gfxmode=keep (or any other), udev started freezing up again! and this time I used genkernel default configuration, to avoiding causing problems by me meddling with the modules.

So it works fine with the live distros but not with the installation I've done (and I'm not new to gentoo, I've did this several times over the years).

Then I've kind of given up on the video card and decided to give it a shot with the onboard intel, and udev booted, even with the gfxmode set to keep, and I could get xdm to start also.

Now comes the questions, what am I doing wrong? what are the differences between the live distros and the installation done using the handbook? can this be a hardware problem if the live distros work fine?

tl;dr version
Udev stopped working kind of nowhere, only works if grub uses gfxmode=text or if ati video card is removed, but live distros work fine.
What could it be?
_________________
nasci pelado, careca e sem dente, o que vier é lucro


Last edited by esperto on Mon Oct 17, 2016 12:45 am; edited 1 time in total
Back to top
View user's profile Send private message
Zucca
Veteran
Veteran


Joined: 14 Jun 2007
Posts: 1519
Location: KUUSANKOSKI, Finland

PostPosted: Sun Oct 16, 2016 2:52 pm    Post subject: Reply with quote

Hi.

Keep using radeon, as fglrx is no longer supported by AMD and it won't work anymore with newer releases of Xorg.

Then... Can you pastebin any errors from logs? Preferably from dmesg and Xorg logs if possible. Maybe log in via ssh from another computer/device if it makes getting them more easy.

Also do you have required Cape Verde firmware files loaded for the AMD card?
_________________
..: Zucca :..

Code:
ERROR: '--failure' is not an option. Aborting...
Back to top
View user's profile Send private message
esperto
Apprentice
Apprentice


Joined: 27 Dec 2004
Posts: 156
Location: Brazil

PostPosted: Sun Oct 16, 2016 7:32 pm    Post subject: Reply with quote

Thanks for the quick response! It helped me a lot!

find below links for the dmesg and Xorg.0.log, respectively, but just for reference, because it is working now.

http://pastebin.com/unDczYjy

http://pastebin.com/rmb22fvx

reading the logs it seems the firmware files, as you pointed out, were missing, so I've checked out the gentoo xorg wiki and there I saw that for the newer cards you had to emerge the firmware blob, at least with the open source driver, and after some emerging and kernel recompiling my system is alive again! Yey!

I still don't understand what happened, but will stick with the radeon open source driver for now, at least until I by a 1070 and throw this piece of crap out the window.

Again, thank you for the help on a Sunday!
_________________
nasci pelado, careca e sem dente, o que vier é lucro


Last edited by esperto on Mon Oct 17, 2016 12:46 am; edited 1 time in total
Back to top
View user's profile Send private message
Zucca
Veteran
Veteran


Joined: 14 Jun 2007
Posts: 1519
Location: KUUSANKOSKI, Finland

PostPosted: Sun Oct 16, 2016 10:09 pm    Post subject: Reply with quote

You're welcome. :)

Please, mark topic as [SOLVED].
_________________
..: Zucca :..

Code:
ERROR: '--failure' is not an option. Aborting...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

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