Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 9 Mar 2003 03:30:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 9 Mar 2003 03:30:44 -0500 Received: from hera.cwi.nl ([192.16.191.8]:19442 "EHLO hera.cwi.nl") by vger.kernel.org with ESMTP id ; Sun, 9 Mar 2003 03:30:44 -0500 From: Andries.Brouwer@cwi.nl Date: Sun, 9 Mar 2003 09:41:21 +0100 (MET) Message-Id: To: aebr@win.tue.nl, alan@lxorguk.ukuu.org.uk Subject: Re: ide-problem still with 2.4.21-pre5-ac1 Cc: Andries.Brouwer@cwi.nl, Harald.Schaefer@gls-germany.com, Thomas.Mieslinger@gls-germany.com, davidsen@tmr.com, linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 842 Lines: 23 > why its not honouring PTBL values in his case apparently The disk capacity code foolishly sets heads to 255, and then ide_xlate_1024 decides that we already have chosen a translation, so that it does not have to figure out what translation to use. Andries See: if (xparm == 2) { if (!heads || (drive->bios_head >= heads && drive->bios_sect == 63)) transl = 0; } if (xparm == -1) { if (drive->bios_head > 16) transl = 0; /* we already have a translation */ } - 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/