Skip to contentSkip to conversation

No console with xen-3.2

DISCUSSION Chuck Short 4 participants 22 messages Nov 13, 2007 – Nov 14, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

I installed Xen-3.2 last night and setup the grub.conf and kernel as usual. However, when I rebooted I did not get an console input when booting the dom0. I tried adding the console=vga to my grub.conf as shown below:

title xen-3.2
root (hd0,0)
kernel /boot/xen-3.2.gz console=vga
module /boot/vmlinuz-2.6.18.8 root=UUID=7373696f-c367-4a6a-b198-17e593508cc8 ro console=tty0 module /boot/xen-2.6.18
quiet

I am not sure where to go from here.

Thanks
chuck

#1 lore raw

Do you mean you cannot type input at the vga console, or do you mean there is no output at all? Does output from Xen appear, but not from dom0?

-- Keir

Quoted 24 lines · Chuck Short

Hi,

I installed Xen-3.2 last night and setup the grub.conf and kernel as usual. However, when I rebooted I did not get an console input when booting the dom0. I tried adding the console=vga to my grub.conf as shown below:

title xen-3.2
root (hd0,0)
kernel /boot/xen-3.2.gz console=vga
module /boot/vmlinuz-2.6.18.8 root=UUID=7373696f-c367-4a6a-b198-17e593508cc8 ro console=tty0 module /boot/xen-2.6.18
quiet

I am not sure where to go from here.

Thanks
chuck

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

#2 lore raw

No output at all.

Quoted 35 lines · Keir Fraser

Do you mean you cannot type input at the vga console, or do you mean there is no output at all? Does output from Xen appear, but not from dom0?

-- Keir

Quoted 24 lines · Chuck Short

Hi,

I installed Xen-3.2 last night and setup the grub.conf and kernel as usual. However, when I rebooted I did not get an console input when booting the dom0. I tried adding the console=vga to my grub.conf as shown below:

title xen-3.2
root (hd0,0)
kernel /boot/xen-3.2.gz console=vga
module /boot/vmlinuz-2.6.18.8 root=UUID=7373696f-c367-4a6a-b198-17e593508cc8 ro console=tty0 module /boot/xen-2.6.18
quiet

I am not sure where to go from here.

Thanks
chuck

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

#3 lore raw

Did the system actually boot, just with no console output, or might the system simply have been toast?

Also, from where did you get Xen 3.2? Since it doesn't exist yet, did you pull and build the xen-unstable repo?

-- Keir

Quoted 43 lines · Chuck Short

No output at all.

Quoted 35 lines · Keir Fraser

Do you mean you cannot type input at the vga console, or do you mean there is no output at all? Does output from Xen appear, but not from dom0?

-- Keir

Quoted 24 lines · Chuck Short

Hi,

I installed Xen-3.2 last night and setup the grub.conf and kernel as usual. However, when I rebooted I did not get an console input when booting the dom0. I tried adding the console=vga to my grub.conf as shown below:

title xen-3.2
root (hd0,0)
kernel /boot/xen-3.2.gz console=vga
module /boot/vmlinuz-2.6.18.8 root=UUID=7373696f-c367-4a6a-b198-17e593508cc8 ro console=tty0 module /boot/xen-2.6.18
quiet

I am not sure where to go from here.

Thanks
chuck

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

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

#4 lore raw

Yes it did acutally boot but there was no console output. I meant to say from the xen-unstable repo.

Quoted 57 lines · Keir Fraser

Did the system actually boot, just with no console output, or might the system simply have been toast?

Also, from where did you get Xen 3.2? Since it doesn't exist yet, did you pull and build the xen-unstable repo?

-- Keir

Quoted 43 lines · Chuck Short

No output at all.

Quoted 35 lines · Keir Fraser

Do you mean you cannot type input at the vga console, or do you mean there is no output at all? Does output from Xen appear, but not from dom0?

-- Keir

Quoted 24 lines · Chuck Short

Hi,

I installed Xen-3.2 last night and setup the grub.conf and kernel as usual. However, when I rebooted I did not get an console input when booting the dom0. I tried adding the console=vga to my grub.conf as shown below:

title xen-3.2
root (hd0,0)
kernel /boot/xen-3.2.gz console=vga
module /boot/vmlinuz-2.6.18.8 root=UUID=7373696f-c367-4a6a-b198-17e593508cc8 ro console=tty0 module /boot/xen-2.6.18
quiet

I am not sure where to go from here.

Thanks
chuck

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

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

#5 lore raw

Perhaps try no-real-mode on Xen's command line? I would definitely expect you should get output on the vga display with your current setup.

-- Keir

Quoted 66 lines · Chuck Short

Yes it did acutally boot but there was no console output. I meant to say from the xen-unstable repo.

Quoted 57 lines · Keir Fraser

Did the system actually boot, just with no console output, or might the system simply have been toast?

Also, from where did you get Xen 3.2? Since it doesn't exist yet, did you pull and build the xen-unstable repo?

-- Keir

Quoted 43 lines · Chuck Short

No output at all.

Quoted 35 lines · Keir Fraser

Do you mean you cannot type input at the vga console, or do you mean there is no output at all? Does output from Xen appear, but not from dom0?

-- Keir

Quoted 24 lines · Chuck Short

Hi,

I installed Xen-3.2 last night and setup the grub.conf and kernel as usual. However, when I rebooted I did not get an console input when booting the dom0. I tried adding the console=vga to my grub.conf as shown below:

title xen-3.2
root (hd0,0)
kernel /boot/xen-3.2.gz console=vga
module /boot/vmlinuz-2.6.18.8 root=UUID=7373696f-c367-4a6a-b198-17e593508cc8 ro console=tty0 module /boot/xen-2.6.18
quiet

I am not sure where to go from here.

Thanks
chuck

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

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

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

#6 lore raw

No effect.

Quoted 78 lines · Keir Fraser

Perhaps try no-real-mode on Xen's command line? I would definitely expect you should get output on the vga display with your current setup.

-- Keir

Quoted 66 lines · Chuck Short

Yes it did acutally boot but there was no console output. I meant to say from the xen-unstable repo.

Quoted 57 lines · Keir Fraser

Did the system actually boot, just with no console output, or might the system simply have been toast?

Also, from where did you get Xen 3.2? Since it doesn't exist yet, did you pull and build the xen-unstable repo?

-- Keir

Quoted 43 lines · Chuck Short

No output at all.

Quoted 35 lines · Keir Fraser

Do you mean you cannot type input at the vga console, or do you mean there is no output at all? Does output from Xen appear, but not from dom0?

-- Keir

Quoted 24 lines · Chuck Short

Hi,

I installed Xen-3.2 last night and setup the grub.conf and kernel as usual. However, when I rebooted I did not get an console input when booting the dom0. I tried adding the console=vga to my grub.conf as shown below:

title xen-3.2
root (hd0,0)
kernel /boot/xen-3.2.gz console=vga
module /boot/vmlinuz-2.6.18.8 root=UUID=7373696f-c367-4a6a-b198-17e593508cc8 ro console=tty0 module /boot/xen-2.6.18
quiet

I am not sure where to go from here.

Thanks
chuck

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

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

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

#7 lore raw
In reply to Chuck Short

Are you using the tip of the tree? Could it be a crash? I see it crashing (tip) and only the cursor blinking in the upper left corner.

Stefan

[email protected] wrote on 11/13/2007 10:18:53 AM:

Quoted 4 lines

No output at all.

Quoted 1 line · Keir Fraser

Do you mean you cannot type input at the vga console, or do you mean

there

Quoted 35 lines
Quoted 34 lines

is no output at all? Does output from Xen appear, but not from dom0?

-- Keir

Quoted 24 lines · Chuck Short

Hi,

I installed Xen-3.2 last night and setup the grub.conf and kernel as usual. However, when I rebooted I did not get an console input when booting the dom0. I tried adding the console=vga to my grub.conf as shown below:

title xen-3.2
root (hd0,0)
kernel /boot/xen-3.2.gz console=vga
module /boot/vmlinuz-2.6.18.8 root=UUID=7373696f-c367-4a6a-b198-17e593508cc8 ro console=tty0 module /boot/xen-2.6.18
quiet

I am not sure where to go from here.

Thanks
chuck

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

Quoted 4 lines

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

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

#8 lore raw

correct

Quoted 55 lines · Stefan Berger

Are you using the tip of the tree? Could it be a crash? I see it crashing (tip) and only the cursor blinking in the upper left corner.

Stefan

[email protected] wrote on 11/13/2007 10:18:53 AM:

Quoted 4 lines

No output at all.

Quoted 1 line · Keir Fraser

Do you mean you cannot type input at the vga console, or do you mean

there

Quoted 39 lines
Quoted 34 lines

is no output at all? Does output from Xen appear, but not from dom0?

-- Keir

Quoted 24 lines · Chuck Short

Hi,

I installed Xen-3.2 last night and setup the grub.conf and kernel as usual. However, when I rebooted I did not get an console input when booting the dom0. I tried adding the console=vga to my grub.conf as shown below:

title xen-3.2
root (hd0,0)
kernel /boot/xen-3.2.gz console=vga
module /boot/vmlinuz-2.6.18.8 root=UUID=7373696f-c367-4a6a-b198-17e593508cc8 ro console=tty0 module /boot/xen-2.6.18
quiet

I am not sure where to go from here.

Thanks
chuck

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

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

#9 lore raw
In reply to Stefan Berger
Quoted 3 lines
Quoted 1 line
Quoted 1 line

Stefan Berger <[email protected]> 13.11.07 16:54 >>>

Are you using the tip of the tree? Could it be a crash? I see it crashing (tip) and only the cursor blinking in the upper left corner.

Same to me on one 32-bit system. Two other 32-bit systems and all my 64-bit ones work fine.

Jan

#10 lore raw

Changesets 16215, 16156, 16147 have to be suspected. Could one of you try backing those out one by one (cumulatively, not individually) and see if Xen springs back to life? My fear is that shifting the location of the boot trampoline has screwed us on some boxes. But then again I have no reason to think that 0x8c000 isn't a safe place to stick the trampoline...

Thanks,
Keir

Quoted 14 lines · Jan Beulich
Quoted 3 lines
Quoted 1 line
Quoted 1 line

Stefan Berger <[email protected]> 13.11.07 16:54 >>>

Are you using the tip of the tree? Could it be a crash? I see it crashing (tip) and only the cursor blinking in the upper left corner.

Same to me on one 32-bit system. Two other 32-bit systems and all my 64-bit ones work fine.

Jan

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

#11 lore raw
Quoted 6 lines
Quoted 1 line
Quoted 1 line

Keir Fraser <[email protected]> 13.11.07 17:32 >>>

Changesets 16215, 16156, 16147 have to be suspected. Could one of you try backing those out one by one (cumulatively, not individually) and see if Xen springs back to life? My fear is that shifting the location of the boot trampoline has screwed us on some boxes. But then again I have no reason to think that 0x8c000 isn't a safe place to stick the trampoline...

16215 appears to be innocent - it's sufficiently isolated for reverting alone. The others I'll try tomorrow, unless Stefan beats me.

In any case - setting a video mode works, so the problem is likely on the return path from real mode.

Jan

#12 lore raw

[email protected] wrote on 11/13/2007 12:17:53 PM:

Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line

Keir Fraser <[email protected]> 13.11.07 17:32 >>>

Changesets 16215, 16156, 16147 have to be suspected. Could one of you

try

Quoted 1 line
Quoted 1 line

backing those out one by one (cumulatively, not individually) and see

if Xen

Quoted 2 lines
Quoted 2 lines

springs back to life? My fear is that shifting the location of the boot trampoline has screwed us on some boxes. But then again I have no

reason to

Quoted 3 lines
Quoted 1 line

think that 0x8c000 isn't a safe place to stick the trampoline...

16215 appears to be innocent - it's sufficiently isolated for reverting

alone.

Quoted 1 line

The others I'll try tomorrow, unless Stefan beats me.

So I have tried the following versions and hope I did not do anything wrong on the way:

16146  works
16147  works
16156  works
16215  works
16300  does not work

So, it would take me ld(85) more tries to hopefully find the CS that caused it. Any hints, though?

Stefan

Quoted 2 lines

In any case - setting a video mode works, so the problem is likely on

the

Quoted 9 lines

return path from real mode.

Jan

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

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

#13 lore raw

Oh, you¹re just doing Œhg update <changeset>¹? You could use binary chop in the range 16215-16300. :-) I¹ll have a quick look and see if any changesets are very suspect in that range.... 16287,16266,16259,16249. I think you¹re best off doing a binary chop. It should only take you half a dozen tries.

-- Keir

Quoted 11 lines · Stefan Berger

So I have tried the following versions and hope I did not do anything wrong on the way:

16146  works 
16147  works 
16156  works 
16215  works 
16300  does not work

So, it would take me ld(85) more tries to hopefully find the CS that caused it. Any hints, though?

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

#14 lore raw

[email protected] wrote on 11/13/2007 01:21:12 PM:

Quoted 5 lines

Oh, you?re just doing ?hg update <changeset>?? You could use binary chop in the range 16215-16300. :-) I?ll have a quick look and see if any changesets are very suspect in that range.... 16287,16266,16259, 16249. I think you?re best off doing a binary chop. It should only take you half a dozen tries.

On my machine 16259 causes the crash, 16258 still works.

Stefan

Quoted 14 lines

-- Keir

On 13/11/07 18:14, "Stefan Berger" <[email protected]> wrote:

So I have tried the following versions and hope I did not do anything wrong on the way:

16146  works 
16147  works 
16156  works 
16215  works 
16300  does not work 
Quoted 6 lines

So, it would take me ld(85) more tries to hopefully find the CS that caused it. Any hints, though?
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

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

#15 lore raw

Okay, thanks. To be clear, it crashes for you with no console output at all? Is that over serial line, or on vga? If on vga, is it text mode or vesa lfb (the latter is initialised relatively late in boot)?

-- Keir

Quoted 9 lines · Stefan Berger

[email protected] wrote on 11/13/2007 01:21:12 PM:

Quoted 5 lines
Quoted 5 lines

Oh, you¹re just doing Œhg update <changeset>¹? You could use binary chop in the range 16215-16300. :-) I¹ll have a quick look and see if any changesets are very suspect in that range.... 16287,16266,16259, 16249. I think you¹re best off doing a binary chop. It should only take you half a dozen tries.

Quoted 25 lines

On my machine 16259 causes the crash, 16258 still works.

Stefan

Quoted 20 lines
Quoted 20 lines

-- Keir

On 13/11/07 18:14, "Stefan Berger" <[email protected]> wrote:

So I have tried the following versions and hope I did not do anything wrong on the way:

16146  works 
16147  works 
16156  works 
16215  works 
16300  does not work

So, it would take me ld(85) more tries to hopefully find the CS that caused it. Any hints, though?
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

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

#16 lore raw

Keir Fraser <[email protected]> wrote on 11/13/2007 02:14:01 PM:

Quoted 3 lines

Okay, thanks. To be clear, it crashes for you with no console output at all? Is that over serial line, or on vga? If on vga, is it text mode or vesa lfb (the latter is initialised relatively late in boot)?

This is on VGA output. I haven't checked serial line.
The boot entry in grub.conf has only one parameter for xen and that's dom0_mem=2G -- must be VGA then?

Stefan

Quoted 14 lines

-- Keir

On 13/11/07 19:01, "Stefan Berger" <[email protected]> wrote:

[email protected] wrote on 11/13/2007 01:21:12 PM:

Quoted 5 lines

Oh, you?re just doing ?hg update <changeset>?? You could use binary chop in the range 16215-16300. :-) I?ll have a quick look and see if any changesets are very suspect in that range.... 16287,16266,16259, 16249. I think you?re best off doing a binary chop. It should only take you half a dozen tries.

Quoted 24 lines

On my machine 16259 causes the crash, 16258 still works.

Stefan

Quoted 20 lines

-- Keir

On 13/11/07 18:14, "Stefan Berger" <[email protected]> wrote:

So I have tried the following versions and hope I did not do anything wrong on the way:

16146  works 
16147  works 
16156  works 
16215  works 
16300  does not work 

So, it would take me ld(85) more tries to hopefully find the CS that caused it. Any hints, though?
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

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

#17 lore raw
Quoted 9 lines · Stefan Berger

Keir Fraser <[email protected]> wrote on 11/13/2007 02:14:01 PM:

Quoted 3 lines
Quoted 3 lines

Okay, thanks. To be clear, it crashes for you with no console output at all? Is that over serial line, or on vga? If on vga, is it text mode or vesa lfb (the latter is initialised relatively late in boot)?

This is on VGA output. I haven't checked serial line.
The boot entry in grub.conf has only one parameter for xen and that's dom0_mem=2G -- must be VGA then?

Yes. It should be the Œtraditional¹ crappy lo-res text mode. That gets initialised early.

Oh, I see I put in an unconditional MSR_EFER access early on. Not all systems will have that.... Ooops, will fix.

-- Keir

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

#19 lore raw
Quoted 1 line

Xen-unstable staging c/s 16378.

Thanks. Works for me now.

Stefan

Quoted 5 lines

-- Keir

On 13/11/07 19:33, "Keir Fraser" <[email protected]> wrote:

Quoted 7 lines

Oh, I see I put in an unconditional MSR_EFER access early on. Not all systems will have that.... Ooops, will fix.

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

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

#20 lore raw

Works for me now as well.

Thanks

Quoted 28 lines · Stefan Berger
Quoted 2 lines

Xen-unstable staging c/s 16378.

Thanks. Works for me now.

Stefan

Quoted 6 lines

-- Keir

On 13/11/07 19:33, "Keir Fraser" <[email protected]> wrote:

Quoted 8 lines

Oh, I see I put in an unconditional MSR_EFER access early on. Not all systems will have that.... Ooops, will fix.

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

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

#21 lore raw
In reply to Keir Fraser

Thanks, this fixes it for me, too. Jan

Quoted 1 line
Quoted 1 line
Quoted 1 line

Keir Fraser <[email protected]> 13.11.07 21:12 >>>

Xen-unstable staging c/s 16378.

-- Keir

Quoted 3 lines · Keir Fraser

Oh, I see I put in an unconditional MSR_EFER access early on. Not all systems will have that.... Ooops, will fix.