[opensuse-kernel] modprobe: Module ext4 not found. WARNING: no dependencies for kernel module 'ext4' found
Greetz, I compiled the kernel 3.1.0, and following are the warnings that I am getting: "linux-dopx:/usr/src/linux-3.1.0-1.2 # make installsh /usr/src/linux-3.1.0-1.2/arch/x86/boot/install.sh 3.1.0 arch/x86/boot/bzImage \ System.map "/boot" Kernel image: /boot/vmlinuz-3.1.0Initrd image: /boot/initrd-3.1.0Root device: /dev/disk/by-id/ata-ST3250310AS_6RYNQEXY-part2 (/dev/sda2) (mounted on / as ext4)Resume device: /dev/disk/by-id/ata-ST3250310AS_6RYNQEXY-part1 (/dev/sda1)find: `/lib/modules/3.1.0/kernel/drivers/ata': No such file or directorymodprobe: Module ata_generic not found.WARNING: no dependencies for kernel module 'ata_generic' found.modprobe: Module ext4 not found.WARNING: no dependencies for kernel module 'ext4' found.Features: block usb resume.userspace resume.kernelBootsplash: openSUSE (1280x1024)41713 blocks " The steps I took are: 1. make menuconfig 2. make bzImage 3. make modules 4. make modules_install 5. make install The platform is: # uname -a Linux linux-dopx 3.2.1-12-desktop #1 SMP PREEMPT Thu Jan 19 16:02:50 IST 2012 x86_64 x86_64 x86_64 GNU/Linux Rebooting says: "Could not load /lib/modules/3.1.0/modules.dep" What's the point that I am missing? -Anisha -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Well, the "make installsh" in the previous mail is a typo. The command I used is "make install". -Anisha -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On 01/23/2012 10:17 PM, Anisha Kaul wrote:
Well, the "make installsh" in the previous mail is a typo. The command I used is "make install".
In a standard openSUSE configuration, ext4 is built into the kernel, which is why the module is not found. Ignore the warning, or change the configuration. Larry -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On 24 January 2012 10:23, Larry Finger <Larry.Finger@lwfinger.net> wrote:
In a standard openSUSE configuration, ext4 is built into the kernel, which is why the module is not found. Ignore the warning, or change the configuration.
Thanks for responding, but I already ignored the warning rebooted the system. I got the error "Could not find/load /lib/modules/3.1.0/modules.dep", and the system didn't boot with the error "ext4 filesystem not found". -Anisha -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On 01/23/2012 10:56 PM, Anisha Kaul wrote:
On 24 January 2012 10:23, Larry Finger<Larry.Finger@lwfinger.net> wrote:
In a standard openSUSE configuration, ext4 is built into the kernel, which is why the module is not found. Ignore the warning, or change the configuration.
Thanks for responding, but I already ignored the warning rebooted the system. I got the error "Could not find/load /lib/modules/3.1.0/modules.dep", and the system didn't boot with the error "ext4 filesystem not found".
One thing you did wrong appears to be that you built the kernel as root. That is definitely not recommended. When you did the 'make modules_install', was the last step 'DEPMOD <version>'? That is the step that build the appropriate versions of modules.dep. Larry -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On 24 January 2012 10:56, Larry Finger <Larry.Finger@lwfinger.net> wrote:
One thing you did wrong appears to be that you built the kernel as root. That is definitely not recommended.
I didn't know that. Will take care in future. But, what is so harmful about that?
When you did the 'make modules_install', was the last step 'DEPMOD <version>'? That is the step that build the appropriate versions of modules.dep.
The result is: # make modules_install INSTALL arch/x86/kernel/test_nx.ko INSTALL drivers/scsi/scsi_wait_scan.ko INSTALL net/netfilter/xt_mark.ko DEPMOD 3.1.0 Thanks for responding. -Anisha -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On 01/23/2012 11:32 PM, Anisha Kaul wrote:
On 24 January 2012 10:56, Larry Finger<Larry.Finger@lwfinger.net> wrote:
One thing you did wrong appears to be that you built the kernel as root. That is definitely not recommended.
I didn't know that. Will take care in future. But, what is so harmful about that?
Maybe nothing; however, if there is a bug in the Kmake process, severe damage may be done. At one point, such a bug destroyed /dev/null when the kernel was built as root. Once that happened, nothing would boot. It is best to avoid any such possibility.
When you did the 'make modules_install', was the last step 'DEPMOD <version>'? That is the step that build the appropriate versions of modules.dep.
The result is:
# make modules_install INSTALL arch/x86/kernel/test_nx.ko INSTALL drivers/scsi/scsi_wait_scan.ko INSTALL net/netfilter/xt_mark.ko DEPMOD 3.1.0
Yes, that is the step that builds modules.dep. You can manually do it with sudo /sbin/depmod -a 3.1.0 Larry -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Tue, Jan 24, 2012 at 09:49:48AM -0600, Larry Finger wrote:
On 01/23/2012 11:32 PM, Anisha Kaul wrote:
On 24 January 2012 10:56, Larry Finger<Larry.Finger@lwfinger.net> wrote:
One thing you did wrong appears to be that you built the kernel as root. That is definitely not recommended.
I didn't know that. Will take care in future. But, what is so harmful about that?
Maybe nothing; however, if there is a bug in the Kmake process, severe damage may be done. At one point, such a bug destroyed /dev/null when the kernel was built as root. Once that happened, nothing would boot. It is best to avoid any such possibility.
Even better, we once had a bug that would delete / entirely if you built the kernel as root. A lot of us thought we should have just kept that bug in there... greg k-h -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On 01/24/2012 10:49 AM, Greg KH wrote:
Even better, we once had a bug that would delete / entirely if you built the kernel as root. A lot of us thought we should have just kept that bug in there...
That would be a really big hammer! :) Larry -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On 24 January 2012 21:19, Larry Finger <Larry.Finger@lwfinger.net> wrote:
Yes, that is the step that builds modules.dep. You can manually do it with
sudo /sbin/depmod -a 3.1.0
So, now that it is already done, do I still have to do it manually? The problem is still there. -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On 01/24/2012 07:00 PM, Anisha Kaul wrote:
On 24 January 2012 21:19, Larry Finger<Larry.Finger@lwfinger.net> wrote:
Yes, that is the step that builds modules.dep. You can manually do it with
sudo /sbin/depmod -a 3.1.0
So, now that it is already done, do I still have to do it manually? The problem is still there.
Is modules.dep present? If so, what permissions? My copy shows 644. Larry -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (3)
-
Anisha Kaul
-
Greg KH
-
Larry Finger