View previous topic :: View next topic |
Author |
Message |
sinkhole Tux's lil' helper
Joined: 05 Nov 2003 Posts: 136
|
Posted: Sat Dec 27, 2003 5:21 am Post subject: devfs_fs not an option in kernel build |
|
|
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 |
|
|
ectospasm l33t
Joined: 19 Feb 2003 Posts: 711 Location: Mobile, AL, USA
|
Posted: Sat Dec 27, 2003 5:37 am Post subject: |
|
|
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 |
|
|
ikaro Advocate
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Sat Dec 27, 2003 5:38 am Post subject: |
|
|
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 |
|
|
sinkhole Tux's lil' helper
Joined: 05 Nov 2003 Posts: 136
|
Posted: Sat Dec 27, 2003 6:34 am Post subject: testing the suggestions... some differences already |
|
|
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 |
|
|
ectospasm l33t
Joined: 19 Feb 2003 Posts: 711 Location: Mobile, AL, USA
|
|
Back to top |
|
|
sinkhole Tux's lil' helper
Joined: 05 Nov 2003 Posts: 136
|
Posted: Sat Dec 27, 2003 7:09 am Post subject: more options |
|
|
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 |
|
|
FreeFly42 l33t
Joined: 03 Nov 2003 Posts: 848 Location: Houston, TX
|
Posted: Sat Dec 27, 2003 7:24 pm Post subject: Re: more options |
|
|
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.
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 |
|
|
sinkhole Tux's lil' helper
Joined: 05 Nov 2003 Posts: 136
|
Posted: Sun Dec 28, 2003 4:59 am Post subject: inexperienced user error! |
|
|
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 |
|
|
FreeFly42 l33t
Joined: 03 Nov 2003 Posts: 848 Location: Houston, TX
|
Posted: Sun Dec 28, 2003 5:11 am Post subject: |
|
|
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. _________________ Kent
Planes are dangerous, get out of 'em quick |
|
Back to top |
|
|
Moled l33t
Joined: 09 Jul 2003 Posts: 635
|
Posted: Sun Dec 28, 2003 6:12 am Post subject: Re: more options |
|
|
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.
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 |
|
|
ectospasm l33t
Joined: 19 Feb 2003 Posts: 711 Location: Mobile, AL, USA
|
|
Back to top |
|
|
ectospasm l33t
Joined: 19 Feb 2003 Posts: 711 Location: Mobile, AL, USA
|
|
Back to top |
|
|
|