difference between gentoo=nodevfs devfs=nomount
Hello everybody,
I'm a french student, and I'm very interested on udev and hotplug. In my gentoo, there are a linux kernel 2.6.6, and no devfs flag in kernel. I would like no more devfs and only udev. I'm wondering what are the differences between the kernel boot option: gentoo=nodevfs devfs=nomount. In gentoo doc, it is suggested to put devfs=nomount to disable devfs. Moreover, I have disable RC_DEVICE_TARBALL="no", and RC_DEVFSD_STARTUP="no" in /etc/conf.d/rc .
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
%n", NAME="%k", SYMLINK="%c{1} %c{2}"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?
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 vgay1 : 1024x768, maybe it is because nvidia module is not load at kernel boot time?
Thanks in advance
Nanouck
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id�66&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 4 lines · Nicolas DELY
Hello everybody,
I'm a french student, and I'm very interested on udev and hotplug. In my gentoo
<snip>
These are all gentoo specific questions, so I'd recommend you ask them on a gentoo specific mailing list.
thanks,
greg k-h
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id�66&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 6 lines · Nicolas DELY
In my gentoo, there are a linux kernel 2.6.6, and no devfs flag in kernel. I would like no more devfs and only udev. I'm wondering what are the differences between the kernel boot option: gentoo=nodevfs devfs=nomount. In gentoo doc, it is suggested to put devfs=nomount to disable devfs. Moreover, I have disable RC_DEVICE_TARBALL="no", and RC_DEVFSD_STARTUP="no" in
/etc/conf.d/rc.
you dont need any of that junk ... just make sure your kernel doesnt have the 'mount devfs at boot' option selected and install udev ... if your kernel is 2.6.x the init scripts will detect and default to udev
Quoted 7 lines
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 %n", NAME="%k", SYMLINK="%c{1} %c{2}"
eh i dont know wtf is doing on here ... if your kernel failed to mount root (which i think you're describing), then that has nothing to do with userspace and everything to do with your kernel/bootloader
Quoted 3 lines
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/sr0is created and I can mount it. Is ide-cd for burn cds?
latest version of cdrdao/linux allows you to do burning with ide/atapi ... dont bother screwing around with ide-scsi and just tell your burner apps to use like /dev/cdroms/cdrom0
Quoted 6 lines
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 vgay1 : 1024x768, maybe it is because nvidia module is not load at kernel boot time?
dont use nvidia kernel module and nvidia frame buffer driver at the same time, end of story ... if you do, any problems you have are *your* problems and very little chance anyone will help
-mike
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id�66&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 2 lines · Greg KH
These are all gentoo specific questions, so I'd recommend you ask them on a gentoo specific mailing list.
some of them were Gentoo specific but some were not ;) -mike
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id�66&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 1 line · On Thu, 20 May 2004 22:16:14 +0200 Nicolas DELY <[email protected]> wrote:
I'm a french student, and I'm very interested on udev and hotplug.
me too :)
Quoted 6 lines
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.
Quoted 4 lines
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/sr0is 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.
Quoted 6 lines
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.
Signature · 2 lines
Olivier Mehani <[email protected]> PGP fingerprint = 3720 A1F7 1367 9FA3 C654 6DFB 6845 4071 E346 2FD1