From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Sun, 30 Jul 2006 05:52:46 +0000 Subject: Re: trying 068 with Gentoo Message-Id: <20060730055246.GA11079@kroah.com> List-Id: References: <200508312302.39102.bobb@absamail.co.za> In-Reply-To: <200508312302.39102.bobb@absamail.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Sat, Jul 29, 2006 at 02:49:56AM +0000, Virgil Anderson wrote: > Greg KH kroah.com> writes: >=20 > >=20 > > 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. > >=20 > > You forgot to mention that you ignored the ewarn messages that the 068 > > gentoo release stated that explained how to fix this problem. > >=20 > > 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) > >=20 > > thanks, > >=20 > > greg k-h > >=20 > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Pract= ices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing &= QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5= sf > >=20 >=20 > 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 u= devd 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 p= ut in > the control statements - probably because the console is pre-existing whe= n udevd > comes up.=20 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=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ 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