1、 linux驱动分类
2、 信号量与自旋锁
3、 platform总线设备及总线设备如何编写
4、 kmalloc和vmalloc的区别
5、 module_init的级别
6、 添加驱动
7、 IIC原理,总线框架,设备编写方法,i2c_msg
8、 kernel panic
9、 USB总线,USB传输种类,urb等
10、android boot 流程...
分类:
系统相关 时间:
2014-07-27 23:43:09
阅读次数:
380
1.中断描述符表的定义(arch/x86/kernel/traps.c)1 gate_desc debug_idt_table[NR_VECTORS] __page_aligned_bss;定义的描述符表为一个结构体数组,数组元素类型为gate_desc,大小为8B。NR_VECTORS宏为256,...
分类:
其他好文 时间:
2014-07-27 21:59:49
阅读次数:
445
故障:
之前phpMyAdmim和Yii连接Mysql都好着的,某天,同时出现如下报错:
1、linux下phpMyAdmin 出现 “缺少 mysqli 扩展,请检查
PHP 配置。”
2、Yii 出现CDbConnection failed to open the DB connection: could not find driver
排查:
1、先排查Mysql服务是否正...
分类:
数据库 时间:
2014-07-27 11:16:42
阅读次数:
232
使用Heartbeat构建Linux双机热备系统本文档版本号: V1.0版 本 历 史版本号更新时间说 明创建者V1.02013-3-23修改版金桥1 部署环境OS: Red Hat Enterprise Linux release 6.0 Beta (Santiago)kernel: 2.6.32...
分类:
其他好文 时间:
2014-07-27 10:08:59
阅读次数:
922
repo仅仅是google用Python脚本写的调用git的一个脚本,主要是用来下载、管理Android项目的软件仓库。1. 下载 repo 的地址: http://android.git.kernel.org/repo ,能够用 wget http://android.git.kernel.org...
分类:
其他好文 时间:
2014-07-27 09:41:42
阅读次数:
470
为了测试net_kernel:set_net_ticktime(600)是不是真的生效。
分类:
其他好文 时间:
2014-07-26 17:05:02
阅读次数:
315
单步调试kernel说明恩,这个文档的目标是单步调试内核,从每一个工具软件的版本号到每一个命令,都有一个说明ubuntu1204,32位http://www.ubuntu.org.cn/download/desktop用vmware虚拟机安装该系统。用64位系统时,gdb有bug。报错信息为:xxx太长。所以建议用32位系统编译kernel..
分类:
数据库 时间:
2014-07-26 03:22:57
阅读次数:
354
// 清除thin pool
1.1 func (d *Driver) Cleanup() error {
// 停止thin pool
err := d.DeviceSet.Shutdown()
return err
}
// 当加载新镜像时,添加一个新thin device
// id为containerid或imageid
1.2 func (d *Driver) Create(i...
分类:
移动开发 时间:
2014-07-26 02:59:46
阅读次数:
302
// 在thin pool中创建一个新thin device
// 调用路径:driver.Create()
1.1 func (devices *DeviceSet) AddDevice(hash, baseHash string) error {
//查找父device
baseInfo, err := devices.lookupDevice(baseHash)
if err != n...
分类:
移动开发 时间:
2014-07-26 02:53:26
阅读次数:
347
// 创建thin pool
// 调用路径:NewDeviceSet->initDevmapper->createPool
1.1 func createPool(poolName string, dataFile, metadataFile *os.File, poolBlockSize uint32) error {
//通过task封装与libdevmapper的交互
task, er...
分类:
移动开发 时间:
2014-07-26 02:45:06
阅读次数:
297