Re: [Qemu-devel] scsi: lsi problems since "unit attention on reset"

2011-09-26 Thread Jan Kiszka
On 2011-09-26 17:22, Paolo Bonzini wrote: > On 09/26/2011 05:10 PM, Jan Kiszka wrote: >> And you were right: it turned out to be a driver issue. The bug sneaked >> in while adapting the original driver to some specific differences >> between QEMU and real HW (here: lacking compat bit support). > >

Re: [Qemu-devel] scsi: lsi problems since "unit attention on reset"

2011-09-26 Thread Paolo Bonzini
On 09/26/2011 05:10 PM, Jan Kiszka wrote: And you were right: it turned out to be a driver issue. The bug sneaked in while adapting the original driver to some specific differences between QEMU and real HW (here: lacking compat bit support). Cool, then we can leave in the patch I think. I orig

Re: [Qemu-devel] scsi: lsi problems since "unit attention on reset"

2011-09-26 Thread Jan Kiszka
On 2011-09-26 12:26, Jan Kiszka wrote: > On 2011-09-26 11:49, Paolo Bonzini wrote: >> On 09/26/2011 11:23 AM, Jan Kiszka wrote: >>> scsi_req_parsed target 0 lun 0 tag 0 command 0 dir 0 length 0 >>> scsi_req_parsed_lba target 0 lun 0 tag 0 command 0 lba 0 >>> scsi_req_alloc target 0 lun 0 tag 0 >>>

Re: [Qemu-devel] scsi: lsi problems since "unit attention on reset"

2011-09-26 Thread Paolo Bonzini
On 09/26/2011 12:26 PM, Jan Kiszka wrote: scsi_req_parsed target 0 lun 0 tag 0 command 0 dir 0 length 0 scsi_req_parsed_lba target 0 lun 0 tag 0 command 0 lba 0 scsi_req_alloc target 0 lun 0 tag 0 scsi_test_unit_ready target 0 lun 0 tag 0 scsi_req_build_sense target 0 lun 0 tag 0 key 0x6 asc

Re: [Qemu-devel] scsi: lsi problems since "unit attention on reset"

2011-09-26 Thread Jan Kiszka
On 2011-09-26 11:49, Paolo Bonzini wrote: > On 09/26/2011 11:23 AM, Jan Kiszka wrote: >> scsi_req_parsed target 0 lun 0 tag 0 command 0 dir 0 length 0 >> scsi_req_parsed_lba target 0 lun 0 tag 0 command 0 lba 0 >> scsi_req_alloc target 0 lun 0 tag 0 >> scsi_test_unit_ready target 0 lun 0 tag 0 >> s

Re: [Qemu-devel] scsi: lsi problems since "unit attention on reset"

2011-09-26 Thread Paolo Bonzini
On 09/26/2011 11:23 AM, Jan Kiszka wrote: scsi_req_parsed target 0 lun 0 tag 0 command 0 dir 0 length 0 scsi_req_parsed_lba target 0 lun 0 tag 0 command 0 lba 0 scsi_req_alloc target 0 lun 0 tag 0 scsi_test_unit_ready target 0 lun 0 tag 0 scsi_req_build_sense target 0 lun 0 tag 0 key 0x6 asc 0x29

Re: [Qemu-devel] scsi: lsi problems since "unit attention on reset"

2011-09-26 Thread Jan Kiszka
On 2011-09-26 09:50, Paolo Bonzini wrote: > On 09/26/2011 09:27 AM, Jan Kiszka wrote: >> Hi Paolo, >> >> I'm facing problems over latest qemu with our special guest OS that is >> using the LSI controller. It hangs during boot now. This can be resolved >> by reverting commit c7b488721d (scsi: report

Re: [Qemu-devel] scsi: lsi problems since "unit attention on reset"

2011-09-26 Thread Paolo Bonzini
On 09/26/2011 09:27 AM, Jan Kiszka wrote: Hi Paolo, I'm facing problems over latest qemu with our special guest OS that is using the LSI controller. It hangs during boot now. This can be resolved by reverting commit c7b488721d (scsi: report unit attention on reset). I cannot exclude a bug in th

[Qemu-devel] scsi: lsi problems since "unit attention on reset"

2011-09-26 Thread Jan Kiszka
Hi Paolo, I'm facing problems over latest qemu with our special guest OS that is using the LSI controller. It hangs during boot now. This can be resolved by reverting commit c7b488721d (scsi: report unit attention on reset). I cannot exclude a bug in the guest driver at this point, but maybe you