Skip to contentSkip to conversation

no output on console when using 2.6.39 as dom0-kernel

DISCUSSION Ronny Hegewald 2 participants 3 messages May 29, 2011 – Jun 1, 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

It wasnt mentioned there that upstream has some missing functionality for the console, 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 the output on the screen works 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 11 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

It wasnt mentioned there that upstream has some missing functionality for the console, 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.

Nice!

Quoted 3 lines

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

When you switch consoles do you go to text mode?

Quoted 7 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 

Thank you for finding that commit. Let me stick on the queue.

Quoted 22 lines
	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?

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

#2 lore raw
Quoted 14 lines · you
Quoted 4 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

Quoted 8 lines

It wasnt mentioned there that upstream has some missing functionality for the console, 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.

Quoted 6 lines

Nice!

Quoted 2 lines

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

When you switch consoles do you go to text mode?

Yes, simple 80x25 text-mode.