摘要: 做项目要修改blktap中block-sync.c 的tdsync_queue_write函数在用write向镜像写入自己新分配的buffer数据时报错 errno 为22参考write函数错误号发现EINVALfdis attached to an object which is unsuitable for writing; or the file was opened with theO_DIRECTflag, and either the address specified inbuf, the value specified incount, or the current file 阅读全文
posted @ 2012-05-25 23:32 Macworld 阅读(180) 评论(2) 推荐(0) 编辑
摘要: 最近研究XEN,光安装就折腾了我半天,出现问题如下1.加载XEN模块的系统在启动时黑屏,无法启动提示 PCI BIOS aera is rw and x. Use pci=nobios if want it NXSolution:执行 sudo gedit /etc/default/grub添加红色字段GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=nobios"执行 sudo update-grub2.启动XEN,无法进入图形界面本人ATI显卡Solution:删除显卡驱动 开源的或者官方的都需删除3.启动XEN登录后,图形界面左 阅读全文
posted @ 2012-03-30 15:55 Macworld 阅读(407) 评论(0) 推荐(0) 编辑
摘要: 自己配置的时候遇到了许多问题,比如无法在Modules 里更改和添加类,现已解决,分享给大家http://files.cnblogs.com/macworld/Heritrix1.14.4.part1.rarhttp://files.cnblogs.com/macworld/Heritrix1.14.4.part2.rar 阅读全文
posted @ 2012-03-26 21:49 Macworld 阅读(165) 评论(0) 推荐(0) 编辑