qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] qemu-system-arm I/O problems


From: solar
Subject: [Qemu-devel] qemu-system-arm I/O problems
Date: Mon, 25 Jun 2012 08:47:28 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

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=tcp::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=/dev/sda1 console=ttyAMA0"

I am able to reproduce the errors using the Debian 6 image available here - http://people.debian.org/~aurel32/qemu/armel/

Steps to reproduce problem:
apt-get update
apt-get upgrade

Once apt starts to do disk I/O the kernel throws numerous SCSI errors:
[ 165.292240] sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  165.292653] sd 0:0:0:0: [sda] Sense Key : Aborted Command [current]
[  165.292950] sd 0:0:0:0: [sda] Add. Sense: I/O process terminated
[ 165.293197] sd 0:0:0:0: [sda] CDB: Write(10): 2a 00 01 2d fd 40 00 02 a8 00
[  165.293573] end_request: I/O error, dev sda, sector 19791168
[  165.293772] Buffer I/O error on device sda1, logical block 2473640
[  165.293900] lost page write due to I/O error on sda1
[..snip..]
[  246.186503] sd 0:0:0:0: [sda] Unrecognized sense data (in hex):
[  246.186759]         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  246.187041]         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  246.187300] Sense Key : No Sense [current]
[  246.187417] sd 0:0:0:0: [sda] Add. Sense: No additional sense information
[ 246.187871] sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  246.188058] sd 0:0:0:0: [sda] Sense Key : Aborted Command [current]
[  246.188229] sd 0:0:0:0: [sda] Add. Sense: I/O process terminated
[ 246.188388] sd 0:0:0:0: [sda] CDB: Write(10): 2a 00 01 2e 47 b8 00 00 40 00
[  246.188745] end_request: I/O error, dev sda, sector 19810232


and shortly thereafter the SCSI driver causes the system to stall/hang:
[  733.709753] sym0: bad DSA (fc290ff) in done queue.
[  764.353326] sd 0:0:0:0: [sda] ABORT operation started
[  764.353826] scsi target0:0:0: control msgout: 80 20 67 d.
[  764.354187] sd 0:0:0:0: ABORT operation complete.
[  764.355629] sym0: bad DSA (fc290ff) in done queue.
[  795.353232] sd 0:0:0:0: [sda] ABORT operation started
[  795.353374] scsi target0:0:0: control msgout: 80 20 7 d.
[  795.353524] sd 0:0:0:0: ABORT operation complete.
[  795.354438] sym0: bad DSA (fc290ff) in done queue.
[  826.352376] sd 0:0:0:0: [sda] ABORT operation started
[  826.352581] scsi target0:0:0: control msgout: 80 20 17 d.
[  826.352774] sd 0:0:0:0: ABORT operation complete.
[  826.353616] sym0: bad DSA (fc290ff) in done queue.

At this point the system is unrecoverable and I'm forced to perform a hard reset. If there is any other debugging info required just let me know.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]