<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>16000</bug_id>
          
          <creation_ts>2008-06-13 17:57:52 +0400</creation_ts>
          <short_desc>[META] 4k sector hard disk drive support</short_desc>
          <delta_ts>2016-11-01 22:50:59 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>cross-component</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.altlinux.org/BigSector</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>METABUG</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>23014</dependson>
    
    <dependson>23016</dependson>
    
    <dependson>23017</dependson>
    
    <dependson>23020</dependson>
    
    <dependson>23848</dependson>
    
    <dependson>24005</dependson>
    
    <dependson>26925</dependson>
    
    <dependson>32679</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mikhail Gusarov">dottedmag</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          <cc>aen</cc>
    
    <cc>asy</cc>
    
    <cc>evg</cc>
    
    <cc>kharpost</cc>
    
    <cc>lav</cc>
    
    <cc>mike</cc>
    
    <cc>netchv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>72276</commentid>
    <comment_count>0</comment_count>
    <who name="Mikhail Gusarov">dottedmag</who>
    <bug_when>2008-06-13 17:57:52 +0400</bug_when>
    <thetext> </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107043</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2010-02-23 20:35:42 +0300</bug_when>
    <thetext>Метабаг по поддержке жёстких дисков с физическим сектором размером 4096 байт (вместо устоявшихся 512 байт).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109572</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2010-05-31 15:07:04 +0400</bug_when>
    <thetext>Что насчёт того, что выравнивание по границе 4 Кб для секторов проверяется не кратностью S/8, а (S-1)/8, так как нумерация секторов начинается с 1? И второй 4-килобайтный блок на устройстве начинается с 9-го сектора, а не с 8-го.
Исходя из этого все статьи и советы неправильны :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109840</commentid>
    <comment_count>3</comment_count>
    <who name="Valentin Nechayev">netchv</who>
    <bug_when>2010-06-12 12:19:31 +0400</bug_when>
    <thetext>(В ответ на комментарий №2)
&gt; Что насчёт того, что выравнивание по границе 4 Кб для секторов проверяется не
&gt; кратностью S/8, а (S-1)/8, так как нумерация секторов начинается с 1? И второй
&gt; 4-килобайтный блок на устройстве начинается с 9-го сектора, а не с 8-го.
&gt; Исходя из этого все статьи и советы неправильны :)

Извините, о котором именно из номеров секторов идёт речь? Если о LBA (linear block address), то они нумеруются начиная с 0. Если географический (цилиндр:головка:сектор), используемый для старых вызовов BIOS и старого (нерекомендованного уже лет 10) режима SATA, то в нём действительно сектора нумеруются с 1; но в Linux он используется только на самых нижних уровнях и не участвует в адресации начиная с block I/O уровня.

P.S. Мои разборки с проблемой и описание:
http://netch80.livejournal.com/12985.html
в частности, WD15EARS (экземпляр mike@) отказался сообщать данные про своё устройство, но вроде бы более новые исправляют это.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109846</commentid>
    <comment_count>4</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2010-06-12 20:54:07 +0400</bug_when>
    <thetext>(В ответ на комментарий №3)
&gt; Извините, о котором именно из номеров секторов идёт речь? Если о LBA (linear
&gt; block address), то они нумеруются начиная с 0. Если географический
Ах, точно.

&gt; P.S. Мои разборки с проблемой и описание:
&gt; http://netch80.livejournal.com/12985.html
Спасибо.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125345</commentid>
    <comment_count>5</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2011-09-15 21:32:13 +0400</bug_when>
    <thetext>Поставили p6 desktop и все разделы не выровнены. fdisk теперь об этом сразу ругается. Видимо, багу на alterator-vm?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125346</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2011-09-15 21:42:39 +0400</bug_when>
    <thetext>Видимо, переоткрывай bug #23848...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128887</commentid>
    <comment_count>7</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2012-02-13 23:15:13 +0400</bug_when>
    <thetext>(In reply to comment #5)

&gt; Поставили p6 desktop и все разделы не выровнены. fdisk теперь об этом сразу
&gt; ругается. Видимо, багу на alterator-vm?

bug #26925

(In reply to comment #6)

&gt; Видимо, переоткрывай bug #23848...

Что-то так получилось, что новый открыл уже... Может он, и правда, чуть-чуть другой в каком-то месте, если после исправления bug #23848 что-то заработало ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>159674</commentid>
    <comment_count>8</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2016-11-01 22:50:59 +0300</bug_when>
    <thetext>Кажется, все</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>