From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?RnLDqWTDqXJpYyBMZXJveQ==?= Date: Mon, 24 Jun 2013 11:46:46 +0200 Subject: [U-Boot] [PATCH] Fix block device accesses beyond 2TiB In-Reply-To: <20130622173112.27cc3097@lilith> References: <1371208045-4428-1-git-send-email-t-uboot@infra-silbe.de> <201306172226.01044.marex@denx.de> <20130622120756.5c119405@lilith> <51C598A6.8040406@starox.org> <20130622173112.27cc3097@lilith> Message-ID: <51C81586.7010409@starox.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 22/06/2013 17:31, Albert ARIBAUD a ?crit : > Hi Fr?d?ric, > > > However, the patch issues no warning at compile time and fixes the ide > > block layer. > > OK -- anyone has any idea why Sasha's patch fixes reading from "far" > blocks but does not fix ex2ls? Frankly, I'd prefer it if the patch > fixed it all. :) I did a quick look. Ext2 code use "unsigned long" for the partition offset and "int" for sector computation. I will try to fix it, and try to test the other fs ( ext4, xfs, fat). I would see one patch for the ide code, and one or more patch for the fs code. IMHO, Sascha patch can be applied as. Regards, -- Frederic Leroy