Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÐÂÈ˵ÄLINUXÊּǣ­£­ÏÔ¿¨°²×°

×î½üºÜÊÇÎÞÁÄ£¬°Ñ±¾±¾ÄóöÀ´»»¸öϵͳ»»¸öÐÄÇé¡£ÓÚÊǾö¶¨°ÑÔ½ÅÜÔ½ÂýµÄD°æXP»»µô¡£Õâ´ÎÏÂÔØÁËFEDORA 12 X64£¬×ÜÊÇÄÃË«ºË64λµÄCPUÀ´ÅÜ32λϵͳÒѾ­ÈÃÎÒ²»Ë¬ºÜ¾ÃÁË¡£
ϵͳװºÃÁËÒÔºó·¢ÏÖÓе㲻¶Ô¾¢£¬£À £À
¶«Î÷ºÃ´ó¡£¿´À´ÊÇ·Ö±æÂʵÄÎÊÌ⣬ϵͳ£­Ê×Ñ¡ÏÏÔʾ......ºÃÏñ¸Ä²»ÁË.
PS:ÔÚlinuxÏÂÃæ²»×°ÏÔ¿¨ÊDz»ÄܸķֱæÂʵÄ
û°ì·¨,ÎÒµÄÏÔ¿¨ÊÇNVIDIA8400G M
È¥ÕÒ°É ÔÚ¹Ù·½ÍøÕ¾:http://www.nvidia.cn/Download/index.aspx?lang=cn¾Í¿ÉÒÔÕҵĵ½.
PS:µ½Í¬Òâ²¢ÏÂÔصÄÄÇÒ»²½ÍƼö ÓÒ¼ü-¸´ÖÆÁ´½ÓµØÖ· Ó¦ÓóÌÐò-ϵͳ¹¤¾ß-ÖÕ¶Ë ÔÚÀïÃæ´òwget -c [Õ³Ìù¸Õ²Å¸´ÖƵĵØÖ·]
ÉÙÅ®Æíµ»ÖÐ....
ÏÂÔغÃÁË,°²×°¿ªÊ¼.
Ê×ÏÈÇл»µ½×Ö·ûMODE ALT+CTRL+F2  È»ºóÊäÈëÓû§Ãû,ÃÜÂë
PS:ÕâÀïºÍWINµÄÇø±ð,ÕâÀï²»»áÏÔʾÄãÊäÈëµÄ×Ö·û,ËùÒÔ²»ÒªÎªÁËʲôҲûÓжøĪÃ÷ÆæÃî,ƾןоõ°´ÏÂÈ¥ÇÃENTER¾Í¿ÉÒÔÁË
Çл»µ½ROOT,ÒòΪÕâÀïÒªROOTȨÏ޲ſÉÒÔ×ösu root
ÊäÈëÃÜÂë
INIT 2»Ø³µ
sh [ÏÔ¿¨ÎļþÃû]
PS:²»ÒªÎªÃû×ÖÌ«³¤¶ø·³ÄÕ,´ò¼¸¸ö×ÖĸȻºó°´TAB¼ü¾Í¿ÉÒÔ
½øÈëÏòµ¼Ê½µÄ¶«Î÷.È»ºó......
˳ÀûµÄ»°¾Í»á×°ÉÏ,Äǹ§Ï²Äã.ÒªÊDz»Ë³ÀûµÄ»°¾Í»á³öÏÖÎÒÕâÑùµÄÎÊÌâ
ERROR: Unable to find the development tool `cc` in your path; please make sure
that you have the package 'gcc' installed. If gcc is installed on your
system, then please check that `cc` is in your PATH.
Òâ˼¾ÍÊÇûÓÐÕÒµ½ÄãµÄGCC.û°ì·¨±»ÖÐÖ¹ÁË°²×°.
»Øµ½Í¼ÐͽçÃæ startx
²»¹ÜËüÊÇûÓÐ×°»¹ÊÇ°æ±¾²»¶Ô,ÔÙװһϾͽâ¾öÁË.´ò¿ªÖÕ¶Ë yum install gcc
ÔÙÇе½×Ö·û È»ºóINIT 2
sh Çý¶¯Îļþ
ÉÙÅ®Æíµ»ÖÐ.....
ÓÖ±¨´íÁË
Unable to find the kernel source tree for the currently running kernel.
Please make sure you have installed the kernel source files for your
kernel and that they are properly configured; on Red Hat Linux systems,
for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM
installed. If you know the correct kernel source files are installed,
you may specify the kernel source path with the '--kernel-source-path'
command line option.
Õâ¸ö´íÎó´ó¸ÅÊÇҪһЩÄں˱àÒëÎļþ.¶øÎÒÃÇÏÖÔÚÓÖûÓÐ
Ôٻص½Í¼ÐÎÏÂÃæ,´ò¿ªÖÕ¶Ë yum install kernel-devel
×°ºÃºóÔÚ /usr/src/kernels/[ÄãµÄÄں˰汾ºÅ]ÏÂÃæ¸Õ²Å´íÎóÀïËù˵µÄ--kernel-sourc


Ïà¹ØÎĵµ£º

LinuxÄÚºËÆô¶¯·ÖÎö

Linux ÄÚºËÆô¶¯·ÖÎö
1.       ÄÚºËÆô¶¯µØÖ·
1.1.   Ãû´Ê½âÊÍ
ZTEXTADDR
½âѹ´úÂëÔËÐеĿªÊ¼µØÖ·¡£Ã»ÓÐÎïÀíµØÖ·ºÍÐéÄâµØÖ·Ö®·Ö£¬ÒòΪ´ËʱMMU´¦ÓڹرÕ״̬¡£Õâ¸öµØÖ·²»Ò»¶¨Ê±RAMµÄµØÖ·£¬¿ÉÒÔÊÇÖ§³Ö¶ÁдѰַµÄflashµÈ´æ´¢Öн顣
Start address of decompressor. here's no point ......

Linuxѧϰ¼Æ»®

ÒÔÇ°Ôø¾­¿´¹ýÕâÑùµÄһƪÎÄÕ£¬´ó¸ÅÊÇÕâÑùµÄ:
ѧϰLinuxÒª·ÖÈý¸ö½×¶ÎÀ´Ñ§£º
1£©Ê¹ÓÃLinux£»
2)LinuxµÄ³ÌÐòÉè¼Æ£»
3£©LinuxµÄÄں˼°±à³Ì¡£
´ÓÏÖÔÚ¿ªÊ¼ÒªÑ§Ï°LinuxÁË£¬Ö÷ÒªÊÇÏÈ´ÓʹÓÃLinux¿ªÊ¼ÁË£¬Ñ¡ÓõÄLinuxÊÇRed Hat 5. ......

»ùÓÚARMµÄǶÈëʽlinux Äں˵IJüôÓëÒÆÖ²


0 ÒýÑÔ
   
΢´¦ÀíÆ÷µÄ²úÉúΪ¼Û¸ñµÍÁ®¡¢½á¹¹Ð¡ÇɵÄCPUºÍÍâÉèµÄÁ¬
½ÓÌṩÁËÎȶ¨¿É¿¿µÄÓ²¼þ¼Ü¹¹£¬ÕâÑù£¬ÏÞÖÆǶÈëʽϵͳ·¢Õ¹µÄÆ¿¾±¾ÍÍ»³ö±íÏÖÔÚÁËÈí¼þ·½Ãæ¡£¾¡¹Ü´Ó°ËÊ®Äê´úÄ©¿ªÊ¼£¬ÒѾ­Â½Ðø³öÏÖÁËһЩǶÈëʽ²Ù×÷ϵͳ(±È½ÏÖø
ÃûµÄÓÐVxwork¡¢pSOS¡¢NeculeusºÍWindows
CE)¡£µ«ÕâЩרÓòÙ×÷ϵͳ¶¼ÊÇÉÌ ......

linux shell ×Ö·û´®½ØÈ¡×ܽá

linuxÖжÔ×Ö·û´®µÄ´¦Àí£º
1.×Ö·û´®·Ö¸îÀýÈç  AAAAA-BBBBBB  °´-·Ö¸îȥǰºóÁ½²¿·Ö
 cut £º
[rich@localhost ~]$ str=AAAAA-BBBBBB
[rich@localhost ~]$ echo $str | cut -d "-" -f 1
AAAAA
[rich@localhost ~]$ echo $str | cut -d "-" -f 2
BBBBBB
½âÊÍ£ºA £ü B  ½«AÃüÁîµ ......

»ñÈ¡Linux 2.6.x sys_call_table


ÔÚlinuxÖÐËùÓеÄsyscall¶¼Êǵ÷ÓÃint 0x80, int 0x80µÄÖжϷþÎñ³ÌÐòΪsystem_call(arch/x86/kernel/traps_32.c:set_system_gate(SYSCALL_VECTOR,&system_call).  system_call (arch/x86/entry_32.S)×îÖÕcall *sys_call_table(,%eax,4)À´Íê³ÉÒ»¸ösyscallµ÷ÓÃ. 
¼´ int 0x80 -> system_call -> s ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ