Skip to contentSkip to conversation

qemu-system-arm I/O problems

Qemu-devel Peter Maydell 2 participants 3 messages Jul 2, 2012 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): CAFEAcA-VFg2aof96m8Ekz_DrHOgWPiWoeST5-_qd423hB3nh=A@mail.gmail.com

#2 lore raw
Quoted 19 lines · Peter Maydell
Quoted 7 lines · solar

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"

Quoted 10 lines

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

Quoted 3 lines

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

#3 lore raw

Il 02/07/2012 12:43, Peter Maydell ha scritto:

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 10 lines
Quoted 10 lines

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
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

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?

This must be a wrong bisection... perhaps another patch in the same series?

Paolo

#4 lore raw
Quoted 8 lines · Paolo Bonzini

Il 02/07/2012 12:43, Peter Maydell ha scritto:

Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

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?

This must be a wrong bisection...

Hmm, seems to be. I'm not sure I care enough to spend more time trying to track it down since we've apparently fixed whatever it was...

-- PMM