From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sle6H-0001Pa-RL for qemu-devel@nongnu.org; Mon, 02 Jul 2012 06:43:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sle6C-0004nr-7v for qemu-devel@nongnu.org; Mon, 02 Jul 2012 06:43:25 -0400 Received: from mail-bk0-f45.google.com ([209.85.214.45]:43420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sle6C-0004nS-0y for qemu-devel@nongnu.org; Mon, 02 Jul 2012 06:43:20 -0400 Received: by bkty12 with SMTP id y12so769589bkt.4 for ; Mon, 02 Jul 2012 03:43:17 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <4FE88810.2050902@strawberrycupcak.es> Date: Mon, 2 Jul 2012 11:43:17 +0100 Message-ID: From: Peter Maydell Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] qemu-system-arm I/O problems List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: solar Cc: Paolo Bonzini , qemu-devel@nongnu.org On 29 June 2012 14:45, Peter Maydell wrote: > On 25 June 2012 16:47, solar wrote: >> QEMU emulator version 1.1.0, Copyright (c) 2003-2008 Fabrice Bellard >> >> parameters used: qemu-system-arm -M versatilepb -m 256 -net nic -net >> user,hostfwd=3Dtcp::40022-:22 -nographic -hda debian-6-armel.img -kernel >> vmlinuz-2.6.32-5-versatile -initrd initrd.img-2.6.32-5-versatile -append >> "root=3D/dev/sda1 console=3DttyAMA0" > >> Once apt starts to do disk I/O the kernel throws numerous SCSI errors: >> [ =C2=A0165.292240] sd 0:0:0:0: [sda] Result: hostbyte=3DDID_OK >> driverbyte=3DDRIVER_SENSE >> [ =C2=A0165.292653] sd 0:0:0:0: [sda] Sense Key : Aborted Command [curre= nt] >> [ =C2=A0165.292950] sd 0:0:0:0: [sda] Add. Sense: I/O process terminated >> [ =C2=A0165.293197] sd 0:0:0:0: [sda] CDB: Write(10): 2a 00 01 2d fd 40 = 00 02 a8 >> 00 >> [ =C2=A0165.293573] end_request: I/O error, dev sda, sector 19791168 >> [ =C2=A0165.293772] Buffer I/O error on device sda1, logical block 24736= 40 >> [ =C2=A0165.293900] lost page write due to I/O error on sda1 > > I can reproduce this with v1.1.0, but not with master, which suggests > it has been fixed at some point. I might try to bisect to find out > what exactly the fix was. Bisection suggests commit 425b01487 fixed this, although I am not sure exactly why it would. Paolo? -- PMM