易截截图软件、单文件、免安装、纯绿色、仅160KB

Linux内核错误 修复

环境介绍:Centos5.2+2.6.18-8.el5内核,编译器是GCC4.1.2。
要编译的内核2.6.18-8.el3
仅仅修改了部分内核的配置信息,没有大的变化。
然后:make ;make modules;make modules_install;
编译没有出问题,生成了内核,mkinitrd生成了initrd,加到lilo.conf中,重启选择新内核,出现一下问题:
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
Scanning and configuring dmraid supported devices
Trying to resume from LABEL=SWAP-hdc4
No suspend signature on swap, not resuming.
Creating root device.
Mounting root filesystem.
mount: could notKernel panic - not syncing: Attempted to kill init!
find filesystem  '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
两者区别就是编译器版本一个是gcc3.4,一个是gcc4.1,后者编译通过,但是不能引导系统。
解决方法:
Here's the fix
After almost giving up on Fedora 5, I finally got the fix to this problem.
The
suspend signature on swap error, "Trying to resume from
LABEL=SWAP-hdd3. No suspend signature on swap, not resuming", can be
ignored. It gives this error because when the volumes are activated
(look at the output previous to this error), it resumes the swap
partition in that step. Therefore, it's trying to resume something that
isn't suspended.
The error that causes all the trouble is
"mount: could not find filesystem '/dev/root'". Appartently, in the
init script within initrd-2.6.15-1.2054_FC5.img, the command 'mount
/sysroot' is trying to mount /dev/root to /sysroot. Fedora 5 does not
use /dev/root like in the previous versions of Fedora. Instead, it uses
'/dev/VolGroup00/LogVol00' or '/dev/hda1' (or wh


相关文档:

linux下两次小问题导致的core

一、一个以前的老业务,类似下面这样的
     int test(char * ptest)
   {
          return  atoi(ptest);
   }
   异常的时候,指针是空的,立马就core掉了
二、
   int  uin = 77564267; ......

在 RedHat Linux 64位系统中DB2 9.7的问题解决方法

DB2 安装完成后准备启动时,系统报错,详细信息如下
[db2inst1@localhost ~]$ db2start
db2start: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
执行下面检查命令
[db2inst1@localhost lib]$ cd /usr/lib
[db2inst1@localhost lib]$ ls -la libaio ......

LINUX下图形界面切换到文本模式

LINUX下图形界面切换到文本模式
http://blog.chinaunix.net/u/3995/showart_115072.html
 1.开机进入文本模式
如果想让开机自动进纯文本模式,
修改/etc/inittab
找到其中的
id:5:initdefault:
这行指示启动时的运行级是5,也就是图形模式
改成3就是文本模式了
id:3:initdefault:
这是因为Linux操作系统有六种 ......

Linux 虚拟文件系统概观

Linux 虚拟文件系统概观
作者 Richard Gooch <rgooch@atnf.cs.iro.au>
翻译 albcamus <albcamus@gmail.com>
最后更新:2007 年 6 月 24 日
版权:1999, Richard Gooch
版权:2005, Pekka Enberg
本文件以 GPLv2 许可发放
[翻译说明:Richard Gooch 的这份 Overview of ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号