Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Announce: just another one udev fork
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 9, 10, 11, 12, 13, 14  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
khayyam
Watchman
Watchman


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

PostPosted: Sat Oct 20, 2012 3:22 pm    Post subject: Reply with quote

grey_dot wrote:
Added as udev-init-scripts-17.ebuild, though it's the same as -16. Also I didn't have that bug.

grey_dot ... but udev-init-scripts-17-r1::gentoo points to a different SRC_URI (that of William Hubbs, who's assigned to the bug) so I think there is possibly more to the issue than a package bump.

best ... khay
Back to top
View user's profile Send private message
grey_dot
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2012
Posts: 142

PostPosted: Sat Oct 20, 2012 3:58 pm    Post subject: Reply with quote

khayyam wrote:
grey_dot wrote:
Added as udev-init-scripts-17.ebuild, though it's the same as -16. Also I didn't have that bug.

grey_dot ... but udev-init-scripts-17-r1::gentoo points to a different SRC_URI (that of William Hubbs, who's assigned to the bug) so I think there is possibly more to the issue than a package bump.

best ... khay


Sorry, my bad. Fixed that.
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Sat Oct 20, 2012 6:25 pm    Post subject: Reply with quote

I'm not sure what happened but I read about the bug report and udev-init-scripts.
So I upgraded to 17-r1 and rebooted:
Lots of errors which I can't show here since they weren't logged.
One I remember read something like start stop daemon:/usr/lib/sytemd/systemd-udev not existing.
And sure enough no keyboard,dead system.
Had to do a hard reset and chroot into my system to re-emerge the file from the overlay.
Seems to be running ok again.
What happened?
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


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

PostPosted: Sat Oct 20, 2012 7:26 pm    Post subject: Reply with quote

gerard82 wrote:
I'm not sure what happened but I read about the bug report and udev-init-scripts. So I upgraded to 17-r1 and rebooted: Lots of errors which I can't show here since they weren't logged. One I remember read something like start stop daemon:/usr/lib/sytemd/systemd-udev not existing.

gerard82 ... I think you installed udev-init-scripts-1.17-r1::gentoo ... hence the init was looking for 'systemd-udev' (and in the wrong location). I'd suggest the following:

/etc/portage/package.mask
Code:
app-arch/xz-utils::gentoo # assuming xz-utils is installed from the udev overlay
sys-apps/kmod::gentoo # assuming kmod is installed from the udev overlay
sys-fs/udev::gentoo
sys-fs/udev-init-scripts::gentoo

You would then keyword from the udev overlay

/etc/portage/package.accept_keywords
Code:
app-arch/xz-utils::udev
sys-apps/kmod::udev
sys-fs/udev::udev
sys-fs/udev-init-scripts::udev

gerard82 wrote:
Had to do a hard reset and chroot into my system to re-emerge the file from the overlay. Seems to be running ok again. What happened?

basically mixing ::udev and ::gentoo will cause issues as udev-init-scripts::udev expects /sbin/udev (by default) and udev-init-scripts::gentoo /usr/lib/sytemd/systemd-udev

best ... khay
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Sat Oct 20, 2012 7:33 pm    Post subject: Reply with quote

Quote:

basically mixing ::udev and ::gentoo will cause issues as udev-init-scripts::udev expects /sbin/udev (by default) and udev-init-scripts::gentoo /usr/lib/sytemd/systemd-udev

Yes it does.
Already corrected package.keywords.
Thanks anyway.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
grey_dot
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2012
Posts: 142

PostPosted: Thu Oct 25, 2012 10:14 am    Post subject: Reply with quote

Boys and girls, version 195 is out. The gap of 4 versions is caused by the absense of any significant changes in udev code and our intention to keep the version numbers synchronized.
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Thu Oct 25, 2012 12:02 pm    Post subject: Reply with quote

Hi grey_dot,
Tried to upgrade but it fails with this:
Code:

configure: error: cannot find install-sh, install.sh, or shtool in build-aux "."/build-aux

I also noticed that the distfile I got is a lot smaller than udev-190 (both from overlay).
What could be wrong?
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


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

PostPosted: Thu Oct 25, 2012 12:30 pm    Post subject: Reply with quote

gerard82 wrote:
Tried to upgrade but it fails [...]

I can verify this ... build.log

best ... khay
Back to top
View user's profile Send private message
grey_dot
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2012
Posts: 142

PostPosted: Thu Oct 25, 2012 12:54 pm    Post subject: Reply with quote

Sorry, my bad. Just uploaded the right file. Please wait a bit for bitbucket to update its mirrors.
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Thu Oct 25, 2012 1:45 pm    Post subject: Reply with quote

Now I get checksum failure.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


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

PostPosted: Thu Oct 25, 2012 3:03 pm    Post subject: Reply with quote

gerard82 wrote:
Now I get checksum failure.

gerard82 ... the manifest in the overlay will obviously need updating:

Code:
# layman --sync udev

best ... khay
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Thu Oct 25, 2012 3:32 pm    Post subject: Reply with quote

khayyam,
If I hadn't synced I wouldn't have had the filesize error.
I deleted the whole overlay and then added it again.
Now it installs ok.
Also compared the distfile sizes of 190 and 195:They're now about equal in size.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


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

PostPosted: Thu Oct 25, 2012 4:00 pm    Post subject: Reply with quote

gerard82 wrote:
If I hadn't synced I wouldn't have had the filesize error.

gerard82 ... yes, but you didn't say you if you'd sync'ed or that you had the old tarball in distfiles. I'd assumed you had removed the old tarball and then emerged without having also updated the overlay (so having the new tarball but the old manifest).

gerard82 wrote:
I deleted the whole overlay and then added it again. Now it installs ok.

That shouldn't have made any difference ...

best ... khay
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Fri Nov 02, 2012 5:01 pm    Post subject: Reply with quote

khayyam wrote:

steveL ... I just wanted to say that, yes, I can see that it does add some worthwhile functionality, but I think the description needs to be made clearer and the var changed to something more desriptive (ie: "early-udev-mount" or something?).

I'm not sure how the description could be any clearer:
Code:
# UNSUPPORTED: Allow people with a separate /usr and /var to                                     
# get away without an initramfs. The problem here is that                                       
# udev helpers live in /usr and /var, so udev has to start                                       
# after they have been mounted.                                                                 
# To use udev, you MUST have CONFIG_DEVTMPFS set in kernel                                       
# If you are not using an initramfs (and are *sure* that you                                     
# don't need one or udev to mount /usr and /var) you can set                                     
# this to "no" to make udev-mount provide dev for devfs and                                     
# udev wait for localmount.
#initramfs="yes"
...more instructions about runlevels...

You're welcome to change whatever you want, of course. I can see the utility in prefixing it with udev_ though I thought that's how it's done anyway, if you configure via main rc.conf. When I started I didn't know what else might be affected by the change: at first I tried moving other things to sysinit, which quickly turned into a nightmare. Then just thinking about the simplest thing to fulfil the requirement (which means focussing only on the requirement: that partitions be mounted before udev starts) got me there.

I don't agree with any sort of "early-mount" because that simply is not what it does (that was another approach); rather it delays udev startup til after localmount. So perhaps udev_delay_startup?

The only reason to do that is because you are not using an initramfs, afaik, as if you were using one in the "official" configuration, then at least some mounting would have been done there, and udev started in sysinit. So for my setup, I named it after that: the purpose of the variable, not the mechanism.

After all, it could in the future require a completely different mechanism, but I still wouldn't be using an initramfs.
Back to top
View user's profile Send private message
tclover
Guru
Guru


Joined: 10 Apr 2011
Posts: 516

PostPosted: Tue Nov 06, 2012 5:42 pm    Post subject: udev devpts and shm mount issue Reply with quote

@maintainers:

hullo,
i don't if you saw this bug #438932 that i opened a few days ago but you should take a look especially at comment #24 which resume the two main issues.

i'm using this fork since the beginning but, sorry, i did not have any moment to come here and report back.

i've just merged back openrc-0.11.2 the other day, without reading that comment, sorry i did not have the time too follow the whole bug posts, with updating udev{,-init-scripts}-9999 and got the same issue. i reponned the bug again and i'm going to test comment #24 fix and report backk when i have a moment.

thanks again for this fork!
_________________
home/:mkinitramfs-ll/:supervision/:e-gtk-theme/:overlay/
Back to top
View user's profile Send private message
grey_dot
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2012
Posts: 142

PostPosted: Wed Nov 07, 2012 10:37 am    Post subject: Re: udev devpts and shm mount issue Reply with quote

tclover wrote:
@maintainers:

hullo,
i don't if you saw this bug #438932 that i opened a few days ago but you should take a look especially at comment #24 which resume the two main issues.

i'm using this fork since the beginning but, sorry, i did not have any moment to come here and report back.

i've just merged back openrc-0.11.2 the other day, without reading that comment, sorry i did not have the time too follow the whole bug posts, with updating udev{,-init-scripts}-9999 and got the same issue. i reponned the bug again and i'm going to test comment #24 fix and report backk when i have a moment.

thanks again for this fork!


I believe I have read that before, but I didn't have a chance to run at that issue myself, so I cannot say anything for sure. My laptop is running udev-9999 and udev-init-scripts-17 from udev overlay, and everything seems fine so far.
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Wed Nov 07, 2012 8:43 pm    Post subject: Reply with quote

Since installing this setup everything works ok with the exception of my dvd-rom drive.
Once you push the button to open the tray it refuses to close.
When you push the button to close it it closes and 1 second later it opens again no matter how often you try to close it.
Makes no diff whether there's a disk in it or not.
The dvd-rw is ok.
The rom drive is on /dev/sr1 the rw on /dev/sr0.

Code:
 60-cdrom_id.rules
# do not edit this file, it will be overwritten on update

ACTION=="remove", GOTO="cdrom_end"
SUBSYSTEM!="block", GOTO="cdrom_end"
KERNEL!="sr[0-9]*|xvd*", GOTO="cdrom_end"
ENV{DEVTYPE}!="disk", GOTO="cdrom_end"

# unconditionally tag device as CDROM
KERNEL=="sr[0-9]*", ENV{ID_CDROM}="1"

# media eject button pressed
ENV{DISK_EJECT_REQUEST}=="?*", RUN+="cdrom_id --eject-media $devnode", GOTO="cdrom_end"

# import device and media properties and lock tray to
# enable the receiving of media eject button events
IMPORT{program}="cdrom_id --lock-media $devnode"

KERNEL=="sr0", SYMLINK+="cdrom", OPTIONS+="link_priority=-100"

LABEL="cdrom_end"


How can I fix this?
I browsed the Gentoo udev guide + the 2 links at the bottom but they're totally obsolete.
I've never written udev rules and am no coder.
Any help will be much appreciated.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Fri Nov 09, 2012 7:12 pm    Post subject: Reply with quote

I reinstalled udev-171-r8 and all is ok now.
Reading the rule above I wonder if this will only work on laptops since they have only one optical drive.
The sr0 drive works ok,it's the sr1 drive that doesn't.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Fri Nov 09, 2012 10:22 pm    Post subject: Reply with quote

It has been a few years I posted to the forums 8O

Sofar all seems well except for some alsactl errors which I have not looked at.
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
hcaulfield57
Tux's lil' helper
Tux's lil' helper


Joined: 13 Mar 2012
Posts: 148

PostPosted: Sat Nov 10, 2012 1:18 am    Post subject: Reply with quote

It's been too quiet over here! I upgraded to 195, everything works fine as expected.
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Sat Nov 10, 2012 10:56 am    Post subject: Reply with quote

@hcaulfield57,
Is this on a laptop or on a desktop with two optical drives?
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
hcaulfield57
Tux's lil' helper
Tux's lil' helper


Joined: 13 Mar 2012
Posts: 148

PostPosted: Sat Nov 10, 2012 6:17 pm    Post subject: Reply with quote

Gerard,

This is on my desktop, I only have one optical drive, why do you ask?
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Sat Nov 10, 2012 7:13 pm    Post subject: Reply with quote

Thanks for replying hcaulfield57.
The first optical disk is designated as /dev/sr0.
Any subsequent drives as /dev/sr1,2 ,3 and so on.
I have two drives,the rom and rw drive.
The rw drive is always installed on the first channel by the manufacturer.
This has (had) to do with burning software being picky (not anymore AFAIK).
So you won't have any problem like I have.

I've entered an "issue" ( ==bugreport) on braindamaged site.
He will check into it but he doesn't have a box with any optical drive nor do his buddies.
Higher up you'll find a post by me with a copy of the 60-cdrom-id.rules which I think should be changed.
Only I haven't got the knowledge how to accomplish that.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
hcaulfield57
Tux's lil' helper
Tux's lil' helper


Joined: 13 Mar 2012
Posts: 148

PostPosted: Sat Nov 10, 2012 7:42 pm    Post subject: Reply with quote

Oh okay, I see what your problem is. I would look into it if I had a computer with more than one drive, but unfortunately I only have one. Maybe someone here has more than one. Sorry I can't be more of a help.
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Sat Nov 10, 2012 8:17 pm    Post subject: Reply with quote

Well hcaulfield57 I "fixed" it.
I removed the 60-cdrom_id.rules from /lib64/udev/rules.d.
I then copied the same rules file from udev-171-r8 to /etc/udev/rules.d and added 70-persistent-cd.rules from the same udev.
I did all this on a separate experimental Gentoo install.
Now everything on my box works.
When I load a music cd in the rom drive kde pops up a message what program I want to use to either play it or rip it.
So to me this proves the original rule is wrong.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
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
Goto page Previous  1, 2, 3 ... 9, 10, 11, 12, 13, 14  Next
Page 10 of 14

 
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