* [gentoo-user] New kernel and udev
@ 2005-10-07 2:39 gentuxx
2005-10-07 3:10 ` Rafael Alfaro
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: gentuxx @ 2005-10-07 2:39 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I went to do my routine "emerge -Duptv world" and it came back with
devfsd blocking gentoo-sources-2.6.13-r3. I'm not sure whether I'm
using udev now or not. I remember compiling into the kernel last time
I did a kernel compile. Naturally, when I did the "emerge -Cpv
devfsd" it complained that I was unemerging something in the system
profile, and that it could damage my system. So I just thought I
would check here before hurting anything. ;-)
So, does the v2.6.13-r3 gentoo-sources use udev? (Am I confusing this
with something else?) How can I tell if I'm using udev now, and/or if
I will hurt anything by uninstalling it, to get the new kernel sources?
Thanks.
- --
gentux
echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'
gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A
6996 0993
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDRd/6LYGSSmmWCZMRApEjAJ95zhCxlNCIZW1e71555qUy/8HLDgCghDdK
8H9sLDiT4Mfh+I+5SOHXIJs=
=w92s
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] New kernel and udev
2005-10-07 2:39 [gentoo-user] New kernel and udev gentuxx
@ 2005-10-07 3:10 ` Rafael Alfaro
2005-10-07 3:35 ` Rafael Alfaro
2005-10-07 3:38 ` Richard Fish
2 siblings, 0 replies; 9+ messages in thread
From: Rafael Alfaro @ 2005-10-07 3:10 UTC (permalink / raw
To: gentoo-user
Read this article
http://lwn.net/Articles/149479/
On 10/7/05, gentuxx <gentuxx@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
>
> I went to do my routine "emerge -Duptv world" and it came back with
> devfsd blocking gentoo-sources-2.6.13-r3. I'm not sure whether I'm
> using udev now or not. I remember compiling into the kernel last time
> I did a kernel compile. Naturally, when I did the "emerge -Cpv
> devfsd" it complained that I was unemerging something in the system
> profile, and that it could damage my system. So I just thought I
> would check here before hurting anything. ;-)
>
> So, does the v2.6.13-r3 gentoo-sources use udev? (Am I confusing this
> with something else?) How can I tell if I'm using udev now, and/or if
> I will hurt anything by uninstalling it, to get the new kernel sources?
>
> Thanks.
>
> - --
> gentux
> echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'
>
> gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A
> 6996 0993
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFDRd/6LYGSSmmWCZMRApEjAJ95zhCxlNCIZW1e71555qUy/8HLDgCghDdK
> 8H9sLDiT4Mfh+I+5SOHXIJs=
> =w92s
> -----END PGP SIGNATURE-----
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] New kernel and udev
2005-10-07 2:39 [gentoo-user] New kernel and udev gentuxx
2005-10-07 3:10 ` Rafael Alfaro
@ 2005-10-07 3:35 ` Rafael Alfaro
2005-10-07 3:38 ` Richard Fish
2 siblings, 0 replies; 9+ messages in thread
From: Rafael Alfaro @ 2005-10-07 3:35 UTC (permalink / raw
To: gentoo-user
read this udev guide too:
http://www.gentoo.org/doc/en/udev-guide.xml
On 10/7/05, gentuxx <gentuxx@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
>
> I went to do my routine "emerge -Duptv world" and it came back with
> devfsd blocking gentoo-sources-2.6.13-r3. I'm not sure whether I'm
> using udev now or not. I remember compiling into the kernel last time
> I did a kernel compile. Naturally, when I did the "emerge -Cpv
> devfsd" it complained that I was unemerging something in the system
> profile, and that it could damage my system. So I just thought I
> would check here before hurting anything. ;-)
>
> So, does the v2.6.13-r3 gentoo-sources use udev? (Am I confusing this
> with something else?) How can I tell if I'm using udev now, and/or if
> I will hurt anything by uninstalling it, to get the new kernel sources?
>
> Thanks.
>
> - --
> gentux
> echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'
>
> gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A
> 6996 0993
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFDRd/6LYGSSmmWCZMRApEjAJ95zhCxlNCIZW1e71555qUy/8HLDgCghDdK
> 8H9sLDiT4Mfh+I+5SOHXIJs=
> =w92s
> -----END PGP SIGNATURE-----
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] New kernel and udev
2005-10-07 2:39 [gentoo-user] New kernel and udev gentuxx
2005-10-07 3:10 ` Rafael Alfaro
2005-10-07 3:35 ` Rafael Alfaro
@ 2005-10-07 3:38 ` Richard Fish
2005-10-07 3:55 ` gentuxx
2 siblings, 1 reply; 9+ messages in thread
From: Richard Fish @ 2005-10-07 3:38 UTC (permalink / raw
To: gentoo-user
gentuxx wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hi all,
>
>I went to do my routine "emerge -Duptv world" and it came back with
>devfsd blocking gentoo-sources-2.6.13-r3. I'm not sure whether I'm
>using udev now or not. I remember compiling into the kernel last time
>I did a kernel compile. Naturally, when I did the "emerge -Cpv
>devfsd" it complained that I was unemerging something in the system
>profile, and that it could damage my system. So I just thought I
>would check here before hurting anything. ;-)
>
>
Take a look at the RC_DEVICES setting in /etc/conf.d/rc. If that says
"auto" or "udev", then you are using udev and can safely remove devfs.
Another way to check is to look at the output of "mount | grep /dev".
Here is what it says for me:
udev on /dev type tmpfs (rw,nosuid)
If you are still using devfs, this will probably say "type devfs".
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] New kernel and udev
2005-10-07 3:38 ` Richard Fish
@ 2005-10-07 3:55 ` gentuxx
2005-10-07 6:31 ` Roy Wright
0 siblings, 1 reply; 9+ messages in thread
From: gentuxx @ 2005-10-07 3:55 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Richard Fish wrote:
>
>
> gentuxx wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi all,
>>
>> I went to do my routine "emerge -Duptv world" and it came back with
>> devfsd blocking gentoo-sources-2.6.13-r3. I'm not sure whether I'm
>> using udev now or not. I remember compiling into the kernel last time
>> I did a kernel compile. Naturally, when I did the "emerge -Cpv
>> devfsd" it complained that I was unemerging something in the system
>> profile, and that it could damage my system. So I just thought I
>> would check here before hurting anything. ;-)
>>
>>
>
> Take a look at the RC_DEVICES setting in /etc/conf.d/rc. If that
> says "auto" or "udev", then you are using udev and can safely remove
> devfs. Another way to check is to look at the output of "mount |
> grep /dev". Here is what it says for me:
>
> udev on /dev type tmpfs (rw,nosuid)
>
> If you are still using devfs, this will probably say "type devfs".
>
> -Richard
>
No devfs. I guess I was thinking that udev WAS devfs. I also found
this: http://www.gentoo.org/doc/en/devfs-guide.xml, which was a
help. ;-)
Thanks.
- --
gentux
echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'
gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A
6996 0993
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDRfGVLYGSSmmWCZMRAsZ3AKDFZXbuCAdvDoKUCqbYMpIeihGr/gCgj13N
UbMw2lSMTNYZW7fCmWdo8LU=
=2zQ2
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] New kernel and udev
2005-10-07 3:55 ` gentuxx
@ 2005-10-07 6:31 ` Roy Wright
2005-10-07 16:29 ` Richard Fish
0 siblings, 1 reply; 9+ messages in thread
From: Roy Wright @ 2005-10-07 6:31 UTC (permalink / raw
To: gentoo-user
gentuxx wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Richard Fish wrote:
>
>
>
>>gentuxx wrote:
>>
>>
>>
>>>-----BEGIN PGP SIGNED MESSAGE-----
>>>Hash: SHA1
>>>
>>>Hi all,
>>>
>>>I went to do my routine "emerge -Duptv world" and it came back with
>>>devfsd blocking gentoo-sources-2.6.13-r3. I'm not sure whether I'm
>>>using udev now or not. I remember compiling into the kernel last time
>>>I did a kernel compile. Naturally, when I did the "emerge -Cpv
>>>devfsd" it complained that I was unemerging something in the system
>>>profile, and that it could damage my system. So I just thought I
>>>would check here before hurting anything. ;-)
>>>
>>>
>>>
>>>
>>Take a look at the RC_DEVICES setting in /etc/conf.d/rc. If that
>>says "auto" or "udev", then you are using udev and can safely remove
>>devfs. Another way to check is to look at the output of "mount |
>>grep /dev". Here is what it says for me:
>>
>>udev on /dev type tmpfs (rw,nosuid)
>>
>>If you are still using devfs, this will probably say "type devfs".
>>
>>-Richard
>>
>>
>>
>No devfs. I guess I was thinking that udev WAS devfs. I also found
>this: http://www.gentoo.org/doc/en/devfs-guide.xml, which was a
>help. ;-)
>
>Thanks.
>
>- --
>gentux
>echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'
>
>gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A
>6996 0993
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.1 (GNU/Linux)
>
>iD8DBQFDRfGVLYGSSmmWCZMRAsZ3AKDFZXbuCAdvDoKUCqbYMpIeihGr/gCgj13N
>UbMw2lSMTNYZW7fCmWdo8LU=
>=2zQ2
>-----END PGP SIGNATURE-----
>
>
>
Three times in the past months I've tried to get udev up and
running without luck. With the new kernel forcing the removal
of devfs, I'm trying the fourth time.
Current kernel is 2.6.12-r10.
Removed devfs automount but left it built into the kernel
(as described in Gentoo udev Guide).
Here's my grub.conf:
# /boot/grub/grub.conf:
timeout 30
default 0
splashimage=(hd0,0)/grub/splash.xpm.gz
# For booting Linux
title Gentoo Latest
root (hd0,0)
kernel (hd0,0)/boot/vmlinuz root=/dev/sda3
# For booting Linux with udev
title Gentoo Latest with udev
root (hd0,0)
kernel (hd0,0)/boot/vmlinuz root=/dev/sda3 udev gentoo=nodevfs
# abridged other boot items...
I believe (according to the Gentoo udev Guide) that "Gentoo Latest"
ought to boot with udev. It doesn't. Instead it boots with devfs.
Note, both udevd and devfsd are running:
royw-gentoo tmp # ps -e | grep udev
949 ? 00:00:00 udevd
royw-gentoo tmp # ps -e | grep devfs
1127 ? 00:00:00 devfsd
The second item, "Gentoo Latest with udev", tries to force udev.
What happens is the kernel can't find either udev or devfs, gives
a 15 second warning, then continues to boot with nothing mounted
on /dev.
Here's my rc config file:
# /etc/conf.d/rc: Global config file for the Gentoo RC System
RC_TTY_NUMBER=11
RC_PARALLEL_STARTUP="no"
RC_NET_STRICT_CHECKING="no"
RC_VOLUME_ORDER="raid evms lvm dm"
RC_USE_FSTAB="no"
RC_USE_CONFIG_PROFILE="yes"
RC_FORCE_AUTO="no"
RC_DEVICES="auto"
RC_DEVICE_TARBALL="no"
RC_RETRY_KILL="yes"
RC_RETRY_TIMEOUT=1
RC_RETRY_COUNT=5
RC_FAIL_ON_ZOMBIE="no"
svcdir="/var/lib/init.d"
svcmount="no"
svcfstype="tmpfs"
svcsize=2048
Not sure if any other config files are used.
Any ideas?
TIA,
Roy
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] New kernel and udev
@ 2005-10-07 11:41 brettholcomb
0 siblings, 0 replies; 9+ messages in thread
From: brettholcomb @ 2005-10-07 11:41 UTC (permalink / raw
To: gentoo-user
udev is now default. If you've built your kernel with udev and emerged udev then you should be able to uninstall devfs. I did - but I've been running udev for a long time now. There is a doc on Gentoo about how to move to udev so make sure you've done that first.
>
> From: gentuxx <gentuxx@gmail.com>
> Date: 2005/10/06 Thu PM 10:39:55 EDT
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] New kernel and udev
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
>
> I went to do my routine "emerge -Duptv world" and it came back with
> devfsd blocking gentoo-sources-2.6.13-r3. I'm not sure whether I'm
> using udev now or not. I remember compiling into the kernel last time
> I did a kernel compile. Naturally, when I did the "emerge -Cpv
> devfsd" it complained that I was unemerging something in the system
> profile, and that it could damage my system. So I just thought I
> would check here before hurting anything. ;-)
>
> So, does the v2.6.13-r3 gentoo-sources use udev? (Am I confusing this
> with something else?) How can I tell if I'm using udev now, and/or if
> I will hurt anything by uninstalling it, to get the new kernel sources?
>
> Thanks.
>
> - --
> gentux
> echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'
>
> gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A
> 6996 0993
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFDRd/6LYGSSmmWCZMRApEjAJ95zhCxlNCIZW1e71555qUy/8HLDgCghDdK
> 8H9sLDiT4Mfh+I+5SOHXIJs=
> =w92s
> -----END PGP SIGNATURE-----
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] New kernel and udev
2005-10-07 6:31 ` Roy Wright
@ 2005-10-07 16:29 ` Richard Fish
2005-10-07 18:40 ` Roy Wright
0 siblings, 1 reply; 9+ messages in thread
From: Richard Fish @ 2005-10-07 16:29 UTC (permalink / raw
To: gentoo-user
Roy Wright wrote:
> # For booting Linux with udev
> title Gentoo Latest with udev
> root (hd0,0)
> kernel (hd0,0)/boot/vmlinuz root=/dev/sda3 udev gentoo=nodevfs
Change to:
kernel (hd0,0)/boot/vmlinuz root=/dev/sda3
>
> I believe (according to the Gentoo udev Guide) that "Gentoo Latest"
> ought to boot with udev. It doesn't. Instead it boots with devfs.
> Note, both udevd and devfsd are running:
Looking through /sbin/rc, gentoo will disable udev if any of the
following are true:
1. RC_DEVICES is set to "devfs".
2. The kernel command line contains "noudev".
3. The kernel version is less than 2.6.0.
4. /sbin/udev does not exist or is not an executable file
5. The file /dev/.devfsd exists.
Since the first 3 definitely do not apply, and you seem to have emerged
udev, my guess is you probably need to remove /dev/.devfsd to enable udev.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] New kernel and udev
2005-10-07 16:29 ` Richard Fish
@ 2005-10-07 18:40 ` Roy Wright
0 siblings, 0 replies; 9+ messages in thread
From: Roy Wright @ 2005-10-07 18:40 UTC (permalink / raw
To: gentoo-user
Richard Fish wrote:
>
> Looking through /sbin/rc, gentoo will disable udev if any of the
> following are true:
>
> 1. RC_DEVICES is set to "devfs".
> 2. The kernel command line contains "noudev".
> 3. The kernel version is less than 2.6.0.
> 4. /sbin/udev does not exist or is not an executable file
> 5. The file /dev/.devfsd exists.
>
> Since the first 3 definitely do not apply, and you seem to have
> emerged udev, my guess is you probably need to remove /dev/.devfsd to
> enable udev.
>
> -Richard
>
THANK YOU!!!!
#5 was the problem. Could not remove it with devfs in use, so booted to
the mode where
neither devfs nor udev were used, then deleted it.
The only other issue so for was X wouldn't start. Xorg.0.log showed
/dev/mouse not
found. Had to "ln -s /dev/input/mice /dev/mouse" and presto.
Onward to 2.6.13...
Again,
Thank you!
-Roy
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-10-07 18:45 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-07 2:39 [gentoo-user] New kernel and udev gentuxx
2005-10-07 3:10 ` Rafael Alfaro
2005-10-07 3:35 ` Rafael Alfaro
2005-10-07 3:38 ` Richard Fish
2005-10-07 3:55 ` gentuxx
2005-10-07 6:31 ` Roy Wright
2005-10-07 16:29 ` Richard Fish
2005-10-07 18:40 ` Roy Wright
-- strict thread matches above, loose matches on Subject: below --
2005-10-07 11:41 brettholcomb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox