|
Home > Archive > Linux Debian support > June 2007 > debian etch 4.0 kenel Compile error
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
debian etch 4.0 kenel Compile error
|
|
| honghui 2007-06-19, 1:14 am |
| I was compiled new kernel in my debian linux , used the old config file
but when I reboot the system it was stop and error :
mount:unknown filesystem type "devfs"
FATAL: Could not load /lib/modules/2.6.21.5/modules.dep no such file or
directory
what the problem? thanks
sorry for my pool English ~_~
| |
| Mumia W. 2007-06-19, 7:14 am |
| On 06/18/2007 11:05 PM, honghui wrote:
> I was compiled new kernel in my debian linux , used the old config file
>
> but when I reboot the system it was stop and error :
>
>
>
> mount:unknown filesystem type "devfs"
> FATAL: Could not load /lib/modules/2.6.21.5/modules.dep no such file or
> directory
> [...]
I don't think that devfs is still in the 2.6 kernel series. It has been
replaced by udev.
You didn't describe how you compiled your kernel, but I hope that the
"Debian Way" wouldn't let you try to use devfs.
Please review this website on how to compile kernels the Debian Way:
http://www.debian.org/doc/manuals/r...-kernel-details
If your old .config file was for kernel 2.4, don't try to use it. Take a
..config for a 2.6 kernel (e.g. /boot/config-2.6.18-4-686) and modify
that for your needs.
This is something like what I did:
cp /boot/config-2.6.18-4-686 ~/build/.config
cd ~/build/
make menuconfig
As you probably know, building the kernel takes much knowledge of your
machine, much knowledge of Linux, and much time. I suggest you give
yourself about three hours if this is your first kernel 2.6 configuration.
You might not know what modules your machine needs to work, so you
should first boot with at standard (shipped) kernel and save the output
of "lsmod" to a file.
Refer to that file as you configure your kernel so that you can know
what modules you must have compiled into the kernel for it to work.
Good luck.
| |
| Anton Ertl 2007-06-19, 7:14 pm |
| "honghui" <honghui8704@gmail.com> writes:
>I was compiled new kernel in my debian linux , used the old config file
>
>but when I reboot the system it was stop and error :
>
>
>
>mount:unknown filesystem type "devfs"
Sounds like you have a stale line in /etc/fstab (or somewhere else)
that tries to mount a devfs.
>FATAL: Could not load /lib/modules/2.6.21.5/modules.dep no such file or
>directory
Have you performed "make modules_install"?
- anton
--
M. Anton Ertl Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html
| |
| honghui 2007-06-20, 7:14 am |
|
"honghui" <honghui8704@gmail.com> 写入消息新闻:f57nqi$2t0$1@news.cn99.com...
>I was compiled new kernel in my debian linux , used the old config file
>
> but when I reboot the system it was stop and error :
>
>
>
> mount:unknown filesystem type "devfs"
> FATAL: Could not load /lib/modules/2.6.21.5/modules.dep no such file or
> directory
>
>
> what the problem? thanks
>
>
> sorry for my pool English ~_~
>
>
>
thanks all
I rebuild my new kernel in "debian's way" and everything is ok
|
|
|
|
|