* Re: trying 068 with Gentoo
2005-08-31 21:02 trying 068 with Gentoo Bob Barry
@ 2005-09-01 1:55 ` Greg KH
2006-07-29 2:49 ` Virgil Anderson
2006-07-30 5:52 ` Greg KH
2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2005-09-01 1:55 UTC (permalink / raw)
To: linux-hotplug
On Wed, Aug 31, 2005 at 11:02:39PM +0200, Bob Barry wrote:
> I installed udev-068 on Gentoo, installed the new /etc/udev/udev.conf
> and /etc/udev/rules.d/50-udev.rules, and restarted with kernel 2.6.13.
You forgot to mention that you ignored the ewarn messages that the 068
gentoo release stated that explained how to fix this problem.
Also, this isn't a Gentoo specific mailing list, if you have Gentoo
specific problems with udev (like this) please enter a bug into their
bugzilla system (bugs.gentoo.org)
thanks,
greg k-h
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: trying 068 with Gentoo
2005-08-31 21:02 trying 068 with Gentoo Bob Barry
2005-09-01 1:55 ` Greg KH
@ 2006-07-29 2:49 ` Virgil Anderson
2006-07-30 5:52 ` Greg KH
2 siblings, 0 replies; 4+ messages in thread
From: Virgil Anderson @ 2006-07-29 2:49 UTC (permalink / raw)
To: linux-hotplug
Greg KH <greg <at> kroah.com> writes:
>
> On Wed, Aug 31, 2005 at 11:02:39PM +0200, Bob Barry wrote:
> > I installed udev-068 on Gentoo, installed the new /etc/udev/udev.conf
> > and /etc/udev/rules.d/50-udev.rules, and restarted with kernel 2.6.13.
>
> You forgot to mention that you ignored the ewarn messages that the 068
> gentoo release stated that explained how to fix this problem.
>
> Also, this isn't a Gentoo specific mailing list, if you have Gentoo
> specific problems with udev (like this) please enter a bug into their
> bugzilla system (bugs.gentoo.org)
>
> thanks,
>
> greg k-h
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
>
Actually greg k-h,
This is NOT a gentoo specific problem ... it's a udev / agetty / openvt problem.
It appears to occur when you move completely away from devfs, such that udevd is
generating all /dev entries. The problem is /dev/vc/%d and /dev/tty are
hardcoded into programs in the kbd and util-linux packages. For whatever reason
udev does not properly populate these devices in /dev no mater what you put in
the control statements - probably because the console is pre-existing when udevd
comes up. There are a number of fixes floating around, none of which really
work to my satisfaction. One is to have a /lib/dev space for pre-existing
devices and then copy it to /dev. Personally, I would have the software tell
udevd that device entries are needed, and udevd respond by inserting the
requested virtual device or whatever into /dev. If such a mechanism is
available it certainly is not being used, or well documented.
Virgil Anderson.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: trying 068 with Gentoo
2005-08-31 21:02 trying 068 with Gentoo Bob Barry
2005-09-01 1:55 ` Greg KH
2006-07-29 2:49 ` Virgil Anderson
@ 2006-07-30 5:52 ` Greg KH
2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2006-07-30 5:52 UTC (permalink / raw)
To: linux-hotplug
On Sat, Jul 29, 2006 at 02:49:56AM +0000, Virgil Anderson wrote:
> Greg KH <greg <at> kroah.com> writes:
>
> >
> > On Wed, Aug 31, 2005 at 11:02:39PM +0200, Bob Barry wrote:
> > > I installed udev-068 on Gentoo, installed the new /etc/udev/udev.conf
> > > and /etc/udev/rules.d/50-udev.rules, and restarted with kernel 2.6.13.
> >
> > You forgot to mention that you ignored the ewarn messages that the 068
> > gentoo release stated that explained how to fix this problem.
> >
> > Also, this isn't a Gentoo specific mailing list, if you have Gentoo
> > specific problems with udev (like this) please enter a bug into their
> > bugzilla system (bugs.gentoo.org)
> >
> > thanks,
> >
> > greg k-h
> >
> > -------------------------------------------------------
> > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> >
>
> Actually greg k-h,
> This is NOT a gentoo specific problem ...
But this email was almost a year old, so udev and the kernel have moved
on since then...
> it's a udev / agetty / openvt problem.
Talk to the openvt group about how it works with udev, the people here
really have no idea how to do that, sorry.
> It appears to occur when you move completely away from devfs, such that udevd is
> generating all /dev entries. The problem is /dev/vc/%d and /dev/tty are
> hardcoded into programs in the kbd and util-linux packages. For whatever reason
> udev does not properly populate these devices in /dev no mater what you put in
> the control statements - probably because the console is pre-existing when udevd
> comes up.
Then the startup logic for your distro is incorrect, this should be
properly handled by it.
> There are a number of fixes floating around, none of which really
> work to my satisfaction. One is to have a /lib/dev space for pre-existing
> devices and then copy it to /dev. Personally, I would have the software tell
> udevd that device entries are needed, and udevd respond by inserting the
> requested virtual device or whatever into /dev. If such a mechanism is
> available it certainly is not being used, or well documented.
Why not just do what all other distros do at startup to populate /dev
with the device information from the devices that have been created
before userspace runs? That involves using either udevstart,
udevtrigger, or a simple shell script, depending on the kernel verison
that you are using.
thanks,
greg k-h
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread