Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Renamed: Broken system switching from udev to eudev
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
1clue
Advocate
Advocate


Joined: 05 Feb 2006
Posts: 2561

PostPosted: Mon Feb 23, 2015 11:35 pm    Post subject: Renamed: Broken system switching from udev to eudev Reply with quote

Edit: Renamed from Unbootable trying to install i3wm

Hi,

I had a working command line system this afternoon, it's unbootable now.

I was trying to install i3 window manager on a previously non-X setup. I got to the point where I tried to startx, and the i3 initial configuration dialog pops up but there's no keyboard or mouse.

I was following http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml and found something going into a systemd directory, and freaked. I replaced udev with eudev by removing udev and then adding eudev and then rebooting, which in hindsight was kinda stupid. System stuck:

* Waiting for uevents to be processed ...

I found this thread: https://forums.gentoo.org/viewtopic-t-966786-start-0.html

I booted off the installer CD, chrooted and started following the instructions in the above thread, rebooted after the first post and still stuck. I did it all again and started blindly typing crap into the terminal. Got to the part where ssuominen says I shouldn't delete /usr/lib/systemd (already did it) and so I did equery uses /usr/lib/systemd and re-emerged all that with -va1 to get it back.

Still waiting for uevents to be processed.

At this point I'd love to get a booting system but would rather do it with eudev if possible.

Thanks.


Last edited by 1clue on Wed Feb 25, 2015 1:14 am; edited 1 time in total
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 814

PostPosted: Tue Feb 24, 2015 2:22 pm    Post subject: Reply with quote

this maybe a stab in the dark but once one of my systems was stuck at this same
Code:
* Waiting for uevents to be processed ...

(some issue with udev and nvidia, i think) and i just had to hit enter at that point and it would continue to boot.
after bringing the whole system up to date the problem went away; sorry, i can't remember a more specific solution to that.

GOOD LUCK!
_________________
DUMM KLICKT GUT.
Back to top
View user's profile Send private message
1clue
Advocate
Advocate


Joined: 05 Feb 2006
Posts: 2561

PostPosted: Tue Feb 24, 2015 8:23 pm    Post subject: Reply with quote

Worth a try, but no good. I just did that on the box, been sitting at that message since yesterday, and while it accepted the carriage return it's not going further.

This IS related to nvidia since I have a GTX-260 and the nouveau driver though.

Thanks for the message.
Back to top
View user's profile Send private message
psva00
n00b
n00b


Joined: 05 Sep 2011
Posts: 16

PostPosted: Tue Feb 24, 2015 9:33 pm    Post subject: Reply with quote

I think I've seen this problem before with ATI drivers. The machine was booting fine, but the graphics were loading at this point, and since they were not configured properly, it just stopped displaying anything else.

If sshd is running on the machine, give it a few seconds to boot, then try to connect to confirm this. Otherwise, I would chroot again and check your kernel/Xorg configs. What graphics card and driver (open/proprietary) are you using?
Back to top
View user's profile Send private message
1clue
Advocate
Advocate


Joined: 05 Feb 2006
Posts: 2561

PostPosted: Wed Feb 25, 2015 12:59 am    Post subject: Reply with quote

I'm pretty sure the problem is because I incorrectly switched from udev to eudev. The system was booting before that, even getting into i3 window manager but with no mouse or keyboard.

sshd is installed and should be running, but it's not that far into the boot process.

The easy solution would be to reinstall, but I'm trying to take NeddySeagoon's advice and "fix anything."

If somebody knows a trick about switching from udev to eudev post-install then I'd love to hear about it.

Thanks.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Wed Feb 25, 2015 2:29 am    Post subject: Reply with quote

1clue ...

this 'waiting for uevents to be processed' is probably due to {e,}udev nolonger supporting firmware loading, as I remember there are other threads with this exact same issue and the solution is to use EXTRA_FIRMWARE or CONFIG_FIRMWARE_IN_KERNEL ... at least thats as much as I can remember ... a search for 'uevents' should provide more details.

HTH & best ... khay
Back to top
View user's profile Send private message
psva00
n00b
n00b


Joined: 05 Sep 2011
Posts: 16

PostPosted: Wed Feb 25, 2015 2:35 am    Post subject: Reply with quote

I don't know if Nvidia does this, but the open source ATI drivers require firmware blobs built into the kernel. I swear this is the same issue I saw, and though it may look like the system isn't finishing booting, I'll wager it does, it's just that your display is not working. Let it boot and try to SSH. Then you can go rebuild your kernel with the firmware blobs added.

Eg...if you're using the radeon open source driver: http://wiki.gentoo.org/wiki/Radeon#Firmware
Back to top
View user's profile Send private message
1clue
Advocate
Advocate


Joined: 05 Feb 2006
Posts: 2561

PostPosted: Wed Feb 25, 2015 4:12 am    Post subject: Reply with quote

Ok now at least I know what to search for.

Thanks
Back to top
View user's profile Send private message
1clue
Advocate
Advocate


Joined: 05 Feb 2006
Posts: 2561

PostPosted: Fri Feb 27, 2015 2:32 am    Post subject: Reply with quote

OK so I got it booting again, but no network now.

I used to have the 'predictable' network names, and they worked.

Now I have no network.

As a bit of extra info, I can create:

Code:
/etc/udev/rules.d/80-net-name-slot.rules -> /dev/null


And I get old-style eth0..eth4 network names, and can assign an IP after I change the name in /etc/conf.d/net and make a link in /etc/init.d.

I'd like to figure out how to get predictable names again. Been through the docs on eudev and either I'm missing it or it's not there.

Thanks.
Back to top
View user's profile Send private message
augustin
Guru
Guru


Joined: 23 Feb 2015
Posts: 318

PostPosted: Fri Feb 27, 2015 5:54 am    Post subject: Reply with quote

Can you guys document what you can, here?
https://wiki.gentoo.org/wiki/Eudev
Thanks.
Back to top
View user's profile Send private message
1clue
Advocate
Advocate


Joined: 05 Feb 2006
Posts: 2561

PostPosted: Fri Feb 27, 2015 2:49 pm    Post subject: Reply with quote

I might if I knew anything about it, but my system is broken precisely because I don't know anything about it.
Back to top
View user's profile Send private message
augustin
Guru
Guru


Joined: 23 Feb 2015
Posts: 318

PostPosted: Sun Oct 16, 2016 2:57 am    Post subject: Reply with quote

Have you fixed your system?
How?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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