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

From: Andreas Leitgeb
Date: Wed Nov 22 2006 - 05:58:07 EST


On Tue, Nov 21, 2006 at 12:06:14PM +0000, Alan wrote:
> > It would also do that, if I later accessed the last sector
> > (e.g. dd if=/dev/hda ..., or by accessing a file that happens
> > to be stored there per filesystem, if at all possible),
> > not just during the initial GPT-check.
> Only ever seen during the partition check

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.

While I can't tell whether the disk has such a thing,
(The kernel used at partitioning time might have had
GPT enabled. the tool used was either fdisk or cfdisk,
I don't remember exactly, but never use anything else.
It's about 3 years since.)

Turning off GPT in the current kernel obviously
*does not* solve the problem. :-(

Anything else I could do, short of patching ide-disk.c?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/