From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Mehani Date: Tue, 21 Sep 2004 20:53:19 +0000 Subject: Re: difference between gentoo=nodevfs devfs=nomount Message-Id: <20040921225319.13bbff6b.shtrom@ssji.net> MIME-Version: 1 Content-Type: multipart/mixed; boundary="Signature=_Tue__21_Sep_2004_22_53_19_+0200_aJb0TB172fk0drU7" List-Id: References: <40AD120E.6020209@wanadoo.fr> In-Reply-To: <40AD120E.6020209@wanadoo.fr> To: linux-hotplug@vger.kernel.org --Signature=_Tue__21_Sep_2004_22_53_19_+0200_aJb0TB172fk0drU7 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Thu, 20 May 2004 22:16:14 +0200 Nicolas DELY wrote: > I'm a french student, and I'm very interested on udev and hotplug. me too :) > 1) With gentoo=nodevfs, kernel stops because it cannot find my / fs . > There is no symlink in /dev (/dev/hdaX --> /dev/ide/..../partX) but > there is a rule in /etc/udev/rules.conf : > # devfs-names for ide-devices (uncomment only one) > # /dev/ide/.../{disc,cd} and /dev/{cdroms,discs}/* type names > BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/scripts/ide-devfs.sh %k %b devfs=nomout is a kernel option, it disables the auto mounting of the devfs filesystems on /dev, I don't know about the gentoo=nodevfs, which, obviously, is a gentoo argument. The problem with the devfs=nomount and gentoo is that gentoo always used devfs, and hasn't a static /dev to rely on when devfs isn't mounted. I think I saw packages made by gentoo containing the basic /dev entry so that you don't encounter this type of problem before you start_udev. > 2) I don't understand why use ide-cd instead of ide-scsi, with ide-cd > udev doesn't create node in /dev in order to mount cdrom. Whereas with > ide-scsi /dev/sr0 is created and I can mount it. Is ide-cd for burn > cds? As of kernel 2.6, it is now possible to burn cd without using ide-scsi (eg: cdrecord dev=/dev/hdX). ide-cd is the normal driver for ATAPI cd-rom drives. Have a look at you udev log to see how it handles your cd-rom drive, it works fine for me. > 3) On my second computer, i have the same config but with > nvidia-drivers. I run gdm and it works fine execept duplicated symbols > (xorg-x11) but it is impossible to switch consoles with ctrl-alt-fX, > in fact X freeze. The framebuffer doesn't work very well, i cannot > obtain vga=791 : 1024x768, maybe it is because nvidia module is not > load at kernel boot time? It is indeed recommended to load the nvidia modules at boot time so that udev gets the time to create the devices nodes, but it doesn't seems to me that your problem is related to this issue. -- Olivier Mehani PGP fingerprint = 3720 A1F7 1367 9FA3 C654 6DFB 6845 4071 E346 2FD1 --Signature=_Tue__21_Sep_2004_22_53_19_+0200_aJb0TB172fk0drU7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBUJTCaEVAceNGL9ERAlgUAJ9CWtdDeTmh0OJJ4vDfLlzt3p72AACeP6LR 6/uhZtAprq7EZnl/PKIXmeA= =pwZT -----END PGP SIGNATURE----- --Signature=_Tue__21_Sep_2004_22_53_19_+0200_aJb0TB172fk0drU7-- ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ 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