qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] LSI53C895A, IDE HDD detection under SCO OpenServer 5.0.


From: Justin Chevrier
Subject: Re: [Qemu-devel] LSI53C895A, IDE HDD detection under SCO OpenServer 5.0.5
Date: Thu, 6 Nov 2008 05:36:20 -0800 (PST)

> OK, I had a chance to test your patch - correctly, this
> time.
> 
> It gets a lot further into detection but on my 5.0.5 system
> still fails at:
> 
> lsi_scsi: SCRIPTS dsp=f20021ec opcode 88080000 arg f000ff53
> lsi_scsi: Call 0xf000ff53
> lsi_scsi: SCRIPTS dsp=f000ff53 opcode ff0720ff arg ff0720ff
> lsi_scsi: Load reg 0x7 size 7 addr 0x000720ff = 00000000
> lsi_scsi: Write reg 7 = 00
> lsi_scsi: Write reg 8 = 00
> lsi_scsi: Write reg 9 = 00
> lsi_scsi: error: Unhandled writeb 0x9 = 0x0
> 
> ... which looks like execution of a script from la-la land
> to me.
> 
> The dodgy value comes from here, a few operations earlier:
> 
> lsi_scsi: SCRIPTS dsp=f200256c opcode f1dc0004 arg 00000024
> lsi_scsi: Load reg 0xdc size 4 addr 0x00000024 = f000e987
> lsi_scsi: Write reg dc = 87
> lsi_scsi: Write reg dd = e9
> lsi_scsi: Write reg de = 00
> lsi_scsi: Write reg df = f0
> lsi_scsi: SCRIPTS dsp=f2002574 opcode f1640004 arg 00000000
> lsi_scsi: Load reg 0x64 size 4 addr 0x00000000 = f000ff53  
>    <--**--
> lsi_scsi: Write reg 64 = 53
> lsi_scsi: Write reg 65 = ff
> lsi_scsi: Write reg 66 = 00
> lsi_scsi: Write reg 67 = f0
> lsi_scsi: SCRIPTS dsp=f200257c opcode e0640004 arg 0101e080
> lsi_scsi: Store reg 0x64 size 4 addr 0x0101e080
> lsi_scsi: Read reg 64
> lsi_scsi: Read reg 65
> lsi_scsi: Read reg 66
> lsi_scsi: Read reg 67
> 
> 
> That's tested with:
> 
> qemu \
>   -fda
> /archive/cdimages/SCO_5_0_5_LSI53C895A_BTLD_FLOPPY.img \
>   -cdrom /archive/cdimages/SCO_5_0_5.iso \
>   -drive file=/var/VMs/alder/alder.img,if=scsi,bus=0,unit=0
> \
>   -boot d
> 
> where the disk image is a 4GB empty (sparse) file. The
> other two files have md5sums:
> 
> SCO_5_0_5_LSI53C895A_BTLD_FLOPPY.img:
> 22c45122239892fefaf911caa8954bc9
> 
> SCO_5_0_5.iso:
> b2a13770f7e1b46aad4ff601a56f492c
> 
> The boot command line was "defbootstr link=slha".
> At the BTLD prompt
> "<return>28<return>2<return>" is
> entered.

My md5sums match yours.

I used your exact command line and btld options (28 and 2) and it still worked 
on my end. At this point all I can think of is modifications done by Ubuntu, or 
it being qemu 0.9.10. It sounds like you're going to try again with a copy of 
HEAD anyway, hopefully it will work there!

Justin


      




reply via email to

[Prev in Thread] Current Thread [Next in Thread]