Bugs item #2171940, was opened at 2008-10-16 16:59 Message generated for change (Comment added) made by lvivier You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2171940&group_id=180599
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Technologov (technologov) Assigned to: Nobody/Anonymous (nobody) Summary: SCSI: Windows (XP) Full Format fails to complete on SCSI Initial Comment: Basically "Full Format" fails on SCSI disk. Tested on: KVM 60-x series up to KVM-77 Host: F7/x64, Intel CPU KVM: KVM-77 Guest OS: Windows XP, 32-bit Quick format succeeds and OS can be installed only that way. Since Linux uses quick format, and does not have Full Format capability AFAIK, Linux guests can be installed successfully. Qemu command: /usr/local/bin/qemu-system-x86_64 -m 256 -cdrom /isos/windows/WindowsXP-sp2-vlk.iso -boot d -drive file=/vm/xp-scsi-test.qcow2,if=scsi,boot=on -name WindowsXP-scsi-test -Alexey "Technologov", 16.10.2008. ---------------------------------------------------------------------- Comment By: Laurent Vivier (lvivier) Date: 2008-10-22 13:37 Message: In fact, this issue exists for a long time (it is present in kvm-60...) and has been corrected by commit: commit abd528ea521a17805d0d57e0225299410bf81388 Merge: fa5832c... 497bc3c... Author: Avi Kivity <[EMAIL PROTECTED]> Date: Wed Oct 15 16:41:32 2008 +0200 Merge branch 'qemu-cvs' Conflicts: qemu/Makefile.target qemu/block.c qemu/configure qemu/cpu-all.h qemu/exec.c qemu/gdbstub.c qemu/migration.c qemu/migration.h qemu/monitor.c qemu/sysemu.h qemu/vl.c Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> ---------------------------------------------------------------------- Comment By: Daniel van Vugt (danv) Date: 2008-10-22 05:01 Message: I can't seem to attach files. They have been emailed to lvivier. The summary is: Quick Format: No errors or unknown SCSI commands. Yet the Windows format still fails somehow. Full Format: Lots of: scsi-disk: Unknown SCSI command (2f) scsi-disk: Command complete tag=0x100fd sense=5 scsi-disk: Command: lun=0 tag=0x100fd data=0x2f 0x00 0x00 0x01 0x32 0x3f 0x00 0x00 0x20 0x00 scsi-disk: Unknown SCSI command (2f) scsi-disk: Command complete tag=0x100fd sense=5 scsi-disk: Command: lun=0 tag=0x100fd data=0x2f 0x00 0x00 0x01 0x32 0x3f 0x00 0x00 0x20 0x00 (after which I gave up and didn't bother waiting for it to finish) ---------------------------------------------------------------------- Comment By: Laurent Vivier (lvivier) Date: 2008-10-21 16:30 Message: I'm not able to reproduce this issue. Could you uncomment DEBUG_SCSI in qemu/hw/scsi-disk.c and retest ? ---------------------------------------------------------------------- Comment By: Daniel van Vugt (danv) Date: 2008-10-20 09:28 Message: Confirmed with quick format option too. No debug logs yet. Certainly nothing appears on QEMU stdio. Will try to attach a screenshot at least. Tested: kvm-75 and kvm-77 Host: Intel CPU, Ubuntu 8.04 amd64 Guest: Windows XP, x64 Edition ---------------------------------------------------------------------- Comment By: Marcelo Tosatti (mtosatti) Date: 2008-10-17 23:11 Message: Alexey, Can you provide more details on the failure? Is it a hang, or the Windows SCSI driver complains? Are there error messages on the QEMU stdio? Other than that, the debug output Laurent asked for. >From what I recall full format works (or at least used to) on W2003. Will retest. ---------------------------------------------------------------------- Comment By: Laurent Vivier (lvivier) Date: 2008-10-16 17:36 Message: latest KVM introduces latest qemu. In this release of qemu SCSI commandz return status has been corrected, so unimplemented commands were silently ignored whereas now they return errors. The solution is easy: modify the code to ignore the faulty SCSI command, I did this for instance for VERIFY. Could you activate debug in hw/scsi-disk.c and send me logs ? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2171940&group_id=180599 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html