Subject: Re: report on debian-9.0-sparc64-NETINST-1.iso
with qemu



I wrote:
> 2) The installed system now boots, either by entering
> 1/vmlinuz initrd=/initrd.img root=/dev/sda2
> at the SILO prompt, or by letting this prompt timeout. However, the boot
> process
> hangs after one minute, after this output:
>
> Starting udev Kernel Device Manager...
> [ OK ] Started udev Kernel Device Manager.
> [ OK ] Found device /dev/ttyS0.
> [ 66.121368] sd 0:0:0:0: Attached scsi generic sg0 type 0
> [ 66.137222] sr 1:0:0:0: Attached scsi generic sg1 type 5
> [ 66.384970] [drm] Initialized drm 1.1.0 20060810
> [ 66.726958] [drm] Found bochs VGA, ID 0xb0c5.
> [ 66.727424] [drm] Framebuffer size 16384 kB @ 0x1ff01000000, mmio @
> 0x1ff02000000.
> [ 66.773438] [TTM] Zone kernel: Available graphics memory: 248620 kiB
> [ 66.774061] [TTM] Initializing pool allocator

The fix for this is to add
-vga none
to the qemu command line.

I first tried variations of kernel parameters (with and without -nographic):
1/vmlinuz initrd=/initrd.img root=/dev/sda2 video=atyfb:[email protected]
1/vmlinuz initrd=/initrd.img root=/dev/sda2 video=sbus:off
1/vmlinuz initrd=/initrd.img root=/dev/sda2 video=atyfb:off
but this had no effect: I could not convince Linux not to use the VGA graphics
card for a frame buffer. So I finally "removed" the graphics card from the
emulated computer.

I think '-nographic' cannot have an effect in such a situation because it
affects only the _presentation_ in the host system of the emulated hardware.
And the guest OS running in the emulated hardware behaves independently of how
it's displayed in the host.

Adrian Glaubitz wrote:
> Did you try -nographic? This should create an emulated serial console device.

The emu...

lated serial console device also exists when I use '-display gtk' instead
of '-nographic'. There's a menu item in the window that allows me to see its
contents.

Bruno



Programming list archiving by: Enterprise Git Hosting