This file is indexed.

/usr/share/doc/HOWTO/ja-html/Large-Disk-HOWTO-11.html is in doc-linux-ja-html 2006.05.25-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>Large Disk HOWTO: Linux ¤Î IDE 8 GiB ¤ÎÊÉ</TITLE>
 <LINK HREF="Large-Disk-HOWTO-12.html" REL=next>
 <LINK HREF="Large-Disk-HOWTO-10.html" REL=previous>
 <LINK HREF="Large-Disk-HOWTO.html#toc11" REL=contents>
</HEAD>
<BODY>
<A HREF="Large-Disk-HOWTO-12.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Large-Disk-HOWTO-10.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Large-Disk-HOWTO.html#toc11">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s11">11. Linux ¤Î IDE 8 GiB ¤ÎÊÉ</A></H2>

<P>Linux ¤Î IDE ¥É¥é¥¤¥Ð¤Ï ATA IDENTIFY DEVICE ¥ê¥¯¥¨¥¹¥È¤ò»ÈÍѤ¹¤ë¤³¤È¤Ë¤è¤ê¡¢
¥Ç¥£¥¹¥¯¤Î¥¸¥ª¥á¥È¥ê¤ÈÍÆÎÌ(¤È¤½¤Î¾¿¤¯¤Î¾ðÊó)¤òÆÀ¤Þ¤¹¡£
ºÇ¶á¤Þ¤Ç¡¢C*H*S ¤Ë¤è¤ê·×»»¤µ¤ì¤¿ÍÆÎ̤è¤ê¤â 10% °Ê¾åÂ礭¤¤¾ì¹ç¤Ï¡¢
¥É¥é¥¤¥Ð¤ÏÊÖ¤µ¤ì¤¿ lba_capacity ¤ÎÃͤò¿®ÍѤ·¤Þ¤»¤ó¤Ç¤·¤¿¡£
¤·¤«¤·¡¢¶È³¦¤Îµ¬Äê¤Ë¤è¤ê (16514064 ¥»¥¯¥¿¤ò±Û¤¨¤ë) Â礭¤Ê IDE ¥Ç¥£¥¹¥¯¤Ï¡¢
¼ÂºÝ¤Î¥µ¥¤¥º¤È¤Ï̵´Ø·¸¤Î¡¢
·× 16514064 ¥»¥¯¥¿ (7.8 GB (ÌõÃí: 7.8 GiB ¤Þ¤¿¤Ï 8.4 GB ¤¬Àµ¤·¤¤))
¤È¤Ê¤ë C=16383, H=16, S=63 ¤òÊÖ¤·¡¢¼ÂºÝ¤Î¥µ¥¤¥º¤Ï lba_capacity ¤ÇÊÖ¤·¤Þ¤¹¡£
<P>ºÇ¶á¤Î Linux ¥«¡¼¥Í¥ë (2.0.34 ¤ä 2.1.90) ¤Ï¤³¤Î¤³¤È¤òÃΤäƤ¤¤Æ
Àµ¤·¤¤Æ°ºî¤ò¤·¤Þ¤¹¡£
¤â¤·¸Å¤¤ Linux ¥«¡¼¥Í¥ë¤ò»È¤Ã¤Æ¤¤¤Æ¥¢¥Ã¥×¥°¥ì¡¼¥É¤â¤·¤¿¤¯¤Ê¤¯¡¢
¤½¤Î·ë²Ì 8 GiB ¤ò±Û¤¨¤ëÂçÍÆÎ̥ǥ£¥¹¥¯¤Î 8 GiB ¤·¤«°·¤¨¤Ê¤¤¤è¤¦¤Ê¤é¤Ð¡¢
/usr/src/linux/drivers/block/ide.c Æâ¤Î¥ë¡¼¥Á¥ó
lba_capacity_is_ok ¤ò°Ê²¼¤Î¤è¤¦¤ËÊѹ¹¤·¤Æ¤¯¤À¤µ¤¤¡£
(ÌõÃí: ¤Ç¤âÆÃÊ̤ÊÍýͳ¤¬¤Ê¤¤¸Â¤ê¡¢
¤É¤¦¤»¥«¡¼¥Í¥ë¤ÎºÆ¥³¥ó¥Ñ¥¤¥ë¤ò¹Ô¤¦¤Î¤Ê¤é¤Ð¡¢
ÁÇľ¤Ë¥¢¥Ã¥×¥°¥ì¡¼¥É¤·¤¿Êý¤¬¤¤¤¤¤È»×¤¤¤Þ¤¹)
<BLOCKQUOTE><CODE>
<PRE>
static int lba_capacity_is_ok (struct hd_driveid *id) {
        id->cyls = id->lba_capacity / (id->heads * id->sectors);
        return 1;
}
</PRE>
</CODE></BLOCKQUOTE>

¤è¤êÎɤ¤¥Ñ¥Ã¥Á¤Ë¤Ä¤¤¤Æ¤Ï¡¢¥«¡¼¥Í¥ë 2.1.90 ¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£
<P>
<H2><A NAME="ss11.1">11.1 BIOS ¤ÎÊ£»¨²½</A>
</H2>

<P>º£¤¤¤Ã¤¿¤è¤¦¤Ë¡¢ÂçÍÆÎ̥ǥ£¥¹¥¯¤Ï¼ÂºÝ¤Î¥µ¥¤¥º¤È¤Ï̵´Ø·¸¤Ê¥¸¥ª¥á¥È¥ê 
C=16383, H=16, S=63 ¤òÊÖ¤·¡¢¼ÂºÝ¤Î¥µ¥¤¥º¤Ï LBAcapacity ¤ÎÃͤÇÊÖ¤·¤Þ¤¹¡£
¤¤¤¯¤Ä¤«¤Î BIOS ¤Ï¤³¤ì¤òÍý²ò¤»¤º¡¢
¤³¤Î 16383/16/63 ¤ò¤è¤ê¾®¤µ¤¤¥·¥ê¥ó¥À¿ô¤È¤è¤êÂ礭¤¤¥Ø¥Ã¥É¿ô¡¢
Î㤨¤Ð 1024/255/63 ¤ä 1027/255/63 ¤È¤¤¤Ã¤¿ÃͤËÊÑ´¹¤·¤Þ¤¹¡£
¤½¤¦¡¢¥«¡¼¥Í¥ë¤Ïñ°ì¤Î¥¸¥ª¥á¥È¥ê 16383/16/63 ¤À¤±¤Ç¤Ï¤Ê¤¯¡¢
BIOS ¤Ë¤è¤Ã¤ÆÊÑ´¹¤µ¤ì¤Æ¤·¤Þ¤Ã¤¿¥¸¥ª¥á¥È¥ê¤â¸«Ê¬¤±¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
¥«¡¼¥Í¥ë 2.2.2 ¤«¤é¤³¤ì¤ÏÀµ¤·¤¯½èÍý¤µ¤ì¤Þ¤¹(
BIOS ¤ËÌ䤤¹ç¤ï¤»¤Æ H ¤È S ¤òÆÀ¡¢C = capacity/(H*S) ¤È·×»»¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ)¡£
Ä̾盧¤ÎÌäÂê¤Ï¡¢BIOS ÀßÄê¤Ç¥Ç¥£¥¹¥¯¤ò Normal ¤ÈÀßÄꤹ¤ë¤³¤È¤Ç²ò·è¤·¤Þ¤¹
(¤¢¤ë¤¤¤Ï¡¢¤è¤ê¤è¤¤ÊýË¡¤Ï¡¢None ¤ÈÀßÄꤷ¤Æ BIOS ¤Ë°ìÀÚǧ¼±¤µ¤»¤Ê¤¤)¡£
¤³¤Î HDD ¤«¤éµ¯Æ°¤µ¤»¤Ê¤±¤ì¤Ð¤¤¤±¤Ê¤¤¤È¤«¡¢
DOS/Windows ¤Ç¤â»È¤¦¤Ê¤É¤ÎÍýͳ¤Ç¤³¤ì¤¬ÉÔ²Äǽ¤Ç¡¢
¤µ¤é¤Ë¥«¡¼¥Í¥ë¤ò 2.2.2 ¤«¤½¤ì°Ê¹ß¤Ë¥¢¥Ã¥×¥°¥ì¡¼¥É¤¹¤ë¤È¤¤¤¦ÁªÂò¤â̵Íý¤Ê¤é¤Ð¡¢
¥«¡¼¥Í¥ë¤Îµ¯Æ°¥Ñ¥é¥á¡¼¥¿¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£
<P>BIOS ¤¬ 16320/16/63 ¤ÈÊó¹ð¤¹¤ë¾ì¹ç¤Ï¡¢
¤½¤ì¤ÏÊÑ´¹¸å¤Ë 1024/255/63 ¤òÆÀ¤ëÌÜŪ¤ÇÊó¹ð¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¤¹¡£
<P>
<H2><A NAME="ss11.2">11.2 ¥Ø¥Ã¥É¿ô¤ò·è¤á¤ë¤¿¤á¤Î¥¸¥ã¥ó¥Ñ</A>
</H2>

<P>¿¤¯¤Î¥Ç¥£¥¹¥¯¤Ï 15 ¥Ø¥Ã¥É¤« 16 ¥Ø¥Ã¥É¤«¤Î¥¸¥ª¥á¥È¥ê¤òÁªÂò²Äǽ¤Ë¤¹¤ë
¥¸¥ã¥ó¥Ñ¤òÍÑ°Õ¤·¤Æ¤¤¤Þ¤¹¡£
¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤Ï 16 ¥Ø¥Ã¥É¤Î¥Ç¥£¥¹¥¯¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Ç¤·¤ç¤¦¡£
¤¤¤º¤ì¤Î¥¸¥ª¥á¥È¥ê¤Ç¤âƱ¤¸Áí¥»¥¯¥¿¿ô¤Î»þ¤â¤¢¤ì¤Ð¡¢
15 ¥Ø¥Ã¥É¤ÎÊý¤¬Áí¥»¥¯¥¿¿ô¤¬¾¯¤Ê¤¤»þ¤â¤¢¤ê¤Þ¤¹¡£
¤³¤ó¤Ê¥»¥Ã¥È¥¢¥Ã¥×¤ÎºÝ¤Ë¤Ï¤è¤¤Íýͳ¤¬¤¢¤ë¤«¤â¤·¤ì¤Þ¤»¤ó:
Petri Kaukasoina ¤Ï¤³¤¦¤¤¤Ã¤Æ¤Þ¤¹:
¡Ö10.1 GB ¤Î IBM Deskstar 16 GP (model IBM-DTTA-351010)
¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 16 ¥Ø¥Ã¥É¤Ë¥¸¥ã¥ó¥Ñ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë¤¬¡¢
¤³¤Î (AMI BIOS ¤Î) ¸Å¤¤ PC ¤Ç¤Ï¥Ö¡¼¥È¤·¤Ê¤¤¤Î¤Ç¡¢
15 ¥Ø¥Ã¥É¤ÎÊý¤Ë¥¸¥ã¥ó¥Ñ¤òÀßÄꤹ¤ëɬÍפ¬¤¢¤Ã¤¿¡£
hdparm -i ¤Ï RawCHS=16383/15/63 ¤Ç LBAsects=19807200 ¤ÈÊó¹ð¤·¤Æ¤¤¤ë¡£
»ä¤Ï¤¹¤Ù¤Æ¤ÎÍÆÎ̤òÆÀ¤ë¤¿¤á¤Ë 20960/15/63 ¤Ç»È¤Ã¤Æ¤¤¤ë¡£¡×
¥¸¥ã¥ó¥Ñ¤ÎÀßÄê¤Ë¤Ä¤¤¤Æ¤Ï¡¢°Ê²¼¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
<A HREF="http://www.storage.ibm.com/techsup/hddtech/hddtech.htm">http://www.storage.ibm.com/techsup/hddtech/hddtech.htm</A>.
<P>
<H2><A NAME="ss11.3">11.3 ÁíÍÆÎ̤ò±£¤¹¤¿¤á¤Î¥¸¥ã¥ó¥Ñ</A>
</H2>

<P>¿¤¯¤Î¥Ç¥£¥¹¥¯¤Ï¥Ç¥£¥¹¥¯¤ò¤è¤ê¾®¤µ¤¯¸«¤»¤«¤±¤ë¤³¤È¤ò²Äǽ¤Ë¤¹¤ë
¥¸¥ã¥ó¥Ñ¤òÍÑ°Õ¤·¤Æ¤¤¤Þ¤¹¡£
¤½¤ì¤Ï¤Ð¤«¤²¤¿¤³¤È¤Ç¡¢
¤³¤ì¤ò»ÈÍѤ·¤¿¤¬¤ë Linux ¥æ¡¼¥¶¤Ï¤ª¤½¤é¤¯¤¤¤Ê¤¤¤Ç¤·¤ç¤¦¤¬¡¢
ÂçÍÆÎ̥ǥ£¥¹¥¯¤òÀܳ¤¹¤ë¤È°ìÉô¤Î BIOS ¤Ï¥¯¥é¥Ã¥·¥å¤·¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
Ä̾ï¤Î²ò·èÊýË¡¤Ï¡¢¥Ç¥£¥¹¥¯¤ò´°Á´¤Ë BIOS ¤Ëǧ¼±¤µ¤»¤Ê¤¤¤³¤È¤Ç¤¹¡£
¤·¤«¤·¤³¤ì¤Ïµ¯Æ°¥Ç¥£¥¹¥¯¤Ç¤Ï¤Ê¤¤»þ¤·¤«ÍøÍѤǤ­¤Ê¤¤¤Ç¤·¤ç¤¦¡£
<P>ºÇ½é¤Î¿¼¹ï¤ÊÀ©¸Â¤Ï 4096¥·¥ê¥ó¥ÀÀ©¸Â¤Ç¤¹
(¤³¤ì¤Ï 16 ¥Ø¥Ã¥É¤È 63 ¥»¥¯¥¿Ëè¥È¥é¥Ã¥¯¤Î¾ì¹ç 2.11GB ¤Ç¤¹)¡£
Î㤨¤Ð¡¢ÉÙ»ÎÄÌ MPB3032ATU ¤È¤¤¤¦ 3.24 GB ¤Î¥Ç¥£¥¹¥¯¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç
6704/15/63 ¤È¤¤¤¦¥¸¥ª¥á¥È¥ê¤Ç¤¹¤¬¡¢
¥¸¥ã¥ó¥Ñ¤òÀßÄꤹ¤ë¤³¤È¤Ç 4092/16/63 ¤Ë¸«¤»¤«¤±¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£
¤½¤·¤Æ LBAcapacity ¤ËÂФ·¤Æ 4124736 ¥»¥¯¥¿¤ÈÊó¹ð¤¹¤ë¤Î¤Ç¡¢
OS ¤Ï¤³¤Î¥Ç¥£¥¹¥¯¤¬¼ÂºÝ¤Ï¤â¤Ã¤ÈÂçÍÆÎ̤Ǥ¢¤ë¤ÈÃΤ뤳¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£
(¼ÂºÝ¤Ë¥Ç¥£¥¹¥¯¤ÎÍÆÎ̤¬Â礭¤¹¤®¤Æ BIOS ¤¬¥¯¥é¥Ã¥·¥å¤¹¤ë¤Î¤Ç¡¢
¥¸¥ã¥ó¥Ñ¤¬É¬Íפˤʤë¤È¤¤¤¦)¤³¤Î¤è¤¦¤Ê¥±¡¼¥¹¤Ç¤Ï¡¢
¥Ç¥£¥¹¥¯¤Î¥µ¥¤¥º¤Ë¤Ä¤¤¤Æ Linux ¤Ë¶µ¤¨¤ë¤¿¤á¤Ë
¥Ö¡¼¥È¥Ñ¥é¥á¡¼¥¿¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
<P>¤³¤ì¤Ï¤¢¤Þ¤ê¤è¤¯¤Ê¤¤Îã¤Ç¤¹¡£
¿¤¯¤Î¥Ç¥£¥¹¥¯¤Ï¥¸¥ã¥ó¥Ñ¤òÀßÄꤹ¤ë¤³¤È¤Ë¤è¤ê¡¢
2GB ¤Î¥Ç¥£¥¹¥¯¤Ç¤¢¤ë¤«¤Î¤è¤¦¤Ë¸«¤»¡¢
4092/16/63 ¤ä 4096/16/63 ¤È¤¤¤Ã¤¿ÀÚ¤êµÍ¤á¤¿¥¸¥ª¥á¥È¥ê¤òÊó¹ð¤·¤Þ¤¹¡£
¤·¤«¤· LBAcapacity ¤Ç¤Ï´°Á´¤ÊÃͤòÊó¹ð¤¹¤ë¤Î¤Ç¤¹¡£
¤³¤Î¤è¤¦¤Ê¥Ç¥£¥¹¥¯¤ÏÀµ¾ï¤ËÆ°ºî¤·¤Þ¤¹¤·¡¢
¥¸¥ã¥ó¥Ñ¤ÎÀßÄê¤Ë´Ø¤ï¤é¤º Linux ¤Î²¼¤Ç¤Ï¤¹¤Ù¤Æ¤ÎÍÆÎ̤òÍøÍѤǤ­¤Þ¤¹¡£
<P>
<A NAME="jumperbig"></A> 
¤â¤Ã¤È¤âºÇ¶á¤ÎÀ©¸Â¤Ï 
<A HREF="Large-Disk-HOWTO-12.html#verylarge">33.8 GB ¤ÎÊÉ</A> ¤Ç¤¹¡£
2.3.21 ¤è¤ê¸Å¤¤ Linux ¥«¡¼¥Í¥ë¤Ç¤Ï¡¢
¤³¤ì¤è¤êÍÆÎ̤ÎÂ礭¤Ê IDE ¥Ç¥£¥¹¥¯¤ò¤¦¤Þ¤¯½èÍý¤¹¤ë¤Ë¤Ï¥Ñ¥Ã¥Á¤¬É¬ÍפǤ¹¡£
¤³¤ÎÀ©¸Â¤è¤êÂ礭¤Ê¥Ç¥£¥¹¥¯¤Î¤¤¤¯¤Ä¤«¤Ç¤Ï
33.8GB ¥Ç¥£¥¹¥¯¤Ë¸«¤»¤«¤±¤ë¤¿¤á¤Î¥¸¥ã¥ó¥ÑÀßÄ꤬²Äǽ¤Ê¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£
Î㤨¤Ð¡¢IBM Deskstar 37.5 GB disk (DPTA-353750)
¤È¤¤¤Ã¤¿¤è¤¦¤Ê¤³¤ÎÀ©¸Â¤è¤êÂ礭¤Ê¥Ç¥£¥¹¥¯¤Ï¡¢
33.8 GB ¤Î¥Ç¥£¥¹¥¯¤Ë¸«¤»¤«¤±¤ë¤¿¤á¤Î¥¸¥ã¥ó¥ÑÀßÄ꤬²Äǽ¤Ç¡¢
(ÌõÃí: 2.1 GB ¤Ë¸«¤»¤«¤±¤ë¤³¤È¤Î¤Ç¤­¤ë)
¾¤ÎÂçÍÆÎ̥ǥ£¥¹¥¯¤Î¤è¤¦¤Ë 16383/16/63 ¤È¤¤¤¦¥¸¥ª¥á¥È¥ê¤òÊó¹ð¤·¤Þ¤¹¤¬¡¢
LBAcapacity ¤Ï (ÌõÃí: 33.8GB ¤ËÁêÅö¤¹¤ë) 66055248 ¤ÈÊó¹ð¤·¤Þ¤¹
(65531/16/63 ¤ä 4111/255/63 ¤ËÁêÅö¤·¤Þ¤¹)¡£
33.8GB ¤Ë¸«¤»¤«¤±¤ë¤¿¤á¤Î¥¸¥ã¥ó¥ÑÀßÄê¤ò¤·¤¿¤³¤ì¤é¤Î¥Ç¥£¥¹¥¯¤â¤Þ¤¿¡¢
Linux ¤Î²¼¤Ç¤¹¤Ù¤Æ¤ÎÍÆÎ̤òÍøÍѤ¹¤ë¤¿¤á¤Ë¥Ö¡¼¥È¥Ñ¥é¥á¡¼¥¿¤òɬÍפȤ·¤Þ¤¹¡£
<A HREF="http://www.storage.ibm.com/techsup/hddtech/bios338gb.htm">the BIOS 33.8 GB limit</A>
¤â»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
<P>
<HR>
<A HREF="Large-Disk-HOWTO-12.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Large-Disk-HOWTO-10.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Large-Disk-HOWTO.html#toc11">Ìܼ¡¤Ø</A>
</BODY>
</HTML>