FIX for LILO problem with 2.1.11[67]

Mark Lord (mlord@pobox.com)
Sat, 22 Aug 1998 19:55:37 +0000


This is a multi-part message in MIME format.
--------------CE3D6879D5036CD4C8CD7E4C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Linus,

An oversight from my IDE update in 2.1.116
prevents LILO from working with large non-LBA'd drives.

Here's the fix, for 2.1.118.

-- 
mlord@pobox.com
--------------CE3D6879D5036CD4C8CD7E4C
Content-Type: text/plain; charset=us-ascii;
 name="ide-2.1.117+.pat1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="ide-2.1.117+.pat1"

--- linux/drivers/block/genhd.c.orig Tue Aug 18 21:34:07 1998 +++ linux/drivers/block/genhd.c Sat Aug 22 15:53:48 1998 @@ -421,7 +421,7 @@ && (q->sector & 63) == 1 && (q->end_sector & 63) == 63) { unsigned int heads = q->end_head + 1; - if (heads == 32 || heads == 64 || heads == 128 || heads == 255) { + if (heads == 16 || heads == 32 || heads == 64 || heads == 128 || heads == 255) { (void) ide_xlate_1024(dev, heads, " [PTBL]"); xlate_done = 1;

--------------CE3D6879D5036CD4C8CD7E4C--

- 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