Re: possible bug in ide-disk.c (2.6.18.2 but also older)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 22, 2006 at 11:57:35AM +0100, Andreas Leitgeb wrote:
> Last evening I got my hands back on that machine,
> checked the kernel-config, and saw that GPT was 
> already *unselected*!
> Actually, the whole "Advanced partition..."-bundle
> was unchecked.

Meanwhile I also found this bugreport (for ubuntu):
  https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/26119
which has quite a few "me,too"s, most of them referring to the 
same (as mine) Seagate 40GB model ST340823A, some others to a 
seagate 20GB model.
And, they are better than me at collecting relevant facts ;-)

Btw., this excerpt:
  hdc: Host Protected Area detected.
          current capacity is 78165360 sectors (40020 MB)
          native  capacity is 78165361 sectors (40020 MB)
  hdc: Host Protected Area disabled.
  hdc: 78165361 sectors (40020 MB) w/1024KiB Cache, CHS=65535/16/63, UDMA(100)
  hdc: cache flushes not supported

looked the same for me those days,  but when retrying lately
with a yet unpatched 2.6.18.3, it reported the current capacity
as 78165359 (one less!) (but the native capacity still 78165361)

After patching away the "addr++;", the logs now say:
  hda: 78165360 sectors (40020 MB) w/512KiB Cache, CHS=65535/16/63, UDMA(100)
and I really got 78165360 sectors according to /proc/ide/hda/capacity.

PS:
Will this turn out as:
  "drive is broken, no kernel workaround will be done, end this thread"
or is a real solution in any way realistic?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux