Chinaunix首页 | 论坛 | 博客
  • 博客访问: 174338
  • 博文数量: 69
  • 博客积分: 2627
  • 博客等级: 少校
  • 技术积分: 715
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-24 22:37
文章分类

全部博文(69)

文章存档

2017年(3)

2014年(1)

2013年(4)

2012年(6)

2011年(21)

2010年(15)

2009年(19)

我的朋友

分类: LINUX

2011-10-12 10:43:17

make install出现下面的警告:
WARNING: No module ehci-hcd found for kernel 2.6.26, continuing anyway
WARNING: No module ohci-hcd found for kernel 2.6.26, continuing anyway
WARNING: No module uhci-hcd found for kernel 2.6.26, continuing anyway
WARNING: No module BusLogic found for kernel 2.6.26, continuing anyway
WARNING: No module libata found for kernel 2.6.26, continuing anyway
WARNING: No module ata_piix found for kernel 2.6.26, continuing anyway

启动:
/dev/VolGroup00/LogVol00 not found

修改.config
CONFIG_SCSI_BUSLOGIC=m
CONFIG_USB_HCD_UHCI=m
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_OHCI_HCD=m
CONFIG_ATA_PIIX=m

CONFIG_BLK_DEV_DM=y  #这个是lvm的驱动

下面这个也是设置ata_piix(2.6, 3.0不是这个位置)
Device Drivers -->  SCSI device support --> SCSCI low-level drivers --> [M] Serial ATA (SATA) support --> [M] Intel PIIX/ICH SATA support



#解压initrd
mkdir /tmp/initrd
cd /tmp/initrd
gzip -cd /boot/initrd-xxxxxxxxx.img | cpio -imd --quiet


#重新打包
cd /tmp/initrd
find . | cpio -co | gzip -9 > /boot/initrd-xxxxxxxxx.img


#重新生成initrd (ram disk),这个在make install后执行
new-kernel-pkg --mkinitrd --update 3.0.0
阅读(966) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~