Skip to contentSkip to conversation

current mainline ide doesn't like qemu/kvm (or vice versa)

DISCUSSION Christoph Hellwig 3 participants 3 messages Feb 8, 2008 libata

lore
Share & tools
lore
#0 lore raw

When trying to put some stress on qemu by running the xfs testsuite I get the following:

debian:~/xfs-cmds/xfstests# sh check 
[  438.166822] SGI XFS with ACLs, security attributes, realtime, large block numbers, no debug enabled
[  438.185557] SGI XFS Quota Management subsystem
[  438.193150] hdb: task_no_data_intr: status=0x41 { DriveReady Error }
[  438.194018] hdb: task_no_data_intr: error=0x04 { DriveStatusError }
[  438.194195] ide: failed opcode was: 0x9d

and after that the kernel seems to hang. Qemu is emulating a piix3 device, and using the piix driver. This is on a pretty old kvm (version
28) because newer ones don't even compile.

#1 lore raw
Quoted 9 lines · On Fri, 8 Feb 2008 16:25:08 +0100 Christoph Hellwig <[email protected]> wrote:

When trying to put some stress on qemu by running the xfs testsuite I get the following:

debian:~/xfs-cmds/xfstests# sh check 
[  438.166822] SGI XFS with ACLs, security attributes, realtime, large block numbers, no debug enabled
[  438.185557] SGI XFS Quota Management subsystem
[  438.193150] hdb: task_no_data_intr: status=0x41 { DriveReady Error }
[  438.194018] hdb: task_no_data_intr: error=0x04 { DriveStatusError }
[  438.194195] ide: failed opcode was: 0x9d

Drive aborted the command. Thats all correct.

Quoted 4 lines

and after that the kernel seems to hang. Qemu is emulating a piix3 device, and using the piix driver. This is on a pretty old kvm (version
28) because newer ones don't even compile.

Old Qemu is not really a credible IDE emulation. The chances are that as with all the libata bugs I close for qemu the problem is qemu. Please file a bug with the qemu people.

#2 lore raw
Quoted 6 lines · Alan Cox
Quoted 3 lines · On Fri, 8 Feb 2008 16:25:08 +0100 Christoph Hellwig <[email protected]> wrote:

When trying to put some stress on qemu by running the xfs testsuite I get the following:

Quoted 10 lines
Quoted 5 lines
debian:~/xfs-cmds/xfstests# sh check [  438.166822] SGI XFS with ACLs, security attributes, realtime, large block numbers, no debug enabled
[  438.185557] SGI XFS Quota Management subsystem
[  438.193150] hdb: task_no_data_intr: status=0x41 { DriveReady Error }
[  438.194018] hdb: task_no_data_intr: error=0x04 { DriveStatusError }
[  438.194195] ide: failed opcode was: 0x9d

Drive aborted the command. Thats all correct.

Quoted 3 lines

and after that the kernel seems to hang. Qemu is emulating a piix3 device, and using the piix driver. This is on a pretty old kvm (version
28) because newer ones don't even compile.

kvm-28 is ancient and there have been IDE emulation fixes since. I am not aware of issues building KVM either. The problems you reported a month ago on kvm-devel have been fixed.

Quoted 3 lines

Old Qemu is not really a credible IDE emulation. The chances are that as with all the libata bugs I close for qemu the problem is qemu. Please file a bug with the qemu people.

Agreed, this is very likely to be a QEMU issue (that may have already been fixed).

Regards,

Anthony Liguori

Quoted 5 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html