
Linux
文章平均质量分 69
gr1x
这个作者很懒,什么都没留下…
展开
-
section manipulation directive--- .previous
Quoted from: http://sources.redhat.com/ml/binutils/2000-08/msg00043.html ------------------------------------- Re: means of .previous directiveTo: qiao guopei Subject: Re: means of .previous dir转载 2004-11-26 23:24:00 · 1038 阅读 · 0 评论 -
likely,unlikely宏与GCC内建函数__BUILDIN_EXPECT
function StorePage(){d=document;t=d.selection?(d.selection.type!=None?d.selection.createRange().text:):(d.getSelection?d.getSelection():);void(keyit=window.open(http://www.365key.com/storeit.转载 2009-04-28 01:25:00 · 860 阅读 · 0 评论 -
Kernel Symbols and CONFIG_MODVERSIONS
Contained within linux-2.4.2 source, found it hereKernel Symbols and CONFIG_MODVERSIONS ------------------------------------- Mark McLoughlin转载 2009-02-24 00:38:00 · 670 阅读 · 0 评论 -
笔记本安装Debian设置CPU的speedstep
http://www.linux-wiki.cn/index.php/Debian%E4%BD%BF%E7%94%A8CPU%E9%A2%91%E7%8E%87%E8%B0%83%E8%8A%82 前言现在的CPU耗电很大,按需调节CPU频率有对节能有重要的意义,目前多数Linux发行版都已经默认启用了这个功能,但是Debian 4.0和Archlinux还没有,需要经过简单的设置才行。,转载 2009-02-17 20:38:00 · 2316 阅读 · 1 评论 -
Unable to handle kernel paging request for data at address 0x00000000
Linux version 2.6.26.3 (gr1x@mars) (gcc version 4.2.2) #1 Mon Sep 8 23:39:50 CS8console [udbg0] enabledsetup_arch: bootmemarch: exitZone PFN ranges: DMA 0 -> 131072 Normal 131072 -原创 2008-09-10 12:23:00 · 4766 阅读 · 1 评论 -
通过dump内存中printk的__log_buf地址查看Linux启动部分的错误
已经将u-boot移植到了自己做的demo板上,现在开始移植linux PowerPC内核,前两天用bootm引导内核,当执行到: /* * Linux Kernel Parameters (passing board info data): * r3: ptr to board info data * r4: initrd_s原创 2008-09-10 00:20:00 · 6784 阅读 · 1 评论 -
Reverse Engineering with LD_PRELOAD
--------------------------------------------------- Reverse Engineering with LD_PRELOAD Izik ---------------------------------------------------This paper is about the LD_PRELOAD feature, and ho转载 2008-08-30 15:55:00 · 708 阅读 · 0 评论 -
likely() and unlikely()
Quote from : http://kernelnewbies.org/FAQ/LikelyUnlikelybvl = bvec_alloc(gfp_mask, nr_iovecs, &idx);if (unlikely(!bvl)) { mempool_free(bio, bio_pool); bio = NULL; goto out;}In fact, these functions转载 2008-08-30 11:16:00 · 494 阅读 · 0 评论 -
DoWhile0
Why do a lot of #defines in the kernel use do { ... } while(0)? There are a couple of reasons: (from Dave Miller) Empty statements give a warning from the compiler so this is why you see #define FOO转载 2008-08-29 01:28:00 · 475 阅读 · 0 评论 -
A script to change the background of pdf file!
#!/bin/bash WheatR=0.835 WheatG=0.75 WheatB=0.52 GreenR=0.62 GreenG=0.73 GreenB=0.26 YellowR=0.81 YellowG=0.78 YellowB=0.20 usage() { echo "******************************************" echo "Us原创 2005-01-07 16:20:00 · 1226 阅读 · 0 评论 -
The difference between Gensplash, bootsplash, fbsplash and splashutils
Gensplash, bootsplash, fbsplash, splashutils - I think Im getting lost. What does all this stuff mean? Bootsplash is a kernel patch designed and written by a group of SuSE developers for use in原创 2005-01-02 15:37:00 · 1259 阅读 · 0 评论 -
Some tips I get when learning bash
1.Space problem: when using “test” , which is synonymous with “ [” , except that when the [ command is used, a trailing ] is also used just for readability. Spaces must be put between the [ b原创 2004-12-06 16:02:00 · 791 阅读 · 0 评论 -
My Debian installation from hard disk
Its my first time to play with debian, not knowing much but I managed to install from hard disk :) Tips: just read the documentation in www.debian.org, its enough.Debian always has at least three re原创 2004-12-04 11:57:00 · 1188 阅读 · 0 评论 -
Slackware installation in VMWare Howto
Last month, I downloaded Slackware 10.0. As I have already installed Fedora3, just dont wanna to repartition my hard disk any more, I choose VMWare--------a wonderful virtual machine(By the原创 2004-12-04 11:08:00 · 1116 阅读 · 0 评论 -
NFS Server
tips for nfs翻译 2010-10-30 13:33:00 · 1348 阅读 · 0 评论