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
相关文档:
1. HCI层协议概述:
HCI提供一套统一的方法来访问Bluetooth底层。如图所示:
从图上可以看出,Host Controller Interface(HCI) 就是用来沟通Host和Module。Host通常就是PC, Module则是以各种物理连接形式(USB,serial,pc-card等)连接到PC上的bluetooth Dongle。
在Host这一端:application,SDP,L2cap等协议 ......
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
一般人总是认为,
Linux
用户是不会轻易地倒向
Windows
一边的。但是,实际情况让你大跌眼镜。
大家知道,网站
www.w3c ......
一、安装
创建安装目录,在/usr/local/java下建立安装路径,并将文件考到该路径下:
# mkdir /usr/local/java
1、jdk-6u11-linux-i586.bin
这个是自解压的文件,在linux上安装如下:
# chmod 755 jdk-6u11-linux-i586.bin
# ./jdk-6u11-linux-i586.bin
在按提示输入yes后,jdk被解压。
......
1. 查看内核版本命令:
1) [root@q1test01 ~]# cat /proc/version
Linux version 2.6.9-22.ELsmp (bhcompile@crowe.devel.redhat.com) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Mon Sep 19 18:00:54 EDT 2005
2) [root@q1test01 ~]# uname -a
Linux q1test0 ......