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

Re: booting qemu sparc gives black window



On 18/05/16 11:44, David Griffith wrote:

> On Wed, 18 May 2016, Adrian Davey wrote:
> 
>> On 2016-05-18 11:27, David Griffith wrote:
>>> On Wed, 18 May 2016, Mark Cave-Ayland wrote:
>>>
>>>> On 18/05/16 11:11, David Griffith wrote:
>>>>
>>>>>> Ahhh so it appears that Debian have broken QEMU packages for
>>>>>> qemu-system-sparc :(
>>>>>>
>>>>>> You should be able to grab the binaries directly from QEMU git at
>>>>>> http://git.qemu.org/?p=qemu.git;a=tree;f=pc-bios;h=1cbe7b99f5fd330fab98804444b0d06f0c029b00;hb=a257c741491ff1c3c192d13a89c136dd6401c54d
>>>>>>
>>>>>>
>>>>>> - simply drop both files into /usr/share/qemu manually and see if
>>>>>> that
>>>>>> helps.
>>>>>
>>>>> No change.  Still black.
>>>>
>>>> How strange.
>>>>
>>>> First can you check again with the different display options: -display
>>>> sdl, -display gtk and -display vnc and see if that changes anything? At
>>>> least if anything is wrong and you launch these from a terminal you may
>>>> see some errors on the command line.
>>>>
>>>> Secondly what happens if you remove the -hda part from your command
>>>> line
>>>> and just try booting the ISO?
>>>
>>> Still black.
>>
>> package openbios-sparc adds
>> /usr/share/openbios/QEMU,tcx.bin
>> /usr/share/openbios/openbios-sparc32
>> /usr/share/openbios/openbios-sparc64
>>
>> it could be that qemu is not looking at the correct location, I see
>> only symlinks from /usr/share/qemu/ to /usr/share/openbios for
>> sparc32/64 files.
> 
> Okay.  Now that those video bin files are in the proper place and named
> correctly, the graphical window is showing something normal.  I guess
> the package is mangled.
> 
> Now that that's done, neither "boot 2" nor "boot cdrom" will work.
> 
> ===begin quote===
> Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000  File and args:
> Internal loopback test -- Wrong packet length; expected 36, observed 64
> 
> Can't open boot device
> 
> Type  help  for more information
> ok boot cdrom
> Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@6,0:d  File
> and args:
> 
> Can't open boot device
> 
> ok boot 2
> Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000  File and args: 2
> Internal loopback test -- Wrong packet length; expected 36, observed 64
> 
> Can't open boot device
> 
> ok
> ===end quote===

Excellent! If you drop the -bios ss5.bin from the command line and use
the in-built OpenBIOS ROM then you can use -boot d on the command line -
that really is the easiest option IMO.

Otherwise you need to manually type "boot disk2:d" into the BIOS on
every boot as per
http://tyom.blogspot.co.uk/2009/12/solaris-under-qemu-how-to.html.


ATB,

Mark.


Reply to: