Re: 2.4.16: hda9: attempt to access beyond end of device

From: Kristofer T. Karas (ktk@enterprise.bidmc.harvard.edu)
Date: Thu Nov 29 2001 - 17:12:47 EST


On Thursday 29 November 2001 04:58 pm, M G Berberich wrote:
> Partition boundary problem in 2.4.16 ?!
> I just tried to make a mke2fs on my /dev/hda9 and mke2fs with kernel
> 2.4.16 and it failed with a partial write. /var/log/messages says:

I have a similar problem with /dev/sda9. Booting 2.4.11...16 results in a
partition not found error (as reported by fsck). Going back to 2.4.10ac10,
fdisk tells me that the partition ID for sda9 is 0x0000 which is corrupt, and
will be fixed on a write. I do the write, and sda9 is still invisible.

Delete and recreate the partition with the exact same cylinder values, and
the partition comes back, but is unmountable and un-fsck-able.

Examining raw hex data from other partitions, I find that the ext2 label
string (as set with the -L flag to mke2fs) occurs at offset 02160 (octal)
into the raw partition. But on /dev/sda9, it is occurring at 01160 instead -
off by one 512 byte sector. Foo. 2.4.16 has not made my day.

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



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:36 EST