diff --git a/zh/FAQ/admin.sgml b/zh/FAQ/admin.sgml index 5704a7c0d6..b0b0278ff8 100644 --- a/zh/FAQ/admin.sgml +++ b/zh/FAQ/admin.sgml @@ -1,878 +1,878 @@ - + ¨t²ÎºÞ²z ¨t²Î°_©l³]©wÀɦb­þ¡H

±q 2.0.5R ¨ì 2.2.1R¡A¥D­nªº³]©wÀɬO /etc/sysconfig¡C ©Ò¦³ªº¿ï¶µ³£³Q«ü©w¦b³o­ÓÀÉ¡A¦Ó¨ä¥L¹³ ©M /etc/netstart ¥u¬O¤Þ¥Î¥¦¡C

Æ[¹î /etc/sysconfig ³o­ÓÀɨíץ¿¨ä­È¥H¾A¦X§Aªº¨t²Î¡C ³o­ÓÀɥεù¸Ñ¶ñº¡¥Hªí¥Ü¦ó³B¸Ó©ñ¸m¤°»ò³]©w¡C

¦b 2.2.1 ¥H«á¤Î 3.0 ¡A/etc/sysconfig §ó¦W¬°¤@­Ó§ó®e ©ö´y­zªºÀɦW¥s ¡A¨Ã¥B»yªk²¤Æ¤F¨Ç¡C/etc/netstart ¥ç§ó¦W¬° /etc/rc.network ¦]¦¹©Ò¦³ªºÀɮ׳£¥i¥H¥Î /usr/src/etc/rc* /etc ¨Ó«þ¨©¡C

/etc/rc.local ¥X²{¨Ã¥i¥H¥Î¨Ó±Ò°ÊÃB¥~ªº¥»¦aªA°È¹³¬O ©Î¬Y¨Ç¦Û­q¿ï¶µ¡C

/etc/rc.serial ¥Î¨Óªì©l¤Æ§Ç¦C°ð(¹³¬OÂê©w°ðªº¯S©Êµ¥¡^¡C

/etc/rc.i386 ¬O Intel ±M¥Î³]©w¡A¹³¬O iBCS2 ¼ÒÀÀ©Î¬O PC ¨t²Î¥D±±¥x³]©w¡C

¥Ñ 2.1.0R ¶}©l¡A§A¤]¥i¥H¦b /etc/sysconfig (©Î /etc/rc.conf) ¸Ì«ü©w¤@­Ó¥Ø¿ý¾Ö¦³"¥»¦a"°_©lÀÉ¡G # Location of local startup files. local_startup=/usr/local/etc/rc.local.d

¨C­Ó¥H °²¦p§A·Q½T«O¬Y­Ó°õ¦æ¶¶§Ç¤S¤£·Q§ï©Ò¦³ªºÀɦW¡A§A¥i¥H¨Ï¥Î¤@­Ó²³æ ªº¬[ºc¦p¤U¡A§Q¥Î¨Æ¥ý¦w±Æ¨ì¨C­ÓÀɦW«eªº¼Æ¦r¨Ó½T«O¶¶§Ç¡G 10news.sh 15httpd.sh 20ssh.sh

³o¥i¯à¬Ý°_¨Ó¦³ÂIÁà(©ÎÃþ¦ü SysV :-)) ¦ý¬O¥¦´£¨Ñ¤@­Ó²³æ¦Ó³W«ßªº ¬[ºcÅý¥»¦a¥[¤Jªº®M¥ó¤£¶·½s¿è /etc/rc.local ´N¯à­«·s±Æ §Ç¡C³\¦hªº ports/packages °²³] /usr/local/etc/rc.d ¬O ¥»¦a°_©lªº¥Ø¿ý¡C §Ú¸Ó¦p¦ó²³æ¦a¥[¤J¨Ï¥ÎªÌ¡S

¨Ï¥Î «ü¥O¡C

¥t¥~¤]¦³­Ó®M¥ó¥s ``<roberto@FreeBSD.ORG> ¸ß°Ý¥¦¡C ¥Ø«e¥¿¦bµo®i¶¥¬q¡C

­n¦A¦¸²¾°£¨Ï¥ÎªÌ¡A¨Ï¥Î «ü¥O¡C §Ú¸Ó«ç»ò§â·sµwºÐ¥[¤J FreeBSD ¨t²Î¤¤¡S

¹î¬Ý ªººÏºÐ®æ¦¡¤Æ«ü¾É¤å¥ó¡C §Ú¦³¤@­Ó·sªº¥i²¾°£¸Ë¸m¡A§Ú¸Ó«ç»ò¨Ï¥Î¡S

¥i²¾°£¸Ë¸mµL½×¬O ZIP ©Î EZ(©Î¬Æ¦Ü¬O³nºÐ¾÷¡A¦pªG§A­n³o¼Ë¨Ï¥Î ¥¦)¡A©Î¬O¤@­Ó·sªºµwºÐ¡A¥u­n¬O¦w¸Ë¨Ã¥Ñ¨t²Î­«²Õ¡A¦Ó§A¦³ºÏ¤ù§X /³nºÐ¤ù/©Î¨ä¥LªF¦è¥i¥H´¡¤J¡A¨º³o¨Ç¸Ë¸m³£¬OÃþ¦ü¥\¯àªºªF¦è¡C

°²¦p¬O ZIP ©Î³nºÐ¾÷¡A§A¤w¸g¦b¤W­±¦³ DOS Àɮרt²Î¡A¥i¥H¨Ï¥Î ¹³³o¼Ëªº©R¥O¡G mount -t msdos /dev/fd0c /floppy

³o¬O°w¹ï³nºÐ¾÷¡A©Î¬O¥H¤U©R¥O¡G mount -t msdos /dev/sd2s4 /zip

¨Ï¥Î ZIP ªº¥X¼t¹w³]­È¡C

¨ä¥LºÏ¤ù¡A¥Î /stand/sysinstall ¹î¬Ý ¦p¦ó°t¸m¡C

±µ¤U¨Ó³o­Ó½d¨Ò¬O ZIP ¸Ë¦b sd2¡A¦b²Ä¤T­Ó SCSI ºÏºÐ¡C

°£«D¬O³nºÐ¾÷¡A©Î¤@­Ó§A­pµe¸ò¨ä¥L¤H¤À¨É¨Ï¥Îªº¥i²¾°£¸Ë¸m¡A¦b ¦w¸Ë BSD Àɮרt²Î¥i¯à¬O¤@­Ó¤ñ¸û¦nªº¥D·N¡C§A±N¾Ö¦³ªøÀɦW¤ä´© ¡A¦Ü¤Ö¨â­¿¥H¤Wªº®Ä²v¼W¶i¡AÁÙ¦³§ó°ªªºÃ­©w«×¡C­º¥ý¡A§A»Ý­n­«·s »s§@ DOS ¼hªº¤À³Î°Ï/Àɮרt²Î¡C§A¥i¥H¨Ï¥Î ©Î /stand/sysinstall¡A©Î¹ï¤@­Ó§A¤£·Q¤ä´©¦h­«§@·~¨t²Îªº ¤pºÏºÐ¡A¥u­n§â¥¦¹º¤À¦¨¾ã­Ó FAT ¤À³Îªí(slices)¨Ã¥Î¥H¤U BSD ¤À ³Îªk¡G dd if=/dev/zero of=/dev/rsd2 count=2 disklabel -Brw sd2 auto

§A¥i¥H¨Ï¥Î disklabel ©Î /stand/sysinstall ¥h«Ø¥ß¦h­« BSD ¤À³Î°Ï¡CµLºÃªº¦pªG§A¥¿¦bµwºÐ¾÷¤W¼W¥[¸m´«ªÅ¶¡(swap space)®É §A´N»Ý­n³o»ò°µ¡A¦ý¬O¦b¥i²¾°£¸Ë¸m¦p ZIP ¤W¥i¯à´N¬OµL·N¸qªº¡C

³Ì«á¡A«Ø¥ß¤@­Ó·sªºÀɮרt²Î¡A¤]´N¬O¦b ZIP ¸Ë¸m¤W¬O¨Ï¥Î¾ã­ÓºÏºÐ¡G newfs /dev/rsd2c

¨Ã¥B§â¥¦ mount °_¨Ó¡G mount /dev/sd2c /zip

¦b ¥[¤J¤U­±³o¤@¦æ¥i¯à¬O¤@­Ó¦n¥D·N¡A§A¥H«á´N¥u ­n¥´"mount /zip" : /dev/sd2c /zip ffs rw,noauto 0 0 §Ú¸Ó«ç»ò mount ¦¸­nªº DOS ¤À³Î°Ï¡S

¦¸­n DOS ¤À³Î°Ï¬O¦b©Ò¦³¥D­n¤À³Î°Ï¤§«á³Q§ä¨ì¡AÁ|¨Ò¡A¦pªG§A¦³¤@­Ó "E" ¤À³Î°Ï¦b²Ä¤G­Ó SCSI ¸Ë¸mªº²Ä¤G­Ó DOS ¤À³Î°Ï¡A§A»Ý­n¦b /dev ¤U «Ø¥ß "slice 5" ªº¯S®íÀɮסAµM«á mount /dev/sd1s5¡G # cd /dev # ./MAKEDEV sd1s5 # mount -t msdos /dev/sd1s5 /dos/e §Ú¥i¥H¦b FreeBSD ¤U mount ¨ä¥L²§½è©ÊÀɮרt²Î¶Ü¡S

¦³§ó¦h¸ê°T¡C

ªº«ü¾É¤¶²Ð¡C

¦pªG±z¯à´£¨Ñ¥ô¦ó³o­Ó¥DÃDªº¨ä¥L¸ê°T¡A§Ú­Ì·|«Ü·P¿E¡C §Ú¸Ó¦p¦ó¨Ï¥Î NT loader ¨Ó±Ò°Ê FreeBSD¡S

³Ì´¶¹Mªº·Qªk¬O§â§A­ì¥» FreeBSD root ¤À³Î°Ïªº²Ä¤@­ÓºÏ°Ï«þ¨©¨ì DOS/NT ¤À³Î°Ï¸Ìªº¤@­ÓÀɮפº¡C°²³]§A©R¦W¥¦¬°¡G c:\bootsect.bsd (¥Ñ c:\bootsect.dos ±Â·N¦Ó¨Ó)¡A±µµÛ§A¥i¥H½s¿è c:\boot.ini Àɮפº®e¦p¤U¡G [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows NT" C:\BOOTSECT.BSD="FreeBSD" C:\="DOS"

¦¹µ{§Ç°²³] DOS¡ANT¡AFreeBSD¡A©Î¨ä¥L§@·~¨t²Î¤w¸g³Q¦w¸Ë¦b Mount ¤@­Ó DOS ®æ¦¡¤Æªº³nºÐ¡]°²¦p§A¤w¸gÂà´«¨ì NTFS¡^©Î FAT ¤À ³Î°Ï¨ì /mnt¡G dd if=/dev/rsd0a of=/mnt/bootsect.bsd bs=512 count=1

­«·s¶}¾÷¶i¤J DOS ©Î NT¡CNTFS ¨Ï¥ÎªÌ§â attrib -s -r c:\boot.ini

½s¿è¨Ã±q¤W­z attrib -r -s c:\boot.ini

¦pªG FreeBSD ¬O¥Ñ MBR ±Ò°Ê¡A¦b§A­«·s³]©w±q­þ­Ó native ¤À³Î°Ï±Ò°Ê«á ¡A¥Î DOS ªº `` §Ú¸Ó¦p¦ó¥Î LILO ±Ò°Ê FreeBSD ©M Linux¡S

¦pªG§A¦b¦P¤@­ÓºÏºÐ¾÷¸Ì¦³ FreeBSD ©M Linux¡A¥u­n¸òÀH LILO ªº¦w ¸Ë«ü¥O¡A±q¤@­Ó«D Linux §@·~¨t²Î±Ò°Ê¡C²²¤»¡©ú¦p¤U¡G

±Ò°Ê Linux¡A¨Ã¦b /etc/lilo.conf ¤¤¥[¤J¥H¤U´X¦æ¡G other=/dev/hda2 table=/dev/hda label=FreeBSD ¡]¤W­±¬O°²³]§Aªº FreeBSD slice ¦b Linux ¬O /dev/hda2¡F½Ð °t¦X¦Û¤vªº³]©w¡^¡CµM«á¡A¥Î root °õ¦æ lilo À³¸Ó´N§¹¦¨¤F¡C

°²¦p FreeBSD ¦b¥t¥~¤@­ÓºÏºÐ¡A§A¥²¶·¦b LILO ¿ï¶µ¤¤¥[¤J ``loader=/boot/chain.b''¡AÁ|¨Ò¡G other=/dev/sdb4 table=/dev/sdb loader=/boot/chain.b label=FreeBSD

¬Y¨Ç±¡§Î§A¥²¶·«ü©w BIOS ºÏºÐ¥N¸¹µ¹ FreeBSD boot loader ¥H´Á±q²Ä ¤GºÏºÐ¦¨¥\ªº±Ò°Ê¡CÁ|¨Ò¡A°²¦p FreeBSD SCSI ºÏºÐ¦b BIOS ¤¤°»´ú ¬O BIOS disk 1¡A¨º¦b FreeBSD boot loader ªº´£¥Ü¸¹¥X²{®É§A¥²¶·«ü ©w¡G Boot: 1:sd(0,a)/kernel

¦b FreeBSD 2.2.5 ©M¤§«áªºª©¥»¡A§A¥i¥H³]©w ³o¼Ë¨C¦¸±Ò°Ê®É´N·|¦Û°Ê°õ¦æ¡C

¬O FreeBSD ©M Linux ¦@¥Î¾Þ§@ªº¨}¦n °Ñ¦Ò¤å¥ó¡C §Ú«ç»ò¨Ï¥Î BootEasy ¨Ó±Ò°Ê FreeBSD ©M Linux¡S

¦b Linux ±Ò°Ê¤À³Î°Ï¦w¸Ë LILO ¨ú¥N¥D­n±Ò°Ê¸ê®Æ(Master Boot Record)¡C±µµÛ§A¥i¥H±q BootEasy ±Ò°Ê LILO¡C

°²¦p§A¥¿¦b¥Î Windows-95 ©M Linux¡A³o¦³¤@­Ó«ØÄ³¤èªk¡G­n§ó²³æ ªº±q Linux ¦A¦¸±Ò°Ê¦b©ó§A¬O§_À³¸Ó­«·s¦w¸Ë Windows95¡]³o¬O¤@­Ó µ½§ªªº§@·~¨t²Î¡A¥¦À£­¢¤£Åý¨ä¥L§@·~¨t²Î¦s¦b©ó Master Boot Record ¤º¡^¡C ¤@­Ó©Ò¿×``¦MÀI©^Äm(dangerously dedicated)''ªººÏºÐ¦³®`¶Ü¡S

¦]¦¹¬°¦ó¥s¥¦``¦MÀIªº''¡S¤@­Ó³B©ó³oºØ¼Ò¦¡ªººÏºÐ¾÷¤£¥]§t¯à³Q¥¿ ±` PC ¤½¥Îµ{¦¡µø¬°¦³®Äªº fdisk table¡C¨Ì´`¥¦­Ì³Q³]­pªº¼Ò¦¡¡A¥u ­n¥¦­Ì¦b³o¼Ë¤@­ÓºÏºÐ¾÷¤¤¤@¥¹³QIJ¤Î¥i¯à´N·|²£¥Í¿ù»~ªº´£¥Ü¡A©Î§ó ÁV¿|ªº¡A¥i¯à¥¼¸g´£¥Ü©Î³qª¾§A´N§â FreeBSD bootstrap §ËÃa¡C¥t¥~ ¡A``¦MÀI©^Äm''ªººÏºÐ layout ·|»~¾É³\¦h¼tµPªº BIOSsen(BIOS °»´ú) ¹³¬OAWARD(¤ñ¦p»¡¦b HP Netserver ©M Micronics µ¥¥H¤Î¨ä¥L³\¦h¨t ²Î)¡A©M Symbios/NCR(¦p¦b SCSI controllers ¤¤«Ü¬y¦æªº 53C8xx ¨t¦C)¡C³o¨Ã«D¤@­Ó§¹¾ãªº¦Cªí¡AÁÙ¦³§ó¦h¥¼¦C¥X¡C³oºØ»~¾Éªº¼x¥ü¥] ¬A¥Ñ FreeBSD bootstrap ±Ò°Ê¡A·íµwºÐµLªk³Q§ä¨ì®É¦Ó¦L¥X "read error" ªº°T®§¡A¥H­P©ó¾ã­Ó¨t²Î¦b±Ò°Ê¤¤¾ã­Ó°±º¢¡C

¨º¬°¦ó¤S­n¦³³oºØ¼Ò¦¡©O¡H¥¦¥u¸`¬ÙºÏºÐªÅ¶¡¤¤¼Æ kbyte ªº¤j¤p¡A ¦Ó¹ï¤@­Ó·sªº¦w¸Ë¹Lµ{¤¤«o¥i¯à²£¥Í¹ê»Úªº§xÃø¡C`¦MÀI©^Äm'¼Ò¦¡­ì¥» ªº·Qªk¬O°ò©óÁ×§K¤@­Ó¥þ·s FreeBSD installer ¤¤³Ì±`¨£ªº°ÝÃD - ¬° ¤F­n¦bºÏºÐ¾÷¤W°t¦X BIOS ªº ``geometry'' ¼Æ¥Ø¡C

``Geometry''¬O¤@­Ó¦³ÂI¸¨¥îªº·§©À¡A¦ý¬O«o¤´¦b PC ªº BIOS ¤¤ ¨Ï¥Î¨Ã¥B»PºÏºÐ¾÷¥æ¤¬¹B§@µÛ¡A·í FreeBSD installer «Ø¥ß slice ®É ¡A¥¦¥²¶·°O¿ý³o¨Ç slices ¦bºÏºÐ¾÷¤Wªº¦ì¸m¡A³o¤èªk¥²¶·©M BIOS §Æ ±æ¯à§ä¨ì¥¦­Ìªº¦ì¸m¤@­P¡C°²¦p¿ù¤F¡A§A±N¤£¥i¯à±Ò°Ê¨t²Î¡C

``Dangerously dedicated''¼Ò¦¡(«á­±·|²ºÙ¬° DD mode)¸ÕµÛ­nÅý ³o­Ó°ÝÃD²³æ¤@ÂI¡A¬Y¨Ç±¡§Î¤U¥¦°µ¹ï¤F¡C¦ý³o¥u¯à·í¦¨³Ì«áªº¤U¤U¤§ µ¦ - ÁÙ¦³§ó¦nªº¤èªk¥i¥H¸Ñ¨M³o°ÝÃDªºµ´¤j³¡¥÷¡C(ĶªÌ¡G³o³¡¥÷¥Î¤F ³\¦hªº¤f»y¥Îµü¡A­ì¤å·Ó¿ý¥H¨Ñ¹ï·Ó¡C)

``Dangerously dedicated'' mode tries to work around this by making the problem simpler. In some cases, it gets it right. But it's meant to be used as a last-ditch alternative - there are better ways to solve the problem 99 times out of 100.

¦]¦¹¡A·í§A¦b¦w¸Ë®É«ç»òÁ×§K­n¨Ï¥Î``DD''¼Ò¦¡¡H¦b¶}©l®É°O¤U BIOS ­n¨D¨Ï¥ÎºÏºÐ¾÷ªº geometry¡A§A¥i¥H¦b±Ò°Êªº ``boot:''´£¥Ü ¸¹¥X²{®É¡A¥H``-v''«ü©w®Ö¤ß¦L¥X³o­Ó°T®§¡A©Î¬O¦b loader ¸Ì­± ¨Ï¥Î``boot -v''¡C¦b installer ¶}©l°Ê§@«e¡A®Ö¤ß·|¦L¥X¤@¦ê BIOS geometries¡C§Oºò±i - µ¥ installer ¶}©l±Ò°Ê«á¨Ï¥Î scrollback ¤è¦¡¥hŪ³o¨Ç¼Æ¦r¡A«ö·ÓºD¨Ò¦a BIOS ºÏºÐ¾÷ªº³æ¤¸·|¸ò FreeBSD ¦C Á|¥X¨Óªº¤@¼Ë¡AIDE ¥ý¡AµM«á¤~¬O SCSI¡C

·í§A¦b¤À³Î§AªººÏºÐ®É¡AÀˬd¦b FDISK ¿Ã¹õ¤W¥X²{ªººÏºÐ geometry ¬O¥¿½Tªº(¤]´N¬O»¡­n¸ò BIOS ªº¼Æ¦r¬Û²Å¦X)¡F¦pªG¿ù¤F¡A¥Î``g''«öÁä ­×§ï¡C·í§A¦b¿Ã¹õ¤W¬Ý¤£¨ì¥ô¦óºÏºÐ¾÷¡A©Î°²¨ÏºÏºÐ¾÷¤w¸g¥Ñ¥t¤@­Ó¨t ²Î¤¤²¾°£®É¡A¯S§OÀ³¸Ó³o»ò°µ¡C­È±oª`·Nªº¬O³o¥u¬O«ü©w§A­n¥Ñ­þ­ÓºÏºÐ ¤W±Ò°Ê¡FFreeBSD ±N·|¦Û¦æ§ä¥X¦b§A¨t²Î¤Wªº¨ä¥LºÏºÐ¾÷¡C

¤@¥¹§A¨ú±o BIOS ¸ò FreeBSD ¨âªÌ¹ïºÏºÐ¾÷ geometry ªº¦@ÃÑ¡A§A ªº§xÃø´X¥G¤w¸gªï¤b¦Ó¸Ñ¡A¦Ó¥B¦A¤]¤£»Ý­n¨Ï¥Î``DD''mode¡CµM¦Ó¡A°² ¦p§A¤´¾á¤ß·í§A¹Á¸Õ±Ò°Ê®É·|¬Ý¨ì``read error''°T®§¡A³o®É­Ô§A¯à°µ ªº´N¬Oë§iµM«á¸Õ¬Ý¬Ý - ¤Ï¥¿¤]¨S¤°»ò¦n¥¢¥hªº¡C

­n§â``¦MÀI©^Äm''ªººÏºÐ¦^´_¨ì¥¿±` PC ¨Ï¥Î¡A°ò¥»¤W¦³¨â­Ó¿ï¾Ü¡C ²Ä¤@¡A¬O§A§â¨¬°÷ªº NULL ¦ì¤¸²Õ¼g¤J MBR ½T«O¥ô¦óÀH«áªº¦w¸Ëµ{ ¦¡¬Û«H³o¥u¬O¤@­ÓªÅ¥ÕªººÏºÐ¡CÁ|¨Ò¨Ó»¡§A¥i¥H³o¼Ë°µ¡G dd if=/dev/zero of=/dev/rsd0 count=15

©Î¬O±Ä¥Î¥t¥~¤@­Ó¡A«D¥¿¦¡ªº DOS ``¯S¦â''¡G fdisk /mbr

³o±N·|¦w¸Ë¤@­Ó¥þ·sªº¥D­n±Ò°Ê°O¿ý¡A¦]¦¹·|¯}Ãa BSD bootstrap¡C §Ú¦p¦ó¯à¥[¤J§ó¦hªº¸m´«ªÅ¶¡(swap space)¡S

³Ì¦nªº¤èªk¬O¼W¥[§A swap ¤À³Î°Ïªº¤j¤p¡A©Î§Q¥Î³o­Ó¤è«K²z¥Ñªº¦n³B¥h ¼W¥[¥t¤@­ÓµwºÐ¡CºD¨Òºâªk¬O¥Î¥D°O¾ÐÅ骺¨â­¿·í¸m´«ªÅ¶¡(swap space) ¡AµM¦Ó¦pªG§A¥u¦³«Ü¤Ö¶qªº¥D°O¾ÐÅé¡A§A¥i¯à·Q¥t¥~³]©w swap¡C³]©w¨¬°÷ ªº¸m´«ªÅ¶¡¡A¨Ã¬°¥H«á°O¾ÐÅéÂX¥R¹w§@·Ç³Æ¥i¯à¬O­Ó¦n¥D·N¡A³o¼Ë¥H«á´N ¤£»Ý­n¦A°µ¤@¦¸¸m´«ªÅ¶¡ªº³]©w¡C

¦b¤À´²ªººÏºÐ¤W¼W¥[¸m´«ªÅ¶¡·|¤ñ³æ¯Â¦a¦b¦P¤@­ÓºÏºÐ¥[¤J¸m´«ªÅ¶¡ Åý®Ä²v¨Óªº§Ö¤@ÂI¡CÁ|¤@­Ó¨Ò¤l¨Ó»¡¡A¦pªG§A¥¿¦b¤@­ÓºÏºÐ¸Ì½sĶ¨Ó ·½µ{¦¡¡A¦Ó¸m´«ªÅ¶¡¦b¥t¤@­ÓºÏºÐ¡A³o·|¤ñ¸m´«ªÅ¶¡¸ò½s͵{¦¡³£¦b ¦P¤@­ÓºÏºÐ®É¨Ó±o§Ö¡C³o¹ï SCSI ºÏºÐ¾÷¯S§O¥¿½T¡C

·í§A¦³¦n´X­ÓºÏºÐ¾÷®É¡A¦b¨C­ÓºÏºÐ¤W³]©w¤@­Ó swap ¤À³Î°Ï¬O¦³ §Qªº¡A¬Æ¦Ü³Ì«á¨Ï¥Î¤@¾ã­ÓºÏºÐ¾÷·í¸m´«ªÅ¶¡¡C¤@¯ë¨Ó»¡¡A¨C­Ó¨t²Î ¤Wªº§Ö³tºÏºÐ³£À³³]©w¬Y¨Ç swap¡AFreeBSD ¤º©w¤ä´©³Ì¦h¥|­Ó¥æ¿ù¦¡ swap ¸Ë¸m¡C³q±`³]©w¦h­« swap ¤À³Î°Ï®É§A·|·QÅý¥¦­Ì³£¨Ï¥Î¦P¼Ë¤j ¤p¡A¦ý¦³®É§Ú­Ì·|·QÅý¥D­n swap ¤À³Î°Ï(primary swap partition) §ó¤j¤@ÂI¥H®e¯Ç®Ö¤ßµ{¦¡ªº core dump¡C§Aªº primary swap partition ¦Ü¤Ö¥²¶·©M¥D°O¾ÐÅé¤@¼Ë¤j¡A¥H¯à®e¯Ç¤@­Ó kernel core¡C

IDE ºÏºÐ¨Ã¤£¤¹³\¦P®É¦b¦P¤@³q¹D¸Ì¦s¨ú¨â­Ó¸Ë¸m¡]FreeBSD ¤£¤ä´© mode 4¡A¦]¦¹©Ò¦³ªº IDE ºÏºÐ I/O ¬O``¥iµ{¦¡¤Æªº''¡^¡CµM¦Ó§Ú¤´ ·|«ØÄ³§A§â¸m´«ªÅ¶¡©ñ¦b¤À§OªººÏºÐ¡CºÏºÐ¾÷³o»ò«K©y¡A¹ê¦b¨S¤°»ò ¦n¾á¤ßªº¡C

¦b NFS ¤W°µ¸m´«¶È¦b¥H¤U±¡§Î³Q«ØÄ³¨Ï¥Î¡G§A¨S¦³¦Û¤vªººÏºÐ¥i ¥H¨Ï¥Î¡CFreeBSD 4.0 ¥H«e release ªºª©¥»¦b NFS ¤W°µ¸m´«¬O¬Û·í ½wºC¦ÓµL®Ä²vªº¡A¦ý¦bµ¥©ó 4.0 ©Î¤§«áªº release ª©¥»´N¦³¦X²zªº ³t«×¤F¡C§Y¨Ï¦p¦¹¡AÁÙ¬O¨ü¨ìºô¸ô¦³®ÄÀW¼e©M¦b NFS server ¤WÃB¥~ ¸Ë¸üªº­­¨î¡C

³o¸Ì¦³­Ó½d¨Ò¬O¥Î 64MB vn-swap (/usr/swap0¡A·íµM§A¯à¥Î ¥ô¦ó§A·Q¥Îªº¦W¦r¡^¡C

½T©w§Aªº®Ö¤ßµ{¦¡«Ø¥ß®É¦³¥]§t¥H¤U³o¦æ¡G pseudo-device vn 1 #Vnode driver (turns a file into a device)

¦b§Aªº³]©wÀɤ¤¡CGENERIC ³o­Ó®Ö¤ß¤w¸g¥]§t³o¶µ¤F¡C «Ø¥ß¤@­Ó vn-device cd /dev sh ./MAKEDEV vn0 «Ø¥ß¤@­Ó¸m´«ÀÉ (/usr/swap0) dd if=/dev/zero of=/usr/swap0 bs=1024k count=64 ³]©w¾A·íªº¦s¨úÅv©ó(/usr/swap0) chmod 0600 /usr/swap0 ¦b /etc/rc.conf ¤¤±Ò°Ê¸m´«ÀÉ swapfile="/usr/swap0" # Set to name of swapfile if aux swapfile desired. ­«·s¶}¾÷¡C

­n°¨¤W±Ò°Ê¸m´«ÀÉ¡AÁä¤J¡G vnconfig -ce /dev/vn0c /usr/swap0 swap §Ú¤£·|³]©w§Úªº¦Lªí¾÷¡C

½Ð°Ñ¾\ Handbook ¸Ì¦³Ãö¦C¦Lªº³¡¥÷¡C³oÀ³¸Ó¯à¸Ñ¨M§A¤j³¡¤Àªº°ÝÃD¡A½Ð¬Ý - + §Ú¨t²Î¤WªºÁä½L°t¸m¿ù¤F¡C

kbdcontrol µ{¦¡¦³¤@­Ó¿ï¶µ¥i¥HŪ¨úÁä½L°t¸mÀɮסC¦b /usr/share/syscons/keymaps ¦³¤@¨Ç°t¸mÀÉ¡C¿ï¾Ü¤@­Ó¸ò§Aªº ¬ÛÃöªº¨ÃŪ¨ú¥¦¡C kbdcontrol -l uk.iso

/usr/share/syscons/keymaps ©M ©ÒÂ_©w¡C

¥i¥H±q /etc/sysconfig (©Î ) ¨Ó³]©w¡A½Ð¬Ý¦¹Àɸ̬ÛÃöªºµù¸Ñ¡C

¦b 2.0.5R ¤Î¨ä¤§«áªºª©¥»¡A©Ò¦³¸ò¤å¦r¦r«¬¡AÁä½L¹ïÀ³¬ÛÃöªº³]©w³£¦b /usr/share/examples/syscons¡C

¥H¤U¬O¥Ø«e¤ä´©ªº¹ïÀ³³]©w¡G Belgian ISO-8859-1 Brazilian 275 keyboard Codepage 850 Brazilian 275 keyboard ISO-8859-1 Danish Codepage 865 Danish ISO-8859-1 French ISO-8859-1 German Codepage 850 German ISO-8859-1 Italian ISO-8859-1 Japanese 106 Japanese 106x Latin American Norwegian ISO-8859-1 Polish ISO-8859-2 (programmer's) Russian Codepage 866 (alternative) Russian koi8-r (shift) Russian koi8-r Spanish ISO-8859-1 Swedish Codepage 850 Swedish ISO-8859-1 Swiss-German ISO-8859-1 United Kingdom Codepage 850 United Kingdom ISO-8859-1 United States of America ISO-8859-1 United States of America dvorak United States of America dvorakx §ÚµLªkÅý user quotas ¥¿±`¤u§@¡C

¤£­n¦b '/' ¥´¶} quotas¡A §â quotas ÀÉ©ñ¦b¥¦¥²¶·±j­¢¸m¤JªºÀɮרt²Î¤º¡AÁ|¨Ò¡G FS QUOTA FILE /usr /usr/admin/quotas /home /home/admin/quotas ... §Úªº ccd ¦³¦ó¤£§´¡S

³oºØ±¡§Îªº¼x¥ü¬O¡G # ccdconfig -C ccdconfig: ioctl (CCDIOCSET): /dev/ccd0c: Inappropriate file type or format #

³q±`³o·|µo¥Í¦b§A¹Á¸Õ­n³sµ² `c' ¤À³Î°Ï¡A³o¤º©wªº«¬§O¬O`µLªk¨Ï¥Îªº' ¡Cccd ÅX°Êµ{¦¡»Ý­nªº°ò¦¤À³Î°Ï«¬§O¬° FS_BSDFFS¡A½s¿è§A­n¸ÕµÛ³sµ²ªººÏºÐ ¼Ð°O¨Ã§ó§ï¤À³Î°Ïªº«¬§O¬°`4.2BSD'¡C ¬°¦ó§Ú¤£¯à½s¿è§Ú ccd ªººÏºÐ¼Ð°O¡S

³oºØ±¡§Îªº¼x¥ü¬O¡G # disklabel ccd0 (³o¸Ì¦L¥X¬Y¨Ç©úÅ㪺¸ê®Æ¡A©Ò¥H¸ÕµÛ½s¿è¥¦¡^ # disklabel -e ccd0 (½s¿è¡AÀx¦s¡AµM«áÂ÷¶}) disklabel: ioctl DIOCWDINFO: No disk label on disk; use "disklabel -r" to install initial label #

³o¬O¦]¬°¥Ñ ccd ¶Ç¦^ªººÏºÐ¼Ð°O¨Æ¹ê¤W¬O¤@­Ó`°²ªº'¦Ó¨S¦³¯u¥¿¦bºÏºÐ ¤W¡C§A¥i¥H§â¥¦§¹¥þ¼g¤J¨Ó¸Ñ¨M³o­Ó°ÝÃD¡A¹³³o¼Ë¡G # disklabel ccd0 > /tmp/disklabel.tmp # disklabel -Rr ccd0 /tmp/disklabel.tmp # disklabel -e ccd0 (this will work now) FreeBSD ¤ä´© System V IPC ®æ¦¡«ü¥O¶°¡H

¬Oªº¡AFreeBSD ¤ä´© System V-style IPC¡C³o¥]¬A¦@¨É°O¾ÐÅé¡A°T®§¸ò «H¸¹¡C§A»Ý­n¦b§Aªº®Ö¤ß³]©wÀɤº¥[¤J¤U¦C´X¦æ¥H±Ò°Ê¥¦­Ì¡C options SYSVSHM options "SHMMAXPGS=64" # 256Kb of sharable memory options SYSVSEM # enable for semaphores options SYSVMSG # enable for messaging

­«·s½sĶ¨Ã¦w¸Ë¡C

§Ú¸Ó¦p¦ó¨Ï¥Î sendmail ³z¹L UUCP ¨Ó»¼°e¶l¥ó¡H

¸òÀH FreeBSD ®M¸Ë¦Ó¨Óªº sendmail ³]©w¬O¾A¦X¨º¨Çª½±µ³s¤Wºô»Úºô¸ô ªº¯¸¥x¡C·Q³z¹L UUCP ¥æ´«¶l¥óªº¯¸¥x¥²¶·¥t¥~¦w¸Ë sendmil ªº³]©wÀÉ ®×¡C

¤â°Ê­×§ï /etc/sendmail.cf ¬Oµ´¹ï¥²­nªº¡C²Ä 8 ª©ªº sendmail ´£¨Ñ¤@­Ó¥þ·sªº¤J¤f¥H³z¹L¤@¨Ç¹³ ªº³B²z´N¯à ²£¥Í³]©wÀÉ¡A³o¨Æ¹ê¤W¬O¤@­Ó°ª¼h·§©Àµ¥¯Åªº§Þ¥©©Ê³]©w¡C§AÀ³¸Ó¥i¥H¦b¥H ¤UÀɮ׸̨ϥΥ¦¡G /usr/src/usr.sbin/sendmail/cf

°²¦p§A¤£¬O¥Î full sources ¤è¦¡¦w¸Ë¨t²Î¡A¨º»ò sendmail ³]©w¶µ¥Ø¥i ¯à¤w¸g¤À´²¦¨¦n´X­Ó¨Ó·½¤À¥¬Àɦbµ¥µÛ§A¡A°²³]§A¤w¸g mount ¥úºÐ¾÷¡A°µ ¥H¤U°Ê§@¡G cd /usr/src tar -xvzf /cdrom/dists/src/ssmailcf.aa

§OÅå·W¡A³o¥u¦³¼Æ¤Q¸U­Ó¦ì¤¸²Õªº¤j¤p¡C¦b cf ¥Ø¿ý¸Ìªº README ¥i¥H´£¨Ñ¤@­Ó m4 ³]©wªkªº°ò¥»¤¶²Ð¡C

¥H UUCP »¼°e¨Ó»¡¡A«ØÄ³§A³Ì¦n¨Ï¥Î mailertable ¯SÂI¡C «Øºc¤@­Ó¸ê®Æ®wÅý sendmail ¥i¥H¨Ï¥Î¥¦¦Û¤vªº¸ô®|¨Mµ¦¡C

­º¥ý¡A§A¥²¶·«Ø¥ß¦Û¤vªº .mc ÀÉ¡C /usr/src/usr.sbin/sendmail/cf/cf ¥Ø¿ý¬O³o¨ÇÀɮתº®a¡C ¬d¬Ý¤@¤U¡A¤w¸g¦³¦n´X­Ó½d¨ÒÀÉ¡A°²³]§A¤w¸g©R¦W¦Û¤vªºÀÉ¥s foo.mc¡A§A­n°µªº¥u¬O§â¥¦Âà´«¦¨¤@­Ó¦³®Äªº sendmail.cf ¡G cd /usr/src/usr.sbin/sendmail/cf/cf make foo.cf cp foo.cf /etc/sendmail.cf

¤@­Ó¨å«¬ªº .mc Àɬݰ_¨Ó¥i¯à¹³³o¼Ë¡G include(`../m4/cf.m4') VERSIONID(`Your version number') OSTYPE(bsd4.4) FEATURE(nodns) FEATURE(nocanonify) FEATURE(mailertable) define(`UUCP_RELAY', your.uucp.relay) define(`UUCP_MAX_SIZE', 200000) MAILER(local) MAILER(smtp) MAILER(uucp) Cw your.alias.host.name Cw youruucpnodename.UUCP

nodns ©M nocanonify ¯S©Ê±NÁ×§K¥ô¦ó¦b»¼°e¶l¥ó ®É·|¥Î¨ì DNS ªº¾÷·|¡CUUCP_RELAY ¶µ¥Øªº¥X²{²z¥Ñ«Ü©_©Ç¡A ´N¤£­n°Ý¬°¦ó¤F¡C²³æªº©ñ¤J¤@­Óºô»Úºô¸ô¤W¥i¥H³B²z .UUCP µêÀÀºô°ì ¦ì§}ªº¥D¾÷¦WºÙ¡F³q±`¡A§A¥u»Ý­n¦b³o¸Ì¶ñ¤J§A ISP ªº«H¥ó¦^ÂгB (mail replay)¡C

§A¤w¸g°µ¨ì³o¸Ì¤F¡A§AÁٻݭn³o­Ó¥s /etc/mailertable ªº ÀɮסC¤@­Ó¨å«¬ªº½d¨Ò¦p¤U¡G # # makemap hash /etc/mailertable.db < /etc/mailertable # horus.interface-business.de uucp-dom:horus .interface-business.de uucp-dom:if-bus interface-business.de uucp-dom:if-bus .heep.sax.de smtp8:%1 horus.UUCP uucp-dom:horus if-bus.UUCP uucp-dom:if-bus . uucp-dom:sax

¦p§A©Ò¨£¡A³o¬O¬Y­Ó¯u¹êÀɮ׸̪º¤@³¡¥÷¡C­º¤T¦æ³B²zºô°ì©w§}«H¥ó ¤£À³¸Ó³Q°e¥X¨ì¤º©w¸ô®|¡A¦Ó¥Ñ¬Y¨Ç UUCP ¾F©~(UUCP neighbor)¨ú¥N ªº¯S®í±¡§Î¡A³o¬O¬°¤F``ÁYµu''»¼°eªº¸ô®|¡C¤U¤@¦æ³B²z¨ì¥»¦a¤A¤Ó ºô¸ôºô°ìªº«H¥óÅý¥¦¥i¥H¨Ï¥Î SMTP ¨Ó»¼°e¡C³Ì«á¡AUUCP ¾F©~´£¨ì .UUCP µêÀÀºô°ìªº°O¸ü¡A¤¹³\¤@­Ó``uucp-neighbor!recipient''±À½¤º©w³W«h¡C³Ì«á¤@¦æ«h¥H¤@ ­Ó³æ¿Wªº¥yÂI°µµ²§ô¡A¥H UUCP »¼°e¨ì´£¨Ñ·í§A¥þ¥@¬É©Ê¶l¥ó¹hªùªº UUCP ¾F©~¡C©Ò¦³¦b uucp-dom: ÃöÁä¦r¸Ìªº¸`ÂI¦WºÙ¥²¶·³£¬O ¦³®Äªº UUCP ¾F©~¡A§A¥i¥H¥Î uuname ©R¥O¥h½T»{¡C

´£¿ô§A³o­ÓÀɮצb¨Ï¥Î«e¥²¶·³QÂà´«¦¨ DBM ¸ê®Æ®wÀɮסA³Ì¦n¦b mailertable ³Ì¤W­±¥Îµù¸Ñ¼g¥X©R¥O¦C¨Ó§¹¦¨³o­Ó¤u§@¡C·í§A¨C¦¸§ó´«§A ªº mailertable «á§AÁ`¬O»Ý­n°õ¦æ³o­Ó©R¥O¡C

³Ì«á´£¥Ü¡G¦pªG§A¤£½T©w¬Y¨Ç¯S©wªº«H¥ó¸ô®|¥i¥Î¡A°O±o§â -bt ¿ï¶µ¥[¨ì sendmail¡C³o·|±N sendmail ±Ò°Ê¦b address test mode ¡F¥u­n«ö¤U ``0''¡A±µµÛ¿é¤J§A§Æ±æ´ú¸Õªº«H¥ó¸ô®|¦ì§}¡C³Ì«á¤@¦æ§i¶D§A¨Ï ¥Î¤º³¡ªº«H¥ó¥N²zµ{¦¡¡A¥N²zµ{¦¡ªº·|³qª¾¥Øªº¥D¾÷¡A¥H¤Î(¥i¯àÂà´«ªº)¦ì§} ¡C­nÂ÷¶}¦¹¼Ò¦¡½Ð«ö Control-D¡C j@uriah 191% sendmail -bt ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter

> 0 foo@interface-business.de rewrite: ruleset 0 input: foo @ interface-business . de ... rewrite: ruleset 0 returns: $# uucp-dom $@ if-bus $: foo \ < @ interface-business . de > > ^D j@uriah 192% ·í§Ú¥Î¼·±µ³s¤Wºô¸ô®É¸Ó«ç»ò³]©w«H¥ó»¼°e¡H

¦pªG§A¤w¸g¦³¤@­Ó©T©wªº IP ¼Æ¦r¡A§A¤£»Ý­n½Õ¾ã¥ô¦ó¤º©w­È¡C³]¦n §A­n«ü©wªººô¸ô¦WºÙ¡A¨ä¥Lªº sendmail ³£·|À°§A°µ§¹¡C

¦pªG§A®³¨ìªº¬O°ÊºA°t¸mªº IP ¼Æ¦r¦Ó¨Ï¥Î¼·±µ ¬°¤F±q§Aªº«H½c±µ¦¬«H¥ó¡A§A±N»Ý­n¦w¸Ë¨ú«Hµ{¦¡¥H«K±q«H½c¨ú¦^«H¥ó¡C /etc/ppp/ppp.linkup ¸Ì­± ³]©w¥H¤U³o¶µ¡G MYADDR: !bg su user -c fetchmail

°²¨Ï§A¥¿¨Ï¥Î sendmail(¦p¤U©Ò¥Ü)¶Ç°e«H¥ó¨ì«D¥»¦a±b¸¹ ¡A¸m¤J¥H¤U©R¥O¡G !bg su user -c "sendmail -q" ¦b¤W­±¨º¶µ©R¥O¤§«á¡C³o·|±j­¢ sendmail ¦b³s±µ¤Wºô¸ô«á°¨¤W¶}©l³B ²z mailqueue¡C

§Ú°²³]§A¦b poll myISP.com protocol pop3 fetchall pass MySecret;

µL¶·Âب¥¡A³o­ÓÀɰ£¤F ¬°¤F¦b±H«H®É¦³¥¿½Tªº©ïÀY ¥H¤Uªº VERSIONID(`bsd.home.mc version 1.0') OSTYPE(bsd4.4)dnl FEATURE(nouucp)dnl MAILER(local)dnl MAILER(smtp)dnl Cwlocalhost Cwbsd.home MASQUERADE_AS(`myISP.com')dnl FEATURE(allmasquerade)dnl FEATURE(masquerade_envelope)dnl FEATURE(nocanonify)dnl FEATURE(nodns)dnl define(SMART_HOST, `relay.myISP.com') Dmbsd.home define(`confDOMAIN_NAME',`bsd.home')dnl define(`confDELIVERY_MODE',`deferred')dnl

¦p¦óÂà´«³o­Ó «x¡I§Ú§Ñ°O root ªº±K½X¤F¡I

¤£­nÅå·W¡I¥u­n­«·s±Ò°Ê¨t²Î¡A¦b boot: ´£¥Ü¸¹¥´ -s ¶i¤J³æ¨Ï¥ÎªÌ¼Ò¦¡¡C ¦b°Ý­n¨Ï¥Î­þ­Ó shell ®É¡A«ö¤U ENTER¡C§A·|¬Ý¨ì¤@­Ó # ªº´£¥Ü¸¹¡A¿é¤J mount -u / ¥H­«·s¬[³]§Aªº®ÚÀɮרt²Î¥i¨ÑŪ/¼g¡C°õ¦æ §Ú¸Ó«ç»ò«O¯dÅý Control-Alt-Delete ¤£¯à­«·s±Ò°Ê¨t²Î¡H

­×§ï§A¥¿¦b¨Ï¥Îªº¥D±±¥xÁä½L¹ïÀ³¡A¨Ã¥B§â©Ò¦³ /usr/share/syscons/keymaps/us.iso.kbd¡C§A¥i¯à»Ý­n©ú¥Õªº §h©J /etc/rc.conf ¥hŪ¨ú³o­ÓÁä½L¹ïÀ³¥H½T«O§ó°Ê¥Í®Ä¡C·í µM¦pªG§A¥¿¦b¥Î¾A¦X§A°êÄyªºÁä½L¹ïÀ³¡A§AÀ³¸Ó½s¿è¨º¤@­Ó¡C §Ú¸Ó«ç»ò§â DOS ¤å¦rÀÉ®×­«·s®æ¦¡¤Æ¦¨ UNIX ªº¡H

²³æ¦a¨Ï¥Î³o­Ó perl ©R¥O¡G perl -i.bak -npe 's/\r\n/\n/g' file ...

file ´N¬O­n³B²zªºÀɮסC³o­Ó­×§ï¬O¦b¤º³¡§¹¦¨¡A­ì©lªºÀÉ®×·|Àx¦s¦¨ °ÆÀɦW¬° .bak ªºÀɮסC

©ÎªÌ§A¥i¥H¨Ï¥Î ³o­Ó©R ¥O¡G tr -d '\r' < dos-text-file > unix-file

dos-text-file ¬O¥]§t DOS ¤å¦rªºÀɮסA¦Ó unix-text-file «h¬O¥]§t Âà´«ªº¿é¥Xµ²ªG¡C³o¤ñ¨Ï¥Î perl ÁÙ­n§Ö¤W¤@ÂIÂI¡C §Ú¸Ó«ç»ò¥Î¦WºÙ¬å±¼ process¡H

¨Ï¥Î . ¬°¦ó¦b root ªº ACL ®É su ¦n¹³¦³°ÝÃD¡H

³o­Ó¿ù»~¬O¦]¬° Kerberos ¤À´²»{ÃÒ¨t²Î¡C³o­Ó°ÝÃD¨Ã¤£¬O«ÜÄY­«¦ý¬O¥O¤H ¹½·Ð¡C§A¥i¥H¥Î -K ¿ï¶µ¥h°õ¦æ su¡A©Î¬O¹³¤U­Ó°ÝÃD©Ò´y­zªº²¾°£ Kerberos¡C §Ú¸Ó«ç»ò²¾°£ Kerberos¡H

­n±q¨t²Î¸Ì²¾°£ Kerberos¡A­«¸Ë§A¥¿¦b°õ¦æªº release ª©¥»ªº bin distribution¡C¦pªG§A¦³ CDROM¡A§A¥i¥H mount cd(°²³]¦b /cdrom)¨Ã°õ ¦æ¡G cd /cdrom/bin ./install.sh §Ú¸Ó«ç»ò¼W¥[¨t²ÎªºµêÀÀ²×ºÝ¾÷¡H

¦pªG§A¦³³\¦h telnet¡Assh¡AX ©Î¬O screen ¨Ï¥ÎªÌ¡A§A©Î³\·|¥Î§¹µêÀÀ ²×ºÝ¾÷¡A³o¯à±Ð§A«ç»ò¥[§ó¦h¡G «Ø¥ß¨Ã¦w¸Ë¤@­Ó·sªº®Ö¤ßµ{¦¡¨Ã¥B¥[¤J³o¦æ¨ì³]©wÀÉ¡G pseudo-device pty 256 °õ¦æ³o­Ó©R¥O¡G # cd /dev # ./MAKEDEV pty{1,2,3,4,5,6,7}

·|³y¥X 256 ­ÓµêÀÀ²×ºÝ¾÷ªº¸Ë¸m¸`ÂI¡C ½s¿è /etc/ttys ¨Ã¥[¤J²Å¦X 256 ­Ó²×ºÝ¾÷ªº¦æ¼Æ¡C¥¦­ÌÀ³ ¸Ó²Å¦X¤w¸g¦s¦b³æ¶µªº®æ¦¡¡AÁ|¨Ò¨Ó»¡¡A¥¦­Ì¬Ý°_¨Ó¹³¡G ttyqc none network

¦r¥À³]­pªº¶¶§Ç¬O tty[pqrsPQRS][0-9a-v]¡A¨Ï¥Î¥¿³Wªí¥Ü¦¡¡C ¥Î·sªº®Ö¤ßµ{¦¡­«·s±Ò°Ê¹q¸£´N¥i¥H¤F¡C diff --git a/zh/FAQ/hackers.sgml b/zh/FAQ/hackers.sgml index 7a5071a57b..3ddcd8a408 100644 --- a/zh/FAQ/hackers.sgml +++ b/zh/FAQ/hackers.sgml @@ -1,492 +1,492 @@ - + For serious FreeBSD hackers only What are SNAPs and RELEASEs?

There are currently three active/semi-active branches in the FreeBSD :

Right now, The The How do I make my own custom release?

To make a release you need to do three things: First, you need to be running a kernel with the driver configured in. Add this to your kernel config file and build a new kernel: pseudo-device vn #Vnode driver (turns a file into a device)

Second, you have to have the whole CVS repository at hand. - To get this you can use + To get this you can use but in your supfile set the release name to cvs and remove any tag or date fields: *default prefix=/home/ncvs *default base=/a *default host=cvsup.FreeBSD.org *default release=cvs *default delete compress use-rel-suffix ## Main Source Tree src-all src-eBones src-secure # Other stuff ports-all www doc-all

Then run Finally, you need a chunk of empty space to build into. Let's say it's in /some/big/filesystem, and from the example above you've got the CVS repository in /home/ncvs: setenv CVSROOT /home/ncvs # or export CVSROOT=/home/ncvs cd /usr/src/release make release BUILDNAME=3.0-MY-SNAP CHROOTDIR=/some/big/filesystem/release

An entire release will be built in /some/big/filesystem/release and you will have a full FTP-type installation in /some/big/filesystem/release/R/ftp when you're done. If you want to build your SNAP along some other branch than -current, you can also add How do I create customized installation disks?

The entire process of creating installation disks and source and binary archives is automated by various targets in /usr/src/release/Makefile. The information there should be enough to get you started. However, it should be said that this involves doing a ``make world'' and will therefore take up a lot of time and disk space. ``make world'' clobbers my existing installed binaries.

Yes, this is the general idea; as its name might suggest, ``make world'' rebuilds every system binary from scratch, so you can be certain of having a clean and consistent environment at the end (which is why it takes so long).

If the environment variable ${DESTDIR}. Some random combination of shared libraries modifications and program rebuilds can cause this to fail in `` When my system boots, it says ``(bus speed defaulted)''.

The Adaptec 1542 SCSI host adapters allow the user to configure their bus access speed in software. Previous versions of the 1542 driver tried to determine the fastest usable speed and set the adapter to that. We found that this breaks some users' systems, so you now have to define the `` Can I follow current with limited Internet access?

Yes, you can do this + by using the How did you split the distribution into 240k files?

Newer BSD based systems have a ``Here is an example from /usr/src/Makefile. bin-tarball: (cd ${DISTDIR}; \ tar cf - . \ gzip --no-name -9 -c | \ split -b 240640 - \ ${RELEASEDIR}/tarballs/bindist/bin_tgz.) I've written a kernel extension, who do I send it to? -

Please take a look at Please take a look at

And thanks for the thought! How are Plug N Play ISA cards detected and initialized?

By:

In a nutshell, there a few I/O ports that all of the PnP boards respond to when the host asks if anyone is out there. So when the PnP probe routine starts, he asks if there are any PnP boards present, and all the PnP boards respond with their model # to a I/O read of the same port, so the probe routine gets a wired-OR ``yes'' to that question. At least one bit will be on in that reply. Then the probe code is able to cause boards with board model IDs (assigned by Microsoft/Intel) lower than X to go ``off-line''. It then looks to see if any boards are still responding to the query. If the answer was ``The IDs are two 32-bit fields (hence 2ˆ64) + 8 bit checksum. The first 32 bits are a vendor identifier. They never come out and say it, but it appears to be assumed that different types of boards from the same vendor could have different 32-bit vendor ids. The idea of needing 32 bits just for unique manufacturers is a bit excessive.

The lower 32 bits are a serial #, ethernet address, something that makes this one board unique. The vendor must never produce a second board that has the same lower 32 bits unless the upper 32 bits are also different. So you can have multiple boards of the same type in the machine and the full 64 bits will still be unique.

The 32 bit groups can never be all zero. This allows the wired-OR to show non-zero bits during the initial binary search.

Once the system has identified all the board IDs present, it will reactivate each board, one at a time (via the same I/O ports), and find out what resources the given board needs, what interrupt choices are available, etc. A scan is made over all the boards to collect this information.

This info is then combined with info from any ECU files on the hard disk or wired into the MLB BIOS. The ECU and BIOS PnP support for hardware on the MLB is usually synthetic, and the peripherals don't really do genuine PnP. However by examining the BIOS info plus the ECU info, the probe routines can cause the devices that are PnP to avoid those devices the probe code cannot relocate.

Then the PnP devices are visited once more and given their I/O, DMA, IRQ and Memory-map address assignments. The devices will then appear at those locations and remain there until the next reboot, although there is nothing that says you can't move them around whenever you want.

There is a lot of oversimplification above, but you should get the general idea.

Microsoft took over some of the primary printer status ports to do PnP, on the logic that no boards decoded those addresses for the opposing I/O cycles. I found a genuine IBM printer board that did decode writes of the status port during the early PnP proposal review period, but MS said ``tough''. So they do a write to the printer status port for setting addresses, plus that use that address + Does FreeBSD support architectures other than the x86?

Several groups of people have expressed interest in working on multi-architecture ports for FreeBSD and the FreeBSD/AXP (ALPHA) port is one such effort which has been quite successful, now available in 3.0 SNAPshot release form at . The ALPHA port currently runs on a growing number of ALPHA machine types, among them the AlphaStation, AXPpci, PC164, Miata and Multia models. This port is not yet considered a full release and won't be until a full compliment of system installation tools and a distribution on CDROM installation media is available, including a reasonable number of working ports and packages. FreeBSD/AXP should be considered BETA quality software at this time. For status information, please join the <freebsd-alpha@FreeBSD.ORG>. Interest has also been expressed in a port of FreeBSD to the SPARC architecture, join the <freebsd-sparc@FreeBSD.ORG> if you are interested in joining that project. For general discussion on new architectures, join the <freebsd-platforms@FreeBSD.ORG> . I need a major number for a device driver I've written.

This depends on whether or not you plan on making the driver publicly available. If you do, then please send us a copy of the driver source code, plus the appropriate modifications to files.i386, a sample configuration file entry, and the appropriate code to create any special files your device uses. If you do not, or are unable to because of licensing restrictions, then character major number 32 and block major number 8 have been reserved specifically for this purpose; please use them. In any case, we'd appreciate hearing about your driver on <freebsd-hackers@FreeBSD.ORG>. Alternative layout policies for directories

In answer to the question of alternative layout policies for directories, the scheme that is currently in use is unchanged from what I wrote in 1983. I wrote that policy for the original fast filesystem, and never revisited it. It works well at keeping cylinder groups from filling up. As several of you have noted, it works poorly for find. Most filesystems are created from archives that were created by a depth first search (aka ftw). These directories end up being striped across the cylinder groups thus creating a worst possible senario for future depth first searches. If one knew the total number of directories to be created, the solution would be to create (total / fs_ncg) per cylinder group before moving on. Obviously, one would have to create some heuristic to guess at this number. Even using a small fixed number like say 10 would make an order of magnitude improvement. To differentiate restores from normal operation (when the current algorithm is probably more sensible), you could use the clustering of up to 10 if they were all done within a ten second window. Anyway, my conclusion is that this is an area ripe for experimentation.

Kirk McKusick, September 1998

Making the most of a kernel panic

[This section was extracted from a mail written by on the freebsd-current by , who fixed a few typos and added the bracketed comments]

From: Bill Paul Subject: Re: the fs fun never stops To: ben@rosengart.com Date: Sun, 20 Sep 1998 15:22:50 -0400 (EDT) Cc: current@FreeBSD.ORG

[<ben@rosengart.com> posted the following panic message] > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x40 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xf014a7e5 ^^^^^^^^^^ > stack pointer = 0x10:0xf4ed6f24 > frame pointer = 0x10:0xf4ed6f28 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 80 (mount) > interrupt mask = > trap number = 12 > panic: page fault

[When] you see a message like this, it's not enough to just reproduce it and send it in. The instruction pointer value that I highlighted up there is important; unfortunately, it's also configuration dependent. In other words, the value varies depending on the exact kernel image that you're using. If you're using a GENERIC kernel image from one of the snapshots, then it's possible for somebody else to track down the offending function, but if you're running a custom kernel then only What you should do is this: Write down the instruction pointer value. Note that the When the system reboots, do the following: % nm /kernel.that.caused.the.panic | grep f0xxxxxx where % nm /kernel.that.caused.the.panic | grep f0xxxxx If that doesn't yield any results, chop off another digit. Repeat until you get some sort of output. The result will be a possible list of functions which caused the panic. This is a less than exact mechanism for tracking down the point of failure, but it's better than nothing.

I see people constantly show panic messages like this but rarely do I see someone take the time to match up the instruction pointer with a function in the kernel symbol table.

The best way to track down the cause of a panic is by capturing a crash dump, then using In any case, the method I normally use is this: Set up a kernel config file, optionally adding 'options DDB' if you think you need the kernel debugger for something. (I use this mainly for setting beakpoints if I suspect an infinite loop condition of some kind.) Use cd /sys/compile/KERNELCONFIG; make Wait for kernel to finish compiling. cp kernel / reboot

[Note: Now that FreeBSD 3.x kernels are Elf by default, you should use

Note that YOU DO To make sure you capture a crash dump, you need edit /etc/rc.conf and set /etc/rc.conf, the /var/crash.

NOTE: FreeBSD crash dumps are usually the same size as the physical RAM size of your machine. That is, if you have 64MB of RAM, you will get a 64MB crash dump. Therefore you must make sure there's enough space in /var/crash to hold the dump. Alternatively, you run Once you have recovered the crash dump, you can get a stack trace with % gdb -k /sys/compile/KERNELCONFIG/kernel.debug /var/crash/vmcore.0 (gdb) where

Note that there may be several screens worth of information; ideally you should use Now, if you're really insane and have a second computer, you can also configure [Bill adds: "I forgot to mention one thing: if you have DDB enabled and the kernel drops into the debugger, you can force a panic (and a crash dump) just by typing 'panic' at the ddb prompt. It may stop in the debugger again during the panic phase. If it does, type 'continue' and it will finish the crash dump." -ed] diff --git a/zh/FAQ/hardware.sgml b/zh/FAQ/hardware.sgml index 9e815628db..670f12421a 100644 --- a/zh/FAQ/hardware.sgml +++ b/zh/FAQ/hardware.sgml @@ -1,353 +1,353 @@ - + µwÅ骺¬Û®e©Ê FreeBSD ¤ä´©­þ¨ÇµwºÐªº¤¶­±¡H

FreeBSD ¤ä´© EIDE ¤Î SCSI ¶gÃä (¦³µÛ¬Û®eªº controller¡F ½Ð°Ñ¦Ò¤U¤@¬q)¡A¥H¤Î¨Ï¥Î¡uWestern Digital¡v¤¶­±ªº¶gÃä (MEM¡B ¡BRLL¡BESDI¡A·íµM¡AIDE ¤]¦b¥]¬A¤º)¡C¦ý¤Ö¼Æ¨Ï¥Î±M¦³ªº ESDI ªº¤¶­±µLªk¹B§@¡G¹³¬O WD1002/3/6/7 ¤¶­±µ¥µ¥¡C ­þ¤@¨Ç SCSI ¥d¦³³Q¤ä´©¡H -

¦b ¸Ì¦³§¹¾ãªº¸ê®Æ¡C +

¦b ¸Ì¦³§¹¾ãªº¸ê®Æ¡C ­þ¤@¨Ç CD-ROM ³Q FreeBSD ©Ò¤ä´©¡H

­º¥ý¡A¥ô¦ó±µ¦b SCSI ¤¶­±¤Wªº CDROM ³£¦³³Q FreeBSD ©Ò¤ä´©¡C

¨ä¦¸¡A¤U­±©Ò¦Cªº CD-ROM ¤]³£¦³³Q¤ä´©¡G Mitsumi LU002 (8bit), LU005 (16bit) ¤Î FX001D (16bit ¨â­¿³t)¡C Sony CDU 31/33A ±µ¦b Sound Blaster ¤W«D SCSI ¤¶­±ªº CD-ROM Matsushita/Panasonic CD-ROM ¬Û®e©ó ATAPI IDE ¤¶­±ªº CD-ROM

¤w¸gª¾¹D«D SCSI ªº¶gÃä³]³Æ·|¤ñ SCSI ªººC«Ü¦h¡A¥t¥~¡A¦³¤@¨Ç ATAPI CDROM (³o¤]´N¬O»¡«D SCSI ªº CDROM) ¥i¯àµLªk¹B§@¡C

¹ï¤F¡A2.2 ª©ªº FreeBSD CDROM (¥Ñ Walnut Creek ¾ã²zªº) ¤ä´©¥úºÐ¶}¾÷¡C FreeBSD ¤ä´© ZIP ¶Ü¡H

FreeBSD ·íµM¤ä´© SCSI ZIP¡C¦ý¬O ZIP ¥u¯à°÷³Q³]©w¦b SCSI ID 5 ©Î¬O 6 ¡C¦ý¦pªG SCSI ¥d¤Wªº BIOS ¤ä´©¥¦¡A§A¬Æ¦Ü¥i¥H¥Î¥¦¨Ó¶}¾÷¡C§Ú­Ì¤£¾å±o­þ¤@ ¶ô¥d¥i¥HÅý§A§â¥dªº ID ³]¦b°£¤F 0 ©Î 1 ¥H¥~ªº¦a¤è¶}¾÷... ¬Ý¬Ý§Aªº»¡©ú¤â ¥U (ªG§A¦¨¥\ªº¸Ü¡A¤]½Ð§AÅý§Ú­Ìª¾¹D)

ATAPI (¤]´N¬O IDE ¤¶­±) ZIP ¤w¸g¦b FreeBSD 2.2.6 ¤Î¥H«áªºª©¥»³Q¤ä´©¤F¡C

FreeBSD 3.0-STABLE ¤]¦³¤ä´© parallel ZIP¡CµM¦Ó¡A¤£¹L§A»Ý­n»s§@¤@­Ó¥i¥H ¤ä´© ppbus (Parallel Port Bus) ªº kernel¡A¥HÅý§A¥i¥H¨Ï¥Î§Aªº ZIP¡C½Ð°Ñ ¦Ò LINT ³o­ÓÀɮסC

¤]¥i¥H°Ñ¦Ò¡A ¤Î¡C FreeBSD ¦³¤ä´© JAZ¡BEZ ¤Î¨ä¥L¹³³o¤@Ãþ¥i¥H²¾°Êªº³]³Æ¶Ü¡H

°£¤F IDE ªº EZ drive ¥~¡A¨ä¥LªºÀ³¸Ó³£¬O SCSI ¤¶­±¡C©Ò¥H§AÀ³¸Ó±N¤j³¡ ¥÷³]³Æ¬Ý¦¨ SCSI ºÏºÐ¾÷¡A§â³Ñ¤U¨º¨Çªº IDE EZ ªº³]³Æ¬Ý¦¨ IDE ³]³Æ¡C

°Ñ¦Ò¡C ¦³¨º¨Ç multi-port serial ¥d³Q FreeBSD ©Ò¤ä´©¡H -

§A¥i¥H°Ñ¦Ò§A¥i¥H°Ñ¦Òªºªí¡C

ÁöµM¦³¨Ç¥d¬O¨SµPªº¡A¦ý¤]¥i¥H¦b FreeBSD ¤U¤u§@¡A¹³¬O¸¹ºÙ¤ä´© AST ªº¥d¡C

°Ñ¦Ò ¥i¥HÅý§A¤F¸Ñ§ó¦h¦³Ãö©ó³o¤@Ãþ¥dªº¸ê°T¡C §Ú¦³¤@°¦ bus mouse¡C§Ú¸Ó¦p¦ó³]©w¡H

FreeBSD ¤ä´©¥Ñ Microsoft, Logitech ¤Î ATI ©Ò¥Í²£ªº bus mouse ¤Î InPort bus mouse¡C³o¨Ç·Æ¹«ªº driver ³£¤w¸g¤º§t¦b GENERIC ¸Ì­±¤F¡C¦pªG§A¦Û¤v¦³­«·s °µ¤@­Ó kernel¡A½Ð½T©w¦³¨S¦³§â¤U¦C³o¤@¦æ¥[¤J§Aªº kernel config file¡G device mse0 at isa? port 0x23c tty irq5 vector mseintr

¶R bus mouse ®ÉÀ³¸Ó·|§t¤@¶ô¤¶­±¥d¡C³o¶ô¥d¤¹³\§A³]©w¤£¦Pªº port address ¤Î IRQ number¡C°Ñ¦Ò§Aªº»¡©ú¤â¥U¤Î ¨Ó±o¨ì§ó¦hªº¸ê°T. §Ú¦p¦ó¨Ï¥Î PS/2 mouse ©Î¬O PS/2 keyboard¡H

¦pªG§Aªº FreeBSD ¬O 2.2.5 ¥H¤Wªºª©¥» (§t 2.2.5)¡A¨º»ò§A»Ý­nªº driver ¤£¶È©ñ¨ì kernel ¸Ì­±¤F¡A¦Ó¥B§Aªº PS/2 ³]³ÆÀ³¸Ó¥i¥H¦b¶}¾÷®É³Q°»´ú¨ì¡C

¦pªG§A¥Îªº¬O 2.1.x ¨ì 2.2.5 (¤£§t 2.2.5) ª©ªº FreeBSD¡A§A¥i¥H¦b ¶}¾÷ªº®É­Ô¶i¤J¡ukernel configuration menu¡v¸Ì¥h±Ò°Ê¡A¤]´N¬O¦b¶}¾÷®É¥X²{ boot: ªº²Å¸¹«á¥´¤J -c¡C¦]¬°¹w³]­È¬OÃö±¼ªº¡A©Ò¥H§A¥²»Ý¦Û¤v¥h±Ò°Ê¥¦¡C

¦pªG§A¥Îªº¬O§óªºª©¥»¡A§A»Ý­n¦Û¤v½s¤@­Ó kernel¡A¦b§Aªº®Ö¤ß³]©wÀɸ̭±¥[¤J¡G device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

¦pªG§A¹ï©ó¦Û¤v½s¤@­Ó®Ö¤ß¨S¦³¸gÅç¡A½Ð°Ñ¦Ò + url="../../handbook/kernelconfig.html" name="¡u½s¤@­Ó®Ö¤ß¡v">

¦pªG¦b¶}¾÷®É¦³§ä¨ì psm0 «o¤£¯à¨Ï¥Î¡A½Ð½T©w¦b /dev ¤U¦³ psm0 ³o­Ó³]³ÆÀÉ¡C ¦pªG¨S¦³¡A§AÀ³¸Ó¥Î root ªº¨­¥÷¿é¤J¤U­±³o¦æ¨Ó°µ¥X¡G cd /dev; sh MAKEDEV psm0 ¬O§_¦³¥i¯à¦b X Window ¤§¥~¨Ï¥Î·Æ¹«©O¡H

¦pªG§A¥Îªº¬O default console driver¡A¤]´N¬O syscons¡A¦Ó·Q­n¥Î ·Æ¹««ü¼Ð¨Ó°Å¶K¤å¦r¡A¨º»ò´N°õ¦æ·Æ¹«ªº daemon¡A¤]´N¬O moused¡AµM«á ¥Î¤U­±³o¨â¦æ¨Ó±Ò°Ê¥¦¡G moused -p /dev/xxxx -t yyyy vidcontrol -m on

xxxx ªº¦a¤è¶ñ¤J mouse ªº device name¡A¦Ó yyyy ¶ñ¤J³o°¦·Æ¹«ªº protocol type¡C§A¥i¥H°Ñ¦Ò ³o­Ó man page ¨Ó§ä¬Ý¬Ý¦³¨º¨Ç protocol types ¥i¥H¶ñ¡C

¦pªG§A·Q­n¦b¶}¾÷®É´N°õ¦æ moused¡C¦b 2.2.1 ª©¤§«e (§t 2.2.1)¡A¨ì /etc/sysconfig ³]©w¤U­±ªº­È¡G mousedtype="yyyy" mousedport="xxxx" mousedflags="" ¦b 2.2.2 ª©¥H«á (§t 2.2.2) ¨ì /etc/rc.conf ³]©w¤U­±ªº­È¡G moused_type="yyyy" moused_port="xxxx" moused_flags=""

¥t¥~±q 2.2.6 ª©¶}©l¡Amoused ¥i¥H¦Û°Ê¨M©w protocol type¡A°£«D·Æ¹«¹ê¦b ¬O¤Ó¤F¡C¦pªG¤Óªº¸Ü¡A¦b moused_type ¶ñ¤J ``auto''¡AµM«á¬èë ¥i¥H°»´úªº¨ì¡C

·í°õ¦æ moused «á¡A·Q­n¦b¨ä¥Lµ{¦¡¸Ì¨Ï¥Î·Æ¹«»Ý­n¹³ X Window ³oÃþªºÀ³¥Î µ{¦¡¡C°Ñ¦Ò¥»¤åªº ¦p¦ó¦b text console ¸Ì°Å¶K¡H

·í°õ¦æ moused «á¡A(°Ñ¦Ò)¡A«ö¦í¥ªÁä¡A ²¾°Ê·Æ¹«¨Ó¿ï¾Ü¤@­Ó°Ï°ì¤§«á©ñ¶}¡CµM«á¡A«ö¤U¤¤Áä©Î¥kÁä¡A´N¥i¥H¶K¤W¥h¤F¡C

¦b 2.2.6 ª©«á (§t 2.2.6)¡A«ö¤U¤¤Áä·|°õ¦æ¶K¤W³o­Ó°Ê§@¡A¦ý«ö¤U¥kÁä·|©µ¦ù ©Ò¿ï¨úªº°Ï°ì¡C¦pªG§Aªº·Æ¹«¨S¦³¤¤Áä¡A§A¥i¥H¥Î¼ÒÀÀªº¤è¦¡©Î¬O­«·s©w¸q·Æ¹««ö Á䪺¤è¦¡¨Ó¹F¦¨¡u©µ¦ù¡vªº¥\¯à¡C°Ñ¦Ò ³o­Ó man pages ¨Ó±o¨ì§ó¦h¬ÛÃö¸ê°T¡C §Úªº·Æ¹«¤W¦³ºu½ü¡A¯à¤£¯à¦b FreeBSD ¤U¨Ï¥Î¡H

«Ü¤£©¯ªº¡A¦b¤j¦h¼Æªº±¡ªp¤U¤£¦æ¡C³o¨Ç±a¦³ºu½üªº·Æ¹«»Ý­n¥Î¯S ®íªºÅX°Êµ{¦¡¡C°£«D·Æ¹«¦³³Q§Aªºµ{¦¡©Î¬OÅX°Êµ{¦¡©Ò¤ä´©¡A¤£µM³o¨Ç·Æ ¹«¥u¯à°÷·í¦¨¬O´¶³qªº¨âÁä©Î¤TÁ䪺·Æ¹«¨Ï¥Î¡C §Ú¯à¦b§Úªº laptop ¤W¨Ï¥Î·Æ¹«/­y¸ñ²y/touchpad ¶Ü¡H

°Ñ¦Ò¡A¨Ã¥B°Ñ¦Ò on the Mobile Computing page. ¦³¨º¨Ç tape ©PÃ䦳³Q¤ä´©¡H

FreeBSD ¤ä´© SCSI¡AQIC-36 (QIC-02 ¤¶­±) ¤Î QIC-40/80 (Floppy ¤¶­±) tape drives¡C ¥]¬A 8-mm (aka Exabyte) ¤Î DAT drives¡C¤w¸gª¾¹D QIC-40/80 drives «ÜºC¡C

¬Y¨Ç¦­´Áªº 8-mm drives ¨Ã¤£¬Û®e©ó SCSI-2¡A¥i¯à¨S¦³¿ìªk¦b FreeBSD ¤W¹B§@¡C FreeBSD ¤ä´© tape changer ¶Ü¡H

FreeBSD 2.2 §Q¥Î ³o­Ó³]³Æ¨Ó¤ä´© SCSI changers¡A§A¥i¥H°Ñ¦Ò ³o­Ó«ü¥O¡C ¦p¦ó±±¨î changer ªº¤èªk¥i¥H¦b ³o¥÷»¡©ú¤å¥ó¸Ì§ä¨ì¡C

¦pªG§A¤£¬O¥Î ©Î ¨ä¥L¤w¸g³Qª¾¹Dªº changer¡A°O¦í¡A§A¥uª¾¹D¦p¦ó±N¤@­Ó tape ±q¨ä¤¤¤@­Ó²¾¨ì¥t¥~¤@­Ó¡A ©Ò¥H§A»Ý­n°O¦í¨º¤@­Ó tape ¦b¸Ì­±¡A¤Î²{¦b¦³¨º¤@­Ó tape »Ý­n©ñ¦^¥h¡C ¦³¨º¨Ç­µ®Ä¥d¦³³Q FreeBSD ¤ä´©¡H

FreeBSD ¤ä´© SoundBlaster¡ASoundBlaster Pro¡ASoundBlaster 16¡A Pro Audio Spectrum 16¡AAdLib ¤Î Gravis UltraSound sound cards¡C ¦ý¹ï©ó MPU-401 ¤Î¨ä¬Û®e MIDI ¥dªº¤ä·½¦³­­¡C¹ï©ó¨Ï¥Î Microsoft Sound System ªº¥d¥i¥H³z¹L pcm ªºÅX°Êµ{¦¡¨Ó¨Ï¥Î¥¦¡C

¨º¨Çºô¸ô¥d³Q FreeBSD ©Ò¤ä´©¡H -

°Ñ¦Ò +

°Ñ¦Ò ¡A¸Ì­±¦³§¹¾ãªº²M³æ¡C §Úªº¹q¸£¨S¦³¯BÂI¹Bºâ¾¹¡A³oÅ¥°_¨Ó¦n¹³¤£¤Ó¦n¡H

¤@¯ë¨Ó»¡³o¤£·|³y¦¨¥ô¦ó°ÝÃD¡A¦ý·í§A­n¥Îªº®É­Ô¡AµL½×¦b®Ä²v¤W»Pºë±K«×¤W¡A ¼ÒÀÀ¯BÂI¹Bºâªºµ{¦¡½X¤£¯à­ÝÅU (°Ñ¦Ò)¡C ¤×¨ä¬O¦b X ¤U­±µe©·§Î®É·|«ÜºC¡C©Ò¥H¡A§Ú­ÌÁÙ¬O·|«ØÄ³¶R¤@Áû¯BÂI¹Bºâ¾¹¡C

2.X Á٤䴩¨º¨Ç³]³Æ¡H -

½Ð¦h¦h°Ñ¦Ò +

½Ð¦h¦h°Ñ¦Ò ¡A¸Ì­±¦³¦C¥X¡C FreeBSD ¤ä´©¹q·½ºÞ²z¨t²Î¶Ü¡H

FreeBSD ¤ä´©¬Y¨Ç¾÷¾¹¤Wªº APM¡C½Ð°Ñ¦Ò ³o­ÓÃöÁä¦r¡C ¦b¬Y¨ÇµwÅé¤W©Ò²£¥Íªº°ÝÃD

¥»¬q¥]¬A¤F¬Y¨ÇµwÅé©Ò²£¥Íªº°ÝÃD¡C ¦b Micron systems ªº¥D¾÷ªO¤W§Ú¨S¦³¿ìªk¶i¤J FreeBSD

Micron ªº¬Y¨Ç¥D¾÷ªO¨S¦³¿í¦u PCI BIOS ªº³W©w¡A¦Ó¾É¦Ü©ó·í¶i¤J FreeBSD ®É±¾±¼¡C¦]¬°³o¨Ç PCI ªº³]³Æ¨S¦³¦b¶}¾÷®É¦V¥D¾÷ªO³ø§i¥Lªºªº¦ì¸m¡C

¶i¤J BIOS «á¡A±N¡uPlug and Play Operating System¡v³o¶µµ¹ disable ±¼ ¥i¥H¼È®É¸Ñ¨M³o­Ó°ÝÃD¡C¦pªG§A·Q±o¨ì§ó¦h¦³Ãö Micron ªº°T®§¡A¥i¥H°Ñ¦Ò §Ú¦³¤@¶ô·s¶Rªº Adaptec ¥d¡A¦ý¬O FreeBSD §ä¤£¨ì¥¦¡C

Adaptec ·sªº AIC789x ¨t¦C´¹¤ù²Õ¦b­è¥XÄlªº CAM SCSI Àô¹Ò¤U¥i¥H¨Ï¥Î¡C 2.2-STABLE »Ý­n patches¡A¦b ¡CA CAM-enhanced ¶}¾÷ºÏ¤ù¦b ¡CµL½×§A¬O¥Î¨º¤@­Ó¡A½Ð¥ý°Ñ¦Ò README

§Ú³o¦³¤@­Ó PnP ªº modem¡A¦ý¬O FreeBSD ¨S§ä¨ì«¨¡H

§A»Ý­n§â modem ªº PnP ID ¥[¨ì serial ÅX°Êµ{¦¡ªº PnP ID ªí¸Ì¡AµM«á±N PnP ªº¥\¯à µ¹¥´¶}¡C¦b§Aªº®Ö¤ß³]©wÀɸ̥[¤J /sys/i386/isa/sio.c¡A¤j¬ù 1200 ¦æªº¦a¤è¡C§A¥i¥H§ä "SUP1310" ³o­Ó ¦r¦ê¨ÓÀ°§U§A§ä¨ì "siopnp_ids[]" ³o­Óªí¡C¦A­«·s½sͤ@­Ó kernel ¤§«á­«·s¶}¾÷¡A§Aªº modem À³¸Ó·|³Q§ä¨ì¤F¡C

§A¤]¥i¥H¦b¶}¾÷®É¤â°Ê¿é¤JÃþ¦ü¤U­±ªº¦r¦êÅý®Ö¤ß¬Ý¨ì§Aªº modem¡G pnp 1 0 enable os irq0 3 drq0 0 port0 0x2f8

§Ú¸Ó¦p¦ó¦b serial console «e¬Ý¨ì boot: ³o­Ó´£¥Ü²Å¸¹¡H

¦b§Aªº®Ö¤ßÀɸ̭±¥[¤J¤@¦æ µM«á¨ì /boot.config ¸Ì¼g¤J Unplug the keyboard from the system.

°Ñ¦Ò /usr/src/sys/i386/boot/biosboot/README.serial ¨Ó¤F¸Ñ§ó¦hªº¸ê°T¡C

¬°¤°»ò§Úªº 3Com PCI ºô¸ô¥d¨S¦³¿ìªk¦b Micron ¥D¾÷ªO¤W¤u§@¡H

¬Y¨Ç Micron ¥D¾÷ªO¨S¦³¿í¦u PCI BIOS ªº³W©w¦Ó¨Ï±o PCI ªº¶gÃä³]³Æ¨S¦³¦^³ø ¥L­Ìªº¦ì¸m¡C³o¨Ï±o¦b¶i¤J FreeBSD ®É·|±¾±¼¡C

¦pªG­n¼È®É¸Ñ¨M³o­Ó°ÝÃD¡A½Ð¦b BIOS ¸Ì disable¡uPlug and Play Operating System¡v

¦³Ãö Micron §ó¦hªº°T®§¥i¥H°Ñ¦Ò¡G FreeBSD ¤ä´© Symmetric Multiproccessing (SMP) ¶Ü?

SMP ¥u¦b 3.0-STABLE ¤Î¨ä¤§«áªºµo¦æª©¥»¤¤³Q¤ä´©. diff --git a/zh/FAQ/install.sgml b/zh/FAQ/install.sgml index 8dd215fb45..02b880b942 100644 --- a/zh/FAQ/install.sgml +++ b/zh/FAQ/install.sgml @@ -1,630 +1,630 @@ - + ¦w¸Ë FreeBSD §Ú¸Ó¤U¸ü­þ¨ÇÀÉ®×¥H¨ú±o FreeBSD¡H

³q±`§A¥u»Ý­n¤@±i³nºÐ image ÀÉ¡Afloppies/boot.flp¡A§â¥¦«þ ¨©¨ì 1.44MB ³nºÐ¤ù¤WµM«á±Ò°Ê¥¦¡A¦A¥h¤U¸ü¨ä¥Lªº³¡¥÷(¦w¸Ëµ{§Ç·|ºÞ ²z§Aªº TCP/IP ³s½u¡A¥H¤Î tapes¡A¥úºÐ¾÷¡A³nºÐ¾÷¡ADOS ¤À³Î°Ï¡A¤Î ¨ä¥L¥u­n¬O¦w¸Ë¹Lµ{¤¤»Ý­n¥Î¨ìªº¨Æª«)¡C

­Y§A¥u»Ý­n¦Û¤v¤U¸ü distributions(¥i¨³³tªº¥Ñ DOS Àɮרt²Î¨Ó¦w¸Ë) ¡A¥H¤U¬O§Ú­Ì«ØÄ³§A§ì¨Ó¦w¸Ëªº distributions¡G bin/ manpages/ compat*/ doc/ src/ssys.*

¦w¸Ëµ{§Çªº§¹¾ã«ü¥O¡A¥H¤Î§ó¦h´¶¹M©Ê¦w¸Ë®É·|¸I¨ìªº°ÝÃD¥i¥H¦b - ³o¸Ì§ä¨ì¡C ±Ï©R¡I±Ò°Êªº³nºÐ image ÀɵLªk¶ë¨ì¤@¤ù³æ¿Wªº³nºÐ¤ù¸Ì¡I

¤@±i 3.5 ­^¦T(1.44MB)³nºÐ¤ù¥i¥H®e¯Ç 1474560 ¦ì¤¸²Õªº¸ê®Æ¡C ±Ò°Êªº image ÀÉ´N­è¦n¬O³o­Ó¤j¤p¡C

¦b·Ç³Æ±Ò°Ê³nºÐ¤ù®É±`¨£ªº¿ù»~¦³¡G ¨Ï¥Î FTP ®É¨S¦³¨Ï¥Î binary ¼Ò¦¡¤U¸ü³nºÐ image¡C

¬Y¨Ç FTP client ³nÅ饦­Ì¤º©wªº¶Ç¿é¼Ò¦¡¬O ascii ¨Ã¥B¸ÕµÛ§ó§ï¥ô¦óªº end-of-line ¦r¤¸¡A¥H²Å¦X³o­Ó client ¨t²Î ¥»¨­ªºÂà´«¡C¤j³¡¤À±¡§Î¤U³o¥²µM·|·´·l±Ò°Ê image ÀÉ¡AÀˬd¤@¤U §A¤U¸üªº±Ò°Ê image Àɤj¤p¡G¦pªG³o¤£¬O§¹¥þ¦a»P server ºÝ¤Wªº¤j¤p¬Û¦P¡A¨º»ò§Aªº¤U¸üµ{§Ç´N¦³°ÝÃD¡C

¸Ñ¨M¤èªk¡G¦b§A³s±µ¤W server ¦ý©|¥¼¶}©l¤U¸ü¬M¹³Àɤ§«e¡A ¬Ý¨ì FTP ©R¥O´£¥Ü¸¹®É¥´ binary¡C ¨Ï¥Î DOS ªº copy ©R¥O(©Îµ¥®Äªº GUI ¤u¨ã)¨Ó§â±Ò °Ê image Àɶǰe¨ì³nºÐ¤ù¡C

Ãþ¦ü¹³ copy ªºµ{¦¡¡A¦b±Ò°Ê image ÀɳQ«Ø¥ß¨Ã¥Bª½±µ ¶}¾÷«á¨Ã¨S¦³¥\¥Î¡C¬M¹³Àɸ̦³§¹¾ãªººÏºÐ¤º®e¡AºÏ­y¹ïºÏ­y¡A³o¥N ªíµÛ§AµLªk¥ÎºÏ¤ù¤W©T©wªºÀÉ®×¥h¨ú¥N¥¦¡C §A¥²¶·§â¥¦¶Ç°e¨ì³nºÐ¤ùªº``raw''¤W¡A¨Ï¥Î§C¶¥¤Æ¤u¨ã(¹³¬O fdimage ©Î rawrite)¡A³o¨Ç¦b - ¸Ì­±¦h¦³´y­z¡C ¦w¸Ë FreeBSD ªº«ü¥O¦b­þ¸Ì¡H

§A¥i¥H¦b³o¸Ì§ä¨ì¦w¸Ë«ü¥O¡C - ­n°õ¦æ FreeBSD §ÚÁٻݭn¤°»ò¡H

§A»Ý­n¤@¥x 386 ©Î§ó¦nªº PC¡A¥]§t 5MB ©Î§ó¦hªº RAM ¥H¤Î¦Ü¤Ö 60MB ªººÏºÐªÅ¶¡¡C¥i¥H¶È¨Ï¥Î¤@­Ó§C¶¥ªº MDA ¹Ï§Î¥d¡A¦pªG§A­n°õ¦æ X11R6 ¡A´N»Ý­n VGA ©Î§ó¦nªºµø°T¥d¡C

¥ç°Ñ¦Ò³o­Ó³¹¸` §Ú¥u¦³ 4MB RAM¡A¨º§Ú¯à¦w¸Ë FreeBSD ¶Ü¡H

FreeBSD 2.1.7 ¬O³Ì«á¤@­Ó¥i¦b 4MB ¨t²Î¤W³Q¦w¸Ëªºª©¥»¡C·sª©ªº FreeBSD¡A¹³¬O 2.2¡A»Ý­n¦Ü¤Ö 5MB ¨Ó¦w¸Ë¥¦¦b¤@­Ó¥þ·sªº¨t²Î¤W¡C

FreeBSD ªº©Ò¦³ª©¥»¡A¥]¬A 3.0¡A³£¯à¦b 4MB ªº°O¾ÐÅé¤U°õ¦æ¡A¤£ ¹L¦w¸Ë®É¤£¯à¥u¥Î 4MB¡C¦pªG§A·Q³o¼Ë¡A§A¥i¥H¦b¦w¸Ë®É¥[¤JÃB¥~ªº °O¾ÐÅé¡AµM«áµ¥¨t²Î¥i¥H°õ¦æ«á¡A´«¦^ 4MB¡C©Î¬O§A¥i¥H§â§AªººÏºÐ ¾÷¤Á¥X¤@­Ó 4MB ¥H¤W¸m´«ªÅ¶¡¡A¦w¸Ë¦n¨t²Î«á¦A§â¸m´«ªÅ¶¡¬å±¼¡C

FreeBSD 2.1.7 ¤]¦³¤£¯à¦b 4MB ¦w¸Ëªº±¡§Î¡C¥¿½Tªº»¡¡AÀ³¸Ó¬O«ü ¤£¯à¦b°ò¥»ªº 640kB ¥[¤W 3MB ©µ¦ù°O¾ÐÅé¸Ì¦w¸Ë¡C¦pªG§Aªº¥D¾÷ªO ¥i¥H­«·s§ä¦^¦b 640kB ¨ì 1MB ½d³ò¤¤¨º¨Ç``¿ò¥¢''ªº°O¾ÐÅé¡A¨º»ò ©Î³\§AÁÙ¬O¥i¥H§â FreeBSD 2.1.7 ¸Ë°_¨Ó¡C

¸ÕµÛ¶i¤J§Aªº BIOS ³]©w¿ï³æ¨Ã§ä¤@­Ó``remap''¿ï¶µ¡A§â¥¦¥´¶}¡C §A©Î³\¤]¸Ó§â ROM shadowing µ¹Ãö±¼¡C

¥u¦b¦w¸Ë®É¨Ï¥Î 4MB ¥i¯à®e©ö¤@ÂI¡A«Ø¥ß¤@­Ó¥u¦³§A»Ý­nªº¿ï¶µªº ®Ö¤ßµ{¦¡¡AµM«á´N¥i¥H¥u¥Î 4MB¡C

§A¤]¥i¥H¦w¸Ë 2.0.5 µM«á¦A§â§Aªº¨t²Î¥Î 2.1.7 ¦w¸Ëµ{¦¡¸Ì ``upgrade''ªº¿ï¶µ¤É¯Å¨ì 2.1.7 ª©¥»¡C

¦w¸Ë«á¦pªG§A«Ø¥ß¤@­Ó¦Û­qªº®Ö¤ß¡A³o±N·|¦b 4MB ¤U°õ¦æ¡C´¿¦³ ¤H¦¨¥\ªº¥Î 2MB ¶}¾÷(¤£¹L¨t²Î´X¥G¤£¯à¥Î :-))¡C §Ú¸Ó«ç»ò»s§@¦Û­qªº¦w¸Ë³nºÐ¤ù¡H

¥Ø«e§AµLªk*¥u*»s§@¤@­Ó¦Û­qªº¦w¸Ë³nºÐ¤ù¡C§A¥²¶·°µ¥X¾ã­Ó¥þ·sªº release ¨t²Î¡A³o¸Ì­±´N¥]¬A§Aªº¦w¸Ë³nºÐ¤ù¡C¬Y¨Ç¦b /usr/src/release/floppies/Makefile ¸Ìªºµ{¦¡½X°²³]¯àÅý §A*¥u*°µ¥X¨º¨Ç³nºÐ¤ù¡A¦ý¬O¨Æ¹ê¤WÁÙ¤£¦æ¡C

­n°µ¥X¦Û­qªº release ª©¥»¡A½Ð¿í´` ªº«ü¥O¡C §Ú¥i¥H¦b§Úªº PC ¤W¾Ö¦³¶W¹L¤@­Ó¥H¤Wªº§@·~¨t²Î¶Ü¡H

½Ð°Ñ¦Ò Windows 95 ¥i¥H¸ò FreeBSD ¨Ã¦s¶Ü¡H

¥ý¦w¸Ë Windows 95¡AµM«á¦A¸Ë FreeBSD¡CFreeBSD ªº±Ò°ÊºÞ²z­û ·|±µµÛºÞ²z±Ò°Ê Win95 ©M FreeBSD ªº¤u§@¡C°²¨Ï§A²Ä¤G­Ó¤~¥h¸Ë Win95¡A¥¦±N·|°Ý³£¤£°Ýªº²Ê¾|¦a§â§Aªº±Ò°ÊºÞ²z­ûÂмg¹L¥h¡C°² ¦p³o¤w¸gµo¥Í¡A½Ð¬Ý¤U¤@¸`¡C Windows 95 §â§Úªº±Ò°ÊºÞ²z­û±þ±¼¤F¡I§Ú¸Ó«ç»ò§â¥¦±Ï¦^¨Ó¡H

§A¥i¥H¥Î¥H¤U¨âºØ¤èªk¤§¤@¨Ó­«·s¦w¸Ë FreeBSD ªº±Ò°ÊºÞ²z­û¡G °õ¦æ DOS¡A¶i¤J§Aªº FreeBSD distributions ªº tools/ ¥Ø¿ý ¨Ã§ä¨ì bootinst.exe¡C§A¥i¥H³o¼Ë°õ¦æ¥¦¡G

bootinst.exe boot.bin

³o¼Ë±Ò°ÊºÞ²z­û±N·|¦A¦¸³Q¦w¸Ë¡C ¥Î FreeBSD ±Ò°Ê³nºÐ¤ù¦A¦¸¶}¾÷µM«á¶i¤J Custom ¦w¸Ë¿ï³æ ¶µ¥Ø¡A¿ï¾Ü Partition¡A¿ï¾Ü¨º­Ó¥]§t±Ò°ÊºÞ²z­ûªººÏºÐ¾÷(¤j¦h¬O ²Ä¤@­Ó)¡AµM«á·í¤À³Î°Ï½s¿è¾¹(partition editor)¥X²{®É¡A²Ä¤@¥ó ¨Æ(·N«ä´N¬O¡G¤£­n°µ¥ô¦ó§ó§ï) ¥ý¿ï¾Ü (W)rite¡C·|¥X²{½T»{ªº¸ß °Ý¡A¦^µª yes¡AµM«á·í§A¬Ý¨ì Boot Manager ªº¿ï¾Ü´£¥Ü®É¡A½T©w §A¿ïªº¬O"Boot Manager"³o¶µ¡C ³o·|§â±Ò°ÊºÞ²z­û­«·s¼g¦^ºÏºÐ¸Ì¡C¸õÂ÷¦w¸Ë¿ï³æµM«á´N¸ò¥¿±`±¡§Î ¤@¼Ë­«·s±Ò°ÊµwºÐ¡C §Ú¥i¥H¦b¤@­Ó¦³Ãa­y(bad blocks)ªººÏºÐ¤W¶i¦æ¦w¸Ë¶Ü¡H

FreeBSD ªº bad block ( ©R¥O) ³B²z¨Ã«D 100&percnt §¹¥þ(¥Î¹Ï§Î¤Æ¨Ó¬Ý)¡A¦Ó¥B«Ü¤£©¯§Ú­n§i ¶D§A°²¦p§A¦³¤@­Ó IDE ©Î ESDI ¸Ë¸m¥]§t¤j¶qªº bad blocks¡A¨º»ò FreeBSD ¥i¯à¤£¾A¦X§A¡I³oªí¥Ü¡A¹ï¨ä¥L¤j¦h¼Æªº IDE ¨t²Î¥i¯à¦³ ¥Î¡A§A¥i¯à·Q¦b©ñ±ó«e¥ý¹Á¸Õ¬Ý¬Ý¡C

¦pªG§A¦³¤@­Ó¦³ bad blocks ªº SCSI ¸Ë¸m¡A½Ð¬Ý . ·í§Ú±Ò°Ê¦w¸Ë³nºÐ¤ù®É¡A©_©Çªº¨Æ±¡µo¥Í¤F¡I

¦pªG§A¬Ý¨ì©_©Çªº¨Æ±¡¡A¹³¬O¾÷¾¹°±¦í¤F©Î¬O·í§A¸ÕµÛ±q¦w¸ËºÏ¤ù°_ °Ê®É¬ðµM¦Û°Ê­«·s¶}¾÷¤F¡A³o¸Ì¦³¤T­Ó°ÝÃD§A¸Ó¥ý°Ý°Ý¦Û¤v:- §A¬O§_¨Ï¥Î¤@­Ó·sªº¡A­è®æ¦¡¤Æ¹L¡A¨S¦³¥ô¦ó¿ù»~ªº³nºÐ¤ù(¥i ¥H¬O¤@±i¥þ·s­è©î«Êªº¡A¦Ó«D¬O¨ººØ¤w¸g§Aªº§É¤U½ö¤F¤T¦~¡A¬OÂø»xÃØ °eªº«Ê­±ºÏ¤ù)¡H §A¬O§_¥Î binary ¼Ò¦¡¤U¸ü³nºÐ¬M¹³ÀÉ¡H (¤£¥Î¤£¦n·N«ä¡A´Nºâ¬O§Ú­Ì¤§¤¤³Ì¦nªº¤@­Ó¤H¤]´¿·N¥~ªº§â binary ÀɥΠASCII ¼Ò¦¡¤U¸ü¦Ü¤Ö¤@¦¸¡I) ¦pªG§A¥¿¦b¨Ï¥Î¹³¬O Windows95 ©Î Windows NT ³o´XºØ·s«¬ªº §@·~¨t²Î¡A§A¦³¨S¦³§â¨t²ÎÃö¾÷µM«á±Ò°Ê¨ì³Ì­ì©lª¬ºA¡A¥u¦³ DOS¡H ³o¨Ç OS ¬Ý°_¨Ó·|ªý꨺¨Çª½±µ¾Þ§@µwÅ骺µ{¦¡¡A¹³¬O«Ø¥ßºÏºÐªºµ{¦¡ ¡A¥u­n¦b GUI Àô¹Ò¤Uªº DOS shell ´N·|¾É­P³o­Ó°ÝÃD¡C

¤]¦³¹L³ø§i¦³Ãö Netscape ·|¾É­P¤U¸ü±Ò°Ê³nºÐªº°ÝÃD¡A¦]¦¹¦pªG§A ¥i¥H¡A³Ì¦n¨Ï¥Î§OºØ¤£¦Pªº FTP client ¡C ±Ï©R¡I§Ú¤£¯à±q tape ¦w¸Ë¡I

¦pªG§A±q tape ¦w¸Ë 2.1.7¡A§A¥²¶·¥Î¨C­Ó tar blocksize ¬O 10 (5120 bytes)«Ø¥ß³o­Ó tape¡C¤º©wªº tar blocksize ¬O 20(10240 bytes)¡AµM¦Ó¥Î³oºØ¤º©w¤j¤p«Ø¥ßªº tape µLªk¥Î¨Ó¦w¸Ë 2.1.7R¡F ¦pªG§A¥Î³oºØ tapes¡A§A·|¬Ý¨ì¦³Ãö¸ê®Æ°O¿ý°Ï¤j¤p¹L¤jªº©ê«è°T ®§¡C ¥Î¤@±ø¨ÃÁp½u(PLIP)³s±µ¨â¥x FreeBSD¡C

§ä¤@±ø laplink ½u¡A½T©w¨âÃä¹q¸£ªº®Ö¤ß³£¤ä´© lpt ÅX°Êµ{¦¡¡C $ dmesg | grep lp lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface

§â laplink ½u´¡¤J¨ÃÁp¬É­±¤W¡C

¥Î root ¨­¤À¦b¨â¥x¹q¸£¤W³]©w lp0 ªººô¸ô¬É­±°Ñ¼Æ¡CÁ|¨Ò¡A¦pªG §A·Q¥Î max ³s±µ moritz¡G max <-----> moritz IP Address 10.0.0.1 10.0.0.2 max ºÝÀ³¸Ó³o¼Ë¶}©l¡G # ifconfig lp0 10.0.0.1 10.0.0.2 moritz «h³o¼Ë¡G # ifconfig lp0 10.0.0.2 10.0.0.1

¦n¤F¡I¤]½Ð§A¬Ý¬Ý lp(4) ©M lpt(4) ªº manpages¡C

§A¤]¸Ó§â³o¨Ç¥D¾÷¥[¨ì /etc/hosts ¸Ì­±¡C 127.0.0.1 localhost.my.domain localhost 10.0.0.1 max.my.domain max 10.0.0.2 moritz.my.domain moritz

¥Î¥H¤U¤èªkÀˬd¬O§_¦³¥¿±`°Ê§@¡G on max: $ ifconfig lp0 lp0: flags=8851 mtu 1500 inet 10.0.0.1 --> 10.0.0.2 netmask 0xff000000 $ netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire moritz max UH 4 127592 lp0 $ ping -c 4 moritz PING moritz (10.0.0.2): 56 data bytes 64 bytes from 10.0.0.2: icmp_seq=0 ttl=255 time=2.774 ms 64 bytes from 10.0.0.2: icmp_seq=1 ttl=255 time=2.530 ms 64 bytes from 10.0.0.2: icmp_seq=2 ttl=255 time=2.556 ms 64 bytes from 10.0.0.2: icmp_seq=3 ttl=255 time=2.714 ms --- moritz ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/stddev = 2.530/2.643/2.774/0.103 ms §Ú¥i¥H¦b§Úªº½¥¤W«¬¹q¸£¥Î PLIP(Parallel Line IP)¦w¸Ë¶Ü¡H

¥Î laplink ¨ÃÁp½u³s±µ¨â¥x¹q¸£¥H¨Ï¥Î³o­Ó¯S©Ê¡G +----------------------------------------+ |A-name A-End B-End Descr. Port/Bit | +----------------------------------------+ |DATA0 2 15 Data 0/0x01 | |-ERROR 15 2 1/0x08 | +----------------------------------------+ |DATA1 3 13 Data 0/0x02 | |+SLCT 13 3 1/0x10 | +----------------------------------------+ |DATA2 4 12 Data 0/0x04 | |+PE 12 4 1/0x20 | +----------------------------------------+ |DATA3 5 10 Strobe 0/0x08 | |-ACK 10 5 1/0x40 | +----------------------------------------+ |DATA4 6 11 Data 0/0x10 | |BUSY 11 6 1/0x80 | +----------------------------------------+ |GND 18-25 18-25 GND - | +----------------------------------------+

½Ð°Ñ¦Ò Mobile Computing ºô­¶ªº ¡C §Ú¸Ó«ç»ò¨Ï¥Î¤@­ÓºÏºÐ¸Ë¸mªº geometry¡H

(¤@¥xºÏºÐªº"gromrtry"¡A§Ú­Ì«üªº¬O³o¥xºÏºÐ¤W cylinders, heads ©M sectors/track ªº¼Æ¥Ø - ¬°¤F¤è«K¥BºÙ¤§¬° C/H/S¡C³o¬O PC ªº BIOS ¥Î¨ÓŪ/¼gºÏºÐªº¨Ì¾Ú)¡C

¬°¤F¬Y¨Ç²z¥Ñ¡A³o¦ü¥G·|¾É­P«Ü¦h§xÂZ¡C­º¥ý¡A¤@¥x SCSI ¸Ë¸mªº ¥t¥~´N¬O©Ò¿×ªº¹ï SCSI ºÏºÐ¾÷¨Ó»¡¡Ageometry ªº¨Ï¥Î¬O¨Ì¾a±Ò°Ê±±¨î¾¹¨Ó¤ä´© extended translation (³o³q±`ºÙ¤§¬°"¹ï>1GB DOS ºÏºÐ¾÷ ªº¤ä´©©Î"Ãþ¦üªººÙ©I)¡C¦pªG¤£¤ä´©¡A¨º»ò¨Ï¥Î N cylinders¡A64 heads ©M 32 sectors/track¡A³o¸Ì'N'¬O«üºÏºÐ¾÷ªº MB ®e¶q¡CÁ|¨Ò ¨Ó»¡¡A¤@­Ó 2GB ªººÏºÐ¾÷À³¸Ó°²³]¥¦¦³ 2048 cylinders¡A64 heads ©M 32 sectors/track¡C

¦pªG¥¦½T©w¦pªG§A¤£½T©w¥H¤W³o­Ó¡A©Î¬O FreeBSD ¦b¦w¸Ë¹Lµ{¤¤­n°»´ú geometry ªº¥¿½T©Ê®É¥¢±Ñ¤F¡A³Ì²³æªº¸Ñ¨M¤èªk³q±`¬O¦bºÏºÐ¤W«Ø¥ß¤@­Ó¤pªº DOS ¤À³Î°Ï¡C¥¿½Tªº geometry À³¸Ó¯à³Q°»´ú¨ì¡]¦Ó¥B¦pªG§A¤£·Q«O¯d¥¦¡A §AÁ`¬O¥i¥H¦b¤À³Î°Ï½s¿è¾¹¸Ì§â³o­Ó DOS ¤À³Î°Ï²¾°£±¼¡A©Î¬O§â¥¦¯d¤U ¨Ó¡Aµ¹µ{¦¡¤Æºô¸ô¥d¨Ï¥Î©ÎÀH§A°ª¿³«ç»ò¥Î¥¦¡^¡C

¥t¥~¡A¦³¤@­Ó§K¶O¦Ó¦³¥Îªº¤½¥Îµ{¦¡¥s ``tools ¤l¥Ø¿ý ¤U©Î¬O¦b¤j¦h¼Æªº FreeBSD ftp ¯¸¥x¤º¥i§ä¨ì¡^¡A³o­Óµ{¦¡¥i¥Î¨Ó§ä ¥X¥t¤@§@·~¨t²Î¥¿¦b¨Ï¥ÎºÏºÐ¾÷¤Wªº­þ¶ô geometry¡CµM«á§A´N¥i¥H¦b ¤À³Î°Ï½s¿è¾¹¸Ì­±¿é¤J¥¦¡C ·í§Ú¤À³ÎºÏºÐ¾÷®É¦³¥ô¦ó­­¨î¶Ü¡S

¬Oªº¡C§A¥²¶·½T»{§Aªº root ¤À³Î°Ï¬O¦b 1024 cylinders ¤§¤º¡AÅý BIOS ¥i¥H±q¨ä¤¤±Ò°Ê®Ö¤ß¡C(ª`·N¡G³o¬O PC ªº BIOS ¥\¯à­­¨î¡A¦Ó¤£ ¬O FreeBSD ªº)

¹ï SCSI ¸Ë¸m¨Ó»¡¡A³o³q±`·t¥ÜµÛ root ¤À³Î°Ï±N©ñ¦b¶}©lªº 1024 MB(©Î¬O¶}©lªº 4096MB¡A¦pªG extended translation ¬O¥´¶}ªº - ½Ð °Ñ¦Ò«e¤@¸`)¡C¹ï IDE ¨Ó»¡¡A¬ÛÃöªº³¡¥÷¬O 504MB¡C ¥i¥H¨Ï¥ÎºÏºÐºÞ²zµ{¦¡(disk managers)¶Ü¡S©Î¬O¡A§Ú¦³¤@­Ó¥¨¤jªººÏºÐ¾÷¡I

FreeBSD »{ÃÑ Ontrack Disk Manager ¨Ã¥B¤¹³\¨Ï¥Î¥¦¡A¨ä¥Lªº disk managers «h¤£¦b¤ä´©¤§¦C¡C

¦pªG§A¥u·Q¦bºÏºÐ¾÷¤W¨Ï¥Î FreeBSD ¨º»ò§A®Ú¥»¤£»Ý­n disk manager¡C ¥u­n§âºÏºÐ³]©w¦¨ BIOS ¯à§ì¨ìªº³Ì¤jªÅ¶¡(³q±`¬O 504 megabytes)¡A¨º»ò FreeBSD À³¸Ó´N¥i¥Hºâ¥X§A¨Æ¹ê¤W¾Ö¦³¦h¤ÖªÅ¶¡¡C¦pªG§A¥¿¨Ï¥Î¤@­Ó MFM ±±¨î¾¹¨Ó±±¨îªº¦ÑºÏºÐ¡A§A¥i¯à»Ý­n©ú¥Õªº§i¶D FreeBSD ­n¨Ï¥Î¦h¤Ö­Ó cylinders¡C

¦pªG§A·Q¦bºÏºÐ¤W¨Ï¥Î FreeBSD ©M¥t¤@­Ó§@·~¨t²Î¡A§A¥i¯à¤£»Ý­n disk manager¡G¥u­n½T©w FreeBSD ªº±Ò°Ê¤À³Î°Ï¸ò¨ä¥L§@·~¨t²Îªº slice ³£¦ì©ó¶}©lªº 1024 cylinders ¤º¡C¦pªG§A¬Û·í¦a¤p¤ß¡A¤@­Ó 20 megabytes ªº±Ò°Ê¤À³Î°ÏÀ³¸Ó´N°÷¤F¡C ·í§Ú±Ò°Ê FreeBSD¡A§Ú¬Ý¨ì ``Missing Operating System''

³o¬O¤@­Ó¨å«¬ªº±¡§Î¡A¦³Ãö FreeBSD ¥H¤Î DOS ©Î¨ä¥L¦bºÏºÐ³B²z¤èªk ¤W¦³½Ä¬ðªº OS ¡C§A»Ý­n­«·s ¦w¸Ë FreeBSD¡A¦ý¬O½Ð¿í·Ó¤W­±©Ò´£¨ìªº«ü¥OÀ³¸Ó´N¥i¥H¤F¡C §Ú¬Ý¤£¨ì boot manager ªº 'F?' ´£¥Ü¸¹¡C

³o¬O«e¤@­¶©Ò´y­z°ÝÃDªº¥t¤@­Ó¼x¥ü¡C§Aªº BIOS geometry ©M FreeBSD ªº geometry ³]©w¤£¬Û¦P¡I¦pªG§Aªº±±¨î¾¹©Î BIOS ¤ä´© cylinders translation (³q±`³Q¼Ð¥Ü¦¨``>1GB drive support'')¡A¸ÕµÛ§â³o­Ó ³]©w¥´¶}µM«á­«·s¦w¸Ë FreeBSD¡C §Ú¦³ >16MB RAM¡C³o·|¾É­P¥ô¦ó°ÝÃD¶Ü¡S

±q®Ä¯àªº¨¤«×¨Ó¬Ý¡A¤£·|¡CFreeBSD 2.X ¤º§t bounce buffers¡A³o¤¹³\ §Aªº bus mastering controller ¦s¨ú¶W¹L 16MB¡C(ª`·N¦pªG§A¥¿¨Ï¥Î ISA ¸Ë¸m³oÀ³¸Ó¬O¥²»Ýªº¡A¾¨ºÞ¤@­Ó©Î¨â­Ó§ó¦­ªº EISA ©M VLB ¸Ë¸m¤] ¥i¯à»Ý­n¥¦)¡C

¤]½Ð°Ñ¦Ò ³o¸`¡A°²¦p§A¦³³o»ò¦h°O¾ÐÅé¡A©Î§A¨Ï¥Îªº¬O Compaq ©Î¬O¨ä¥L¯à³B²z ³o»ò¦h¦³¥Î°O¾ÐÅ骺¾÷¾¹¡C §Ú»Ý­n¦w¸Ë§¹¾ãªº­ì©lµ{¦¡(sources)¶Ü¡S

³q±`¬O¤£»Ý­n¡CµM¦Ó¡A·|±j¯P«ØÄ³§A¦Ü¤Ö¦w¸Ë ``¥H¥~¡C¯Ê¤Ö®Ö¤ßªº sources¡A§Ú­Ìªº«Ø¿v¬[ºc¬O³]©w ¦¨Åý§A¥i¥H±q§O³B¦p NFS ¨Ó±¾¤W°ß¿Wªº­ì©lµ{¦¡¡A¦]¦¹ÁÙ¬O¥i¥H»s §@·sªº binaries¡C¡]¦]¬° kernel-source ªº­­¨î¡A§Ú­Ì«ØÄ³§A¤£­n ª½±µ§â¥¦±¾¦b /usr/src ¤U¡A³Ì¦n¥Î¨ä¥L¾A¦Xªº²Å¸¹©Ê­« ½Æ³sµ²¨ì source tree ªº¤W¼h¬[ºc¡C¡^

½u¤W¾Ö¦³ sources ¨Ãª¾¹D¦p¦ó«Ø¥ß¤@­Ó¨t²Î¡A±N·|Åý§A¦b¤É¯Å¤µ«á FreeBSD ªº releases ª©¥»§ó®e©ö¤@ÂI¡C

­n¹ê»Úªº¿ï¾Ü sources ªº¤@­Ó¤l¶°¦X¡A¦b§A¦b¨t²Î¦w¸Ë¤u¨ãªº Distributions ¿ï³æ®É¡A¨Ï¥Î Custom ¿ï³æ¶µ¥Ø¡Csrc/install.sh script ±N·|§â sources distribution ªº³¡¥÷¦w¸Ë¶i¥h¡A¥D­n¬O¬Ý §A¶Ç¤J­þ¨Ç°Ñ¼Æ¡C §Ú»Ý­n«Ø¥ß¤@­Ó®Ö¤ß¶Ü¡S

«Ø¥ß¤@­Ó·sªº®Ö¤ß¦b FreeBSD ¦w¸Ë¹Lµ{¤¤¬Oµ´¹ï¥²»Ýªº¤@­Ó¨BÆJ¡C ¦ý·sª© releases ±a¨Ó¤@­Ó§ó¤Íµ½ªº®Ö¤ß³]©w¤u¨ã«ü¥Oªº¦n³B¡C¦b FreeBSD ±Ò°Ê´£¥Ü¸¹(boot:)®É¡A¨Ï¥Î "-c" flag §A´N·|¶i¤J¤@­Ó³] ©w¿Ã¹õ¡A³o¤¹³\§A°µ±`¨£ ISA ¥dªº®Ö¤ß³]©w¡C

¤´µM«ØÄ³§A³Ì«á«Ø¥ß¤@­Ó®Ö¤ß¡A¥u¥]§t§A»Ý­nªºÅX°Êµ{¦¡¡A³o¬O¬°¤F ¸`¬Ù¤@ÂI RAM¡A¦ý¬O¹ï¤j¦h¼Æªº¨t²Î¨Ó»¡³o«o¤£¬OÄY®æªº­n¨D¡C §Ú¤£¬O¦í¦b¬ü°ê¡A¨º§Ú¥i¥H¨Ï¥Î DES ¶Ü¡S

¦pªG¹ï§A¨Ó»¡¨Ï¥Î DES ®æ¦¡ªº¥[±K§Þ³N¤£¬Oµ´¹ï»Ý­nªº¡A§A¥i¥H¨Ï ¥Î FreeBSD ªº¤º©w¥[±K§Þ³N¡A¦³¦]¬° DES ¥[±Kºtºâªk¤£¯à¥Ñ US ¦Xªk¿é¥X¨ì°ê¥~¡A«D US ¨Ï¥ÎªÌ¤£ À³¸Ó±q US FTP ¯¸¥x¤U¸ü³o­Ó³nÅé(µM¦Ó¥t¥~ÁÙ¦³­Ó¦³®Äªº libcrypt¡A­ì©lµ{¦¡°ò¥»¤W¥Ñ¿D¬wªº David Burren ¼g¦¨¡C³o­Óµ{¦¡½X¥Ø«e¦b¬Y¨Ç«D US FreeBSD mirror ¯¸¥x¤W¥i¥H§ä¨ì¡C³o­Ó¨S¦³­­¨îªº libcrypt ­ì©lµ{¦¡¡A¥H¤Î¨Ï¥Î¥¦ ªº binaries µ{¦¡¡A¥i¥H¦b¥H¤U FTP ¯¸¥xÀò±o¡G ftp://ftp.internat.freebsd.org/pub/FreeBSD ftp://storm.sea.uct.ac.za/pub/FreeBSD ftp://ftp.iqm.unicamp.br/pub/FreeBSD ftp://nic.funet.fi/pub/unix/FreeBSD/eurocrypt

«D US ªº «D US ¨Ï¥ÎªÌ½Ð¤Å±q USA ¤U¸ü¥ô¦ó¥[±K³nÅé¡C³o·|¾É­P¯¸¥xªººÞ²z ªÌ¦]¬°³Q¤U¸üªº³nÅé·S¤W¼Æ­Óªk«ß©Êªº§xÃø¡C

¤@­Ó«D US ªº Kerberos distribution ¥ç¥¿¦bµo®i¤¤¡A²{¦æª©¥»³q ±`¥i¥Ñ°Î¦W FTP braae.ru.ac.za ¨ÓÀò±o¡C

¤]¦³¤@­Ó ±Mªù¥Î¨Ó°Q½× «D US ¥[±K³nÅé¡C±ýÀò±o§ó¦h¸ê°T¡A±H¤@«Ê¤º§t³æ¿W¤@¦æ°T®§»¡ ``<majordomo@braae.ru.ac.za>. ±Ò°Ê³nºÐ¶}©lŪ¤F¥i¬O«o°±¦b``Probing Devices...''¿Ã¹õ¡C

¦pªG§A¦w¸Ë¤F IDE Zip ©Î Jaz ¸Ë¸m¡A²¾°£¥¦¨Ã­«·s¸Õ¤@¹M¡C ±Ò°Ê³nºÐ¤ù¥i¯à·|³Q³o¨Ç¸Ë¸m²V²c¤F¡C·í¨t²Î¦w¸Ë¦n¥H«á§A¥i¥H¦A §â¥¦±µ¦^¨Ó¡C§Æ±æ³o¦b¤§«áªº release ª©¥»¥i¥H³Q­×¥¿¡C ·í§Ú¦w¸Ë¦n­«·s±Ò°Ê¨t²Î«á¡A§Ú¬Ý¨ì``panic: cant mount root'' ªº¿ù»~°T®§¡C

³o­Ó¿ù»~¬O¦]¬°±Ò°Ê°Ï¶ô¸ò®Ö¤ßµ{¦¡¹ïºÏºÐ¸Ë¸mªº»{ª¾¤£¬Û¦P¡C³q±`³o­Ó ¿ù»~·|¥X²{¦bÂùºÏºÐªº IDE ¨t²Î¡AµwºÐ©ñ¦b master¡A©Î¬O¦b¤ÀÂ÷ªº IDE ±±¨î¾¹¤W¥u¦³³æ¤@ºÏºÐ¾÷¡A¦ý¬O FreeBSD ¸Ë¦b secondary IDE ¤W ¡C·í®Ö¤ß«ü©w²Ä¤G­ÓºÏºÐ±±¨î¾¹ªº²Ä¤@­ÓºÏºÐ¾÷ wd2 ®É¡A±Ò°Ê block «o»{¬°¨t²Î¸Ë¦b wd1(²Ä¤G­Ó BIOS ºÏºÐ¾÷)¡C°»´ú§¹¸Ë¸m«á¡A®Ö¤ßµ{¦¡ ¸ÕµÛ§â±Ò°Ê block »{¬°ªº±Ò°ÊºÏºÐ(wd1) mount °_¨Ó¡A¨Æ¹ê¤W«o¬O wd2 ¡A©Ò¥H¥¢±Ñ¤F¡C

­n­×¥¿³o­Ó°ÝÃD¡A¥H¤U´XºØ¤èªk¤§¤@³£¥i¥H¸Ñ¨M¡G ·í Boot: ´£¥Ü¸¹¥X²{®É¡A¿é¤J¡G 1:wd(2,a)kernel µM«á«ö Enter¡C¦pªG¨t²Î¶}©l¤F¡A´N°õ¦æ¥H¤U©R¥O¡G echo "1:wd(2,a)kernel" > /boot.config Åý¥¦Åܦ¨¤º©wªº boot string¡C §â FreeBSD ºÏºÐ¾÷²¾¨ì primary IDE controller¡A¦]¦¹µwºÐ¾÷¬O ³sÄòªº¡C - + ­×§ï¦³Ãö wd ³]©wªº¦æ¼Æ¡G controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 # disk wd1 at wdc0 drive 1 # comment out this line controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr disk wd1 at wdc1 drive 0 # change from wd2 to wd1 disk wd2 at wdc1 drive 1 # change from wd3 to wd2 ¦w¸Ë·sªº®Ö¤ßµ{¦¡¡C ¦pªG§A²¾°Ê§AªººÏºÐ¾÷¡A¨Ã§Æ±æ§â¥ý«eªº³]©w«ì´_¡A¥u­n§âºÏºÐ¥Î¹w´Á ªº³]©w¸m´«¦^¨ÓµM«á­«·s¶}¾÷¡C§Aªº¨t²ÎÀ³¸Ó´N¯à¦¨¥\ªº±Ò°Ê¡C °O¾ÐÅ骺­­¨î¬O¤°»ò¡S

¹ï°O¾ÐÅé¨Ó»¡¡A(²z½×¤W)­­¨î¬O 4 gigabytes¡C1 gigabytes ¤w³Q´ú¸Õ ¹L¡F¤@¯ë§A¤£¥i¯à¶R¨ì¥i¥H¤ä´©¶W¹L³o­Ó¼Æ¥Øªº i386 PC¡C ffs Àɮרt²Îªº­­¨î¬O¤°»ò¡S

¹ï ffs filesystems ¦Ó¨¥¡A³Ì¤j²z½×­È­­¨î¦b 8 terabytes(2G blocks )¡A©Î·í¨Ï¥Î¤º©w 8K block ¤j¤p®É¡A­­¨î¬O 16TB¡CÁÙ¦³¡A³nÅé­­¨î¬O 1 terabytes¡A¦ý¦pªG¬O¸g¹L­×§ïªºÀɮרt²Î¤W 4 terabytes ¬O¥i¯à(¨Ã ¥B¦s¦b)ªº¡C

³æ¤@ ffs Àɮתº¤j¤p³Ì¤j¬OÁͪñ 1G blocks(4TB) - °²¦p block ¤j¤p¬O 4K¡C maxfilesize ---------------------------------- 2.2.7 3.0 fs block size -stable -current works should-work ------------- ------- -------- ----- ----------- 4K 4T-1 4T-1 4T-1 4+T 8K 32+G 8T-1 32+G 16T-1 16K 128+G 16T-1 128+G 32T-1 32K 512+G 32T-1 512+G 64T-1 64K 2048+G 64T-1 2048+G 128T-1

·í fs block ¤j¤p¬O 4K¡Atriple indirect block ¹B§@¨Ã¥B©Ò¦³ªº¨Æ±¡ ³£À³¸Ó¥Hªí¥Ü¦¨¨Ï¥Î triple indirect block ªº³Ì¤j fs block ¨Ó§@­­ ¨î(ªñ¦ü©ó 1K^3 + 1K^2 + 1K)¡A¦ý¦b fs block ¼Æ¥Ø¤W«o¦³¤@­Ó(¿ù»~) ªº 1G-1 ­­¨î¡C¹ï fs block ¼Æ¥Øªº­­¨îÀ³¸Ó¬O 2G-1¡C¦b fs block ¼Æ¥Ø±µªñ 2G-1 ®É¦³ÂI¿ù»~¡A¦ý·í fs block ¤j¤p¬O 4K ®É³o­Ó block ¼Æ¥Ø¬O¤£¯à¹F¨ìªº¡C

block ¤j¤p¦pªG¬O 8K ©Î§ó¤j¡Afs block ¼Æ¥ØÀ³¸Ó­­¨î¦b 2G-1¡A¦ý¹ê »Ú fs block ¼Æ¥Ø«o­­¨î¦b 1G-1¡A°£¤F¦b -stable ®É triple indirect blocks ¬OµLªk¹F¨ìªº¡A©Ò¥H³Ì¦h fs block ¼Æ¥Øªº­­¨î¥i¥Hªí¥Ü¦¨¥Î double indirect blocks(ªñ¦ü©ó(blocksize/4)^2 + (blocksize/4)) ¡A¥B¦b -current ¤U¶W¹L³o­Ó­­¨î¥i¯à·|¾É­P°ÝÃD²£¥Í¡C¨Ï¥Î¥¿½Tªº 2G-1 block ­­¨îªº½T·|¾É­P°ÝÃDµo¥Í¡C §Ú¸Ó«ç»ò¦b³nºÐ¤W©ñ¤J 1TB ÀɮסH

§Ú¦Û¤v´N¦b³nºÐ¤ù¤W©ñ¦n´X­Ó :-)¡CÀɮתº³Ì¤j®e¶q¨Æ¹ê¤W¸òºÏºÐ³Ì¤j ªº®e¶q¨Ã¨S¦³±K¤Á¬ÛÃö¡CºÏºÐªº³Ì¤j®e¶q¬O 1TB¡A³o¬O¤@­ÓÀɮפj¤p¥i ¥H¶W¹LºÏºÐ®e¶qªº¤@­Ó¯S¦â¡C

¥H¤U½d¨Ò·|¦b¤@­Ó¨Ï¥Î¾ã­Ó 32K ªÅ¶¡³o¼Ë¤pªº root partition ºÏºÐ ¤W«Ø¥ß¤@­Ó¤j¤p¬O 8T-1 ªºÀÉ®×(3 indirect blocks and 1 data block )¡Cdd «ü¥O»Ý­nÅý dd ¯à¦b¤@­Ó¤jÀɮפU°õ¦æ¡C ttyv0:bde@alphplex:/tmp/q> cat foo df . dd if=/dev/zero of=z bs=1 seek=`echo 2^43 - 2 | bc` count=1 ls -l z du z df . ttyv0:bde@alphplex:/tmp/q> sh foo Filesystem 1024-blocks Used Avail Capacity Mounted on /dev/sd0a 64479 27702 31619 47% / 1+0 records in 1+0 records out 1 bytes transferred in 0.000187 secs (5346 bytes/sec) -rw-r--r-- 1 bde bin 8796093022207 Sep 7 16:04 z 32 z Filesystem 1024-blocks Used Avail Capacity Mounted on /dev/sd0a 64479 27734 31587 47% / ttyv0:bde@alphplex:/tmp/q> exit

Bruce Evans, September 1998 diff --git a/zh/FAQ/kernelconfig.sgml b/zh/FAQ/kernelconfig.sgml index 3c8a52d303..cc8322a288 100644 --- a/zh/FAQ/kernelconfig.sgml +++ b/zh/FAQ/kernelconfig.sgml @@ -1,89 +1,89 @@ - + ®Ö¤ß³]©w §Ú·Q¦Û­q®Ö¤ßµ{¦¡¡A³o·|«Ü§xÃø¶Ü¡H -

¤£·|¡I½Ð¬d¾\ ¤£·|¡I½Ð¬d¾\ .

§Úªº®Ö¤ß¦]¬°

Åý§Ú²q¬Ý¬Ý¡A§A§â±q§A ªº®Ö¤ß³]©wÀɲ¾°£¤F¡A¦]¬°§A¨S¦³¼Æ¾Ç¹Bºâ¾¹¡A¹ï¶Ü¡H¿ù¤F¡I:-) ³o­Ó multi-port serial code ªº¤¤Â_½Ä¬ð¡C

# # Multiport high-speed serial line - 16550 UARTS # device sio2 at isa? port 0x2a0 tty irq 5 flags 0x501 vector siointr device sio3 at isa? port 0x2a8 tty flags 0x501 vector siointr device sio4 at isa? port 0x2b0 tty flags 0x501 vector siointr device sio5 at isa? port 0x2b8 tty flags 0x501 vector siointr §Ú¸Ó«ç»ò±Ò°Ê QIC-40/80 ªº¤ä´©¡H

§A»Ý­n¦b generic config Àɤ¤§â¥H¤U³o¦æªºµù¸Ñ¨ú®ø(©Î¬O§â¥¦¥[¨ì§Aªº ³]©wÀÉ)¡A¦b³o¦æ¥[¤J`` controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 flags 0x1 vector fdintr disk fd0 at fdc0 drive 0 ^^^^^^^^^ disk fd1 at fdc0 drive 1 #tape ft0 at fdc0 drive 2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

±µµÛ¡A§A¥i¥H¦b/dev°õ¦æ¥H¤U©R¥O, «Ø¥ß¤@­Ó¥s/dev/ft0 ªº¸Ë¸m¡G sh ./MAKEDEV ft0

¬Oµ¹²Ä¤@­Ó¸Ë¸m¨Ï¥Î¡C¦P²z§A±N·|¦³­Ó¥s/dev/ft0ªº¸Ë¸m¡A¥i¥H³z¹L¤@­Ó¯S®íªºµ{¦¡¥s `` ªº man page ¦³§ó¶i¤@¨B»¡©ú¡C

ª©¥»¤ñ/usr/src/sbin/ft§ä¥X³Ì·sª©ªº diff --git a/zh/FAQ/misc.sgml b/zh/FAQ/misc.sgml index 7c40086478..e119e8c9cb 100644 --- a/zh/FAQ/misc.sgml +++ b/zh/FAQ/misc.sgml @@ -1,242 +1,242 @@ - + ¨ä¥¦¦U¦¡¦U¼Ëªº°ÝÃD ¬°¬Æ»ò FreeBSD ¥Îªº swap ªÅ¶¡¤ñ Linux ¦h?

¤£¬O³o¼Ëªº. ¦pªG§Aªº·N«ä¬O: ``¬°¬Æ»ò§Úªº swap ¬Ý°_¨Óº¡¤F?'' ¨º¬O¦]¬°§âªF¦è©ñ¦b swap ¸Ì«á®³¦^¨Óªº³t«×·|¤ñ pager ¸g¥ÑÀɮרt ²Î®³¦^(¥¼­×§ï)ªº°õ¦æ½X§Ö.

¨Æ¹ê¤W, °O¾ÐÅ餤 dirty pages ªº¶q¨Ã¥¼´î¤Ö; clean pages «h¦b»Ý ­nªº®É­Ô²¾¨«. ¬°¬Æ»ò­n¥Î(¬Æ»ò¬O) a.out ©M ELF °õ¦æÀɮ榡?

­n¤F¸Ñ¬°¬Æ»ò FreeBSD ¨Ï¥Î a.out ®æ¦¡, ­º¥ý§A­nª¾¹D¤@¨Ç ¥Ø«e Unix ¤¤¨Ï¥Î³Ì¼sªxªº¤TºØ®æ¦¡:

³Ì¦­©M`¥j¨å'ªº unix ¥ØªºÀɮ榡. ¨Ï¥Î¤@ºØµu¦Óºò±KªºÀÉÀY, ¦ñÀH¤@­Ó³q±`¥Î¨Ó¿ë»{®æ¦¡ªºÅ]³N¼Æ¦r(°Ñ¦Ò ¦³§ó¦h²Ó¸`). ¨ã¦³¤T­Ó¸`°Ï: .text, .data, ©M .bss ¥[¤W¤@­Ó²Å¸¹ªí©M¦r¦êªí. COFF

SVR3 ¥ØªºÀɮ榡. ÀÉÀY¥]§t¤F¤@­Ó¸`°Ïªí, ©Ò¥H¥i¥H¨ã³Æ¤ñ .text, .data, .bss ÁÙ¦hªº¸`°Ï. ELF

FreeBSD ÂǥѤ@­Ó¤u¨ã, §âµ{¦¡»Ý­n¨ººØ ABI ªº¸ê°T ¯O¦L ¦b ¨ú±o§ó¦h¸ê°T.

FreeBSD ¨Ó¦Û "¥j¨å" °}Àç, ¶Ç²Î¤W³£¨Ï¥Î ®æ¦¡, ³o¬O¦b¦n´X¥Nªº BSD ¤¤ÃÒ©ú¥i¾aªº­p³N. ÁöµM¥i¥H¦b FreeBSD ¤W¥i¥H«Ø¥ß¥H¤Î°õ¦æ­ì¥Íªº ¦b FreeBSD ªºª¬ªp¤¤, §Ú­Ìªº¦@¨Éµ{¦¡®w¾÷¨î§ó±µªñ SunOS ªº «¬¦¡, ¤]´N¬O, ©ö©ó¨Ï¥Î. µM¦Ó, ±q 3.0 ¶}©l, FreeBSD ¥¿¦¡¤ä´© ¦n§a, ¦ý¬°¬Æ»ò·|¦³³o»ò¦hºØ¤£¦Pªº®æ¦¡?

¦b¶Â·tªº¹L¥h, ¥u¦³Â²³æªºµwÅé. ²³æªºµwÅé¤ä´©¤p«¬¡B²³æªº¨t²Î. a.out ¦b²³æªº¨t²Î¤W³Ó¥ô´r§Ö (PDP-11). ·í unix ²¾´Ó¨ì¨ä¥L¥­¥x®É, a.out «O¯d¤F¤U¨Ó, ¦]¬°¹ï¦­´Áªº Motorola 68K, VAX ¤§Ãþªº¬[ºc¤w¸g °÷¥Î¤F.

µM«á¦³¨ÇµwÅé¤uµ{®vı±oÅý³nÅé¦h°µÂI¨Æ, ¨º CPU ªº¹q´¹Åé´N¯à¤Ö ¤@ÂI¦Ó¶]ªº§ó§Ö. ­n¦b³oºØ·s¦¡µwÅé¤W¤u§@(²{¦bºÙ¬°RISC), ¦¹¥~, ·íµ{¦¡¶V¨Ó¶V¤j¨àºÏºÐ(¥H¤Î¥D°O¾ÐÅé)¬Û¹ï¨Ó»¡¸û¤p®É, ¦@¨É µ{¦¡®wªº·§©À´Nµo®i¥X¨Ó¤F. µêÀÀ°O¾ÐÅé¨t²Î¤]Åܱo¶V¨Ó¶Vºë¥©. ·í¨C¤@ ºØ¶i¨B³£¦b µM¦Ó, ÀHµÛ®É¶¡¹L¥h, FreeBSD ªº build tools §Î¦¨¤F¥­¦æªº¨â¤ä (¤×¨ä¬O²Õ;¹©M loader). FreeBSD ³o¤ä¥[¶i¤F¦@¨Éµ{¦¡®w¥H¤Î­×¥¿ ¤F¤@¨Ç¿ù»~. GNU ­ì¨Ó¼¶¼g³o¨Çµ{¦¡ªº¤H«h­«¼g¤F³o¨Çµ{¦¡, ¨Ã¥[¤J¤F ¹ï©ó¸ó¥­¥x½sĶ, ¤£¦P®æ¦¡¼Ò²Õ¤§ÃþªºªF¦è§ó²³æªº¤ä´©. ³\¦h¤H·Q­n °µ¥X¥H FreeBSD ¬°¥Øªº¥­¥xªº¸ó¥­¥x½s;¹, ¤£©¯ªº¬O FreeBSD ªº as ©M ld ¤£¯à°µ³o¶µ¤u§@. ·sªº GNU ¤u¨ã(binutils) ¥[¤J¤F¸ó¥­¥x½sĶ¡B ¬°¬Æ»ò chmod ¤£·|§ïÅܲŸ¹³sµ²(symlink)ªº¦s¨úÅv­­?

§A¥²¶·§â `` ¤Î man pages ¥H¨ú±o§ó¦h¸ê°T.

¥B¤£­n ¥[¥ô¦ó¿ï¶µ, ¨Ã¥B¦b symlink ªºµ²§À¥[¤W±×½u(``/''). Á|¨Ò¨Ó»¡ , ¦pªG `` chmod 555 foo/

¨Ì·Óµ²§Àªº±×½u, ·| ¸g¹L³sµ² `` ¬°¬Æ»ò±b¸¹

§A·|»{¬°­×§ï ¦b FreeBSD 3.0 ¥H¤Î¤§«áªºª©¥», ±b¸¹ªº³Ì¤jªø«×¼W¥[¨ì16­Ó¦r¤¸, ¦Ó¨º¨Ç¼g¦ºªø«×ªºµ{¦¡¤]§ä¥X¨Ó­×¥¿. ¼vÅT¨ì¨t²Î¦p¦¹¦h³¡¥÷¥¿¬Oª½¨ì 3.0 ¤~°µ­×§ïªº­ì¦].

¦pªG§A¦³¦Û«H¦b¥X°ÝÃDªº®É«á¯à¦Û¦æ¸Ñ¨M, §A¥i¥H¥Î¤U­±ªº¤èªkÅý¸û¦­ªº ª©¥»¤ä´©¸ûªøªº±b¸¹. ­×§ï /usr/include/utmp.h ¤¤ªº UT_NAMESIZE. §A¤] ¥²¶·§â /usr/include/sys/param.h ¤¤ªº MAXLOGNAME §ï¦¨¸ò UT_NAMESIZE ¬Û²Å. ³Ì«á, ¦pªG§A¬O±q­ì©lµ{¦¡«Ø¥ß¨t²Î, §O§Ñ¤F /usr/include ¨C¦¸³£ ·|§ó·s! ­×§ï /usr/src/.. ¤¤¾A·íªºÀÉ®×.

§Ú¯à¦b FreeBSD ¤U¶] DOS µ{¦¡¶Ü?

¬Oªº, ±q 3.0 ª©¶}©l¥i¥H¨Ï¥Î¤w¸g¾ã¦X¨Ã¥[±jªº BSDI

¹ï 3.0 ¤§«eªº¨t²Î, ¦b port ¤¤¦³¤@­Ó·¥¨Îªº¤u¨ãµ{¦¡ ¥i¥H¼ÒÀÀ 8088 ©M¨¬°÷ªº BIOS ªA°È¥H°õ¦æ DOS ¤å¦r¼Ò¦¡µ{¦¡. ¥¦¶·­n X Window System (¥Ñ XFree86 ´£¨Ñ). ¬Æ»ò¬O ``

·N«ä¬O Software Update Protocol, ¥Ñ CMU µo®i¥Hºû«ùµo®iªº¦P¨B. §Ú­Ì§Q¥Î¥L¨Ó«O«ù»·ºÝªº¯¸¥x©M­ì©l¯¸¥x¦P¨B.

SUP ¹ïÀW¼eªº¨Ï¥Î¤£¤Íµ½, ¦Ó¥B¤w©ñ±ó¤F. ¥Ø«e«ØÄ³ºû«ù­ì©l½X§ó·sªº¤èªk¬O - + How cool is FreeBSD?

°Ý: ¦³¤H°µ¹L FreeBSD °õ¦æ®Éªº·Å«×´ú¸Õ¶Ü? §Úª¾¹D Linux ¤ñ DOS ²D, ¦ý¨SÅ¥¤H´£¹L FreeBSD. ¦ü¥G«Ü¼ö.

A. No, but we have done numerous taste tests on blindfolded volunteers who have also had 250 micrograms of LSD-25 administered beforehand. 35% of the volunteers said that FreeBSD tasted sort of orange, whereas Linux tasted like purple haze. Neither group mentioned any particular variances in temperature that I can remember. We eventually had to throw the results of this survey out entirely anyway when we found that too many volunteers were wandering out of the room during the tests, thus skewing the results. I think most of the volunteers are at Apple now, working on their new ``scratch and sniff'' GUI. It's a funny old business we're in!

¤£¶}ª±¯º¤F, FreeBSD ©M Linux ³£¨Ï¥Î `` ½Ö¦b§Úªº°O¾ÐÅé´¡¼Ñ¤¤¨F¨F§@ÅT??

°Ý: FreeBSD ½s֤ͮ߮ɦ³°µ¬Æ»ò "©_¯S" ªº¨ÆÅý°O¾ÐÅé¨F¨F§@ÅT¶Ü? ·í½sĶ®É(ÁÙ¦³¶}¾÷®É½T»{³nºÐ«áªºµu¼È®É¶¡), ¤]ºØ¦ü¥G¨Ó¦Û°O¾ÐÅé´¡¼Ñ ªº©_©ÇÁn­µ.

µª; ¬Oªº! ¦b BSD ªº¤å¥ó¤¤§A·|±`±`¬Ý¨ì ``­I«áÆF'', ¤j³¡¥÷ªº¤H ³£¤£ª¾¹D¨º¬O¤@ºØ¹ê»Ú¦s¦bªººë¯«Åé --- ´x±±µÛ§Aªº¹q¸£. §AÅ¥¨ìªºÁn­µ ¬O³o¨Ç­I«áÆF¥H°ª­µ¤f­ï¦b·¾³q«ç¼Ë°µ³\¦hªº¨t²ÎºÞ²z¤u§@.

¦pªG³o¨ÇÁn­µ«Ü§xÂZ§A, ¨Ó¦Û DOS ªº ``fdisk /mbr'' ´N ¯àÂ\²æ, ¦ý¦pªG¦³¬Û¤Ïªº®ÄªG¤]¤£­nÅå³Y. ¨Æ¹ê¤W, ¦pªG¦b»ö¦¡¤¤Å¥¨ì Bill Gates ®£©ÆªºÁn­µ±q¤º«Øªº³â¥z¶Ç¨Ó, °¨¤W°k¦Ó¥B¤£­n¦^ÀY! ±q BSD ­I«áÆF¤£¥­¿Åªº¼vÅT¤¤¸Ñ©ñ, DOS ©M Windows ­I«áÆF³q±`³£¯à ­«·s±±¨î¾ã¥x¾÷¾¹¨Ã¹ï§AªºÆF»î¶A©G. ¦pªG¦³¿ï¾Ü, §Ú·Q§Ú¹çÄ@²ßºD©_ ©ÇªºÁn­µ. MFC ¬O¬Æ»ò·N«ä?

MFC ¬O 'Merged From -CURRENT' ªºÁY¼g. ¨Ï¥Î¦b CVS °O¿ý¤¤¥H ªí¥Ü±q CURRENT ¤¤¾ã¦X¶i STABLE ¤À¤äªº§ïÅÜ. diff --git a/zh/FAQ/network.sgml b/zh/FAQ/network.sgml index 6e7085f6a3..040ce418a5 100644 --- a/zh/FAQ/network.sgml +++ b/zh/FAQ/network.sgml @@ -1,1168 +1,1168 @@ - + Networking §ÚÀ³¸Ó¨ì­þÃä§ä¦³ÃöµLºÏºÐ¶}¾÷ (diskless booting) ªº¸ê®Æ?

µLºÏºÐ¶}¾÷´N¬OÅý FreeBSD ¥D¾÷±qºô¸ô¤W¶}¾÷,¨Ã¥B±qºô¸ô¤Wªº server ¤WŪ¨ú ¨ä¥L¥²­nªºÀÉ®×,¦Ó«D¥Ñ¥D¾÷ªºµwºÐ¤W¨ú±o³o¨ÇÀɮסC ¸Ô²Óªº¸ê®Æ¥i¥H°Ñ¦Ò - FreeBSD ªº¥D¾÷¥i¥H·í§@¬Y­Óºô¸ô¤Wªº¸ô¥Ñ¾¹ (router) ¶Ü ?

¥Ñ©óºô»Úºô¸ôªº¼Ð·Ç¤Æ©Mµ{¦¡³]­pªº¥R¤À¸gÅ礧½ç,§Ú­Ì ¯à°÷¦b FreeBSD ¨t²Î¤º«Ø«Ê¥]Âà¶Ç (packet fowarding) ªº¥\¯à¡C§A¥i¥H ±N³o­Ó¥\¯à¥´¶},¥u­n±N³o­ÓÅܼƳ]©w¬° ³o­ÓÀɮפ¤ gateway_enable=YES # Set to YES if this host will be a gateway

³o­Ó¿ï¶µ·|±N ÅܼƳ]©w ¦b¤j³¡¤Àªºª¬ªp¤U, §AÁÙ¥²¶·¦A¶]¤@­Ó³B²z routing ªºµ{¦¡,§i¶Dºô¸ô¤Wªº¨ä¥L ¥D¾÷Ãö©ó§Aªº router ³]©wªº¸ê®Æ; FreeBSD ¥X¼t®É«K¤ºªþ¤@­Ó¼Ð·Çªº BSD routing µ{¦¡ , ¦pªG§Aªººô¸ô³]©w§ó¬°½ÆÂø,§A¥i¥H¸Õ¸Õ¬Ý §Ú­Ì¦³¥²­n§i¶D§A,´Nºâ¬O FreeBSD ¥H³oºØ¤è¦¡³]©w§¹¦¨ , ¥¦ÁÙ¬OµLªk§¹¥þº¡¨¬ Internet ¹ï router ªº¼Ð·Ç©w¸q ;¤£¹L, ´N¤é±`¨Ï¥Î¦Ó¨¥¥¦¤w¸g¨¬°÷À³¥I¨Ï¥ÎªÌªº»Ý¨D¤F¡C §Ú¥i¥H³z¹L FreeBSD ±N§Úªº Win95 ¾÷¾¹³s¤W Internet ¶Ü?

°ò¥»¤W, ·|°Ý³oºØ°ÝÃDªº¤H¦b®a¸Ì¦Ü¤Ö¦³¨â¥x¹q¸£, ¤@¥x¶] FreeBSD ¥t¥~¤@¥x¶] Win95; ³o­Ó¥D·N¬O±N FreeBSD ¥D¾÷³s¤W Internet ,µM«á³z¹L³o¥x FreeBSD ¥D¾÷,Åý¶] Win95 ªº¹q¸£¯à°÷¤Wºô¡C ³o­Ó°ÝÃDºâ¬O«e¤@­Ó°ÝÃDªº¤@­Ó¯S¨Ò¡C

³oÃ䦳­«­nªº¤å¥ó,±Ð§A«ç»ò§â FreeBSD ªº¥D¾÷³]©w¦¨

©Î¬O ¦b§Aªº FreeBSD ¥D¾÷¤W¡C

¥t¥~¥i¥H°Ñ¦Ò . ¬°¤°»ò§Ú¦b compile ISC ³Ì·sª©ªº BIND µ{¦¡®É¦Ñ¬O¥¢±Ñ?

¦b ``compat/include/sys/cdefs.h ¬å±¼´N¥i¥H¤F¡C FreeBSD ¤ä´© SLIP ©M PPP ¶Ü?

¬Oªº¡C §A¥i¥H¬d¬d man pages ¤¤Ãö©ó , , ¥H¤Î ªº»¡©ú. ±Mªù³B²z¦³Ãö¼·¤Jªº¥\¯à,¦Ó ³B²z¦³Ãö¼·¥Xªº¥\¯à¡C

³o¨Çµ{¦¡¦³¸Ô²Óªº»¡©ú,§A¥i¥H¦b - ¤¤§ä¨ì: + ¤¤§ä¨ì: - - - -

¦pªG§A¥u¯àÂÇ¥Ñ"shell account"ªº¤è¦¡¤Wºôªº¸Ü, §A¥i¯à·|·Q¬Ý¬Ý ³o­Ó³nÅé¡C ¥¦¥i¥HÅý§Aªº¹q¸£ª½±µ³s¤W (¬Y¨Ç) ªA°È, ¨Ò¦p ftp ©M http µ¥µ¥¡C FreeBSD ¤ä´© NAT ©Î Masquerading ¶Ü?

¦pªG§A¦³¤@­ÓªñºÝªº¤lºô¸ô(¦³¤@¥x¥H¤Wªº¾÷¾¹), ¦ý¬O§Aªº Internet provider «o¥u¤À°t¤@­Ó IP number µ¹§A (©ÎªÌ§A¥u¤À°t¨ì¤@­Ó°ÊºAªº IP number), §A¥i¥H°Ñ¦Ò ³o­Óµ{¦¡¡C ³o­Óµ{¦¡¤]´£¨ÑÃþ¦üªº¥\¯à , ¦pªG§A¤U ¦b³o¨â­Ó³B²z¤è¦¡¤¤³£·|³Q¨Ï¥Î¨ì¡C §Ú¤£¯à¨Ï¥Î ppp ,§Ú°µ¿ù¤F¤°»ò¶Ü ?

§AÀ³¸Ó¥ý¬Ý¬Ý ©M - . ¨Ï¥Î¥H¤U«ü¥O¨Ó¥´¶}°O¿ý (logging) ªº¥\¯à set log Phase Chat Connect Carrier lcp ipcp ccp command

³o­Ó©R¥O¥i¥H¦b /etc/ppp/ppp.conf ²ÕºAÀɮפ¤¥[¤J¡C (¥[¦b default section ªº¶}ÀY³Ì¦n). ½T©w¦b ¸Ì­±¦³³o»ò¤@¦æ: !ppp *.* /var/log/ppp.log

¦Ó¥B/var/log/ppp.log ³o­ÓÀɮצs¦b¡C ¦p¦¹¤@¨Ó §A¥i¥H±q log Àɮפ¤ª¾¹D¨ì©³µo¥Í¤F¤°»ò¨Æ±¡¡C ¥ý¤£¥Î¾á¤ßÀɮתº¤º®e§A¬Ý¤£À´, ¦pªG§A­n¦V¤H¨D±Ïªº¸Ü , ±Ï§Aªº¤H·|¬Ý±oÀ´ªº¡C

¦pªG§A¨t²Î¤Wªº¨º¥÷ ppp ¤£´£¨Ñ "set log" ªº«ü¥Oªº¸Ü, §AÀ³¸Ó¥h¤U¸ü . ³o­Óª©¥»¦b FreeBSD 2.1.5 ¥H¤Wªºª©¥»³£¥i¥H¨Ï¥Î¡C §Ú¤@°õ¦æ ppp ,¥¦´N±¾¦b¨ºÃ䤣°Ê¤F

·|µo¥Í³oºØ±¡§Î³q±`¬O§Aªº hostname ¨S¦³¿ìªk¸Ñ¥X¨Ó¡C ¸Ñ¨M³o­Ó°ÝÃD ³Ì¦nªº¿ìªk¬O½T©w /etc/hosts ·|³Q§Aªº resolver ²Ä¤@­Ó°Ñ¦Ò¨ì¡C §A¥i¥H­×§ï/etc/host.conf ¨Ã¥B§âhosts ©ñ¨ì³Ì«e­±. ±µµÛ, ¥u­n§â§Aªº¾÷¾¹¦WºÙ©ñ¨ì /etc/hosts ¸Ì­±´N¥i¥H¤F¡C ¦pªG§A¨S¦³ local network ªº¸Ü, ­×§ï localhost ³o¤@¦æ: 127.0.0.1 foo.bar.com foo localhost §_«h, ´N§â§A¥D¾÷ªº¸ê°T¥[¤JÀɮפ¤¡C §A¥i¥H°Ñ¦Ò ¬ÛÃöªº man pages ¥HÀò±o¶i¤@¨Bªº¸ê°T¡C

¦pªG§A¶¶§Qªº§¹¦¨³o¨Ç°Ê§@, §AÀ³¸Ó¥i¥H¦¨¥\ªº°õ¦æ ping -c1 `hostname` . Ppp ¦b -auto ¼Ò¦¡¤U¤£¯à¼·¸¹

­º¥ý½T©w§Aªº¤º©w¸ô¥Ñ (default route) ¬O§_¦³³]©w¡C ¤U name="netstat -rn"> ³o­Ó«ü¥O, §AÀ³¸Ó¯à°÷¬Ý¨ì¦p¥H¤U½d¨Òªº¨â­Ó entries : Destination Gateway Flags Refs Use Netif Expire default 10.0.0.2 UGSc 0 0 tun0 10.0.0.2 10.0.0.1 UH 0 0 tun0

³o¨Ç³]©w¬O°²³]±z¨Ï¥Îªº address ¸ò handbook ¸Ì­±ªº³]©w, ©Î¬O»P man page ªº½d¨Ò§í©Î¬O ppp.conf.sample ³o­ÓÀɮ׸̪º³]©w¬Û¦P. ¦pªG±z¨S¦³³]©w default route, ¨º»ò¦³¥i¯à±z²{¦b¨Ï¥Îª©¥»ªº that doesn't understand the word add 0 0 HISADDR

³o¤@¦æ¦¨¬° add 0 0 10.0.0.2

default route ³o¦æ¨S¦³¥X²{ªº¥t¤@­Ó­ì¦]¬O §A³]¿ù¤F default router , ³o­Ó³]©w¦b Àɮפ¤ (³o­ÓÀɮצb release 2.2.2 «e¥s /etc/sysconfig ), §A»Ý­n¥[¤J³o»ò¤@¦æ delete ALL

¦b ppp.conf¤¤. ¦pªGµo¥Í³oºØ±¡§Î, ¦^¨ì handbook - ªº»¡©ú¤¤¬d¸ß. ¤°»ò¥s°µ "No route to host"

This error is usually due to a missin³o­Óª¬ªp³q±`¬O¦]¬°¯Ê¤Ö¤F³o¬q³]©w MYADDR: delete ALL add 0 0 HISADDR

½ÐÀˬd±zªº /etc/ppp/ppp.linkup Àɮפ¤¬O§_¦³³o¨Ç³]©w. ¥u¦³¦b±z ¨Ï¥Î°ÊºA IP (dynamic IP) ©Î¤£ª¾¹D±z gateway ªº IP ®É¤~»Ý­n³]©w³o­Ó. ¦pªG±z¬O¨Ï¥Î¤¬°Ê¼Ò¦¡(interactive mode) ªº¸Ü, ±z¥i¥H type the following after entering delete ALL add 0 0 HISADDR -

±z¥i¥H°Ñ¦Ò handbook ¤¤ ±z¥i¥H°Ñ¦Ò handbook ¤¤ ¦³¸û¸ÔºÉªº»¡©ú. §Úªº³s½u¦bµ¥«Ý¤T¤ÀÄÁ«á¤ÁÂ_¤F

ppp ¹w³]ªº timeout ­È¬O¤T¤ÀÄÁ. ¥i¥H¥Î¥H¤U³o¦æ©R¥O½Õ¾ã set timeout NNN

ppp.conf ³o­ÓÀɮ׸̭±, ©Î¬O¦b interactive mode ¸Ì­±¿é¤J³o­Ó«ü¥O. ¤]¥i¥H¥Î on the fly ªº¤è¦¡½Õ¾ã,¦b½u¸ô±Ò¥Î¨ÃÁp±µ¨ì ©Î . °Ñ¦Ò man page ¥HÀò±o§ó¸ÔºÉªº¸ê®Æ. §Úªº³s½u¦]¬°­t²ü¤Ó­«¦ÓÂ_½u

¦pªG±z³]©w¤F Link Quality Reporting (LQR) , ´N¦³¥i¯à µo¥Í±z©M¹ï¤è¥D¾÷¤§¶¡¦³¤Ó¦hªº LQR «Ê¥]¿ò¥¢ªº²{¶H. Ppp ·|¦]¦¹§PÂ_¹q¸Ü½u¸ô¦³°ÝÃD. , ¨Ã¥B¨M©w¤ÁÂ_³s½u. ¦b FreeBSD 2.2.5 ª©¥H«e, LQR ¤º©w­È¬O enabled . ²{¦bªº¤º©w­È¬O disabled. LQR ¥i¥H¥Î³o¤@¦æ©R¥O¨ú®ø disable lqr §Úªº³s½u·|¤£©w®ÉªºÂ_±¼

¦³®É­Ô¦pªG½u¸ô¤W¦³¤Ó¦h¾¸°T,¬Æ¦Ü¦pªG±z¨Ï¥Î¤F¸Ü¤¤´¡¼·ªºªA°Èªº¸Ü. , ±zªº modem ±N©Î hang ¦í,¦]¬°¥L»~»{³o¨Ç°T®§¬O lost carrier.

¤j³¡¤Àªº modem ³£¦³®e§Ô¼È®É¥¢¥h carrier ªº³]©w. . ¥H USR Sportster ¬°¨Ò, this is measured by the S10 register in tenths of a second. ¦pªG­nÅý±zªº modem ¯à®e§Ô§ó¤jªº¿ù»~, §A¥i¥H¦b±zªº dial string ¸Ì­±¥[¤J¥H¤Uªº send-expect ©R¥O: set dial "...... ATS10=10 OK ......"

°Ñ¦Ò±zªº modem ¤ºªþªº»¡©ú®Ñ¥H¨ú±o§ó¸Ô²Óªº¸ê®Æ. ¦b¬Ý¨ì Login OK! ªº°T®§¥H«á´N¨S¦³¤ÏÀ³¤F

¦b FreeBSD 2.2.5 ¥H«eªºª©¥»¤W, ¤@¦ý³s½u«Ø¥ß§¹¦¨¥H«á, ·|µ¥¹ï¤èªº¾÷¾¹±Ò°Ê Line Control Protocol (LCP). «Ü¦h ISP ¤£·|¦Û°Ê±Ò°Ê³o­Ó°T®§¥æ´«,¦Ó¬Oµ¥ «Ý cleint ºÝ±Ò°Ê. ­n±j­¢ set openmode active

§Ú¤@ª½¬Ý¨ì magic being the same ªº¿ù»~°T®§

Occasionally, just after connecting, you may see messages in the log that say "magic is the same". Sometimes, these messages are harmless, and sometimes one side or the other exits. Most ppp implementations cannot survive this problem, and even if the link seems to come up, you'll see repeated configure requests and configure acknowledgements in the log file until ppp eventually gives up and closes the connection.

This normally happens on server machines with slow disks that are spawning a getty on the port, and executing ppp from a login script or program after login. I've also heard reports of it happening consistently when using slirp. The reason is that in the time taken between getty exiting and ppp starting, the client-side ppp starts sending Line Control Protocol (LCP) packets. Because ECHO is still switched on for the port on the server, the client ppp sees these packets "reflect" back.

One part of the LCP negotiation is to establish a magic number for each side of the link so that "reflections" can be detected. The protocol says that when the peer tries to negotiate the same magic number, a NAK should be sent and a new magic number should be chosen. During the period that the server port has ECHO turned on, the client ppp sends LCP packets, sees the same magic in the reflected packet and NAKs it. It also sees the NAK reflect (which also means ppp must change its magic). This produces a potentially enormous number of magic number changes, all of which are happily piling into the server's tty buffer. As soon as ppp starts on the server, it's flooded with magic number changes and almost immediately decides it's tried enough to negotiate LCP and gives up. Meanwhile, the client, who no longer sees the reflections, becomes happy just in time to see a hangup from the server.

This can be avoided by allowing the peer to start negotiating with the following line in your ppp.conf file: set openmode passive

This tells ppp to wait for the server to initiate LCP negotiations. Some servers however may never initiate negotiations. If this is the case, you can do something like: set openmode active 3

This tells ppp to be passive for 3 seconds, and then to start sending LCP requests. If the peer starts sending requests during this period, ppp will immediately respond rather than waiting for the full 3 second period. LCP negotiations continue 'till the connection is closed

There is currently an implementation mis-feature in This goes on 'till one side figures out that they're getting nowhere and gives up.

The best way to avoid this is to configure one side to be set openmode passive command. Care should be taken with this option. You should also use the set stopped N command to limit the amount of time that set openmode active N command (where Ppp locks up shortly after connecting

Prior to version 2.2.5 of FreeBSD, it was possible that your link was disabled shortly after connection due to disable pred1 Ppp locks up when I shell out to test it

When you execute the If you wish to execute commands like this, use the Ppp over a null-modem cable never exits

There is no way for enable lqr

LQR is accepted by default if negotiated by the peer. Why does ppp dial for no reason in -auto mode

If To determine the cause, use the following line: set log +tcp/ip

This will log all traffic through the connection. The next time the line comes up unexpectedly, you will see the reason logged with a convenient timestamp next to it.

You can now disable dialing under these circumstances. Usually, this sort of problem arises due to DNS lookups. To prevent DNS lookups from establishing a connection (this will set dfilter 1 deny udp src eq 53 set dfilter 2 deny udp dst eq 53 set dfilter 3 permit 0/0 0/0

This is not always suitable, as it will effectively break your demand-dial capabilities - most programs will need a DNS lookup before doing any other network related things.

In the DNS case, you should try to determine what is actually trying to resolve a host name. A lot of the time, is the culprit. You should make sure that you tell sendmail not to do any DNS lookups in its configuration file. See the section on for details on how to create your own configuration file and what should go into it. You may also want to add the following line to your define(`confDELIVERY_MODE', `d')dnl

This will make sendmail queue everything until the queue is run (usually, sendmail is invoked with ``-bd -q30m'', telling it to run the queue every 30 minutes) or until a ``sendmail -q'' is done (perhaps from your ppp.linkup file). What do these CCP errors mean

I keep seeing the following errors in my log file: CCP: CcpSendConfigReq CCP: Received Terminate Ack (1) state = Req-Sent (6)

This is because ppp is trying to negotiate Predictor1 compression, and the peer does not want to negotiate any compression at all. The messages are harmless, but if you wish to remove them, you can disable Predictor1 compression locally too: disable pred1 Ppp locks up during file transfers with IO errors

Under FreeBSD 2.2.2 and before, there was a bug in the tun driver that prevents incoming packets of a size larger than the tun interface's MTU size. Receipt of a packet greater than the MTU size results in an IO error being logged via syslogd.

The ppp specification says that an MRU of 1500 should always be accepted as a minimum, despite any LCP negotiations, therefore it is possible that should you decrease the MTU to less than 1500, your ISP will transmit packets of 1500 regardless, and you will tickle this non-feature - locking up your link.

The problem can be circumvented by never setting an MTU of less than 1500 under FreeBSD 2.2.2 or before. Why doesn't ppp log my connection speed?

In order to log all lines of your modem ``conversation'', you must enable the following: set log +connect

This will make log everything up until the last requested "expect" string.

If you wish to see your connect speed and are using PAP or CHAP (and therefore don't have anything to "chat" after the CONNECT in the dial script - no "set login" script), you must make sure that you instruct ppp to "expect" the whole CONNECT line, something like this: set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 4 \"\" ATZ OK-ATZ-OK ATDT\\T TIMEOUT 60 CONNECT \\c \\n"

Here, we get our CONNECT, send nothing, then expect a line-feed, forcing Ppp ignores the `\' character in my chat script

Ppp parses each line in your config files so that it can interpret strings such as When the chat interpreter parses each argument, it re-interprets the argument in order to find any special escape sequences such as ``\P'' or ``\T'' (see the man page). As a result of this double-parsing, you must remember to use the correct number of escapes.

If you wish to actually send a ``\'' character to (say) your modem, you'd need something like: set dial "\"\" ATZ OK-ATZ-OK AT\\\\X OK"

resulting in the following sequence: ATZ OK AT\X OK

or set phone 1234567 set dial "\"\" ATZ OK ATDT\\T"

resulting in the following sequence: ATZ OK ATDT1234567 Ppp gets a seg-fault, but I see no

Ppp (or any other program for that matter) should never dump core. Because ppp runs with an effective user id of 0, the operating system will not write ppps core image to disk before terminating it. If, however ppp $ tar xfz ppp-*.src.tar.gz $ cd ppp*/ppp $ echo STRIP= >>Makefile $ echo CFLAGS+=-g >>Makefile $ make clean all $ su # make install # chmod 555 /usr/sbin/ppp

You will now have a debuggable version of ppp installed. You will have to be root to run ppp as all of its privileges have been revoked. When you start ppp, take a careful note of what your current directory was at the time.

Now, if and when ppp receives the segmentation violation, it will dump a core file called ppp.core. You should then do the following: $ su # gdb /usr/sbin/ppp ppp.core (gdb) bt ..... (gdb) f 0 ..... (gdb) i args ..... (gdb) l .....

All of this information should be given alongside your question, making it possible to diagnose the problem.

If you're familiar with gdb, you may wish to find out some other bits and pieces such as what actually caused the dump and the addresses & values of the relevant variables. The process that forces a dial in auto mode never connects

This was a known problem with The problem was that when that initial program calls , the IP number of the tun interface is assigned to the socket endpoint. The kernel creates the first outgoing packet and writes it to the tun device. There are several theoretical ways to approach this problem. It would be nicest if the peer would re-assign the same IP number if possible The easiest method from our side would be to never change the tun interface IP number, but instead to change all outgoing packets so that the source IP number is changed from the interface IP to the negotiated IP on the fly. This is essentially what the and ppp's Another alternative (and probably the most reliable) would be to implement a system call that changes all bound sockets from one IP to another. Yet another possibility is to allow an interface to be brought up without an IP number. Outgoing packets would be given an IP number of 255.255.255.255 up until the first SIOCAIFADDR ioctl is done. This would result in fully binding the socket. It would be up to Why don't most games work with the -alias switch

The reason games and the like don't work when libalias is in use is that the machine on the outside will try to open a connection or send (unsolicited) UDP packets to the machine on the inside. The packet alias software doesn't know that it should send these packets to the interior machine.

To make things work, make sure that the only thing running is the software that you're having problems with, then either run tcpdump on the tun interface of the gateway or enable ppp tcp/ip logging (``set log +tcp/ip'') on the gateway.

When you start the offending software, you should see packets passing through the gateway machine. When something comes back from the outside, it'll be dropped (that's the problem). Note the port number of these packets then shut down the offending software. Do this a few times to see if the port numbers are consistent. If they are, then the following line in the relevant section of /etc/ppp/ppp.conf will make the software functional: alias port proto internalmachine:port port

where ``proto'' is either ``tcp'' or ``udp'', ``internalmachine'' is the machine that you want the packets to be sent to and ``port'' is the destination port number of the packets.

You won't be able to use the software on other machines without changing the above command, and running the software on two internal machines at the same time is out of the question - after all, the outside world is seeing your entire internal network as being just a single machine.

If the port numbers aren't consistent, there are three more options:

1) Submit support in libalias. Examples of ``special cases'' can be found in /usr/src/lib/libalias/alias_*.c (alias_ftp.c is a good prototype). This usually involves reading certain recognised outgoing packets, identifying the instruction that tells the outside machine to initiate a connection back to the internal machine on a specific (random) port and setting up a ``route'' in the alias table so that the subsequent packets know where to go.

This is the most difficult solution, but it is the best and will make the software work with multiple machines.

2) Use a proxy. The application may support socks5 for example, or (as in the ``cvsup'' case) may have a ``passive'' option that avoids ever requesting that the peer open connections back to the local machine.

3) Redirect everything to the internal machine using ``alias addr''. This is the sledge-hammer approach. What are FCS errors ?

FCS stands for show hdlc command.

If your link is bad (or if your serial driver is dropping packets), you will see the occasional FCS error. This is not usually worth worrying about although it does slow down the compression protocols substantially. If you have an external modem, make sure your cable is properly shielded from interference - this may eradicate the problem.

If your link freezes as soon as you've connected and you see a large number of FCS errors, this may be because your link is not 8 bit clean. Make sure your modem is not using software flow control (XON/XOFF). If your datalink must use software flow control, use the command set accmap 0x000a0000 to tell ppp to escape the ^Q and ^S characters.

Another reason for seeing too many FCS errors may be that the remote end has stopped talking close lcp command (a following term command will reconnect you to the shell on the remote machine.

If nothing in your log file indicates why the link might have been terminated, you should ask the remote administrator (your ISP?) why the session was terminated. None of this helps - I'm desperate !

If all else fails, send as much information as you can, including your config files, how you're starting command (before and after connecting) to the mailing list or the news group, and someone should point you in the right direction. §Ú¨S¦³¿ìªk«Ø¥ß /dev/ed0 ³o­Ó device!

¦b Berkeley ºô¸ô¬[ºc¤¤, ¥u¦³ kernel µ{¦¡½X¥i¥Hª½±µ¦s¨úºô¸ô¬É­±¥d. ½Ð°Ñ¦Ò /etc/rc.network ³o­ÓÀɮשM manual pages ¨ú±o»P¨ä¥L¤£¦Pºô¸ôµ{¦¡ §ó¶i¤@¨Bªº¸ê°T. ¦pªG§Aı±o§A§¹¥þ·d²V¤Fªº¸Ü, ±zÀ³¸Ó§ä¤@¥»»P¨ä¥L BSD ¬ÛÃö §@·~¨t²Îºô¸ôºÞ²z¦³Ãö®Ñ¨Ó°Ñ¦Ò; °£¤F¤Ö¼ÆÅãµÛªº¤£¦P¥~, FreeBSD ªººô¸ôºÞ²z °ò¥»¤W©M SunOS 4.0 ©M Ultrix ¬O¤@¼Ëªº. §Ú¦p¦ó«Ø¥ß Ethernet aliases?

§â `` ©R¥O¦C¤¤,¨Ò¦p: ifconfig ed0 alias 204.141.95.2 netmask 0xffffffff §Ú¦p¦ó«ü©w§Úªº 3C503 ¨Ï¥Î¨ä¥L¤£¦Pªºªº network port?

¦pªG±z·Q¨Ï¥Î¨ä¥Lªº port, §A¥²¶·¦b ªº©R¥O¤¤«ü©wÃB¥~ªº°Ñ¼Æ. ¤º©wªº port ¬O ``. §Ú¦b³s¤W/¿é¥X FreeBSD ªº NFS ®É¥X²{°ÝÃD.

¬Y¨Ç PC ªººô¸ô¥d¤ñ¨ä¥Lªº¦n(§t»Wªº»¡¨Ó) ³oºØª¬ªp¦b³y¦¨ NFS ³oºØ¹ïºô¸ô±Ó·Pªºµ{¦¡¦³®É·|¥X²{°ÝÃD. -

°Ñ¦Ò +

°Ñ¦Ò ¥HÀò±o³o­Ó¥DÃDªº§ó¦h¸ê°T. ¬°¤°»ò§Ú¤£¯à NFS-mount Linux ªº¾÷¾¹?

¬Y¨Çª©¥»ªº Linux NFS µ{¦¡½X¥u±µ¨ü privileged port ªº mount request ; ¸Õ¥Î³o¦æ«ü¥O¬Ý¬Ý mount -o -P linuxbox:/blah /mnt W¬°¤°»ò§Ú¤£¯à NFS-mount Sun ªº¾÷¾¹?

¶] SunOS 4.X ªº Sun ¤u§@¯¸¥u±µ¨ü¨Ó¦Û privileged port ªº mount request ; ¸Õ¥Î³o¦æ«ü¥O¬Ý¬Ý mount -o -P sunbox:/blah /mnt §Ú¦b¨Ï¥Î PPP ³s½u¨ì NeXTStep ¾÷¾¹®É¦³°ÝÃD.

§â TCP extensions ¨ú®ø, ³o­Ó³]©w¦b ¸Ì­±. §â¥H¤U³o­Ó­È³]¦¨ NO: tcp_extensions=NO

Xylogic ªº Annex ¥D¾÷¤]¦³¬Û¦Pªº°ÝÃD,±z­n°µ¬Û¦Pªº­×§ï¤~¯à³s¤W ³o¨Ç¥D¾÷. §Ú­n«ç¼Ë¤~¯à§â IP multicast support ¥´¶}?

Multicast host operations are fully supported in FreeBSD 2.0 and later by default. ¦pªG±z·Q±N±zªº¥D¾÷³]©w¦¨ multicast router ªº¸Ü, ±z¥²¶·­«·s compile ±zªº kernel, ¥[¤J MROUTING ªº¿ï¶µ,¨Ã¥B°õ¦æ /etc/rc.conf ¸Ì­±ªº MBONE ªº¦UºØ¤u¨ã¥i¥H¦b¥L­Ì ports ¤U©ÒÄÝ¥s°µ mbone¥Ø¿ý¤¤§ä¨ì. ¦pªG±z¦b§äµø°T·|ijªº¤u¨ã¦p ¦pªG»Ý­n§ó¶i¤@³¡ªº°T®§,§ä§ä . ­þ¨Çºô¸ô¥d¬O¨Ï¥Î DEC PCI chipset?

¥H¤U¬O ´£¨Ñªº²M³æ: Vendor Model ---------------------------------------------- ASUS PCI-L101-TB Accton ENI1203 Cogent EM960PCI Compex ENET32-PCI D-Link DE-530 Dayna DP1203, DP2100 DEC DE435 Danpex EN-9400P3 JCIS Condor JC1260 Linksys EtherPCI Mylex LNP101 SMC EtherPower 10/100 (Model 9332) SMC EtherPower (Model 8432) TopWare TE-3500P Zynx ZX342 ¬°¤°»ò§Úªº¥D¾÷­n´£¨Ñ FQDN ?

You will probably find that the host is actually in a different domain; for example, if you are in foo.bar.edu and you wish to reach a host called ``mumble'' in the bar.edu domain, you will have to refer to it by the fully-qualified domain name, ``mumble.bar.edu'', instead of just ``mumble''.

Traditionally, this was allowed by BSD BIND resolvers. However the current version of that ships with FreeBSD no longer provides default abbreviations for non-fully qualified domain names other than the domain you are in. So an unqualified host mumble must either be found as mumble.foo.bar.edu, or it will be searched for in the root domain.

This is different from the previous behavior, where the search continued across mumble.bar.edu, and mumble.edu. Have a look at RFC 1535 for why this was considered bad practice, or even a security hole.

As a good workaround, you can place the line search foo.bar.edu bar.edu

instead of the previous domain foo.bar.edu

into your file. However, make sure that the search order does not go beyond the ``boundary between local and public administration'', as RFC 1535 calls it. ``Permission denied'' for all networking operations.

If you have compiled your kernel with the If you had unintentionally misconfigured your system for firewalling, you can restore network operability by typing the following while logged in as root: ipfw add 65534 allow all from any to any

You can also set "firewall_type='open'" in /etc/rc.conf.

For further information on configuring a FreeBSD firewall, - see the . + see the . How much overhead does IPFW incur?

The answer to this depends mostly on your rule set and processor speed. For most applications dealing with ethernet and small rule sets, the answer is, negligible. For those of you that need actual measurements to satisfy your curiosity, read on.

The following measurements were made using 2.2.5-STABLE on a 486-66. IPFW was modified to measure the time spent within the Two rule sets, each with 1000 rules were tested. The first set was designed to demonstrate a worst case scenario by repeating the rule: ipfw add deny tcp from any to any 55555

This demonstrates worst case by causing most of IPFW's packet check routine to be executed before finally deciding that the packet does not match the rule (by virtue of the port number). Following the 999th iteration of this rule was an allow ip from any to any.

The second set of rules were designed to abort the rule check quickly: ipfw add deny ip from 1.2.3.4 to 1.2.3.4

The nonmatching source IP address for the above rule causes these rules to be skipped very quickly. As before, the 1000th rule was an allow ip from any to any.

The per-packet processing overhead in the former case was approximately 2.703ms/packet, or roughly 2.7 microseconds per rule. Thus the theoretical packet processing limit with these rules is around 370 packets per second. Assuming 10Mbps ethernet and a ~1500 byte packet size, we would only be able to achieve a 55.5% bandwidth utilization.

For the latter case each packet was processed in approximately 1.172ms, or roughly 1.2 microseconds per rule. The theoretical packet processing limit here would be about 853 packets per second, which could consume 10Mbps ethernet bandwidth.

The excessive number of rules tested and the nature of those rules do not provide a real-world scenario -- they were used only to generate the timing information presented here. Here are a few things to keep in mind when building an efficient rule set: Place an `established' rule early on to handle the majority of TCP traffic. Don't put any allow tcp statements before this rule. Place heavily triggered rules earlier in the rule set than those rarely used (without changing the permissiveness of the firewall, of course). You can see which rules are used most often by examining the packet counting statistics with ipfw -a l. How can I redirect service requests from one machine to another?

You can redirect FTP (and other service) request with the 'socket' package, available in the ports tree in category 'sysutils'. Simply replace the service's commandline to call socket instead, like so: ftp stream tcp nowait nobody /usr/local/bin/socket socket ftp.foo.com ftp

where 'ftp.foo.com' and 'ftp' are the host and port to redirect to, respectively. Where can I get a bandwidth management tool?

There are two bandwidth management tools available for FreeBSD. is available for free; Bandwidth Manager from is a commercial product. Why do I get ``/dev/bpf0: device not configured"?

The Berkeley Packet Filter driver needs to be enabled before running programs that utilize it. Add this to your kernel config file and build a new kernel: pseudo-device bpfilter # Berkeley Packet Filter+

Secondly, after rebooting you will have to create the device node. This can be accomplished by a change to the /dev directory, followed by the execution of: # sh MAKEDEV bpf0+ -

Please see the Please see the for more information on creating devices. diff --git a/zh/FAQ/preface.sgml b/zh/FAQ/preface.sgml index 4cda26fbd3..3c4acfa22d 100644 --- a/zh/FAQ/preface.sgml +++ b/zh/FAQ/preface.sgml @@ -1,552 +1,552 @@ - + «e¨¥

Åwªï¨Ó¨ì FreeBSD 2.X FAQ¡I ¼g³o¥÷ FAQ ªº¥Øªº¬O¤°»ò¡H

¸ò¨ä¥L Usenet ¤Wªº FAQ ¤@¼Ë¡A³o¥÷¤å¥ó¥D­n²[»\¤F¦³Ãö FreeBSD ³o®M§@ ·~¨t²Î³Ì±`³Q°Ý¨ìªº°ÝÃD (·íµM¥]¬A¤F¦^µª¡I)¡CÁöµM»¡§Ú­Ì¥»¨Óªº¥Øªº¬O¬°¤F ´î¤Öºô¸ôÀW¼eªº®ö¶O¥H¤ÎÁ×§K¦P¼Ëªº°ÝÃD¤@¦A¥X²{¡A¦ý¬O FAQ ¤w¸g³Qµø¬°¬O¤@ ºØ«Ü¦³»ù­Èªº¸ê°T¤F¡C

§Ú­Ì¤w¸g¾¨¥i¯à¦a¨Ï³o¥÷ FAQ §óÂ×´I¤F¡F¦pªG±z¹ï¦p¦ó¨Ï¨ä§ó¶i¨B¦³¥ô¦ó «ØÄ³¡A½ÐÀH®É±H¹q¤l¶l¥óµ¹ ¡C ¤°»ò¬O FreeBSD¡H

²³æ¦a¨Ó»¡¡AFreeBSD 2.X ¬O¤@®M®Ú¾Ú U.C. Berkeley's 4.4BSD-lite release for the i386 platform ©Ò§¹¦¨ªº UN*X-like §@·~¨t²Î¡C¥¦¦P®É¤]¶¡ ±µ¨Ï¥Î¤F William Jolitz ²¾´Ó¨ì i386 ¤Wªº U.C. Berkeley's Net/2¡A¤]´N¬O 386BSD¡C¤£¹L²{¦b 386BSD ªºµ{¦¡½X¥u³Ñ¤U·¥¤Ö¼ÆÁÙ¯d¦s¦b FreeBSD ¤¤¡C±z¥i ¥H¦b §ä¨ì¦³Ãö¤° »ò¬O FreeBSD ¥H¤Î¥¦¥i¥HÀ°±z°µ¨Ç¤°»òªº¬ÛÃö¸ê°T¡C

FreeBSD ¤w³Q¼sªx¦a³Q¥@¬É¦U¦aªº¤½¥q¦æ¸¹¡AISP¡A¬ã¨s¤H­û¡A¹q¸£±M®a¡A¾Ç ¥Í¡A¥H¤Î®a®x¥Î¤á©Ò¨Ï¥Î¡A¥Î¦b¤u§@¡A±Ð¨|¡A¥H¤Î®T¼Ö¤W¡C±z¥i¥H¦b ¬Ý¨ì¤@¨Ç¦³ Ãö¥L­Ìªº¸ê®Æ¡C

¦pªG·Q¬ÝÃö©ó FreeBSD §ó²`¤Jªº¸ê®Æ¡A½Ð¬Ý - ¡C + ¡C µo®i FreeBSD ªº¥Øªº¬O¤°»ò¡H

FreeBSD ­pµeªº¥Øªº¬O´£¨Ñ¥i¥H¥ô·N¨Ï¥Î¥B¨S¦³­­¨îªº³nÅé¡C§Ú­Ì¦bµ{¦¡½X (¥H¤Î­p±Þ¥»¨­) ¤W¥I¥X¤F¤j¶q¤ß¦å¡AÁöµM§Ú­Ì¨S¦³¯S§O±j½Õ¡A¤£¹L¨Ã¤£­n¨D¥ô ¦óª÷¿ú¤Wªº¦^õX¡C§Ú­Ì¬Û«H§Ú­Ì­º­nªº``¥ô°È''´N¬O´£¨Ñµ{¦¡½Xµ¹¨C¤@­Ó¨Ï¥Î ªÌ¡A¤£ºÞ¥L­Ìªº¥Øªº¬O¤°»ò¡F³o»ò¤@¨Ó¡A³o¨Çµ{¦¡½X¤~¯à³Q¥Î¦b³Ì¦h¦a¤è¡A¤] ¤~¯àµo´§¥¦­Ì³Ì¤jªº§Q¯q¡C§Ú­Ì¬Û«H³o´N¬O¦Û¥Ñ³nÅé³Ì°ò¥»ªº¥Ø¼Ð¤§¤@¡A¦Ó¥B§Ú ­Ì·|ºÉ¥þ¤O¥h¤ä«ù¥¦¡C

¦b§Ú­Ì source tree ¤¤¦³³¡¥÷ªºµ{¦¡½X¬O±Ä¥Î©Ò¿×ªº GPL ©Î¬O LGPL ª©Åv «Å§i¡AÁöµM³o¨Çª©Åv«Å§i¬O¥Î¨Ó«O»Ù¦Ó«D­­¨î¨Ï¥ÎªÌªºÅv§Q¡A²¦³º¬O¤£¨º»ò¦Û¥Ñ ¤F¨Ç¡C¥Ñ©ó³o¨Ç GPL ªº³nÅé¦b°Ó·~¨Ï¥Î¤W·|¤Þ°_«D±`½ÆÂøªºª©Åv°ÝÃD¡A¦]¦¹¥u ­n¦³¾÷·|¡A§Ú­Ì·|ºÉ¶q¥H±Ä¥Î¤ñ¸ûÃPªº BSD ª©Åvªº³nÅé¨Ó¨ú¥N³o¨Ç GPL ª©Åv«Å §iªº³nÅé¡C ¬°¤°»ò­n¥s°µ FreeBSD¡H

±z¥i¥H§K¶O¨Ï¥Î¥¦¡A§Y¨Ï¬O¥Î©ó°Ó·~¥Î³~¡C ¾ã­Ó FreeBSD §@·~¨t²Î§¹¾ãªº­ì©lµ{¦¡³£¥i¥H§K¶O¨ú±o¡A¦Ó¥B¦b¨Ï¥Î ¤Î´²§G¦U¤è­±¤]¥u¨ü¨ì³Ì¤pªº­­¨î (¤£½×¬O§_¥Î©ó°Ó·~¥Î³~)¡C ¥ô¦ó¤H³£¥i¥H¦Û¥Ñ¦a§â¥L¹ï¨t²Îªº§ï¨}©Î¿ù»~­×¥¿ªºµ{¦¡½X¥[¤J source tree ¤§¤¤ (·íµM­n²Å¦X´X­Ó¥ý¨M±ø¥ó)¡C

¦pªGŪªÌ±zªº¥À»y¤£¬O­^»yªº¸Ü¡A±z­n¯S§Oª`·N³o¸Ìªº``free''¨âºØ¥Îªkªº ·N«ä¬O¤£¤@¼Ëªº¡G¤@ºØªº·N«ä¬O``§K¶O''¡A¥t¤@ºØªº·N«ä¬O``¦Û¥Ñ''¡C±z¥i¥H®³ FreeBSD ¥h°µ¥ô¦ó±z·Q­n°µªº¨Æ¡A°£¤F¤@¨Ç¨Ò¥~¡A¨Ò¦p±z«ÅºÙ FreeBSD ¬O±z¼g ªº¡C ³Ì·sª©ªº FreeBSD ¬O¨º¤@ª©¡H

¬O¥Ø«e³Ì·sªº stable ª©¡F¥¦©ó 1998 ¦~ 12 ¤ëµo¦æ¡C¥¦¦P®É¤]¬O¥Ø«e³Ì·sªº release ª©¡C

²³æªº»¡¡A-stable ªº¥D­n¶D¨D¹ï¶H¬O¹ï©óí©w©Ê¤Î§CÅܲ§©Ê¦³ ¸û±j»Ý¨Dªº¾÷ºc¡A¨Ò¦p ISP¡A¦Ó«D³ß·R¤@¨Ç¯S§O·s¥\¯àªº¾÷ºc¡C¦b¦¹¦P®É¡A³o ¨Çª©¥»¬O§¹¥þ¤@¼Ëªº¡A¦ý¬O¦b -current ³o­Ó¤À¤äªº§¹¦¨«×¨¬¥H°µ¤@ ­Ó¥¿±` release ¤§«e¡A³oºØ±¡ªp¤£·|ºû«ù¤Ó¤[¡C

¦ý¬O³o¨Ã¤£¥Nªí»¡ 3.0-STABLE release ´N¤£¾A¦X¥Î¦b°Ó·~ªA°È¤W¡A¨Æ¹ê ¤W¡A«Ü¦h»Ý­n 3.0 ·s¥\¯à (§ó·sªº½s;¹§Þ³N¡A§ó¦³®Ä²vªººô¸ôµ{¦¡½Xµ¥) ªº ¨Ï¥ÎªÌ³£±o¨ì¤F«D±`º¡·Nªºµ²ªG¡C¦b 1999 ¦~ 2 ¤ë 3.1-RELEASE ¥X¨Ó¤§«e¡A §Ú­Ì¤£¯à``¾á«O''3.0 ¥i¥H¾á±o°_­«­nªº¤u§@¡C ¤°»ò¬O FreeBSD-current¡H -

«üªº¬O¥¿ +

«üªº¬O¥¿ ¦bµo®i¤¤ªºª©¥»¡A¥¦²×±N¦b¾A·íªº®É¾÷¦¨¬° 4.0-RELEASE¡C¥¦¹ê¦b¬O¥u¾A¦Xµ¹ ¨t²Îµo®iªÌ¥H¤Î¦³¼Ý¤Oªº·~¾l·R¦nªÌ¨Ï¥Î¡C¦pªG·Q­n±o¨ì¦³Ãö¦p¦ó¨Ï¥Î -current ªº²`¤J¸ê°T¡A½Ð°Ñ¦Ò - ªº - ¡C + ªº + ¡C

¦pªG±z¹ï§@·~¨t²Î¥»¨­¨Ã¤£¬O«Ü¼ô±x¡A©Î¬O±z¨S¿ìªk¤À¿ë±z¹J¨ìªº°ÝÃD¬O¯u ªºµo¥Í¤F°ÝÃD¥ç©Î¬O¼È®É©Êªº¤pª¬ªp¡A¨º»ò±z´N¤£À³¸Ó¨Ï¥Î FreeBSD-current¡C ³o­Ó¤À¤äªºµ{¦¡½X¦³®É­ÔÅܰʱo«Ü§Ö¡A¦Ó¥B¥i¯à·|¦]¦¹¦Ó¨Ï±z¦³¦n´X¤Ñªº®É¶¡µL ªk§ó·s±zªº¨t²Î¡C§Ú­Ì°²³]¨Ï¥Î FreeBSD-current ªº¨Ï¥ÎªÌ³£¦³¯à¤O¥h¤ÀªR¥L ­Ì©Ò¹J¨ìªº°ÝÃD¨Ã¥B¥u¦^³ø¯u¥¿ªº°ÝÃD¦Ó«D¤pª¬ªp¡C¦pªG±z¦b -current mailing list ¤¤´£¨ìÃþ¦ü``make world ³y¦¨¤@¨Ç¦³Ãö groups ªº¿ù»~''ªº°ÝÃD¡A ¦³®É­Ô·|³Q¨ä¥L¤H»´µø¡C

¦³®É­Ô§Ú­Ì·|¬°³o¨Ç -current µo®i¤¤ªºµ{¦¡½Xµoªí ¡A§ó¦³¬ÆªÌ¡A§Ú­Ì ÁÙ·|µoªí CDROM «¬¦¡ªº snapshot¡Cµoªí³o¨Ç snapshot ªº¥Øªº¦b©ó¡G ´ú¸Õ³Ì·sª©ªº¦w¸Ëµ{¦¡¡C ´£¨Ñ¤@­Ó²³æªº¤èªkµ¹¨º¨Ç³ßÅw¨Ï¥Î -current ¦ý¬O¨S¦³®É¶¡©MÀW¼e¥h ¨C¤Ñª@¯Åªº¨Ï¥ÎªÌ¡C ¬°¤F´À§Ú­Ìµo®i¤¤ªºµ{¦¡«O¯d¤@­Ó©T©wªº°Ñ¦ÒÂI¡A¥H¨¾¤î§Ú­Ì¥¼¨Ó³y¦¨ ¤£©¯¡C(ÁöµM CVS ¥i¥H¥¿±`¦a¨¾¤îÃþ¦ü³oºØªº¥i©È¨Æ¥ó :) ¬°¤F½T«O©Ò¦³»Ý­n´ú¸Õªº·s¥\¯à³£¥i¥H±o¨ì³Ì¦hªº´ú¸Õ¡C

µL½×¦p¦ó¡A§Ú­Ì¤£«OÃÒ snapshot ªº«~½è¡C¬°¤Fí©w©Ê¡A±z³Ì¦n¨Ï¥Î§¹¥þ release ªºª©¥»¡C

±z¥i¥Hª½±µ±q ¨ú±o snapshot release¡A¤£ºÞ¬O 4.0-current ©Î¬O 3.0-stable¡A¥­§¡¨C¤Ñ³£·|²£¥Í¤@­Ó snapshot ªºª©¥»¡C ¤°»ò¬O FreeBSD-stable¡H

¦^·¹¨ì FreeBSD 2.0.5 ­èµoªíªº®É­Ô¡A§Ú­Ì¨M©w§â FreeBSD ªº release - ¤À¦¨¨â¤ä¡C¤@¤ä¥s°µ¡A + ¤À¦¨¨â¤ä¡C¤@¤ä¥s°µ¡A §Ú­Ì¥u¹ï¥¦°µ¿ù»~­×¥¿¤Î¤p´T«×ªº­×§ï (³o¬Oµ¹ ISP ©M°Ó·~¤½¥qµ¥¹ï¹êÅ礤¥\ ¯à¤£·P¿³½ìªº³æ¦ì©Ò¨Ï¥Îªº)¡C¥t¥~¤@¤ä¥s°µ - ¡A±q 2.0 ª©µo¦æ¥H + ¡A±q 2.0 ª©µo¦æ¥H «á´N¤£¶¡Â_¦a´ÂµÛ 4.0-RELEASE (¥H¤Î¥H«áªºª©¥») «e¶iµÛ¡C¤U­±´N¬Oª©¥»ºt ¶iªº¥Ü·N¹Ï¡G 2.0 | | | [2.1-stable] *BRANCH* 2.0.5 -> 2.1 -> 2.1.5 -> 2.1.6 -> 2.1.7.1 [2.1-stable ends] | (Mar 1997) | | | [2.2-stable] *BRANCH* 2.2.1 -> 2.2.2-RELEASE -> 2.2.5 -> 2.2.6 -> 2.2.7 -> 2.2.8 [end] | (Mar 1997) (Oct 97) (Apr 98) (Jul 98) (Dec 98) | | 3.0-SNAPs (started Q1 1997) | | 3.0.0-RELEASE (Oct 1998) | | [3.0-stable] *BRANCH* 3.1 (Feb 1999) -> ... future 3.x releases ... | | \|/ + [4.0-current continues]

-current ³o­Ó¤À¤ä¥¿½wºC¦a´Â¦V 4.0 ¥H¤Î¥H«áªºª©¥»«e¶iµÛ¡A¦Ó¤§«eªº 2.2-stable ¤À¤ä«hÀHµÛ 2.2.8 ªºµoªí¦Ó¥\¦¨¨­°h¡C3.0-stable ±N·|¦¨¬°¥D­n ªºµo®i½u¡Aª½¨ì 1999 ¦~ªì 3.1 µoªí¬°¤î¡C4.0 ¬O¥Ø«eªº "current ¤À¤ä"¡A 4.0 ªº²Ä¤@¦¸ release À³¸Ó·|¦b 2000 ¦~²Ä¤@©u¡C ·sªº FreeBSD ±N©ó¤°»ò®É­Ô±À¥X¡H

¤@¯ë¦Ó¨¥¡A·í FreeBSD core team »{¬°¤w¸g²Ö¿n¤F¨¬°÷¦hªº·s¥\¯à©M¿ù»~­× ¥¿¡A¦Ó¥B³o¨Ç§ó°Ê¨Ã¤£¼vÅT¨t²Îí©w«×ªº®É­Ô¡A¥L­Ì¤~·|±À¥X·sª©ªº FreeBSD¡C ÁöµMµ¥«Ý³o¨Ç¦nªF¦èªº®É¶¡¥O¤H¦³ÂIªq³à¡A¦ý¬O¤j¦h¼Æªº¨Ï¥ÎªÌ³£»{¬°³oºØÂÔ·V ªººA«×¬O FreeBSD ³Ì¦nªº³¡¥÷¤§¤@¡C

¥­§¡¦Ó¨¥¡A§Ú­Ì¨C¥|­Ó¤ëµo¦æ¤@¦¸ release¡C

¬°¤Fº¡¨¬¨º¨Ç»Ý­n (©Î·Q­n) ¨ë¿Eªº¨Ï¥ÎªÌ¡A³q±` SNAP ªºµoªí¬O¬Û·íÀWÁc ªº¡A¯S§O¬O¦b release µoªí¤§«e¤@­Ó¤ë¥ª¥k¡C FreeBSD ¥u¯à¦b PC ¤W¨Ï¥Î¶Ü¡H

FreeBSD 3.x ¥Ø«e¥i¥H¦b ¤W¨Ï¥Î¡A´N¹³¦b x86 ¬[ ºc¤U¨Ï¥Î¤@¼Ë¡C§Ú­Ì¹ï²¾´Ó¨ì SPARC ¤W¤]¦³¬Û·íªº¿³½ì¡A¤£¹L³o³¡¥÷ªº­pµeÁÙ ¨S¦³§¹¥þ©ú®Ô¤Æ¡C ¦pªG±zªº¾÷¾¹¤£¬O¥H¤W³o¨Ç¬[ºc¡A¦Ó¥B±z²{¦b´N­nªº¸Ü¡A§Ú­Ì«ØÄ³±z°Ñ¦Ò ©Î¬O ¡C ½Ö­t³d FreeBSD ªºµo®i¡H

¦pªG¬O¤@¨Ç¦³Ãö FreeBSD ­pµeªºÃöÁä©Ê¨M©w¡A¹³¬O¾ã­Ó­pµeªº¨«¦V©Î¬O¨M ©w½Ö¥i¥H§ï source tree ¸Ìªºµ{¦¡½X³oÃþªº¨Æ¡A¬O¥Ñ¤@­Ó¬ù 15 ­Ó¤H©Ò²Õ¦¨ªº - ¨Ó¨M©w¡C¦Ó¦³ + ¨Ó¨M©w¡C¦Ó¦³ ¥t¤@¸s¬ù 100 ­Ó¤H¦³Åv§Q¥i¥Hª½±µ­×§ï FreeBSD ªº source tree¡C

µL½×¦p¦ó¡A¤j¦h¼Æªº§ïÅܳ£·|¨Æ«e¦b ¥ý°Q½×¹L¡A¦Ó¥B¨C­Ó¤H³£¥i¥H°Ñ»P °Q½×¡C §Ú­n¦p¦ó¨ú±o FreeBSD¡H

¨C­Ó FreeBSD ªº­«­nª©¥»³£¥i¥H¸g¥Ñ°Î¦W ftp ±q ¨ú±o¡C ¦pªG¬O¥Ø«eªº 2.2-stable release¡A2.2.8R¡A½Ð¬Ý ³o­Ó¥Ø¿ý¡C ¦pªG¬O¥Ø«eªº 3.0-stable release¡A3.0-RELEASE¡A½Ð¬Ý ³o­Ó¥Ø¿ý¡C ÀHµÛ RELENG_2_2 ¤À¤ä («á¨Óªº 2.2.8) ºCºC¦a¶i¤JºûÅ@¶¥¬q¡A§Ú­Ì¨C ¤Ñ³£·|µo¦æ ¡C§Ú­Ì¥Ø«e¥¿§´µ½ºûÅ@µÛ RELENG_2_2 ³o­Ó¤À¤ä¡A°£«D ¹ï¨t²Î¦w¥þ©Î¬O¨t²Îªº¥i¾a©Ê¦³©Ò¼W±j¡A§_«h§Ú­Ì±N¤£¦A§ó°Ê¡C ÀHµÛ RELENG_3 ¤À¤ä («á¨Óªº 3.0-release) ºCºC´ÂµÛ 3.1-RELEASE µo®i¡A§Ú­Ì¤]·|¨C¤Ñµo¦æ ¡C ¤À¤ä¨C¤Ñ³£·|±À¥X ¡A¯Âºé¬O¬°¤F¼ö¤ßªº´ú¸ÕªÌ¥H¤Îµo®i¤H­û©Ò´£¨Ñªº¡C

FreeBSD ªº CDROM ¥i¥H±q¤U¦C¦a¤è¨ú±o :

Walnut Creek CDROM 4041 Pike Lane, Suite F Concord, CA 94520 USA Orders: +1 800 786-9907 Questions: +1 925 674-0783 FAX: +1 925 674-0821 email: WWW:

¦pªG±z¦b¿D¬w¡A±z¥i¥H§ä¡G

Advanced Multimedia Distributors Factory 1/1 Ovata Drive Tullamarine, Melbourne Victoria Australia Voice: +61 3 9338 6777 CDROM Support BBS 17 Irvine St Peppermint Grove WA 6011 Voice: +61 9 385-3793 Fax: +61 9 385-2360 ¦b­^°ê¡G The Public Domain & Shareware Library Winscombe House¡ABeacon Rd Crowborough Sussex. TN6 1UL Voice: +44 1892 663-298 Fax: +44 1892 667-473 §Ú¦b¨º¸Ì¥i¥H§ä¨ì¦³Ãö FreeBSD mailing lists ªº¸ê°T¡H -

±z¥i¥H¦b ±z¥i¥H¦b ¤¤§ä¨ì§¹¾ãªº¸ê°T¡C ¦³¤°»ò°Q½× FreeBSD ªº·s»D°Q½×¸s²Õ¶Ü¡H -

±z¥i¥H¦b ±z¥i¥H¦b ¤¤§ä¨ì§¹¾ãªº¸ê°T¡C ¦³±Mªù°Q½× FreeBSD ªº IRC ÀW¹D¶Ü¡H

¬Oªº¡A¤j³¡¥÷¥D­nªº IRC ºô¸ô¥D¾÷³£´£¨Ñ¤F FreeBSD ªº²á¤ÑÀW¹D¡G EFNet ©Ò´£¨Ñªº #FreeBSD ÀW¹D¬O¤@­Ó FreeBSD ªº½× ¾Â¡A¦ý¬O±z¥i¯àµLªk±q¨ºÃä±o¨ì§Þ³N¤è­±ªº¤ä´©¡A±z¤]§O·Q¦b¨ºÃä§ä¨ì¥ô¦ó ¤H¥i¥HÀ°±zÁ×§K±¼¾\Ū man page ¥H¤Î¦Û¤v¬ã¨sªºµh­W¡C¨º¬O¤@­Ó¥H²á¤Ñ¬° ¥DªºÀW¹D¡A¦b¨ºÃä²á¨ì FreeBSD ©M²á¨ì©Ê¡B¹B°Ê¡B¥H¤Î®Ö¤lªZ¾¹ªº¾÷·|¬O ¤@¼Ë°ªªº¡C §Ú­Ì¤w¸gĵ§i¹L±z¤F¡C ±z¥i¥H¸g¥Ñ irc.chat.org ¨Ó³s½u¡C DALNET ©Ò´£¨Ñªº #FreeBSD ÀW¹D¡A¦b¬ü°ê¥i¥H¸g¥Ñ irc.dal.net ¨Ó³s½u¡A¦b¼Ú¬w¥i¥H¸g¥Ñ irc.eu.dal.net ¨Ó³s½u¡C UNDERNET ©Ò´£¨Ñªº #FreeBSD ÀW¹D¡A¦b¬ü°ê¥i¥H¸g¥Ñ us.undernet.org ¨Ó³s½u¡A¦b¼Ú¬w¥i¥H¸g¥Ñ eu.undernet.org ¨Ó³s½u¡C ³Ì«á¡A±z¤]¥i¥H¥[¤J BSDNET ©Ò´£¨Ñªº #FreeBSD ÀW ¹D¡A³o¬O¤@­Ó¤p«¬ªº BSD ±M¥Î²á¤Ñºô¸ô¡A¥i¥H¸g¥Ñ irc.FreeBSD.org ¨Ó³s½u¡C

¥H¤Wªº³o¨ÇÀW¹D³£¬O¤£¦Pªº¡A¦Ó¥B¥¦­Ì¨Ã¨S¦³¤¬¬Û³s³q¡C¥¦­Ì²á¤Ñªº¤è¦¡¤] ¤£¾¨¬Û¦P¡A©Ò¥H±z¥i¯à¨C­Ó³£­n¥hÀ|¸Õ¤@¤U¡A¥H§ä¨ì³Ì¾A¦X±zªºÀW¹D¡C FreeBSD ¬ÛÃö®ÑÄy

±z©Î³\¥i¥H¸Õ¸Õ¬Ý doc mailing list¡G ¤Wªº FreeBSD ¤å¥ó­pµe (¦pªG±z ¯à¥[¤J³o¬O­pµe¨º¬O¦A¦n¤£¹Lªº¤F)¡C³o­Ó mailing list ¬O¥Î¨Ó°Q½× FreeBSD ¤å¥óªº¡C¦pªG±z·Q­nµo°Ý°ÝÃDªº¸Ü¡A§Ú­Ì¤]¦³ questions mailing list¡G ¡C

±z¤]¥i¥H±q - + ¨ú±o FreeBSD``¨Ï¥Î¤â¥U''¡C½Ðª`·N¡A³o¥÷¤å¥ó¤´³B©ó»s§@¶¥¬q¡A¦³«Ü¦h³¡¥÷³£ ÁÙ¨S¦³§¹¦¨¡C

¦³Ãö FreeBSD ªº®ÑÄy¤¤¡A³Ì¦nªºÀ³¸Ó´N¬O Greg Lehey µÛ§@¡AWalnut Creek CDROM Books ¥Xª©ªº``The Complete FreeBSD''¤F¡C²{¦b³o¥»®Ñ¤w¸g¥X¨ì²Ä¤Gª© ¤F¡AÁ`¦@ 1750 ­¶¥ª¥k¡A¤º®e¥]¬A¦w¸Ë¡A¨t²ÎºÞ²z«ü¾É¡Aµ{¦¡¦w¸Ë¨ó§U¡A¥H¤Î manual pages¡C³o¥»®Ñ (¥H¤Î³Ì·sª©ªº FreeBSD release) ¥i¥H¦V ¡A ¡A©Î¬O¥ô¦ó¤@¶¡ ±z³ßÅwªº®Ñ§½­qÁÊ¡C¥Lªº ISBN ¸¹½X¬O 1-57176-227-2¡C

µM¦Ó¡A¦]¬° FreeBSD 2.2.X ¬O¥H 4.4BSD-Lite2 ¬°°ò¦¨Óµo®iªº¨t²Î¡A©Ò¥H ¤j³¡¥÷ 4.4BSD ªº¤â¥U³£¾A¥Î©ó FreeBSD 2.2.X¡CO'Reilly and Associates ¥Xª©¤F¤U¦C¤â¥U¡G 4.4BSD System Manager's Manual By Computer Systems Research Group, UC Berkeley 1st Edition June 1994, 804 pages : 1-56592-080-5 4.4BSD User's Reference Manual By Computer Systems Research Group, UC Berkeley 1st Edition June 1994, 905 pages : 1-56592-075-9 4.4BSD User's Supplementary Documents By Computer Systems Research Group, UC Berkeley 1st Edition July 1994, 712 pages : 1-56592-076-7 4.4BSD Programmer's Reference Manual By Computer Systems Research Group, UC Berkeley 1st Edition June 1994, 886 pages : 1-56592-078-3 4.4BSD Programmer's Supplementary Documents By Computer Systems Research Group, UC Berkeley 1st Edition July 1994, 596 pages : 1-56592-079-1

±z¥i¥H¦b WWW ¤W§ä¨ì¬ÛÃö¤¶²Ð¡G ¡C¦]¬°¾P°â±¡§Î¨Ã¤£¬O«Ü¦n¡A©Ò¥H±z¥i¯à«Ü Ãø¥h¨ú±o³o¨Ç®ÑÄy¡C

¦pªG±z·Q¹ï 4.4BSD ªº®Ö¤ß¬[ºc¦³§ó²`¼hªº»{ÃÑ¡A±zµ´¤£¯à¿ù¹L³o¥»®Ñ :

McKusick, Marshall Kirk, Keith Bostic, Michael J Karels, and John Quarterman.

The Design and Implementation of the 4.4BSD Operating System. Reading, Mass. : Addison-Wesley, 1996. 0-201-54979-4

¤@¥»¦³Ãö¨t²ÎºÞ²zªº¦n®Ñ¡G

Evi Nemeth, Garth Snyder, Scott Seebass & Trent R. Hein, ``Unix System Administration Handbook'', Prentice-Hall, 1995 : 0-13-151051-7

³o¥»®Ñ²[»\¤F¤@¨Ç°ò¦ªºªF¦è¡A¥]¬A TCP/IP¡ADNS¡ANFS¡ASLIP/PPP¡A sendmail¡AINN/NNTP¡Aprinting¡Aµ¥¡C³o¥»®ÑÆZ¶Qªº (¤j¬ù US$45-$55) ¡A¤£¹L¥¦ªº½T¦³³o­Ó»ù­È¡C¥¦¤]ªþ¤F¤@¤ù¤º§t¤@¨Ç ¤u¨ãµ{¦¡­ì©l½Xªº CDROM¡F¤j³¡¥÷ªºªF¦è¦b FreeBSD 2.2.6R ªº CDROM ¸Ì¤]¦³ ( ³q±` FreeBSD CDROM ¸Ìªº¬O¤ñ¸û·sª©ªº) ¡C §Ú­n¦p¦ó¥h¦s¨ú±z­Ìªº¿ù»~¦^³ø¸ê®Æ®w©O¡H

©Ò¦³¨Ï¥ÎªÌ open ªºÅܧó­n¨D³£¥i¥H¸g¥Ñ§Ú­Ì web ¬É­±ªº PR ¤Î ¨Ó¬d¸ß (©Î¬O¦^³ø) §Ú­Ìªº¿ù»~¦^³ø¸ê®Æ®w¡Csend-pr(1) ³o­Ó«ü¥O¤] ¥i¥H¸g¥Ñ¹q¤l¶l¥ó¨Ó¦^³ø¿ù»~©Î¬O­n¨DÅܧó¡C ¨º¸Ì¥i¥H§ä¨ì ASCII ©Î¬O PostScript ª©ªº FAQ¡H

³Ì·sªº FAQ ¥i¥H±q FreeBSD ºô¯¸©Î¬O¥ô¦ó¤@­Ó mirror ¯¸»O¨ú±o¡A¤£½×¬O PostScript ©Î¬O¯Â¤å¦rªº (¥]¬A 7 bit ASCII ¥H¤Î 8-bit Latin1) ³£¦³¡C

PostScript ®æ¦¡ (¤j¬ù 370KB)¡G

ASCII ®æ¦¡ (¤j¬ù 220KB)¡G

ISO 8859-1 ®æ¦¡ (¤j¬ù 220KB)¡G ¨º¸Ì¥i¥H§ä¨ì ASCII ©Î¬O PostScript ª©ªº¨Ï¥Î¤â¥U¡H

³Ì·sªº FAQ ¥i¥H±q FreeBSD ºô¯¸©Î¬O¥ô¦ó¤@­Ó mirror ¯¸»O¨ú±o¡A¤£½×¬O PostScript ©Î¬O¯Â¤å¦rªº (¥]¬A 7 bit ASCII ¥H¤Î 8-bit Latin1) ³£¦³¡C

PostScript ®æ¦¡ (¤j¬ù 1.7MB)¡G

ASCII ®æ¦¡ (¤j¬ù 1080KB)¡G

ISO 8859-1 ®æ¦¡ (¤j¬ù 1080KB)¡G ASCII ª©ªº¨Ï¥Î¤â¥U¤£¬O¯Â¤å¦rÀÉ¡I

¬Oªº¡AASCII ©M Latin1 ®æ¦¡ªº FAQ ¥H¤Î¨Ï¥Î¤â¥UÄY®æ¨Ó»¡¨Ã¤£¯àºâ¬O¯Â ¤å¦rÀÉ¡F¥¦­Ì¥]§t¤F¤@¨Ç¦L¥X©³½u¥H¤Î­«ÂЦC¦Lªº±±¨î½X¥H«K¯àª½±µ¥ÑÂI¯x°} ¦¡¦Lªí¾÷¿é¥X¡C¦pªG±z·Q§â¥¦­ÌÂন¤@¯ëªº¤å¦rÀɪº¸Ü¡A¥i¥H§Q¥Î col¡G $ col -b < inputfile > outputfile §Ú·Q¦¨¬° FreeBSD ªº mirror ¯¸»O¡I

·íµM¥i¥H¡I¦³«Ü¦h¤èªk¥i¥H mirror §Ú­Ìªººô­¶¡C §Q¥Î CVSUP¡G±z¥i¥H§Q¥Î CVSUP ±q cvsup.freebsd.org ¨ú±o®æ¦¡¤Æ ¹LªºÀɮסC±z¥u»Ý­n§â¤U­±³o¦æ¥[¤J±zªº cvsup ³]©wÀÉ¡G www release=current hostname=/home base=/usr/local/etc/cvsup prefix=/usr/local/www/data/www.freebsd.org delete old use-rel-suffix §Q¥Î rsync¡G½Ð°Ñ¾\ ¥HÀò±o§ó¦h¸ê°T¡C §Q¥Î ftp mirror¡G±z¥i¥H§Q¥Î±z³ßÅwªº ftp mirror ¤u¨ã±q FTP ¯¸ »O¤¤¨ú±oºô­¶¸ê®Æ¡C´N±q ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/www ¶}©l§a¡C §Ú·Q­n½Ķ¤å¥ó

¶â¡A§Ú­Ì¨S¯à¤Oµ¹±zÁ~¤ô¡A¤£¹L¦pªG±z¯à´£¨Ñ½Ķ¦nªº¤å¥óªº¸Ü¡A§Ú­Ì·|°e ±z CD ©Î¬O T-shirt¡A¨Ã§â±z¥[¤J¨Ï¥Î¤â¥U¸Ì Contributor ªº¦æ¦C¡C ¨ä¥L¸ê°T¨Ó·½

¤U¦C newsgroups ¤¤¥]¬A¤F FreeBSD ¬ÛÃöªº°Q½×¡G (moderated)

ºô­¶¸ê·½¡G The .

FreeBSD ¨Ï¥Î¤â¥U¤]¦³¤@¤À«Ü§¹¾ãªº - ¡A¦pªG±z + ¡A¦pªG±z ¥¿·Q¶R®Ñªº¸Ü¡A³o³¡¥÷­È±o¤@¬Ý¡C - \ No newline at end of file + diff --git a/zh/FAQ/troubleshoot.sgml b/zh/FAQ/troubleshoot.sgml index f0a51019a6..d1ca8d3c25 100644 --- a/zh/FAQ/troubleshoot.sgml +++ b/zh/FAQ/troubleshoot.sgml @@ -1,446 +1,446 @@ - + ±`¨£°ÝÃD¸Ñ¨M §ÚªºµwºÐ¦³Ãa­y!

­Y¬O SCSI µwºÐªº¸Ü¡AÀ³¸Ó¦³¯à¤O¦Û°Ê§@ re-mapping ªº°Ê§@¡C µM¦Ó¡A¦]¬°¤@¨Ç¯«¯µªº¦]¯À¡A¦b¥X¼t®É¡A«Ü¦hµwºÐªº³o¶µ¥\¯à¬OÃö³¬ªº.

­n±N¨ä­«·s¶}±Ò¡A±z»Ý­n½s¿è¸Ë¸mªº²Ä¤@­Ó page ¼Ò¦¡ ¡]first device page mode¡^¡A¦b FreeBSD ¤W¥i¥H¥Î¤U­±ªº«ü¥O¿ì¨ì ¡]¥H root ¨­¤À°õ¦æ¡^ scsi -f /dev/rsd0c -m 1 -e -P 3

µM«á±N AWRE ©M ARRE ªº¼Æ­È±q 0 Åܦ¨ 1:- AWRE (Auto Write Reallocation Enbld): 1 ARRE (Auto Read Reallocation Enbld): 1

¤W­±³o¬q¬O¥Ñ ©Ò´£¨Ñ:

­Y¬° IDE µwºÐ¡A¥ô¦óªºÃa­y³q±`³£¬O³Â·Ðªº¹w¥ü¡C¥Ø«e©Ò¦³¸û·sªº IDE µw ºÐ¡A¤º³¡³£¦³¦Û°Ê remapping Ãa­yªº¯à¤O¡C¥Ø«e©Ò¦³ IDE µwºÐ»s³y°Ó¡A³£´£¨Ñ ¤F§ó¤[ªº«OÃÒ¡A¦Ó¥B·|À°±z§ó´«¥X²{Ãa­yªºµwºÐ¡C

¦pªG±z¤´·Q­n­×´_²£¥ÍÃa­yªº IDE µwºÐ¡A±z¤´¥i¥H¸ÕµÛ¥h¤U¸ü IDE µwºÐ»s³y °Ó©Ò´£¨ÑªºÀË´úµ{¦¡¡A¨Ã¥Î¥¦¨ÓÀˬd±zªºµwºÐ¡C¦³®É³o¨Ç³nÅé¥i¥H±j­¢µwºÐ¹q¸ô ­«·sÀˬdµwºÐªºÃa­y¡A¨Ã±N¥¦­Ì¼Ð¥Ü¥X¨Ó.

¹ï ESDI¡ARLL ¤Î MFM ªºµwºÐ¨Ó»¡¡A³q±`Ãa­y¬O¥¿±`²{¶H¡A¤]¤£¬O¤°»ò³Â·Ðªº «e¥ü¡C¦b PC ¤W¡AºÏºÐ±±¨î¥d©M BIOS ­t³d¼Ð¥ÜÃa­yªº¥ô°È¡C³o¹ï¤@¨Ç¨Ï¥Î BIOS ¨Ó¦s¨úºÏºÐªº§@·~Àô¹Ò(¦p DOS)¬O¨S¦³°ÝÃDªº¡CµM¦Ó¡AFreeBSD ªººÏºÐÅX°Êµ{¦¡ ¨Ã¤£¸g¹L BIOS ¨Ó¦s¨úºÏºÐ¡A©Ò¥H¡A¦³­Ó bad144 ªº¾÷¨î¥Î¨Ó¨ú¥N³o¶µ¥\¯à¡C bad144 ¥u¯à¥Î¦b wd ³o­ÓºÏºÐÅX°Êµ{¦¡¤W¡A¥¦µLªk¥Î¦b SCSI µwºÐ¤W¡Cbad144 ªº¤u§@¤èªk¬O±N©Ò¦³§ä¨ìªºÃa­y¸ê®Æ¦s¨ì¤@­Ó¯S§OªºÀÉ®×ùØ¡C

¨Ï¥Î bad144 ªºÄµ§i - ¦sµÛÃa­y¸ê®Æªº¯S§OÀɮ׬O©ñ¦bµwºÐªº³Ì«á¤@­y ¤W¡C¦]¬°³o­ÓÀÉ®×Àx¦sªºÃa­y¸ê®Æ¤¤¡A¦³¥i¯à¦³¨Ç¸ê®Æ¬O«ü¦VµwºÐ³Ì«eºÝ©Òµo¥Í ªºÃa­y±¡§Î¡A´N¬O¥i¯àÀx¦s /kernel ³o­ÓÀɪº¦a¤è¡A©Ò¥H¥¦¤@©w­n¯à³Q¶}¾÷µ{¦¡ ©ÒŪ¨ú¡A¦Ó¶}¾÷µ{¦¡¬O³z¹L BIOS ¨ÓŪ¨ú kernel ÀÉ¡C³oªí¥Ü¤F¨Ï¥Î bad144 ªº µwºÐµ´¤£¯à¾Ö¦³¶W¹L 1024 ­Ó cylinder¡A16 ­Ó head ¤Î 63 ­Ó sector¡C ³o³y¦¨¤F¨Ï¥Î bad144 ªºµwºÐªº¤j¤p¤£¯à¤j©ó 500 MB¡C

­n¨Ï¥Î bad144 «Ü²³æ¡A¥u­n¦b¶}©l¦w¸Ë®É¡A¦b FreeBSD fdisk µe­±§â "Bad Block" ±½ºË³]¬° ON §Y¥i¡C¦b FreeBSD 2.2.7 ¥H«á³£¥i¥H¨Ï¥Î¦¹¤èªk¡C ¦ý³o­ÓµwºÐªº cylinder ¤@©w­n¦b 1024 ¥H¤U¡C¨Ï¥Î«e¡A§Ú­Ì«ØÄ³³o­ÓµwºÐ­n ¦Ü¤Ö¥ý¨Ï¥Î¥|­Ó¤p®É¡A¥H«K¼ö¿±µÈ»PºÏ­y°¾²¾¹F¤@¯ëª¬ºA¡C

¦pªG³o­ÓµwºÐ¾Ö¦³¶W¹L 1024 ­Ó cylinder (¹³¤j®e¶qªº ESDI µwºÐ)¡A ESDI ±±¨î¥d§Q¥Î¤@­Ó¯S§OªºÂà´«¼Ò¦¡¨Ï¥¦¯à¦b DOS ¤U¤u§@¡C ¦Ó¦pªG±z¦b fdisk ùتº "set geometry" ¤¤¿é¤J "Âà´«¹L" ªº geometry¡Awd ³o ­ÓÅX°Êµ{¦¡¯à¤F¸Ñ³o¨ÇÂà´«¼Ò¦¡¡C±z¤]µ´¹ï¤£¯à¨Ï¥Î dangerously dedicated ¼Ò ¦¡¨Ó«Ø¥ß FreeBSD ªº¤À³Î°Ï¡A¦]¬°¥¦·|©¿²¤ geometry ³o­Ó°Ñ¼Æ¡C ¦¹¥~¡A´Nºâ fdisk ¨Ï¥Î±z©Ò¿é¤Jªº geometry °Ñ¼Æ¡A¥¦¨ÌµM·|¥hŪ¨ú³oµwºÐªº ¯u¥¿¸ê®Æ¡A¦Ó·|¹Á¸Õ¥h«Ø¥ß¤@­Ó¹L¤jªº FreeBSD ¤À³Î°Ï¡C¦pªGºÏºÐªº geometry ¤w¸g³Q "Âà´«" ¹L¤F¡A¨º»ò³o­Ó¤À³Î°Ï "¥²¶·" ¥H¤â°Ê¿é¤J block ¼Æ¥Øªº¤èªk¨Ó «Ø¥ß¡C

¤@­Ó§Ö³tªº¤p§Þ¥©¬O§Q¥Î ESDI ±±¨î¥d¨Ó³]©w¤j®e¶qªº ESDI µwºÐ¡A¥Î DOS ¶} ¾÷¤ù¶}¾÷¡A¦A±N¥¦ format ¬° DOS ªº¤À³Î°Ï¡CµM«á­«¶}¾÷¶i¤J FreeBSD ¦w¸Ëµ{§Ç ¡A¦b fdisk µe­±¡A§âDOS ¤À³Î°Ïªº blocksize ©M block number §Û¤U¨Ó¡CµM«á­« ·s³]©w geometry ¨Ï¨ä¸ò DOS ¨Ï¥Îªº¤@¼Ë¡C§R°£ DOS ¤À³Î°Ï¡AµM«á¨Ï¥Î±z­è­è§Û ¤Uªº blocksize ¨Ó«Ø¥ß¤@­Ó cooperative FreeBSD ¤À³Î°Ï¡CµM«á³]©w³o­Ó¤À³Î°Ï ¬°¥i¶}¾÷¡A¦A¥´¶}Ãa­y±½ºË¡C¦b¯u¥¿ªº¦w¸Ë¹Lµ{¤¤¡Abad144 ·|¦b¥ô¦óÀɮרt²Î³Q «Ø¥ß«e¥ý³Q°õ¦æ¡C(±z¥i¥H«ö Alt-F2 ¨ÓºÊ¬Ý³o¤@¤Á)¦pªG¦b«Ø¥ßÃa­y¸ê®ÆÀɮɵo¥Í ¤F°ÝÃD¡A±z·|»Ý­n³]©w¤@­Ó¸û¤jªººÏºÐ geometry - ³oªí¥Ü±z»Ý­n­«¶}¾÷¡AµM«á¥þ ³¡¦A­«·s¶}©l (¥]¬A­«·s¤À³Î¥H¤Î¦b DOS ¤U­«·s format)¡C

¦pªG remapping ªº¥\¯à¤w¸g±Ò°Ê¤F¡A¦Ó±z¨ÌµM¤@ª½¬Ý¨ìÃa­y²£¥Í¡A¨º»ò¦Ò¼{ ´«¤@¥xµwºÐ§a¡CÃa­yªº±¡§Î¥u·|ÀH®É¶¡¼W¥[¦Ó§ó¬°ÄY­«¡C FreeBSD §ì¤£¨ì§Úªº Bustek 742a EISA SCSI ¥d!

¤U­±ªº¸ê°T¬Oµ¹ 742a ³o±i¥d¥Îªº¡A¦ý¬O¨ä¥L Buslogic ªº¥d©Î³\¤]¥i¥H ¾A¥Î¡C (Bustek ´N¬O Buslogic)

742a ³o±i¥d¦³¨â­Ó¥D­nªº¡uª©¥»¡v¡C¤@­Ó¬Oª©¥» A-G¡A¥t¤@­Ó¬Oª©¥» H ¤Î¨ä¥H«á¡Cª©¥»¸ê°T¥i¥H±q¤¶­±¥dÃä½tªº¬y¤ô¸¹³Ì«á­±±oª¾¡C742a ³o±i ¥d¦³¨â­Ó°ßŪ´¹¤ù¦b¥¦¤W­±¡A¤@­Ó¬O BIOS ´¹¤ù¡A¦Ó¥t¤@­Ó¬O¶´Åé´¹¤ù¡C FreeBSD ¨Ã¤£¦b¥G±z¥d¤Wªº BIOS ª©¥»¡A¦ý¬O¶´Å骺ª©¥»´N«Ü­«­n¤F¡C¦pªG §A¥´¹q¸Üµ¹¥L­Ì§Þ³N¤ä´©±M½uªº¸Ü¡A¥L­Ì·|±Hµ¹±z³Ì·sªºª©¥»¨Ñ±z¤É¯Å¡C BIOS ©M¶´Åé´¹¤ù¬O¤@°_°e¨Óªº¡C ±z»Ý­n±N¥d¤W BIOS ©M¶´Å骩¥»¡A¨Ì±z¥d ª©¥»ªº¤£¦P¡A¤É¯Å¨ì³Ì·sªº¤@ª©¡C

ª©¥» A-G ªº¥d³Ì°ª¥u¯à±N BIOS/¶´Åé ¤É¯Å¨ì 2.41/2.21 ª©¡A¦Óª©¥» H «á¡A¥Ø«e BIOS/¶´Å骺³Ì·sª©¥»¬O 4.70/3.37¡C³o¨â­Ó¶´Å骩¥»¶¡ªº®t²§¦b ©ó¡A3.37 ³oª©¤ä´© ``round robin''

Buslogic ªº¥d¤W­±¤]³£¦³§Ç¸¹¡C¦pªG±z¥dªºª©¥»¸û¡A±z¥i¥H¸ÕµÛ¥´¹q ¸Üµ¹ Buslogic ªºRMA ³¡ªù¡AµM«áµ¹¥L­Ì±zªº§Ç¸¹¡A¬Ý¯à¤£¯à¸ò¥L­Ì¥æ´«¤@ ±i¸û·sª©¥»ªº¥d¡C¦pªG¨º±i¥d°÷ªº¸Ü¡A¥L­Ì·|´«µ¹§A¡C

FreeBSD 2.1 ¥u¤ä´©¶´Åé 2.21 ª©¥H«áªºª©¥»¡C¦pªG±z¶´Å骩¥»¤ñ³o­ÓÁ٠ªº¸Ü¡A¨º»ò±zªº¥d´N¤£¯à³Q¿ëÃÑ¥X¬O Buslogic ªº¥d¡C¥¦¦³¥i¯à·|³Q¿ëÃѦ¨ Adaptec 1540¡C¸û¦­ªº Buslogic ¥d¤Wªº¶´Å馳¤@­Ó AHA1540``¼ÒÀÀ''¼Ò¦¡¡A ³o¹ï¤@±i EISA ¥d¨Ó»¡¨Ã¤£¬O¥ó¦n¨Æ¡C

¦pªG±z¦³¤@±i¸ûª©¥»ªº¥d¡A¦Ó±z¨ú±o 2.21 ª©¶´Å骺¸Ü¡A±z»Ý­nÀˬd¤@¤U jumper W1 ªº¦ì¸m¡A±N¥¦½Õ¦Ü B-C¡A­ì©l³]©w¬O A-B¡C

742a EISA ¥d¨S¦³¦b ³o¬q¤¤©Ò´£¹Lªº ``>16MB'' °ÝÃD¡C³o­Ó°ÝÃD¥u·|µo¥Í¦b Vesa-Local ¶×¬y±Æªº Buslogic SCSI ¥d¤W¡C FreeBSD §ì¤£¨ì§Úªº HP Netserver ªº SCSI ±±¨î¥d¡I

°ò¥»¤W³o­Ó¬O¤@­Ó¤wª¾ªº°ÝÃD¡C¦b HP Netserver ¾÷¾¹¤Wªº on-board EISA ¤¶­± SCSI ±±¨î¥d¥e¾Ú¤F©w§}¬°²Ä 11 ªº EISA ¼Ñ¡A¦]¦¹©Ò¦³ªº ``¯u¹ê'' EISA ¼Ñ³£¦b¥¦¤§«e¡C¥i¬O¡A¦b EISA ©w§}ªÅ¶¡ >= 10 ®É¡A·|»P«ü©wµ¹ PCI ¥Îªº©w§}ªÅ¶¡¬Û½Ä¬ð¡A¥B FreeBSD ªº auto-configuration µLªk¥¿½Tªº³B²z ³o­Ó±¡§Î¡C

¦]¦¹¡A²{¦b§A¯à°µªº³Ì¦n¨Æ±¡´N¬O¦b kernel ùس]©w ùةһ¡ªº¤èªk¨Ó ³]©w»P½sͱzªº kernel

·íµM¡A¦b¦w¸Ë¨ì³oºØ¾÷¾¹¤W®É¡A³o¬O¤@­ÓÂû¥Í³J³J¥ÍÂûªº°ÝÃD¡C ¬°¤F¸Ñ¨M³o­Ó°ÝÃD¡A¦b UserConfig ¤¤¦³¤@­Ó¯S§Oªº¤èªk¡A ¦w¸Ë®É¤£­n¶i¤J ``visual'' ¤¶­±¡A¬Û¤Ïªº¡A¦b©R¥O¦C¼Ò¦¡¤¤¡AÁä¤J eisa 12 quit

µM«á´N¦p¥H©¹¤@¼Ë¦w¸Ë±zªº¨t²Î¡CÁöµM§Ú­Ì«ØÄ³±z½sĶ»P¦w¸Ë¤@­Ó ÄÝ©ó¦Û¤vªº kernel¡A¦ý ²{¦b¤]¤w¸g¤F¸Ñ³o­Ó°Ñ¼Æ¡A¥B·|Àx¦s¥¦¡C

§Æ±æ¡A¦b¥¼¨Óªºª©¥»¤¤¯à¹ï³o­Ó°ÝÃD¦³¤@­Ó¦nªº¸Ñ¨M¤èªk¡C

¥HÀò±o§ó¦h ¸ê°T¡C CMD640 IDE ±±¨î´¹¤ù¥X¤F¤°»ò°ÝÃD?

¥¦ªº°ÝÃD¦b©óµLªk¦P®É³B²z¨â­Ó channel ªº«ü¥O¡C

²{¦b¤w¸g¦³­Ó¸Ñ¨M¤èªk¤F¡A¥B·|¦Û°Ê¦b±z¨Ï¥Î³o¶ô´¹¤ù®É±Ò°Ê¡C ¦pªG»Ý­n§ó¸ÔºÉªº¸ÑÄÀ¡A½Ð¬d¾\¦³ÃöºÏºÐÅX°Êµ{¦¡ªº»¡©ú(man 4 wd)

¦pªG±z¥Ø«e¬O¨Ï¥Î CMD640 IDE ±±¨î´¹¤ù¡A¥[¤W FreeBSD 2.2.1 ©Î 2.2.2¡A¦Ó¥B±z¤S·Q­n¨Ï¥Î¨ì²Ä¤G­Ó channel ®É¡A½Ð¦b±zªº kernel ³] ©w¤¤¥[¤J §Ú¤@ª½¬Ý¨ìÃþ¦ü ``

³o­Ó³q±`¬O¥Ñ©ó¤¤Â_½Ä¬ð(interrupt conflict)©Ò³y¦¨ªº (¨Ò¦p¡A¨â¶ô¥d ¨Ï¥Î¨ì¤F¬Û¦Pªº IRQ)¡C FreeBSD ¦b 2.0.5 ª©¥H«e³£®e³\³o­Ó±¡§Î¡A ´Nºâ¦³ IRQ ½Ä¬ð±¡§Î¡Aºô¸ô¥d¤]À³¸Ó¤´¥i¥¿±`¹B§@¡C µM¦Ó¡A¦b 2.0.5 ª©¤Î¨ä¥H«á¡A¤w¤£¦A®e³\¦³ IRQ ½Ä¬ðªº±¡§Î¤F¡C ½Ð©ó¶}¾÷®É¨Ï¥Î -c ³o­Ó¿ï¶µ¡AµM«á§ó§ï ed0/de0/..¡Cµ¥ªº³]©w¡A¨Ï¨ä ©M±zºô¸ô¥d¥»¨­ªº³]©w¤@­P¡C

¦pªG±z¬O¨Ï¥Î±zºô¸ô¥d¤Wªº BNC ±µÀY¡A±z©Î³\¤]·|¦]¤£¨}ªº²×ºÝ¹qªý³]©w¡A ¦Óµo¥Í¸Ë¸m (device) timeout ªº±¡§Î¡C­nÀˬd¬O§_¦³³oºØ±¡§Î¡A±z¥i¥H¦b ºô¸ô¥d¤Wª½±µ±µ¤W²×ºÝ¹qªý (¤£­n±µºô¸ô½u)¡AµM«á¬Ý¬Ý³o­Ó¿ù»~°T®§¬O¤£¬O ´N®ø¥¢¤F¡C

¦³¨Ç NE2000 ªº¬Û®e¥d¡A¦pªG¥¦ªº UTP °ð¨S¦³±µºô¸ô½u¡A©Î¬O¸Óºô¸ô½u¨Ã ¨S³Q¨Ï¥Îªº¸Ü¡A¤]·|¥X²{³o­Ó¿ù»~°T®§¡C ¦b§Ú·Q­n±¾¤W CDROM ®É¡A¥X²{``Incorrect super block''ªº°T®§

±z¥²¶·§i¶D ±z·Q±¾¤Wªº device ªºÀɮ׮榡¡C¦b­ì©l³]©wùØ¡A ·|°²³]±zªºÀɮ׮榡¬° ``¡C ®É«ü©w ``Á|¨Ò¨Ó»¡¡A¦pªG±z·Q±N ``/dev/cd0c'' ³o­Ó CDROM ¸Ë¸m (device) ±¾¦b /mnt ¤U¡A±z»Ý­n°õ¦æ: mount -t cd9660 /dev/cd0c /mnt

­nª`·Nªº¬O¡A±zªº¸Ë¸m¦WºÙ¥i¯à·|¤£¤@¼Ë (¦b¦¹½d¨Ò¤¤¬O ``/dev/cd0c''¡A¥¦¬O®Ú¾Ú±zªº CDROM ¤¶­±¦Ó©wªº¡C ¥t¥~­nª`·Nªº¡A`` mount_cd9660 /dev/cd0c /mnt ·í§Ú·Q±¾¤W CDROM ®É¡A¥X²{¤F ``Device not configured'' ªº¿ù»~°T®§

³o³q±`¬Oªí¥Ü±zªº CD-ROM ùØ­±¨S¦³¥úºÐ¤ù¡A©ÎªÌ¬O³o¥x¾÷¾¹µLªk³Q ¶×¬y±Æ (bus) §ì¨ì¡C©ñ¤ù¥úºÐ¤ù¦b¥úºÐ¾÷ùØ¡A¦pªG¥¦¬O IDE (ATAPI) ªº ¥úºÐ¾÷ªº¸Ü¡AÀˬd¤@¤U¥¦ªº master/slave ª¬ºA¡C¥úºÐ¾÷³q±`»Ý­n´X¬íÄÁ ªº®É¶¡¤~¯à³Æ§´ (ready)¡A©Ò¥H½Ð­@¤ßµ¥­Ô¡C

¦³®É³o¬Oµo¥Í¦b SCSI CD-ROM ¤W¡A¦]¬°¥¦¦b¶×¬y±Æ­«¸m (bus reset) ®É¨Ó¤£¤Î¦^À³¡A©Ò¥H®ø¥¢¤F¡C¦pªG±z¾Ö¦³ªº¬O SCSI CD-ROM¡A½Ð¹Á¸Õ¦b kernel ³]©wÀɤ¤¥[¤J¥H¤Uªº³]©w¡AµM«á­«·s½sĶ¡C options "SCSI_DELAY=15" §Úªº¦Lªí³t«×¯}¤Ñ¯îªººC¡C§Ú¸Ó«ç»ò°µ¡H

¦pªG¬O¥­¦æ°ð¡A¥B°ß¤@ªº°ÝÃD´N¬O³t«×«ÜºCªº¸Ü¡A¸ÕµÛ³]©w±zªº ¦Lªí¾÷°ð¬° ``polled'' ¼Ò¦¡: lptcontrol -p

¦³¨Ç·sªº HP ¦Lªí¾÷¦ü¥GµLªk¦b interrupt ¼Ò¦¡¤¤¥¿±`¤u§@¡A «Ü©úÅ㪺¬O¦]¬°¤@¨Ç®É¯ß°ÝÃD (¦ýÁÙ¤£¬O«ÜÁA¸Ñ¬°¤°»ò·|¦p¦¹) §Úªºµ{¦¡¦³®É·|¦] ``Signal 11'' ³o­Ó¿ù»~¦Ó°±¤î

³o­Ó³q±`¬O¦]¬°¦³°ÝÃDªºµwÅé (°O¾ÐÅé¡A¥D¾÷ªOµ¥µ¥) ©Ò³y¦¨ªº. ¸Õ¸Õ¦b±zªº PC ¤W¶]­Ó°O¾ÐÅé´ú¸Õµ{¦¡¬Ý¬Ý¡Cª`·N¡A´Nºâ±z¸Õ¹Lªº¨C¤@ºØ°O ¾ÐÅé´ú¸Õµ{¦¡³£¦^³ø»¡±zªº°O¾ÐÅé¨S¦³°ÝÃD¡A¦ý¬O¡A¦³¤@¨Ç§C«~½èªº°O¾ÐÅé¡A ÁöµM¯à³q¹L°O¾ÐÅé´ú¸Õ¡A¤£¹L¦b¯u¥¿¤u§@®É«o·|¥X°ÝÃD (¨Ò¦p±q Adaptec 1542 µ¥µ¥ SCSI ±±¨î¥d°µ bus mastering DMA¡B¦b½s¿è kernel ®É¡B ©Î¬O¨t²Îªº­t¸ü«Ü°ª®É)

SIG11 FAQ (¦ì§}¦b¤U­±) «ü¥X°O¾ÐÅ骺³t«×¤£°÷§Ö³q±`¬O³o­Ó°ÝÃDªº­ì¦]¡C ¸ÕµÛ¦b±zªº BIOS ³]©w¤¤¼W¥[°O¾ÐÅé wait ª¬ºAªº®É¶¡¡A©Î¬O§ó´«§ó§Öªº°O¾Ð Åé¡C

¥H§Ú¦Ó¨¥¡A§Ú´¿¹J¹L¥Ñ¤£¨}ªº§Ö¨ú°O¾ÐÅé©Î¬O¤£¨}ªº on-board §Ö¨ú¥d ©Ò³y¦¨ªº³o­Ó°ÝÃD¡C¸ÕµÛ¦b BIOS ³]©w¤¤¨ú®ø on-board (²Ä¤G¶¥) §Ö¨ú¡A ¬Ý¬Ý³o¼Ë¯à¤£¯à¸Ñ¨M³o­Ó°ÝÃD

³o¨à¦³¤@¥÷«Ü¦nªº FAQ: ·í§Ú¶}¾÷®É¡A¿Ã¹õÅܶ¡A¥B¤£°±°{°Ê¡I

³o­Ó°ÝÃD¡A¤wª¾¬O¥Ñ ATI Mach 64 Åã¥Ü¥d©Ò¤Þ°_ªº¡C¦]¬°³o¶ô¥d¨Ï¥Î¨ì ³o­ÓÅX°Êµ{¦¡¡A¤£ª¾¹D¬O bug ©Î¬O¥\¯à(feather)¡A´Nºâ±z¨S¦³²Ä¥|­Ó§Ç¦C°ð¡A ©Î¬O¤w¸g±N sio3 (²Ä¥|­Ó§Ç¦C°ð¡^¨ú®ø¤F¡A¥¦¨ÌµM·|¥h¹Á¸ÕÅX°Ê¥¦¡C

ª½¨ì³o­Ó°ÝÃD³Q¸Ñ¨M¥H«e¡A±z¥i¥H¨Ï¥Î³o­Ó¤èªk¡G ¦b¶}¾÷´£¥Ü¡]¬Ý¨ì¨ú®ø ©ó¬O°ÝÃD¸Ñ¨M¡C ¿é¤J exit ¥HÄ~Äò±Ò°Êµ{§Ç

¦pªG±z·Q­n¨Ï¥Î±zªº§Ç¦C°ð¡A±z»Ý­n­×§ï /usr/src/sys/i386/isa/sio.c¡A¦b¸ÓÀɤ¤§ä¥X ´Nºâ¨Ï¥Î¤F¤W­±³o¨Ç¤èªk¡AX Window ¤´µM¦³¥i¯àµLªk¶¶§Q°õ¦æ¡C¦³¨Ç·sªº ATI Mach 64 Åã¥Ü¥d¡]¯S§O¬O ATI Mach Xpression¡^¡AµLªk¦b¥Ø«eª©¥»ªº §ä¨ì new beta release ³o­Ó³sµ²(link)¡A¨Ó¨ú±o X-server ªº beta ª©¡A¥¦ªº ¬Û®e±¡§ÎÀ³¸Ó´N¤ñ¸û¦n¤F¡C±z»Ý­n¨ú±o¤U¦C³o¨ÇÀɮסG

AccelCards¡ABetaReport¡ACards¡ADevices¡AFILES¡AREADME.ati¡A README.FreeBSD¡AREADME.Mach64¡ARELNOTES¡AVGADriver.Doc¡A X312BMa64.tgz

¥H³o¨ÇÀɮרú¥N±z­ì¦³ªºÂÂÀɮסAµM«á¤Á°O¦A¶] ¤@¹M¡C §Ú¦³ 128 MB ªº RAM¡A¦ý¬O¨t²Î¥u¥Î¨ä¤¤ªº 64MB

¦]¬° FreeBSD ¬O¨Ï¥Î©I¥s BIOS ¨Ó¨ú±o°O¾ÐÅé¤j¤pªº¤èªk¡A¦]¦¹¥¦¥u¯à °»´ú¨ì 16 bits ¦ì¤¸ªø«×ªº KByte ¤j¤p (65535 KBytes = 64MB) (©ÎªÌ§ó¤Ö..¡C¦³¨Ç BIOS ±N³Ì°ª°O¾ÐÅé¤j¤p­­¬°¥u¦³ 16MB) ¦pªG±z¾Ö¦³ 64MB ¥H¤Wªº RAM¡AFreeBSD ·|¹Á¸Õ¥h°»´ú¥X¥¦¡A¦ý¬O¦³¥i¯à ·|¥¢±Ñ¡C

­n¸Ñ¨M³o­Ó°ÝÃD¡A±z»Ý­n¨Ï¥Î¤U­±©Ò´£ªº kernel ³]©w¿ï¶µ¡C ÁöµM¦³¤èªk¥i¥H±q BIOS ¤¤¨ú±o°O¾ÐÅ骺§¹¾ã¸ê°T¡A¦ý¬O¥Ø«e§Ú­Ì¦b bootblock ¤¤¨Ã¨S¦³¦h¾lªºªÅ¶¡¨Ó°µ³o¥ó¨Æ¡C·í¬Y¤Ñ bootblock ªÅ¶¡ ¤£¨¬ªº±¡§ÎÀò±o¸Ñ¨M®É¡A§Ú­Ì±N·|¨Ï¥Î BIOS ªº©µ¦ù¥\¯à¨Ó¨ú±o°O¾Ð Å骺§¹¾ã¸ê°T...¦ý²{¦b§Ú­Ì±N¥¦©ñ¦b kernel ³]©w¿ï¶µ¤¤¡C options "MAXMEM=<n>"

FreeBSD 2.0 ¦]¬° ``kmem_map too small!'' ¦Óµo¥Í panic¡I

³o­Ó panic ¬Oªí¥Ü¨t²Î¥Î¥ú¤Fµ¹ºô¸ô½w½Ä°Ïªº©Ò¦³ªºµêÀÀ°O¾ÐÅé (¯S §O¬O mbuf clusters)¡C±z¥i¥H¼W¥[µ¹ mbuf clusters ªº VM ªº¼Æ¶q¡A ¥u­n¥[¤J:

options "NMBCLUSTERS=<n>"

¦b±zªº kernel ³]©wÀɤ¤¡A<n> ¬O¤@­Ó¦b 512-4096 ¶¡ªº¼Æ¦r¡A ¨Ì±z·Q´£¨Ñ¦h¤Ö¦P®Éªº TCP ³s±µ¼Æ¥Ø¦h¹è¦Ó©w¡C§Ú·|«ØÄ³¸Õ¸Õ 2048 - ³o¼Æ¦rÀ³¸Ó¥i¥H§¹¥þÁ×§K³o­Ó panic ¤F¡C±z¥i¥H°õ¦æ: ¨ÓºÊ¬Ý¦³¦h¤Ö mbuf clusters ¦b¨t²Î¤W¥¿³Q °t¸m/¨Ï¥Î¡CNMBCLUSTERS ªº¼Æ­È¤º©w¬° ¥Î·s kernel ¶}¾÷®É¡A¥X²{ ``CMAP busy panic'' ³o­Ó¿ù»~°T®§

¥Î¨Ó°»´ú¹L´Á /var/db/kvm_*.db Àɮתº¾÷¨î°¸º¸·|"¥XÂñ" ¦Ó¨Ï¥Î¤@­Ó§t¤£¥¿½T¸ê®ÆªºÀɮצ³®É´N·|¾É­P panic¡C

¦pªGµo¥Í¤F³o­Ó°ÝÃD¡A½Ð­«·s¶}¾÷¡A¶i¤J³æ¨Ï¥ÎªÌ¼Ò¦¡¡AµM«á°õ¦æ: rm /var/db/kvm_*.db ahc0: brkadrint¡A Illegal Host Access at seqaddr 0x0

³o¬O¤@­Ó©M Ultrastor SCSI ±±¨î¥d¦³Ãöªº½Ä¬ð

¦b¶}¾÷®É¡A¶i¤J kernel ³]©w¿ï³æ ¨ú®ø ¡A¥¦¬O³y¦¨³o­Ó°ÝÃDªº­ì¦] Sendmail ¤@ª½©ê«è ``mail loops back to myself''

³o­Ó°ÝÃD¦b sendmail ªº FAQ ¤¤¬O³o¼Ë¦^µªªº:- * §Ú¤@ª½¦¬¨ì¦³Ãö "Local configuration error" ªº«H¥ó¡A¨Ò¦p: 553 relay.domain.net config error: mail loops back to myself 554 ... Local configuration error §Ú­n¦p¦ó¸Ñ¨M³o­Ó°ÝÃD? ±z§Q¥Î MX ³]©w¡AÅý­n±H¨ì¬Y domain (¦p: domain.net) ªº«H¥ó¡A ±H¨ì±z©Ò«ü©wªº¾÷¾¹ (¦b³o­Ó¨Ò¤l¤¤¬° relay.domain.net)¡A¦ý¬O³o ³¡¾÷¾¹¨Ã¥¼³Q³]©w±µ¨ü domain.net ªº«H¥ó¡C§â domain.net ¥[¨ì /etc/sendmail.cw ¤¤ (¦pªG±z¦³¨Ï¥Î FEATURE(use_cw_file)) ©Î¬O ¦b sendmail.cf ¤¤¥[¤J "Cw domain.net"

²{¦b¤w¤£¦AÀHµÛ sendmail "¥X³f"¡C ¥¦¥Ø«e¬O³Q©w´Áªºµoªí¦b: ¡A ¡A ¡A ¡A©M ¡C ±z¤]¥i¥H±H¤@«Ê Email ¨ì ¡AµM«á¦b«H¥ó¤º¤å¤¤¼g¤W "send usenet/news.answers/mail/sendmail-faq" ³o­Ó«ü¥O ¥H¨ú±o³o¥÷¤å¥ó¡C ¦b»·ºÝ¾÷¾¹(remote machine)°õ¦æ¥þ¿Ã¹õªº³nÅé®É¡A¦³¤£¥¿±`ªº±¡§Î¡I

©Î³\»·ºÝ¾÷¾¹¨Ã«D±N±zªº²×ºÝ¾÷§ÎºA³]¬° FreeBSD console ©Ò¥Î ªº cons25¡A¦Ó¬O³]¬°¨ä¥¦ºØÃþ¡C

³o¨à¦³´X­Ó¸Ñ¨M³o­Ó°ÝÃDªº¤èªk: ¦b logging ¶i»·ºÝ¾÷¾¹«á¡A§ó§ï±zªº shell ÅÜ¼Æ TERM ¬° ansi ©Î¬O sco¡C ¦b local ºÝ¥Î¤@¨Ç¥i¥H¼ÒÀÀ VT100 ªº¼ÒÀÀ¾¹¡A¦p ¡C screen ´£¨Ñ±z¦b¤@­Ó terminal ùئP®É¶]¦n´X­Ó session ªº¯à¤O¡A¦Ó¥B¥¦¥»¨­¤]¬O¤@­Ó¬Û·í¦nªº³nÅé¡C ¦b»·ºÝ¾÷¾¹ªº²×ºÝ¾÷¸ê®Æ®w(terminal database)¤¤¥[¤J cons25 ªº¸ê®Æ¡C ±Ò°Ê X µM«á§Q¥Î xterm ¨Ó login ¶i»·ºÝªº¾÷¾¹¡C §Úªº¾÷¾¹¤@ª½Åã¥Ü "calcru: negative time..."

¸ò¤¤Â_ ¡]interrupt¡^ ¦³Ãöªº¤£¦PµwÅé »P/©Î ³nÅ骺·f°t³£¦³¥i¯à³y¦¨ ³o­Ó°ÝÃD¡C³o¦³¥i¯à¬O bug ©Î¬O¬Y­Ó¸Ë¸m¥»¨­ªº°ÝÃD¡C¦b¥­¦æ°ð¤W¨Ï¥Î ¤jªº MTU ¨Ó§@ TCP/IP ¶Ç¿é¥i¥H­«²{³o­Ó°ÝÃD¡C­Y¬O¹Ï§Î¥[³t¥d³y¦¨³o­Ó °ÝÃDªº¸Ü¡A±zÀ³¸Ó¥ýÀˬd¥dªº¤¤Â_³]©w¡C

³o­Ó°ÝÃDªºÃä»Ú®ÄÀ³¬O·|³y¦¨¦³¨Ç process ¥X²{ "SIGXCPU exceeded cpu time limit" ªº°T®§¡A¦Ó¤£¥¿±`¤¤Â_

­Yª©¥»¬O 1998 ¦~ 11 ¤ë 29 ¤é¥H«áªº FreeBSD 3.0¡A¦pªG³o­Ó °ÝÃD¤@ª½µLªk¥H¨ä¥L¤èªk¸Ñ¨M¡A´N¥u¯à³]©w sysctl ÅܼơG sysctl -w kern.timecounter.method=1

³o¼Ë·|¹ï®Ä¯à¦³¨Ç¼vÅT¡A¦ý¬O­Y¦Ò¼{¨ì³o­Ó°ÝÃD±a¨Óªº«áªG¡A³o¼Ë°µ¬O­È ±oªº¡C¦pªG³o­Ó°ÝÃDÁÙ¬O¦s¦bªº¸Ü¡A±N sysctl ¨º­Ó­È¨ÌµM³]¬° 1¡AµM«á ¼W¥[ kernel ³]©wÀɤ¤ "NTIMECOUNTER" ³o­Ó¿ï¶µªº¼Æ­È¡C¦pªG±z±N "NTIMECOUNTER" ¼W¥[¨ì 20 ¨ÌµMµLªk¸Ñ¨M³o­Ó°ÝÃD¡A¨º»ò±z¾÷¾¹¤Wªº¤¤Â_ ¤w¸g¦h¨ìµLªk«O«ùí©wªºª¬ºA¤F¡C diff --git a/zh_TW.Big5/FAQ/admin.sgml b/zh_TW.Big5/FAQ/admin.sgml index 5704a7c0d6..b0b0278ff8 100644 --- a/zh_TW.Big5/FAQ/admin.sgml +++ b/zh_TW.Big5/FAQ/admin.sgml @@ -1,878 +1,878 @@ - + ¨t²ÎºÞ²z ¨t²Î°_©l³]©wÀɦb­þ¡H

±q 2.0.5R ¨ì 2.2.1R¡A¥D­nªº³]©wÀɬO /etc/sysconfig¡C ©Ò¦³ªº¿ï¶µ³£³Q«ü©w¦b³o­ÓÀÉ¡A¦Ó¨ä¥L¹³ ©M /etc/netstart ¥u¬O¤Þ¥Î¥¦¡C

Æ[¹î /etc/sysconfig ³o­ÓÀɨíץ¿¨ä­È¥H¾A¦X§Aªº¨t²Î¡C ³o­ÓÀɥεù¸Ñ¶ñº¡¥Hªí¥Ü¦ó³B¸Ó©ñ¸m¤°»ò³]©w¡C

¦b 2.2.1 ¥H«á¤Î 3.0 ¡A/etc/sysconfig §ó¦W¬°¤@­Ó§ó®e ©ö´y­zªºÀɦW¥s ¡A¨Ã¥B»yªk²¤Æ¤F¨Ç¡C/etc/netstart ¥ç§ó¦W¬° /etc/rc.network ¦]¦¹©Ò¦³ªºÀɮ׳£¥i¥H¥Î /usr/src/etc/rc* /etc ¨Ó«þ¨©¡C

/etc/rc.local ¥X²{¨Ã¥i¥H¥Î¨Ó±Ò°ÊÃB¥~ªº¥»¦aªA°È¹³¬O ©Î¬Y¨Ç¦Û­q¿ï¶µ¡C

/etc/rc.serial ¥Î¨Óªì©l¤Æ§Ç¦C°ð(¹³¬OÂê©w°ðªº¯S©Êµ¥¡^¡C

/etc/rc.i386 ¬O Intel ±M¥Î³]©w¡A¹³¬O iBCS2 ¼ÒÀÀ©Î¬O PC ¨t²Î¥D±±¥x³]©w¡C

¥Ñ 2.1.0R ¶}©l¡A§A¤]¥i¥H¦b /etc/sysconfig (©Î /etc/rc.conf) ¸Ì«ü©w¤@­Ó¥Ø¿ý¾Ö¦³"¥»¦a"°_©lÀÉ¡G # Location of local startup files. local_startup=/usr/local/etc/rc.local.d

¨C­Ó¥H °²¦p§A·Q½T«O¬Y­Ó°õ¦æ¶¶§Ç¤S¤£·Q§ï©Ò¦³ªºÀɦW¡A§A¥i¥H¨Ï¥Î¤@­Ó²³æ ªº¬[ºc¦p¤U¡A§Q¥Î¨Æ¥ý¦w±Æ¨ì¨C­ÓÀɦW«eªº¼Æ¦r¨Ó½T«O¶¶§Ç¡G 10news.sh 15httpd.sh 20ssh.sh

³o¥i¯à¬Ý°_¨Ó¦³ÂIÁà(©ÎÃþ¦ü SysV :-)) ¦ý¬O¥¦´£¨Ñ¤@­Ó²³æ¦Ó³W«ßªº ¬[ºcÅý¥»¦a¥[¤Jªº®M¥ó¤£¶·½s¿è /etc/rc.local ´N¯à­«·s±Æ §Ç¡C³\¦hªº ports/packages °²³] /usr/local/etc/rc.d ¬O ¥»¦a°_©lªº¥Ø¿ý¡C §Ú¸Ó¦p¦ó²³æ¦a¥[¤J¨Ï¥ÎªÌ¡S

¨Ï¥Î «ü¥O¡C

¥t¥~¤]¦³­Ó®M¥ó¥s ``<roberto@FreeBSD.ORG> ¸ß°Ý¥¦¡C ¥Ø«e¥¿¦bµo®i¶¥¬q¡C

­n¦A¦¸²¾°£¨Ï¥ÎªÌ¡A¨Ï¥Î «ü¥O¡C §Ú¸Ó«ç»ò§â·sµwºÐ¥[¤J FreeBSD ¨t²Î¤¤¡S

¹î¬Ý ªººÏºÐ®æ¦¡¤Æ«ü¾É¤å¥ó¡C §Ú¦³¤@­Ó·sªº¥i²¾°£¸Ë¸m¡A§Ú¸Ó«ç»ò¨Ï¥Î¡S

¥i²¾°£¸Ë¸mµL½×¬O ZIP ©Î EZ(©Î¬Æ¦Ü¬O³nºÐ¾÷¡A¦pªG§A­n³o¼Ë¨Ï¥Î ¥¦)¡A©Î¬O¤@­Ó·sªºµwºÐ¡A¥u­n¬O¦w¸Ë¨Ã¥Ñ¨t²Î­«²Õ¡A¦Ó§A¦³ºÏ¤ù§X /³nºÐ¤ù/©Î¨ä¥LªF¦è¥i¥H´¡¤J¡A¨º³o¨Ç¸Ë¸m³£¬OÃþ¦ü¥\¯àªºªF¦è¡C

°²¦p¬O ZIP ©Î³nºÐ¾÷¡A§A¤w¸g¦b¤W­±¦³ DOS Àɮרt²Î¡A¥i¥H¨Ï¥Î ¹³³o¼Ëªº©R¥O¡G mount -t msdos /dev/fd0c /floppy

³o¬O°w¹ï³nºÐ¾÷¡A©Î¬O¥H¤U©R¥O¡G mount -t msdos /dev/sd2s4 /zip

¨Ï¥Î ZIP ªº¥X¼t¹w³]­È¡C

¨ä¥LºÏ¤ù¡A¥Î /stand/sysinstall ¹î¬Ý ¦p¦ó°t¸m¡C

±µ¤U¨Ó³o­Ó½d¨Ò¬O ZIP ¸Ë¦b sd2¡A¦b²Ä¤T­Ó SCSI ºÏºÐ¡C

°£«D¬O³nºÐ¾÷¡A©Î¤@­Ó§A­pµe¸ò¨ä¥L¤H¤À¨É¨Ï¥Îªº¥i²¾°£¸Ë¸m¡A¦b ¦w¸Ë BSD Àɮרt²Î¥i¯à¬O¤@­Ó¤ñ¸û¦nªº¥D·N¡C§A±N¾Ö¦³ªøÀɦW¤ä´© ¡A¦Ü¤Ö¨â­¿¥H¤Wªº®Ä²v¼W¶i¡AÁÙ¦³§ó°ªªºÃ­©w«×¡C­º¥ý¡A§A»Ý­n­«·s »s§@ DOS ¼hªº¤À³Î°Ï/Àɮרt²Î¡C§A¥i¥H¨Ï¥Î ©Î /stand/sysinstall¡A©Î¹ï¤@­Ó§A¤£·Q¤ä´©¦h­«§@·~¨t²Îªº ¤pºÏºÐ¡A¥u­n§â¥¦¹º¤À¦¨¾ã­Ó FAT ¤À³Îªí(slices)¨Ã¥Î¥H¤U BSD ¤À ³Îªk¡G dd if=/dev/zero of=/dev/rsd2 count=2 disklabel -Brw sd2 auto

§A¥i¥H¨Ï¥Î disklabel ©Î /stand/sysinstall ¥h«Ø¥ß¦h­« BSD ¤À³Î°Ï¡CµLºÃªº¦pªG§A¥¿¦bµwºÐ¾÷¤W¼W¥[¸m´«ªÅ¶¡(swap space)®É §A´N»Ý­n³o»ò°µ¡A¦ý¬O¦b¥i²¾°£¸Ë¸m¦p ZIP ¤W¥i¯à´N¬OµL·N¸qªº¡C

³Ì«á¡A«Ø¥ß¤@­Ó·sªºÀɮרt²Î¡A¤]´N¬O¦b ZIP ¸Ë¸m¤W¬O¨Ï¥Î¾ã­ÓºÏºÐ¡G newfs /dev/rsd2c

¨Ã¥B§â¥¦ mount °_¨Ó¡G mount /dev/sd2c /zip

¦b ¥[¤J¤U­±³o¤@¦æ¥i¯à¬O¤@­Ó¦n¥D·N¡A§A¥H«á´N¥u ­n¥´"mount /zip" : /dev/sd2c /zip ffs rw,noauto 0 0 §Ú¸Ó«ç»ò mount ¦¸­nªº DOS ¤À³Î°Ï¡S

¦¸­n DOS ¤À³Î°Ï¬O¦b©Ò¦³¥D­n¤À³Î°Ï¤§«á³Q§ä¨ì¡AÁ|¨Ò¡A¦pªG§A¦³¤@­Ó "E" ¤À³Î°Ï¦b²Ä¤G­Ó SCSI ¸Ë¸mªº²Ä¤G­Ó DOS ¤À³Î°Ï¡A§A»Ý­n¦b /dev ¤U «Ø¥ß "slice 5" ªº¯S®íÀɮסAµM«á mount /dev/sd1s5¡G # cd /dev # ./MAKEDEV sd1s5 # mount -t msdos /dev/sd1s5 /dos/e §Ú¥i¥H¦b FreeBSD ¤U mount ¨ä¥L²§½è©ÊÀɮרt²Î¶Ü¡S

¦³§ó¦h¸ê°T¡C

ªº«ü¾É¤¶²Ð¡C

¦pªG±z¯à´£¨Ñ¥ô¦ó³o­Ó¥DÃDªº¨ä¥L¸ê°T¡A§Ú­Ì·|«Ü·P¿E¡C §Ú¸Ó¦p¦ó¨Ï¥Î NT loader ¨Ó±Ò°Ê FreeBSD¡S

³Ì´¶¹Mªº·Qªk¬O§â§A­ì¥» FreeBSD root ¤À³Î°Ïªº²Ä¤@­ÓºÏ°Ï«þ¨©¨ì DOS/NT ¤À³Î°Ï¸Ìªº¤@­ÓÀɮפº¡C°²³]§A©R¦W¥¦¬°¡G c:\bootsect.bsd (¥Ñ c:\bootsect.dos ±Â·N¦Ó¨Ó)¡A±µµÛ§A¥i¥H½s¿è c:\boot.ini Àɮפº®e¦p¤U¡G [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows NT" C:\BOOTSECT.BSD="FreeBSD" C:\="DOS"

¦¹µ{§Ç°²³] DOS¡ANT¡AFreeBSD¡A©Î¨ä¥L§@·~¨t²Î¤w¸g³Q¦w¸Ë¦b Mount ¤@­Ó DOS ®æ¦¡¤Æªº³nºÐ¡]°²¦p§A¤w¸gÂà´«¨ì NTFS¡^©Î FAT ¤À ³Î°Ï¨ì /mnt¡G dd if=/dev/rsd0a of=/mnt/bootsect.bsd bs=512 count=1

­«·s¶}¾÷¶i¤J DOS ©Î NT¡CNTFS ¨Ï¥ÎªÌ§â attrib -s -r c:\boot.ini

½s¿è¨Ã±q¤W­z attrib -r -s c:\boot.ini

¦pªG FreeBSD ¬O¥Ñ MBR ±Ò°Ê¡A¦b§A­«·s³]©w±q­þ­Ó native ¤À³Î°Ï±Ò°Ê«á ¡A¥Î DOS ªº `` §Ú¸Ó¦p¦ó¥Î LILO ±Ò°Ê FreeBSD ©M Linux¡S

¦pªG§A¦b¦P¤@­ÓºÏºÐ¾÷¸Ì¦³ FreeBSD ©M Linux¡A¥u­n¸òÀH LILO ªº¦w ¸Ë«ü¥O¡A±q¤@­Ó«D Linux §@·~¨t²Î±Ò°Ê¡C²²¤»¡©ú¦p¤U¡G

±Ò°Ê Linux¡A¨Ã¦b /etc/lilo.conf ¤¤¥[¤J¥H¤U´X¦æ¡G other=/dev/hda2 table=/dev/hda label=FreeBSD ¡]¤W­±¬O°²³]§Aªº FreeBSD slice ¦b Linux ¬O /dev/hda2¡F½Ð °t¦X¦Û¤vªº³]©w¡^¡CµM«á¡A¥Î root °õ¦æ lilo À³¸Ó´N§¹¦¨¤F¡C

°²¦p FreeBSD ¦b¥t¥~¤@­ÓºÏºÐ¡A§A¥²¶·¦b LILO ¿ï¶µ¤¤¥[¤J ``loader=/boot/chain.b''¡AÁ|¨Ò¡G other=/dev/sdb4 table=/dev/sdb loader=/boot/chain.b label=FreeBSD

¬Y¨Ç±¡§Î§A¥²¶·«ü©w BIOS ºÏºÐ¥N¸¹µ¹ FreeBSD boot loader ¥H´Á±q²Ä ¤GºÏºÐ¦¨¥\ªº±Ò°Ê¡CÁ|¨Ò¡A°²¦p FreeBSD SCSI ºÏºÐ¦b BIOS ¤¤°»´ú ¬O BIOS disk 1¡A¨º¦b FreeBSD boot loader ªº´£¥Ü¸¹¥X²{®É§A¥²¶·«ü ©w¡G Boot: 1:sd(0,a)/kernel

¦b FreeBSD 2.2.5 ©M¤§«áªºª©¥»¡A§A¥i¥H³]©w ³o¼Ë¨C¦¸±Ò°Ê®É´N·|¦Û°Ê°õ¦æ¡C

¬O FreeBSD ©M Linux ¦@¥Î¾Þ§@ªº¨}¦n °Ñ¦Ò¤å¥ó¡C §Ú«ç»ò¨Ï¥Î BootEasy ¨Ó±Ò°Ê FreeBSD ©M Linux¡S

¦b Linux ±Ò°Ê¤À³Î°Ï¦w¸Ë LILO ¨ú¥N¥D­n±Ò°Ê¸ê®Æ(Master Boot Record)¡C±µµÛ§A¥i¥H±q BootEasy ±Ò°Ê LILO¡C

°²¦p§A¥¿¦b¥Î Windows-95 ©M Linux¡A³o¦³¤@­Ó«ØÄ³¤èªk¡G­n§ó²³æ ªº±q Linux ¦A¦¸±Ò°Ê¦b©ó§A¬O§_À³¸Ó­«·s¦w¸Ë Windows95¡]³o¬O¤@­Ó µ½§ªªº§@·~¨t²Î¡A¥¦À£­¢¤£Åý¨ä¥L§@·~¨t²Î¦s¦b©ó Master Boot Record ¤º¡^¡C ¤@­Ó©Ò¿×``¦MÀI©^Äm(dangerously dedicated)''ªººÏºÐ¦³®`¶Ü¡S

¦]¦¹¬°¦ó¥s¥¦``¦MÀIªº''¡S¤@­Ó³B©ó³oºØ¼Ò¦¡ªººÏºÐ¾÷¤£¥]§t¯à³Q¥¿ ±` PC ¤½¥Îµ{¦¡µø¬°¦³®Äªº fdisk table¡C¨Ì´`¥¦­Ì³Q³]­pªº¼Ò¦¡¡A¥u ­n¥¦­Ì¦b³o¼Ë¤@­ÓºÏºÐ¾÷¤¤¤@¥¹³QIJ¤Î¥i¯à´N·|²£¥Í¿ù»~ªº´£¥Ü¡A©Î§ó ÁV¿|ªº¡A¥i¯à¥¼¸g´£¥Ü©Î³qª¾§A´N§â FreeBSD bootstrap §ËÃa¡C¥t¥~ ¡A``¦MÀI©^Äm''ªººÏºÐ layout ·|»~¾É³\¦h¼tµPªº BIOSsen(BIOS °»´ú) ¹³¬OAWARD(¤ñ¦p»¡¦b HP Netserver ©M Micronics µ¥¥H¤Î¨ä¥L³\¦h¨t ²Î)¡A©M Symbios/NCR(¦p¦b SCSI controllers ¤¤«Ü¬y¦æªº 53C8xx ¨t¦C)¡C³o¨Ã«D¤@­Ó§¹¾ãªº¦Cªí¡AÁÙ¦³§ó¦h¥¼¦C¥X¡C³oºØ»~¾Éªº¼x¥ü¥] ¬A¥Ñ FreeBSD bootstrap ±Ò°Ê¡A·íµwºÐµLªk³Q§ä¨ì®É¦Ó¦L¥X "read error" ªº°T®§¡A¥H­P©ó¾ã­Ó¨t²Î¦b±Ò°Ê¤¤¾ã­Ó°±º¢¡C

¨º¬°¦ó¤S­n¦³³oºØ¼Ò¦¡©O¡H¥¦¥u¸`¬ÙºÏºÐªÅ¶¡¤¤¼Æ kbyte ªº¤j¤p¡A ¦Ó¹ï¤@­Ó·sªº¦w¸Ë¹Lµ{¤¤«o¥i¯à²£¥Í¹ê»Úªº§xÃø¡C`¦MÀI©^Äm'¼Ò¦¡­ì¥» ªº·Qªk¬O°ò©óÁ×§K¤@­Ó¥þ·s FreeBSD installer ¤¤³Ì±`¨£ªº°ÝÃD - ¬° ¤F­n¦bºÏºÐ¾÷¤W°t¦X BIOS ªº ``geometry'' ¼Æ¥Ø¡C

``Geometry''¬O¤@­Ó¦³ÂI¸¨¥îªº·§©À¡A¦ý¬O«o¤´¦b PC ªº BIOS ¤¤ ¨Ï¥Î¨Ã¥B»PºÏºÐ¾÷¥æ¤¬¹B§@µÛ¡A·í FreeBSD installer «Ø¥ß slice ®É ¡A¥¦¥²¶·°O¿ý³o¨Ç slices ¦bºÏºÐ¾÷¤Wªº¦ì¸m¡A³o¤èªk¥²¶·©M BIOS §Æ ±æ¯à§ä¨ì¥¦­Ìªº¦ì¸m¤@­P¡C°²¦p¿ù¤F¡A§A±N¤£¥i¯à±Ò°Ê¨t²Î¡C

``Dangerously dedicated''¼Ò¦¡(«á­±·|²ºÙ¬° DD mode)¸ÕµÛ­nÅý ³o­Ó°ÝÃD²³æ¤@ÂI¡A¬Y¨Ç±¡§Î¤U¥¦°µ¹ï¤F¡C¦ý³o¥u¯à·í¦¨³Ì«áªº¤U¤U¤§ µ¦ - ÁÙ¦³§ó¦nªº¤èªk¥i¥H¸Ñ¨M³o°ÝÃDªºµ´¤j³¡¥÷¡C(ĶªÌ¡G³o³¡¥÷¥Î¤F ³\¦hªº¤f»y¥Îµü¡A­ì¤å·Ó¿ý¥H¨Ñ¹ï·Ó¡C)

``Dangerously dedicated'' mode tries to work around this by making the problem simpler. In some cases, it gets it right. But it's meant to be used as a last-ditch alternative - there are better ways to solve the problem 99 times out of 100.

¦]¦¹¡A·í§A¦b¦w¸Ë®É«ç»òÁ×§K­n¨Ï¥Î``DD''¼Ò¦¡¡H¦b¶}©l®É°O¤U BIOS ­n¨D¨Ï¥ÎºÏºÐ¾÷ªº geometry¡A§A¥i¥H¦b±Ò°Êªº ``boot:''´£¥Ü ¸¹¥X²{®É¡A¥H``-v''«ü©w®Ö¤ß¦L¥X³o­Ó°T®§¡A©Î¬O¦b loader ¸Ì­± ¨Ï¥Î``boot -v''¡C¦b installer ¶}©l°Ê§@«e¡A®Ö¤ß·|¦L¥X¤@¦ê BIOS geometries¡C§Oºò±i - µ¥ installer ¶}©l±Ò°Ê«á¨Ï¥Î scrollback ¤è¦¡¥hŪ³o¨Ç¼Æ¦r¡A«ö·ÓºD¨Ò¦a BIOS ºÏºÐ¾÷ªº³æ¤¸·|¸ò FreeBSD ¦C Á|¥X¨Óªº¤@¼Ë¡AIDE ¥ý¡AµM«á¤~¬O SCSI¡C

·í§A¦b¤À³Î§AªººÏºÐ®É¡AÀˬd¦b FDISK ¿Ã¹õ¤W¥X²{ªººÏºÐ geometry ¬O¥¿½Tªº(¤]´N¬O»¡­n¸ò BIOS ªº¼Æ¦r¬Û²Å¦X)¡F¦pªG¿ù¤F¡A¥Î``g''«öÁä ­×§ï¡C·í§A¦b¿Ã¹õ¤W¬Ý¤£¨ì¥ô¦óºÏºÐ¾÷¡A©Î°²¨ÏºÏºÐ¾÷¤w¸g¥Ñ¥t¤@­Ó¨t ²Î¤¤²¾°£®É¡A¯S§OÀ³¸Ó³o»ò°µ¡C­È±oª`·Nªº¬O³o¥u¬O«ü©w§A­n¥Ñ­þ­ÓºÏºÐ ¤W±Ò°Ê¡FFreeBSD ±N·|¦Û¦æ§ä¥X¦b§A¨t²Î¤Wªº¨ä¥LºÏºÐ¾÷¡C

¤@¥¹§A¨ú±o BIOS ¸ò FreeBSD ¨âªÌ¹ïºÏºÐ¾÷ geometry ªº¦@ÃÑ¡A§A ªº§xÃø´X¥G¤w¸gªï¤b¦Ó¸Ñ¡A¦Ó¥B¦A¤]¤£»Ý­n¨Ï¥Î``DD''mode¡CµM¦Ó¡A°² ¦p§A¤´¾á¤ß·í§A¹Á¸Õ±Ò°Ê®É·|¬Ý¨ì``read error''°T®§¡A³o®É­Ô§A¯à°µ ªº´N¬Oë§iµM«á¸Õ¬Ý¬Ý - ¤Ï¥¿¤]¨S¤°»ò¦n¥¢¥hªº¡C

­n§â``¦MÀI©^Äm''ªººÏºÐ¦^´_¨ì¥¿±` PC ¨Ï¥Î¡A°ò¥»¤W¦³¨â­Ó¿ï¾Ü¡C ²Ä¤@¡A¬O§A§â¨¬°÷ªº NULL ¦ì¤¸²Õ¼g¤J MBR ½T«O¥ô¦óÀH«áªº¦w¸Ëµ{ ¦¡¬Û«H³o¥u¬O¤@­ÓªÅ¥ÕªººÏºÐ¡CÁ|¨Ò¨Ó»¡§A¥i¥H³o¼Ë°µ¡G dd if=/dev/zero of=/dev/rsd0 count=15

©Î¬O±Ä¥Î¥t¥~¤@­Ó¡A«D¥¿¦¡ªº DOS ``¯S¦â''¡G fdisk /mbr

³o±N·|¦w¸Ë¤@­Ó¥þ·sªº¥D­n±Ò°Ê°O¿ý¡A¦]¦¹·|¯}Ãa BSD bootstrap¡C §Ú¦p¦ó¯à¥[¤J§ó¦hªº¸m´«ªÅ¶¡(swap space)¡S

³Ì¦nªº¤èªk¬O¼W¥[§A swap ¤À³Î°Ïªº¤j¤p¡A©Î§Q¥Î³o­Ó¤è«K²z¥Ñªº¦n³B¥h ¼W¥[¥t¤@­ÓµwºÐ¡CºD¨Òºâªk¬O¥Î¥D°O¾ÐÅ骺¨â­¿·í¸m´«ªÅ¶¡(swap space) ¡AµM¦Ó¦pªG§A¥u¦³«Ü¤Ö¶qªº¥D°O¾ÐÅé¡A§A¥i¯à·Q¥t¥~³]©w swap¡C³]©w¨¬°÷ ªº¸m´«ªÅ¶¡¡A¨Ã¬°¥H«á°O¾ÐÅéÂX¥R¹w§@·Ç³Æ¥i¯à¬O­Ó¦n¥D·N¡A³o¼Ë¥H«á´N ¤£»Ý­n¦A°µ¤@¦¸¸m´«ªÅ¶¡ªº³]©w¡C

¦b¤À´²ªººÏºÐ¤W¼W¥[¸m´«ªÅ¶¡·|¤ñ³æ¯Â¦a¦b¦P¤@­ÓºÏºÐ¥[¤J¸m´«ªÅ¶¡ Åý®Ä²v¨Óªº§Ö¤@ÂI¡CÁ|¤@­Ó¨Ò¤l¨Ó»¡¡A¦pªG§A¥¿¦b¤@­ÓºÏºÐ¸Ì½sĶ¨Ó ·½µ{¦¡¡A¦Ó¸m´«ªÅ¶¡¦b¥t¤@­ÓºÏºÐ¡A³o·|¤ñ¸m´«ªÅ¶¡¸ò½s͵{¦¡³£¦b ¦P¤@­ÓºÏºÐ®É¨Ó±o§Ö¡C³o¹ï SCSI ºÏºÐ¾÷¯S§O¥¿½T¡C

·í§A¦³¦n´X­ÓºÏºÐ¾÷®É¡A¦b¨C­ÓºÏºÐ¤W³]©w¤@­Ó swap ¤À³Î°Ï¬O¦³ §Qªº¡A¬Æ¦Ü³Ì«á¨Ï¥Î¤@¾ã­ÓºÏºÐ¾÷·í¸m´«ªÅ¶¡¡C¤@¯ë¨Ó»¡¡A¨C­Ó¨t²Î ¤Wªº§Ö³tºÏºÐ³£À³³]©w¬Y¨Ç swap¡AFreeBSD ¤º©w¤ä´©³Ì¦h¥|­Ó¥æ¿ù¦¡ swap ¸Ë¸m¡C³q±`³]©w¦h­« swap ¤À³Î°Ï®É§A·|·QÅý¥¦­Ì³£¨Ï¥Î¦P¼Ë¤j ¤p¡A¦ý¦³®É§Ú­Ì·|·QÅý¥D­n swap ¤À³Î°Ï(primary swap partition) §ó¤j¤@ÂI¥H®e¯Ç®Ö¤ßµ{¦¡ªº core dump¡C§Aªº primary swap partition ¦Ü¤Ö¥²¶·©M¥D°O¾ÐÅé¤@¼Ë¤j¡A¥H¯à®e¯Ç¤@­Ó kernel core¡C

IDE ºÏºÐ¨Ã¤£¤¹³\¦P®É¦b¦P¤@³q¹D¸Ì¦s¨ú¨â­Ó¸Ë¸m¡]FreeBSD ¤£¤ä´© mode 4¡A¦]¦¹©Ò¦³ªº IDE ºÏºÐ I/O ¬O``¥iµ{¦¡¤Æªº''¡^¡CµM¦Ó§Ú¤´ ·|«ØÄ³§A§â¸m´«ªÅ¶¡©ñ¦b¤À§OªººÏºÐ¡CºÏºÐ¾÷³o»ò«K©y¡A¹ê¦b¨S¤°»ò ¦n¾á¤ßªº¡C

¦b NFS ¤W°µ¸m´«¶È¦b¥H¤U±¡§Î³Q«ØÄ³¨Ï¥Î¡G§A¨S¦³¦Û¤vªººÏºÐ¥i ¥H¨Ï¥Î¡CFreeBSD 4.0 ¥H«e release ªºª©¥»¦b NFS ¤W°µ¸m´«¬O¬Û·í ½wºC¦ÓµL®Ä²vªº¡A¦ý¦bµ¥©ó 4.0 ©Î¤§«áªº release ª©¥»´N¦³¦X²zªº ³t«×¤F¡C§Y¨Ï¦p¦¹¡AÁÙ¬O¨ü¨ìºô¸ô¦³®ÄÀW¼e©M¦b NFS server ¤WÃB¥~ ¸Ë¸üªº­­¨î¡C

³o¸Ì¦³­Ó½d¨Ò¬O¥Î 64MB vn-swap (/usr/swap0¡A·íµM§A¯à¥Î ¥ô¦ó§A·Q¥Îªº¦W¦r¡^¡C

½T©w§Aªº®Ö¤ßµ{¦¡«Ø¥ß®É¦³¥]§t¥H¤U³o¦æ¡G pseudo-device vn 1 #Vnode driver (turns a file into a device)

¦b§Aªº³]©wÀɤ¤¡CGENERIC ³o­Ó®Ö¤ß¤w¸g¥]§t³o¶µ¤F¡C «Ø¥ß¤@­Ó vn-device cd /dev sh ./MAKEDEV vn0 «Ø¥ß¤@­Ó¸m´«ÀÉ (/usr/swap0) dd if=/dev/zero of=/usr/swap0 bs=1024k count=64 ³]©w¾A·íªº¦s¨úÅv©ó(/usr/swap0) chmod 0600 /usr/swap0 ¦b /etc/rc.conf ¤¤±Ò°Ê¸m´«ÀÉ swapfile="/usr/swap0" # Set to name of swapfile if aux swapfile desired. ­«·s¶}¾÷¡C

­n°¨¤W±Ò°Ê¸m´«ÀÉ¡AÁä¤J¡G vnconfig -ce /dev/vn0c /usr/swap0 swap §Ú¤£·|³]©w§Úªº¦Lªí¾÷¡C

½Ð°Ñ¾\ Handbook ¸Ì¦³Ãö¦C¦Lªº³¡¥÷¡C³oÀ³¸Ó¯à¸Ñ¨M§A¤j³¡¤Àªº°ÝÃD¡A½Ð¬Ý - + §Ú¨t²Î¤WªºÁä½L°t¸m¿ù¤F¡C

kbdcontrol µ{¦¡¦³¤@­Ó¿ï¶µ¥i¥HŪ¨úÁä½L°t¸mÀɮסC¦b /usr/share/syscons/keymaps ¦³¤@¨Ç°t¸mÀÉ¡C¿ï¾Ü¤@­Ó¸ò§Aªº ¬ÛÃöªº¨ÃŪ¨ú¥¦¡C kbdcontrol -l uk.iso

/usr/share/syscons/keymaps ©M ©ÒÂ_©w¡C

¥i¥H±q /etc/sysconfig (©Î ) ¨Ó³]©w¡A½Ð¬Ý¦¹Àɸ̬ÛÃöªºµù¸Ñ¡C

¦b 2.0.5R ¤Î¨ä¤§«áªºª©¥»¡A©Ò¦³¸ò¤å¦r¦r«¬¡AÁä½L¹ïÀ³¬ÛÃöªº³]©w³£¦b /usr/share/examples/syscons¡C

¥H¤U¬O¥Ø«e¤ä´©ªº¹ïÀ³³]©w¡G Belgian ISO-8859-1 Brazilian 275 keyboard Codepage 850 Brazilian 275 keyboard ISO-8859-1 Danish Codepage 865 Danish ISO-8859-1 French ISO-8859-1 German Codepage 850 German ISO-8859-1 Italian ISO-8859-1 Japanese 106 Japanese 106x Latin American Norwegian ISO-8859-1 Polish ISO-8859-2 (programmer's) Russian Codepage 866 (alternative) Russian koi8-r (shift) Russian koi8-r Spanish ISO-8859-1 Swedish Codepage 850 Swedish ISO-8859-1 Swiss-German ISO-8859-1 United Kingdom Codepage 850 United Kingdom ISO-8859-1 United States of America ISO-8859-1 United States of America dvorak United States of America dvorakx §ÚµLªkÅý user quotas ¥¿±`¤u§@¡C

¤£­n¦b '/' ¥´¶} quotas¡A §â quotas ÀÉ©ñ¦b¥¦¥²¶·±j­¢¸m¤JªºÀɮרt²Î¤º¡AÁ|¨Ò¡G FS QUOTA FILE /usr /usr/admin/quotas /home /home/admin/quotas ... §Úªº ccd ¦³¦ó¤£§´¡S

³oºØ±¡§Îªº¼x¥ü¬O¡G # ccdconfig -C ccdconfig: ioctl (CCDIOCSET): /dev/ccd0c: Inappropriate file type or format #

³q±`³o·|µo¥Í¦b§A¹Á¸Õ­n³sµ² `c' ¤À³Î°Ï¡A³o¤º©wªº«¬§O¬O`µLªk¨Ï¥Îªº' ¡Cccd ÅX°Êµ{¦¡»Ý­nªº°ò¦¤À³Î°Ï«¬§O¬° FS_BSDFFS¡A½s¿è§A­n¸ÕµÛ³sµ²ªººÏºÐ ¼Ð°O¨Ã§ó§ï¤À³Î°Ïªº«¬§O¬°`4.2BSD'¡C ¬°¦ó§Ú¤£¯à½s¿è§Ú ccd ªººÏºÐ¼Ð°O¡S

³oºØ±¡§Îªº¼x¥ü¬O¡G # disklabel ccd0 (³o¸Ì¦L¥X¬Y¨Ç©úÅ㪺¸ê®Æ¡A©Ò¥H¸ÕµÛ½s¿è¥¦¡^ # disklabel -e ccd0 (½s¿è¡AÀx¦s¡AµM«áÂ÷¶}) disklabel: ioctl DIOCWDINFO: No disk label on disk; use "disklabel -r" to install initial label #

³o¬O¦]¬°¥Ñ ccd ¶Ç¦^ªººÏºÐ¼Ð°O¨Æ¹ê¤W¬O¤@­Ó`°²ªº'¦Ó¨S¦³¯u¥¿¦bºÏºÐ ¤W¡C§A¥i¥H§â¥¦§¹¥þ¼g¤J¨Ó¸Ñ¨M³o­Ó°ÝÃD¡A¹³³o¼Ë¡G # disklabel ccd0 > /tmp/disklabel.tmp # disklabel -Rr ccd0 /tmp/disklabel.tmp # disklabel -e ccd0 (this will work now) FreeBSD ¤ä´© System V IPC ®æ¦¡«ü¥O¶°¡H

¬Oªº¡AFreeBSD ¤ä´© System V-style IPC¡C³o¥]¬A¦@¨É°O¾ÐÅé¡A°T®§¸ò «H¸¹¡C§A»Ý­n¦b§Aªº®Ö¤ß³]©wÀɤº¥[¤J¤U¦C´X¦æ¥H±Ò°Ê¥¦­Ì¡C options SYSVSHM options "SHMMAXPGS=64" # 256Kb of sharable memory options SYSVSEM # enable for semaphores options SYSVMSG # enable for messaging

­«·s½sĶ¨Ã¦w¸Ë¡C

§Ú¸Ó¦p¦ó¨Ï¥Î sendmail ³z¹L UUCP ¨Ó»¼°e¶l¥ó¡H

¸òÀH FreeBSD ®M¸Ë¦Ó¨Óªº sendmail ³]©w¬O¾A¦X¨º¨Çª½±µ³s¤Wºô»Úºô¸ô ªº¯¸¥x¡C·Q³z¹L UUCP ¥æ´«¶l¥óªº¯¸¥x¥²¶·¥t¥~¦w¸Ë sendmil ªº³]©wÀÉ ®×¡C

¤â°Ê­×§ï /etc/sendmail.cf ¬Oµ´¹ï¥²­nªº¡C²Ä 8 ª©ªº sendmail ´£¨Ñ¤@­Ó¥þ·sªº¤J¤f¥H³z¹L¤@¨Ç¹³ ªº³B²z´N¯à ²£¥Í³]©wÀÉ¡A³o¨Æ¹ê¤W¬O¤@­Ó°ª¼h·§©Àµ¥¯Åªº§Þ¥©©Ê³]©w¡C§AÀ³¸Ó¥i¥H¦b¥H ¤UÀɮ׸̨ϥΥ¦¡G /usr/src/usr.sbin/sendmail/cf

°²¦p§A¤£¬O¥Î full sources ¤è¦¡¦w¸Ë¨t²Î¡A¨º»ò sendmail ³]©w¶µ¥Ø¥i ¯à¤w¸g¤À´²¦¨¦n´X­Ó¨Ó·½¤À¥¬Àɦbµ¥µÛ§A¡A°²³]§A¤w¸g mount ¥úºÐ¾÷¡A°µ ¥H¤U°Ê§@¡G cd /usr/src tar -xvzf /cdrom/dists/src/ssmailcf.aa

§OÅå·W¡A³o¥u¦³¼Æ¤Q¸U­Ó¦ì¤¸²Õªº¤j¤p¡C¦b cf ¥Ø¿ý¸Ìªº README ¥i¥H´£¨Ñ¤@­Ó m4 ³]©wªkªº°ò¥»¤¶²Ð¡C

¥H UUCP »¼°e¨Ó»¡¡A«ØÄ³§A³Ì¦n¨Ï¥Î mailertable ¯SÂI¡C «Øºc¤@­Ó¸ê®Æ®wÅý sendmail ¥i¥H¨Ï¥Î¥¦¦Û¤vªº¸ô®|¨Mµ¦¡C

­º¥ý¡A§A¥²¶·«Ø¥ß¦Û¤vªº .mc ÀÉ¡C /usr/src/usr.sbin/sendmail/cf/cf ¥Ø¿ý¬O³o¨ÇÀɮתº®a¡C ¬d¬Ý¤@¤U¡A¤w¸g¦³¦n´X­Ó½d¨ÒÀÉ¡A°²³]§A¤w¸g©R¦W¦Û¤vªºÀÉ¥s foo.mc¡A§A­n°µªº¥u¬O§â¥¦Âà´«¦¨¤@­Ó¦³®Äªº sendmail.cf ¡G cd /usr/src/usr.sbin/sendmail/cf/cf make foo.cf cp foo.cf /etc/sendmail.cf

¤@­Ó¨å«¬ªº .mc Àɬݰ_¨Ó¥i¯à¹³³o¼Ë¡G include(`../m4/cf.m4') VERSIONID(`Your version number') OSTYPE(bsd4.4) FEATURE(nodns) FEATURE(nocanonify) FEATURE(mailertable) define(`UUCP_RELAY', your.uucp.relay) define(`UUCP_MAX_SIZE', 200000) MAILER(local) MAILER(smtp) MAILER(uucp) Cw your.alias.host.name Cw youruucpnodename.UUCP

nodns ©M nocanonify ¯S©Ê±NÁ×§K¥ô¦ó¦b»¼°e¶l¥ó ®É·|¥Î¨ì DNS ªº¾÷·|¡CUUCP_RELAY ¶µ¥Øªº¥X²{²z¥Ñ«Ü©_©Ç¡A ´N¤£­n°Ý¬°¦ó¤F¡C²³æªº©ñ¤J¤@­Óºô»Úºô¸ô¤W¥i¥H³B²z .UUCP µêÀÀºô°ì ¦ì§}ªº¥D¾÷¦WºÙ¡F³q±`¡A§A¥u»Ý­n¦b³o¸Ì¶ñ¤J§A ISP ªº«H¥ó¦^ÂгB (mail replay)¡C

§A¤w¸g°µ¨ì³o¸Ì¤F¡A§AÁٻݭn³o­Ó¥s /etc/mailertable ªº ÀɮסC¤@­Ó¨å«¬ªº½d¨Ò¦p¤U¡G # # makemap hash /etc/mailertable.db < /etc/mailertable # horus.interface-business.de uucp-dom:horus .interface-business.de uucp-dom:if-bus interface-business.de uucp-dom:if-bus .heep.sax.de smtp8:%1 horus.UUCP uucp-dom:horus if-bus.UUCP uucp-dom:if-bus . uucp-dom:sax

¦p§A©Ò¨£¡A³o¬O¬Y­Ó¯u¹êÀɮ׸̪º¤@³¡¥÷¡C­º¤T¦æ³B²zºô°ì©w§}«H¥ó ¤£À³¸Ó³Q°e¥X¨ì¤º©w¸ô®|¡A¦Ó¥Ñ¬Y¨Ç UUCP ¾F©~(UUCP neighbor)¨ú¥N ªº¯S®í±¡§Î¡A³o¬O¬°¤F``ÁYµu''»¼°eªº¸ô®|¡C¤U¤@¦æ³B²z¨ì¥»¦a¤A¤Ó ºô¸ôºô°ìªº«H¥óÅý¥¦¥i¥H¨Ï¥Î SMTP ¨Ó»¼°e¡C³Ì«á¡AUUCP ¾F©~´£¨ì .UUCP µêÀÀºô°ìªº°O¸ü¡A¤¹³\¤@­Ó``uucp-neighbor!recipient''±À½¤º©w³W«h¡C³Ì«á¤@¦æ«h¥H¤@ ­Ó³æ¿Wªº¥yÂI°µµ²§ô¡A¥H UUCP »¼°e¨ì´£¨Ñ·í§A¥þ¥@¬É©Ê¶l¥ó¹hªùªº UUCP ¾F©~¡C©Ò¦³¦b uucp-dom: ÃöÁä¦r¸Ìªº¸`ÂI¦WºÙ¥²¶·³£¬O ¦³®Äªº UUCP ¾F©~¡A§A¥i¥H¥Î uuname ©R¥O¥h½T»{¡C

´£¿ô§A³o­ÓÀɮצb¨Ï¥Î«e¥²¶·³QÂà´«¦¨ DBM ¸ê®Æ®wÀɮסA³Ì¦n¦b mailertable ³Ì¤W­±¥Îµù¸Ñ¼g¥X©R¥O¦C¨Ó§¹¦¨³o­Ó¤u§@¡C·í§A¨C¦¸§ó´«§A ªº mailertable «á§AÁ`¬O»Ý­n°õ¦æ³o­Ó©R¥O¡C

³Ì«á´£¥Ü¡G¦pªG§A¤£½T©w¬Y¨Ç¯S©wªº«H¥ó¸ô®|¥i¥Î¡A°O±o§â -bt ¿ï¶µ¥[¨ì sendmail¡C³o·|±N sendmail ±Ò°Ê¦b address test mode ¡F¥u­n«ö¤U ``0''¡A±µµÛ¿é¤J§A§Æ±æ´ú¸Õªº«H¥ó¸ô®|¦ì§}¡C³Ì«á¤@¦æ§i¶D§A¨Ï ¥Î¤º³¡ªº«H¥ó¥N²zµ{¦¡¡A¥N²zµ{¦¡ªº·|³qª¾¥Øªº¥D¾÷¡A¥H¤Î(¥i¯àÂà´«ªº)¦ì§} ¡C­nÂ÷¶}¦¹¼Ò¦¡½Ð«ö Control-D¡C j@uriah 191% sendmail -bt ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter

> 0 foo@interface-business.de rewrite: ruleset 0 input: foo @ interface-business . de ... rewrite: ruleset 0 returns: $# uucp-dom $@ if-bus $: foo \ < @ interface-business . de > > ^D j@uriah 192% ·í§Ú¥Î¼·±µ³s¤Wºô¸ô®É¸Ó«ç»ò³]©w«H¥ó»¼°e¡H

¦pªG§A¤w¸g¦³¤@­Ó©T©wªº IP ¼Æ¦r¡A§A¤£»Ý­n½Õ¾ã¥ô¦ó¤º©w­È¡C³]¦n §A­n«ü©wªººô¸ô¦WºÙ¡A¨ä¥Lªº sendmail ³£·|À°§A°µ§¹¡C

¦pªG§A®³¨ìªº¬O°ÊºA°t¸mªº IP ¼Æ¦r¦Ó¨Ï¥Î¼·±µ ¬°¤F±q§Aªº«H½c±µ¦¬«H¥ó¡A§A±N»Ý­n¦w¸Ë¨ú«Hµ{¦¡¥H«K±q«H½c¨ú¦^«H¥ó¡C /etc/ppp/ppp.linkup ¸Ì­± ³]©w¥H¤U³o¶µ¡G MYADDR: !bg su user -c fetchmail

°²¨Ï§A¥¿¨Ï¥Î sendmail(¦p¤U©Ò¥Ü)¶Ç°e«H¥ó¨ì«D¥»¦a±b¸¹ ¡A¸m¤J¥H¤U©R¥O¡G !bg su user -c "sendmail -q" ¦b¤W­±¨º¶µ©R¥O¤§«á¡C³o·|±j­¢ sendmail ¦b³s±µ¤Wºô¸ô«á°¨¤W¶}©l³B ²z mailqueue¡C

§Ú°²³]§A¦b poll myISP.com protocol pop3 fetchall pass MySecret;

µL¶·Âب¥¡A³o­ÓÀɰ£¤F ¬°¤F¦b±H«H®É¦³¥¿½Tªº©ïÀY ¥H¤Uªº VERSIONID(`bsd.home.mc version 1.0') OSTYPE(bsd4.4)dnl FEATURE(nouucp)dnl MAILER(local)dnl MAILER(smtp)dnl Cwlocalhost Cwbsd.home MASQUERADE_AS(`myISP.com')dnl FEATURE(allmasquerade)dnl FEATURE(masquerade_envelope)dnl FEATURE(nocanonify)dnl FEATURE(nodns)dnl define(SMART_HOST, `relay.myISP.com') Dmbsd.home define(`confDOMAIN_NAME',`bsd.home')dnl define(`confDELIVERY_MODE',`deferred')dnl

¦p¦óÂà´«³o­Ó «x¡I§Ú§Ñ°O root ªº±K½X¤F¡I

¤£­nÅå·W¡I¥u­n­«·s±Ò°Ê¨t²Î¡A¦b boot: ´£¥Ü¸¹¥´ -s ¶i¤J³æ¨Ï¥ÎªÌ¼Ò¦¡¡C ¦b°Ý­n¨Ï¥Î­þ­Ó shell ®É¡A«ö¤U ENTER¡C§A·|¬Ý¨ì¤@­Ó # ªº´£¥Ü¸¹¡A¿é¤J mount -u / ¥H­«·s¬[³]§Aªº®ÚÀɮרt²Î¥i¨ÑŪ/¼g¡C°õ¦æ §Ú¸Ó«ç»ò«O¯dÅý Control-Alt-Delete ¤£¯à­«·s±Ò°Ê¨t²Î¡H

­×§ï§A¥¿¦b¨Ï¥Îªº¥D±±¥xÁä½L¹ïÀ³¡A¨Ã¥B§â©Ò¦³ /usr/share/syscons/keymaps/us.iso.kbd¡C§A¥i¯à»Ý­n©ú¥Õªº §h©J /etc/rc.conf ¥hŪ¨ú³o­ÓÁä½L¹ïÀ³¥H½T«O§ó°Ê¥Í®Ä¡C·í µM¦pªG§A¥¿¦b¥Î¾A¦X§A°êÄyªºÁä½L¹ïÀ³¡A§AÀ³¸Ó½s¿è¨º¤@­Ó¡C §Ú¸Ó«ç»ò§â DOS ¤å¦rÀÉ®×­«·s®æ¦¡¤Æ¦¨ UNIX ªº¡H

²³æ¦a¨Ï¥Î³o­Ó perl ©R¥O¡G perl -i.bak -npe 's/\r\n/\n/g' file ...

file ´N¬O­n³B²zªºÀɮסC³o­Ó­×§ï¬O¦b¤º³¡§¹¦¨¡A­ì©lªºÀÉ®×·|Àx¦s¦¨ °ÆÀɦW¬° .bak ªºÀɮסC

©ÎªÌ§A¥i¥H¨Ï¥Î ³o­Ó©R ¥O¡G tr -d '\r' < dos-text-file > unix-file

dos-text-file ¬O¥]§t DOS ¤å¦rªºÀɮסA¦Ó unix-text-file «h¬O¥]§t Âà´«ªº¿é¥Xµ²ªG¡C³o¤ñ¨Ï¥Î perl ÁÙ­n§Ö¤W¤@ÂIÂI¡C §Ú¸Ó«ç»ò¥Î¦WºÙ¬å±¼ process¡H

¨Ï¥Î . ¬°¦ó¦b root ªº ACL ®É su ¦n¹³¦³°ÝÃD¡H

³o­Ó¿ù»~¬O¦]¬° Kerberos ¤À´²»{ÃÒ¨t²Î¡C³o­Ó°ÝÃD¨Ã¤£¬O«ÜÄY­«¦ý¬O¥O¤H ¹½·Ð¡C§A¥i¥H¥Î -K ¿ï¶µ¥h°õ¦æ su¡A©Î¬O¹³¤U­Ó°ÝÃD©Ò´y­zªº²¾°£ Kerberos¡C §Ú¸Ó«ç»ò²¾°£ Kerberos¡H

­n±q¨t²Î¸Ì²¾°£ Kerberos¡A­«¸Ë§A¥¿¦b°õ¦æªº release ª©¥»ªº bin distribution¡C¦pªG§A¦³ CDROM¡A§A¥i¥H mount cd(°²³]¦b /cdrom)¨Ã°õ ¦æ¡G cd /cdrom/bin ./install.sh §Ú¸Ó«ç»ò¼W¥[¨t²ÎªºµêÀÀ²×ºÝ¾÷¡H

¦pªG§A¦³³\¦h telnet¡Assh¡AX ©Î¬O screen ¨Ï¥ÎªÌ¡A§A©Î³\·|¥Î§¹µêÀÀ ²×ºÝ¾÷¡A³o¯à±Ð§A«ç»ò¥[§ó¦h¡G «Ø¥ß¨Ã¦w¸Ë¤@­Ó·sªº®Ö¤ßµ{¦¡¨Ã¥B¥[¤J³o¦æ¨ì³]©wÀÉ¡G pseudo-device pty 256 °õ¦æ³o­Ó©R¥O¡G # cd /dev # ./MAKEDEV pty{1,2,3,4,5,6,7}

·|³y¥X 256 ­ÓµêÀÀ²×ºÝ¾÷ªº¸Ë¸m¸`ÂI¡C ½s¿è /etc/ttys ¨Ã¥[¤J²Å¦X 256 ­Ó²×ºÝ¾÷ªº¦æ¼Æ¡C¥¦­ÌÀ³ ¸Ó²Å¦X¤w¸g¦s¦b³æ¶µªº®æ¦¡¡AÁ|¨Ò¨Ó»¡¡A¥¦­Ì¬Ý°_¨Ó¹³¡G ttyqc none network

¦r¥À³]­pªº¶¶§Ç¬O tty[pqrsPQRS][0-9a-v]¡A¨Ï¥Î¥¿³Wªí¥Ü¦¡¡C ¥Î·sªº®Ö¤ßµ{¦¡­«·s±Ò°Ê¹q¸£´N¥i¥H¤F¡C diff --git a/zh_TW.Big5/FAQ/hackers.sgml b/zh_TW.Big5/FAQ/hackers.sgml index 7a5071a57b..3ddcd8a408 100644 --- a/zh_TW.Big5/FAQ/hackers.sgml +++ b/zh_TW.Big5/FAQ/hackers.sgml @@ -1,492 +1,492 @@ - + For serious FreeBSD hackers only What are SNAPs and RELEASEs?

There are currently three active/semi-active branches in the FreeBSD :

Right now, The The How do I make my own custom release?

To make a release you need to do three things: First, you need to be running a kernel with the driver configured in. Add this to your kernel config file and build a new kernel: pseudo-device vn #Vnode driver (turns a file into a device)

Second, you have to have the whole CVS repository at hand. - To get this you can use + To get this you can use but in your supfile set the release name to cvs and remove any tag or date fields: *default prefix=/home/ncvs *default base=/a *default host=cvsup.FreeBSD.org *default release=cvs *default delete compress use-rel-suffix ## Main Source Tree src-all src-eBones src-secure # Other stuff ports-all www doc-all

Then run Finally, you need a chunk of empty space to build into. Let's say it's in /some/big/filesystem, and from the example above you've got the CVS repository in /home/ncvs: setenv CVSROOT /home/ncvs # or export CVSROOT=/home/ncvs cd /usr/src/release make release BUILDNAME=3.0-MY-SNAP CHROOTDIR=/some/big/filesystem/release

An entire release will be built in /some/big/filesystem/release and you will have a full FTP-type installation in /some/big/filesystem/release/R/ftp when you're done. If you want to build your SNAP along some other branch than -current, you can also add How do I create customized installation disks?

The entire process of creating installation disks and source and binary archives is automated by various targets in /usr/src/release/Makefile. The information there should be enough to get you started. However, it should be said that this involves doing a ``make world'' and will therefore take up a lot of time and disk space. ``make world'' clobbers my existing installed binaries.

Yes, this is the general idea; as its name might suggest, ``make world'' rebuilds every system binary from scratch, so you can be certain of having a clean and consistent environment at the end (which is why it takes so long).

If the environment variable ${DESTDIR}. Some random combination of shared libraries modifications and program rebuilds can cause this to fail in `` When my system boots, it says ``(bus speed defaulted)''.

The Adaptec 1542 SCSI host adapters allow the user to configure their bus access speed in software. Previous versions of the 1542 driver tried to determine the fastest usable speed and set the adapter to that. We found that this breaks some users' systems, so you now have to define the `` Can I follow current with limited Internet access?

Yes, you can do this + by using the How did you split the distribution into 240k files?

Newer BSD based systems have a ``Here is an example from /usr/src/Makefile. bin-tarball: (cd ${DISTDIR}; \ tar cf - . \ gzip --no-name -9 -c | \ split -b 240640 - \ ${RELEASEDIR}/tarballs/bindist/bin_tgz.) I've written a kernel extension, who do I send it to? -

Please take a look at Please take a look at

And thanks for the thought! How are Plug N Play ISA cards detected and initialized?

By:

In a nutshell, there a few I/O ports that all of the PnP boards respond to when the host asks if anyone is out there. So when the PnP probe routine starts, he asks if there are any PnP boards present, and all the PnP boards respond with their model # to a I/O read of the same port, so the probe routine gets a wired-OR ``yes'' to that question. At least one bit will be on in that reply. Then the probe code is able to cause boards with board model IDs (assigned by Microsoft/Intel) lower than X to go ``off-line''. It then looks to see if any boards are still responding to the query. If the answer was ``The IDs are two 32-bit fields (hence 2ˆ64) + 8 bit checksum. The first 32 bits are a vendor identifier. They never come out and say it, but it appears to be assumed that different types of boards from the same vendor could have different 32-bit vendor ids. The idea of needing 32 bits just for unique manufacturers is a bit excessive.

The lower 32 bits are a serial #, ethernet address, something that makes this one board unique. The vendor must never produce a second board that has the same lower 32 bits unless the upper 32 bits are also different. So you can have multiple boards of the same type in the machine and the full 64 bits will still be unique.

The 32 bit groups can never be all zero. This allows the wired-OR to show non-zero bits during the initial binary search.

Once the system has identified all the board IDs present, it will reactivate each board, one at a time (via the same I/O ports), and find out what resources the given board needs, what interrupt choices are available, etc. A scan is made over all the boards to collect this information.

This info is then combined with info from any ECU files on the hard disk or wired into the MLB BIOS. The ECU and BIOS PnP support for hardware on the MLB is usually synthetic, and the peripherals don't really do genuine PnP. However by examining the BIOS info plus the ECU info, the probe routines can cause the devices that are PnP to avoid those devices the probe code cannot relocate.

Then the PnP devices are visited once more and given their I/O, DMA, IRQ and Memory-map address assignments. The devices will then appear at those locations and remain there until the next reboot, although there is nothing that says you can't move them around whenever you want.

There is a lot of oversimplification above, but you should get the general idea.

Microsoft took over some of the primary printer status ports to do PnP, on the logic that no boards decoded those addresses for the opposing I/O cycles. I found a genuine IBM printer board that did decode writes of the status port during the early PnP proposal review period, but MS said ``tough''. So they do a write to the printer status port for setting addresses, plus that use that address + Does FreeBSD support architectures other than the x86?

Several groups of people have expressed interest in working on multi-architecture ports for FreeBSD and the FreeBSD/AXP (ALPHA) port is one such effort which has been quite successful, now available in 3.0 SNAPshot release form at . The ALPHA port currently runs on a growing number of ALPHA machine types, among them the AlphaStation, AXPpci, PC164, Miata and Multia models. This port is not yet considered a full release and won't be until a full compliment of system installation tools and a distribution on CDROM installation media is available, including a reasonable number of working ports and packages. FreeBSD/AXP should be considered BETA quality software at this time. For status information, please join the <freebsd-alpha@FreeBSD.ORG>. Interest has also been expressed in a port of FreeBSD to the SPARC architecture, join the <freebsd-sparc@FreeBSD.ORG> if you are interested in joining that project. For general discussion on new architectures, join the <freebsd-platforms@FreeBSD.ORG> . I need a major number for a device driver I've written.

This depends on whether or not you plan on making the driver publicly available. If you do, then please send us a copy of the driver source code, plus the appropriate modifications to files.i386, a sample configuration file entry, and the appropriate code to create any special files your device uses. If you do not, or are unable to because of licensing restrictions, then character major number 32 and block major number 8 have been reserved specifically for this purpose; please use them. In any case, we'd appreciate hearing about your driver on <freebsd-hackers@FreeBSD.ORG>. Alternative layout policies for directories

In answer to the question of alternative layout policies for directories, the scheme that is currently in use is unchanged from what I wrote in 1983. I wrote that policy for the original fast filesystem, and never revisited it. It works well at keeping cylinder groups from filling up. As several of you have noted, it works poorly for find. Most filesystems are created from archives that were created by a depth first search (aka ftw). These directories end up being striped across the cylinder groups thus creating a worst possible senario for future depth first searches. If one knew the total number of directories to be created, the solution would be to create (total / fs_ncg) per cylinder group before moving on. Obviously, one would have to create some heuristic to guess at this number. Even using a small fixed number like say 10 would make an order of magnitude improvement. To differentiate restores from normal operation (when the current algorithm is probably more sensible), you could use the clustering of up to 10 if they were all done within a ten second window. Anyway, my conclusion is that this is an area ripe for experimentation.

Kirk McKusick, September 1998

Making the most of a kernel panic

[This section was extracted from a mail written by on the freebsd-current by , who fixed a few typos and added the bracketed comments]

From: Bill Paul Subject: Re: the fs fun never stops To: ben@rosengart.com Date: Sun, 20 Sep 1998 15:22:50 -0400 (EDT) Cc: current@FreeBSD.ORG

[<ben@rosengart.com> posted the following panic message] > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x40 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xf014a7e5 ^^^^^^^^^^ > stack pointer = 0x10:0xf4ed6f24 > frame pointer = 0x10:0xf4ed6f28 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 80 (mount) > interrupt mask = > trap number = 12 > panic: page fault

[When] you see a message like this, it's not enough to just reproduce it and send it in. The instruction pointer value that I highlighted up there is important; unfortunately, it's also configuration dependent. In other words, the value varies depending on the exact kernel image that you're using. If you're using a GENERIC kernel image from one of the snapshots, then it's possible for somebody else to track down the offending function, but if you're running a custom kernel then only What you should do is this: Write down the instruction pointer value. Note that the When the system reboots, do the following: % nm /kernel.that.caused.the.panic | grep f0xxxxxx where % nm /kernel.that.caused.the.panic | grep f0xxxxx If that doesn't yield any results, chop off another digit. Repeat until you get some sort of output. The result will be a possible list of functions which caused the panic. This is a less than exact mechanism for tracking down the point of failure, but it's better than nothing.

I see people constantly show panic messages like this but rarely do I see someone take the time to match up the instruction pointer with a function in the kernel symbol table.

The best way to track down the cause of a panic is by capturing a crash dump, then using In any case, the method I normally use is this: Set up a kernel config file, optionally adding 'options DDB' if you think you need the kernel debugger for something. (I use this mainly for setting beakpoints if I suspect an infinite loop condition of some kind.) Use cd /sys/compile/KERNELCONFIG; make Wait for kernel to finish compiling. cp kernel / reboot

[Note: Now that FreeBSD 3.x kernels are Elf by default, you should use

Note that YOU DO To make sure you capture a crash dump, you need edit /etc/rc.conf and set /etc/rc.conf, the /var/crash.

NOTE: FreeBSD crash dumps are usually the same size as the physical RAM size of your machine. That is, if you have 64MB of RAM, you will get a 64MB crash dump. Therefore you must make sure there's enough space in /var/crash to hold the dump. Alternatively, you run Once you have recovered the crash dump, you can get a stack trace with % gdb -k /sys/compile/KERNELCONFIG/kernel.debug /var/crash/vmcore.0 (gdb) where

Note that there may be several screens worth of information; ideally you should use Now, if you're really insane and have a second computer, you can also configure [Bill adds: "I forgot to mention one thing: if you have DDB enabled and the kernel drops into the debugger, you can force a panic (and a crash dump) just by typing 'panic' at the ddb prompt. It may stop in the debugger again during the panic phase. If it does, type 'continue' and it will finish the crash dump." -ed] diff --git a/zh_TW.Big5/FAQ/hardware.sgml b/zh_TW.Big5/FAQ/hardware.sgml index 9e815628db..670f12421a 100644 --- a/zh_TW.Big5/FAQ/hardware.sgml +++ b/zh_TW.Big5/FAQ/hardware.sgml @@ -1,353 +1,353 @@ - + µwÅ骺¬Û®e©Ê FreeBSD ¤ä´©­þ¨ÇµwºÐªº¤¶­±¡H

FreeBSD ¤ä´© EIDE ¤Î SCSI ¶gÃä (¦³µÛ¬Û®eªº controller¡F ½Ð°Ñ¦Ò¤U¤@¬q)¡A¥H¤Î¨Ï¥Î¡uWestern Digital¡v¤¶­±ªº¶gÃä (MEM¡B ¡BRLL¡BESDI¡A·íµM¡AIDE ¤]¦b¥]¬A¤º)¡C¦ý¤Ö¼Æ¨Ï¥Î±M¦³ªº ESDI ªº¤¶­±µLªk¹B§@¡G¹³¬O WD1002/3/6/7 ¤¶­±µ¥µ¥¡C ­þ¤@¨Ç SCSI ¥d¦³³Q¤ä´©¡H -

¦b ¸Ì¦³§¹¾ãªº¸ê®Æ¡C +

¦b ¸Ì¦³§¹¾ãªº¸ê®Æ¡C ­þ¤@¨Ç CD-ROM ³Q FreeBSD ©Ò¤ä´©¡H

­º¥ý¡A¥ô¦ó±µ¦b SCSI ¤¶­±¤Wªº CDROM ³£¦³³Q FreeBSD ©Ò¤ä´©¡C

¨ä¦¸¡A¤U­±©Ò¦Cªº CD-ROM ¤]³£¦³³Q¤ä´©¡G Mitsumi LU002 (8bit), LU005 (16bit) ¤Î FX001D (16bit ¨â­¿³t)¡C Sony CDU 31/33A ±µ¦b Sound Blaster ¤W«D SCSI ¤¶­±ªº CD-ROM Matsushita/Panasonic CD-ROM ¬Û®e©ó ATAPI IDE ¤¶­±ªº CD-ROM

¤w¸gª¾¹D«D SCSI ªº¶gÃä³]³Æ·|¤ñ SCSI ªººC«Ü¦h¡A¥t¥~¡A¦³¤@¨Ç ATAPI CDROM (³o¤]´N¬O»¡«D SCSI ªº CDROM) ¥i¯àµLªk¹B§@¡C

¹ï¤F¡A2.2 ª©ªº FreeBSD CDROM (¥Ñ Walnut Creek ¾ã²zªº) ¤ä´©¥úºÐ¶}¾÷¡C FreeBSD ¤ä´© ZIP ¶Ü¡H

FreeBSD ·íµM¤ä´© SCSI ZIP¡C¦ý¬O ZIP ¥u¯à°÷³Q³]©w¦b SCSI ID 5 ©Î¬O 6 ¡C¦ý¦pªG SCSI ¥d¤Wªº BIOS ¤ä´©¥¦¡A§A¬Æ¦Ü¥i¥H¥Î¥¦¨Ó¶}¾÷¡C§Ú­Ì¤£¾å±o­þ¤@ ¶ô¥d¥i¥HÅý§A§â¥dªº ID ³]¦b°£¤F 0 ©Î 1 ¥H¥~ªº¦a¤è¶}¾÷... ¬Ý¬Ý§Aªº»¡©ú¤â ¥U (ªG§A¦¨¥\ªº¸Ü¡A¤]½Ð§AÅý§Ú­Ìª¾¹D)

ATAPI (¤]´N¬O IDE ¤¶­±) ZIP ¤w¸g¦b FreeBSD 2.2.6 ¤Î¥H«áªºª©¥»³Q¤ä´©¤F¡C

FreeBSD 3.0-STABLE ¤]¦³¤ä´© parallel ZIP¡CµM¦Ó¡A¤£¹L§A»Ý­n»s§@¤@­Ó¥i¥H ¤ä´© ppbus (Parallel Port Bus) ªº kernel¡A¥HÅý§A¥i¥H¨Ï¥Î§Aªº ZIP¡C½Ð°Ñ ¦Ò LINT ³o­ÓÀɮסC

¤]¥i¥H°Ñ¦Ò¡A ¤Î¡C FreeBSD ¦³¤ä´© JAZ¡BEZ ¤Î¨ä¥L¹³³o¤@Ãþ¥i¥H²¾°Êªº³]³Æ¶Ü¡H

°£¤F IDE ªº EZ drive ¥~¡A¨ä¥LªºÀ³¸Ó³£¬O SCSI ¤¶­±¡C©Ò¥H§AÀ³¸Ó±N¤j³¡ ¥÷³]³Æ¬Ý¦¨ SCSI ºÏºÐ¾÷¡A§â³Ñ¤U¨º¨Çªº IDE EZ ªº³]³Æ¬Ý¦¨ IDE ³]³Æ¡C

°Ñ¦Ò¡C ¦³¨º¨Ç multi-port serial ¥d³Q FreeBSD ©Ò¤ä´©¡H -

§A¥i¥H°Ñ¦Ò§A¥i¥H°Ñ¦Òªºªí¡C

ÁöµM¦³¨Ç¥d¬O¨SµPªº¡A¦ý¤]¥i¥H¦b FreeBSD ¤U¤u§@¡A¹³¬O¸¹ºÙ¤ä´© AST ªº¥d¡C

°Ñ¦Ò ¥i¥HÅý§A¤F¸Ñ§ó¦h¦³Ãö©ó³o¤@Ãþ¥dªº¸ê°T¡C §Ú¦³¤@°¦ bus mouse¡C§Ú¸Ó¦p¦ó³]©w¡H

FreeBSD ¤ä´©¥Ñ Microsoft, Logitech ¤Î ATI ©Ò¥Í²£ªº bus mouse ¤Î InPort bus mouse¡C³o¨Ç·Æ¹«ªº driver ³£¤w¸g¤º§t¦b GENERIC ¸Ì­±¤F¡C¦pªG§A¦Û¤v¦³­«·s °µ¤@­Ó kernel¡A½Ð½T©w¦³¨S¦³§â¤U¦C³o¤@¦æ¥[¤J§Aªº kernel config file¡G device mse0 at isa? port 0x23c tty irq5 vector mseintr

¶R bus mouse ®ÉÀ³¸Ó·|§t¤@¶ô¤¶­±¥d¡C³o¶ô¥d¤¹³\§A³]©w¤£¦Pªº port address ¤Î IRQ number¡C°Ñ¦Ò§Aªº»¡©ú¤â¥U¤Î ¨Ó±o¨ì§ó¦hªº¸ê°T. §Ú¦p¦ó¨Ï¥Î PS/2 mouse ©Î¬O PS/2 keyboard¡H

¦pªG§Aªº FreeBSD ¬O 2.2.5 ¥H¤Wªºª©¥» (§t 2.2.5)¡A¨º»ò§A»Ý­nªº driver ¤£¶È©ñ¨ì kernel ¸Ì­±¤F¡A¦Ó¥B§Aªº PS/2 ³]³ÆÀ³¸Ó¥i¥H¦b¶}¾÷®É³Q°»´ú¨ì¡C

¦pªG§A¥Îªº¬O 2.1.x ¨ì 2.2.5 (¤£§t 2.2.5) ª©ªº FreeBSD¡A§A¥i¥H¦b ¶}¾÷ªº®É­Ô¶i¤J¡ukernel configuration menu¡v¸Ì¥h±Ò°Ê¡A¤]´N¬O¦b¶}¾÷®É¥X²{ boot: ªº²Å¸¹«á¥´¤J -c¡C¦]¬°¹w³]­È¬OÃö±¼ªº¡A©Ò¥H§A¥²»Ý¦Û¤v¥h±Ò°Ê¥¦¡C

¦pªG§A¥Îªº¬O§óªºª©¥»¡A§A»Ý­n¦Û¤v½s¤@­Ó kernel¡A¦b§Aªº®Ö¤ß³]©wÀɸ̭±¥[¤J¡G device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

¦pªG§A¹ï©ó¦Û¤v½s¤@­Ó®Ö¤ß¨S¦³¸gÅç¡A½Ð°Ñ¦Ò + url="../../handbook/kernelconfig.html" name="¡u½s¤@­Ó®Ö¤ß¡v">

¦pªG¦b¶}¾÷®É¦³§ä¨ì psm0 «o¤£¯à¨Ï¥Î¡A½Ð½T©w¦b /dev ¤U¦³ psm0 ³o­Ó³]³ÆÀÉ¡C ¦pªG¨S¦³¡A§AÀ³¸Ó¥Î root ªº¨­¥÷¿é¤J¤U­±³o¦æ¨Ó°µ¥X¡G cd /dev; sh MAKEDEV psm0 ¬O§_¦³¥i¯à¦b X Window ¤§¥~¨Ï¥Î·Æ¹«©O¡H

¦pªG§A¥Îªº¬O default console driver¡A¤]´N¬O syscons¡A¦Ó·Q­n¥Î ·Æ¹««ü¼Ð¨Ó°Å¶K¤å¦r¡A¨º»ò´N°õ¦æ·Æ¹«ªº daemon¡A¤]´N¬O moused¡AµM«á ¥Î¤U­±³o¨â¦æ¨Ó±Ò°Ê¥¦¡G moused -p /dev/xxxx -t yyyy vidcontrol -m on

xxxx ªº¦a¤è¶ñ¤J mouse ªº device name¡A¦Ó yyyy ¶ñ¤J³o°¦·Æ¹«ªº protocol type¡C§A¥i¥H°Ñ¦Ò ³o­Ó man page ¨Ó§ä¬Ý¬Ý¦³¨º¨Ç protocol types ¥i¥H¶ñ¡C

¦pªG§A·Q­n¦b¶}¾÷®É´N°õ¦æ moused¡C¦b 2.2.1 ª©¤§«e (§t 2.2.1)¡A¨ì /etc/sysconfig ³]©w¤U­±ªº­È¡G mousedtype="yyyy" mousedport="xxxx" mousedflags="" ¦b 2.2.2 ª©¥H«á (§t 2.2.2) ¨ì /etc/rc.conf ³]©w¤U­±ªº­È¡G moused_type="yyyy" moused_port="xxxx" moused_flags=""

¥t¥~±q 2.2.6 ª©¶}©l¡Amoused ¥i¥H¦Û°Ê¨M©w protocol type¡A°£«D·Æ¹«¹ê¦b ¬O¤Ó¤F¡C¦pªG¤Óªº¸Ü¡A¦b moused_type ¶ñ¤J ``auto''¡AµM«á¬èë ¥i¥H°»´úªº¨ì¡C

·í°õ¦æ moused «á¡A·Q­n¦b¨ä¥Lµ{¦¡¸Ì¨Ï¥Î·Æ¹«»Ý­n¹³ X Window ³oÃþªºÀ³¥Î µ{¦¡¡C°Ñ¦Ò¥»¤åªº ¦p¦ó¦b text console ¸Ì°Å¶K¡H

·í°õ¦æ moused «á¡A(°Ñ¦Ò)¡A«ö¦í¥ªÁä¡A ²¾°Ê·Æ¹«¨Ó¿ï¾Ü¤@­Ó°Ï°ì¤§«á©ñ¶}¡CµM«á¡A«ö¤U¤¤Áä©Î¥kÁä¡A´N¥i¥H¶K¤W¥h¤F¡C

¦b 2.2.6 ª©«á (§t 2.2.6)¡A«ö¤U¤¤Áä·|°õ¦æ¶K¤W³o­Ó°Ê§@¡A¦ý«ö¤U¥kÁä·|©µ¦ù ©Ò¿ï¨úªº°Ï°ì¡C¦pªG§Aªº·Æ¹«¨S¦³¤¤Áä¡A§A¥i¥H¥Î¼ÒÀÀªº¤è¦¡©Î¬O­«·s©w¸q·Æ¹««ö Á䪺¤è¦¡¨Ó¹F¦¨¡u©µ¦ù¡vªº¥\¯à¡C°Ñ¦Ò ³o­Ó man pages ¨Ó±o¨ì§ó¦h¬ÛÃö¸ê°T¡C §Úªº·Æ¹«¤W¦³ºu½ü¡A¯à¤£¯à¦b FreeBSD ¤U¨Ï¥Î¡H

«Ü¤£©¯ªº¡A¦b¤j¦h¼Æªº±¡ªp¤U¤£¦æ¡C³o¨Ç±a¦³ºu½üªº·Æ¹«»Ý­n¥Î¯S ®íªºÅX°Êµ{¦¡¡C°£«D·Æ¹«¦³³Q§Aªºµ{¦¡©Î¬OÅX°Êµ{¦¡©Ò¤ä´©¡A¤£µM³o¨Ç·Æ ¹«¥u¯à°÷·í¦¨¬O´¶³qªº¨âÁä©Î¤TÁ䪺·Æ¹«¨Ï¥Î¡C §Ú¯à¦b§Úªº laptop ¤W¨Ï¥Î·Æ¹«/­y¸ñ²y/touchpad ¶Ü¡H

°Ñ¦Ò¡A¨Ã¥B°Ñ¦Ò on the Mobile Computing page. ¦³¨º¨Ç tape ©PÃ䦳³Q¤ä´©¡H

FreeBSD ¤ä´© SCSI¡AQIC-36 (QIC-02 ¤¶­±) ¤Î QIC-40/80 (Floppy ¤¶­±) tape drives¡C ¥]¬A 8-mm (aka Exabyte) ¤Î DAT drives¡C¤w¸gª¾¹D QIC-40/80 drives «ÜºC¡C

¬Y¨Ç¦­´Áªº 8-mm drives ¨Ã¤£¬Û®e©ó SCSI-2¡A¥i¯à¨S¦³¿ìªk¦b FreeBSD ¤W¹B§@¡C FreeBSD ¤ä´© tape changer ¶Ü¡H

FreeBSD 2.2 §Q¥Î ³o­Ó³]³Æ¨Ó¤ä´© SCSI changers¡A§A¥i¥H°Ñ¦Ò ³o­Ó«ü¥O¡C ¦p¦ó±±¨î changer ªº¤èªk¥i¥H¦b ³o¥÷»¡©ú¤å¥ó¸Ì§ä¨ì¡C

¦pªG§A¤£¬O¥Î ©Î ¨ä¥L¤w¸g³Qª¾¹Dªº changer¡A°O¦í¡A§A¥uª¾¹D¦p¦ó±N¤@­Ó tape ±q¨ä¤¤¤@­Ó²¾¨ì¥t¥~¤@­Ó¡A ©Ò¥H§A»Ý­n°O¦í¨º¤@­Ó tape ¦b¸Ì­±¡A¤Î²{¦b¦³¨º¤@­Ó tape »Ý­n©ñ¦^¥h¡C ¦³¨º¨Ç­µ®Ä¥d¦³³Q FreeBSD ¤ä´©¡H

FreeBSD ¤ä´© SoundBlaster¡ASoundBlaster Pro¡ASoundBlaster 16¡A Pro Audio Spectrum 16¡AAdLib ¤Î Gravis UltraSound sound cards¡C ¦ý¹ï©ó MPU-401 ¤Î¨ä¬Û®e MIDI ¥dªº¤ä·½¦³­­¡C¹ï©ó¨Ï¥Î Microsoft Sound System ªº¥d¥i¥H³z¹L pcm ªºÅX°Êµ{¦¡¨Ó¨Ï¥Î¥¦¡C

¨º¨Çºô¸ô¥d³Q FreeBSD ©Ò¤ä´©¡H -

°Ñ¦Ò +

°Ñ¦Ò ¡A¸Ì­±¦³§¹¾ãªº²M³æ¡C §Úªº¹q¸£¨S¦³¯BÂI¹Bºâ¾¹¡A³oÅ¥°_¨Ó¦n¹³¤£¤Ó¦n¡H

¤@¯ë¨Ó»¡³o¤£·|³y¦¨¥ô¦ó°ÝÃD¡A¦ý·í§A­n¥Îªº®É­Ô¡AµL½×¦b®Ä²v¤W»Pºë±K«×¤W¡A ¼ÒÀÀ¯BÂI¹Bºâªºµ{¦¡½X¤£¯à­ÝÅU (°Ñ¦Ò)¡C ¤×¨ä¬O¦b X ¤U­±µe©·§Î®É·|«ÜºC¡C©Ò¥H¡A§Ú­ÌÁÙ¬O·|«ØÄ³¶R¤@Áû¯BÂI¹Bºâ¾¹¡C

2.X Á٤䴩¨º¨Ç³]³Æ¡H -

½Ð¦h¦h°Ñ¦Ò +

½Ð¦h¦h°Ñ¦Ò ¡A¸Ì­±¦³¦C¥X¡C FreeBSD ¤ä´©¹q·½ºÞ²z¨t²Î¶Ü¡H

FreeBSD ¤ä´©¬Y¨Ç¾÷¾¹¤Wªº APM¡C½Ð°Ñ¦Ò ³o­ÓÃöÁä¦r¡C ¦b¬Y¨ÇµwÅé¤W©Ò²£¥Íªº°ÝÃD

¥»¬q¥]¬A¤F¬Y¨ÇµwÅé©Ò²£¥Íªº°ÝÃD¡C ¦b Micron systems ªº¥D¾÷ªO¤W§Ú¨S¦³¿ìªk¶i¤J FreeBSD

Micron ªº¬Y¨Ç¥D¾÷ªO¨S¦³¿í¦u PCI BIOS ªº³W©w¡A¦Ó¾É¦Ü©ó·í¶i¤J FreeBSD ®É±¾±¼¡C¦]¬°³o¨Ç PCI ªº³]³Æ¨S¦³¦b¶}¾÷®É¦V¥D¾÷ªO³ø§i¥Lªºªº¦ì¸m¡C

¶i¤J BIOS «á¡A±N¡uPlug and Play Operating System¡v³o¶µµ¹ disable ±¼ ¥i¥H¼È®É¸Ñ¨M³o­Ó°ÝÃD¡C¦pªG§A·Q±o¨ì§ó¦h¦³Ãö Micron ªº°T®§¡A¥i¥H°Ñ¦Ò §Ú¦³¤@¶ô·s¶Rªº Adaptec ¥d¡A¦ý¬O FreeBSD §ä¤£¨ì¥¦¡C

Adaptec ·sªº AIC789x ¨t¦C´¹¤ù²Õ¦b­è¥XÄlªº CAM SCSI Àô¹Ò¤U¥i¥H¨Ï¥Î¡C 2.2-STABLE »Ý­n patches¡A¦b ¡CA CAM-enhanced ¶}¾÷ºÏ¤ù¦b ¡CµL½×§A¬O¥Î¨º¤@­Ó¡A½Ð¥ý°Ñ¦Ò README

§Ú³o¦³¤@­Ó PnP ªº modem¡A¦ý¬O FreeBSD ¨S§ä¨ì«¨¡H

§A»Ý­n§â modem ªº PnP ID ¥[¨ì serial ÅX°Êµ{¦¡ªº PnP ID ªí¸Ì¡AµM«á±N PnP ªº¥\¯à µ¹¥´¶}¡C¦b§Aªº®Ö¤ß³]©wÀɸ̥[¤J /sys/i386/isa/sio.c¡A¤j¬ù 1200 ¦æªº¦a¤è¡C§A¥i¥H§ä "SUP1310" ³o­Ó ¦r¦ê¨ÓÀ°§U§A§ä¨ì "siopnp_ids[]" ³o­Óªí¡C¦A­«·s½sͤ@­Ó kernel ¤§«á­«·s¶}¾÷¡A§Aªº modem À³¸Ó·|³Q§ä¨ì¤F¡C

§A¤]¥i¥H¦b¶}¾÷®É¤â°Ê¿é¤JÃþ¦ü¤U­±ªº¦r¦êÅý®Ö¤ß¬Ý¨ì§Aªº modem¡G pnp 1 0 enable os irq0 3 drq0 0 port0 0x2f8

§Ú¸Ó¦p¦ó¦b serial console «e¬Ý¨ì boot: ³o­Ó´£¥Ü²Å¸¹¡H

¦b§Aªº®Ö¤ßÀɸ̭±¥[¤J¤@¦æ µM«á¨ì /boot.config ¸Ì¼g¤J Unplug the keyboard from the system.

°Ñ¦Ò /usr/src/sys/i386/boot/biosboot/README.serial ¨Ó¤F¸Ñ§ó¦hªº¸ê°T¡C

¬°¤°»ò§Úªº 3Com PCI ºô¸ô¥d¨S¦³¿ìªk¦b Micron ¥D¾÷ªO¤W¤u§@¡H

¬Y¨Ç Micron ¥D¾÷ªO¨S¦³¿í¦u PCI BIOS ªº³W©w¦Ó¨Ï±o PCI ªº¶gÃä³]³Æ¨S¦³¦^³ø ¥L­Ìªº¦ì¸m¡C³o¨Ï±o¦b¶i¤J FreeBSD ®É·|±¾±¼¡C

¦pªG­n¼È®É¸Ñ¨M³o­Ó°ÝÃD¡A½Ð¦b BIOS ¸Ì disable¡uPlug and Play Operating System¡v

¦³Ãö Micron §ó¦hªº°T®§¥i¥H°Ñ¦Ò¡G FreeBSD ¤ä´© Symmetric Multiproccessing (SMP) ¶Ü?

SMP ¥u¦b 3.0-STABLE ¤Î¨ä¤§«áªºµo¦æª©¥»¤¤³Q¤ä´©. diff --git a/zh_TW.Big5/FAQ/install.sgml b/zh_TW.Big5/FAQ/install.sgml index 8dd215fb45..02b880b942 100644 --- a/zh_TW.Big5/FAQ/install.sgml +++ b/zh_TW.Big5/FAQ/install.sgml @@ -1,630 +1,630 @@ - + ¦w¸Ë FreeBSD §Ú¸Ó¤U¸ü­þ¨ÇÀÉ®×¥H¨ú±o FreeBSD¡H

³q±`§A¥u»Ý­n¤@±i³nºÐ image ÀÉ¡Afloppies/boot.flp¡A§â¥¦«þ ¨©¨ì 1.44MB ³nºÐ¤ù¤WµM«á±Ò°Ê¥¦¡A¦A¥h¤U¸ü¨ä¥Lªº³¡¥÷(¦w¸Ëµ{§Ç·|ºÞ ²z§Aªº TCP/IP ³s½u¡A¥H¤Î tapes¡A¥úºÐ¾÷¡A³nºÐ¾÷¡ADOS ¤À³Î°Ï¡A¤Î ¨ä¥L¥u­n¬O¦w¸Ë¹Lµ{¤¤»Ý­n¥Î¨ìªº¨Æª«)¡C

­Y§A¥u»Ý­n¦Û¤v¤U¸ü distributions(¥i¨³³tªº¥Ñ DOS Àɮרt²Î¨Ó¦w¸Ë) ¡A¥H¤U¬O§Ú­Ì«ØÄ³§A§ì¨Ó¦w¸Ëªº distributions¡G bin/ manpages/ compat*/ doc/ src/ssys.*

¦w¸Ëµ{§Çªº§¹¾ã«ü¥O¡A¥H¤Î§ó¦h´¶¹M©Ê¦w¸Ë®É·|¸I¨ìªº°ÝÃD¥i¥H¦b - ³o¸Ì§ä¨ì¡C ±Ï©R¡I±Ò°Êªº³nºÐ image ÀɵLªk¶ë¨ì¤@¤ù³æ¿Wªº³nºÐ¤ù¸Ì¡I

¤@±i 3.5 ­^¦T(1.44MB)³nºÐ¤ù¥i¥H®e¯Ç 1474560 ¦ì¤¸²Õªº¸ê®Æ¡C ±Ò°Êªº image ÀÉ´N­è¦n¬O³o­Ó¤j¤p¡C

¦b·Ç³Æ±Ò°Ê³nºÐ¤ù®É±`¨£ªº¿ù»~¦³¡G ¨Ï¥Î FTP ®É¨S¦³¨Ï¥Î binary ¼Ò¦¡¤U¸ü³nºÐ image¡C

¬Y¨Ç FTP client ³nÅ饦­Ì¤º©wªº¶Ç¿é¼Ò¦¡¬O ascii ¨Ã¥B¸ÕµÛ§ó§ï¥ô¦óªº end-of-line ¦r¤¸¡A¥H²Å¦X³o­Ó client ¨t²Î ¥»¨­ªºÂà´«¡C¤j³¡¤À±¡§Î¤U³o¥²µM·|·´·l±Ò°Ê image ÀÉ¡AÀˬd¤@¤U §A¤U¸üªº±Ò°Ê image Àɤj¤p¡G¦pªG³o¤£¬O§¹¥þ¦a»P server ºÝ¤Wªº¤j¤p¬Û¦P¡A¨º»ò§Aªº¤U¸üµ{§Ç´N¦³°ÝÃD¡C

¸Ñ¨M¤èªk¡G¦b§A³s±µ¤W server ¦ý©|¥¼¶}©l¤U¸ü¬M¹³Àɤ§«e¡A ¬Ý¨ì FTP ©R¥O´£¥Ü¸¹®É¥´ binary¡C ¨Ï¥Î DOS ªº copy ©R¥O(©Îµ¥®Äªº GUI ¤u¨ã)¨Ó§â±Ò °Ê image Àɶǰe¨ì³nºÐ¤ù¡C

Ãþ¦ü¹³ copy ªºµ{¦¡¡A¦b±Ò°Ê image ÀɳQ«Ø¥ß¨Ã¥Bª½±µ ¶}¾÷«á¨Ã¨S¦³¥\¥Î¡C¬M¹³Àɸ̦³§¹¾ãªººÏºÐ¤º®e¡AºÏ­y¹ïºÏ­y¡A³o¥N ªíµÛ§AµLªk¥ÎºÏ¤ù¤W©T©wªºÀÉ®×¥h¨ú¥N¥¦¡C §A¥²¶·§â¥¦¶Ç°e¨ì³nºÐ¤ùªº``raw''¤W¡A¨Ï¥Î§C¶¥¤Æ¤u¨ã(¹³¬O fdimage ©Î rawrite)¡A³o¨Ç¦b - ¸Ì­±¦h¦³´y­z¡C ¦w¸Ë FreeBSD ªº«ü¥O¦b­þ¸Ì¡H

§A¥i¥H¦b³o¸Ì§ä¨ì¦w¸Ë«ü¥O¡C - ­n°õ¦æ FreeBSD §ÚÁٻݭn¤°»ò¡H

§A»Ý­n¤@¥x 386 ©Î§ó¦nªº PC¡A¥]§t 5MB ©Î§ó¦hªº RAM ¥H¤Î¦Ü¤Ö 60MB ªººÏºÐªÅ¶¡¡C¥i¥H¶È¨Ï¥Î¤@­Ó§C¶¥ªº MDA ¹Ï§Î¥d¡A¦pªG§A­n°õ¦æ X11R6 ¡A´N»Ý­n VGA ©Î§ó¦nªºµø°T¥d¡C

¥ç°Ñ¦Ò³o­Ó³¹¸` §Ú¥u¦³ 4MB RAM¡A¨º§Ú¯à¦w¸Ë FreeBSD ¶Ü¡H

FreeBSD 2.1.7 ¬O³Ì«á¤@­Ó¥i¦b 4MB ¨t²Î¤W³Q¦w¸Ëªºª©¥»¡C·sª©ªº FreeBSD¡A¹³¬O 2.2¡A»Ý­n¦Ü¤Ö 5MB ¨Ó¦w¸Ë¥¦¦b¤@­Ó¥þ·sªº¨t²Î¤W¡C

FreeBSD ªº©Ò¦³ª©¥»¡A¥]¬A 3.0¡A³£¯à¦b 4MB ªº°O¾ÐÅé¤U°õ¦æ¡A¤£ ¹L¦w¸Ë®É¤£¯à¥u¥Î 4MB¡C¦pªG§A·Q³o¼Ë¡A§A¥i¥H¦b¦w¸Ë®É¥[¤JÃB¥~ªº °O¾ÐÅé¡AµM«áµ¥¨t²Î¥i¥H°õ¦æ«á¡A´«¦^ 4MB¡C©Î¬O§A¥i¥H§â§AªººÏºÐ ¾÷¤Á¥X¤@­Ó 4MB ¥H¤W¸m´«ªÅ¶¡¡A¦w¸Ë¦n¨t²Î«á¦A§â¸m´«ªÅ¶¡¬å±¼¡C

FreeBSD 2.1.7 ¤]¦³¤£¯à¦b 4MB ¦w¸Ëªº±¡§Î¡C¥¿½Tªº»¡¡AÀ³¸Ó¬O«ü ¤£¯à¦b°ò¥»ªº 640kB ¥[¤W 3MB ©µ¦ù°O¾ÐÅé¸Ì¦w¸Ë¡C¦pªG§Aªº¥D¾÷ªO ¥i¥H­«·s§ä¦^¦b 640kB ¨ì 1MB ½d³ò¤¤¨º¨Ç``¿ò¥¢''ªº°O¾ÐÅé¡A¨º»ò ©Î³\§AÁÙ¬O¥i¥H§â FreeBSD 2.1.7 ¸Ë°_¨Ó¡C

¸ÕµÛ¶i¤J§Aªº BIOS ³]©w¿ï³æ¨Ã§ä¤@­Ó``remap''¿ï¶µ¡A§â¥¦¥´¶}¡C §A©Î³\¤]¸Ó§â ROM shadowing µ¹Ãö±¼¡C

¥u¦b¦w¸Ë®É¨Ï¥Î 4MB ¥i¯à®e©ö¤@ÂI¡A«Ø¥ß¤@­Ó¥u¦³§A»Ý­nªº¿ï¶µªº ®Ö¤ßµ{¦¡¡AµM«á´N¥i¥H¥u¥Î 4MB¡C

§A¤]¥i¥H¦w¸Ë 2.0.5 µM«á¦A§â§Aªº¨t²Î¥Î 2.1.7 ¦w¸Ëµ{¦¡¸Ì ``upgrade''ªº¿ï¶µ¤É¯Å¨ì 2.1.7 ª©¥»¡C

¦w¸Ë«á¦pªG§A«Ø¥ß¤@­Ó¦Û­qªº®Ö¤ß¡A³o±N·|¦b 4MB ¤U°õ¦æ¡C´¿¦³ ¤H¦¨¥\ªº¥Î 2MB ¶}¾÷(¤£¹L¨t²Î´X¥G¤£¯à¥Î :-))¡C §Ú¸Ó«ç»ò»s§@¦Û­qªº¦w¸Ë³nºÐ¤ù¡H

¥Ø«e§AµLªk*¥u*»s§@¤@­Ó¦Û­qªº¦w¸Ë³nºÐ¤ù¡C§A¥²¶·°µ¥X¾ã­Ó¥þ·sªº release ¨t²Î¡A³o¸Ì­±´N¥]¬A§Aªº¦w¸Ë³nºÐ¤ù¡C¬Y¨Ç¦b /usr/src/release/floppies/Makefile ¸Ìªºµ{¦¡½X°²³]¯àÅý §A*¥u*°µ¥X¨º¨Ç³nºÐ¤ù¡A¦ý¬O¨Æ¹ê¤WÁÙ¤£¦æ¡C

­n°µ¥X¦Û­qªº release ª©¥»¡A½Ð¿í´` ªº«ü¥O¡C §Ú¥i¥H¦b§Úªº PC ¤W¾Ö¦³¶W¹L¤@­Ó¥H¤Wªº§@·~¨t²Î¶Ü¡H

½Ð°Ñ¦Ò Windows 95 ¥i¥H¸ò FreeBSD ¨Ã¦s¶Ü¡H

¥ý¦w¸Ë Windows 95¡AµM«á¦A¸Ë FreeBSD¡CFreeBSD ªº±Ò°ÊºÞ²z­û ·|±µµÛºÞ²z±Ò°Ê Win95 ©M FreeBSD ªº¤u§@¡C°²¨Ï§A²Ä¤G­Ó¤~¥h¸Ë Win95¡A¥¦±N·|°Ý³£¤£°Ýªº²Ê¾|¦a§â§Aªº±Ò°ÊºÞ²z­ûÂмg¹L¥h¡C°² ¦p³o¤w¸gµo¥Í¡A½Ð¬Ý¤U¤@¸`¡C Windows 95 §â§Úªº±Ò°ÊºÞ²z­û±þ±¼¤F¡I§Ú¸Ó«ç»ò§â¥¦±Ï¦^¨Ó¡H

§A¥i¥H¥Î¥H¤U¨âºØ¤èªk¤§¤@¨Ó­«·s¦w¸Ë FreeBSD ªº±Ò°ÊºÞ²z­û¡G °õ¦æ DOS¡A¶i¤J§Aªº FreeBSD distributions ªº tools/ ¥Ø¿ý ¨Ã§ä¨ì bootinst.exe¡C§A¥i¥H³o¼Ë°õ¦æ¥¦¡G

bootinst.exe boot.bin

³o¼Ë±Ò°ÊºÞ²z­û±N·|¦A¦¸³Q¦w¸Ë¡C ¥Î FreeBSD ±Ò°Ê³nºÐ¤ù¦A¦¸¶}¾÷µM«á¶i¤J Custom ¦w¸Ë¿ï³æ ¶µ¥Ø¡A¿ï¾Ü Partition¡A¿ï¾Ü¨º­Ó¥]§t±Ò°ÊºÞ²z­ûªººÏºÐ¾÷(¤j¦h¬O ²Ä¤@­Ó)¡AµM«á·í¤À³Î°Ï½s¿è¾¹(partition editor)¥X²{®É¡A²Ä¤@¥ó ¨Æ(·N«ä´N¬O¡G¤£­n°µ¥ô¦ó§ó§ï) ¥ý¿ï¾Ü (W)rite¡C·|¥X²{½T»{ªº¸ß °Ý¡A¦^µª yes¡AµM«á·í§A¬Ý¨ì Boot Manager ªº¿ï¾Ü´£¥Ü®É¡A½T©w §A¿ïªº¬O"Boot Manager"³o¶µ¡C ³o·|§â±Ò°ÊºÞ²z­û­«·s¼g¦^ºÏºÐ¸Ì¡C¸õÂ÷¦w¸Ë¿ï³æµM«á´N¸ò¥¿±`±¡§Î ¤@¼Ë­«·s±Ò°ÊµwºÐ¡C §Ú¥i¥H¦b¤@­Ó¦³Ãa­y(bad blocks)ªººÏºÐ¤W¶i¦æ¦w¸Ë¶Ü¡H

FreeBSD ªº bad block ( ©R¥O) ³B²z¨Ã«D 100&percnt §¹¥þ(¥Î¹Ï§Î¤Æ¨Ó¬Ý)¡A¦Ó¥B«Ü¤£©¯§Ú­n§i ¶D§A°²¦p§A¦³¤@­Ó IDE ©Î ESDI ¸Ë¸m¥]§t¤j¶qªº bad blocks¡A¨º»ò FreeBSD ¥i¯à¤£¾A¦X§A¡I³oªí¥Ü¡A¹ï¨ä¥L¤j¦h¼Æªº IDE ¨t²Î¥i¯à¦³ ¥Î¡A§A¥i¯à·Q¦b©ñ±ó«e¥ý¹Á¸Õ¬Ý¬Ý¡C

¦pªG§A¦³¤@­Ó¦³ bad blocks ªº SCSI ¸Ë¸m¡A½Ð¬Ý . ·í§Ú±Ò°Ê¦w¸Ë³nºÐ¤ù®É¡A©_©Çªº¨Æ±¡µo¥Í¤F¡I

¦pªG§A¬Ý¨ì©_©Çªº¨Æ±¡¡A¹³¬O¾÷¾¹°±¦í¤F©Î¬O·í§A¸ÕµÛ±q¦w¸ËºÏ¤ù°_ °Ê®É¬ðµM¦Û°Ê­«·s¶}¾÷¤F¡A³o¸Ì¦³¤T­Ó°ÝÃD§A¸Ó¥ý°Ý°Ý¦Û¤v:- §A¬O§_¨Ï¥Î¤@­Ó·sªº¡A­è®æ¦¡¤Æ¹L¡A¨S¦³¥ô¦ó¿ù»~ªº³nºÐ¤ù(¥i ¥H¬O¤@±i¥þ·s­è©î«Êªº¡A¦Ó«D¬O¨ººØ¤w¸g§Aªº§É¤U½ö¤F¤T¦~¡A¬OÂø»xÃØ °eªº«Ê­±ºÏ¤ù)¡H §A¬O§_¥Î binary ¼Ò¦¡¤U¸ü³nºÐ¬M¹³ÀÉ¡H (¤£¥Î¤£¦n·N«ä¡A´Nºâ¬O§Ú­Ì¤§¤¤³Ì¦nªº¤@­Ó¤H¤]´¿·N¥~ªº§â binary ÀɥΠASCII ¼Ò¦¡¤U¸ü¦Ü¤Ö¤@¦¸¡I) ¦pªG§A¥¿¦b¨Ï¥Î¹³¬O Windows95 ©Î Windows NT ³o´XºØ·s«¬ªº §@·~¨t²Î¡A§A¦³¨S¦³§â¨t²ÎÃö¾÷µM«á±Ò°Ê¨ì³Ì­ì©lª¬ºA¡A¥u¦³ DOS¡H ³o¨Ç OS ¬Ý°_¨Ó·|ªý꨺¨Çª½±µ¾Þ§@µwÅ骺µ{¦¡¡A¹³¬O«Ø¥ßºÏºÐªºµ{¦¡ ¡A¥u­n¦b GUI Àô¹Ò¤Uªº DOS shell ´N·|¾É­P³o­Ó°ÝÃD¡C

¤]¦³¹L³ø§i¦³Ãö Netscape ·|¾É­P¤U¸ü±Ò°Ê³nºÐªº°ÝÃD¡A¦]¦¹¦pªG§A ¥i¥H¡A³Ì¦n¨Ï¥Î§OºØ¤£¦Pªº FTP client ¡C ±Ï©R¡I§Ú¤£¯à±q tape ¦w¸Ë¡I

¦pªG§A±q tape ¦w¸Ë 2.1.7¡A§A¥²¶·¥Î¨C­Ó tar blocksize ¬O 10 (5120 bytes)«Ø¥ß³o­Ó tape¡C¤º©wªº tar blocksize ¬O 20(10240 bytes)¡AµM¦Ó¥Î³oºØ¤º©w¤j¤p«Ø¥ßªº tape µLªk¥Î¨Ó¦w¸Ë 2.1.7R¡F ¦pªG§A¥Î³oºØ tapes¡A§A·|¬Ý¨ì¦³Ãö¸ê®Æ°O¿ý°Ï¤j¤p¹L¤jªº©ê«è°T ®§¡C ¥Î¤@±ø¨ÃÁp½u(PLIP)³s±µ¨â¥x FreeBSD¡C

§ä¤@±ø laplink ½u¡A½T©w¨âÃä¹q¸£ªº®Ö¤ß³£¤ä´© lpt ÅX°Êµ{¦¡¡C $ dmesg | grep lp lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface

§â laplink ½u´¡¤J¨ÃÁp¬É­±¤W¡C

¥Î root ¨­¤À¦b¨â¥x¹q¸£¤W³]©w lp0 ªººô¸ô¬É­±°Ñ¼Æ¡CÁ|¨Ò¡A¦pªG §A·Q¥Î max ³s±µ moritz¡G max <-----> moritz IP Address 10.0.0.1 10.0.0.2 max ºÝÀ³¸Ó³o¼Ë¶}©l¡G # ifconfig lp0 10.0.0.1 10.0.0.2 moritz «h³o¼Ë¡G # ifconfig lp0 10.0.0.2 10.0.0.1

¦n¤F¡I¤]½Ð§A¬Ý¬Ý lp(4) ©M lpt(4) ªº manpages¡C

§A¤]¸Ó§â³o¨Ç¥D¾÷¥[¨ì /etc/hosts ¸Ì­±¡C 127.0.0.1 localhost.my.domain localhost 10.0.0.1 max.my.domain max 10.0.0.2 moritz.my.domain moritz

¥Î¥H¤U¤èªkÀˬd¬O§_¦³¥¿±`°Ê§@¡G on max: $ ifconfig lp0 lp0: flags=8851 mtu 1500 inet 10.0.0.1 --> 10.0.0.2 netmask 0xff000000 $ netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire moritz max UH 4 127592 lp0 $ ping -c 4 moritz PING moritz (10.0.0.2): 56 data bytes 64 bytes from 10.0.0.2: icmp_seq=0 ttl=255 time=2.774 ms 64 bytes from 10.0.0.2: icmp_seq=1 ttl=255 time=2.530 ms 64 bytes from 10.0.0.2: icmp_seq=2 ttl=255 time=2.556 ms 64 bytes from 10.0.0.2: icmp_seq=3 ttl=255 time=2.714 ms --- moritz ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/stddev = 2.530/2.643/2.774/0.103 ms §Ú¥i¥H¦b§Úªº½¥¤W«¬¹q¸£¥Î PLIP(Parallel Line IP)¦w¸Ë¶Ü¡H

¥Î laplink ¨ÃÁp½u³s±µ¨â¥x¹q¸£¥H¨Ï¥Î³o­Ó¯S©Ê¡G +----------------------------------------+ |A-name A-End B-End Descr. Port/Bit | +----------------------------------------+ |DATA0 2 15 Data 0/0x01 | |-ERROR 15 2 1/0x08 | +----------------------------------------+ |DATA1 3 13 Data 0/0x02 | |+SLCT 13 3 1/0x10 | +----------------------------------------+ |DATA2 4 12 Data 0/0x04 | |+PE 12 4 1/0x20 | +----------------------------------------+ |DATA3 5 10 Strobe 0/0x08 | |-ACK 10 5 1/0x40 | +----------------------------------------+ |DATA4 6 11 Data 0/0x10 | |BUSY 11 6 1/0x80 | +----------------------------------------+ |GND 18-25 18-25 GND - | +----------------------------------------+

½Ð°Ñ¦Ò Mobile Computing ºô­¶ªº ¡C §Ú¸Ó«ç»ò¨Ï¥Î¤@­ÓºÏºÐ¸Ë¸mªº geometry¡H

(¤@¥xºÏºÐªº"gromrtry"¡A§Ú­Ì«üªº¬O³o¥xºÏºÐ¤W cylinders, heads ©M sectors/track ªº¼Æ¥Ø - ¬°¤F¤è«K¥BºÙ¤§¬° C/H/S¡C³o¬O PC ªº BIOS ¥Î¨ÓŪ/¼gºÏºÐªº¨Ì¾Ú)¡C

¬°¤F¬Y¨Ç²z¥Ñ¡A³o¦ü¥G·|¾É­P«Ü¦h§xÂZ¡C­º¥ý¡A¤@¥x SCSI ¸Ë¸mªº ¥t¥~´N¬O©Ò¿×ªº¹ï SCSI ºÏºÐ¾÷¨Ó»¡¡Ageometry ªº¨Ï¥Î¬O¨Ì¾a±Ò°Ê±±¨î¾¹¨Ó¤ä´© extended translation (³o³q±`ºÙ¤§¬°"¹ï>1GB DOS ºÏºÐ¾÷ ªº¤ä´©©Î"Ãþ¦üªººÙ©I)¡C¦pªG¤£¤ä´©¡A¨º»ò¨Ï¥Î N cylinders¡A64 heads ©M 32 sectors/track¡A³o¸Ì'N'¬O«üºÏºÐ¾÷ªº MB ®e¶q¡CÁ|¨Ò ¨Ó»¡¡A¤@­Ó 2GB ªººÏºÐ¾÷À³¸Ó°²³]¥¦¦³ 2048 cylinders¡A64 heads ©M 32 sectors/track¡C

¦pªG¥¦½T©w¦pªG§A¤£½T©w¥H¤W³o­Ó¡A©Î¬O FreeBSD ¦b¦w¸Ë¹Lµ{¤¤­n°»´ú geometry ªº¥¿½T©Ê®É¥¢±Ñ¤F¡A³Ì²³æªº¸Ñ¨M¤èªk³q±`¬O¦bºÏºÐ¤W«Ø¥ß¤@­Ó¤pªº DOS ¤À³Î°Ï¡C¥¿½Tªº geometry À³¸Ó¯à³Q°»´ú¨ì¡]¦Ó¥B¦pªG§A¤£·Q«O¯d¥¦¡A §AÁ`¬O¥i¥H¦b¤À³Î°Ï½s¿è¾¹¸Ì§â³o­Ó DOS ¤À³Î°Ï²¾°£±¼¡A©Î¬O§â¥¦¯d¤U ¨Ó¡Aµ¹µ{¦¡¤Æºô¸ô¥d¨Ï¥Î©ÎÀH§A°ª¿³«ç»ò¥Î¥¦¡^¡C

¥t¥~¡A¦³¤@­Ó§K¶O¦Ó¦³¥Îªº¤½¥Îµ{¦¡¥s ``tools ¤l¥Ø¿ý ¤U©Î¬O¦b¤j¦h¼Æªº FreeBSD ftp ¯¸¥x¤º¥i§ä¨ì¡^¡A³o­Óµ{¦¡¥i¥Î¨Ó§ä ¥X¥t¤@§@·~¨t²Î¥¿¦b¨Ï¥ÎºÏºÐ¾÷¤Wªº­þ¶ô geometry¡CµM«á§A´N¥i¥H¦b ¤À³Î°Ï½s¿è¾¹¸Ì­±¿é¤J¥¦¡C ·í§Ú¤À³ÎºÏºÐ¾÷®É¦³¥ô¦ó­­¨î¶Ü¡S

¬Oªº¡C§A¥²¶·½T»{§Aªº root ¤À³Î°Ï¬O¦b 1024 cylinders ¤§¤º¡AÅý BIOS ¥i¥H±q¨ä¤¤±Ò°Ê®Ö¤ß¡C(ª`·N¡G³o¬O PC ªº BIOS ¥\¯à­­¨î¡A¦Ó¤£ ¬O FreeBSD ªº)

¹ï SCSI ¸Ë¸m¨Ó»¡¡A³o³q±`·t¥ÜµÛ root ¤À³Î°Ï±N©ñ¦b¶}©lªº 1024 MB(©Î¬O¶}©lªº 4096MB¡A¦pªG extended translation ¬O¥´¶}ªº - ½Ð °Ñ¦Ò«e¤@¸`)¡C¹ï IDE ¨Ó»¡¡A¬ÛÃöªº³¡¥÷¬O 504MB¡C ¥i¥H¨Ï¥ÎºÏºÐºÞ²zµ{¦¡(disk managers)¶Ü¡S©Î¬O¡A§Ú¦³¤@­Ó¥¨¤jªººÏºÐ¾÷¡I

FreeBSD »{ÃÑ Ontrack Disk Manager ¨Ã¥B¤¹³\¨Ï¥Î¥¦¡A¨ä¥Lªº disk managers «h¤£¦b¤ä´©¤§¦C¡C

¦pªG§A¥u·Q¦bºÏºÐ¾÷¤W¨Ï¥Î FreeBSD ¨º»ò§A®Ú¥»¤£»Ý­n disk manager¡C ¥u­n§âºÏºÐ³]©w¦¨ BIOS ¯à§ì¨ìªº³Ì¤jªÅ¶¡(³q±`¬O 504 megabytes)¡A¨º»ò FreeBSD À³¸Ó´N¥i¥Hºâ¥X§A¨Æ¹ê¤W¾Ö¦³¦h¤ÖªÅ¶¡¡C¦pªG§A¥¿¨Ï¥Î¤@­Ó MFM ±±¨î¾¹¨Ó±±¨îªº¦ÑºÏºÐ¡A§A¥i¯à»Ý­n©ú¥Õªº§i¶D FreeBSD ­n¨Ï¥Î¦h¤Ö­Ó cylinders¡C

¦pªG§A·Q¦bºÏºÐ¤W¨Ï¥Î FreeBSD ©M¥t¤@­Ó§@·~¨t²Î¡A§A¥i¯à¤£»Ý­n disk manager¡G¥u­n½T©w FreeBSD ªº±Ò°Ê¤À³Î°Ï¸ò¨ä¥L§@·~¨t²Îªº slice ³£¦ì©ó¶}©lªº 1024 cylinders ¤º¡C¦pªG§A¬Û·í¦a¤p¤ß¡A¤@­Ó 20 megabytes ªº±Ò°Ê¤À³Î°ÏÀ³¸Ó´N°÷¤F¡C ·í§Ú±Ò°Ê FreeBSD¡A§Ú¬Ý¨ì ``Missing Operating System''

³o¬O¤@­Ó¨å«¬ªº±¡§Î¡A¦³Ãö FreeBSD ¥H¤Î DOS ©Î¨ä¥L¦bºÏºÐ³B²z¤èªk ¤W¦³½Ä¬ðªº OS ¡C§A»Ý­n­«·s ¦w¸Ë FreeBSD¡A¦ý¬O½Ð¿í·Ó¤W­±©Ò´£¨ìªº«ü¥OÀ³¸Ó´N¥i¥H¤F¡C §Ú¬Ý¤£¨ì boot manager ªº 'F?' ´£¥Ü¸¹¡C

³o¬O«e¤@­¶©Ò´y­z°ÝÃDªº¥t¤@­Ó¼x¥ü¡C§Aªº BIOS geometry ©M FreeBSD ªº geometry ³]©w¤£¬Û¦P¡I¦pªG§Aªº±±¨î¾¹©Î BIOS ¤ä´© cylinders translation (³q±`³Q¼Ð¥Ü¦¨``>1GB drive support'')¡A¸ÕµÛ§â³o­Ó ³]©w¥´¶}µM«á­«·s¦w¸Ë FreeBSD¡C §Ú¦³ >16MB RAM¡C³o·|¾É­P¥ô¦ó°ÝÃD¶Ü¡S

±q®Ä¯àªº¨¤«×¨Ó¬Ý¡A¤£·|¡CFreeBSD 2.X ¤º§t bounce buffers¡A³o¤¹³\ §Aªº bus mastering controller ¦s¨ú¶W¹L 16MB¡C(ª`·N¦pªG§A¥¿¨Ï¥Î ISA ¸Ë¸m³oÀ³¸Ó¬O¥²»Ýªº¡A¾¨ºÞ¤@­Ó©Î¨â­Ó§ó¦­ªº EISA ©M VLB ¸Ë¸m¤] ¥i¯à»Ý­n¥¦)¡C

¤]½Ð°Ñ¦Ò ³o¸`¡A°²¦p§A¦³³o»ò¦h°O¾ÐÅé¡A©Î§A¨Ï¥Îªº¬O Compaq ©Î¬O¨ä¥L¯à³B²z ³o»ò¦h¦³¥Î°O¾ÐÅ骺¾÷¾¹¡C §Ú»Ý­n¦w¸Ë§¹¾ãªº­ì©lµ{¦¡(sources)¶Ü¡S

³q±`¬O¤£»Ý­n¡CµM¦Ó¡A·|±j¯P«ØÄ³§A¦Ü¤Ö¦w¸Ë ``¥H¥~¡C¯Ê¤Ö®Ö¤ßªº sources¡A§Ú­Ìªº«Ø¿v¬[ºc¬O³]©w ¦¨Åý§A¥i¥H±q§O³B¦p NFS ¨Ó±¾¤W°ß¿Wªº­ì©lµ{¦¡¡A¦]¦¹ÁÙ¬O¥i¥H»s §@·sªº binaries¡C¡]¦]¬° kernel-source ªº­­¨î¡A§Ú­Ì«ØÄ³§A¤£­n ª½±µ§â¥¦±¾¦b /usr/src ¤U¡A³Ì¦n¥Î¨ä¥L¾A¦Xªº²Å¸¹©Ê­« ½Æ³sµ²¨ì source tree ªº¤W¼h¬[ºc¡C¡^

½u¤W¾Ö¦³ sources ¨Ãª¾¹D¦p¦ó«Ø¥ß¤@­Ó¨t²Î¡A±N·|Åý§A¦b¤É¯Å¤µ«á FreeBSD ªº releases ª©¥»§ó®e©ö¤@ÂI¡C

­n¹ê»Úªº¿ï¾Ü sources ªº¤@­Ó¤l¶°¦X¡A¦b§A¦b¨t²Î¦w¸Ë¤u¨ãªº Distributions ¿ï³æ®É¡A¨Ï¥Î Custom ¿ï³æ¶µ¥Ø¡Csrc/install.sh script ±N·|§â sources distribution ªº³¡¥÷¦w¸Ë¶i¥h¡A¥D­n¬O¬Ý §A¶Ç¤J­þ¨Ç°Ñ¼Æ¡C §Ú»Ý­n«Ø¥ß¤@­Ó®Ö¤ß¶Ü¡S

«Ø¥ß¤@­Ó·sªº®Ö¤ß¦b FreeBSD ¦w¸Ë¹Lµ{¤¤¬Oµ´¹ï¥²»Ýªº¤@­Ó¨BÆJ¡C ¦ý·sª© releases ±a¨Ó¤@­Ó§ó¤Íµ½ªº®Ö¤ß³]©w¤u¨ã«ü¥Oªº¦n³B¡C¦b FreeBSD ±Ò°Ê´£¥Ü¸¹(boot:)®É¡A¨Ï¥Î "-c" flag §A´N·|¶i¤J¤@­Ó³] ©w¿Ã¹õ¡A³o¤¹³\§A°µ±`¨£ ISA ¥dªº®Ö¤ß³]©w¡C

¤´µM«ØÄ³§A³Ì«á«Ø¥ß¤@­Ó®Ö¤ß¡A¥u¥]§t§A»Ý­nªºÅX°Êµ{¦¡¡A³o¬O¬°¤F ¸`¬Ù¤@ÂI RAM¡A¦ý¬O¹ï¤j¦h¼Æªº¨t²Î¨Ó»¡³o«o¤£¬OÄY®æªº­n¨D¡C §Ú¤£¬O¦í¦b¬ü°ê¡A¨º§Ú¥i¥H¨Ï¥Î DES ¶Ü¡S

¦pªG¹ï§A¨Ó»¡¨Ï¥Î DES ®æ¦¡ªº¥[±K§Þ³N¤£¬Oµ´¹ï»Ý­nªº¡A§A¥i¥H¨Ï ¥Î FreeBSD ªº¤º©w¥[±K§Þ³N¡A¦³¦]¬° DES ¥[±Kºtºâªk¤£¯à¥Ñ US ¦Xªk¿é¥X¨ì°ê¥~¡A«D US ¨Ï¥ÎªÌ¤£ À³¸Ó±q US FTP ¯¸¥x¤U¸ü³o­Ó³nÅé(µM¦Ó¥t¥~ÁÙ¦³­Ó¦³®Äªº libcrypt¡A­ì©lµ{¦¡°ò¥»¤W¥Ñ¿D¬wªº David Burren ¼g¦¨¡C³o­Óµ{¦¡½X¥Ø«e¦b¬Y¨Ç«D US FreeBSD mirror ¯¸¥x¤W¥i¥H§ä¨ì¡C³o­Ó¨S¦³­­¨îªº libcrypt ­ì©lµ{¦¡¡A¥H¤Î¨Ï¥Î¥¦ ªº binaries µ{¦¡¡A¥i¥H¦b¥H¤U FTP ¯¸¥xÀò±o¡G ftp://ftp.internat.freebsd.org/pub/FreeBSD ftp://storm.sea.uct.ac.za/pub/FreeBSD ftp://ftp.iqm.unicamp.br/pub/FreeBSD ftp://nic.funet.fi/pub/unix/FreeBSD/eurocrypt

«D US ªº «D US ¨Ï¥ÎªÌ½Ð¤Å±q USA ¤U¸ü¥ô¦ó¥[±K³nÅé¡C³o·|¾É­P¯¸¥xªººÞ²z ªÌ¦]¬°³Q¤U¸üªº³nÅé·S¤W¼Æ­Óªk«ß©Êªº§xÃø¡C

¤@­Ó«D US ªº Kerberos distribution ¥ç¥¿¦bµo®i¤¤¡A²{¦æª©¥»³q ±`¥i¥Ñ°Î¦W FTP braae.ru.ac.za ¨ÓÀò±o¡C

¤]¦³¤@­Ó ±Mªù¥Î¨Ó°Q½× «D US ¥[±K³nÅé¡C±ýÀò±o§ó¦h¸ê°T¡A±H¤@«Ê¤º§t³æ¿W¤@¦æ°T®§»¡ ``<majordomo@braae.ru.ac.za>. ±Ò°Ê³nºÐ¶}©lŪ¤F¥i¬O«o°±¦b``Probing Devices...''¿Ã¹õ¡C

¦pªG§A¦w¸Ë¤F IDE Zip ©Î Jaz ¸Ë¸m¡A²¾°£¥¦¨Ã­«·s¸Õ¤@¹M¡C ±Ò°Ê³nºÐ¤ù¥i¯à·|³Q³o¨Ç¸Ë¸m²V²c¤F¡C·í¨t²Î¦w¸Ë¦n¥H«á§A¥i¥H¦A §â¥¦±µ¦^¨Ó¡C§Æ±æ³o¦b¤§«áªº release ª©¥»¥i¥H³Q­×¥¿¡C ·í§Ú¦w¸Ë¦n­«·s±Ò°Ê¨t²Î«á¡A§Ú¬Ý¨ì``panic: cant mount root'' ªº¿ù»~°T®§¡C

³o­Ó¿ù»~¬O¦]¬°±Ò°Ê°Ï¶ô¸ò®Ö¤ßµ{¦¡¹ïºÏºÐ¸Ë¸mªº»{ª¾¤£¬Û¦P¡C³q±`³o­Ó ¿ù»~·|¥X²{¦bÂùºÏºÐªº IDE ¨t²Î¡AµwºÐ©ñ¦b master¡A©Î¬O¦b¤ÀÂ÷ªº IDE ±±¨î¾¹¤W¥u¦³³æ¤@ºÏºÐ¾÷¡A¦ý¬O FreeBSD ¸Ë¦b secondary IDE ¤W ¡C·í®Ö¤ß«ü©w²Ä¤G­ÓºÏºÐ±±¨î¾¹ªº²Ä¤@­ÓºÏºÐ¾÷ wd2 ®É¡A±Ò°Ê block «o»{¬°¨t²Î¸Ë¦b wd1(²Ä¤G­Ó BIOS ºÏºÐ¾÷)¡C°»´ú§¹¸Ë¸m«á¡A®Ö¤ßµ{¦¡ ¸ÕµÛ§â±Ò°Ê block »{¬°ªº±Ò°ÊºÏºÐ(wd1) mount °_¨Ó¡A¨Æ¹ê¤W«o¬O wd2 ¡A©Ò¥H¥¢±Ñ¤F¡C

­n­×¥¿³o­Ó°ÝÃD¡A¥H¤U´XºØ¤èªk¤§¤@³£¥i¥H¸Ñ¨M¡G ·í Boot: ´£¥Ü¸¹¥X²{®É¡A¿é¤J¡G 1:wd(2,a)kernel µM«á«ö Enter¡C¦pªG¨t²Î¶}©l¤F¡A´N°õ¦æ¥H¤U©R¥O¡G echo "1:wd(2,a)kernel" > /boot.config Åý¥¦Åܦ¨¤º©wªº boot string¡C §â FreeBSD ºÏºÐ¾÷²¾¨ì primary IDE controller¡A¦]¦¹µwºÐ¾÷¬O ³sÄòªº¡C - + ­×§ï¦³Ãö wd ³]©wªº¦æ¼Æ¡G controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 # disk wd1 at wdc0 drive 1 # comment out this line controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr disk wd1 at wdc1 drive 0 # change from wd2 to wd1 disk wd2 at wdc1 drive 1 # change from wd3 to wd2 ¦w¸Ë·sªº®Ö¤ßµ{¦¡¡C ¦pªG§A²¾°Ê§AªººÏºÐ¾÷¡A¨Ã§Æ±æ§â¥ý«eªº³]©w«ì´_¡A¥u­n§âºÏºÐ¥Î¹w´Á ªº³]©w¸m´«¦^¨ÓµM«á­«·s¶}¾÷¡C§Aªº¨t²ÎÀ³¸Ó´N¯à¦¨¥\ªº±Ò°Ê¡C °O¾ÐÅ骺­­¨î¬O¤°»ò¡S

¹ï°O¾ÐÅé¨Ó»¡¡A(²z½×¤W)­­¨î¬O 4 gigabytes¡C1 gigabytes ¤w³Q´ú¸Õ ¹L¡F¤@¯ë§A¤£¥i¯à¶R¨ì¥i¥H¤ä´©¶W¹L³o­Ó¼Æ¥Øªº i386 PC¡C ffs Àɮרt²Îªº­­¨î¬O¤°»ò¡S

¹ï ffs filesystems ¦Ó¨¥¡A³Ì¤j²z½×­È­­¨î¦b 8 terabytes(2G blocks )¡A©Î·í¨Ï¥Î¤º©w 8K block ¤j¤p®É¡A­­¨î¬O 16TB¡CÁÙ¦³¡A³nÅé­­¨î¬O 1 terabytes¡A¦ý¦pªG¬O¸g¹L­×§ïªºÀɮרt²Î¤W 4 terabytes ¬O¥i¯à(¨Ã ¥B¦s¦b)ªº¡C

³æ¤@ ffs Àɮתº¤j¤p³Ì¤j¬OÁͪñ 1G blocks(4TB) - °²¦p block ¤j¤p¬O 4K¡C maxfilesize ---------------------------------- 2.2.7 3.0 fs block size -stable -current works should-work ------------- ------- -------- ----- ----------- 4K 4T-1 4T-1 4T-1 4+T 8K 32+G 8T-1 32+G 16T-1 16K 128+G 16T-1 128+G 32T-1 32K 512+G 32T-1 512+G 64T-1 64K 2048+G 64T-1 2048+G 128T-1

·í fs block ¤j¤p¬O 4K¡Atriple indirect block ¹B§@¨Ã¥B©Ò¦³ªº¨Æ±¡ ³£À³¸Ó¥Hªí¥Ü¦¨¨Ï¥Î triple indirect block ªº³Ì¤j fs block ¨Ó§@­­ ¨î(ªñ¦ü©ó 1K^3 + 1K^2 + 1K)¡A¦ý¦b fs block ¼Æ¥Ø¤W«o¦³¤@­Ó(¿ù»~) ªº 1G-1 ­­¨î¡C¹ï fs block ¼Æ¥Øªº­­¨îÀ³¸Ó¬O 2G-1¡C¦b fs block ¼Æ¥Ø±µªñ 2G-1 ®É¦³ÂI¿ù»~¡A¦ý·í fs block ¤j¤p¬O 4K ®É³o­Ó block ¼Æ¥Ø¬O¤£¯à¹F¨ìªº¡C

block ¤j¤p¦pªG¬O 8K ©Î§ó¤j¡Afs block ¼Æ¥ØÀ³¸Ó­­¨î¦b 2G-1¡A¦ý¹ê »Ú fs block ¼Æ¥Ø«o­­¨î¦b 1G-1¡A°£¤F¦b -stable ®É triple indirect blocks ¬OµLªk¹F¨ìªº¡A©Ò¥H³Ì¦h fs block ¼Æ¥Øªº­­¨î¥i¥Hªí¥Ü¦¨¥Î double indirect blocks(ªñ¦ü©ó(blocksize/4)^2 + (blocksize/4)) ¡A¥B¦b -current ¤U¶W¹L³o­Ó­­¨î¥i¯à·|¾É­P°ÝÃD²£¥Í¡C¨Ï¥Î¥¿½Tªº 2G-1 block ­­¨îªº½T·|¾É­P°ÝÃDµo¥Í¡C §Ú¸Ó«ç»ò¦b³nºÐ¤W©ñ¤J 1TB ÀɮסH

§Ú¦Û¤v´N¦b³nºÐ¤ù¤W©ñ¦n´X­Ó :-)¡CÀɮתº³Ì¤j®e¶q¨Æ¹ê¤W¸òºÏºÐ³Ì¤j ªº®e¶q¨Ã¨S¦³±K¤Á¬ÛÃö¡CºÏºÐªº³Ì¤j®e¶q¬O 1TB¡A³o¬O¤@­ÓÀɮפj¤p¥i ¥H¶W¹LºÏºÐ®e¶qªº¤@­Ó¯S¦â¡C

¥H¤U½d¨Ò·|¦b¤@­Ó¨Ï¥Î¾ã­Ó 32K ªÅ¶¡³o¼Ë¤pªº root partition ºÏºÐ ¤W«Ø¥ß¤@­Ó¤j¤p¬O 8T-1 ªºÀÉ®×(3 indirect blocks and 1 data block )¡Cdd «ü¥O»Ý­nÅý dd ¯à¦b¤@­Ó¤jÀɮפU°õ¦æ¡C ttyv0:bde@alphplex:/tmp/q> cat foo df . dd if=/dev/zero of=z bs=1 seek=`echo 2^43 - 2 | bc` count=1 ls -l z du z df . ttyv0:bde@alphplex:/tmp/q> sh foo Filesystem 1024-blocks Used Avail Capacity Mounted on /dev/sd0a 64479 27702 31619 47% / 1+0 records in 1+0 records out 1 bytes transferred in 0.000187 secs (5346 bytes/sec) -rw-r--r-- 1 bde bin 8796093022207 Sep 7 16:04 z 32 z Filesystem 1024-blocks Used Avail Capacity Mounted on /dev/sd0a 64479 27734 31587 47% / ttyv0:bde@alphplex:/tmp/q> exit

Bruce Evans, September 1998 diff --git a/zh_TW.Big5/FAQ/kernelconfig.sgml b/zh_TW.Big5/FAQ/kernelconfig.sgml index 3c8a52d303..cc8322a288 100644 --- a/zh_TW.Big5/FAQ/kernelconfig.sgml +++ b/zh_TW.Big5/FAQ/kernelconfig.sgml @@ -1,89 +1,89 @@ - + ®Ö¤ß³]©w §Ú·Q¦Û­q®Ö¤ßµ{¦¡¡A³o·|«Ü§xÃø¶Ü¡H -

¤£·|¡I½Ð¬d¾\ ¤£·|¡I½Ð¬d¾\ .

§Úªº®Ö¤ß¦]¬°

Åý§Ú²q¬Ý¬Ý¡A§A§â±q§A ªº®Ö¤ß³]©wÀɲ¾°£¤F¡A¦]¬°§A¨S¦³¼Æ¾Ç¹Bºâ¾¹¡A¹ï¶Ü¡H¿ù¤F¡I:-) ³o­Ó multi-port serial code ªº¤¤Â_½Ä¬ð¡C

# # Multiport high-speed serial line - 16550 UARTS # device sio2 at isa? port 0x2a0 tty irq 5 flags 0x501 vector siointr device sio3 at isa? port 0x2a8 tty flags 0x501 vector siointr device sio4 at isa? port 0x2b0 tty flags 0x501 vector siointr device sio5 at isa? port 0x2b8 tty flags 0x501 vector siointr §Ú¸Ó«ç»ò±Ò°Ê QIC-40/80 ªº¤ä´©¡H

§A»Ý­n¦b generic config Àɤ¤§â¥H¤U³o¦æªºµù¸Ñ¨ú®ø(©Î¬O§â¥¦¥[¨ì§Aªº ³]©wÀÉ)¡A¦b³o¦æ¥[¤J`` controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 flags 0x1 vector fdintr disk fd0 at fdc0 drive 0 ^^^^^^^^^ disk fd1 at fdc0 drive 1 #tape ft0 at fdc0 drive 2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

±µµÛ¡A§A¥i¥H¦b/dev°õ¦æ¥H¤U©R¥O, «Ø¥ß¤@­Ó¥s/dev/ft0 ªº¸Ë¸m¡G sh ./MAKEDEV ft0

¬Oµ¹²Ä¤@­Ó¸Ë¸m¨Ï¥Î¡C¦P²z§A±N·|¦³­Ó¥s/dev/ft0ªº¸Ë¸m¡A¥i¥H³z¹L¤@­Ó¯S®íªºµ{¦¡¥s `` ªº man page ¦³§ó¶i¤@¨B»¡©ú¡C

ª©¥»¤ñ/usr/src/sbin/ft§ä¥X³Ì·sª©ªº diff --git a/zh_TW.Big5/FAQ/misc.sgml b/zh_TW.Big5/FAQ/misc.sgml index 7c40086478..e119e8c9cb 100644 --- a/zh_TW.Big5/FAQ/misc.sgml +++ b/zh_TW.Big5/FAQ/misc.sgml @@ -1,242 +1,242 @@ - + ¨ä¥¦¦U¦¡¦U¼Ëªº°ÝÃD ¬°¬Æ»ò FreeBSD ¥Îªº swap ªÅ¶¡¤ñ Linux ¦h?

¤£¬O³o¼Ëªº. ¦pªG§Aªº·N«ä¬O: ``¬°¬Æ»ò§Úªº swap ¬Ý°_¨Óº¡¤F?'' ¨º¬O¦]¬°§âªF¦è©ñ¦b swap ¸Ì«á®³¦^¨Óªº³t«×·|¤ñ pager ¸g¥ÑÀɮרt ²Î®³¦^(¥¼­×§ï)ªº°õ¦æ½X§Ö.

¨Æ¹ê¤W, °O¾ÐÅ餤 dirty pages ªº¶q¨Ã¥¼´î¤Ö; clean pages «h¦b»Ý ­nªº®É­Ô²¾¨«. ¬°¬Æ»ò­n¥Î(¬Æ»ò¬O) a.out ©M ELF °õ¦æÀɮ榡?

­n¤F¸Ñ¬°¬Æ»ò FreeBSD ¨Ï¥Î a.out ®æ¦¡, ­º¥ý§A­nª¾¹D¤@¨Ç ¥Ø«e Unix ¤¤¨Ï¥Î³Ì¼sªxªº¤TºØ®æ¦¡:

³Ì¦­©M`¥j¨å'ªº unix ¥ØªºÀɮ榡. ¨Ï¥Î¤@ºØµu¦Óºò±KªºÀÉÀY, ¦ñÀH¤@­Ó³q±`¥Î¨Ó¿ë»{®æ¦¡ªºÅ]³N¼Æ¦r(°Ñ¦Ò ¦³§ó¦h²Ó¸`). ¨ã¦³¤T­Ó¸`°Ï: .text, .data, ©M .bss ¥[¤W¤@­Ó²Å¸¹ªí©M¦r¦êªí. COFF

SVR3 ¥ØªºÀɮ榡. ÀÉÀY¥]§t¤F¤@­Ó¸`°Ïªí, ©Ò¥H¥i¥H¨ã³Æ¤ñ .text, .data, .bss ÁÙ¦hªº¸`°Ï. ELF

FreeBSD ÂǥѤ@­Ó¤u¨ã, §âµ{¦¡»Ý­n¨ººØ ABI ªº¸ê°T ¯O¦L ¦b ¨ú±o§ó¦h¸ê°T.

FreeBSD ¨Ó¦Û "¥j¨å" °}Àç, ¶Ç²Î¤W³£¨Ï¥Î ®æ¦¡, ³o¬O¦b¦n´X¥Nªº BSD ¤¤ÃÒ©ú¥i¾aªº­p³N. ÁöµM¥i¥H¦b FreeBSD ¤W¥i¥H«Ø¥ß¥H¤Î°õ¦æ­ì¥Íªº ¦b FreeBSD ªºª¬ªp¤¤, §Ú­Ìªº¦@¨Éµ{¦¡®w¾÷¨î§ó±µªñ SunOS ªº «¬¦¡, ¤]´N¬O, ©ö©ó¨Ï¥Î. µM¦Ó, ±q 3.0 ¶}©l, FreeBSD ¥¿¦¡¤ä´© ¦n§a, ¦ý¬°¬Æ»ò·|¦³³o»ò¦hºØ¤£¦Pªº®æ¦¡?

¦b¶Â·tªº¹L¥h, ¥u¦³Â²³æªºµwÅé. ²³æªºµwÅé¤ä´©¤p«¬¡B²³æªº¨t²Î. a.out ¦b²³æªº¨t²Î¤W³Ó¥ô´r§Ö (PDP-11). ·í unix ²¾´Ó¨ì¨ä¥L¥­¥x®É, a.out «O¯d¤F¤U¨Ó, ¦]¬°¹ï¦­´Áªº Motorola 68K, VAX ¤§Ãþªº¬[ºc¤w¸g °÷¥Î¤F.

µM«á¦³¨ÇµwÅé¤uµ{®vı±oÅý³nÅé¦h°µÂI¨Æ, ¨º CPU ªº¹q´¹Åé´N¯à¤Ö ¤@ÂI¦Ó¶]ªº§ó§Ö. ­n¦b³oºØ·s¦¡µwÅé¤W¤u§@(²{¦bºÙ¬°RISC), ¦¹¥~, ·íµ{¦¡¶V¨Ó¶V¤j¨àºÏºÐ(¥H¤Î¥D°O¾ÐÅé)¬Û¹ï¨Ó»¡¸û¤p®É, ¦@¨É µ{¦¡®wªº·§©À´Nµo®i¥X¨Ó¤F. µêÀÀ°O¾ÐÅé¨t²Î¤]Åܱo¶V¨Ó¶Vºë¥©. ·í¨C¤@ ºØ¶i¨B³£¦b µM¦Ó, ÀHµÛ®É¶¡¹L¥h, FreeBSD ªº build tools §Î¦¨¤F¥­¦æªº¨â¤ä (¤×¨ä¬O²Õ;¹©M loader). FreeBSD ³o¤ä¥[¶i¤F¦@¨Éµ{¦¡®w¥H¤Î­×¥¿ ¤F¤@¨Ç¿ù»~. GNU ­ì¨Ó¼¶¼g³o¨Çµ{¦¡ªº¤H«h­«¼g¤F³o¨Çµ{¦¡, ¨Ã¥[¤J¤F ¹ï©ó¸ó¥­¥x½sĶ, ¤£¦P®æ¦¡¼Ò²Õ¤§ÃþªºªF¦è§ó²³æªº¤ä´©. ³\¦h¤H·Q­n °µ¥X¥H FreeBSD ¬°¥Øªº¥­¥xªº¸ó¥­¥x½s;¹, ¤£©¯ªº¬O FreeBSD ªº as ©M ld ¤£¯à°µ³o¶µ¤u§@. ·sªº GNU ¤u¨ã(binutils) ¥[¤J¤F¸ó¥­¥x½sĶ¡B ¬°¬Æ»ò chmod ¤£·|§ïÅܲŸ¹³sµ²(symlink)ªº¦s¨úÅv­­?

§A¥²¶·§â `` ¤Î man pages ¥H¨ú±o§ó¦h¸ê°T.

¥B¤£­n ¥[¥ô¦ó¿ï¶µ, ¨Ã¥B¦b symlink ªºµ²§À¥[¤W±×½u(``/''). Á|¨Ò¨Ó»¡ , ¦pªG `` chmod 555 foo/

¨Ì·Óµ²§Àªº±×½u, ·| ¸g¹L³sµ² `` ¬°¬Æ»ò±b¸¹

§A·|»{¬°­×§ï ¦b FreeBSD 3.0 ¥H¤Î¤§«áªºª©¥», ±b¸¹ªº³Ì¤jªø«×¼W¥[¨ì16­Ó¦r¤¸, ¦Ó¨º¨Ç¼g¦ºªø«×ªºµ{¦¡¤]§ä¥X¨Ó­×¥¿. ¼vÅT¨ì¨t²Î¦p¦¹¦h³¡¥÷¥¿¬Oª½¨ì 3.0 ¤~°µ­×§ïªº­ì¦].

¦pªG§A¦³¦Û«H¦b¥X°ÝÃDªº®É«á¯à¦Û¦æ¸Ñ¨M, §A¥i¥H¥Î¤U­±ªº¤èªkÅý¸û¦­ªº ª©¥»¤ä´©¸ûªøªº±b¸¹. ­×§ï /usr/include/utmp.h ¤¤ªº UT_NAMESIZE. §A¤] ¥²¶·§â /usr/include/sys/param.h ¤¤ªº MAXLOGNAME §ï¦¨¸ò UT_NAMESIZE ¬Û²Å. ³Ì«á, ¦pªG§A¬O±q­ì©lµ{¦¡«Ø¥ß¨t²Î, §O§Ñ¤F /usr/include ¨C¦¸³£ ·|§ó·s! ­×§ï /usr/src/.. ¤¤¾A·íªºÀÉ®×.

§Ú¯à¦b FreeBSD ¤U¶] DOS µ{¦¡¶Ü?

¬Oªº, ±q 3.0 ª©¶}©l¥i¥H¨Ï¥Î¤w¸g¾ã¦X¨Ã¥[±jªº BSDI

¹ï 3.0 ¤§«eªº¨t²Î, ¦b port ¤¤¦³¤@­Ó·¥¨Îªº¤u¨ãµ{¦¡ ¥i¥H¼ÒÀÀ 8088 ©M¨¬°÷ªº BIOS ªA°È¥H°õ¦æ DOS ¤å¦r¼Ò¦¡µ{¦¡. ¥¦¶·­n X Window System (¥Ñ XFree86 ´£¨Ñ). ¬Æ»ò¬O ``

·N«ä¬O Software Update Protocol, ¥Ñ CMU µo®i¥Hºû«ùµo®iªº¦P¨B. §Ú­Ì§Q¥Î¥L¨Ó«O«ù»·ºÝªº¯¸¥x©M­ì©l¯¸¥x¦P¨B.

SUP ¹ïÀW¼eªº¨Ï¥Î¤£¤Íµ½, ¦Ó¥B¤w©ñ±ó¤F. ¥Ø«e«ØÄ³ºû«ù­ì©l½X§ó·sªº¤èªk¬O - + How cool is FreeBSD?

°Ý: ¦³¤H°µ¹L FreeBSD °õ¦æ®Éªº·Å«×´ú¸Õ¶Ü? §Úª¾¹D Linux ¤ñ DOS ²D, ¦ý¨SÅ¥¤H´£¹L FreeBSD. ¦ü¥G«Ü¼ö.

A. No, but we have done numerous taste tests on blindfolded volunteers who have also had 250 micrograms of LSD-25 administered beforehand. 35% of the volunteers said that FreeBSD tasted sort of orange, whereas Linux tasted like purple haze. Neither group mentioned any particular variances in temperature that I can remember. We eventually had to throw the results of this survey out entirely anyway when we found that too many volunteers were wandering out of the room during the tests, thus skewing the results. I think most of the volunteers are at Apple now, working on their new ``scratch and sniff'' GUI. It's a funny old business we're in!

¤£¶}ª±¯º¤F, FreeBSD ©M Linux ³£¨Ï¥Î `` ½Ö¦b§Úªº°O¾ÐÅé´¡¼Ñ¤¤¨F¨F§@ÅT??

°Ý: FreeBSD ½s֤ͮ߮ɦ³°µ¬Æ»ò "©_¯S" ªº¨ÆÅý°O¾ÐÅé¨F¨F§@ÅT¶Ü? ·í½sĶ®É(ÁÙ¦³¶}¾÷®É½T»{³nºÐ«áªºµu¼È®É¶¡), ¤]ºØ¦ü¥G¨Ó¦Û°O¾ÐÅé´¡¼Ñ ªº©_©ÇÁn­µ.

µª; ¬Oªº! ¦b BSD ªº¤å¥ó¤¤§A·|±`±`¬Ý¨ì ``­I«áÆF'', ¤j³¡¥÷ªº¤H ³£¤£ª¾¹D¨º¬O¤@ºØ¹ê»Ú¦s¦bªººë¯«Åé --- ´x±±µÛ§Aªº¹q¸£. §AÅ¥¨ìªºÁn­µ ¬O³o¨Ç­I«áÆF¥H°ª­µ¤f­ï¦b·¾³q«ç¼Ë°µ³\¦hªº¨t²ÎºÞ²z¤u§@.

¦pªG³o¨ÇÁn­µ«Ü§xÂZ§A, ¨Ó¦Û DOS ªº ``fdisk /mbr'' ´N ¯àÂ\²æ, ¦ý¦pªG¦³¬Û¤Ïªº®ÄªG¤]¤£­nÅå³Y. ¨Æ¹ê¤W, ¦pªG¦b»ö¦¡¤¤Å¥¨ì Bill Gates ®£©ÆªºÁn­µ±q¤º«Øªº³â¥z¶Ç¨Ó, °¨¤W°k¦Ó¥B¤£­n¦^ÀY! ±q BSD ­I«áÆF¤£¥­¿Åªº¼vÅT¤¤¸Ñ©ñ, DOS ©M Windows ­I«áÆF³q±`³£¯à ­«·s±±¨î¾ã¥x¾÷¾¹¨Ã¹ï§AªºÆF»î¶A©G. ¦pªG¦³¿ï¾Ü, §Ú·Q§Ú¹çÄ@²ßºD©_ ©ÇªºÁn­µ. MFC ¬O¬Æ»ò·N«ä?

MFC ¬O 'Merged From -CURRENT' ªºÁY¼g. ¨Ï¥Î¦b CVS °O¿ý¤¤¥H ªí¥Ü±q CURRENT ¤¤¾ã¦X¶i STABLE ¤À¤äªº§ïÅÜ. diff --git a/zh_TW.Big5/FAQ/network.sgml b/zh_TW.Big5/FAQ/network.sgml index 6e7085f6a3..040ce418a5 100644 --- a/zh_TW.Big5/FAQ/network.sgml +++ b/zh_TW.Big5/FAQ/network.sgml @@ -1,1168 +1,1168 @@ - + Networking §ÚÀ³¸Ó¨ì­þÃä§ä¦³ÃöµLºÏºÐ¶}¾÷ (diskless booting) ªº¸ê®Æ?

µLºÏºÐ¶}¾÷´N¬OÅý FreeBSD ¥D¾÷±qºô¸ô¤W¶}¾÷,¨Ã¥B±qºô¸ô¤Wªº server ¤WŪ¨ú ¨ä¥L¥²­nªºÀÉ®×,¦Ó«D¥Ñ¥D¾÷ªºµwºÐ¤W¨ú±o³o¨ÇÀɮסC ¸Ô²Óªº¸ê®Æ¥i¥H°Ñ¦Ò - FreeBSD ªº¥D¾÷¥i¥H·í§@¬Y­Óºô¸ô¤Wªº¸ô¥Ñ¾¹ (router) ¶Ü ?

¥Ñ©óºô»Úºô¸ôªº¼Ð·Ç¤Æ©Mµ{¦¡³]­pªº¥R¤À¸gÅ礧½ç,§Ú­Ì ¯à°÷¦b FreeBSD ¨t²Î¤º«Ø«Ê¥]Âà¶Ç (packet fowarding) ªº¥\¯à¡C§A¥i¥H ±N³o­Ó¥\¯à¥´¶},¥u­n±N³o­ÓÅܼƳ]©w¬° ³o­ÓÀɮפ¤ gateway_enable=YES # Set to YES if this host will be a gateway

³o­Ó¿ï¶µ·|±N ÅܼƳ]©w ¦b¤j³¡¤Àªºª¬ªp¤U, §AÁÙ¥²¶·¦A¶]¤@­Ó³B²z routing ªºµ{¦¡,§i¶Dºô¸ô¤Wªº¨ä¥L ¥D¾÷Ãö©ó§Aªº router ³]©wªº¸ê®Æ; FreeBSD ¥X¼t®É«K¤ºªþ¤@­Ó¼Ð·Çªº BSD routing µ{¦¡ , ¦pªG§Aªººô¸ô³]©w§ó¬°½ÆÂø,§A¥i¥H¸Õ¸Õ¬Ý §Ú­Ì¦³¥²­n§i¶D§A,´Nºâ¬O FreeBSD ¥H³oºØ¤è¦¡³]©w§¹¦¨ , ¥¦ÁÙ¬OµLªk§¹¥þº¡¨¬ Internet ¹ï router ªº¼Ð·Ç©w¸q ;¤£¹L, ´N¤é±`¨Ï¥Î¦Ó¨¥¥¦¤w¸g¨¬°÷À³¥I¨Ï¥ÎªÌªº»Ý¨D¤F¡C §Ú¥i¥H³z¹L FreeBSD ±N§Úªº Win95 ¾÷¾¹³s¤W Internet ¶Ü?

°ò¥»¤W, ·|°Ý³oºØ°ÝÃDªº¤H¦b®a¸Ì¦Ü¤Ö¦³¨â¥x¹q¸£, ¤@¥x¶] FreeBSD ¥t¥~¤@¥x¶] Win95; ³o­Ó¥D·N¬O±N FreeBSD ¥D¾÷³s¤W Internet ,µM«á³z¹L³o¥x FreeBSD ¥D¾÷,Åý¶] Win95 ªº¹q¸£¯à°÷¤Wºô¡C ³o­Ó°ÝÃDºâ¬O«e¤@­Ó°ÝÃDªº¤@­Ó¯S¨Ò¡C

³oÃ䦳­«­nªº¤å¥ó,±Ð§A«ç»ò§â FreeBSD ªº¥D¾÷³]©w¦¨

©Î¬O ¦b§Aªº FreeBSD ¥D¾÷¤W¡C

¥t¥~¥i¥H°Ñ¦Ò . ¬°¤°»ò§Ú¦b compile ISC ³Ì·sª©ªº BIND µ{¦¡®É¦Ñ¬O¥¢±Ñ?

¦b ``compat/include/sys/cdefs.h ¬å±¼´N¥i¥H¤F¡C FreeBSD ¤ä´© SLIP ©M PPP ¶Ü?

¬Oªº¡C §A¥i¥H¬d¬d man pages ¤¤Ãö©ó , , ¥H¤Î ªº»¡©ú. ±Mªù³B²z¦³Ãö¼·¤Jªº¥\¯à,¦Ó ³B²z¦³Ãö¼·¥Xªº¥\¯à¡C

³o¨Çµ{¦¡¦³¸Ô²Óªº»¡©ú,§A¥i¥H¦b - ¤¤§ä¨ì: + ¤¤§ä¨ì: - - - -

¦pªG§A¥u¯àÂÇ¥Ñ"shell account"ªº¤è¦¡¤Wºôªº¸Ü, §A¥i¯à·|·Q¬Ý¬Ý ³o­Ó³nÅé¡C ¥¦¥i¥HÅý§Aªº¹q¸£ª½±µ³s¤W (¬Y¨Ç) ªA°È, ¨Ò¦p ftp ©M http µ¥µ¥¡C FreeBSD ¤ä´© NAT ©Î Masquerading ¶Ü?

¦pªG§A¦³¤@­ÓªñºÝªº¤lºô¸ô(¦³¤@¥x¥H¤Wªº¾÷¾¹), ¦ý¬O§Aªº Internet provider «o¥u¤À°t¤@­Ó IP number µ¹§A (©ÎªÌ§A¥u¤À°t¨ì¤@­Ó°ÊºAªº IP number), §A¥i¥H°Ñ¦Ò ³o­Óµ{¦¡¡C ³o­Óµ{¦¡¤]´£¨ÑÃþ¦üªº¥\¯à , ¦pªG§A¤U ¦b³o¨â­Ó³B²z¤è¦¡¤¤³£·|³Q¨Ï¥Î¨ì¡C §Ú¤£¯à¨Ï¥Î ppp ,§Ú°µ¿ù¤F¤°»ò¶Ü ?

§AÀ³¸Ó¥ý¬Ý¬Ý ©M - . ¨Ï¥Î¥H¤U«ü¥O¨Ó¥´¶}°O¿ý (logging) ªº¥\¯à set log Phase Chat Connect Carrier lcp ipcp ccp command

³o­Ó©R¥O¥i¥H¦b /etc/ppp/ppp.conf ²ÕºAÀɮפ¤¥[¤J¡C (¥[¦b default section ªº¶}ÀY³Ì¦n). ½T©w¦b ¸Ì­±¦³³o»ò¤@¦æ: !ppp *.* /var/log/ppp.log

¦Ó¥B/var/log/ppp.log ³o­ÓÀɮצs¦b¡C ¦p¦¹¤@¨Ó §A¥i¥H±q log Àɮפ¤ª¾¹D¨ì©³µo¥Í¤F¤°»ò¨Æ±¡¡C ¥ý¤£¥Î¾á¤ßÀɮתº¤º®e§A¬Ý¤£À´, ¦pªG§A­n¦V¤H¨D±Ïªº¸Ü , ±Ï§Aªº¤H·|¬Ý±oÀ´ªº¡C

¦pªG§A¨t²Î¤Wªº¨º¥÷ ppp ¤£´£¨Ñ "set log" ªº«ü¥Oªº¸Ü, §AÀ³¸Ó¥h¤U¸ü . ³o­Óª©¥»¦b FreeBSD 2.1.5 ¥H¤Wªºª©¥»³£¥i¥H¨Ï¥Î¡C §Ú¤@°õ¦æ ppp ,¥¦´N±¾¦b¨ºÃ䤣°Ê¤F

·|µo¥Í³oºØ±¡§Î³q±`¬O§Aªº hostname ¨S¦³¿ìªk¸Ñ¥X¨Ó¡C ¸Ñ¨M³o­Ó°ÝÃD ³Ì¦nªº¿ìªk¬O½T©w /etc/hosts ·|³Q§Aªº resolver ²Ä¤@­Ó°Ñ¦Ò¨ì¡C §A¥i¥H­×§ï/etc/host.conf ¨Ã¥B§âhosts ©ñ¨ì³Ì«e­±. ±µµÛ, ¥u­n§â§Aªº¾÷¾¹¦WºÙ©ñ¨ì /etc/hosts ¸Ì­±´N¥i¥H¤F¡C ¦pªG§A¨S¦³ local network ªº¸Ü, ­×§ï localhost ³o¤@¦æ: 127.0.0.1 foo.bar.com foo localhost §_«h, ´N§â§A¥D¾÷ªº¸ê°T¥[¤JÀɮפ¤¡C §A¥i¥H°Ñ¦Ò ¬ÛÃöªº man pages ¥HÀò±o¶i¤@¨Bªº¸ê°T¡C

¦pªG§A¶¶§Qªº§¹¦¨³o¨Ç°Ê§@, §AÀ³¸Ó¥i¥H¦¨¥\ªº°õ¦æ ping -c1 `hostname` . Ppp ¦b -auto ¼Ò¦¡¤U¤£¯à¼·¸¹

­º¥ý½T©w§Aªº¤º©w¸ô¥Ñ (default route) ¬O§_¦³³]©w¡C ¤U name="netstat -rn"> ³o­Ó«ü¥O, §AÀ³¸Ó¯à°÷¬Ý¨ì¦p¥H¤U½d¨Òªº¨â­Ó entries : Destination Gateway Flags Refs Use Netif Expire default 10.0.0.2 UGSc 0 0 tun0 10.0.0.2 10.0.0.1 UH 0 0 tun0

³o¨Ç³]©w¬O°²³]±z¨Ï¥Îªº address ¸ò handbook ¸Ì­±ªº³]©w, ©Î¬O»P man page ªº½d¨Ò§í©Î¬O ppp.conf.sample ³o­ÓÀɮ׸̪º³]©w¬Û¦P. ¦pªG±z¨S¦³³]©w default route, ¨º»ò¦³¥i¯à±z²{¦b¨Ï¥Îª©¥»ªº that doesn't understand the word add 0 0 HISADDR

³o¤@¦æ¦¨¬° add 0 0 10.0.0.2

default route ³o¦æ¨S¦³¥X²{ªº¥t¤@­Ó­ì¦]¬O §A³]¿ù¤F default router , ³o­Ó³]©w¦b Àɮפ¤ (³o­ÓÀɮצb release 2.2.2 «e¥s /etc/sysconfig ), §A»Ý­n¥[¤J³o»ò¤@¦æ delete ALL

¦b ppp.conf¤¤. ¦pªGµo¥Í³oºØ±¡§Î, ¦^¨ì handbook - ªº»¡©ú¤¤¬d¸ß. ¤°»ò¥s°µ "No route to host"

This error is usually due to a missin³o­Óª¬ªp³q±`¬O¦]¬°¯Ê¤Ö¤F³o¬q³]©w MYADDR: delete ALL add 0 0 HISADDR

½ÐÀˬd±zªº /etc/ppp/ppp.linkup Àɮפ¤¬O§_¦³³o¨Ç³]©w. ¥u¦³¦b±z ¨Ï¥Î°ÊºA IP (dynamic IP) ©Î¤£ª¾¹D±z gateway ªº IP ®É¤~»Ý­n³]©w³o­Ó. ¦pªG±z¬O¨Ï¥Î¤¬°Ê¼Ò¦¡(interactive mode) ªº¸Ü, ±z¥i¥H type the following after entering delete ALL add 0 0 HISADDR -

±z¥i¥H°Ñ¦Ò handbook ¤¤ ±z¥i¥H°Ñ¦Ò handbook ¤¤ ¦³¸û¸ÔºÉªº»¡©ú. §Úªº³s½u¦bµ¥«Ý¤T¤ÀÄÁ«á¤ÁÂ_¤F

ppp ¹w³]ªº timeout ­È¬O¤T¤ÀÄÁ. ¥i¥H¥Î¥H¤U³o¦æ©R¥O½Õ¾ã set timeout NNN

ppp.conf ³o­ÓÀɮ׸̭±, ©Î¬O¦b interactive mode ¸Ì­±¿é¤J³o­Ó«ü¥O. ¤]¥i¥H¥Î on the fly ªº¤è¦¡½Õ¾ã,¦b½u¸ô±Ò¥Î¨ÃÁp±µ¨ì ©Î . °Ñ¦Ò man page ¥HÀò±o§ó¸ÔºÉªº¸ê®Æ. §Úªº³s½u¦]¬°­t²ü¤Ó­«¦ÓÂ_½u

¦pªG±z³]©w¤F Link Quality Reporting (LQR) , ´N¦³¥i¯à µo¥Í±z©M¹ï¤è¥D¾÷¤§¶¡¦³¤Ó¦hªº LQR «Ê¥]¿ò¥¢ªº²{¶H. Ppp ·|¦]¦¹§PÂ_¹q¸Ü½u¸ô¦³°ÝÃD. , ¨Ã¥B¨M©w¤ÁÂ_³s½u. ¦b FreeBSD 2.2.5 ª©¥H«e, LQR ¤º©w­È¬O enabled . ²{¦bªº¤º©w­È¬O disabled. LQR ¥i¥H¥Î³o¤@¦æ©R¥O¨ú®ø disable lqr §Úªº³s½u·|¤£©w®ÉªºÂ_±¼

¦³®É­Ô¦pªG½u¸ô¤W¦³¤Ó¦h¾¸°T,¬Æ¦Ü¦pªG±z¨Ï¥Î¤F¸Ü¤¤´¡¼·ªºªA°Èªº¸Ü. , ±zªº modem ±N©Î hang ¦í,¦]¬°¥L»~»{³o¨Ç°T®§¬O lost carrier.

¤j³¡¤Àªº modem ³£¦³®e§Ô¼È®É¥¢¥h carrier ªº³]©w. . ¥H USR Sportster ¬°¨Ò, this is measured by the S10 register in tenths of a second. ¦pªG­nÅý±zªº modem ¯à®e§Ô§ó¤jªº¿ù»~, §A¥i¥H¦b±zªº dial string ¸Ì­±¥[¤J¥H¤Uªº send-expect ©R¥O: set dial "...... ATS10=10 OK ......"

°Ñ¦Ò±zªº modem ¤ºªþªº»¡©ú®Ñ¥H¨ú±o§ó¸Ô²Óªº¸ê®Æ. ¦b¬Ý¨ì Login OK! ªº°T®§¥H«á´N¨S¦³¤ÏÀ³¤F

¦b FreeBSD 2.2.5 ¥H«eªºª©¥»¤W, ¤@¦ý³s½u«Ø¥ß§¹¦¨¥H«á, ·|µ¥¹ï¤èªº¾÷¾¹±Ò°Ê Line Control Protocol (LCP). «Ü¦h ISP ¤£·|¦Û°Ê±Ò°Ê³o­Ó°T®§¥æ´«,¦Ó¬Oµ¥ «Ý cleint ºÝ±Ò°Ê. ­n±j­¢ set openmode active

§Ú¤@ª½¬Ý¨ì magic being the same ªº¿ù»~°T®§

Occasionally, just after connecting, you may see messages in the log that say "magic is the same". Sometimes, these messages are harmless, and sometimes one side or the other exits. Most ppp implementations cannot survive this problem, and even if the link seems to come up, you'll see repeated configure requests and configure acknowledgements in the log file until ppp eventually gives up and closes the connection.

This normally happens on server machines with slow disks that are spawning a getty on the port, and executing ppp from a login script or program after login. I've also heard reports of it happening consistently when using slirp. The reason is that in the time taken between getty exiting and ppp starting, the client-side ppp starts sending Line Control Protocol (LCP) packets. Because ECHO is still switched on for the port on the server, the client ppp sees these packets "reflect" back.

One part of the LCP negotiation is to establish a magic number for each side of the link so that "reflections" can be detected. The protocol says that when the peer tries to negotiate the same magic number, a NAK should be sent and a new magic number should be chosen. During the period that the server port has ECHO turned on, the client ppp sends LCP packets, sees the same magic in the reflected packet and NAKs it. It also sees the NAK reflect (which also means ppp must change its magic). This produces a potentially enormous number of magic number changes, all of which are happily piling into the server's tty buffer. As soon as ppp starts on the server, it's flooded with magic number changes and almost immediately decides it's tried enough to negotiate LCP and gives up. Meanwhile, the client, who no longer sees the reflections, becomes happy just in time to see a hangup from the server.

This can be avoided by allowing the peer to start negotiating with the following line in your ppp.conf file: set openmode passive

This tells ppp to wait for the server to initiate LCP negotiations. Some servers however may never initiate negotiations. If this is the case, you can do something like: set openmode active 3

This tells ppp to be passive for 3 seconds, and then to start sending LCP requests. If the peer starts sending requests during this period, ppp will immediately respond rather than waiting for the full 3 second period. LCP negotiations continue 'till the connection is closed

There is currently an implementation mis-feature in This goes on 'till one side figures out that they're getting nowhere and gives up.

The best way to avoid this is to configure one side to be set openmode passive command. Care should be taken with this option. You should also use the set stopped N command to limit the amount of time that set openmode active N command (where Ppp locks up shortly after connecting

Prior to version 2.2.5 of FreeBSD, it was possible that your link was disabled shortly after connection due to disable pred1 Ppp locks up when I shell out to test it

When you execute the If you wish to execute commands like this, use the Ppp over a null-modem cable never exits

There is no way for enable lqr

LQR is accepted by default if negotiated by the peer. Why does ppp dial for no reason in -auto mode

If To determine the cause, use the following line: set log +tcp/ip

This will log all traffic through the connection. The next time the line comes up unexpectedly, you will see the reason logged with a convenient timestamp next to it.

You can now disable dialing under these circumstances. Usually, this sort of problem arises due to DNS lookups. To prevent DNS lookups from establishing a connection (this will set dfilter 1 deny udp src eq 53 set dfilter 2 deny udp dst eq 53 set dfilter 3 permit 0/0 0/0

This is not always suitable, as it will effectively break your demand-dial capabilities - most programs will need a DNS lookup before doing any other network related things.

In the DNS case, you should try to determine what is actually trying to resolve a host name. A lot of the time, is the culprit. You should make sure that you tell sendmail not to do any DNS lookups in its configuration file. See the section on for details on how to create your own configuration file and what should go into it. You may also want to add the following line to your define(`confDELIVERY_MODE', `d')dnl

This will make sendmail queue everything until the queue is run (usually, sendmail is invoked with ``-bd -q30m'', telling it to run the queue every 30 minutes) or until a ``sendmail -q'' is done (perhaps from your ppp.linkup file). What do these CCP errors mean

I keep seeing the following errors in my log file: CCP: CcpSendConfigReq CCP: Received Terminate Ack (1) state = Req-Sent (6)

This is because ppp is trying to negotiate Predictor1 compression, and the peer does not want to negotiate any compression at all. The messages are harmless, but if you wish to remove them, you can disable Predictor1 compression locally too: disable pred1 Ppp locks up during file transfers with IO errors

Under FreeBSD 2.2.2 and before, there was a bug in the tun driver that prevents incoming packets of a size larger than the tun interface's MTU size. Receipt of a packet greater than the MTU size results in an IO error being logged via syslogd.

The ppp specification says that an MRU of 1500 should always be accepted as a minimum, despite any LCP negotiations, therefore it is possible that should you decrease the MTU to less than 1500, your ISP will transmit packets of 1500 regardless, and you will tickle this non-feature - locking up your link.

The problem can be circumvented by never setting an MTU of less than 1500 under FreeBSD 2.2.2 or before. Why doesn't ppp log my connection speed?

In order to log all lines of your modem ``conversation'', you must enable the following: set log +connect

This will make log everything up until the last requested "expect" string.

If you wish to see your connect speed and are using PAP or CHAP (and therefore don't have anything to "chat" after the CONNECT in the dial script - no "set login" script), you must make sure that you instruct ppp to "expect" the whole CONNECT line, something like this: set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 4 \"\" ATZ OK-ATZ-OK ATDT\\T TIMEOUT 60 CONNECT \\c \\n"

Here, we get our CONNECT, send nothing, then expect a line-feed, forcing Ppp ignores the `\' character in my chat script

Ppp parses each line in your config files so that it can interpret strings such as When the chat interpreter parses each argument, it re-interprets the argument in order to find any special escape sequences such as ``\P'' or ``\T'' (see the man page). As a result of this double-parsing, you must remember to use the correct number of escapes.

If you wish to actually send a ``\'' character to (say) your modem, you'd need something like: set dial "\"\" ATZ OK-ATZ-OK AT\\\\X OK"

resulting in the following sequence: ATZ OK AT\X OK

or set phone 1234567 set dial "\"\" ATZ OK ATDT\\T"

resulting in the following sequence: ATZ OK ATDT1234567 Ppp gets a seg-fault, but I see no

Ppp (or any other program for that matter) should never dump core. Because ppp runs with an effective user id of 0, the operating system will not write ppps core image to disk before terminating it. If, however ppp $ tar xfz ppp-*.src.tar.gz $ cd ppp*/ppp $ echo STRIP= >>Makefile $ echo CFLAGS+=-g >>Makefile $ make clean all $ su # make install # chmod 555 /usr/sbin/ppp

You will now have a debuggable version of ppp installed. You will have to be root to run ppp as all of its privileges have been revoked. When you start ppp, take a careful note of what your current directory was at the time.

Now, if and when ppp receives the segmentation violation, it will dump a core file called ppp.core. You should then do the following: $ su # gdb /usr/sbin/ppp ppp.core (gdb) bt ..... (gdb) f 0 ..... (gdb) i args ..... (gdb) l .....

All of this information should be given alongside your question, making it possible to diagnose the problem.

If you're familiar with gdb, you may wish to find out some other bits and pieces such as what actually caused the dump and the addresses & values of the relevant variables. The process that forces a dial in auto mode never connects

This was a known problem with The problem was that when that initial program calls , the IP number of the tun interface is assigned to the socket endpoint. The kernel creates the first outgoing packet and writes it to the tun device. There are several theoretical ways to approach this problem. It would be nicest if the peer would re-assign the same IP number if possible The easiest method from our side would be to never change the tun interface IP number, but instead to change all outgoing packets so that the source IP number is changed from the interface IP to the negotiated IP on the fly. This is essentially what the and ppp's Another alternative (and probably the most reliable) would be to implement a system call that changes all bound sockets from one IP to another. Yet another possibility is to allow an interface to be brought up without an IP number. Outgoing packets would be given an IP number of 255.255.255.255 up until the first SIOCAIFADDR ioctl is done. This would result in fully binding the socket. It would be up to Why don't most games work with the -alias switch

The reason games and the like don't work when libalias is in use is that the machine on the outside will try to open a connection or send (unsolicited) UDP packets to the machine on the inside. The packet alias software doesn't know that it should send these packets to the interior machine.

To make things work, make sure that the only thing running is the software that you're having problems with, then either run tcpdump on the tun interface of the gateway or enable ppp tcp/ip logging (``set log +tcp/ip'') on the gateway.

When you start the offending software, you should see packets passing through the gateway machine. When something comes back from the outside, it'll be dropped (that's the problem). Note the port number of these packets then shut down the offending software. Do this a few times to see if the port numbers are consistent. If they are, then the following line in the relevant section of /etc/ppp/ppp.conf will make the software functional: alias port proto internalmachine:port port

where ``proto'' is either ``tcp'' or ``udp'', ``internalmachine'' is the machine that you want the packets to be sent to and ``port'' is the destination port number of the packets.

You won't be able to use the software on other machines without changing the above command, and running the software on two internal machines at the same time is out of the question - after all, the outside world is seeing your entire internal network as being just a single machine.

If the port numbers aren't consistent, there are three more options:

1) Submit support in libalias. Examples of ``special cases'' can be found in /usr/src/lib/libalias/alias_*.c (alias_ftp.c is a good prototype). This usually involves reading certain recognised outgoing packets, identifying the instruction that tells the outside machine to initiate a connection back to the internal machine on a specific (random) port and setting up a ``route'' in the alias table so that the subsequent packets know where to go.

This is the most difficult solution, but it is the best and will make the software work with multiple machines.

2) Use a proxy. The application may support socks5 for example, or (as in the ``cvsup'' case) may have a ``passive'' option that avoids ever requesting that the peer open connections back to the local machine.

3) Redirect everything to the internal machine using ``alias addr''. This is the sledge-hammer approach. What are FCS errors ?

FCS stands for show hdlc command.

If your link is bad (or if your serial driver is dropping packets), you will see the occasional FCS error. This is not usually worth worrying about although it does slow down the compression protocols substantially. If you have an external modem, make sure your cable is properly shielded from interference - this may eradicate the problem.

If your link freezes as soon as you've connected and you see a large number of FCS errors, this may be because your link is not 8 bit clean. Make sure your modem is not using software flow control (XON/XOFF). If your datalink must use software flow control, use the command set accmap 0x000a0000 to tell ppp to escape the ^Q and ^S characters.

Another reason for seeing too many FCS errors may be that the remote end has stopped talking close lcp command (a following term command will reconnect you to the shell on the remote machine.

If nothing in your log file indicates why the link might have been terminated, you should ask the remote administrator (your ISP?) why the session was terminated. None of this helps - I'm desperate !

If all else fails, send as much information as you can, including your config files, how you're starting command (before and after connecting) to the mailing list or the news group, and someone should point you in the right direction. §Ú¨S¦³¿ìªk«Ø¥ß /dev/ed0 ³o­Ó device!

¦b Berkeley ºô¸ô¬[ºc¤¤, ¥u¦³ kernel µ{¦¡½X¥i¥Hª½±µ¦s¨úºô¸ô¬É­±¥d. ½Ð°Ñ¦Ò /etc/rc.network ³o­ÓÀɮשM manual pages ¨ú±o»P¨ä¥L¤£¦Pºô¸ôµ{¦¡ §ó¶i¤@¨Bªº¸ê°T. ¦pªG§Aı±o§A§¹¥þ·d²V¤Fªº¸Ü, ±zÀ³¸Ó§ä¤@¥»»P¨ä¥L BSD ¬ÛÃö §@·~¨t²Îºô¸ôºÞ²z¦³Ãö®Ñ¨Ó°Ñ¦Ò; °£¤F¤Ö¼ÆÅãµÛªº¤£¦P¥~, FreeBSD ªººô¸ôºÞ²z °ò¥»¤W©M SunOS 4.0 ©M Ultrix ¬O¤@¼Ëªº. §Ú¦p¦ó«Ø¥ß Ethernet aliases?

§â `` ©R¥O¦C¤¤,¨Ò¦p: ifconfig ed0 alias 204.141.95.2 netmask 0xffffffff §Ú¦p¦ó«ü©w§Úªº 3C503 ¨Ï¥Î¨ä¥L¤£¦Pªºªº network port?

¦pªG±z·Q¨Ï¥Î¨ä¥Lªº port, §A¥²¶·¦b ªº©R¥O¤¤«ü©wÃB¥~ªº°Ñ¼Æ. ¤º©wªº port ¬O ``. §Ú¦b³s¤W/¿é¥X FreeBSD ªº NFS ®É¥X²{°ÝÃD.

¬Y¨Ç PC ªººô¸ô¥d¤ñ¨ä¥Lªº¦n(§t»Wªº»¡¨Ó) ³oºØª¬ªp¦b³y¦¨ NFS ³oºØ¹ïºô¸ô±Ó·Pªºµ{¦¡¦³®É·|¥X²{°ÝÃD. -

°Ñ¦Ò +

°Ñ¦Ò ¥HÀò±o³o­Ó¥DÃDªº§ó¦h¸ê°T. ¬°¤°»ò§Ú¤£¯à NFS-mount Linux ªº¾÷¾¹?

¬Y¨Çª©¥»ªº Linux NFS µ{¦¡½X¥u±µ¨ü privileged port ªº mount request ; ¸Õ¥Î³o¦æ«ü¥O¬Ý¬Ý mount -o -P linuxbox:/blah /mnt W¬°¤°»ò§Ú¤£¯à NFS-mount Sun ªº¾÷¾¹?

¶] SunOS 4.X ªº Sun ¤u§@¯¸¥u±µ¨ü¨Ó¦Û privileged port ªº mount request ; ¸Õ¥Î³o¦æ«ü¥O¬Ý¬Ý mount -o -P sunbox:/blah /mnt §Ú¦b¨Ï¥Î PPP ³s½u¨ì NeXTStep ¾÷¾¹®É¦³°ÝÃD.

§â TCP extensions ¨ú®ø, ³o­Ó³]©w¦b ¸Ì­±. §â¥H¤U³o­Ó­È³]¦¨ NO: tcp_extensions=NO

Xylogic ªº Annex ¥D¾÷¤]¦³¬Û¦Pªº°ÝÃD,±z­n°µ¬Û¦Pªº­×§ï¤~¯à³s¤W ³o¨Ç¥D¾÷. §Ú­n«ç¼Ë¤~¯à§â IP multicast support ¥´¶}?

Multicast host operations are fully supported in FreeBSD 2.0 and later by default. ¦pªG±z·Q±N±zªº¥D¾÷³]©w¦¨ multicast router ªº¸Ü, ±z¥²¶·­«·s compile ±zªº kernel, ¥[¤J MROUTING ªº¿ï¶µ,¨Ã¥B°õ¦æ /etc/rc.conf ¸Ì­±ªº MBONE ªº¦UºØ¤u¨ã¥i¥H¦b¥L­Ì ports ¤U©ÒÄÝ¥s°µ mbone¥Ø¿ý¤¤§ä¨ì. ¦pªG±z¦b§äµø°T·|ijªº¤u¨ã¦p ¦pªG»Ý­n§ó¶i¤@³¡ªº°T®§,§ä§ä . ­þ¨Çºô¸ô¥d¬O¨Ï¥Î DEC PCI chipset?

¥H¤U¬O ´£¨Ñªº²M³æ: Vendor Model ---------------------------------------------- ASUS PCI-L101-TB Accton ENI1203 Cogent EM960PCI Compex ENET32-PCI D-Link DE-530 Dayna DP1203, DP2100 DEC DE435 Danpex EN-9400P3 JCIS Condor JC1260 Linksys EtherPCI Mylex LNP101 SMC EtherPower 10/100 (Model 9332) SMC EtherPower (Model 8432) TopWare TE-3500P Zynx ZX342 ¬°¤°»ò§Úªº¥D¾÷­n´£¨Ñ FQDN ?

You will probably find that the host is actually in a different domain; for example, if you are in foo.bar.edu and you wish to reach a host called ``mumble'' in the bar.edu domain, you will have to refer to it by the fully-qualified domain name, ``mumble.bar.edu'', instead of just ``mumble''.

Traditionally, this was allowed by BSD BIND resolvers. However the current version of that ships with FreeBSD no longer provides default abbreviations for non-fully qualified domain names other than the domain you are in. So an unqualified host mumble must either be found as mumble.foo.bar.edu, or it will be searched for in the root domain.

This is different from the previous behavior, where the search continued across mumble.bar.edu, and mumble.edu. Have a look at RFC 1535 for why this was considered bad practice, or even a security hole.

As a good workaround, you can place the line search foo.bar.edu bar.edu

instead of the previous domain foo.bar.edu

into your file. However, make sure that the search order does not go beyond the ``boundary between local and public administration'', as RFC 1535 calls it. ``Permission denied'' for all networking operations.

If you have compiled your kernel with the If you had unintentionally misconfigured your system for firewalling, you can restore network operability by typing the following while logged in as root: ipfw add 65534 allow all from any to any

You can also set "firewall_type='open'" in /etc/rc.conf.

For further information on configuring a FreeBSD firewall, - see the . + see the . How much overhead does IPFW incur?

The answer to this depends mostly on your rule set and processor speed. For most applications dealing with ethernet and small rule sets, the answer is, negligible. For those of you that need actual measurements to satisfy your curiosity, read on.

The following measurements were made using 2.2.5-STABLE on a 486-66. IPFW was modified to measure the time spent within the Two rule sets, each with 1000 rules were tested. The first set was designed to demonstrate a worst case scenario by repeating the rule: ipfw add deny tcp from any to any 55555

This demonstrates worst case by causing most of IPFW's packet check routine to be executed before finally deciding that the packet does not match the rule (by virtue of the port number). Following the 999th iteration of this rule was an allow ip from any to any.

The second set of rules were designed to abort the rule check quickly: ipfw add deny ip from 1.2.3.4 to 1.2.3.4

The nonmatching source IP address for the above rule causes these rules to be skipped very quickly. As before, the 1000th rule was an allow ip from any to any.

The per-packet processing overhead in the former case was approximately 2.703ms/packet, or roughly 2.7 microseconds per rule. Thus the theoretical packet processing limit with these rules is around 370 packets per second. Assuming 10Mbps ethernet and a ~1500 byte packet size, we would only be able to achieve a 55.5% bandwidth utilization.

For the latter case each packet was processed in approximately 1.172ms, or roughly 1.2 microseconds per rule. The theoretical packet processing limit here would be about 853 packets per second, which could consume 10Mbps ethernet bandwidth.

The excessive number of rules tested and the nature of those rules do not provide a real-world scenario -- they were used only to generate the timing information presented here. Here are a few things to keep in mind when building an efficient rule set: Place an `established' rule early on to handle the majority of TCP traffic. Don't put any allow tcp statements before this rule. Place heavily triggered rules earlier in the rule set than those rarely used (without changing the permissiveness of the firewall, of course). You can see which rules are used most often by examining the packet counting statistics with ipfw -a l. How can I redirect service requests from one machine to another?

You can redirect FTP (and other service) request with the 'socket' package, available in the ports tree in category 'sysutils'. Simply replace the service's commandline to call socket instead, like so: ftp stream tcp nowait nobody /usr/local/bin/socket socket ftp.foo.com ftp

where 'ftp.foo.com' and 'ftp' are the host and port to redirect to, respectively. Where can I get a bandwidth management tool?

There are two bandwidth management tools available for FreeBSD. is available for free; Bandwidth Manager from is a commercial product. Why do I get ``/dev/bpf0: device not configured"?

The Berkeley Packet Filter driver needs to be enabled before running programs that utilize it. Add this to your kernel config file and build a new kernel: pseudo-device bpfilter # Berkeley Packet Filter+

Secondly, after rebooting you will have to create the device node. This can be accomplished by a change to the /dev directory, followed by the execution of: # sh MAKEDEV bpf0+ -

Please see the Please see the for more information on creating devices. diff --git a/zh_TW.Big5/FAQ/preface.sgml b/zh_TW.Big5/FAQ/preface.sgml index 4cda26fbd3..3c4acfa22d 100644 --- a/zh_TW.Big5/FAQ/preface.sgml +++ b/zh_TW.Big5/FAQ/preface.sgml @@ -1,552 +1,552 @@ - + «e¨¥

Åwªï¨Ó¨ì FreeBSD 2.X FAQ¡I ¼g³o¥÷ FAQ ªº¥Øªº¬O¤°»ò¡H

¸ò¨ä¥L Usenet ¤Wªº FAQ ¤@¼Ë¡A³o¥÷¤å¥ó¥D­n²[»\¤F¦³Ãö FreeBSD ³o®M§@ ·~¨t²Î³Ì±`³Q°Ý¨ìªº°ÝÃD (·íµM¥]¬A¤F¦^µª¡I)¡CÁöµM»¡§Ú­Ì¥»¨Óªº¥Øªº¬O¬°¤F ´î¤Öºô¸ôÀW¼eªº®ö¶O¥H¤ÎÁ×§K¦P¼Ëªº°ÝÃD¤@¦A¥X²{¡A¦ý¬O FAQ ¤w¸g³Qµø¬°¬O¤@ ºØ«Ü¦³»ù­Èªº¸ê°T¤F¡C

§Ú­Ì¤w¸g¾¨¥i¯à¦a¨Ï³o¥÷ FAQ §óÂ×´I¤F¡F¦pªG±z¹ï¦p¦ó¨Ï¨ä§ó¶i¨B¦³¥ô¦ó «ØÄ³¡A½ÐÀH®É±H¹q¤l¶l¥óµ¹ ¡C ¤°»ò¬O FreeBSD¡H

²³æ¦a¨Ó»¡¡AFreeBSD 2.X ¬O¤@®M®Ú¾Ú U.C. Berkeley's 4.4BSD-lite release for the i386 platform ©Ò§¹¦¨ªº UN*X-like §@·~¨t²Î¡C¥¦¦P®É¤]¶¡ ±µ¨Ï¥Î¤F William Jolitz ²¾´Ó¨ì i386 ¤Wªº U.C. Berkeley's Net/2¡A¤]´N¬O 386BSD¡C¤£¹L²{¦b 386BSD ªºµ{¦¡½X¥u³Ñ¤U·¥¤Ö¼ÆÁÙ¯d¦s¦b FreeBSD ¤¤¡C±z¥i ¥H¦b §ä¨ì¦³Ãö¤° »ò¬O FreeBSD ¥H¤Î¥¦¥i¥HÀ°±z°µ¨Ç¤°»òªº¬ÛÃö¸ê°T¡C

FreeBSD ¤w³Q¼sªx¦a³Q¥@¬É¦U¦aªº¤½¥q¦æ¸¹¡AISP¡A¬ã¨s¤H­û¡A¹q¸£±M®a¡A¾Ç ¥Í¡A¥H¤Î®a®x¥Î¤á©Ò¨Ï¥Î¡A¥Î¦b¤u§@¡A±Ð¨|¡A¥H¤Î®T¼Ö¤W¡C±z¥i¥H¦b ¬Ý¨ì¤@¨Ç¦³ Ãö¥L­Ìªº¸ê®Æ¡C

¦pªG·Q¬ÝÃö©ó FreeBSD §ó²`¤Jªº¸ê®Æ¡A½Ð¬Ý - ¡C + ¡C µo®i FreeBSD ªº¥Øªº¬O¤°»ò¡H

FreeBSD ­pµeªº¥Øªº¬O´£¨Ñ¥i¥H¥ô·N¨Ï¥Î¥B¨S¦³­­¨îªº³nÅé¡C§Ú­Ì¦bµ{¦¡½X (¥H¤Î­p±Þ¥»¨­) ¤W¥I¥X¤F¤j¶q¤ß¦å¡AÁöµM§Ú­Ì¨S¦³¯S§O±j½Õ¡A¤£¹L¨Ã¤£­n¨D¥ô ¦óª÷¿ú¤Wªº¦^õX¡C§Ú­Ì¬Û«H§Ú­Ì­º­nªº``¥ô°È''´N¬O´£¨Ñµ{¦¡½Xµ¹¨C¤@­Ó¨Ï¥Î ªÌ¡A¤£ºÞ¥L­Ìªº¥Øªº¬O¤°»ò¡F³o»ò¤@¨Ó¡A³o¨Çµ{¦¡½X¤~¯à³Q¥Î¦b³Ì¦h¦a¤è¡A¤] ¤~¯àµo´§¥¦­Ì³Ì¤jªº§Q¯q¡C§Ú­Ì¬Û«H³o´N¬O¦Û¥Ñ³nÅé³Ì°ò¥»ªº¥Ø¼Ð¤§¤@¡A¦Ó¥B§Ú ­Ì·|ºÉ¥þ¤O¥h¤ä«ù¥¦¡C

¦b§Ú­Ì source tree ¤¤¦³³¡¥÷ªºµ{¦¡½X¬O±Ä¥Î©Ò¿×ªº GPL ©Î¬O LGPL ª©Åv «Å§i¡AÁöµM³o¨Çª©Åv«Å§i¬O¥Î¨Ó«O»Ù¦Ó«D­­¨î¨Ï¥ÎªÌªºÅv§Q¡A²¦³º¬O¤£¨º»ò¦Û¥Ñ ¤F¨Ç¡C¥Ñ©ó³o¨Ç GPL ªº³nÅé¦b°Ó·~¨Ï¥Î¤W·|¤Þ°_«D±`½ÆÂøªºª©Åv°ÝÃD¡A¦]¦¹¥u ­n¦³¾÷·|¡A§Ú­Ì·|ºÉ¶q¥H±Ä¥Î¤ñ¸ûÃPªº BSD ª©Åvªº³nÅé¨Ó¨ú¥N³o¨Ç GPL ª©Åv«Å §iªº³nÅé¡C ¬°¤°»ò­n¥s°µ FreeBSD¡H

±z¥i¥H§K¶O¨Ï¥Î¥¦¡A§Y¨Ï¬O¥Î©ó°Ó·~¥Î³~¡C ¾ã­Ó FreeBSD §@·~¨t²Î§¹¾ãªº­ì©lµ{¦¡³£¥i¥H§K¶O¨ú±o¡A¦Ó¥B¦b¨Ï¥Î ¤Î´²§G¦U¤è­±¤]¥u¨ü¨ì³Ì¤pªº­­¨î (¤£½×¬O§_¥Î©ó°Ó·~¥Î³~)¡C ¥ô¦ó¤H³£¥i¥H¦Û¥Ñ¦a§â¥L¹ï¨t²Îªº§ï¨}©Î¿ù»~­×¥¿ªºµ{¦¡½X¥[¤J source tree ¤§¤¤ (·íµM­n²Å¦X´X­Ó¥ý¨M±ø¥ó)¡C

¦pªGŪªÌ±zªº¥À»y¤£¬O­^»yªº¸Ü¡A±z­n¯S§Oª`·N³o¸Ìªº``free''¨âºØ¥Îªkªº ·N«ä¬O¤£¤@¼Ëªº¡G¤@ºØªº·N«ä¬O``§K¶O''¡A¥t¤@ºØªº·N«ä¬O``¦Û¥Ñ''¡C±z¥i¥H®³ FreeBSD ¥h°µ¥ô¦ó±z·Q­n°µªº¨Æ¡A°£¤F¤@¨Ç¨Ò¥~¡A¨Ò¦p±z«ÅºÙ FreeBSD ¬O±z¼g ªº¡C ³Ì·sª©ªº FreeBSD ¬O¨º¤@ª©¡H

¬O¥Ø«e³Ì·sªº stable ª©¡F¥¦©ó 1998 ¦~ 12 ¤ëµo¦æ¡C¥¦¦P®É¤]¬O¥Ø«e³Ì·sªº release ª©¡C

²³æªº»¡¡A-stable ªº¥D­n¶D¨D¹ï¶H¬O¹ï©óí©w©Ê¤Î§CÅܲ§©Ê¦³ ¸û±j»Ý¨Dªº¾÷ºc¡A¨Ò¦p ISP¡A¦Ó«D³ß·R¤@¨Ç¯S§O·s¥\¯àªº¾÷ºc¡C¦b¦¹¦P®É¡A³o ¨Çª©¥»¬O§¹¥þ¤@¼Ëªº¡A¦ý¬O¦b -current ³o­Ó¤À¤äªº§¹¦¨«×¨¬¥H°µ¤@ ­Ó¥¿±` release ¤§«e¡A³oºØ±¡ªp¤£·|ºû«ù¤Ó¤[¡C

¦ý¬O³o¨Ã¤£¥Nªí»¡ 3.0-STABLE release ´N¤£¾A¦X¥Î¦b°Ó·~ªA°È¤W¡A¨Æ¹ê ¤W¡A«Ü¦h»Ý­n 3.0 ·s¥\¯à (§ó·sªº½s;¹§Þ³N¡A§ó¦³®Ä²vªººô¸ôµ{¦¡½Xµ¥) ªº ¨Ï¥ÎªÌ³£±o¨ì¤F«D±`º¡·Nªºµ²ªG¡C¦b 1999 ¦~ 2 ¤ë 3.1-RELEASE ¥X¨Ó¤§«e¡A §Ú­Ì¤£¯à``¾á«O''3.0 ¥i¥H¾á±o°_­«­nªº¤u§@¡C ¤°»ò¬O FreeBSD-current¡H -

«üªº¬O¥¿ +

«üªº¬O¥¿ ¦bµo®i¤¤ªºª©¥»¡A¥¦²×±N¦b¾A·íªº®É¾÷¦¨¬° 4.0-RELEASE¡C¥¦¹ê¦b¬O¥u¾A¦Xµ¹ ¨t²Îµo®iªÌ¥H¤Î¦³¼Ý¤Oªº·~¾l·R¦nªÌ¨Ï¥Î¡C¦pªG·Q­n±o¨ì¦³Ãö¦p¦ó¨Ï¥Î -current ªº²`¤J¸ê°T¡A½Ð°Ñ¦Ò - ªº - ¡C + ªº + ¡C

¦pªG±z¹ï§@·~¨t²Î¥»¨­¨Ã¤£¬O«Ü¼ô±x¡A©Î¬O±z¨S¿ìªk¤À¿ë±z¹J¨ìªº°ÝÃD¬O¯u ªºµo¥Í¤F°ÝÃD¥ç©Î¬O¼È®É©Êªº¤pª¬ªp¡A¨º»ò±z´N¤£À³¸Ó¨Ï¥Î FreeBSD-current¡C ³o­Ó¤À¤äªºµ{¦¡½X¦³®É­ÔÅܰʱo«Ü§Ö¡A¦Ó¥B¥i¯à·|¦]¦¹¦Ó¨Ï±z¦³¦n´X¤Ñªº®É¶¡µL ªk§ó·s±zªº¨t²Î¡C§Ú­Ì°²³]¨Ï¥Î FreeBSD-current ªº¨Ï¥ÎªÌ³£¦³¯à¤O¥h¤ÀªR¥L ­Ì©Ò¹J¨ìªº°ÝÃD¨Ã¥B¥u¦^³ø¯u¥¿ªº°ÝÃD¦Ó«D¤pª¬ªp¡C¦pªG±z¦b -current mailing list ¤¤´£¨ìÃþ¦ü``make world ³y¦¨¤@¨Ç¦³Ãö groups ªº¿ù»~''ªº°ÝÃD¡A ¦³®É­Ô·|³Q¨ä¥L¤H»´µø¡C

¦³®É­Ô§Ú­Ì·|¬°³o¨Ç -current µo®i¤¤ªºµ{¦¡½Xµoªí ¡A§ó¦³¬ÆªÌ¡A§Ú­Ì ÁÙ·|µoªí CDROM «¬¦¡ªº snapshot¡Cµoªí³o¨Ç snapshot ªº¥Øªº¦b©ó¡G ´ú¸Õ³Ì·sª©ªº¦w¸Ëµ{¦¡¡C ´£¨Ñ¤@­Ó²³æªº¤èªkµ¹¨º¨Ç³ßÅw¨Ï¥Î -current ¦ý¬O¨S¦³®É¶¡©MÀW¼e¥h ¨C¤Ñª@¯Åªº¨Ï¥ÎªÌ¡C ¬°¤F´À§Ú­Ìµo®i¤¤ªºµ{¦¡«O¯d¤@­Ó©T©wªº°Ñ¦ÒÂI¡A¥H¨¾¤î§Ú­Ì¥¼¨Ó³y¦¨ ¤£©¯¡C(ÁöµM CVS ¥i¥H¥¿±`¦a¨¾¤îÃþ¦ü³oºØªº¥i©È¨Æ¥ó :) ¬°¤F½T«O©Ò¦³»Ý­n´ú¸Õªº·s¥\¯à³£¥i¥H±o¨ì³Ì¦hªº´ú¸Õ¡C

µL½×¦p¦ó¡A§Ú­Ì¤£«OÃÒ snapshot ªº«~½è¡C¬°¤Fí©w©Ê¡A±z³Ì¦n¨Ï¥Î§¹¥þ release ªºª©¥»¡C

±z¥i¥Hª½±µ±q ¨ú±o snapshot release¡A¤£ºÞ¬O 4.0-current ©Î¬O 3.0-stable¡A¥­§¡¨C¤Ñ³£·|²£¥Í¤@­Ó snapshot ªºª©¥»¡C ¤°»ò¬O FreeBSD-stable¡H

¦^·¹¨ì FreeBSD 2.0.5 ­èµoªíªº®É­Ô¡A§Ú­Ì¨M©w§â FreeBSD ªº release - ¤À¦¨¨â¤ä¡C¤@¤ä¥s°µ¡A + ¤À¦¨¨â¤ä¡C¤@¤ä¥s°µ¡A §Ú­Ì¥u¹ï¥¦°µ¿ù»~­×¥¿¤Î¤p´T«×ªº­×§ï (³o¬Oµ¹ ISP ©M°Ó·~¤½¥qµ¥¹ï¹êÅ礤¥\ ¯à¤£·P¿³½ìªº³æ¦ì©Ò¨Ï¥Îªº)¡C¥t¥~¤@¤ä¥s°µ - ¡A±q 2.0 ª©µo¦æ¥H + ¡A±q 2.0 ª©µo¦æ¥H «á´N¤£¶¡Â_¦a´ÂµÛ 4.0-RELEASE (¥H¤Î¥H«áªºª©¥») «e¶iµÛ¡C¤U­±´N¬Oª©¥»ºt ¶iªº¥Ü·N¹Ï¡G 2.0 | | | [2.1-stable] *BRANCH* 2.0.5 -> 2.1 -> 2.1.5 -> 2.1.6 -> 2.1.7.1 [2.1-stable ends] | (Mar 1997) | | | [2.2-stable] *BRANCH* 2.2.1 -> 2.2.2-RELEASE -> 2.2.5 -> 2.2.6 -> 2.2.7 -> 2.2.8 [end] | (Mar 1997) (Oct 97) (Apr 98) (Jul 98) (Dec 98) | | 3.0-SNAPs (started Q1 1997) | | 3.0.0-RELEASE (Oct 1998) | | [3.0-stable] *BRANCH* 3.1 (Feb 1999) -> ... future 3.x releases ... | | \|/ + [4.0-current continues]

-current ³o­Ó¤À¤ä¥¿½wºC¦a´Â¦V 4.0 ¥H¤Î¥H«áªºª©¥»«e¶iµÛ¡A¦Ó¤§«eªº 2.2-stable ¤À¤ä«hÀHµÛ 2.2.8 ªºµoªí¦Ó¥\¦¨¨­°h¡C3.0-stable ±N·|¦¨¬°¥D­n ªºµo®i½u¡Aª½¨ì 1999 ¦~ªì 3.1 µoªí¬°¤î¡C4.0 ¬O¥Ø«eªº "current ¤À¤ä"¡A 4.0 ªº²Ä¤@¦¸ release À³¸Ó·|¦b 2000 ¦~²Ä¤@©u¡C ·sªº FreeBSD ±N©ó¤°»ò®É­Ô±À¥X¡H

¤@¯ë¦Ó¨¥¡A·í FreeBSD core team »{¬°¤w¸g²Ö¿n¤F¨¬°÷¦hªº·s¥\¯à©M¿ù»~­× ¥¿¡A¦Ó¥B³o¨Ç§ó°Ê¨Ã¤£¼vÅT¨t²Îí©w«×ªº®É­Ô¡A¥L­Ì¤~·|±À¥X·sª©ªº FreeBSD¡C ÁöµMµ¥«Ý³o¨Ç¦nªF¦èªº®É¶¡¥O¤H¦³ÂIªq³à¡A¦ý¬O¤j¦h¼Æªº¨Ï¥ÎªÌ³£»{¬°³oºØÂÔ·V ªººA«×¬O FreeBSD ³Ì¦nªº³¡¥÷¤§¤@¡C

¥­§¡¦Ó¨¥¡A§Ú­Ì¨C¥|­Ó¤ëµo¦æ¤@¦¸ release¡C

¬°¤Fº¡¨¬¨º¨Ç»Ý­n (©Î·Q­n) ¨ë¿Eªº¨Ï¥ÎªÌ¡A³q±` SNAP ªºµoªí¬O¬Û·íÀWÁc ªº¡A¯S§O¬O¦b release µoªí¤§«e¤@­Ó¤ë¥ª¥k¡C FreeBSD ¥u¯à¦b PC ¤W¨Ï¥Î¶Ü¡H

FreeBSD 3.x ¥Ø«e¥i¥H¦b ¤W¨Ï¥Î¡A´N¹³¦b x86 ¬[ ºc¤U¨Ï¥Î¤@¼Ë¡C§Ú­Ì¹ï²¾´Ó¨ì SPARC ¤W¤]¦³¬Û·íªº¿³½ì¡A¤£¹L³o³¡¥÷ªº­pµeÁÙ ¨S¦³§¹¥þ©ú®Ô¤Æ¡C ¦pªG±zªº¾÷¾¹¤£¬O¥H¤W³o¨Ç¬[ºc¡A¦Ó¥B±z²{¦b´N­nªº¸Ü¡A§Ú­Ì«ØÄ³±z°Ñ¦Ò ©Î¬O ¡C ½Ö­t³d FreeBSD ªºµo®i¡H

¦pªG¬O¤@¨Ç¦³Ãö FreeBSD ­pµeªºÃöÁä©Ê¨M©w¡A¹³¬O¾ã­Ó­pµeªº¨«¦V©Î¬O¨M ©w½Ö¥i¥H§ï source tree ¸Ìªºµ{¦¡½X³oÃþªº¨Æ¡A¬O¥Ñ¤@­Ó¬ù 15 ­Ó¤H©Ò²Õ¦¨ªº - ¨Ó¨M©w¡C¦Ó¦³ + ¨Ó¨M©w¡C¦Ó¦³ ¥t¤@¸s¬ù 100 ­Ó¤H¦³Åv§Q¥i¥Hª½±µ­×§ï FreeBSD ªº source tree¡C

µL½×¦p¦ó¡A¤j¦h¼Æªº§ïÅܳ£·|¨Æ«e¦b ¥ý°Q½×¹L¡A¦Ó¥B¨C­Ó¤H³£¥i¥H°Ñ»P °Q½×¡C §Ú­n¦p¦ó¨ú±o FreeBSD¡H

¨C­Ó FreeBSD ªº­«­nª©¥»³£¥i¥H¸g¥Ñ°Î¦W ftp ±q ¨ú±o¡C ¦pªG¬O¥Ø«eªº 2.2-stable release¡A2.2.8R¡A½Ð¬Ý ³o­Ó¥Ø¿ý¡C ¦pªG¬O¥Ø«eªº 3.0-stable release¡A3.0-RELEASE¡A½Ð¬Ý ³o­Ó¥Ø¿ý¡C ÀHµÛ RELENG_2_2 ¤À¤ä («á¨Óªº 2.2.8) ºCºC¦a¶i¤JºûÅ@¶¥¬q¡A§Ú­Ì¨C ¤Ñ³£·|µo¦æ ¡C§Ú­Ì¥Ø«e¥¿§´µ½ºûÅ@µÛ RELENG_2_2 ³o­Ó¤À¤ä¡A°£«D ¹ï¨t²Î¦w¥þ©Î¬O¨t²Îªº¥i¾a©Ê¦³©Ò¼W±j¡A§_«h§Ú­Ì±N¤£¦A§ó°Ê¡C ÀHµÛ RELENG_3 ¤À¤ä («á¨Óªº 3.0-release) ºCºC´ÂµÛ 3.1-RELEASE µo®i¡A§Ú­Ì¤]·|¨C¤Ñµo¦æ ¡C ¤À¤ä¨C¤Ñ³£·|±À¥X ¡A¯Âºé¬O¬°¤F¼ö¤ßªº´ú¸ÕªÌ¥H¤Îµo®i¤H­û©Ò´£¨Ñªº¡C

FreeBSD ªº CDROM ¥i¥H±q¤U¦C¦a¤è¨ú±o :

Walnut Creek CDROM 4041 Pike Lane, Suite F Concord, CA 94520 USA Orders: +1 800 786-9907 Questions: +1 925 674-0783 FAX: +1 925 674-0821 email: WWW:

¦pªG±z¦b¿D¬w¡A±z¥i¥H§ä¡G

Advanced Multimedia Distributors Factory 1/1 Ovata Drive Tullamarine, Melbourne Victoria Australia Voice: +61 3 9338 6777 CDROM Support BBS 17 Irvine St Peppermint Grove WA 6011 Voice: +61 9 385-3793 Fax: +61 9 385-2360 ¦b­^°ê¡G The Public Domain & Shareware Library Winscombe House¡ABeacon Rd Crowborough Sussex. TN6 1UL Voice: +44 1892 663-298 Fax: +44 1892 667-473 §Ú¦b¨º¸Ì¥i¥H§ä¨ì¦³Ãö FreeBSD mailing lists ªº¸ê°T¡H -

±z¥i¥H¦b ±z¥i¥H¦b ¤¤§ä¨ì§¹¾ãªº¸ê°T¡C ¦³¤°»ò°Q½× FreeBSD ªº·s»D°Q½×¸s²Õ¶Ü¡H -

±z¥i¥H¦b ±z¥i¥H¦b ¤¤§ä¨ì§¹¾ãªº¸ê°T¡C ¦³±Mªù°Q½× FreeBSD ªº IRC ÀW¹D¶Ü¡H

¬Oªº¡A¤j³¡¥÷¥D­nªº IRC ºô¸ô¥D¾÷³£´£¨Ñ¤F FreeBSD ªº²á¤ÑÀW¹D¡G EFNet ©Ò´£¨Ñªº #FreeBSD ÀW¹D¬O¤@­Ó FreeBSD ªº½× ¾Â¡A¦ý¬O±z¥i¯àµLªk±q¨ºÃä±o¨ì§Þ³N¤è­±ªº¤ä´©¡A±z¤]§O·Q¦b¨ºÃä§ä¨ì¥ô¦ó ¤H¥i¥HÀ°±zÁ×§K±¼¾\Ū man page ¥H¤Î¦Û¤v¬ã¨sªºµh­W¡C¨º¬O¤@­Ó¥H²á¤Ñ¬° ¥DªºÀW¹D¡A¦b¨ºÃä²á¨ì FreeBSD ©M²á¨ì©Ê¡B¹B°Ê¡B¥H¤Î®Ö¤lªZ¾¹ªº¾÷·|¬O ¤@¼Ë°ªªº¡C §Ú­Ì¤w¸gĵ§i¹L±z¤F¡C ±z¥i¥H¸g¥Ñ irc.chat.org ¨Ó³s½u¡C DALNET ©Ò´£¨Ñªº #FreeBSD ÀW¹D¡A¦b¬ü°ê¥i¥H¸g¥Ñ irc.dal.net ¨Ó³s½u¡A¦b¼Ú¬w¥i¥H¸g¥Ñ irc.eu.dal.net ¨Ó³s½u¡C UNDERNET ©Ò´£¨Ñªº #FreeBSD ÀW¹D¡A¦b¬ü°ê¥i¥H¸g¥Ñ us.undernet.org ¨Ó³s½u¡A¦b¼Ú¬w¥i¥H¸g¥Ñ eu.undernet.org ¨Ó³s½u¡C ³Ì«á¡A±z¤]¥i¥H¥[¤J BSDNET ©Ò´£¨Ñªº #FreeBSD ÀW ¹D¡A³o¬O¤@­Ó¤p«¬ªº BSD ±M¥Î²á¤Ñºô¸ô¡A¥i¥H¸g¥Ñ irc.FreeBSD.org ¨Ó³s½u¡C

¥H¤Wªº³o¨ÇÀW¹D³£¬O¤£¦Pªº¡A¦Ó¥B¥¦­Ì¨Ã¨S¦³¤¬¬Û³s³q¡C¥¦­Ì²á¤Ñªº¤è¦¡¤] ¤£¾¨¬Û¦P¡A©Ò¥H±z¥i¯à¨C­Ó³£­n¥hÀ|¸Õ¤@¤U¡A¥H§ä¨ì³Ì¾A¦X±zªºÀW¹D¡C FreeBSD ¬ÛÃö®ÑÄy

±z©Î³\¥i¥H¸Õ¸Õ¬Ý doc mailing list¡G ¤Wªº FreeBSD ¤å¥ó­pµe (¦pªG±z ¯à¥[¤J³o¬O­pµe¨º¬O¦A¦n¤£¹Lªº¤F)¡C³o­Ó mailing list ¬O¥Î¨Ó°Q½× FreeBSD ¤å¥óªº¡C¦pªG±z·Q­nµo°Ý°ÝÃDªº¸Ü¡A§Ú­Ì¤]¦³ questions mailing list¡G ¡C

±z¤]¥i¥H±q - + ¨ú±o FreeBSD``¨Ï¥Î¤â¥U''¡C½Ðª`·N¡A³o¥÷¤å¥ó¤´³B©ó»s§@¶¥¬q¡A¦³«Ü¦h³¡¥÷³£ ÁÙ¨S¦³§¹¦¨¡C

¦³Ãö FreeBSD ªº®ÑÄy¤¤¡A³Ì¦nªºÀ³¸Ó´N¬O Greg Lehey µÛ§@¡AWalnut Creek CDROM Books ¥Xª©ªº``The Complete FreeBSD''¤F¡C²{¦b³o¥»®Ñ¤w¸g¥X¨ì²Ä¤Gª© ¤F¡AÁ`¦@ 1750 ­¶¥ª¥k¡A¤º®e¥]¬A¦w¸Ë¡A¨t²ÎºÞ²z«ü¾É¡Aµ{¦¡¦w¸Ë¨ó§U¡A¥H¤Î manual pages¡C³o¥»®Ñ (¥H¤Î³Ì·sª©ªº FreeBSD release) ¥i¥H¦V ¡A ¡A©Î¬O¥ô¦ó¤@¶¡ ±z³ßÅwªº®Ñ§½­qÁÊ¡C¥Lªº ISBN ¸¹½X¬O 1-57176-227-2¡C

µM¦Ó¡A¦]¬° FreeBSD 2.2.X ¬O¥H 4.4BSD-Lite2 ¬°°ò¦¨Óµo®iªº¨t²Î¡A©Ò¥H ¤j³¡¥÷ 4.4BSD ªº¤â¥U³£¾A¥Î©ó FreeBSD 2.2.X¡CO'Reilly and Associates ¥Xª©¤F¤U¦C¤â¥U¡G 4.4BSD System Manager's Manual By Computer Systems Research Group, UC Berkeley 1st Edition June 1994, 804 pages : 1-56592-080-5 4.4BSD User's Reference Manual By Computer Systems Research Group, UC Berkeley 1st Edition June 1994, 905 pages : 1-56592-075-9 4.4BSD User's Supplementary Documents By Computer Systems Research Group, UC Berkeley 1st Edition July 1994, 712 pages : 1-56592-076-7 4.4BSD Programmer's Reference Manual By Computer Systems Research Group, UC Berkeley 1st Edition June 1994, 886 pages : 1-56592-078-3 4.4BSD Programmer's Supplementary Documents By Computer Systems Research Group, UC Berkeley 1st Edition July 1994, 596 pages : 1-56592-079-1

±z¥i¥H¦b WWW ¤W§ä¨ì¬ÛÃö¤¶²Ð¡G ¡C¦]¬°¾P°â±¡§Î¨Ã¤£¬O«Ü¦n¡A©Ò¥H±z¥i¯à«Ü Ãø¥h¨ú±o³o¨Ç®ÑÄy¡C

¦pªG±z·Q¹ï 4.4BSD ªº®Ö¤ß¬[ºc¦³§ó²`¼hªº»{ÃÑ¡A±zµ´¤£¯à¿ù¹L³o¥»®Ñ :

McKusick, Marshall Kirk, Keith Bostic, Michael J Karels, and John Quarterman.

The Design and Implementation of the 4.4BSD Operating System. Reading, Mass. : Addison-Wesley, 1996. 0-201-54979-4

¤@¥»¦³Ãö¨t²ÎºÞ²zªº¦n®Ñ¡G

Evi Nemeth, Garth Snyder, Scott Seebass & Trent R. Hein, ``Unix System Administration Handbook'', Prentice-Hall, 1995 : 0-13-151051-7

³o¥»®Ñ²[»\¤F¤@¨Ç°ò¦ªºªF¦è¡A¥]¬A TCP/IP¡ADNS¡ANFS¡ASLIP/PPP¡A sendmail¡AINN/NNTP¡Aprinting¡Aµ¥¡C³o¥»®ÑÆZ¶Qªº (¤j¬ù US$45-$55) ¡A¤£¹L¥¦ªº½T¦³³o­Ó»ù­È¡C¥¦¤]ªþ¤F¤@¤ù¤º§t¤@¨Ç ¤u¨ãµ{¦¡­ì©l½Xªº CDROM¡F¤j³¡¥÷ªºªF¦è¦b FreeBSD 2.2.6R ªº CDROM ¸Ì¤]¦³ ( ³q±` FreeBSD CDROM ¸Ìªº¬O¤ñ¸û·sª©ªº) ¡C §Ú­n¦p¦ó¥h¦s¨ú±z­Ìªº¿ù»~¦^³ø¸ê®Æ®w©O¡H

©Ò¦³¨Ï¥ÎªÌ open ªºÅܧó­n¨D³£¥i¥H¸g¥Ñ§Ú­Ì web ¬É­±ªº PR ¤Î ¨Ó¬d¸ß (©Î¬O¦^³ø) §Ú­Ìªº¿ù»~¦^³ø¸ê®Æ®w¡Csend-pr(1) ³o­Ó«ü¥O¤] ¥i¥H¸g¥Ñ¹q¤l¶l¥ó¨Ó¦^³ø¿ù»~©Î¬O­n¨DÅܧó¡C ¨º¸Ì¥i¥H§ä¨ì ASCII ©Î¬O PostScript ª©ªº FAQ¡H

³Ì·sªº FAQ ¥i¥H±q FreeBSD ºô¯¸©Î¬O¥ô¦ó¤@­Ó mirror ¯¸»O¨ú±o¡A¤£½×¬O PostScript ©Î¬O¯Â¤å¦rªº (¥]¬A 7 bit ASCII ¥H¤Î 8-bit Latin1) ³£¦³¡C

PostScript ®æ¦¡ (¤j¬ù 370KB)¡G

ASCII ®æ¦¡ (¤j¬ù 220KB)¡G

ISO 8859-1 ®æ¦¡ (¤j¬ù 220KB)¡G ¨º¸Ì¥i¥H§ä¨ì ASCII ©Î¬O PostScript ª©ªº¨Ï¥Î¤â¥U¡H

³Ì·sªº FAQ ¥i¥H±q FreeBSD ºô¯¸©Î¬O¥ô¦ó¤@­Ó mirror ¯¸»O¨ú±o¡A¤£½×¬O PostScript ©Î¬O¯Â¤å¦rªº (¥]¬A 7 bit ASCII ¥H¤Î 8-bit Latin1) ³£¦³¡C

PostScript ®æ¦¡ (¤j¬ù 1.7MB)¡G

ASCII ®æ¦¡ (¤j¬ù 1080KB)¡G

ISO 8859-1 ®æ¦¡ (¤j¬ù 1080KB)¡G ASCII ª©ªº¨Ï¥Î¤â¥U¤£¬O¯Â¤å¦rÀÉ¡I

¬Oªº¡AASCII ©M Latin1 ®æ¦¡ªº FAQ ¥H¤Î¨Ï¥Î¤â¥UÄY®æ¨Ó»¡¨Ã¤£¯àºâ¬O¯Â ¤å¦rÀÉ¡F¥¦­Ì¥]§t¤F¤@¨Ç¦L¥X©³½u¥H¤Î­«ÂЦC¦Lªº±±¨î½X¥H«K¯àª½±µ¥ÑÂI¯x°} ¦¡¦Lªí¾÷¿é¥X¡C¦pªG±z·Q§â¥¦­ÌÂন¤@¯ëªº¤å¦rÀɪº¸Ü¡A¥i¥H§Q¥Î col¡G $ col -b < inputfile > outputfile §Ú·Q¦¨¬° FreeBSD ªº mirror ¯¸»O¡I

·íµM¥i¥H¡I¦³«Ü¦h¤èªk¥i¥H mirror §Ú­Ìªººô­¶¡C §Q¥Î CVSUP¡G±z¥i¥H§Q¥Î CVSUP ±q cvsup.freebsd.org ¨ú±o®æ¦¡¤Æ ¹LªºÀɮסC±z¥u»Ý­n§â¤U­±³o¦æ¥[¤J±zªº cvsup ³]©wÀÉ¡G www release=current hostname=/home base=/usr/local/etc/cvsup prefix=/usr/local/www/data/www.freebsd.org delete old use-rel-suffix §Q¥Î rsync¡G½Ð°Ñ¾\ ¥HÀò±o§ó¦h¸ê°T¡C §Q¥Î ftp mirror¡G±z¥i¥H§Q¥Î±z³ßÅwªº ftp mirror ¤u¨ã±q FTP ¯¸ »O¤¤¨ú±oºô­¶¸ê®Æ¡C´N±q ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/www ¶}©l§a¡C §Ú·Q­n½Ķ¤å¥ó

¶â¡A§Ú­Ì¨S¯à¤Oµ¹±zÁ~¤ô¡A¤£¹L¦pªG±z¯à´£¨Ñ½Ķ¦nªº¤å¥óªº¸Ü¡A§Ú­Ì·|°e ±z CD ©Î¬O T-shirt¡A¨Ã§â±z¥[¤J¨Ï¥Î¤â¥U¸Ì Contributor ªº¦æ¦C¡C ¨ä¥L¸ê°T¨Ó·½

¤U¦C newsgroups ¤¤¥]¬A¤F FreeBSD ¬ÛÃöªº°Q½×¡G (moderated)

ºô­¶¸ê·½¡G The .

FreeBSD ¨Ï¥Î¤â¥U¤]¦³¤@¤À«Ü§¹¾ãªº - ¡A¦pªG±z + ¡A¦pªG±z ¥¿·Q¶R®Ñªº¸Ü¡A³o³¡¥÷­È±o¤@¬Ý¡C - \ No newline at end of file + diff --git a/zh_TW.Big5/FAQ/troubleshoot.sgml b/zh_TW.Big5/FAQ/troubleshoot.sgml index f0a51019a6..d1ca8d3c25 100644 --- a/zh_TW.Big5/FAQ/troubleshoot.sgml +++ b/zh_TW.Big5/FAQ/troubleshoot.sgml @@ -1,446 +1,446 @@ - + ±`¨£°ÝÃD¸Ñ¨M §ÚªºµwºÐ¦³Ãa­y!

­Y¬O SCSI µwºÐªº¸Ü¡AÀ³¸Ó¦³¯à¤O¦Û°Ê§@ re-mapping ªº°Ê§@¡C µM¦Ó¡A¦]¬°¤@¨Ç¯«¯µªº¦]¯À¡A¦b¥X¼t®É¡A«Ü¦hµwºÐªº³o¶µ¥\¯à¬OÃö³¬ªº.

­n±N¨ä­«·s¶}±Ò¡A±z»Ý­n½s¿è¸Ë¸mªº²Ä¤@­Ó page ¼Ò¦¡ ¡]first device page mode¡^¡A¦b FreeBSD ¤W¥i¥H¥Î¤U­±ªº«ü¥O¿ì¨ì ¡]¥H root ¨­¤À°õ¦æ¡^ scsi -f /dev/rsd0c -m 1 -e -P 3

µM«á±N AWRE ©M ARRE ªº¼Æ­È±q 0 Åܦ¨ 1:- AWRE (Auto Write Reallocation Enbld): 1 ARRE (Auto Read Reallocation Enbld): 1

¤W­±³o¬q¬O¥Ñ ©Ò´£¨Ñ:

­Y¬° IDE µwºÐ¡A¥ô¦óªºÃa­y³q±`³£¬O³Â·Ðªº¹w¥ü¡C¥Ø«e©Ò¦³¸û·sªº IDE µw ºÐ¡A¤º³¡³£¦³¦Û°Ê remapping Ãa­yªº¯à¤O¡C¥Ø«e©Ò¦³ IDE µwºÐ»s³y°Ó¡A³£´£¨Ñ ¤F§ó¤[ªº«OÃÒ¡A¦Ó¥B·|À°±z§ó´«¥X²{Ãa­yªºµwºÐ¡C

¦pªG±z¤´·Q­n­×´_²£¥ÍÃa­yªº IDE µwºÐ¡A±z¤´¥i¥H¸ÕµÛ¥h¤U¸ü IDE µwºÐ»s³y °Ó©Ò´£¨ÑªºÀË´úµ{¦¡¡A¨Ã¥Î¥¦¨ÓÀˬd±zªºµwºÐ¡C¦³®É³o¨Ç³nÅé¥i¥H±j­¢µwºÐ¹q¸ô ­«·sÀˬdµwºÐªºÃa­y¡A¨Ã±N¥¦­Ì¼Ð¥Ü¥X¨Ó.

¹ï ESDI¡ARLL ¤Î MFM ªºµwºÐ¨Ó»¡¡A³q±`Ãa­y¬O¥¿±`²{¶H¡A¤]¤£¬O¤°»ò³Â·Ðªº «e¥ü¡C¦b PC ¤W¡AºÏºÐ±±¨î¥d©M BIOS ­t³d¼Ð¥ÜÃa­yªº¥ô°È¡C³o¹ï¤@¨Ç¨Ï¥Î BIOS ¨Ó¦s¨úºÏºÐªº§@·~Àô¹Ò(¦p DOS)¬O¨S¦³°ÝÃDªº¡CµM¦Ó¡AFreeBSD ªººÏºÐÅX°Êµ{¦¡ ¨Ã¤£¸g¹L BIOS ¨Ó¦s¨úºÏºÐ¡A©Ò¥H¡A¦³­Ó bad144 ªº¾÷¨î¥Î¨Ó¨ú¥N³o¶µ¥\¯à¡C bad144 ¥u¯à¥Î¦b wd ³o­ÓºÏºÐÅX°Êµ{¦¡¤W¡A¥¦µLªk¥Î¦b SCSI µwºÐ¤W¡Cbad144 ªº¤u§@¤èªk¬O±N©Ò¦³§ä¨ìªºÃa­y¸ê®Æ¦s¨ì¤@­Ó¯S§OªºÀÉ®×ùØ¡C

¨Ï¥Î bad144 ªºÄµ§i - ¦sµÛÃa­y¸ê®Æªº¯S§OÀɮ׬O©ñ¦bµwºÐªº³Ì«á¤@­y ¤W¡C¦]¬°³o­ÓÀÉ®×Àx¦sªºÃa­y¸ê®Æ¤¤¡A¦³¥i¯à¦³¨Ç¸ê®Æ¬O«ü¦VµwºÐ³Ì«eºÝ©Òµo¥Í ªºÃa­y±¡§Î¡A´N¬O¥i¯àÀx¦s /kernel ³o­ÓÀɪº¦a¤è¡A©Ò¥H¥¦¤@©w­n¯à³Q¶}¾÷µ{¦¡ ©ÒŪ¨ú¡A¦Ó¶}¾÷µ{¦¡¬O³z¹L BIOS ¨ÓŪ¨ú kernel ÀÉ¡C³oªí¥Ü¤F¨Ï¥Î bad144 ªº µwºÐµ´¤£¯à¾Ö¦³¶W¹L 1024 ­Ó cylinder¡A16 ­Ó head ¤Î 63 ­Ó sector¡C ³o³y¦¨¤F¨Ï¥Î bad144 ªºµwºÐªº¤j¤p¤£¯à¤j©ó 500 MB¡C

­n¨Ï¥Î bad144 «Ü²³æ¡A¥u­n¦b¶}©l¦w¸Ë®É¡A¦b FreeBSD fdisk µe­±§â "Bad Block" ±½ºË³]¬° ON §Y¥i¡C¦b FreeBSD 2.2.7 ¥H«á³£¥i¥H¨Ï¥Î¦¹¤èªk¡C ¦ý³o­ÓµwºÐªº cylinder ¤@©w­n¦b 1024 ¥H¤U¡C¨Ï¥Î«e¡A§Ú­Ì«ØÄ³³o­ÓµwºÐ­n ¦Ü¤Ö¥ý¨Ï¥Î¥|­Ó¤p®É¡A¥H«K¼ö¿±µÈ»PºÏ­y°¾²¾¹F¤@¯ëª¬ºA¡C

¦pªG³o­ÓµwºÐ¾Ö¦³¶W¹L 1024 ­Ó cylinder (¹³¤j®e¶qªº ESDI µwºÐ)¡A ESDI ±±¨î¥d§Q¥Î¤@­Ó¯S§OªºÂà´«¼Ò¦¡¨Ï¥¦¯à¦b DOS ¤U¤u§@¡C ¦Ó¦pªG±z¦b fdisk ùتº "set geometry" ¤¤¿é¤J "Âà´«¹L" ªº geometry¡Awd ³o ­ÓÅX°Êµ{¦¡¯à¤F¸Ñ³o¨ÇÂà´«¼Ò¦¡¡C±z¤]µ´¹ï¤£¯à¨Ï¥Î dangerously dedicated ¼Ò ¦¡¨Ó«Ø¥ß FreeBSD ªº¤À³Î°Ï¡A¦]¬°¥¦·|©¿²¤ geometry ³o­Ó°Ñ¼Æ¡C ¦¹¥~¡A´Nºâ fdisk ¨Ï¥Î±z©Ò¿é¤Jªº geometry °Ñ¼Æ¡A¥¦¨ÌµM·|¥hŪ¨ú³oµwºÐªº ¯u¥¿¸ê®Æ¡A¦Ó·|¹Á¸Õ¥h«Ø¥ß¤@­Ó¹L¤jªº FreeBSD ¤À³Î°Ï¡C¦pªGºÏºÐªº geometry ¤w¸g³Q "Âà´«" ¹L¤F¡A¨º»ò³o­Ó¤À³Î°Ï "¥²¶·" ¥H¤â°Ê¿é¤J block ¼Æ¥Øªº¤èªk¨Ó «Ø¥ß¡C

¤@­Ó§Ö³tªº¤p§Þ¥©¬O§Q¥Î ESDI ±±¨î¥d¨Ó³]©w¤j®e¶qªº ESDI µwºÐ¡A¥Î DOS ¶} ¾÷¤ù¶}¾÷¡A¦A±N¥¦ format ¬° DOS ªº¤À³Î°Ï¡CµM«á­«¶}¾÷¶i¤J FreeBSD ¦w¸Ëµ{§Ç ¡A¦b fdisk µe­±¡A§âDOS ¤À³Î°Ïªº blocksize ©M block number §Û¤U¨Ó¡CµM«á­« ·s³]©w geometry ¨Ï¨ä¸ò DOS ¨Ï¥Îªº¤@¼Ë¡C§R°£ DOS ¤À³Î°Ï¡AµM«á¨Ï¥Î±z­è­è§Û ¤Uªº blocksize ¨Ó«Ø¥ß¤@­Ó cooperative FreeBSD ¤À³Î°Ï¡CµM«á³]©w³o­Ó¤À³Î°Ï ¬°¥i¶}¾÷¡A¦A¥´¶}Ãa­y±½ºË¡C¦b¯u¥¿ªº¦w¸Ë¹Lµ{¤¤¡Abad144 ·|¦b¥ô¦óÀɮרt²Î³Q «Ø¥ß«e¥ý³Q°õ¦æ¡C(±z¥i¥H«ö Alt-F2 ¨ÓºÊ¬Ý³o¤@¤Á)¦pªG¦b«Ø¥ßÃa­y¸ê®ÆÀɮɵo¥Í ¤F°ÝÃD¡A±z·|»Ý­n³]©w¤@­Ó¸û¤jªººÏºÐ geometry - ³oªí¥Ü±z»Ý­n­«¶}¾÷¡AµM«á¥þ ³¡¦A­«·s¶}©l (¥]¬A­«·s¤À³Î¥H¤Î¦b DOS ¤U­«·s format)¡C

¦pªG remapping ªº¥\¯à¤w¸g±Ò°Ê¤F¡A¦Ó±z¨ÌµM¤@ª½¬Ý¨ìÃa­y²£¥Í¡A¨º»ò¦Ò¼{ ´«¤@¥xµwºÐ§a¡CÃa­yªº±¡§Î¥u·|ÀH®É¶¡¼W¥[¦Ó§ó¬°ÄY­«¡C FreeBSD §ì¤£¨ì§Úªº Bustek 742a EISA SCSI ¥d!

¤U­±ªº¸ê°T¬Oµ¹ 742a ³o±i¥d¥Îªº¡A¦ý¬O¨ä¥L Buslogic ªº¥d©Î³\¤]¥i¥H ¾A¥Î¡C (Bustek ´N¬O Buslogic)

742a ³o±i¥d¦³¨â­Ó¥D­nªº¡uª©¥»¡v¡C¤@­Ó¬Oª©¥» A-G¡A¥t¤@­Ó¬Oª©¥» H ¤Î¨ä¥H«á¡Cª©¥»¸ê°T¥i¥H±q¤¶­±¥dÃä½tªº¬y¤ô¸¹³Ì«á­±±oª¾¡C742a ³o±i ¥d¦³¨â­Ó°ßŪ´¹¤ù¦b¥¦¤W­±¡A¤@­Ó¬O BIOS ´¹¤ù¡A¦Ó¥t¤@­Ó¬O¶´Åé´¹¤ù¡C FreeBSD ¨Ã¤£¦b¥G±z¥d¤Wªº BIOS ª©¥»¡A¦ý¬O¶´Å骺ª©¥»´N«Ü­«­n¤F¡C¦pªG §A¥´¹q¸Üµ¹¥L­Ì§Þ³N¤ä´©±M½uªº¸Ü¡A¥L­Ì·|±Hµ¹±z³Ì·sªºª©¥»¨Ñ±z¤É¯Å¡C BIOS ©M¶´Åé´¹¤ù¬O¤@°_°e¨Óªº¡C ±z»Ý­n±N¥d¤W BIOS ©M¶´Å骩¥»¡A¨Ì±z¥d ª©¥»ªº¤£¦P¡A¤É¯Å¨ì³Ì·sªº¤@ª©¡C

ª©¥» A-G ªº¥d³Ì°ª¥u¯à±N BIOS/¶´Åé ¤É¯Å¨ì 2.41/2.21 ª©¡A¦Óª©¥» H «á¡A¥Ø«e BIOS/¶´Å骺³Ì·sª©¥»¬O 4.70/3.37¡C³o¨â­Ó¶´Å骩¥»¶¡ªº®t²§¦b ©ó¡A3.37 ³oª©¤ä´© ``round robin''

Buslogic ªº¥d¤W­±¤]³£¦³§Ç¸¹¡C¦pªG±z¥dªºª©¥»¸û¡A±z¥i¥H¸ÕµÛ¥´¹q ¸Üµ¹ Buslogic ªºRMA ³¡ªù¡AµM«áµ¹¥L­Ì±zªº§Ç¸¹¡A¬Ý¯à¤£¯à¸ò¥L­Ì¥æ´«¤@ ±i¸û·sª©¥»ªº¥d¡C¦pªG¨º±i¥d°÷ªº¸Ü¡A¥L­Ì·|´«µ¹§A¡C

FreeBSD 2.1 ¥u¤ä´©¶´Åé 2.21 ª©¥H«áªºª©¥»¡C¦pªG±z¶´Å骩¥»¤ñ³o­ÓÁ٠ªº¸Ü¡A¨º»ò±zªº¥d´N¤£¯à³Q¿ëÃÑ¥X¬O Buslogic ªº¥d¡C¥¦¦³¥i¯à·|³Q¿ëÃѦ¨ Adaptec 1540¡C¸û¦­ªº Buslogic ¥d¤Wªº¶´Å馳¤@­Ó AHA1540``¼ÒÀÀ''¼Ò¦¡¡A ³o¹ï¤@±i EISA ¥d¨Ó»¡¨Ã¤£¬O¥ó¦n¨Æ¡C

¦pªG±z¦³¤@±i¸ûª©¥»ªº¥d¡A¦Ó±z¨ú±o 2.21 ª©¶´Å骺¸Ü¡A±z»Ý­nÀˬd¤@¤U jumper W1 ªº¦ì¸m¡A±N¥¦½Õ¦Ü B-C¡A­ì©l³]©w¬O A-B¡C

742a EISA ¥d¨S¦³¦b ³o¬q¤¤©Ò´£¹Lªº ``>16MB'' °ÝÃD¡C³o­Ó°ÝÃD¥u·|µo¥Í¦b Vesa-Local ¶×¬y±Æªº Buslogic SCSI ¥d¤W¡C FreeBSD §ì¤£¨ì§Úªº HP Netserver ªº SCSI ±±¨î¥d¡I

°ò¥»¤W³o­Ó¬O¤@­Ó¤wª¾ªº°ÝÃD¡C¦b HP Netserver ¾÷¾¹¤Wªº on-board EISA ¤¶­± SCSI ±±¨î¥d¥e¾Ú¤F©w§}¬°²Ä 11 ªº EISA ¼Ñ¡A¦]¦¹©Ò¦³ªº ``¯u¹ê'' EISA ¼Ñ³£¦b¥¦¤§«e¡C¥i¬O¡A¦b EISA ©w§}ªÅ¶¡ >= 10 ®É¡A·|»P«ü©wµ¹ PCI ¥Îªº©w§}ªÅ¶¡¬Û½Ä¬ð¡A¥B FreeBSD ªº auto-configuration µLªk¥¿½Tªº³B²z ³o­Ó±¡§Î¡C

¦]¦¹¡A²{¦b§A¯à°µªº³Ì¦n¨Æ±¡´N¬O¦b kernel ùس]©w ùةһ¡ªº¤èªk¨Ó ³]©w»P½sͱzªº kernel

·íµM¡A¦b¦w¸Ë¨ì³oºØ¾÷¾¹¤W®É¡A³o¬O¤@­ÓÂû¥Í³J³J¥ÍÂûªº°ÝÃD¡C ¬°¤F¸Ñ¨M³o­Ó°ÝÃD¡A¦b UserConfig ¤¤¦³¤@­Ó¯S§Oªº¤èªk¡A ¦w¸Ë®É¤£­n¶i¤J ``visual'' ¤¶­±¡A¬Û¤Ïªº¡A¦b©R¥O¦C¼Ò¦¡¤¤¡AÁä¤J eisa 12 quit

µM«á´N¦p¥H©¹¤@¼Ë¦w¸Ë±zªº¨t²Î¡CÁöµM§Ú­Ì«ØÄ³±z½sĶ»P¦w¸Ë¤@­Ó ÄÝ©ó¦Û¤vªº kernel¡A¦ý ²{¦b¤]¤w¸g¤F¸Ñ³o­Ó°Ñ¼Æ¡A¥B·|Àx¦s¥¦¡C

§Æ±æ¡A¦b¥¼¨Óªºª©¥»¤¤¯à¹ï³o­Ó°ÝÃD¦³¤@­Ó¦nªº¸Ñ¨M¤èªk¡C

¥HÀò±o§ó¦h ¸ê°T¡C CMD640 IDE ±±¨î´¹¤ù¥X¤F¤°»ò°ÝÃD?

¥¦ªº°ÝÃD¦b©óµLªk¦P®É³B²z¨â­Ó channel ªº«ü¥O¡C

²{¦b¤w¸g¦³­Ó¸Ñ¨M¤èªk¤F¡A¥B·|¦Û°Ê¦b±z¨Ï¥Î³o¶ô´¹¤ù®É±Ò°Ê¡C ¦pªG»Ý­n§ó¸ÔºÉªº¸ÑÄÀ¡A½Ð¬d¾\¦³ÃöºÏºÐÅX°Êµ{¦¡ªº»¡©ú(man 4 wd)

¦pªG±z¥Ø«e¬O¨Ï¥Î CMD640 IDE ±±¨î´¹¤ù¡A¥[¤W FreeBSD 2.2.1 ©Î 2.2.2¡A¦Ó¥B±z¤S·Q­n¨Ï¥Î¨ì²Ä¤G­Ó channel ®É¡A½Ð¦b±zªº kernel ³] ©w¤¤¥[¤J §Ú¤@ª½¬Ý¨ìÃþ¦ü ``

³o­Ó³q±`¬O¥Ñ©ó¤¤Â_½Ä¬ð(interrupt conflict)©Ò³y¦¨ªº (¨Ò¦p¡A¨â¶ô¥d ¨Ï¥Î¨ì¤F¬Û¦Pªº IRQ)¡C FreeBSD ¦b 2.0.5 ª©¥H«e³£®e³\³o­Ó±¡§Î¡A ´Nºâ¦³ IRQ ½Ä¬ð±¡§Î¡Aºô¸ô¥d¤]À³¸Ó¤´¥i¥¿±`¹B§@¡C µM¦Ó¡A¦b 2.0.5 ª©¤Î¨ä¥H«á¡A¤w¤£¦A®e³\¦³ IRQ ½Ä¬ðªº±¡§Î¤F¡C ½Ð©ó¶}¾÷®É¨Ï¥Î -c ³o­Ó¿ï¶µ¡AµM«á§ó§ï ed0/de0/..¡Cµ¥ªº³]©w¡A¨Ï¨ä ©M±zºô¸ô¥d¥»¨­ªº³]©w¤@­P¡C

¦pªG±z¬O¨Ï¥Î±zºô¸ô¥d¤Wªº BNC ±µÀY¡A±z©Î³\¤]·|¦]¤£¨}ªº²×ºÝ¹qªý³]©w¡A ¦Óµo¥Í¸Ë¸m (device) timeout ªº±¡§Î¡C­nÀˬd¬O§_¦³³oºØ±¡§Î¡A±z¥i¥H¦b ºô¸ô¥d¤Wª½±µ±µ¤W²×ºÝ¹qªý (¤£­n±µºô¸ô½u)¡AµM«á¬Ý¬Ý³o­Ó¿ù»~°T®§¬O¤£¬O ´N®ø¥¢¤F¡C

¦³¨Ç NE2000 ªº¬Û®e¥d¡A¦pªG¥¦ªº UTP °ð¨S¦³±µºô¸ô½u¡A©Î¬O¸Óºô¸ô½u¨Ã ¨S³Q¨Ï¥Îªº¸Ü¡A¤]·|¥X²{³o­Ó¿ù»~°T®§¡C ¦b§Ú·Q­n±¾¤W CDROM ®É¡A¥X²{``Incorrect super block''ªº°T®§

±z¥²¶·§i¶D ±z·Q±¾¤Wªº device ªºÀɮ׮榡¡C¦b­ì©l³]©wùØ¡A ·|°²³]±zªºÀɮ׮榡¬° ``¡C ®É«ü©w ``Á|¨Ò¨Ó»¡¡A¦pªG±z·Q±N ``/dev/cd0c'' ³o­Ó CDROM ¸Ë¸m (device) ±¾¦b /mnt ¤U¡A±z»Ý­n°õ¦æ: mount -t cd9660 /dev/cd0c /mnt

­nª`·Nªº¬O¡A±zªº¸Ë¸m¦WºÙ¥i¯à·|¤£¤@¼Ë (¦b¦¹½d¨Ò¤¤¬O ``/dev/cd0c''¡A¥¦¬O®Ú¾Ú±zªº CDROM ¤¶­±¦Ó©wªº¡C ¥t¥~­nª`·Nªº¡A`` mount_cd9660 /dev/cd0c /mnt ·í§Ú·Q±¾¤W CDROM ®É¡A¥X²{¤F ``Device not configured'' ªº¿ù»~°T®§

³o³q±`¬Oªí¥Ü±zªº CD-ROM ùØ­±¨S¦³¥úºÐ¤ù¡A©ÎªÌ¬O³o¥x¾÷¾¹µLªk³Q ¶×¬y±Æ (bus) §ì¨ì¡C©ñ¤ù¥úºÐ¤ù¦b¥úºÐ¾÷ùØ¡A¦pªG¥¦¬O IDE (ATAPI) ªº ¥úºÐ¾÷ªº¸Ü¡AÀˬd¤@¤U¥¦ªº master/slave ª¬ºA¡C¥úºÐ¾÷³q±`»Ý­n´X¬íÄÁ ªº®É¶¡¤~¯à³Æ§´ (ready)¡A©Ò¥H½Ð­@¤ßµ¥­Ô¡C

¦³®É³o¬Oµo¥Í¦b SCSI CD-ROM ¤W¡A¦]¬°¥¦¦b¶×¬y±Æ­«¸m (bus reset) ®É¨Ó¤£¤Î¦^À³¡A©Ò¥H®ø¥¢¤F¡C¦pªG±z¾Ö¦³ªº¬O SCSI CD-ROM¡A½Ð¹Á¸Õ¦b kernel ³]©wÀɤ¤¥[¤J¥H¤Uªº³]©w¡AµM«á­«·s½sĶ¡C options "SCSI_DELAY=15" §Úªº¦Lªí³t«×¯}¤Ñ¯îªººC¡C§Ú¸Ó«ç»ò°µ¡H

¦pªG¬O¥­¦æ°ð¡A¥B°ß¤@ªº°ÝÃD´N¬O³t«×«ÜºCªº¸Ü¡A¸ÕµÛ³]©w±zªº ¦Lªí¾÷°ð¬° ``polled'' ¼Ò¦¡: lptcontrol -p

¦³¨Ç·sªº HP ¦Lªí¾÷¦ü¥GµLªk¦b interrupt ¼Ò¦¡¤¤¥¿±`¤u§@¡A «Ü©úÅ㪺¬O¦]¬°¤@¨Ç®É¯ß°ÝÃD (¦ýÁÙ¤£¬O«ÜÁA¸Ñ¬°¤°»ò·|¦p¦¹) §Úªºµ{¦¡¦³®É·|¦] ``Signal 11'' ³o­Ó¿ù»~¦Ó°±¤î

³o­Ó³q±`¬O¦]¬°¦³°ÝÃDªºµwÅé (°O¾ÐÅé¡A¥D¾÷ªOµ¥µ¥) ©Ò³y¦¨ªº. ¸Õ¸Õ¦b±zªº PC ¤W¶]­Ó°O¾ÐÅé´ú¸Õµ{¦¡¬Ý¬Ý¡Cª`·N¡A´Nºâ±z¸Õ¹Lªº¨C¤@ºØ°O ¾ÐÅé´ú¸Õµ{¦¡³£¦^³ø»¡±zªº°O¾ÐÅé¨S¦³°ÝÃD¡A¦ý¬O¡A¦³¤@¨Ç§C«~½èªº°O¾ÐÅé¡A ÁöµM¯à³q¹L°O¾ÐÅé´ú¸Õ¡A¤£¹L¦b¯u¥¿¤u§@®É«o·|¥X°ÝÃD (¨Ò¦p±q Adaptec 1542 µ¥µ¥ SCSI ±±¨î¥d°µ bus mastering DMA¡B¦b½s¿è kernel ®É¡B ©Î¬O¨t²Îªº­t¸ü«Ü°ª®É)

SIG11 FAQ (¦ì§}¦b¤U­±) «ü¥X°O¾ÐÅ骺³t«×¤£°÷§Ö³q±`¬O³o­Ó°ÝÃDªº­ì¦]¡C ¸ÕµÛ¦b±zªº BIOS ³]©w¤¤¼W¥[°O¾ÐÅé wait ª¬ºAªº®É¶¡¡A©Î¬O§ó´«§ó§Öªº°O¾Ð Åé¡C

¥H§Ú¦Ó¨¥¡A§Ú´¿¹J¹L¥Ñ¤£¨}ªº§Ö¨ú°O¾ÐÅé©Î¬O¤£¨}ªº on-board §Ö¨ú¥d ©Ò³y¦¨ªº³o­Ó°ÝÃD¡C¸ÕµÛ¦b BIOS ³]©w¤¤¨ú®ø on-board (²Ä¤G¶¥) §Ö¨ú¡A ¬Ý¬Ý³o¼Ë¯à¤£¯à¸Ñ¨M³o­Ó°ÝÃD

³o¨à¦³¤@¥÷«Ü¦nªº FAQ: ·í§Ú¶}¾÷®É¡A¿Ã¹õÅܶ¡A¥B¤£°±°{°Ê¡I

³o­Ó°ÝÃD¡A¤wª¾¬O¥Ñ ATI Mach 64 Åã¥Ü¥d©Ò¤Þ°_ªº¡C¦]¬°³o¶ô¥d¨Ï¥Î¨ì ³o­ÓÅX°Êµ{¦¡¡A¤£ª¾¹D¬O bug ©Î¬O¥\¯à(feather)¡A´Nºâ±z¨S¦³²Ä¥|­Ó§Ç¦C°ð¡A ©Î¬O¤w¸g±N sio3 (²Ä¥|­Ó§Ç¦C°ð¡^¨ú®ø¤F¡A¥¦¨ÌµM·|¥h¹Á¸ÕÅX°Ê¥¦¡C

ª½¨ì³o­Ó°ÝÃD³Q¸Ñ¨M¥H«e¡A±z¥i¥H¨Ï¥Î³o­Ó¤èªk¡G ¦b¶}¾÷´£¥Ü¡]¬Ý¨ì¨ú®ø ©ó¬O°ÝÃD¸Ñ¨M¡C ¿é¤J exit ¥HÄ~Äò±Ò°Êµ{§Ç

¦pªG±z·Q­n¨Ï¥Î±zªº§Ç¦C°ð¡A±z»Ý­n­×§ï /usr/src/sys/i386/isa/sio.c¡A¦b¸ÓÀɤ¤§ä¥X ´Nºâ¨Ï¥Î¤F¤W­±³o¨Ç¤èªk¡AX Window ¤´µM¦³¥i¯àµLªk¶¶§Q°õ¦æ¡C¦³¨Ç·sªº ATI Mach 64 Åã¥Ü¥d¡]¯S§O¬O ATI Mach Xpression¡^¡AµLªk¦b¥Ø«eª©¥»ªº §ä¨ì new beta release ³o­Ó³sµ²(link)¡A¨Ó¨ú±o X-server ªº beta ª©¡A¥¦ªº ¬Û®e±¡§ÎÀ³¸Ó´N¤ñ¸û¦n¤F¡C±z»Ý­n¨ú±o¤U¦C³o¨ÇÀɮסG

AccelCards¡ABetaReport¡ACards¡ADevices¡AFILES¡AREADME.ati¡A README.FreeBSD¡AREADME.Mach64¡ARELNOTES¡AVGADriver.Doc¡A X312BMa64.tgz

¥H³o¨ÇÀɮרú¥N±z­ì¦³ªºÂÂÀɮסAµM«á¤Á°O¦A¶] ¤@¹M¡C §Ú¦³ 128 MB ªº RAM¡A¦ý¬O¨t²Î¥u¥Î¨ä¤¤ªº 64MB

¦]¬° FreeBSD ¬O¨Ï¥Î©I¥s BIOS ¨Ó¨ú±o°O¾ÐÅé¤j¤pªº¤èªk¡A¦]¦¹¥¦¥u¯à °»´ú¨ì 16 bits ¦ì¤¸ªø«×ªº KByte ¤j¤p (65535 KBytes = 64MB) (©ÎªÌ§ó¤Ö..¡C¦³¨Ç BIOS ±N³Ì°ª°O¾ÐÅé¤j¤p­­¬°¥u¦³ 16MB) ¦pªG±z¾Ö¦³ 64MB ¥H¤Wªº RAM¡AFreeBSD ·|¹Á¸Õ¥h°»´ú¥X¥¦¡A¦ý¬O¦³¥i¯à ·|¥¢±Ñ¡C

­n¸Ñ¨M³o­Ó°ÝÃD¡A±z»Ý­n¨Ï¥Î¤U­±©Ò´£ªº kernel ³]©w¿ï¶µ¡C ÁöµM¦³¤èªk¥i¥H±q BIOS ¤¤¨ú±o°O¾ÐÅ骺§¹¾ã¸ê°T¡A¦ý¬O¥Ø«e§Ú­Ì¦b bootblock ¤¤¨Ã¨S¦³¦h¾lªºªÅ¶¡¨Ó°µ³o¥ó¨Æ¡C·í¬Y¤Ñ bootblock ªÅ¶¡ ¤£¨¬ªº±¡§ÎÀò±o¸Ñ¨M®É¡A§Ú­Ì±N·|¨Ï¥Î BIOS ªº©µ¦ù¥\¯à¨Ó¨ú±o°O¾Ð Å骺§¹¾ã¸ê°T...¦ý²{¦b§Ú­Ì±N¥¦©ñ¦b kernel ³]©w¿ï¶µ¤¤¡C options "MAXMEM=<n>"

FreeBSD 2.0 ¦]¬° ``kmem_map too small!'' ¦Óµo¥Í panic¡I

³o­Ó panic ¬Oªí¥Ü¨t²Î¥Î¥ú¤Fµ¹ºô¸ô½w½Ä°Ïªº©Ò¦³ªºµêÀÀ°O¾ÐÅé (¯S §O¬O mbuf clusters)¡C±z¥i¥H¼W¥[µ¹ mbuf clusters ªº VM ªº¼Æ¶q¡A ¥u­n¥[¤J:

options "NMBCLUSTERS=<n>"

¦b±zªº kernel ³]©wÀɤ¤¡A<n> ¬O¤@­Ó¦b 512-4096 ¶¡ªº¼Æ¦r¡A ¨Ì±z·Q´£¨Ñ¦h¤Ö¦P®Éªº TCP ³s±µ¼Æ¥Ø¦h¹è¦Ó©w¡C§Ú·|«ØÄ³¸Õ¸Õ 2048 - ³o¼Æ¦rÀ³¸Ó¥i¥H§¹¥þÁ×§K³o­Ó panic ¤F¡C±z¥i¥H°õ¦æ: ¨ÓºÊ¬Ý¦³¦h¤Ö mbuf clusters ¦b¨t²Î¤W¥¿³Q °t¸m/¨Ï¥Î¡CNMBCLUSTERS ªº¼Æ­È¤º©w¬° ¥Î·s kernel ¶}¾÷®É¡A¥X²{ ``CMAP busy panic'' ³o­Ó¿ù»~°T®§

¥Î¨Ó°»´ú¹L´Á /var/db/kvm_*.db Àɮתº¾÷¨î°¸º¸·|"¥XÂñ" ¦Ó¨Ï¥Î¤@­Ó§t¤£¥¿½T¸ê®ÆªºÀɮצ³®É´N·|¾É­P panic¡C

¦pªGµo¥Í¤F³o­Ó°ÝÃD¡A½Ð­«·s¶}¾÷¡A¶i¤J³æ¨Ï¥ÎªÌ¼Ò¦¡¡AµM«á°õ¦æ: rm /var/db/kvm_*.db ahc0: brkadrint¡A Illegal Host Access at seqaddr 0x0

³o¬O¤@­Ó©M Ultrastor SCSI ±±¨î¥d¦³Ãöªº½Ä¬ð

¦b¶}¾÷®É¡A¶i¤J kernel ³]©w¿ï³æ ¨ú®ø ¡A¥¦¬O³y¦¨³o­Ó°ÝÃDªº­ì¦] Sendmail ¤@ª½©ê«è ``mail loops back to myself''

³o­Ó°ÝÃD¦b sendmail ªº FAQ ¤¤¬O³o¼Ë¦^µªªº:- * §Ú¤@ª½¦¬¨ì¦³Ãö "Local configuration error" ªº«H¥ó¡A¨Ò¦p: 553 relay.domain.net config error: mail loops back to myself 554 ... Local configuration error §Ú­n¦p¦ó¸Ñ¨M³o­Ó°ÝÃD? ±z§Q¥Î MX ³]©w¡AÅý­n±H¨ì¬Y domain (¦p: domain.net) ªº«H¥ó¡A ±H¨ì±z©Ò«ü©wªº¾÷¾¹ (¦b³o­Ó¨Ò¤l¤¤¬° relay.domain.net)¡A¦ý¬O³o ³¡¾÷¾¹¨Ã¥¼³Q³]©w±µ¨ü domain.net ªº«H¥ó¡C§â domain.net ¥[¨ì /etc/sendmail.cw ¤¤ (¦pªG±z¦³¨Ï¥Î FEATURE(use_cw_file)) ©Î¬O ¦b sendmail.cf ¤¤¥[¤J "Cw domain.net"

²{¦b¤w¤£¦AÀHµÛ sendmail "¥X³f"¡C ¥¦¥Ø«e¬O³Q©w´Áªºµoªí¦b: ¡A ¡A ¡A ¡A©M ¡C ±z¤]¥i¥H±H¤@«Ê Email ¨ì ¡AµM«á¦b«H¥ó¤º¤å¤¤¼g¤W "send usenet/news.answers/mail/sendmail-faq" ³o­Ó«ü¥O ¥H¨ú±o³o¥÷¤å¥ó¡C ¦b»·ºÝ¾÷¾¹(remote machine)°õ¦æ¥þ¿Ã¹õªº³nÅé®É¡A¦³¤£¥¿±`ªº±¡§Î¡I

©Î³\»·ºÝ¾÷¾¹¨Ã«D±N±zªº²×ºÝ¾÷§ÎºA³]¬° FreeBSD console ©Ò¥Î ªº cons25¡A¦Ó¬O³]¬°¨ä¥¦ºØÃþ¡C

³o¨à¦³´X­Ó¸Ñ¨M³o­Ó°ÝÃDªº¤èªk: ¦b logging ¶i»·ºÝ¾÷¾¹«á¡A§ó§ï±zªº shell ÅÜ¼Æ TERM ¬° ansi ©Î¬O sco¡C ¦b local ºÝ¥Î¤@¨Ç¥i¥H¼ÒÀÀ VT100 ªº¼ÒÀÀ¾¹¡A¦p ¡C screen ´£¨Ñ±z¦b¤@­Ó terminal ùئP®É¶]¦n´X­Ó session ªº¯à¤O¡A¦Ó¥B¥¦¥»¨­¤]¬O¤@­Ó¬Û·í¦nªº³nÅé¡C ¦b»·ºÝ¾÷¾¹ªº²×ºÝ¾÷¸ê®Æ®w(terminal database)¤¤¥[¤J cons25 ªº¸ê®Æ¡C ±Ò°Ê X µM«á§Q¥Î xterm ¨Ó login ¶i»·ºÝªº¾÷¾¹¡C §Úªº¾÷¾¹¤@ª½Åã¥Ü "calcru: negative time..."

¸ò¤¤Â_ ¡]interrupt¡^ ¦³Ãöªº¤£¦PµwÅé »P/©Î ³nÅ骺·f°t³£¦³¥i¯à³y¦¨ ³o­Ó°ÝÃD¡C³o¦³¥i¯à¬O bug ©Î¬O¬Y­Ó¸Ë¸m¥»¨­ªº°ÝÃD¡C¦b¥­¦æ°ð¤W¨Ï¥Î ¤jªº MTU ¨Ó§@ TCP/IP ¶Ç¿é¥i¥H­«²{³o­Ó°ÝÃD¡C­Y¬O¹Ï§Î¥[³t¥d³y¦¨³o­Ó °ÝÃDªº¸Ü¡A±zÀ³¸Ó¥ýÀˬd¥dªº¤¤Â_³]©w¡C

³o­Ó°ÝÃDªºÃä»Ú®ÄÀ³¬O·|³y¦¨¦³¨Ç process ¥X²{ "SIGXCPU exceeded cpu time limit" ªº°T®§¡A¦Ó¤£¥¿±`¤¤Â_

­Yª©¥»¬O 1998 ¦~ 11 ¤ë 29 ¤é¥H«áªº FreeBSD 3.0¡A¦pªG³o­Ó °ÝÃD¤@ª½µLªk¥H¨ä¥L¤èªk¸Ñ¨M¡A´N¥u¯à³]©w sysctl ÅܼơG sysctl -w kern.timecounter.method=1

³o¼Ë·|¹ï®Ä¯à¦³¨Ç¼vÅT¡A¦ý¬O­Y¦Ò¼{¨ì³o­Ó°ÝÃD±a¨Óªº«áªG¡A³o¼Ë°µ¬O­È ±oªº¡C¦pªG³o­Ó°ÝÃDÁÙ¬O¦s¦bªº¸Ü¡A±N sysctl ¨º­Ó­È¨ÌµM³]¬° 1¡AµM«á ¼W¥[ kernel ³]©wÀɤ¤ "NTIMECOUNTER" ³o­Ó¿ï¶µªº¼Æ­È¡C¦pªG±z±N "NTIMECOUNTER" ¼W¥[¨ì 20 ¨ÌµMµLªk¸Ñ¨M³o­Ó°ÝÃD¡A¨º»ò±z¾÷¾¹¤Wªº¤¤Â_ ¤w¸g¦h¨ìµLªk«O«ùí©wªºª¬ºA¤F¡C