Received: from eggs.gnu.org ([208.118.235.92]:52757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdywF-00036C-2J for qemu-devel@nongnu.org; Thu, 29 Nov 2012 02:53:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdywD-0006gp-8M for qemu-devel@nongnu.org; Thu, 29 Nov 2012 02:53:39 -0500 Received: from nm20.bullet.mail.bf1.yahoo.com ([98.139.212.179]:40225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdywD-0006gd-3f for qemu-devel@nongnu.org; Thu, 29 Nov 2012 02:53:37 -0500 Message-ID: <1354175615.34668.YahooMailClassic@web39403.mail.mud.yahoo.com> Date: Wed, 28 Nov 2012 23:53:35 -0800 (PST) From: Shijesta Victor In-Reply-To: <50B70AE3.7090001@weilnetz.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="908107500-1482875255-1354175615=:34668" Subject: [Qemu-devel] disk errors on loadvm List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --908107500-1482875255-1354175615=:34668 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I am trying to save a snapshot, and later load that. When I give -loadvm on= the commandline, it gives me disk errors. If I then do a loadvm from the m= onitor, it works fine. I also tried to start qemu with -S so that it does n= ot do anything, and then did a loadvm from the monitor - I got the same set= of errors. But a subsequent loadvm from the monitor works without any prob= lems.=A0 The command line I used is: qemu-system-arm -machine vexpress-a9 -m 1024 -n= ographic -net nic -net user -append "console=3DttyAMA0,115200n8 rw root=3D/= dev/mmcblk0p2 rootwait physmap.enabled=3D0" -kernel vmlinuz-3.4.2-3.fc17.ar= mv7hl -initrd initramfs-3.4.2-3.fc17.armv7hl.img -sd new.qcow2.img My qemu version is 1.2.1, I also get same error on 1.1.2 The errors are as follows: SD: CMD25 in a wrong state SD: CMD13 in a wrong state [=A0=A0 96.442672] mmcblk0: error -110 sending status command, retrying^M SD: CMD13 in a wrong state [=A0=A0 96.470039] mmcblk0: error -110 sending status command, retrying^M SD: CMD13 in a wrong state [=A0=A0 96.470585] mmcblk0: error -110 sending status command, aborting^M SD: CMD13 in a wrong state SD: CMD13 in a wrong state SD: CMD13 in a wrong state SD: CMD13 in a wrong state [=A0=A0 96.472772] Buffer I/O error on device mmcblk0p2, logical block 8363= ^M [=A0=A0 96.473237] lost page write due to I/O error on mmcblk0p2^M [=A0=A0 96.476352] JBD2: Detected IO errors while flushing file data on mmc= blk0p2-8^M [=A0=A0 96.477154] Aborting journal on device mmcblk0p2-8.^M [=A0=A0 96.479177] EXT4-fs error (device mmcblk0p2) in ext4_reserve_inode_w= rite:4356: Journal has aborted^M [=A0=A0 96.480681] Buffer I/O error on device mmcblk0p2, logical block 1310= 72^M [=A0=A0 96.481088] lost page write due to I/O error on mmcblk0p2^M [=A0=A0 96.481673] JBD2: Error -5 detected when updating journal superblock= for mmcblk0p2-8 =A0=A0 96.477154] Aborting journal on device mmcblk0p2-8.^M [=A0=A0 96.479177] EXT4-fs error (device mmcblk0p2) in ext4_reserve_inode_w= rite:4356: Journal has aborted^M [=A0=A0 96.480681] Buffer I/O error on device mmcblk0p2, logical block 1310= 72^M [=A0=A0 96.481088] lost page write due to I/O error on mmcblk0p2^M [=A0=A0 96.481673] JBD2: Error -5 detected when updating journal superblock= for mmcblk0p2-8.^M [=A0=A0 96.486142] Buffer I/O error on device mmcblk0p2, logical block 0^M [=A0=A0 96.486531] lost page write due to I/O error on mmcblk0p2^M [=A0=A0 96.487917] EXT4-fs (mmcblk0p2): previous I/O error to superblock de= tected^M [=A0=A0 96.488510] Buffer I/O error on device mmcblk0p2, logical block 0^M [=A0=A0 96.488888] lost page write due to I/O error on mmcblk0p2^M [=A0=A0 96.489414] EXT4-fs error (device mmcblk0p2): ext4_journal_start_sb:= 328: Detected aborted journal^M [=A0=A0 96.489999] EXT4-fs (mmcblk0p2): Remounting filesystem read-only^M [=A0=A0 96.490384] EXT4-fs (mmcblk0p2): previous I/O error to superblock de= tected^M [=A0=A0 96.490929] Buffer I/O error on device mmcblk0p2, logical block 0^M [=A0=A0 96.491302] lost page write due to I/O error on mmcblk0p2^M [=A0=A0 96.975322] mmc0: card 4567 removed^M [=A0=A0 96.982952] journal commit I/O error^M [=A0=A0 96.983237] journal commit I/O error^M [=A0=A0 96.995900] journal commit I/O error^M [=A0=A0 96.996167] journal commit I/O error^M [=A0=A0 96.996408] journal commit I/O error^M [=A0=A0 96.996644] journal commit I/O error^M [=A0=A0 96.996878] journal commit I/O error^M and so on... I use the disk image: http://download.fedoraproject.org/pub/fedora-secondar= y/releases/17/Images/armhfp/Fedora-17-armhfp-vexpress-mmcblk0.img.xz and then converted it to qcow2 format using qemu-img convert. I tried it out on a versatilepb board and it worked fine - no errors. (comm= andline: qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.26-2-versatile = -initrd initrd.img-2.6.26-2-versatile -hda debian_lenny_armel_desktop.qcow2= -append "root=3D/dev/sda1") Thanks a lot! regards, Shijesta --908107500-1482875255-1354175615=:34668 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,
I am trying to save a snapsho= t, and later load that. When I give -loadvm on the commandline, it gives me= disk errors. If I then do a loadvm from the monitor, it works fine. I also= tried to start qemu with -S so that it does not do anything, and then did = a loadvm from the monitor - I got the same set of errors. But a subsequent = loadvm from the monitor works without any problems. 

The comma= nd line I used is: qemu-system-arm -machine vexpress-a9 -m 1024 -nographic = -net nic -net user -append "console=3DttyAMA0,115200n8 rw root=3D/dev/mmcbl= k0p2 rootwait physmap.enabled=3D0" -kernel vmlinuz-3.4.2-3.fc17.armv7hl -in= itrd initramfs-3.4.2-3.fc17.armv7hl.img -sd new.qcow2.img

My qemu version is 1.2.1, I also get same error on 1.1.2

The errors are as follows:
SD: CMD25 in a wrong state
SD: CMD13 in a wrong state
[   96.442672] mmcblk0: error -110 sending status comman= d, retrying^M
SD: CMD13 in = a wrong state
[   96.470039] mmcb= lk0: error -110 sending status command, retrying^M
SD: CMD13 in a wrong state
[   96.470585] mmcblk0: error -110 sendin= g status command, aborting^M
[   96= .473237] lost page write due to I/O error on mmcblk0p2^M
[   96.476352] JBD2: Detected IO er= rors while flushing file data on mmcblk0p2-8^M
[   96.477154] Aborting journal on device mmcblk0p2-8.^= M
[   96.479177] = EXT4-fs error (device mmcblk0p2) in ext4_reserve_inode_write:4356: Journal = has aborted^M
[  = 96.480681] Buffer I/O error on device mmcblk0p2, logical block 131072^M[   96.481088] lost= page write due to I/O error on mmcblk0p2^M
[   96.481673] JBD2: Error -5 detected when upda= ting journal superblock for mmcblk0p2-8
   96.477154] Aborting journal on device mmcblk0p2-8= .^M
[   96.479177= ] EXT4-fs error (device mmcblk0p2) in ext4_reserve_inode_write:4356: Journa= l has aborted^M
[   96= .480681] Buffer I/O error on device mmcblk0p2, logical block 131072^M
[   96.481088] lost pa= ge write due to I/O error on mmcblk0p2^M
[   96.481673] JBD2: Error -5 detected when updatin= g journal superblock for mmcblk0p2-8.^M
[   96.486142] Buffer I/O error on device mmcblk0p2,= logical block 0^M
[ &= nbsp; 96.486531] lost page write due to I/O error on mmcblk0p2^M
[   96.487917] EXT4-fs (m= mcblk0p2): previous I/O error to superblock detected^M
[   96.488510] Buffer I/O error on de= vice mmcblk0p2, logical block 0^M
[   96.488888] lost page write due to I/O error on mmcblk= 0p2^M
[   96.4894= 14] EXT4-fs error (device mmcblk0p2): ext4_journal_start_sb:328: Detected a= borted journal^M
[ &nb= sp; 96.489999] EXT4-fs (mmcblk0p2): Remounting filesystem read-only^M
[   96.490384] EXT4-fs= (mmcblk0p2): previous I/O error to superblock detected^M
[   96.490929] Buffer I/O error on= device mmcblk0p2, logical block 0^M
[   96.491302] lost page write due to I/O error on mmcb= lk0p2^M
[   96.97= 5322] mmc0: card 4567 removed^M
[   96.982952] journal commit I/O error^M
[   96.983237] journal commit I/O error^M=
[   96.995900] j= ournal commit I/O error^M
[=    96.996167] journal commit I/O error^M
[   96.996408] journal commit I/O error^M=
[   96.996644] j= ournal commit I/O error^M
[=    96.996878] journal commit I/O error^M
and so on...

I use the disk i= mage: http://download.fedoraproject.org/pub/fedora-secondary/releases/17/Im= ages/armhfp/Fedora-17-armhfp-vexpress-mmcblk0.img.xz
and then converted it to qcow2 format using qemu-= img convert.

I tried it out on a versatilepb board and i= t worked fine - no errors. (commandline: qemu-system-arm -M versatilepb -ke= rnel vmlinuz-2.6.26-2-versatile -initrd initrd.img-2.6.26-2-versatile -hda = debian_lenny_armel_desktop.qcow2 -append "root=3D/dev/sda1")

Thanks a lot!

regards,
Shijesta
--908107500-1482875255-1354175615=:34668--