3.2.0-rc1 could not find module
I used git to down load the source code. I did: make defconfig make make modules make modules_install make install make install had problems: sh /usr/data/KERNEL/linux-stable/arch/x86/boot/install.sh 3.2.0-rc1 arch/x86/boot/bzImage \ System.map "/boot" ERROR: modinfo: could not find module autofs4 ERROR: modinfo: could not find module fcoe ERROR: modinfo: could not find module 8021q ERROR: modinfo: could not find module libfcoe ERROR: modinfo: could not find module garp ERROR: modinfo: could not find module libfc ERROR: modinfo: could not find module stp ERROR: modinfo: could not find module llc ERROR: modinfo: could not find module scsi_transport_fc ERROR: modinfo: could not find module scsi_tgt ERROR: modinfo: could not find module sunrpc ERROR: modinfo: could not find module ip6t_REJECT ERROR: modinfo: could not find module nf_conntrack_ipv6 ERROR: modinfo: could not find module xt_state ERROR: modinfo: could not find module nf_conntrack ERROR: modinfo: could not find module ip6table_filter ERROR: modinfo: could not find module ip6_tables ERROR: modinfo: could not find module ipv6 ERROR: modinfo: could not find module xfs ERROR: modinfo: could not find module exportfs ERROR: modinfo: could not find module dm_mirror ERROR: modinfo: could not find module dm_region_hash ERROR: modinfo: could not find module dm_log ERROR: modinfo: could not find module raid456 ERROR: modinfo: could not find module async_raid6_recov ERROR: modinfo: could not find module async_pq ERROR: modinfo: could not find module raid6_pq ERROR: modinfo: could not find module async_xor ERROR: modinfo: could not find module xor ERROR: modinfo: could not find module async_memcpy ERROR: modinfo: could not find module async_tx ERROR: modinfo: could not find module ppdev ERROR: modinfo: could not find module parport_pc ERROR: modinfo: could not find module parport ERROR: modinfo: could not find module sg ERROR: modinfo: could not find module i2c_piix4 ERROR: modinfo: could not find module i2c_core ERROR: modinfo: could not find module snd_intel8x0 ERROR: modinfo: could not find module snd_ac97_codec ERROR: modinfo: could not find module ac97_bus ERROR: modinfo: could not find module snd_seq ERROR: modinfo: could not find module snd_seq_device ERROR: modinfo: could not find module snd_pcm ERROR: modinfo: could not find module snd_timer ERROR: modinfo: could not find module snd ERROR: modinfo: could not find module soundcore ERROR: modinfo: could not find module snd_page_alloc ERROR: modinfo: could not find module e1000 ERROR: modinfo: could not find module ext3 ERROR: modinfo: could not find module jbd ERROR: modinfo: could not find module mbcache ERROR: modinfo: could not find module raid1 ERROR: modinfo: could not find module sd_mod ERROR: modinfo: could not find module crc_t10dif ERROR: modinfo: could not find module sr_mod ERROR: modinfo: could not find module cdrom ERROR: modinfo: could not find module ahci ERROR: modinfo: could not find module pata_acpi ERROR: modinfo: could not find module ata_generic ERROR: modinfo: could not find module ata_piix ERROR: modinfo: could not find module dm_mod It did however update grub and I had the option to boot from the new kernel. When I did boot from the new kernel, it gave the error "Could not find root device" I'm guessing that is because (amoung other things) the ext3 module was not found. When I looked at the make output a ext3.o has been built. And I can see it here: [root@bk508 linux-stable]# find . -name ext3.o ./fs/ext3/ext3.o Yet somehow the make install is not finding it. Any help would be appreciated.
Hi... On Tue, Dec 20, 2011 at 20:06, Martin Smith <smith_it2000@yahoo.com> wrote:
I used git to down load the source code.
I did:
make defconfig make make modules make modules_install
OK, first thing first, after the above "make modules_install" above, do you see /lib/modules/3.2.0-rc1 directory or something similar? and if yes, are there any .ko files there? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
These are the only .ko files: [root@bk508 linux-stable]# make modules_install INSTALL arch/x86/kernel/test_nx.ko INSTALL drivers/hid/hid-logitech-dj.ko INSTALL drivers/scsi/scsi_wait_scan.ko INSTALL net/netfilter/xt_mark.ko DEPMOD 3.2.0-rc1 [root@bk508 linux-stable]# find . -name '*.ko' -print ./arch/x86/kernel/test_nx.ko ./drivers/hid/hid-logitech-dj.ko ./drivers/scsi/scsi_wait_scan.ko ./net/netfilter/xt_mark.ko ________________________________ From: Mulyadi Santosa <mulyadi.santosa@gmail.com> To: Martin Smith <smith_it2000@yahoo.com> Cc: "kernelnewbies@kernelnewbies.org" <kernelnewbies@kernelnewbies.org> Sent: Tuesday, 20 December 2011, 13:42 Subject: Re: 3.2.0-rc1 could not find module Hi... On Tue, Dec 20, 2011 at 20:06, Martin Smith <smith_it2000@yahoo.com> wrote:
I used git to down load the source code.
I did:
make defconfig make make modules make modules_install
OK, first thing first, after the above "make modules_install" above, do you see /lib/modules/3.2.0-rc1 directory or something similar? and if yes, are there any .ko files there? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
On Tue, Dec 20, 2011 at 3:06 PM, Martin Smith <smith_it2000@yahoo.com> wrote:
I used git to down load the source code.
I did:
make defconfig make make modules make modules_install make install
make install had problems:
sh /usr/data/KERNEL/linux-stable/arch/x86/boot/install.sh 3.2.0-rc1 arch/x86/boot/bzImage \ System.map "/boot" ERROR: modinfo: could not find module autofs4 ERROR: modinfo: could not find module fcoe ERROR: modinfo: could not find module 8021q ERROR: modinfo: could not find module libfcoe ERROR: modinfo: could not find module garp ERROR: modinfo: could not find module libfc ERROR: modinfo: could not find module stp ERROR: modinfo: could not find module llc ERROR: modinfo: could not find module scsi_transport_fc ERROR: modinfo: could not find module scsi_tgt ERROR: modinfo: could not find module sunrpc ERROR: modinfo: could not find module ip6t_REJECT ERROR: modinfo: could not find module nf_conntrack_ipv6 ERROR: modinfo: could not find module xt_state ERROR: modinfo: could not find module nf_conntrack ERROR: modinfo: could not find module ip6table_filter ERROR: modinfo: could not find module ip6_tables ERROR: modinfo: could not find module ipv6 ERROR: modinfo: could not find module xfs ERROR: modinfo: could not find module exportfs ERROR: modinfo: could not find module dm_mirror ERROR: modinfo: could not find module dm_region_hash ERROR: modinfo: could not find module dm_log ERROR: modinfo: could not find module raid456 ERROR: modinfo: could not find module async_raid6_recov ERROR: modinfo: could not find module async_pq ERROR: modinfo: could not find module raid6_pq ERROR: modinfo: could not find module async_xor ERROR: modinfo: could not find module xor ERROR: modinfo: could not find module async_memcpy ERROR: modinfo: could not find module async_tx ERROR: modinfo: could not find module ppdev ERROR: modinfo: could not find module parport_pc ERROR: modinfo: could not find module parport ERROR: modinfo: could not find module sg ERROR: modinfo: could not find module i2c_piix4 ERROR: modinfo: could not find module i2c_core ERROR: modinfo: could not find module snd_intel8x0 ERROR: modinfo: could not find module snd_ac97_codec ERROR: modinfo: could not find module ac97_bus ERROR: modinfo: could not find module snd_seq ERROR: modinfo: could not find module snd_seq_device ERROR: modinfo: could not find module snd_pcm ERROR: modinfo: could not find module snd_timer ERROR: modinfo: could not find module snd ERROR: modinfo: could not find module soundcore ERROR: modinfo: could not find module snd_page_alloc ERROR: modinfo: could not find module e1000 ERROR: modinfo: could not find module ext3 ERROR: modinfo: could not find module jbd ERROR: modinfo: could not find module mbcache ERROR: modinfo: could not find module raid1 ERROR: modinfo: could not find module sd_mod ERROR: modinfo: could not find module crc_t10dif ERROR: modinfo: could not find module sr_mod ERROR: modinfo: could not find module cdrom ERROR: modinfo: could not find module ahci ERROR: modinfo: could not find module pata_acpi ERROR: modinfo: could not find module ata_generic ERROR: modinfo: could not find module ata_piix ERROR: modinfo: could not find module dm_mod
It did however update grub and I had the option to boot from the new kernel.
When I did boot from the new kernel, it gave the error "Could not find root device"
I'm guessing that is because (amoung other things) the ext3 module was not found.
When I looked at the make output a ext3.o has been built. And I can see it here:
[root@bk508 linux-stable]# find . -name ext3.o ./fs/ext3/ext3.o
Yet somehow the make install is not finding it.
Any help would be appreciated.
Did you notice any errors while running make modules or make modules_install? Keep in mind that the make modules_install and make install need root access to copy the files in the correct system locations (make and make modules can be run as a normal user). -- Alexandru Juncu ROSEdu http://rosedu.org
There were no errors, the output was very short: [root@bk508 linux-stable]# make modules CHK include/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh Building modules, stage 2. MODPOST 4 modules ________________________________ From: Alexandru Juncu <alex.juncu@rosedu.org> To: Martin Smith <smith_it2000@yahoo.com> Cc: "kernelnewbies@kernelnewbies.org" <kernelnewbies@kernelnewbies.org> Sent: Tuesday, 20 December 2011, 13:48 Subject: Re: 3.2.0-rc1 could not find module On Tue, Dec 20, 2011 at 3:06 PM, Martin Smith <smith_it2000@yahoo.com> wrote:
I used git to down load the source code.
I did:
make defconfig make make modules make modules_install make install
make install had problems:
sh /usr/data/KERNEL/linux-stable/arch/x86/boot/install.sh 3.2.0-rc1 arch/x86/boot/bzImage \ System.map "/boot" ERROR: modinfo: could not find module autofs4 ERROR: modinfo: could not find module fcoe ERROR: modinfo: could not find module 8021q ERROR: modinfo: could not find module libfcoe ERROR: modinfo: could not find module garp ERROR: modinfo: could not find module libfc ERROR: modinfo: could not find module stp ERROR: modinfo: could not find module llc ERROR: modinfo: could not find module scsi_transport_fc ERROR: modinfo: could not find module scsi_tgt ERROR: modinfo: could not find module sunrpc ERROR: modinfo: could not find module ip6t_REJECT ERROR: modinfo: could not find module nf_conntrack_ipv6 ERROR: modinfo: could not find module xt_state ERROR: modinfo: could not find module nf_conntrack ERROR: modinfo: could not find module ip6table_filter ERROR: modinfo: could not find module ip6_tables ERROR: modinfo: could not find module ipv6 ERROR: modinfo: could not find module xfs ERROR: modinfo: could not find module exportfs ERROR: modinfo: could not find module dm_mirror ERROR: modinfo: could not find module dm_region_hash ERROR: modinfo: could not find module dm_log ERROR: modinfo: could not find module raid456 ERROR: modinfo: could not find module async_raid6_recov ERROR: modinfo: could not find module async_pq ERROR: modinfo: could not find module raid6_pq ERROR: modinfo: could not find module async_xor ERROR: modinfo: could not find module xor ERROR: modinfo: could not find module async_memcpy ERROR: modinfo: could not find module async_tx ERROR: modinfo: could not find module ppdev ERROR: modinfo: could not find module parport_pc ERROR: modinfo: could not find module parport ERROR: modinfo: could not find module sg ERROR: modinfo: could not find module i2c_piix4 ERROR: modinfo: could not find module i2c_core ERROR: modinfo: could not find module snd_intel8x0 ERROR: modinfo: could not find module snd_ac97_codec ERROR: modinfo: could not find module ac97_bus ERROR: modinfo: could not find module snd_seq ERROR: modinfo: could not find module snd_seq_device ERROR: modinfo: could not find module snd_pcm ERROR: modinfo: could not find module snd_timer ERROR: modinfo: could not find module snd ERROR: modinfo: could not find module soundcore ERROR: modinfo: could not find module snd_page_alloc ERROR: modinfo: could not find module e1000 ERROR: modinfo: could not find module ext3 ERROR: modinfo: could not find module jbd ERROR: modinfo: could not find module mbcache ERROR: modinfo: could not find module raid1 ERROR: modinfo: could not find module sd_mod ERROR: modinfo: could not find module crc_t10dif ERROR: modinfo: could not find module sr_mod ERROR: modinfo: could not find module cdrom ERROR: modinfo: could not find module ahci ERROR: modinfo: could not find module pata_acpi ERROR: modinfo: could not find module ata_generic ERROR: modinfo: could not find module ata_piix ERROR: modinfo: could not find module dm_mod
It did however update grub and I had the option to boot from the new kernel.
When I did boot from the new kernel, it gave the error "Could not find root device"
I'm guessing that is because (amoung other things) the ext3 module was not found.
When I looked at the make output a ext3.o has been built. And I can see it here:
[root@bk508 linux-stable]# find . -name ext3.o ./fs/ext3/ext3.o
Yet somehow the make install is not finding it.
Any help would be appreciated.
Did you notice any errors while running make modules or make modules_install? Keep in mind that the make modules_install and make install need root access to copy the files in the correct system locations (make and make modules can be run as a normal user). -- Alexandru Juncu ROSEdu http://rosedu.org _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Tue, Dec 20, 2011 at 8:57 PM, Martin Smith <smith_it2000@yahoo.com>wrote:
There were no errors, the output was very short:
[root@bk508 linux-stable]# make modules CHK include/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh Building modules, stage 2. MODPOST 4 modules
Did you try using the config of your distro instead of defconfig? Regards, Srivatsa S. Bhat
I'm not sure how to get it. I found a script that said it would extract it but it did not: [root@bk508 ~]# ./extract.sh /boot/vmlinuz-2.6.32-71.29.1.el6.x86_64 extract.sh: Cannot find kernel config. This kernel is the bog standard kernel from yum. ________________________________ From: Srivatsa Bhat <bhat.srivatsa@gmail.com> To: Martin Smith <smith_it2000@yahoo.com> Cc: Alexandru Juncu <alex.juncu@rosedu.org>; "kernelnewbies@kernelnewbies.org" <kernelnewbies@kernelnewbies.org> Sent: Tuesday, 20 December 2011, 15:31 Subject: Re: 3.2.0-rc1 could not find module On Tue, Dec 20, 2011 at 8:57 PM, Martin Smith <smith_it2000@yahoo.com> wrote: There were no errors, the output was very short:
[root@bk508 linux-stable]# make modules CHK include/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh Building modules, stage 2. MODPOST 4 modules
Did you try using the config of your distro instead of defconfig? Regards, Srivatsa S. Bhat _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Tue, Dec 20, 2011 at 10:48 PM, Martin Smith <smith_it2000@yahoo.com>wrote:
I'm not sure how to get it. I found a script that said it would extract it but it did not:
[root@bk508 ~]# ./extract.sh /boot/vmlinuz-2.6.32-71.29.1.el6.x86_64 extract.sh: Cannot find kernel config.
Under /boot directory don't you see a config-<something> file? Just copy it to your kernel source tree, rename this copy as ".config" and run 'make oldconfig'. Regards, Srivatsa S. Bhat
participants (4)
-
Alexandru Juncu -
Martin Smith -
Mulyadi Santosa -
Srivatsa Bhat