Skip to contentSkip to conversation

no output on console when using 2.6.39 as dom0-kernel

DISCUSSION Ronny Hegewald 3 participants 3 messages May 30, 2011 – May 31, 2011

lore
Share & tools
lore
#0 lore raw

This topic was brought up before for the 2.6.38 kernel one month ago

http://lists.xensource.com/archives/html/xen-devel/2011-04/msg01345.html

In this thread it wasn't mentioned that upstream has some missing functionality for vga-console support (as far i have seen), so i assume that it should work.

First my config: xen 4.1, 2.6.39 upstream linux-kernel, both 32-bit

As soon the dom0-kernel is booting all output is cleared and the screen stays black, but the kernel is booting fine and i can login and start programs etc.

When i start X in the dom0 the output on the screen appears normally. As soon i finish X, the screen turns black again.

I added the following patch to the 2.6.39-er kernel, and the output on the console works fine for me on 32 and 64 bit dom0 kernel (the following patches are from Jeremys xen repository).

	commit 09e5e7caf4eac83c010ec3d209cc3dfbe1444ae0 
	Date:   Mon Feb 9 12:05:54 2009 -0800          
    	xen: allow enable use of VGA console on dom0

There was another patch to make the vga-console work with 32-bit-kernel. But for me it worked without it.

	commit adec49def29110b1748a861c8a2cee785a0d1052
	Date:   Mon Apr 27 13:03:13 2009 -0700                      
    	xen/i386: make sure initial VGA/ISA mappings are not overridden

Or ss the console suppossed to work without this patches?

#1 lore raw
Quoted 16 lines · Ronny Hegewald

This topic was brought up before for the 2.6.38 kernel one month ago

http://lists.xensource.com/archives/html/xen-devel/2011-04/msg01345.html

In this thread it wasn't mentioned that upstream has some missing functionality for vga-console support (as far i have seen), so i assume that it should work.

First my config: xen 4.1, 2.6.39 upstream linux-kernel, both 32-bit

As soon the dom0-kernel is booting all output is cleared and the screen stays black, but the kernel is booting fine and i can login and start programs etc.

When i start X in the dom0 the output on the screen appears normally. As soon i finish X, the screen turns black again.

Quoted 8 lines

I added the following patch to the 2.6.39-er kernel, and the output on the console works fine for me on 32 and 64 bit dom0 kernel (the following patches are from Jeremys xen repository).

	commit 09e5e7caf4eac83c010ec3d209cc3dfbe1444ae0 
	Date:   Mon Feb 9 12:05:54 2009 -0800          
    	xen: allow enable use of VGA console on dom0

It certainly seems likely that this would be required, thanks for tracking it down.

Konrad, will you pick this one up?

Quoted 10 lines

There was another patch to make the vga-console work with 32-bit-kernel. But for me it worked without it.

	commit adec49def29110b1748a861c8a2cee785a0d1052
	Date:   Mon Apr 27 13:03:13 2009 -0700                      
    	xen/i386: make sure initial VGA/ISA mappings are not overridden

Or ss the console suppossed to work without this patches?

Konrad has been reworking the handling of _PAGE_IO recently, it's quite possible this one is no longer relevant.

Ian.

Quoted 9 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
Quoted 5 lines
Quoted 5 lines

I added the following patch to the 2.6.39-er kernel, and the output on the console works fine for me on 32 and 64 bit dom0 kernel (the following patches are from Jeremys xen repository).

Quoted 9 lines
Quoted 3 lines
	commit 09e5e7caf4eac83c010ec3d209cc3dfbe1444ae0 
	Date:   Mon Feb 9 12:05:54 2009 -0800          
    	xen: allow enable use of VGA console on dom0

It certainly seems likely that this would be required, thanks for tracking it down.

Konrad, will you pick this one up?

Yup.