当前位置: 技术问答>linux和unix
内核升级要升级到2.6.14
来源: 互联网 发布时间:2016-05-19
本文导语: 内核升级要升级到2.6.14 但是reboot的时候总是提示 md:autorun md:...autorun DONE RAMDISK:Compressd image found at block 0 Time:tse clocksource has been installed VFS:mounted root (ext2 files...
内核升级要升级到2.6.14
但是reboot的时候总是提示
md:autorun
md:...autorun DONE
RAMDISK:Compressd image found at block 0
Time:tse clocksource has been installed
VFS:mounted root (ext2 filesystem)
Red hat nash version 3.4.42 starting
Loading Buslogic.o module
No module found in object
insmod error inserting 'lib/BusLogic.o ':-1 Invaid module format
ERROR:/bin/insmod exited abnormally!
Mounting /proc filesystem
Create block device
VFS:Cannot open root device "hdxy " or unknow-block(0,0)
Please append a correct "root= " boot option
kernel panic:VFS:Unable to mount root fs on unknown-block(0,0)
---------------
make menuconfig如下
Loadable Module support ---> [*]Module unloading 和 [*]Automatic kernel module loading
Forced Module unloading [ ]
Device Drivers ---> Block Devices ---> Loopback device support;
Device Drivers ---> Multi-device support(RAID and LVM) ---> device mapper support;
Device Drivers ---> Graphics support ---> Support for frame buffer devices;
Drivers ---> Network device support ---> Ethernet (10 or 100Mbit) ---> AMD PCnet32 PCI support
File system--->
Second extended fs support
[*] Ext2 extended attributes
[*] Ext2 POSIX Access Control Lists
[*] Ext2 Security Labels
[*] Ext2 execute in place support
Ext3 journalling file system support
[*] Ext3 extended attributes
[*] Ext3 POSIX Access Control Lists
[*] Ext3 Security Labels
[*] JBD (ext3) debugging support
Device Drivers---> SCSI device support---> SCSI low-level drivers---> BusLogic SCSI support
--------------------------
grub.conf
df如下
[root@localhost linux-2.6.14]# df
文件系统 1K-块 已用 可用 已用% 挂载点
/dev/sda2 7637400 3006776 4242656 42% /
/dev/sda1 101089 17815 78055 19% /boot
none 127632 0 127632 0% /dev/shm
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.6.18)
root (hd0,0)
kernel /vmlinuz-2.6.18 ro root=/dev/sda2
initrd /initrd-2.6.18.img
title Red Hat Linux (2.6.5)
root (hd0,0)
kernel /vmlinuz-2.6.5 ro root=/dev/sda2
initrd /initrd-2.6.5.img
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
有几点,Ext2,Ext3我都编进内核了?grub 也改了=/dev/sda2 (vmware)
File system--->
Second extended fs support
[*] Ext2 extended attributes
[*] Ext2 POSIX Access Control Lists
[*] Ext2 Security Labels
[*] Ext2 execute in place support
Ext3 journalling file system support
[*] Ext3 extended attributes
[*] Ext3 POSIX Access Control Lists
[*] Ext3 Security Labels
[*] JBD (ext3) debugging support
不过前边升级执行
# rpm -ivh --nodeps mkinitrd-4.1.18-2.i386.rpm
# rpm -ivh --nodeps lvm2-2.00.25-1.01.i386.rpm
# rpm -ivh --nodeps device-mapper-1.00.19-2.i386.rpm
时有这些错误
[root@localhost src]# rpm -ivh --nodeps mkinitrd-4.1.18-2.i386.rpm
warning: mkinitrd-4.1.18-2.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing... ########################################### [100%]
file /sbin/grubby from install of mkinitrd-4.1.18-2 conflicts with file from package mkinitrd-3.4.42-1
file /sbin/installkernel from install of mkinitrd-4.1.18-2 conflicts with file from package mkinitrd-3.4.42-1
file /sbin/mkinitrd from install of mkinitrd-4.1.18-2 conflicts with file from package mkinitrd-3.4.42-1
file /sbin/nash from install of mkinitrd-4.1.18-2 conflicts with file from package mkinitrd-3.4.42-1
file /sbin/new-kernel-pkg from install of mkinitrd-4.1.18-2 conflicts with file from package mkinitrd-3.4.42-1
file /usr/share/man/man8/grubby.8.gz from install of mkinitrd-4.1.18-2 conflicts with file from package mkinitrd-3.4.42-1
file /usr/share/man/man8/mkinitrd.8.gz from install of mkinitrd-4.1.18-2 conflicts with file from package mkinitrd-3.4.42-1
file /usr/share/man/man8/nash.8.gz from install of mkinitrd-4.1.18-2 conflicts with file from package mkinitrd-3.4.42-1
[root@localhost src]# rpm -ivh --nodeps lvm2-2.00.25-1.01.i386.rpm
error: lvm2-2.00.25-1.01.i386.rpm: V3 DSA signature: BAD, key ID 4f2a6fd2
error: lvm2-2.00.25-1.01.i386.rpm cannot be installed
[root@localhost src]# rpm -ivh --nodeps device-mapper-1.00.19-2.i386.rpm
warning: device-mapper-1.00.19-2.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing... ########################################### [100%]
package device-mapper-1.00.19-2 is already installed
[root@localhost src]#
但是reboot的时候总是提示
md:autorun
md:...autorun DONE
RAMDISK:Compressd image found at block 0
Time:tse clocksource has been installed
VFS:mounted root (ext2 filesystem)
Red hat nash version 3.4.42 starting
Loading Buslogic.o module
No module found in object
insmod error inserting 'lib/BusLogic.o ':-1 Invaid module format
ERROR:/bin/insmod exited abnormally!
Mounting /proc filesystem
Create block device
VFS:Cannot open root device "hdxy " or unknow-block(0,0)
Please append a correct "root= " boot option
kernel panic:VFS:Unable to mount root fs on unknown-block(0,0)
---------------
make menuconfig如下
Loadable Module support ---> [*]Module unloading 和 [*]Automatic kernel module loading
Forced Module unloading [ ]
Device Drivers ---> Block Devices ---> Loopback device support;
Device Drivers ---> Multi-device support(RAID and LVM) ---> device mapper support;
Device Drivers ---> Graphics support ---> Support for frame buffer devices;
Drivers ---> Network device support ---> Ethernet (10 or 100Mbit) ---> AMD PCnet32 PCI support
File system--->
Second extended fs support
[*] Ext2 extended attributes
[*] Ext2 POSIX Access Control Lists
[*] Ext2 Security Labels
[*] Ext2 execute in place support
Ext3 journalling file system support
[*] Ext3 extended attributes
[*] Ext3 POSIX Access Control Lists
[*] Ext3 Security Labels
[*] JBD (ext3) debugging support
Device Drivers---> SCSI device support---> SCSI low-level drivers---> BusLogic SCSI support
--------------------------
grub.conf
df如下
[root@localhost linux-2.6.14]# df
文件系统 1K-块 已用 可用 已用% 挂载点
/dev/sda2 7637400 3006776 4242656 42% /
/dev/sda1 101089 17815 78055 19% /boot
none 127632 0 127632 0% /dev/shm
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.6.18)
root (hd0,0)
kernel /vmlinuz-2.6.18 ro root=/dev/sda2
initrd /initrd-2.6.18.img
title Red Hat Linux (2.6.5)
root (hd0,0)
kernel /vmlinuz-2.6.5 ro root=/dev/sda2
initrd /initrd-2.6.5.img
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
有几点,Ext2,Ext3我都编进内核了?grub 也改了=/dev/sda2 (vmware)
File system--->
Second extended fs support
[*] Ext2 extended attributes
[*] Ext2 POSIX Access Control Lists
[*] Ext2 Security Labels
[*] Ext2 execute in place support
Ext3 journalling file system support
[*] Ext3 extended attributes
[*] Ext3 POSIX Access Control Lists
[*] Ext3 Security Labels
[*] JBD (ext3) debugging support
不过前边升级执行
# rpm -ivh --nodeps mkinitrd-4.1.18-2.i386.rpm
# rpm -ivh --nodeps lvm2-2.00.25-1.01.i386.rpm
# rpm -ivh --nodeps device-mapper-1.00.19-2.i386.rpm
时有这些错误
[root@localhost src]# rpm -ivh --nodeps mkinitrd-4.1.18-2.i386.rpm
warning: mkinitrd-4.1.18-2.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing... ########################################### [100%]
file /sbin/grubby from install of mkinitrd-4.1.18-2 conflicts with file from package mkinitrd-3.4.42-1
file /sbin/installkernel from install of mkinitrd-4.1.18-2 conflicts with file from package mkinitrd-3.4.42-1
file /sbin/mkinitrd from install of mkinitrd-4.1.18-2 conflicts with file from package mkinitrd-3.4.42-1
file /sbin/nash from install of mkinitrd-4.1.18-2 conflicts with file from package mkinitrd-3.4.42-1
file /sbin/new-kernel-pkg from install of mkinitrd-4.1.18-2 conflicts with file from package mkinitrd-3.4.42-1
file /usr/share/man/man8/grubby.8.gz from install of mkinitrd-4.1.18-2 conflicts with file from package mkinitrd-3.4.42-1
file /usr/share/man/man8/mkinitrd.8.gz from install of mkinitrd-4.1.18-2 conflicts with file from package mkinitrd-3.4.42-1
file /usr/share/man/man8/nash.8.gz from install of mkinitrd-4.1.18-2 conflicts with file from package mkinitrd-3.4.42-1
[root@localhost src]# rpm -ivh --nodeps lvm2-2.00.25-1.01.i386.rpm
error: lvm2-2.00.25-1.01.i386.rpm: V3 DSA signature: BAD, key ID 4f2a6fd2
error: lvm2-2.00.25-1.01.i386.rpm cannot be installed
[root@localhost src]# rpm -ivh --nodeps device-mapper-1.00.19-2.i386.rpm
warning: device-mapper-1.00.19-2.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing... ########################################### [100%]
package device-mapper-1.00.19-2 is already installed
[root@localhost src]#
|
Loading Buslogic.o module
No module found in object
insmod error inserting 'lib/BusLogic.o ':-1 Invaid module format
ERROR:/bin/insmod exited abnormally!
看你用的是SCSI磁盘,上面的错误说明你根本没装入这个模块
直接编进内核吧
No module found in object
insmod error inserting 'lib/BusLogic.o ':-1 Invaid module format
ERROR:/bin/insmod exited abnormally!
看你用的是SCSI磁盘,上面的错误说明你根本没装入这个模块
直接编进内核吧