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
|