Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
devfs_fs not an option in kernel build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
sinkhole
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2003
Posts: 136

PostPosted: Sat Dec 27, 2003 5:21 am    Post subject: devfs_fs not an option in kernel build Reply with quote

OK, I feel like I am missing something. Working with stable 2.6.0 build. It boots. fstab has all the lines (per browsing of other topics). Every boot, it complains about the kernel not being devfs enabled and to add it, wait 15 seconds or hit enter and so on. Things sort of work, but emerge sync crashes the system (eerily like previous problem with test11). I had already done emerge devfsd. I noticed that CONFIG_DEVFS_FS is not an option during my kernel configuration using genkernel --config!

Do I also need to emerge udev by default with 2.6.0?

For that matter, what should be emerged by default with 2.6.0?

Any ideas on how to proceed from this point. System starting to get increasingly unstable... can't build kernel from this boot... have to use LiveCD.
Back to top
View user's profile Send private message
ectospasm
l33t
l33t


Joined: 19 Feb 2003
Posts: 711
Location: Mobile, AL, USA

PostPosted: Sat Dec 27, 2003 5:37 am    Post subject: Reply with quote

I've never used genkernel so I don't know if that is causing this problem, but to configure the 2.6.0 kernel for devfs just do "make menuconfig" while in /usr/src/linux and navigate to File Systems ---> Pseudo Filesystems ---> /dev file system support (OBSOLETE), along with the mount at boot option. Recompile your kernel and the 15 sec wait message should disappear at reboot. Can't say if the other problems will fix themselves, too.
_________________
Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance!
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Sat Dec 27, 2003 5:38 am    Post subject: Reply with quote

try to remove the .config from the kernel root
Code:
 mv /usr/src/linux/.config /root/my-config

then:

cd /usr/src/linux
make mrproper
make menuconfig

configure the kernel, chose DEvFSm UDEV is still too raw at this time,
Just ignore the ( OBSOLETE ) and compile it in tyhe kernel [ * ]

remember to enable this:
Code:

CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256


I think there is a warning about what you *really* need to compile in the kernel after you emerge it.
Also the /usr/src/linux/Documentation dir is info about what you need.
_________________
linux: #232767
Back to top
View user's profile Send private message
sinkhole
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2003
Posts: 136

PostPosted: Sat Dec 27, 2003 6:34 am    Post subject: testing the suggestions... some differences already Reply with quote

Thank you for the help!

make menuconfig with .config moved actually shows "/dev fs ..." as an option under pseudo file systems, whereas genkernel --config does not, although the screen looks like genkernel does make menuconfig.

I'll play with this some more.
Back to top
View user's profile Send private message
ectospasm
l33t
l33t


Joined: 19 Feb 2003
Posts: 711
Location: Mobile, AL, USA

PostPosted: Sat Dec 27, 2003 6:43 am    Post subject: Reply with quote

I would not suggest moving .config if you use menuconfig to configure your kernel, because you'll have to set all of the other options manually.
_________________
Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance!
Back to top
View user's profile Send private message
sinkhole
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2003
Posts: 136

PostPosted: Sat Dec 27, 2003 7:09 am    Post subject: more options Reply with quote

Cool.

The method you both pointed out leads to more configuration options in the configuration process. Keeping my old .config set a few things, but I mostly had to go over all the same ground to be sure nothing was missed since there seemed to be more options.

devfs option was there! Yeah!

Ok. I am not used to this process (not using genkernel). Any major differences? It told me to do "make", so that is runing now. I will likely pick this up tomorrow.
Back to top
View user's profile Send private message
FreeFly42
l33t
l33t


Joined: 03 Nov 2003
Posts: 848
Location: Houston, TX

PostPosted: Sat Dec 27, 2003 7:24 pm    Post subject: Re: more options Reply with quote

sinkhole wrote:
I am not used to this process (not using genkernel). Any major differences? It told me to do "make", so that is runing now.

It probably told you to do a 'make dep'. If you just ran 'make' you are wasting your time. Manually compiling and installing your kernel isn't hard:
Code:
cd /usr/src/linux
make dep && make clean bzImage modules modules_install

Will do all the compiling work with one command. :wink:
Then just mount /boot, and copy the kernel image over:
Code:
cp arch/i386/boot/bzImage /boot/kernelWhatever

_________________
Kent

Planes are dangerous, get out of 'em quick
Back to top
View user's profile Send private message
sinkhole
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2003
Posts: 136

PostPosted: Sun Dec 28, 2003 4:59 am    Post subject: inexperienced user error! Reply with quote

Ah, after fiddling with these different methods I see what happened. I had clicked off the first option: "Prompt for development or incomplete code / drivers..."; or it was off by default.

Live and learn. The advice was helpful in learning! Thanks!

Suggestion to the coders...

Since devfs falls under this category and is necessary, it would be nice if genkernel / menuconfig could force this on by default and warn you that it is necessary for normal operation. I wonder if there are some other selections that are essential to the core function of Gentoo?
Back to top
View user's profile Send private message
FreeFly42
l33t
l33t


Joined: 03 Nov 2003
Posts: 848
Location: Houston, TX

PostPosted: Sun Dec 28, 2003 5:11 am    Post subject: Reply with quote

In the installation handbook ch. 7 it lists the required kernel options, including the need to add "prompt for development and/or incomplete kernel drivers". You can look there to see if there's anything else you are missing. :wink:
_________________
Kent

Planes are dangerous, get out of 'em quick
Back to top
View user's profile Send private message
Moled
l33t
l33t


Joined: 09 Jul 2003
Posts: 635

PostPosted: Sun Dec 28, 2003 6:12 am    Post subject: Re: more options Reply with quote

FreeFly42 wrote:
sinkhole wrote:
I am not used to this process (not using genkernel). Any major differences? It told me to do "make", so that is runing now.

It probably told you to do a 'make dep'. If you just ran 'make' you are wasting your time. Manually compiling and installing your kernel isn't hard:
Code:
cd /usr/src/linux
make dep && make clean bzImage modules modules_install

Will do all the compiling work with one command. :wink:
Then just mount /boot, and copy the kernel image over:
Code:
cp arch/i386/boot/bzImage /boot/kernelWhatever


since when did you have to make dep/clean/bzImage with 2.6?
Back to top
View user's profile Send private message
ectospasm
l33t
l33t


Joined: 19 Feb 2003
Posts: 711
Location: Mobile, AL, USA

PostPosted: Sun Dec 28, 2003 7:09 am    Post subject: Re: more options Reply with quote

FreeFly42 wrote:

Code:

make dep && make clean bzImage modules modules_install



With 2.6, "make dep" is deprecated and should not be used. Don't do it. Just do:
Code:
make clean bzImage modules modules_install


and copy the bzImage file to /boot like stated before.
_________________
Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance!
Back to top
View user's profile Send private message
ectospasm
l33t
l33t


Joined: 19 Feb 2003
Posts: 711
Location: Mobile, AL, USA

PostPosted: Sun Dec 28, 2003 7:39 am    Post subject: Re: more options Reply with quote

Moled wrote:
since when did you have to make dep/clean/bzImage with 2.6?


Now that I look at it, you don't have to, but clean and bzImage are still valid make targets.
_________________
Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum