Re: Missing bochs_drm module when booting under qemu-system-sparc64

2018-08-31 Thread Mark Cave-Ayland
On 28/08/18 21:46, John Paul Adrian Glaubitz wrote:

> On 8/28/18 9:50 PM, Mark Cave-Ayland wrote:
>> My current guess is that the bochs_drm module is being built but not
>> included in the kernel for the installer. Is it just a case of adding
>> the line "fb-modules-${kernel:Version}" or similar to
>> debian-installer/build/pkg-lists/cdrom/sparc64.cfg in order to get this
>> enabled?
> 
> If the fb-modules package is enabled in the src:linux package for sparc64,
> then yes. But that doesn't seem to be the case, currently, we only have:
> 
> fb-modules-4.17.0-3-686-di (0 bugs: 0, 0, 0, 0)
> fb-modules-4.17.0-3-686-pae-di (0 bugs: 0, 0, 0, 0)
> fb-modules-4.17.0-3-amd64-di (0 bugs: 0, 0, 0, 0)
> fb-modules-4.17.0-3-arm64-di (0 bugs: 0, 0, 0, 0)
> fb-modules-4.17.0-3-armmp-di (0 bugs: 0, 0, 0, 0)
> fb-modules-4.17.0-3-itanium-di (0 bugs: 0, 0, 0, 0)
> fb-modules-4.17.0-3-loongson-3-di (0 bugs: 0, 0, 0, 0)
> fb-modules-4.17.0-3-marvell-di (0 bugs: 0, 0, 0, 0)
> fb-modules-4.17.0-3-parisc64-smp-di (0 bugs: 0, 0, 0, 0)
> fb-modules-4.17.0-3-powerpc-di (0 bugs: 0, 0, 0, 0)
> 
> See: 
> https://salsa.debian.org/kernel-team/linux/blob/master/debian/installer/powerpc/modules/powerpc/fb-modules
> 
> and: 
> https://salsa.debian.org/kernel-team/linux/tree/master/debian/installer/sparc64/modules/sparc64
> 
> You can just create a submit request on salsa.debian.org like this:
> 
> https://salsa.debian.org/kernel-team/linux/merge_requests/43/diffs
> 
> Anyone can create an account on salsa and send pull requests.
> 
> The d-i repo can be found here: 
> https://salsa.debian.org/installer-team/debian-installer

Chatting this over with some debian kernel people on IRC, the suggestion
is that udebs should only be used for the *absolute minimum* drivers
required for an installation, so sparc64 should be using the framebuffer
with vesafb or similar.

Looking at the kernel drivers/video/fbdev/Kconfig:

config FB_VESA
bool "VESA VGA graphics support"
depends on (FB = y) && X86
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT
select FB_BOOT_VESA_SUPPORT
help
  This is the frame buffer device driver for generic VESA 2.0
  compliant graphic cards. The older VESA 1.2 cards are not
supported.
  You will get a boot time penguin logo at no additional cost.
Please
  read . If unsure, say Y.


So does this mean that enabling CONFIG_FB and CONFIG_FB_VESA can only
ever work for x86 platforms? The fact that is uses CFB rather than SYS
suggests that it could maybe work...


ATB,

Mark.



Re: Missing bochs_drm module when booting under qemu-system-sparc64

2018-08-28 Thread John Paul Adrian Glaubitz
On 8/28/18 9:50 PM, Mark Cave-Ayland wrote:
> My current guess is that the bochs_drm module is being built but not
> included in the kernel for the installer. Is it just a case of adding
> the line "fb-modules-${kernel:Version}" or similar to
> debian-installer/build/pkg-lists/cdrom/sparc64.cfg in order to get this
> enabled?

If the fb-modules package is enabled in the src:linux package for sparc64,
then yes. But that doesn't seem to be the case, currently, we only have:

fb-modules-4.17.0-3-686-di (0 bugs: 0, 0, 0, 0)
fb-modules-4.17.0-3-686-pae-di (0 bugs: 0, 0, 0, 0)
fb-modules-4.17.0-3-amd64-di (0 bugs: 0, 0, 0, 0)
fb-modules-4.17.0-3-arm64-di (0 bugs: 0, 0, 0, 0)
fb-modules-4.17.0-3-armmp-di (0 bugs: 0, 0, 0, 0)
fb-modules-4.17.0-3-itanium-di (0 bugs: 0, 0, 0, 0)
fb-modules-4.17.0-3-loongson-3-di (0 bugs: 0, 0, 0, 0)
fb-modules-4.17.0-3-marvell-di (0 bugs: 0, 0, 0, 0)
fb-modules-4.17.0-3-parisc64-smp-di (0 bugs: 0, 0, 0, 0)
fb-modules-4.17.0-3-powerpc-di (0 bugs: 0, 0, 0, 0)

See: 
https://salsa.debian.org/kernel-team/linux/blob/master/debian/installer/powerpc/modules/powerpc/fb-modules

and: 
https://salsa.debian.org/kernel-team/linux/tree/master/debian/installer/sparc64/modules/sparc64

You can just create a submit request on salsa.debian.org like this:

https://salsa.debian.org/kernel-team/linux/merge_requests/43/diffs

Anyone can create an account on salsa and send pull requests.

The d-i repo can be found here: 
https://salsa.debian.org/installer-team/debian-installer

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Missing bochs_drm module when booting under qemu-system-sparc64

2018-08-28 Thread Mark Cave-Ayland
Hi Adrian,

Following on from my patch to fix the bochs_drm module for
qemu-system-sparc64 last year, I've noticed that with your latest ISO
images that the framebuffer freezes after "Bootconsole disabled".

My current guess is that the bochs_drm module is being built but not
included in the kernel for the installer. Is it just a case of adding
the line "fb-modules-${kernel:Version}" or similar to
debian-installer/build/pkg-lists/cdrom/sparc64.cfg in order to get this
enabled?


ATB,

Mark.