Re: Virtual Console

Bart Oldeman
2004-08-26T09:10:30Z

On Thu, 26 Aug 2004, TP Reitzel wrote:

> Here's the latest output from boot.log after running default-configure -d
> and recompiling DOSEmu:

Following the last legit line number (in vga.c) it crashes in
vga_setpage() in svgalib. What's the chipset you configured svgalib to
use? nv3?

IMHO being able to use svgalib+dosemu is sheer luck, and highly hardware
dependent, that's why it's not compiled in by default. You mentioned
though that the only thing you changed was the kernel version right (it
worked on 2.4.x but not 2.6.x?)

In any case you could try $_chipset = "plainvga". No guarantees though,
but if the console runs in text mode (no fbdev) that normally works, at
least for basic VGA graphics mode, and ctrl-alt-fn flipping with other
text consoles.

Personally I use fbdev on the console with an ATI card.
lspci -vv mentions under
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon
Mobility M6 LY (prog-if 00 [VGA])
...
Region 1: I/O ports at c000 [size=256]

Respecting this, using plainvga and
$_console_pci = (on)
$_console_ports = "fast range 0xc000,0xc0ff"
DOSEMU works for me even with fbdev (radeonfb) but vc switching is
completely broken (ie. entering dosemu that way temporarily causes Linux
to be single-tasking ignoring remote connections), so this still not very
nice (I rarely use it, except for comparing bugs in VGAEMU with the real
thing, thus avoiding a reboot).

Anyway, maybe this gives you some ideas about alternatives.

Bart