在前文Android—— 4.2 Vold挂载管理_NetlinkManager (四)中有解析到Vold 是从kernel中获取uevent事件,来获取device信息,其中是通过一个Netlink的套接字,目前整个Vold机制也分析完了,
上篇 Android—— 4.2 Vold挂载管理_MountService (六) 分析了机制中最上层的,这里分析一下最下层的kernel uevent事件的发送,以USB设备为例!...
分类:
移动开发 时间:
2014-09-02 19:59:35
阅读次数:
316
安装keepalived#./configure--sysconf=/etc--with-kernel-dir=/usr/src/kernels/2.6.32-358.el6.x86_64/&&make&&makeinstall
#ln-s/usr/local/sbin/keepalived/sbin/
#chkconfigkeepalivedon修改网卡配置#vim/etc/sysconfig/network-scripts/ifcfg-lo:0
DEVICE..
分类:
其他好文 时间:
2014-09-02 18:08:35
阅读次数:
210
解決方案:1.sudo apt-get install virtualbox-ose-source2.cd /usr/src3.sudo tar xjvf virtualbox*.bz24.cd modules/virtualbox-ose5.sudo ./build_in_tmp install6...
分类:
其他好文 时间:
2014-09-02 11:59:44
阅读次数:
201
Debugging Techniques
内核debug的挑战:
Kernel programming brings its own, unique debugging challenges. Kernel code can not be easily executed under a debugger, nor can it be eas...
分类:
其他好文 时间:
2014-09-02 00:23:13
阅读次数:
476
linux基本的启动步骤:1、加载BIOS的硬件资讯与进行自我测试,并依据配置取得第一个可启动的装置;2、读取并运行第一个启动装置内MBR的bootLoader(亦即是grub,spfdisk等程序);3、依据bootloader的配置加载Kernel,Kernel会开始侦测硬件与加载驱动程序;4、在硬件驱动成功后,K..
分类:
系统相关 时间:
2014-09-01 15:47:43
阅读次数:
208
核心与核心模块核心:/boot/vmlinuz或/boot/vmlinuz-version;核心解压缩所需RAMDisk:/boot/initrd(/boot/initrd-version);核心模块:/lib/modules/version/kernel或/lib/modules/$(uname-r)/kernel;核心原始码:/usr/src/linux或/usr/src/kernels/(要安装才会有,默认不安..
分类:
其他好文 时间:
2014-09-01 15:47:34
阅读次数:
263
新装了台fedora20的虚拟机,安装升级了一些东西后,启动时过了fedora的logo画面后就是黑屏。也没提示任何错误,好在shell还能进去,查看/var/log/anaconda/syslog日志,发现错误如下:
20:40:34,794 NOTICE kernel:[ 1256.967907] type=1400 audit(1409517634.790:29): avc: denie...
分类:
其他好文 时间:
2014-09-01 12:34:33
阅读次数:
245
This month marks the second anniversary of the acquisition of
Open Kernel Labs (OK Labs) by General Dynamics (GD). It also marks ten years of us engaging with Qualcomm on commercialising L4 microker...
分类:
其他好文 时间:
2014-09-01 10:45:23
阅读次数:
352
Git
分布式版本控制系统。2005 - 至今,创造者:Linus Torvalds。特点:快速、非线性、分支。
为什么使用Git?
1. 强大
Git在开发伊始的目标就是管理Linux内核。目前为止,使用最久、最经典的Linux kernel v2.6版本的不完全统计代码量是592万行,如果这样的一个工程Git都可以信手拈来的话,除了强大我们还能说什么呢?...
分类:
其他好文 时间:
2014-09-01 00:27:42
阅读次数:
306
相信很多的人对虚拟机并不陌生,目前也有很多优秀的虚拟机软件,例如:VMware, VirtualBox, Xen, KVM等。而本文的主要内容是介绍KVM。
KVM: Kernel Based Virtual Machine:
[点击查看全文]
http://luoye.me/2014/07/05/KVM-Introduce...
分类:
其他好文 时间:
2014-08-31 18:42:41
阅读次数:
190