From mboxrd@z Thu Jan 1 00:00:00 1970 From: MALET JL Date: Fri, 27 Feb 2004 17:14:28 +0000 Subject: Re: Hotplug Message-Id: <403F7AF4.60509@laposte.net> MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------enig7CF102B266ABAA723F1E9B07" List-Id: References: In-Reply-To: To: linux-hotplug@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7CF102B266ABAA723F1E9B07 Content-Type: text/plain; charset="iso-8859-1"; format="flowed" Content-Transfer-Encoding: quoted-printable Philip MacIver a =E9crit : > --- MALET JL wrote: > >Philip MacIver a =E9crit : > =20 > >>>I've just read something that may be causing my >>>problem with udev, and I would just like to confirm >>>this before I actually go ahead and do any changes. >>> =20 >>> >>>Running "/proc/sys/kernel/hotplug" on my system >>> =20 >>> >>prints >> =20 >> >>>out "/bin/true", I've read that to change this you >>> =20 >>> >>do >> =20 >> >>>echo "/sbin/hotplug" > /proc/sys/kernel/hotplug.=20 >>> >>>But what I want to know is, is this the reason that >>> =20 >>> >>my >> =20 >> >>>linux system won't boot up when I try and use udev >>>with /dev as the udev_root. The reason that I ask >>> =20 >>> >>is >> =20 >> >>>because when I tested out udev using /udev as the >>>udev_root and my system started up, the hotplug >>> =20 >>> >>demon >> =20 >> >>>started up after the hard disks are mounted. And >>> =20 >>> >>the >> =20 >> >>>problem was that the /dev/hda device nodes (and >>>others) were not being created.=20 >>> >>>Thanks in advanced for any help.=20 >>> >>>=3D=3D=3D=3D=3D >>>Philip MacIver >>>-- >>>e: pmaciver@arishi.com >>>e: philipmaciver@yahoo.co.uk >>>=20 >>> >>> =20 >>> >>what script do you use to start udev? is this the >>start_udev one? >> =20 >> > >Yes. > > =20 > >>when you use /udev : the entries are created? (do an >>ls don't assume=20 >>that they are created because no errors occurs) >> =20 >> > >Yes all the enteries are created, I've learnt never to >assume > =20 > >>are you mounting a /dev in fstab? (i know someone >>that did that...) >> >> =20 >> > >Nope I've checked my fstab many times and I don't >mount a dev. > >When I do set the udev_root to /dev some devices get >created, like fd0 and a few others that I can't >remember.=20 > >But i'm wondering if where i'm starting udev in my >rc.sysinit is the problem. Just for your reference I >start it (and also mount sysfs) right after /proc gets >mounted (and yes I do mmount sysfs before I run >start_udev :) ) > > >=20 > >=3D=3D=3D=3D=3D >Philip MacIver >-- >e: pmaciver@arishi.com >e: philipmaciver@yahoo.co.uk > > >=09 >=09 > =09 >___________________________________________________________ >Yahoo! Messenger - Communicate instantly..."Ping"=20 >your friends today! Download Messenger Now=20 >http://uk.messenger.yahoo.com/download/index.html > =20 > I remember having such trouble but this was because the udev script was=20 run twice...... but I can't remember exactly what was the causes and how=20 they disapeard..... what I remember is that : I loged into the box, noticed that /dev wasn't=20 the right one (a fixed dev tree) so tried to rerun the script and only=20 get a partial /dev structure.... looking what was mounted told me that=20 /dev was mounted twice with ramfs..... maybe it can help :/ --------------enig7CF102B266ABAA723F1E9B07 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAP3r0cl3j/qUaL14RAtHaAJ9SqTSfSTHI71bWDILvXE6M3S1GcQCggAt7 N615wPGvRc2HSWsuEOqhE9o= =763I -----END PGP SIGNATURE----- --------------enig7CF102B266ABAA723F1E9B07-- ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ 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