lkml.org 
[lkml]   [1998]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: IDE mode selection broken in 2.1.11[67]
dbrodsky@cs.ualberta.ca wrote:
..
> The IDE mode selection code in 2.1.11[67] seems to be broken and hence
> also break utilities like lilo and fdisk.
>
> The output for hdparm -i /dev/hda is the same for 2.1.11[167]:
..
> Model=WDC AC33100H, FwRev=12.07H12, SerialNo=WD-WT359
> Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
> RawCHS=6136/16/63, TrkSize=57600, SectSize=600, ECCbytes=22
..
> Aug 20 09:13:06 matisse kernel: hda: [LBA] [767/128/63] hda1 hda2 hda3 hda4
> Aug 20 09:13:06 matisse kernel: hdc: [LBA] hdc1 hdc2 < hdc5 >
>
> Now in my bios the drive hda is set as CHS not LBA.
..

Mmm.. the new kernel defaults to LBA translation in the absence
of any information to the contrary. But there appears to be a line
I missed in genhd.c:

< if (heads == 32 || heads == 64 || heads == 128 || heads == 255) {

Should be changed to look like:

> if (heads == 16 || heads == 32 || heads == 64 || heads == 128 || heads == 255) {

Does this fix the problem for you?
--
mlord@pobox.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.029 / U:0.812 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site