LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-23-2012, 05:29 AM   #1
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
modprobe: Module ext4 not found. no dependencies for kernel module 'ext4' found


Code:
anisha@linux-dopx:/> 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
I rebooted a compiled kernel 3.1.0, and those are the warnings that I am getting:
Code:
linux-dopx:/usr/src/linux-3.1.0-1.2 # make install
sh /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.0
Initrd image:   /boot/initrd-3.1.0
Root 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 directory
modprobe: 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.kernel
Bootsplash:     openSUSE (1280x1024)
41713 blocks
Rebooting says: Could not load /lib/modules/3.1.0/modules.dep
Here's what I did:
Code:
linux-dopx:/usr/src/linux-3.1.0-1.2 # make bzImage
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
Kernel: arch/x86/boot/bzImage is ready  (#1)
linux-dopx:/usr/src/linux-3.1.0-1.2 # make modules
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  Building modules, stage 2.
  MODPOST 3 modules
linux-dopx:/usr/src/linux-3.1.0-1.2 # make modules install
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  Building modules, stage 2.
  MODPOST 3 modules
sh /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.0
Initrd image:   /boot/initrd-3.1.0
Root 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 directory
modprobe: 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.kernel
Bootsplash:     openSUSE (1280x1024)
41713 blocks
linux-dopx:/usr/src/linux-3.1.0-1.2 # make install
sh /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.0
Initrd image:   /boot/initrd-3.1.0
Root 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 directory
modprobe: 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.kernel
Bootsplash:     openSUSE (1280x1024)
41713 blocks
Also, tried:
Code:
linux-dopx:/usr/src/linux-3.1.0-1.2 # make modules_install 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
sh /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.0
Initrd image:   /boot/initrd-3.1.0
Root 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 directory
modprobe: 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.kernel
Bootsplash:     openSUSE (1280x1024)
41713 blocks
When I reboot the kernel, I get:
Quote:
Could not load /lib/modules/3.1.0/modules.dep

Last edited by Aquarius_Girl; 01-23-2012 at 05:33 AM.
 
Old 01-23-2012, 11:52 PM   #2
bsat
Member
 
Registered: Feb 2009
Posts: 347

Rep: Reputation: 72
Did you enable the config option for ext4 in the .config file before compiling.
 
Old 01-24-2012, 05:10 AM   #3
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
<deleted the dumb post>

Last edited by Aquarius_Girl; 01-24-2012 at 05:42 PM.
 
Old 01-24-2012, 05:34 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Don't think I've ever read any article on kernel building that mentions using Kconfig. Most of them follow the steps in this one, if you ignore the Slackware references.
http://alien.slackbook.org/dokuwiki/...kernelbuilding
 
Old 01-24-2012, 05:43 PM   #5
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Perhaps he was talking about the make menuconfig edit!
 
Old 01-24-2012, 07:17 PM   #6
jthill
Member
 
Registered: Mar 2010
Distribution: Arch
Posts: 211

Rep: Reputation: 67
(edit: never mind, an $INSTALLKERNEL script is complaining and it's not Debian.)

Last edited by jthill; 01-24-2012 at 07:42 PM. Reason: didn't read OP carefully
 
Old 01-25-2012, 05:07 AM   #7
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
In .config resulting from the make menuconfig command, I found "ext4" under file systems option, and placed a *(star) [] besides it. This time I rebooted and was able to login.

Thanks to David from unix.stackexchange.

But the warning of "ata_generic" still persists at boot time! How to solve that?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel module programming Error : module not found coolguy_iiit Programming 1 07-30-2006 07:23 AM
modprobe ndiswrapper: module not found jimjamjahaa Arch 9 04-11-2006 10:54 PM
Prob w/ modprobe: FATAL: Module some_module not found Mechanic Linux - General 2 02-13-2006 06:09 AM
modprobe scanner : module not found. qwijibow Linux - Software 2 05-26-2004 06:45 AM
Modprobe FATAL: Module net_pf_10 not found Hcman Linux - General 2 07-28-2003 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration