WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Trying fbcon in dom1,but take_over_console fails...

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Trying fbcon in dom1,but take_over_console fails...
From: Mark Hurenkamp <mark.hurenkamp@xxxxxxxxx>
Date: Tue, 5 Apr 2005 03:05:36 +0200
Delivery-date: Tue, 05 Apr 2005 00:07:16 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Hoth
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8
Hi,


I've been away for a while, busy with other things, but now I'm back where I 
left off: trying to get X up outside dom0.

Since it has been some time, I have started by getting a recent xen-unstable 
installed on my system, and I must say, it looks really good! It seems very 
stable, and I can use SMP. I have some problems getting X to work with the 
mga driver in domain 0, but it works great with framebuffer driver, so I can 
continue my work for now :-)

So, I'm moving on to trying to get X up in dom1. Unpatched X won't run in dom1 
since Xen console is not true VT. So I decided to give fbcon a try, expecting 
it to crash, but hey, you never know ;-).
Well, it does crash, from the oops it looks like the take_over_console 
function (in linux/drivers/char/vt.c) can not handle the request by fbcon.
Would it be hard to get this to work? Anyone have tips on how I can modify the 
Xen console to pass over control to fbcon so that I have a true framebuffer 
console in my second domain? This would be a great start to getting a X 
server up in dom1.

By the way, I'm running this on a dual-head matrox machine (using G450PCI and 
G550AGP cards), so I'm really trying to get two consoles up here, one for 
each domain. Framebuffer fb0 and fb1 seem to work fine in both domains, 
however most applications that use them require a true VT :-(


Any hints/tips/pointers are welcome!
Mark.


Here´s the oops:
---------------------------------------------------------------
Oops: 0002 [#1]
SMP
Modules linked in: fbcon font bitblit matroxfb_crtc2 matroxfb_base
matroxfb_DAC1064 matroxfb_accel cfbcopyarea cfbimgblt cfbfillrect
matroxfb_g450 g450_pll matroxfb_misc usbcore
CPU:    0
EIP:    0061:[<db90c02a>]    Not tainted VLI
EFLAGS: 00010282   (2.6.11-xen0u1)
EIP is at fbcon_startup+0x15a/0x330 [fbcon]
eax: 00000008   ebx: d8e98000   ecx: 000003e8   edx: d98fad20
esi: d808aba0   edi: d808ac30   ebp: 00000000   esp: d87fbf30
ds: 007b   es: 007b   ss: 0069
Process modprobe (pid: 4613, threadinfo=d87fa000 task=d81b0aa0)
Stack: 00000280 000001e0 00000000 d98ef880 db911dc0 00000000 d87fa000 db911a80
       d87fa000 c021d7d4 00000000 00000000 00000000 0000000e 00000000 00000011
       ffffffff 00000000 d87fa000 08058138 d87fa000 db90b34a db9105c0
       00000000
Call Trace:
[<c021d7d4>] take_over_console+0x44/0x3d0
[<db90b34a>] fbcon_takeover+0x6a/0xb0 [fbcon]
[<d98c4276>] init_module+0x56/0x63 [fbcon]
[<c01354e7>] sys_init_module+0x167/0x200
[<c010981b>] syscall_call+0x7/0xb
Code: 04 85 c9 75 43 80 3d 20 39 91 db 00 0f 84 04 01 00 00
c7 04 24 20 39 91 db e8 e3 cf fe fd 85 c0 89 c2 0f 84 ee 00
00 00 8b 42 08 <89> 45 5c 8b 42 0c 89 45 60 8b 42 10 8b 54
24 10 89 42 04 c7 45
Segmentation fault

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>