Pierre Pronchery | 5 Jan 05:24
Favicon

Patch for KVM86 support on MP kernels

	Hi,

I am probably not knowing what I am doing, but here is my humble attempt
at allowing the framebuffer code to compile (and hopefully work) on MP
machines. I got the inspiration from an earlier unanswered post by Eric
Auge [1], and the current equivalent in OpenBSD [2]. They say there are
probably still problems.

[1] http://mail-index.netbsd.org/netbsd-users/2006/12/01/0000.html
[2] http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/i386/i386/kvm86.c

I did not test that code, nor could 100% check that the code is
otherwise equivalent to the version from OpenBSD.

HTH,
--

-- 
khorben
Index: kvm86.c
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/i386/kvm86.c,v
retrieving revision 1.10
diff -u -r1.10 kvm86.c
--- kvm86.c	26 Dec 2005 19:23:59 -0000	1.10
+++ kvm86.c	5 Jan 2007 04:15:03 -0000
@@ -36,6 +36,7 @@
 #include <sys/proc.h>
 #include <sys/user.h>
 #include <sys/malloc.h>
(Continue reading)

Pierre Pronchery | 5 Jan 20:44
Favicon

Re: Patch for KVM86 support on MP kernels

Pierre Pronchery wrote:
> I am probably not knowing what I am doing, but here is my humble attempt
> at allowing the framebuffer code to compile (and hopefully work) on MP
> machines.
> 
> I did not test that code, nor could 100% check that the code is
> otherwise equivalent to the version from OpenBSD.

So far so good in 640x480 on my IBM T60, with pkgsrc's xorg vesa driver.

NetBSD syn 4.0_BETA2 NetBSD 4.0_BETA2 (GENERIC.MPACPI) #2: Fri Jan  5
05:15:48 CET 2007
khorben <at> syn:/usr/obj/sys/arch/i386/compile/GENERIC.MPACPI i386

HTH,
--

-- 
khorben

Jared D. McNeill | 6 Jan 06:08
Favicon

Re: Patch for KVM86 support on MP kernels

On Fri, 5 Jan 2007, Pierre Pronchery wrote:
> So far so good in 640x480 on my IBM T60, with pkgsrc's xorg vesa driver.

Have you tested this with the vesafb(4) framebuffer console driver as 
well?

Cheers,
Jared

Pierre Pronchery | 7 Jan 14:20
Favicon

Re: Patch for KVM86 support on MP kernels

Jared D. McNeill wrote:
> On Fri, 5 Jan 2007, Pierre Pronchery wrote:
>> So far so good in 640x480 on my IBM T60, with pkgsrc's xorg vesa driver.
> 
> Have you tested this with the vesafb(4) framebuffer console driver as well?

It's already enabled in my configuration:
# VESA framebuffer console
options         KVM86                   # required for vesabios
vesabios*       at vesabiosbus?
vesafb*         at vesabios?
options         VESAFB_WIDTH=640
options         VESAFB_HEIGHT=480
options         VESAFB_DEPTH=8
options         VESAFB_PM               # power management support
wsdisplay*      at vesafb? console ?

and here is what dmesg says:
vesabios0 at mainbus0: version 3.0, (C) 1988-2005, ATI Technologies Inc.
 M54CSP
vesafb0 at vesabios0: VESA frame buffer
vesafb0: fb 640x480x8 @0xd8000000
vesafb0: VBE/PM 1.0 [off]
wsdisplay0 at vesafb0 kbdmux 1: console (fb, vt100 emulation)

HTH,
--

-- 
khorben

(Continue reading)

Eric Auge | 7 Jan 01:06
Favicon

Re: Patch for KVM86 support on MP kernels

Hello,

so far so good, works perfectly on my x60 for now... :)
1024x768 on NetBSD 4.0_BETA2 smp enabled.

thanks,

Regards,
Eric.

Pierre Pronchery wrote:
> 	Hi,
> 
> I am probably not knowing what I am doing, but here is my humble attempt
> at allowing the framebuffer code to compile (and hopefully work) on MP
> machines. I got the inspiration from an earlier unanswered post by Eric
> Auge [1], and the current equivalent in OpenBSD [2]. They say there are
> probably still problems.
> 
> [1] http://mail-index.netbsd.org/netbsd-users/2006/12/01/0000.html
> [2] http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/i386/i386/kvm86.c
> 
> I did not test that code, nor could 100% check that the code is
> otherwise equivalent to the version from OpenBSD.
> 
> HTH,
> 
> 
> ------------------------------------------------------------------------
> 
(Continue reading)


Gmane