LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 930|回复: 2

Linux From Scratch 6.3 x86 r2160 LiveCD编译LFS系统后升级内核出现故障请指教

[复制链接]
发表于 2009-6-6 08:06:23 | 显示全部楼层 |阅读模式
  系统硬件:
    CPU:E2160
    主板:盈通CI945GC
    内存:2G
    硬盘:320G  (SATA 口一) 80G(SATA 口三) 40G(移动硬盘,USB口)

  用LIVECD自带的JHALFS编译LFS系统后,想使用个新的内容,于是将LIVECD上的LINUX内核复制到LFS下,启动LFS系统,然后编译2.6.28版本的内核,编译,重启后出现如下提示:
  
Mounting kernel-based file systems: /proc /sys
Populating /dev with device nodes...
udevd-event[1501]:wait_for_sysfs:waiting for '/sysdevices/pci0000:00/0000:00:1f.1/host0/ioerr_cnt' failed
udevd-event[1502]:wait_for_sysfs:waiting for '/sysdevices/pci0000:00/0000:00:1f.1/host1/ioerr_cnt' failed
udevd-event[1503]:wait_for_sysfs:waiting for '/sysdevices/pci0000:00/0000:00:1f.2/host2/ioerr_cnt' failed
udevd-event[1504]:wait_for_sysfs:waiting for '/sysdevices/pci0000:00/0000:00:1f.2/host3/ioerr_cnt' failed
udevd-event[1505]:wait_for_sysfs:waiting for '/sysdevices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/host4/ioerr_cnt' failed
udevd-event[1706]:wait_for_sysfs:waiting for '/sysdevices/pci0000:00/0000:00:1f.1/host0/target0:0:0/ioerr_cnt' failed
udevd-event[1721]:wait_for_sysfs:waiting for '/sysdevices/pci0000:00/0000:00:1f.1/host0/target2:0:1/ioerr_cnt' failed
udevd-event[1720]:wait_for_sysfs:waiting for '/sysdevices/pci0000:00/0000:00:1f.1/host0/target2:0:0/ioerr_cnt' failed
udevd-event[1724]:wait_for_sysfs:waiting for '/sysdevices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/host4/target4:0:0/ioerr_cnt' failed
Activating all swap files/partitions...
Mounting root file system in read-only mode...
Checking file systems...
Could this be a zero-length partition?
FAILURE:

File system errors were encountered that could not be fixed automatically.This system cannot continue to boot and will therefore be halted until those errors are fixed manually by a System Administrator.

After you press Enter, this system will be halted and poweroff.

Press Enter to continue...

  出现上述问题后,我又下载了2.6.29.4的内核进行编译,故障依旧,但用2.6.16.28的内核就不会出现该问题。
  上述提示是在内核启动完成后,运行INIT2.86后出现的。将上述出现问题的内核及LFS系统接到一P4 SIS主板的机器(不支持SATA,845级别的主板)上却可正常启动,
  
  求大侠指教。
 楼主| 发表于 2009-6-8 12:19:11 | 显示全部楼层
看的人多,回复的人少,困扰了我三天的问题终于解决了,原因是FSTAB的问题:
   我在启动的时候在GRUB命令行设置的ROOT参数是根据内核识别硬盘的情况进行设置,但FSTAB的更改确没有跟上,修改FSTAB跟内核的ROOT参数一致,问题得到解决无法启动的问题,但:
  Mounting kernel-based file systems: /proc /sys
Populating /dev with device nodes...
udevd-event[1501]:wait_for_sysfs:waiting for '/sysdevices/pci0000:00/0000:00:1f.1/host0/ioerr_cnt' failed
udevd-event[1502]:wait_for_sysfs:waiting for '/sysdevices/pci0000:00/0000:00:1f.1/host1/ioerr_cnt' failed
udevd-event[1503]:wait_for_sysfs:waiting for '/sysdevices/pci0000:00/0000:00:1f.2/host2/ioerr_cnt' failed
udevd-event[1504]:wait_for_sysfs:waiting for '/sysdevices/pci0000:00/0000:00:1f.2/host3/ioerr_cnt' failed
udevd-event[1505]:wait_for_sysfs:waiting for '/sysdevices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/host4/ioerr_cnt' failed
udevd-event[1706]:wait_for_sysfs:waiting for '/sysdevices/pci0000:00/0000:00:1f.1/host0/target0:0:0/ioerr_cnt' failed
udevd-event[1721]:wait_for_sysfs:waiting for '/sysdevices/pci0000:00/0000:00:1f.1/host0/target2:0:1/ioerr_cnt' failed
udevd-event[1720]:wait_for_sysfs:waiting for '/sysdevices/pci0000:00/0000:00:1f.1/host0/target2:0:0/ioerr_cnt' failed
udevd-event[1724]:wait_for_sysfs:waiting for '/sysdevices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/host4/target4:0:0/ioerr_cnt' failed

依然存在,请高手指教。
回复 支持 反对

使用道具 举报

发表于 2009-6-13 08:02:10 | 显示全部楼层
换个 udev 版本行不?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表