linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* difference between gentoo=nodevfs devfs=nomount
@ 2004-05-20 20:16 Nicolas DELY
  2004-05-20 23:36 ` Greg KH
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Nicolas DELY @ 2004-05-20 20:16 UTC (permalink / raw)
  To: linux-hotplug

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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: difference between gentoo=nodevfs devfs=nomount
  2004-05-20 20:16 difference between gentoo=nodevfs devfs=nomount Nicolas DELY
@ 2004-05-20 23:36 ` Greg KH
  2004-05-21 22:14 ` Mike Frysinger
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2004-05-20 23:36 UTC (permalink / raw)
  To: linux-hotplug

On Thu, May 20, 2004 at 10:16:14PM +0200, Nicolas DELY wrote:
> 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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: difference between gentoo=nodevfs devfs=nomount
  2004-05-20 20:16 difference between gentoo=nodevfs devfs=nomount Nicolas DELY
  2004-05-20 23:36 ` Greg KH
@ 2004-05-21 22:14 ` Mike Frysinger
  2004-05-21 22:14 ` Mike Frysinger
  2004-09-21 20:53 ` Olivier Mehani
  3 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2004-05-21 22:14 UTC (permalink / raw)
  To: linux-hotplug

On Thursday 20 May 2004 04:16 pm, Nicolas DELY wrote:
> 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

> 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

> 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?

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

> 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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: difference between gentoo=nodevfs devfs=nomount
  2004-05-20 20:16 difference between gentoo=nodevfs devfs=nomount Nicolas DELY
  2004-05-20 23:36 ` Greg KH
  2004-05-21 22:14 ` Mike Frysinger
@ 2004-05-21 22:14 ` Mike Frysinger
  2004-09-21 20:53 ` Olivier Mehani
  3 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2004-05-21 22:14 UTC (permalink / raw)
  To: linux-hotplug

On Thursday 20 May 2004 07:36 pm, Greg KH wrote:
> 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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: difference between gentoo=nodevfs devfs=nomount
  2004-05-20 20:16 difference between gentoo=nodevfs devfs=nomount Nicolas DELY
                   ` (2 preceding siblings ...)
  2004-05-21 22:14 ` Mike Frysinger
@ 2004-09-21 20:53 ` Olivier Mehani
  3 siblings, 0 replies; 5+ messages in thread
From: Olivier Mehani @ 2004-09-21 20:53 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 2148 bytes --]

On Thu, 20 May 2004 22:16:14 +0200
Nicolas DELY <nanouck.dely@wanadoo.fr> 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 <shtrom@ssji.net>
PGP fingerprint = 3720 A1F7 1367 9FA3 C654  6DFB 6845 4071 E346 2FD1

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-09-21 20:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-20 20:16 difference between gentoo=nodevfs devfs=nomount Nicolas DELY
2004-05-20 23:36 ` Greg KH
2004-05-21 22:14 ` Mike Frysinger
2004-05-21 22:14 ` Mike Frysinger
2004-09-21 20:53 ` Olivier Mehani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).