Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
UDEV crashing on restart
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
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2609

PostPosted: Wed Mar 05, 2014 7:29 pm    Post subject: UDEV crashing on restart Reply with quote

Hello all,

I just upgraded to udev-210, and followed the instructions for restarting it:

Code:

/etc/init.d/udev --nodeps restart


but now I show that it has crashed:

Code:

udev # /etc/init.d/udev status
 * status: crashed


and dmesg isn't providing a lot of information:

Code:

[8046922.782935] systemd-udevd[8211]: worker [8260] exit
[8046922.782938] systemd-udevd[8211]: worker [8260] cleaned up
[8046954.273454] systemd-udevd[8211]: validate module index
[8046954.273475] systemd-udevd[8211]: Check if link configuration needs reloading
[8046954.273510] systemd-udevd[8211]: udevd message (EXIT) received
[8046954.385448] systemd-udevd[8211]: unload module index
[8046954.385481] systemd-udevd[8211]: Unloaded link configuration context
[8046954.400524] systemd-udevd[8340]: starting version 210


Any suggestions on where to look next?

Thank you preemptively.

Cheers,
Nathan Zachary
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Tue Mar 11, 2014 11:52 am    Post subject: Reply with quote

I would go with --debug --restart to see if it help get what's going on.

...


Last edited by krinn on Thu Mar 13, 2014 6:01 am; edited 1 time in total
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6222
Location: Dallas area

PostPosted: Tue Mar 11, 2014 11:54 am    Post subject: Reply with quote

krinn wrote:
My next step would be rename that thread to "systemd is the shit", that's a good way to attract ssuominen attention


LoL
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1483

PostPosted: Tue Mar 11, 2014 12:49 pm    Post subject: Reply with quote

[edit] deleted - off topic

Last edited by ulenrich on Tue Mar 11, 2014 3:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6222
Location: Dallas area

PostPosted: Tue Mar 11, 2014 12:58 pm    Post subject: Reply with quote

reply edited out.
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland


Last edited by Anon-E-moose on Tue Mar 11, 2014 1:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6222
Location: Dallas area

PostPosted: Tue Mar 11, 2014 1:02 pm    Post subject: Re: UDEV crashing on restart Reply with quote

NathanZachary wrote:
Any suggestions on where to look next?


I've sometimes had messages about crashing show up in /var/log/messages.

Note: if you are using systemd, then you would need to look at it's logging output (I don't use it so I don't have any further advice on this point)
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Tue Mar 11, 2014 1:08 pm    Post subject: Reply with quote

Ulenrich please, did you miss it ?
krinn wrote:
I'm unsure if i should had put plenty :) everywhere to make sure anyone understand i'm trying to provoke only smiles there



Anon : of course i suck at systemd too :)
But to me, i was thinking systemd provide udev service, so one with udev presence imply systemd absence.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6222
Location: Dallas area

PostPosted: Tue Mar 11, 2014 1:14 pm    Post subject: Reply with quote

krinn wrote:
But to me, i was thinking systemd provide udev service, so one with udev presence imply systemd absence.


I wasn't sure what "systemd-udevd" implied since I use an old version of udev and on my system is shows as just "udevd".
_________________
UM780, 6.12 zen kernel, gcc 13, openrc, wayland
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1483

PostPosted: Tue Mar 11, 2014 1:15 pm    Post subject: Reply with quote

[edit] deleted - off topic

Last edited by ulenrich on Tue Mar 11, 2014 3:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Tue Mar 11, 2014 1:43 pm    Post subject: Reply with quote

For starters, enable debugging in /etc/conf.d/udev, like:

Code:

udev_monitor="YES"
udev_debug="YES"


And in /etc/udev/udev.conf, like:

Code:

udev_log="info"


Other possible values are "err" and "debug". Honestly, I'm not sure which would be best in your case, I've managed with "info"
They are listed in bottom of `man systemd-udevd`

You should get various different type of logs in /var/log/messages, /run/udevmonitor.log, /run/udevdebug.log

You might also be hitting a race, on a running system, when you do `/etc/init.d/udev --nodeps restart`, it might be better to take the dive and reboot

Good luck getting more debug information!
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Tue Mar 11, 2014 2:37 pm    Post subject: Reply with quote

krinn wrote:
Ulenrich please, did you miss it ?
krinn wrote:
I'm unsure if i should had put plenty :) everywhere to make sure anyone understand i'm trying to provoke only smiles there

Anon : of course i suck at systemd too :)

@krinn personellement et très amicalement : Tu veux être sûr que tout le monde comprend que tu ne cherches qu'à faire rire.
Donc... tu sais très bien que tout le monde ne comprendra pas...
alors... à quoi bon ?
Et puis... à mon opinion... et bien... se citer soi-même... ça fait un peu... heu... enfin... tu vois ce que je veux dire... :roll: disgracieux!

Finalement, je crois que je préfère quand tu dis des bêtises sur l'optimisation de gcc... :wink: and :P
_________________
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