Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with udev-197
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
sidamos
Apprentice
Apprentice


Joined: 16 Dec 2007
Posts: 164

PostPosted: Mon Jan 28, 2013 6:42 am    Post subject: Problems with udev-197 Reply with quote

After upgrading to udev-197, I have some problems. I read the news and the emerge messages and did everything that was to do (kernel option, fstab, runlevel change).

I have /usr on a separate partition and I am using genkernel.

Problem #1:
Filesystem check of /usr fails during boot.

Problem #2:
I have to do "chmod 1777 /dev/shm" in "/etc/local.d/baselayout1.start", otherwise chromium won't start. Is there a better way to get the correct rights?

Problem #3:
Chromium seems to crash often now.

Any suggestions would be greatly appreciated.

Thanks!
Back to top
View user's profile Send private message
yngwin
Developer
Developer


Joined: 19 Dec 2002
Posts: 4394
Location: Suzhou, China

PostPosted: Mon Jan 28, 2013 7:22 am    Post subject: Reply with quote

I would suggest using eudev instead.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 2127
Location: Finland

PostPosted: Mon Jan 28, 2013 8:04 am    Post subject: Re: Problems with udev-197 Reply with quote

sidamos wrote:
After upgrading to udev-197, I have some problems. I read the news and the emerge messages and did everything that was to do (kernel option, fstab, runlevel change).

I have /usr on a separate partition and I am using genkernel.

Problem #1:
Filesystem check of /usr fails during boot.

Problem #2:
I have to do "chmod 1777 /dev/shm" in "/etc/local.d/baselayout1.start", otherwise chromium won't start. Is there a better way to get the correct rights?

Problem #3:
Chromium seems to crash often now.

Any suggestions would be greatly appreciated.

Thanks!


Problem #1 -> You mean fsck? This is a bug in util-linux wrt http://bugs.gentoo.org/410605 and http://bugs.gentoo.org/415249 -- For now you can "ignore the problem"

Problem #2 -> Remove /dev/shm line from /etc/fstab if it's there -- the default permissions are 1777 already, chmod shouldn't be necessary, make sure there are no directory /usr/lib/udev, if there is, recompile the packages it has the files for. And check that there is nothing conflicting in /etc/udev too.

Problem #3 -> You need to `revdep-rebuild --library libudev.so.0` if you haven't already

And the only reason to use eudev currently is older kernel than 2.6.39, so avoid any misleading FUD about eudev being "the solution"
Back to top
View user's profile Send private message
yngwin
Developer
Developer


Joined: 19 Dec 2002
Posts: 4394
Location: Suzhou, China

PostPosted: Mon Jan 28, 2013 9:27 am    Post subject: Re: Problems with udev-197 Reply with quote

ssuominen wrote:
And the only reason to use eudev currently is older kernel than 2.6.39

The other reason is a dislike of the direction which systemd-udev is going.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5492

PostPosted: Mon Jan 28, 2013 1:24 pm    Post subject: Re: Problems with udev-197 Reply with quote

yngwin wrote:
ssuominen wrote:
And the only reason to use eudev currently is older kernel than 2.6.39

The other reason is a dislike of the direction which systemd-udev is going.

Many of those changes do make sense, it's just the ham-fisted way they're served that irks many people.
Well, that and Borg-like approach to the other init systems.
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1146

PostPosted: Mon Jan 28, 2013 1:53 pm    Post subject: Re: Problems with udev-197 Reply with quote

yngwin wrote:
ssuominen wrote:
And the only reason to use eudev currently is older kernel than 2.6.39

The other reason is a dislike of the direction which systemd-udev is going.

This solely is political. Likewise:
- Don't use wine. I dislike the direction Microsoft wants to go
- Don't use propr. Nvidia. I want to support Linus
- Dont' use Mysql. We don't like Oracle.
It totally is good intention, but beware poor users of this crap in moments of big trouble.
_________________
fun2gen2
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4916

PostPosted: Mon Jan 28, 2013 2:46 pm    Post subject: Re: Problems with udev-197 Reply with quote

ulenrich wrote:
yngwin wrote:
ssuominen wrote:
And the only reason to use eudev currently is older kernel than 2.6.39

The other reason is a dislike of the direction which systemd-udev is going.

This solely is political. Likewise:
- Don't use wine. I dislike the direction Microsoft wants to go
- Don't use propr. Nvidia. I want to support Linus
- Dont' use Mysql. We don't like Oracle.
It totally is good intention, but beware poor users of this crap in moments of big trouble.

all these examples are irrelevant, you can go just fine without wine, nVidia driver or MySql but that cannot be said on udev.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1146

PostPosted: Mon Jan 28, 2013 4:33 pm    Post subject: Re: Problems with udev-197 Reply with quote

DaggyStyle wrote:
ulenrich wrote:
yngwin wrote:
ssuominen wrote:
And the only reason to use eudev currently is older kernel than 2.6.39

The other reason is a dislike of the direction which systemd-udev is going.

This solely is political. Likewise:
- Don't use wine. I dislike the direction Microsoft wants to go
- Don't use propr. Nvidia. I want to support Linus
- Dont' use Mysql. We don't like Oracle.
It totally is good intention, but beware poor users of this crap in moments of big trouble.

all these examples are irrelevant, you can go just fine without wine, nVidia driver or MySql but that cannot be said on udev.
@DaggyStyle, all I wanted to say:
I wonder about a GentooDeveloper going politics when "Tux's lil' helper" has a problem. "in moments of big trouble" - I said - beware proposing users beta software having even more troubles. And I doubt Poetterings wet dream to conquer the world is a real thread. Here is the discussion:
http://phoronix.com/forums/showthread.php?77146-Lennart-Poettering-Takes-To-Battling-Systemd-Myths/page7
_________________
fun2gen2
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4916

PostPosted: Mon Jan 28, 2013 5:41 pm    Post subject: Re: Problems with udev-197 Reply with quote

ulenrich wrote:
DaggyStyle wrote:
ulenrich wrote:
yngwin wrote:
ssuominen wrote:
And the only reason to use eudev currently is older kernel than 2.6.39

The other reason is a dislike of the direction which systemd-udev is going.

This solely is political. Likewise:
- Don't use wine. I dislike the direction Microsoft wants to go
- Don't use propr. Nvidia. I want to support Linus
- Dont' use Mysql. We don't like Oracle.
It totally is good intention, but beware poor users of this crap in moments of big trouble.

all these examples are irrelevant, you can go just fine without wine, nVidia driver or MySql but that cannot be said on udev.
@DaggyStyle, all I wanted to say:
I wonder about a GentooDeveloper going politics when "Tux's lil' helper" has a problem. "in moments of big trouble" - I said - beware proposing users beta software having even more troubles. And I doubt Poetterings wet dream to conquer the world is a real thread. Here is the discussion:
http://phoronix.com/forums/showthread.php?77146-Lennart-Poettering-Takes-To-Battling-Systemd-Myths/page7


I don't care much what are Poettering's dreams, matter to the fact, he decided to take an action the wrong way.

as for the devs, I agree with you but I do tent to agree with yngwin, one cannot say udev is for newer kernels and eudev is for older onces, especially when eudev is toe to toe with udev just with small patch set.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1146

PostPosted: Mon Jan 28, 2013 6:10 pm    Post subject: Re: Problems with udev-197 Reply with quote

DaggyStyle wrote:
I don't care much what are Poettering's dreams, matter to the fact, he decided to take an action the wrong way.
As turned out: It in fact is a dream of him and in no terms any decision made. I wish the mood here was not that paranoid. But no wonder the paranoia came from top down - from Gentoo developers themselfs. The only Udev maintainer that time was overloaded: He made us Gentoo~unstable followers a little journey from /lib/udev -to- /usr/lib/udev -to-again- /lib/udev
Maybe some frustration was a cause. Despite paranoia - in reality:
- openrc and systemd live together in peace (I just had rebooted openrc after longtime only systemd)
- udev and eudev live together in the tree: Why not, and hopefully eudev gets stable soon
- despite systemd is supposed to create GnomeOS - Kde is better supported yet by systemd.

Perhaps the last fact is the most confusing and provoking some extra conspiracy paranoia :)
_________________
fun2gen2
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4916

PostPosted: Mon Jan 28, 2013 6:35 pm    Post subject: Re: Problems with udev-197 Reply with quote

ulenrich wrote:
DaggyStyle wrote:
I don't care much what are Poettering's dreams, matter to the fact, he decided to take an action the wrong way.
As turned out: It in fact is a dream of him and in no terms any decision made. I wish the mood here was not that paranoid. But no wonder the paranoia came from top down - from Gentoo developers themselfs. The only Udev maintainer that time was overloaded: He made us Gentoo~unstable followers a little journey from /lib/udev -to- /usr/lib/udev -to-again- /lib/udev
Maybe some frustration was a cause. Despite paranoia - in reality:
- openrc and systemd live together in peace (I just had rebooted openrc after longtime only systemd)
- udev and eudev live together in the tree: Why not, and hopefully eudev gets stable soon
- despite systemd is supposed to create GnomeOS - Kde is better supported yet by systemd.

Perhaps the last fact is the most confusing and provoking some extra conspiracy paranoia :)


look, there are ways to do stuff, he chose the wrong way to do that, in previous versions of udev LP broke everything and didn't gave a fuck, this is no paranoia, no one, especially the "great" LP cannot act like he did and expect flowers.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
sidamos
Apprentice
Apprentice


Joined: 16 Dec 2007
Posts: 164

PostPosted: Mon Jan 28, 2013 6:58 pm    Post subject: Re: Problems with udev-197 Reply with quote

ssuominen wrote:


Problem #1 -> You mean fsck? This is a bug in util-linux wrt http://bugs.gentoo.org/410605 and http://bugs.gentoo.org/415249 -- For now you can "ignore the problem"

Problem #2 -> Remove /dev/shm line from /etc/fstab if it's there -- the default permissions are 1777 already, chmod shouldn't be necessary, make sure there are no directory /usr/lib/udev, if there is, recompile the packages it has the files for. And check that there is nothing conflicting in /etc/udev too.

Problem #3 -> You need to `revdep-rebuild --library libudev.so.0` if you haven't already

And the only reason to use eudev currently is older kernel than 2.6.39, so avoid any misleading FUD about eudev being "the solution"

#1 Yes, fsck. OK, if I understand the bug reports correctly, the solution will probably be to not print out an error message, but still not checking /usr. So, my /usr partition will not be checked automatically anymore, right?

#2 Permissions are OK after removing the line from fstab.

#3 This said "There are no dynamic links to libudev.so.0". But still chromium seems not to crash anymore on twitter.com after the reboot (without the line in fstab). Before it crashed very often on twitter.com.

Thanks a lot! :-)
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1146

PostPosted: Tue Jan 29, 2013 1:17 am    Post subject: Re: Problems with udev-197 Reply with quote

sidamos wrote:
ssuominen wrote:


Problem #1 -> You mean fsck? This is a bug in util-linux wrt http://bugs.gentoo.org/410605 and http://bugs.gentoo.org/415249 -- For now you can "ignore the problem"

....
#1 Yes, fsck. OK, if I understand the bug reports correctly, the solution will probably be to not print out an error message, but still not checking /usr. So, my /usr partition will not be checked automatically anymore, right?
Doesn't dracut already take care about? I would wonder if not.
(Better not using dracut, because it is GnomeOS? The same people advocating unix one tool one purpose philosophy are using the one for all genkernel tool.)
_________________
fun2gen2
Back to top
View user's profile Send private message
lostpaperclips
n00b
n00b


Joined: 19 Jun 2011
Posts: 9
Location: United States

PostPosted: Wed Jan 30, 2013 7:58 am    Post subject: Reply with quote

For me I think the issue was mostly due to needed revdep-rebuild as I had already modified /etc/fstab.

Code:
sudo revdep-rebuild --library libudev.so.1


This let's me load sites like Google+ and getpocket.com, but then some other sites still aren't working: notably qz.com (it's a news site). I also have tried clearing the cache and cookies in chromium, that hasn't helped the sites that don't load.
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