©Ò´£¨Ñ:
Y¬° IDE µwºÐ¡A¥ô¦óªºÃay³q±`³£¬O³Â·Ðªº¹w¥ü¡C¥Ø«e©Ò¦³¸û·sªº IDE µw
ºÐ¡A¤º³¡³£¦³¦Û°Ê remapping Ãayªº¯à¤O¡C¥Ø«e©Ò¦³ IDE µwºÐ»s³y°Ó¡A³£´£¨Ñ
¤F§ó¤[ªº«OÃÒ¡A¦Ó¥B·|À°±z§ó´«¥X²{ÃayªºµwºÐ¡C
¦pªG±z¤´·Qn×´_²£¥ÍÃayªº 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ºÐªºÃay¡A¨Ã±N¥¦Ì¼Ð¥Ü¥X¨Ó.
¹ï ESDI¡ARLL ¤Î MFM ªºµwºÐ¨Ó»¡¡A³q±`Ãay¬O¥¿±`²{¶H¡A¤]¤£¬O¤°»ò³Â·Ðªº
«e¥ü¡C¦b PC ¤W¡AºÏºÐ±±¨î¥d©M BIOS t³d¼Ð¥ÜÃayªº¥ô°È¡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©Ò¦³§ä¨ìªºÃay¸ê®Æ¦s¨ì¤@Ó¯S§OªºÀÉ®×ùØ¡C
¨Ï¥Î bad144 ªºÄµ§i - ¦sµÛÃay¸ê®Æªº¯S§OÀɮ׬O©ñ¦bµwºÐªº³Ì«á¤@y
¤W¡C¦]¬°³oÓÀÉ®×Àx¦sªºÃay¸ê®Æ¤¤¡A¦³¥i¯à¦³¨Ç¸ê®Æ¬O«ü¦VµwºÐ³Ì«eºÝ©Òµo¥Í
ªºÃay±¡§Î¡A´N¬O¥i¯àÀx¦s /kernel ³oÓÀɪº¦a¤è¡A©Ò¥H¥¦¤@©wn¯à³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¥un¦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 ¤@©wn¦b 1024 ¥H¤U¡C¨Ï¥Î«e¡A§ÚÌ«Øij³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¥´¶}Ãay±½ºË¡C¦b¯u¥¿ªº¦w¸Ë¹Lµ{¤¤¡Abad144 ·|¦b¥ô¦óÀɮרt²Î³Q
«Ø¥ß«e¥ý³Q°õ¦æ¡C(±z¥i¥H«ö Alt-F2 ¨ÓºÊ¬Ý³o¤@¤Á)¦pªG¦b«Ø¥ßÃay¸ê®ÆÀɮɵ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¤@ª½¬Ý¨ìÃay²£¥Í¡A¨º»ò¦Ò¼{
´«¤@¥xµwºÐ§a¡CÃayªº±¡§Î¥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¦³¨âÓ¥Dnªº¡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¸Üµ¹¥Ļ޳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«áµ¹¥Ḻ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§ÚÌ«Øij±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·Qn¨Ï¥Î¨ì²Ä¤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 ªº±¡§Î¡CnÀˬ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§Ú·Qn±¾¤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·Qn¨Ï¥Î±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
¥un¥[¤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§Ú·|«Øij¸Õ¸Õ 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¡CY¬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¦ý¬OY¦Ò¼{¨ì³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