From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31704 invoked by alias); 17 Nov 2006 17:39:10 -0000 Received: (qmail 31694 invoked by uid 22791); 17 Nov 2006 17:39:09 -0000 X-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from owa.dra-inc.net (HELO sdra00198.intranet.dra-inc.net) (64.56.98.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 17 Nov 2006 17:39:03 +0000 Received: from [192.168.1.198] ([192.168.1.198]) by sdra00198.intranet.dra-inc.net with Microsoft SMTPSVC(6.0.3790.1830); Fri, 17 Nov 2006 12:39:13 -0500 Message-ID: <455DF3B0.9070102@dramail.com> Date: Fri, 17 Nov 2006 17:39:00 -0000 From: Donald Walton User-Agent: Thunderbird 1.5.0.7 (X11/20060920) MIME-Version: 1.0 To: ecos-maintainers@ecos.sourceware.org Subject: Possible error in IDE code..... Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Nov 2006 17:39:13.0500 (UTC) FILETIME=[4BEFC1C0:01C70A6F] Mailing-List: contact ecos-maintainers-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: ecos-maintainers-owner@ecos.sourceware.org X-SW-Source: 2006-11/txt/msg00002.txt.bz2 In adding IDE support to my application, the software was not able to read the MBR properly. It would read one byte and the rest of the buffer would be zeroes. I tracked the problem to file - ide_disk.c, version 1.3, function - ide_read_sector. One of the parameters passed in is len. It unclear whether this is the buffer length or number of sectors to be read. However, a value of 1 is passed in for the length and only one byte is read. Correcting the problem is not a big deal but I would like to know whether you meant for the length to be sector count or byte count. Thanks for the great work you have done. Sincerely, Don Walton