You are not logged in.

#1 2005-05-01 15:58:05

Flasher
Member
From: Bavaria / Germany
Registered: 2005-04-24
Posts: 126

Kernel compiling and devfs!

Hello!

Yesterday, I changed from devfs to udev. There were no problems, but after removing the dev filesystem from the kernel (I compilied a new Kernel without devfs filesystem support), I recieve a kernel panic error by booting the system with the new kernel.
The devfs option is marked as "obsolete"

Do I need the devfs option any more?

Thanks for your answers!

Greetings,

Flasher

Offline

#2 2005-05-01 16:11:47

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Kernel compiling and devfs!

Without devfs the kernel doesn't know about devfs device naming. So update Grub or Lilo config to use e.g. /dev/hda1 instead of /dev/discs/disc0/part1 or something like that.

Offline

#3 2005-05-01 17:16:46

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: Kernel compiling and devfs!

And you'll probably need to edit your fstab entries.


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#4 2005-05-01 17:48:47

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Kernel compiling and devfs!

Not if he uses udev with the devfs naming scheme, which is the default in Arch as far as I know.

Offline

#5 2005-05-01 17:51:31

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: Kernel compiling and devfs!

Hmm, I changed mine before I ever rebooted so I wouldn't know.

Half the advantage of using udev is getting away from devfs' lame ass naming scheme.


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#6 2005-05-01 19:56:27

Flasher
Member
From: Bavaria / Germany
Registered: 2005-04-24
Posts: 126

Re: Kernel compiling and devfs!

Should I use for example "/dev/disc/disc0/part1" or "/dev/hda1"?

Which is the better naming scheme?

Offline

#7 2005-05-01 20:51:15

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Kernel compiling and devfs!

There is no better naming scheme, just use what you like more. But that's only past the kernel bootup, when the root filesystem is mounted. To come that far you need to use the naming scheme the kernel knows about, and that is the standard "/dev/hda1" stuff when you don't have devfs in the kernel.

After that point it really doesn't matter as long as fstab and inittab (and probably some more) files are configured to use the correct device names in /dev.

Offline

#8 2005-05-01 22:36:42

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Kernel compiling and devfs!

Flasher wrote:

Should I use for example "/dev/disc/disc0/part1" or "/dev/hda1"?

yes sir, that's correct, I mean you should change the first one to the second one,

Which is the better naming scheme?

the udev/old one seems to be the way to go for the moment even if devfs naming scheme did make some sense also, I don't think the last word is said about this matter yet,


arch + gentoo + initng + python = enlisy

Offline

Board footer

Powered by FluxBB