摘要: 插入内核模块时,遇到2.6.26之后内核的一个小bug(Bug 12446 - Unable to insmod module. Unknwon symbol) 这是linux kernel 2.6.26 之后版本的bug (详细描述, 请看http://bugzilla.kernel.org/show_bug.cgi?id=12446) 并且这个bug不会被fix 解决办... 阅读全文
posted @ 2012-09-21 11:22 hello.world 阅读(10337) 评论(0) 推荐(0) 编辑
摘要: 今天在一台Centos5.4的主机上交叉编译某个MIPS64平台的ncurses-5.7的代码的时候,会在执行tic时挂死。 具体的打印信息如下:............cd misc && make DESTDIR="/home/xxxx/libraries" installmake[4]: Entering directory `/home/xxxx/ncurses-5.7/misc'DEST... 阅读全文
posted @ 2012-09-17 14:43 hello.world 阅读(1147) 评论(0) 推荐(0) 编辑
摘要: Initialized empty Git repository in /home/lphu/test/.git/ Can't locate SVN/Core.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8 /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-m... 阅读全文
posted @ 2012-09-15 17:24 hello.world 阅读(509) 评论(0) 推荐(0) 编辑
摘要: 在root设置sudoers配制文件 chmod +w /etc/sudoers vim /etc/sudoers 添加一行 username ALL=(ALL) ALL 其中username是你的用户名,保存 更改sudoers文件权限 chmod 0440 /etc/sudoers 退出root 阅读全文
posted @ 2012-09-15 15:36 hello.world 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 需要指定INSTALL_MOD_PATH变量,以安装驱动模块到指定的位置INSTALL_MOD_PATH=/tmp/root-rootfs/ make modules_install但这样安装之后的目标路径中会多一个"kernel",原因还不知道。临时的办法是修改文件 scripts/Makefile.modinst中modinst_dir的赋值为modinst_dir = $(if $(KB... 阅读全文
posted @ 2012-09-14 14:40 hello.world 阅读(391) 评论(0) 推荐(0) 编辑
摘要: 以VHD文件为e:\个人文件备份.vhd为例: 附加脚本 echo select vdisk file="e:\个人文件备份.vhd" > vhdsel.txtecho attach vdisk >> vhdsel.txtecho list disk >> vhdsel.txtdiskpart /s vhdsel.txtdel /q vhdsel.txtpause 分离脚本echo sele... 阅读全文
posted @ 2012-08-31 10:17 hello.world 阅读(389) 评论(0) 推荐(0) 编辑
摘要: 用记事本打开 C:/WINDOWS/system32/drivers/etc 目录中的 hosts 文件 将以下代码添加到 hosts 文件 127.0.0.1 rad.msn.com 127.0.0.1 rad.live.com 阅读全文
posted @ 2012-08-28 09:40 hello.world 阅读(205) 评论(0) 推荐(0) 编辑
摘要: wget --spider URL 阅读全文
posted @ 2012-08-27 10:41 hello.world 阅读(1364) 评论(0) 推荐(0) 编辑
摘要: 在开始任务栏里输入“cmd”,然后以管理员身份运行,输入 manage-bde(空格)-lock(空格)X:,x为加密磁盘盘符。这样就可以再次锁住加密盘了。 阅读全文
posted @ 2012-08-24 22:11 hello.world 阅读(619) 评论(0) 推荐(0) 编辑
摘要: 1 安装pptpd sudo apt-get install pptpd 2 配置pptpd #sudo vi /etc/pptpd.confoption /etc/ppp/pptpd-optionslogwtmplocalip 192.168.80.1remoteip 192.168.80.234-238,192.168.80.245#sudo vi /etc/ppp/pptpd-options... 阅读全文
posted @ 2012-08-10 14:20 hello.world 阅读(188) 评论(0) 推荐(0) 编辑