On 01/25/2012 09:13 PM, Artyom Tarasenko wrote:
On 1/25/12, Paolo Bonzini<pbonz...@redhat.com>  wrote:
On 01/25/2012 05:34 PM, Artyom Tarasenko wrote:
This patch produces the following error when booting Solaris/SPARC:

WARNING: /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000
(esp0):
          data transfer overrun: current esp state:
esp:            State=DATA Last State=DATA_DONE
esp:            Latched stat=0x91<IPND,XZERO,IO>   intr=0x10<BUS>   fifo 0x0
esp:            last msg out: IDENTIFY; last msg in: COMMAND COMPLETE
esp:            DMA csr=0xa4240030<FLSH,INTEN>
esp:            addr=fc005860 dmacnt=0 last=fc005858 last_cnt=8
esp:            Cmd dump for Target 6 Lun 0:
esp:            cdblen=10, cdb=[ 0x46 0x2 0x0 0x0 0x0 0x0 0x0 0x0 0x8 0x0
]
esp:            pkt_state=0xf<XFER,CMD,SEL,ARB>   pkt_flags=0x10000
pkt_statistics=0x0
esp:            cmd_flags=0x462 cmd_timeout=60

Particularly it seems that Solaris is not happy with respose length
8. Any idea, why?

The response length is not 8, it is 40; but Solaris only expected 8 (see the CDB in the error dump).

$ sparc-softmmu/qemu-system-sparc -bios ~/ss5-170.bin -m 32 -nographic
-drive if=scsi,unit=6,media=cdrom,file=~/Solaris9cd1.iso

   From a quick look, it's the same bug that was reported recently on
INQUIRY commands.

If you need I can provide more input.

You can test http://article.gmane.org/gmane.comp.emulators.qemu/133434 if you have time.

Paolo

Reply via email to