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

Bug#742392: hurd: Hang during apt-get upgrade from last image release



Hello,

Downgrading my host kernel to 3.2 allowed me to reproduce the issue, and
bisect the VGA driver changes down to a seemingly odd difference: the
addition of unsigned char attr_mode; in the vga_state structure. Yes,
that is what makes qemu completely hang with hwaccel on linux kernel
3.2. Putting some padding after that, i.e. unsigned char attr_mode,
pad1, pad2, pad3; gets rid of the issue.

My guess is that the additional byte unaligns videomem and fontmem, and
then the memcpies between VGA memory and main RAM are unaligned, thus
using some other code, which perhaps wasn't properly emulated by linux
3.2.

Peter, could you try to put
http://dept-info.labri.fr/~thibault/tmp/vga.so.0.3
into /usr/lib/hurd/console/ and start your Hurd console?  That one does
work for me and on Richard's VMs.

Samuel


Reply to: