From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750716AbWDSNQe (ORCPT ); Wed, 19 Apr 2006 09:16:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750736AbWDSNQe (ORCPT ); Wed, 19 Apr 2006 09:16:34 -0400 Received: from 220-130-178-143.HINET-IP.hinet.net ([220.130.178.143]:36331 "EHLO areca.com.tw") by vger.kernel.org with ESMTP id S1750716AbWDSNQd (ORCPT ); Wed, 19 Apr 2006 09:16:33 -0400 Message-ID: <003301c663b3$6bfcc020$b100a8c0@erich2003> From: "erich" To: "Jens Axboe" Cc: , , "\"Al Viro\"" , "\"Andrew Morton\"" , "\"Randy.Dunlap\"" , "\"Matti Aarnio\"" , , "\"James Bottomley\"" , "\"Chris Caputo\"" References: <007701c653d7$8b8ee670$b100a8c0@erich2003> <004a01c65470$412daaa0$b100a8c0@erich2003> <20060330192057.4bd8c568.akpm@osdl.org> <20060331074237.GH14022@suse.de> <002901c65e33$ceac9e00$b100a8c0@erich2003> <20060419104009.GB614@suse.de> Subject: Re: new Areca driver in 2.6.16-rc6-mm2 appears to be broken Date: Wed, 19 Apr 2006 21:16:05 +0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.3790.2663 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2663 X-OriginalArrivalTime: 19 Apr 2006 13:11:02.0890 (UTC) FILETIME=[B59C84A0:01C663B2] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Dear Jens Axboe, About your request : ****************************************** ** boot with driver MAX_XFER_SECTORS 4096 ****************************************** #mkfs.ext2 /dev/sda1 #mount /dev/sda1 /mnt/sda1 #cp /root/aa /mnt/sda1/ #reboot ****************************************** ** boot with driver MAX_XFER_SECTORS 512 ****************************************** #fsck /dev/sda1 /dev/sda1:clean,............. #mount /dev/sda1 /mnt/sda1 #cp /mnt/sda1/aa /home cp: reading '/mnt/sda1/aa' : input/output error got message : sda1: rw=0, want=...., limit=..... dump Best Regards Erich Chen ----- Original Message ----- From: "Jens Axboe" To: "erich" Cc: ; ""(????????????)??????O"" ; "Al Viro" ; "Andrew Morton" ; "Randy.Dunlap" ; "Matti Aarnio" ; ; "James Bottomley" ; "Chris Caputo" Sent: Wednesday, April 19, 2006 6:40 PM Subject: Re: new Areca driver in 2.6.16-rc6-mm2 appears to be broken > On Wed, Apr 12 2006, erich wrote: >> Dear Jens Axboe, >> >> I had found a big difference of generic_make_request(struct bio *bio) >> got message : sdb1: rw=0, want=...., limit=..... >> >> >> ***************** >> ** TEST 1 >> ***************** >> >> I used "MAX_XFER_SECTORS 4096" driver to do mkfs.ext2 with ARECA RAID >> volume sdb1. >> and copy a big file (900MB) into sdb1. >> If I copy this file from sdb1, the message rw=.... ,want=......, >> limit=...... will appear immediately. >> >> When I reboot the system and used "MAX_XFER_SECTORS 512" driver. >> I copy this big file from sdb1, the message rw=.... ,want=......, >> limit=...... still appear immediately. > > This to me looks like you have a corrupted fs after using the 4k sectors > as the max transfer setting. I would look for a bug in the driver that > could explain this. Or perhaps the hardware. > > Can you try and boot with MAX_XFER_SECTORS at 4096 and run mkfs + copy > big file to the partition. umount, then boot a kernel with > MAX_XFER_SECTORS at 512 and do a full fsck of that partition. > > > -- > Jens Axboe >