Skip to contentSkip to conversation

Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)

DISCUSSION Boris Derzhavets 4 participants 22 messages Sep 11, 2009 – Sep 13, 2009

lore
Share & tools
lore
#0 lore raw

The most recent 2.6.31 built via Jeremy's Git Repos loads as vanilla on top of Ubuntu 9.04 Server.

Boris.

--- On Fri, 9/11/09, Konrad Rzeszutek Wilk <[email protected]> wrote:

From: Konrad Rzeszutek Wilk <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server+ Serial Log
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Friday, September 11, 2009, 7:59 AM

Quoted 2 lines · Boris Derzhavets

Thanks Pasi.
Serial log is attached.

OK. What about the boot _without_ Xen?

Quoted 29 lines

Boris

--- On Wed, 9/9/09, Konrad Rzeszutek Wilk <[email protected]> wrote:

From: Konrad Rzeszutek Wilk <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wednesday, September 9, 2009, 4:21 PM

Quoted 9 lines · Boris Derzhavets

Problem with serial console output.

Grub Entry on testing box:-

title Xen 3.5 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8)
     kernel /xen-3.5.gz dom0_mem=1024M loglvl=all guest_loglvl=all com1=19200,8n1 console=com1 module /vmlinuz-2.6.31-rc8 ro root=/dev/sdc2 console=hvc0  earlyprintk=xen module /initrd-2.6.31-rc8.img

Quoted 5 lines

On connected box in text mode:-

# cat /dev/ttyS0 | tee log

I am getting unreadable output

That might be due to baudrate not being set right. Can you use minicom instead (and obviously set the right baudrate).

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

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

#1 lore raw
Quoted 2 lines · Boris Derzhavets

The most recent 2.6.31 built via Jeremy's Git Repos loads as vanilla on top of Ubuntu 9.04 Server.

Boris,

Let me specific. Please boot up without Xen, the kernel that was built on Wed Sep 9 16:02:46 MSD 2009(2.6.31-rc8), and use the serial console.

Using the vanilla kernel does not help me. I need to understand what is different when you boot 2.6.31-rc8 under Xen and without Xen. Comparing it to a 2.6.31 is not helping.

#2 lore raw

Out of ideas how to setup serial console on Ubuntu 9.04 for vanilla kernel.

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro com1=9600,8n1 console=com1 console=ttyS0 initrd  /initrd-2.6.31-rc8.img

doesn't work.

Googling provides outdated information. (RH 7.2, Suse 10.2) It just crashes grub.

Boris.

--- On Fri, 9/11/09, Konrad Rzeszutek Wilk <[email protected]> wrote:

From: Konrad Rzeszutek Wilk <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Friday, September 11, 2009, 9:38 AM

Quoted 2 lines · Boris Derzhavets

The most recent 2.6.31 built via Jeremy's Git Repos loads as vanilla on top of Ubuntu 9.04 Server.

Boris,

Let me specific. Please boot up without Xen, the kernel that was built on Wed Sep 9 16:02:46 MSD 2009(2.6.31-rc8), and use the serial console.

Using the vanilla kernel does not help me. I need to understand what is different when you boot 2.6.31-rc8 under Xen and without Xen. Comparing it to a 2.6.31 is not helping.

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

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

#3 lore raw
Quoted 11 lines · Boris Derzhavets

Out of ideas how to setup serial console on Ubuntu 9.04 for vanilla kernel.

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro com1=9600,8n1 console=com1 console=ttyS0 initrd  /initrd-2.6.31-rc8.img

doesn't work.

Googling provides outdated information. (RH 7.2, Suse 10.2) It just crashes grub.

serial console setup for normal Linux kernel (non-xen):

vmlinuz root=whatever ro console=tty0 console=ttyS0,9600n8

That should work if it's a normal onboard serial port.

If that doesn't work then try with "console=ttyS0,9600", which enables flow control.

Read more here:
http://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-kernel.html

-- Pasi

Quoted 39 lines

Boris.

--- On Fri, 9/11/09, Konrad Rzeszutek Wilk <[email protected]> wrote:

From: Konrad Rzeszutek Wilk <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Friday, September 11, 2009, 9:38 AM

Quoted 2 lines · Boris Derzhavets

The most recent 2.6.31 built via Jeremy's Git Repos loads as vanilla on top of Ubuntu 9.04 Server.

Boris,

Let me specific. Please boot up without Xen, the kernel that was built on Wed Sep 9 16:02:46 MSD 2009(2.6.31-rc8), and use the serial console.

Using the vanilla kernel does not help me. I need to understand what is different when you boot 2.6.31-rc8 under Xen and without Xen. Comparing it to a 2.6.31 is not helping.

_______________________________________________
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

Thanks, Pasi.
I will give it a try at my earliest convenience.

Boris.

--- On Fri, 9/11/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Friday, September 11, 2009, 11:55 AM

Quoted 11 lines · Boris Derzhavets

Out of ideas how to setup serial console on Ubuntu 9.04 for vanilla kernel.

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro com1=9600,8n1 console=com1 console=ttyS0 initrd  /initrd-2.6.31-rc8.img

doesn't work.

Googling provides outdated information. (RH 7.2, Suse 10.2) It just crashes grub.

serial console setup for normal Linux kernel (non-xen):

vmlinuz root=whatever ro console=tty0 console=ttyS0,9600n8

That should work if it's a normal onboard serial port.

If that doesn't work then try with "console=ttyS0,9600", which enables flow control.

Read more here:
http://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-kernel.html

-- Pasi

Quoted 34 lines

Boris.

--- On Fri, 9/11/09, Konrad Rzeszutek Wilk <[email protected]> wrote:

From: Konrad Rzeszutek Wilk <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Friday, September 11, 2009, 9:38 AM

Quoted 2 lines · Boris Derzhavets

The most recent 2.6.31 built via Jeremy's Git Repos loads as vanilla on top of Ubuntu 9.04 Server.

Boris,

Let me specific. Please boot up without Xen, the kernel that was built on Wed Sep 9 16:02:46 MSD 2009(2.6.31-rc8), and use the serial console.

Using the vanilla kernel does not help me. I need to understand what is different when you boot 2.6.31-rc8 under Xen and without Xen. Comparing it to a 2.6.31 is not helping.

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

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

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

#5 lore raw
In reply to Pasi Kärkkäinen

Pasi,

I've tried :-

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro console=tty0 console=ttyS0,9600 initrd  /initrd-2.6.31-rc8.img

and

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro console=tty0 console=ttyS0,9600n8 initrd  /initrd-2.6.31-rc8.img

Both options send output to real console and hangs at the point as under Xen.

Boris.
P.S  Null modem connection is OK . I verified for Xen Serial Grub Entry.

--- On Fri, 9/11/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Friday, September 11, 2009, 11:55 AM

Quoted 11 lines · Boris Derzhavets

Out of ideas how to setup serial console on Ubuntu 9.04 for vanilla kernel.

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro com1=9600,8n1 console=com1 console=ttyS0 initrd  /initrd-2.6.31-rc8.img

doesn't work.

Googling provides outdated information. (RH 7.2, Suse 10.2) It just crashes grub.

serial console setup for normal Linux kernel (non-xen):

vmlinuz root=whatever ro console=tty0 console=ttyS0,9600n8

That should work if it's a normal onboard serial port.

If that doesn't work then try with "console=ttyS0,9600", which enables flow control.

Read more here:
http://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-kernel.html

-- Pasi

Quoted 34 lines

Boris.

--- On Fri, 9/11/09, Konrad Rzeszutek Wilk <[email protected]> wrote:

From: Konrad Rzeszutek Wilk <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Friday, September 11, 2009, 9:38 AM

Quoted 2 lines · Boris Derzhavets

The most recent 2.6.31 built via Jeremy's Git Repos loads as vanilla on top of Ubuntu 9.04 Server.

Boris,

Let me specific. Please boot up without Xen, the kernel that was built on Wed Sep 9 16:02:46 MSD 2009(2.6.31-rc8), and use the serial console.

Using the vanilla kernel does not help me. I need to understand what is different when you boot 2.6.31-rc8 under Xen and without Xen. Comparing it to a 2.6.31 is not helping.

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

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

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

#6 lore raw
Quoted 8 lines · Boris Derzhavets

Pasi,

I've tried :-

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro console=tty0 console=ttyS0,9600 initrd  /initrd-2.6.31-rc8.img

Quoted 8 lines

and

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro console=tty0 console=ttyS0,9600n8 initrd  /initrd-2.6.31-rc8.img

Both options send output to real console and hangs at the point as under Xen.

Can you still ping the machine after that? Does the VGA screen show anything? Can you SSH in it?

#7 lore raw
Quoted 2 lines

Can you still ping the machine after that?
Can you SSH in it?

Booting up stops before DHCP request.
Obviously, no

Quoted 1 line

Does the VGA screen show anything?

Yes , usual console output.
It hangs at the same point as under Xen.
View my old messages

Boris.

--- On Fri, 9/11/09, Konrad Rzeszutek Wilk <[email protected]> wrote:

From: Konrad Rzeszutek Wilk <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Friday, September 11, 2009, 2:04 PM

Quoted 8 lines · Boris Derzhavets

Pasi,

I've tried :-

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro console=tty0 console=ttyS0,9600 initrd  /initrd-2.6.31-rc8.img

Quoted 8 lines

and

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro console=tty0 console=ttyS0,9600n8 initrd  /initrd-2.6.31-rc8.img

Both options send output to real console and hangs at the point as under Xen.

Can you still ping the machine after that? Does the VGA screen show anything? Can you SSH in it?

_______________________________________________
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
In reply to Boris Derzhavets
Quoted 8 lines · Boris Derzhavets

Pasi,

I've tried :-

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro console=tty0 console=ttyS0,9600 initrd  /initrd-2.6.31-rc8.img

Quoted 9 lines

and

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro console=tty0 console=ttyS0,9600n8 initrd  /initrd-2.6.31-rc8.img

Both options send output to real console and hangs at the point as under Xen.

Please post "dmesg | grep ttyS" output from baremetal kernel (non-xen).

Is the serial port onboard (integrated into the motherboard)? or pci addon card?

-- Pasi

Quoted 88 lines

Boris.
P.S  Null modem connection is OK . I verified for Xen Serial Grub Entry.

--- On Fri, 9/11/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Friday, September 11, 2009, 11:55 AM

Quoted 11 lines · Boris Derzhavets

Out of ideas how to setup serial console on Ubuntu 9.04 for vanilla kernel.

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro com1=9600,8n1 console=com1 console=ttyS0 initrd  /initrd-2.6.31-rc8.img

doesn't work.

Googling provides outdated information. (RH 7.2, Suse 10.2) It just crashes grub.

serial console setup for normal Linux kernel (non-xen):

vmlinuz root=whatever ro console=tty0 console=ttyS0,9600n8

That should work if it's a normal onboard serial port.

If that doesn't work then try with "console=ttyS0,9600", which enables flow control.

Read more here:
http://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-kernel.html

-- Pasi

Quoted 34 lines

Boris.

--- On Fri, 9/11/09, Konrad Rzeszutek Wilk <[email protected]> wrote:

From: Konrad Rzeszutek Wilk <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Friday, September 11, 2009, 9:38 AM

Quoted 2 lines · Boris Derzhavets

The most recent 2.6.31 built via Jeremy's Git Repos loads as vanilla on top of Ubuntu 9.04 Server.

Boris,

Let me specific. Please boot up without Xen, the kernel that was built on Wed Sep 9 16:02:46 MSD 2009(2.6.31-rc8), and use the serial console.

Using the vanilla kernel does not help me. I need to understand what is different when you boot 2.6.31-rc8 under Xen and without Xen. Comparing it to a 2.6.31 is not helping.

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

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

#20 lore raw
In reply to Boris Derzhavets

Hi

Are you able to get it working as dom0-patched?

Signature · 11 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore
Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
Email: [email protected]
MSN: [email protected]
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore
Quoted 75 lines · Boris Derzhavets

The most recent 2.6.31 built via Jeremy's Git Repos loads as vanilla on top of Ubuntu 9.04 Server.

Boris.

--- On *Fri, 9/11/09, Konrad Rzeszutek Wilk <[email protected]>*wrote:

From: Konrad Rzeszutek Wilk <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server+ Serial Log
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Friday, September 11, 2009, 7:59 AM

Quoted 2 lines · Boris Derzhavets

Thanks Pasi.
Serial log is attached.

OK. What about the boot _without_ Xen?

Quoted 3 lines

Boris

--- On Wed, 9/9/09, Konrad Rzeszutek Wilk <[email protected]<http://mc/[email protected]>>

Quoted 4 lines · wrote:

From: Konrad Rzeszutek Wilk <[email protected]<http://mc/[email protected]>

Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on

top of Ubuntu 9.04 Server

Quoted 3 lines

To: "Boris Derzhavets" <[email protected]<http://mc/[email protected]>

<[email protected]<http://mc/[email protected]>

Quoted 10 lines

Date: Wednesday, September 9, 2009, 4:21 PM

Quoted 6 lines · Boris Derzhavets

Problem with serial console output.

Grub Entry on testing box:-

title Xen 3.5 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8)

     kernel /xen-3.5.gz dom0_mem=1024M loglvl=all guest_loglvl=all

com1=19200,8n1 console=com1

Quoted 1 line
Quoted 1 line
     module /vmlinuz-2.6.31-rc8 ro root=/dev/sdc2 console=hvc0

earlyprintk=xen

Quoted 9 lines
Quoted 7 lines
     module /initrd-2.6.31-rc8.img

On connected box in text mode:-

# cat /dev/ttyS0 | tee log

I am getting unreadable output

That might be due to baudrate not being set right. Can you use minicom

instead (and obviously

Quoted 10 lines

set the right baudrate).

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

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

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

#9 lore raw
In reply to Pasi Kärkkäinen

For 2.6.31 loaded as vanilla :-

Linux ServerJaunty 2.6.31 #3 SMP Fri Sep 11 02:19:43 CDT 2009 x86_64 GNU/Linux

root@ServerJaunty:~# dmesg | grep ttyS
[   13.811223] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[   13.903839] 00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

It's integrated on board (ASUS P5Q-E) and connected via small cable to output socket.

Boris.

--- On Sat, 9/12/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Saturday, September 12, 2009, 4:44 PM

Quoted 8 lines · Boris Derzhavets

Pasi,

I've tried :-

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro console=tty0 console=ttyS0,9600 initrd  /initrd-2.6.31-rc8.img

Quoted 9 lines

and

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro console=tty0 console=ttyS0,9600n8 initrd  /initrd-2.6.31-rc8.img

Both options send output to real console and hangs at the point as under Xen.

Please post "dmesg | grep ttyS" output from baremetal kernel (non-xen).

Is the serial port onboard (integrated into the motherboard)? or pci addon card?

-- Pasi

Quoted 80 lines

Boris.
P.S  Null modem connection is OK . I verified for Xen Serial Grub Entry.

--- On Fri, 9/11/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Friday, September 11, 2009, 11:55 AM

Quoted 11 lines · Boris Derzhavets

Out of ideas how to setup serial console on Ubuntu 9.04 for vanilla kernel.

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro com1=9600,8n1 console=com1 console=ttyS0 initrd  /initrd-2.6.31-rc8.img

doesn't work.

Googling provides outdated information. (RH 7.2, Suse 10.2) It just crashes grub.

serial console setup for normal Linux kernel (non-xen):

vmlinuz root=whatever ro console=tty0 console=ttyS0,9600n8

That should work if it's a normal onboard serial port.

If that doesn't work then try with "console=ttyS0,9600", which enables flow control.

Read more here:
http://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-kernel.html

-- Pasi

Quoted 34 lines

Boris.

--- On Fri, 9/11/09, Konrad Rzeszutek Wilk <[email protected]> wrote:

From: Konrad Rzeszutek Wilk <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Friday, September 11, 2009, 9:38 AM

Quoted 2 lines · Boris Derzhavets

The most recent 2.6.31 built via Jeremy's Git Repos loads as vanilla on top of Ubuntu 9.04 Server.

Boris,

Let me specific. Please boot up without Xen, the kernel that was built on Wed Sep 9 16:02:46 MSD 2009(2.6.31-rc8), and use the serial console.

Using the vanilla kernel does not help me. I need to understand what is different when you boot 2.6.31-rc8 under Xen and without Xen. Comparing it to a 2.6.31 is not helping.

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

Quoted 5 lines


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

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

#21 lore raw
In reply to Mr. Teo En Ming (Zhang Enming)

If you mean as  Xen Dom0 enabled under Xen 3.4.1, then 2.6.31 works fine on F11,F12,Ubuntu 9.04 Server.

Boris.

--- On Sat, 9/12/09, Mr. Teo En Ming (Zhang Enming) <[email protected]> wrote:

From: Mr. Teo En Ming (Zhang Enming) <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Saturday, September 12, 2009, 7:54 PM

Hi

Are you able to get it working as dom0-patched?

Signature · 12 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore

Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
Email: [email protected]
MSN: [email protected]

Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore

On Fri, Sep 11, 2009 at 8:56 PM, Boris Derzhavets <[email protected]> wrote:

The most recent 2.6.31 built via Jeremy's Git Repos loads as vanilla on top of Ubuntu 9.04 Server.

Boris.

--- On Fri, 9/11/09, Konrad Rzeszutek Wilk <[email protected]> wrote:

From: Konrad Rzeszutek Wilk <[email protected]>

Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server+ Serial Log
To: "Boris Derzhavets" <[email protected]>

Date: Friday, September 11, 2009, 7:59 AM

Quoted 2 lines · Boris Derzhavets

Thanks Pasi.
Serial log is attached.

OK. What about the boot _without_
Xen?

Quoted 4 lines

Boris

--- On Wed, 9/9/09, Konrad Rzeszutek Wilk <[email protected]> wrote:

Quoted 8 lines

From: Konrad Rzeszutek Wilk <[email protected]>

Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server
To: "Boris Derzhavets" <[email protected]>

Date: Wednesday, September 9,

2009, 4:21 PM

Quoted 15 lines · Boris Derzhavets
Quoted 13 lines

Problem with serial console output.

Grub Entry on testing box:-

title Xen 3.5 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8)

     kernel /xen-3.5.gz dom0_mem=1024M loglvl=all guest_loglvl=all com1=19200,8n1 console=com1 module /vmlinuz-2.6.31-rc8 ro root=/dev/sdc2 console=hvc0  earlyprintk=xen module /initrd-2.6.31-rc8.img

On connected box in text mode:-

Quoted 9 lines
Quoted 3 lines
# cat /dev/ttyS0 | tee log

I am getting unreadable output

That might be due to baudrate not being set right. Can you use minicom instead (and obviously

set the right baudrate).

_______________________________________________

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

_______________________________________________

Xen-devel mailing list

[email protected]

http://lists.xensource.com/xen-devel

-----Inline Attachment Follows-----

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

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

#10 lore raw
In reply to Boris Derzhavets
Quoted 10 lines · Boris Derzhavets

For 2.6.31 loaded as vanilla :-

Linux ServerJaunty 2.6.31 #3 SMP Fri Sep 11 02:19:43 CDT 2009 x86_64 GNU/Linux

root@ServerJaunty:~# dmesg | grep ttyS
[   13.811223] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[   13.903839] 00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

It's integrated on board (ASUS P5Q-E) and connected via small cable to output socket.

Well you could always use "dmesg > dmesg.txt" ..

No need to setup serial console, unless the kernel crashes..

If it crashes, try to use only "console=ttyS0,blah", ie. drop "console=tty0"

-- Pasi

Quoted 128 lines

Boris.

--- On Sat, 9/12/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Saturday, September 12, 2009, 4:44 PM

Quoted 8 lines · Boris Derzhavets

Pasi,

I've tried :-

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro console=tty0 console=ttyS0,9600 initrd  /initrd-2.6.31-rc8.img

Quoted 9 lines

and

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro console=tty0 console=ttyS0,9600n8 initrd  /initrd-2.6.31-rc8.img

Both options send output to real console and hangs at the point as under Xen.

Please post "dmesg | grep ttyS" output from baremetal kernel (non-xen).

Is the serial port onboard (integrated into the motherboard)? or pci addon card?

-- Pasi

Quoted 88 lines

Boris.
P.S  Null modem connection is OK . I verified for Xen Serial Grub Entry.

--- On Fri, 9/11/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Friday, September 11, 2009, 11:55 AM

Quoted 11 lines · Boris Derzhavets

Out of ideas how to setup serial console on Ubuntu 9.04 for vanilla kernel.

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro com1=9600,8n1 console=com1 console=ttyS0 initrd  /initrd-2.6.31-rc8.img

doesn't work.

Googling provides outdated information. (RH 7.2, Suse 10.2) It just crashes grub.

serial console setup for normal Linux kernel (non-xen):

vmlinuz root=whatever ro console=tty0 console=ttyS0,9600n8

That should work if it's a normal onboard serial port.

If that doesn't work then try with "console=ttyS0,9600", which enables flow control.

Read more here:
http://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-kernel.html

-- Pasi

Quoted 34 lines

Boris.

--- On Fri, 9/11/09, Konrad Rzeszutek Wilk <[email protected]> wrote:

From: Konrad Rzeszutek Wilk <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Friday, September 11, 2009, 9:38 AM

Quoted 2 lines · Boris Derzhavets

The most recent 2.6.31 built via Jeremy's Git Repos loads as vanilla on top of Ubuntu 9.04 Server.

Boris,

Let me specific. Please boot up without Xen, the kernel that was built on Wed Sep 9 16:02:46 MSD 2009(2.6.31-rc8), and use the serial console.

Using the vanilla kernel does not help me. I need to understand what is different when you boot 2.6.31-rc8 under Xen and without Xen. Comparing it to a 2.6.31 is not helping.

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

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

#11 lore raw
Quoted 1 line

No need to setup serial console, unless the kernel crashes..

Vanilla 2.6.31-rc8 crashes.

Quoted 1 line

If it crashes, try to use only "console=ttyS0,blah", ie. drop "console=tty0"

Dropped, still no luck.

Xen Serrial Grub entry works fine.

Boris.

--- On Sun, 9/13/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Sunday, September 13, 2009, 5:12 AM

Quoted 10 lines · Boris Derzhavets

For 2.6.31 loaded as vanilla :-

Linux ServerJaunty 2.6.31 #3 SMP Fri Sep 11 02:19:43 CDT 2009 x86_64 GNU/Linux

root@ServerJaunty:~# dmesg | grep ttyS
[   13.811223] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[   13.903839] 00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

It's integrated on board (ASUS P5Q-E) and connected via small cable to output socket.

Well you could always use "dmesg > dmesg.txt" ..

No need to setup serial console, unless the kernel crashes..

If it crashes, try to use only "console=ttyS0,blah", ie. drop "console=tty0"

-- Pasi

Quoted 123 lines

Boris.

--- On Sat, 9/12/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Saturday, September 12, 2009, 4:44 PM

Quoted 8 lines · Boris Derzhavets

Pasi,

I've tried :-

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro console=tty0 console=ttyS0,9600 initrd  /initrd-2.6.31-rc8.img

Quoted 9 lines

and

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro console=tty0 console=ttyS0,9600n8 initrd  /initrd-2.6.31-rc8.img

Both options send output to real console and hangs at the point as under Xen.

Please post "dmesg | grep ttyS" output from baremetal kernel (non-xen).

Is the serial port onboard (integrated into the motherboard)? or pci addon card?

-- Pasi

Quoted 87 lines

Boris.
P.S  Null modem connection is OK . I verified for Xen Serial Grub Entry.

--- On Fri, 9/11/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Friday, September 11, 2009, 11:55 AM

Quoted 11 lines · Boris Derzhavets

Out of ideas how to setup serial console on Ubuntu 9.04 for vanilla kernel.

title vmlinuz-2.6.31-rc8 Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8) kernel  /vmlinuz-2.6.31-rc8  root=/dev/sdc2  ro com1=9600,8n1 console=com1 console=ttyS0 initrd  /initrd-2.6.31-rc8.img

doesn't work.

Googling provides outdated information. (RH 7.2, Suse 10.2) It just crashes grub.

serial console setup for normal Linux kernel (non-xen):

vmlinuz root=whatever ro console=tty0 console=ttyS0,9600n8

That should work if it's a normal onboard serial port.

If that doesn't work then try with "console=ttyS0,9600", which enables flow control.

Read more here:
http://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-kernel.html

-- Pasi

Quoted 34 lines

Boris.

--- On Fri, 9/11/09, Konrad Rzeszutek Wilk <[email protected]> wrote:

From: Konrad Rzeszutek Wilk <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Friday, September 11, 2009, 9:38 AM

Quoted 2 lines · Boris Derzhavets

The most recent 2.6.31 built via Jeremy's Git Repos loads as vanilla on top of Ubuntu 9.04 Server.

Boris,

Let me specific. Please boot up without Xen, the kernel that was built on Wed Sep 9 16:02:46 MSD 2009(2.6.31-rc8), and use the serial console.

Using the vanilla kernel does not help me. I need to understand what is different when you boot 2.6.31-rc8 under Xen and without Xen. Comparing it to a 2.6.31 is not helping.

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

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

Quoted 5 lines
Quoted 1 line

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

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

#12 lore raw
Quoted 2 lines · Boris Derzhavets
Quoted 1 line

No need to setup serial console, unless the kernel crashes..

Vanilla 2.6.31-rc8 crashes.

OK.

Quoted 3 lines
Quoted 1 line

If it crashes, try to use only "console=ttyS0,blah", ie. drop "console=tty0"

Dropped, still no luck.

Hmm.. that's weird.

Can you paste again the grub entry for Xen with serial console?

-- Pasi

Quoted 4 lines

Xen Serrial Grub entry works fine.

Boris.

#13 lore raw

title Xen Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8)
    kernel  /xen-3.4.gz dom0_mem=1024M loglvl=all guest_loglvl=all com1=9600,8n1 console=com1 module  /vmlinuz-2.6.31-rc8   ro root=/dev/sdc2 console=hvc0  earlyprintk=xen module  /initrd-2.6.31-rc8.img

--- On Sun, 9/13/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Sunday, September 13, 2009, 6:41 AM

Quoted 2 lines · Boris Derzhavets
Quoted 1 line

No need to setup serial console, unless the kernel crashes..

Vanilla 2.6.31-rc8 crashes.

OK.

Quoted 3 lines
Quoted 1 line

If it crashes, try to use only "console=ttyS0,blah", ie. drop "console=tty0"

Dropped, still no luck.

Hmm.. that's weird.

Can you paste again the grub entry for Xen with serial console?

-- Pasi

Quoted 4 lines

Xen Serrial Grub entry works fine.

Boris.

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

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

#14 lore raw
Quoted 5 lines · Boris Derzhavets

title Xen Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8)
    kernel  /xen-3.4.gz dom0_mem=1024M loglvl=all guest_loglvl=all com1=9600,8n1 console=com1 module  /vmlinuz-2.6.31-rc8   ro root=/dev/sdc2 console=hvc0  earlyprintk=xen module  /initrd-2.6.31-rc8.img

kernel /vmlinuz-2.6.31-rc8 ro root=/dev/sdc2 console=ttyS0,9600

That should definitely work for baremetal kernel. Does your kernel have serial support built-in?

Are you sure your serial port settings on the other computer are ok? Try using "minicom" and playing with the different flow control settings.. (no flow control / hardware flowcontrol / xon,xoff)

-- Pasi

Quoted 39 lines

--- On Sun, 9/13/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Sunday, September 13, 2009, 6:41 AM

Quoted 2 lines · Boris Derzhavets
Quoted 1 line

No need to setup serial console, unless the kernel crashes..

Vanilla 2.6.31-rc8 crashes.

OK.

Quoted 3 lines
Quoted 1 line

If it crashes, try to use only "console=ttyS0,blah", ie. drop "console=tty0"

Dropped, still no luck.

Hmm.. that's weird.

Can you paste again the grub entry for Xen with serial console?

-- Pasi

Quoted 4 lines

Xen Serrial Grub entry works fine.

Boris.

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

#15 lore raw
Quoted 2 lines

That should definitely work for baremetal kernel. Does your kernel have serial support built-in?

This kernel is not mine.
It was built like any other via Jeremy's Git Repos. Will check serial console enabled via .config.

Thanks
Boris

--- On Sun, 9/13/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Sunday, September 13, 2009, 7:31 AM

Quoted 5 lines · Boris Derzhavets

title Xen Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8)
    kernel  /xen-3.4.gz dom0_mem=1024M loglvl=all guest_loglvl=all com1=9600,8n1 console=com1 module  /vmlinuz-2.6.31-rc8   ro root=/dev/sdc2 console=hvc0  earlyprintk=xen module  /initrd-2.6.31-rc8.img

kernel /vmlinuz-2.6.31-rc8 ro root=/dev/sdc2 console=ttyS0,9600

That should definitely work for baremetal kernel. Does your kernel have serial support built-in?

Are you sure your serial port settings on the other computer are ok? Try using "minicom" and playing with the different flow control settings.. (no flow control / hardware flowcontrol / xon,xoff)

-- Pasi

Quoted 31 lines

--- On Sun, 9/13/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Sunday, September 13, 2009, 6:41 AM

Quoted 2 lines · Boris Derzhavets
Quoted 1 line

No need to setup serial console, unless the kernel crashes..

Vanilla 2.6.31-rc8 crashes.

OK.

Quoted 3 lines
Quoted 1 line

If it crashes, try to use only "console=ttyS0,blah", ie. drop "console=tty0"

Dropped, still no luck.

Hmm.. that's weird.

Can you paste again the grub entry for Xen with serial console?

-- Pasi

Quoted 4 lines

Xen Serrial Grub entry works fine.

Boris.

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

#16 lore raw

Pasi,

Does it look good ?
#
# Serial drivers
#
CONFIG_SERIAL_8250=m
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_SERIAL_8250_PCI=m
CONFIG_SERIAL_8250_PNP=m
CONFIG_SERIAL_8250_CS=m
CONFIG_SERIAL_8250_NR_UARTS=48
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
CONFIG_SERIAL_8250_RSA=y

Boris.

--- On Sun, 9/13/09, Boris Derzhavets <[email protected]> wrote:

From: Boris Derzhavets <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Pasi Kärkkäinen" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Sunday, September 13, 2009, 7:42 AM

Quoted 2 lines

That should definitely work for baremetal kernel. Does your kernel have serial support built-in?

This kernel is not mine.
It was built like any other via Jeremy's Git Repos. Will check serial console enabled via .config.

Thanks
Boris

--- On Sun, 9/13/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Sunday, September 13, 2009, 7:31
AM

Quoted 5 lines · Boris Derzhavets

title Xen Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8)
    kernel  /xen-3.4.gz dom0_mem=1024M loglvl=all guest_loglvl=all com1=9600,8n1 console=com1 module  /vmlinuz-2.6.31-rc8   ro root=/dev/sdc2 console=hvc0  earlyprintk=xen module  /initrd-2.6.31-rc8.img

kernel /vmlinuz-2.6.31-rc8 ro root=/dev/sdc2 console=ttyS0,9600

That should definitely work for baremetal kernel. Does your kernel have serial support built-in?

Are you sure your serial port settings on the other computer are ok? Try using "minicom" and playing with the different flow control settings.. (no flow control / hardware flowcontrol / xon,xoff)

-- Pasi

Quoted 8 lines

--- On Sun, 9/13/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>

Date: Sunday, September 13, 2009, 6:41 AM

Quoted 23 lines · Boris Derzhavets
Quoted 2 lines
Quoted 1 line

No need to setup serial console, unless the kernel crashes..

Vanilla 2.6.31-rc8 crashes.

OK.

Quoted 3 lines
Quoted 1 line

If it crashes, try to use only "console=ttyS0,blah", ie. drop "console=tty0"

Dropped, still no luck.

Hmm.. that's weird.

Can you paste again the grub entry for Xen with serial console?

-- Pasi

Quoted 4 lines

Xen Serrial Grub entry works fine.

Boris.

Quoted 8 lines

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

-----Inline Attachment Follows-----

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

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

#19 lore raw
In reply to Pasi Kärkkäinen

OK, Pasi
I tuned minicom , now it's accepting data from Xen Serial Console just nice.. Still nothing from vanilla kernel 2.6.31-rc8.
I believe kernel has been built improperly. It doesn't send data to /dev/ttyS0.

Boris.

--- On Sun, 9/13/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Sunday, September 13, 2009, 7:31 AM

Quoted 5 lines · Boris Derzhavets

title Xen Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8)
    kernel  /xen-3.4.gz dom0_mem=1024M loglvl=all guest_loglvl=all com1=9600,8n1 console=com1 module  /vmlinuz-2.6.31-rc8   ro root=/dev/sdc2 console=hvc0  earlyprintk=xen module  /initrd-2.6.31-rc8.img

kernel /vmlinuz-2.6.31-rc8 ro root=/dev/sdc2 console=ttyS0,9600

That should definitely work for baremetal kernel. Does your kernel have serial support built-in?

Are you sure your serial port settings on the other computer are ok? Try using "minicom" and playing with the different flow control settings.. (no flow control / hardware flowcontrol / xon,xoff)

-- Pasi

Quoted 31 lines

--- On Sun, 9/13/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Sunday, September 13, 2009, 6:41 AM

Quoted 2 lines · Boris Derzhavets
Quoted 1 line

No need to setup serial console, unless the kernel crashes..

Vanilla 2.6.31-rc8 crashes.

OK.

Quoted 3 lines
Quoted 1 line

If it crashes, try to use only "console=ttyS0,blah", ie. drop "console=tty0"

Dropped, still no luck.

Hmm.. that's weird.

Can you paste again the grub entry for Xen with serial console?

-- Pasi

Quoted 4 lines

Xen Serrial Grub entry works fine.

Boris.

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

#17 lore raw
In reply to Boris Derzhavets
Quoted 3 lines · Boris Derzhavets

Pasi,

Does it look good ?

# grep -i serial /boot/config-2.6.31-2.fc12.i686.PAE |grep '=y'
CONFIG_LIRC_SERIAL_TRANSMITTER=y
CONFIG_SERIAL_NONSTANDARD=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_PCI=y
CONFIG_SERIAL_8250_PNP=y
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_8250_DETECT_IRQ=y
CONFIG_SERIAL_8250_RSA=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_USB_SERIAL_GENERIC=y
CONFIG_USB_SERIAL_SAFE_PADDED=y
CONFIG_KGDB_SERIAL_CONSOLE=y

So you're missing at least:

CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_USB_SERIAL_GENERIC=y

-- Pasi

Quoted 118 lines

#
# Serial drivers
#
CONFIG_SERIAL_8250=m
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_SERIAL_8250_PCI=m
CONFIG_SERIAL_8250_PNP=m
CONFIG_SERIAL_8250_CS=m
CONFIG_SERIAL_8250_NR_UARTS=48
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
CONFIG_SERIAL_8250_RSA=y

Boris.

--- On Sun, 9/13/09, Boris Derzhavets <[email protected]> wrote:

From: Boris Derzhavets <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Pasi Kärkkäinen" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Sunday, September 13, 2009, 7:42 AM

Quoted 2 lines

That should definitely work for baremetal kernel. Does your kernel have serial support built-in?

This kernel is not mine.
It was built like any other via Jeremy's Git Repos. Will check serial console enabled via .config.

Thanks
Boris

--- On Sun, 9/13/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Sunday, September 13, 2009, 7:31
AM

Quoted 5 lines · Boris Derzhavets

title Xen Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8)
    kernel  /xen-3.4.gz dom0_mem=1024M loglvl=all guest_loglvl=all com1=9600,8n1 console=com1 module  /vmlinuz-2.6.31-rc8   ro root=/dev/sdc2 console=hvc0  earlyprintk=xen module  /initrd-2.6.31-rc8.img

kernel /vmlinuz-2.6.31-rc8 ro root=/dev/sdc2 console=ttyS0,9600

That should definitely work for baremetal kernel. Does your kernel have serial support built-in?

Are you sure your serial port settings on the other computer are ok? Try using "minicom" and playing with the different flow control settings.. (no flow control / hardware flowcontrol / xon,xoff)

-- Pasi

Quoted 8 lines

--- On Sun, 9/13/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>

Date: Sunday, September 13, 2009, 6:41 AM

Quoted 23 lines · Boris Derzhavets
Quoted 2 lines
Quoted 1 line

No need to setup serial console, unless the kernel crashes..

Vanilla 2.6.31-rc8 crashes.

OK.

Quoted 3 lines
Quoted 1 line

If it crashes, try to use only "console=ttyS0,blah", ie. drop "console=tty0"

Dropped, still no luck.

Hmm.. that's weird.

Can you paste again the grub entry for Xen with serial console?

-- Pasi

Quoted 4 lines

Xen Serrial Grub entry works fine.

Boris.

Quoted 8 lines

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

-----Inline Attachment Follows-----

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

#18 lore raw

Attempt to bisect to rc8:-

git bisect start
git bisect bad fc26d1b48781ec414899947d227f533c3e3010b9 git bisect good 04106d0439e81780a48db38f5c0ee6c15a1d2f04

doesn't allow me restore .config for Xen Dom0 support.

I am missing something trying to bisect.

Boris.
--- On Sun, 9/13/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Sunday, September 13, 2009, 11:17 AM

Quoted 3 lines · Boris Derzhavets

Pasi,

Does it look good ?

# grep -i serial /boot/config-2.6.31-2.fc12.i686.PAE |grep '=y'
CONFIG_LIRC_SERIAL_TRANSMITTER=y
CONFIG_SERIAL_NONSTANDARD=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_PCI=y
CONFIG_SERIAL_8250_PNP=y
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_8250_DETECT_IRQ=y
CONFIG_SERIAL_8250_RSA=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_USB_SERIAL_GENERIC=y
CONFIG_USB_SERIAL_SAFE_PADDED=y
CONFIG_KGDB_SERIAL_CONSOLE=y

So you're missing at least:

CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_USB_SERIAL_GENERIC=y

-- Pasi

Quoted 110 lines

#
# Serial drivers
#
CONFIG_SERIAL_8250=m
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_SERIAL_8250_PCI=m
CONFIG_SERIAL_8250_PNP=m
CONFIG_SERIAL_8250_CS=m
CONFIG_SERIAL_8250_NR_UARTS=48
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
CONFIG_SERIAL_8250_RSA=y

Boris.

--- On Sun, 9/13/09, Boris Derzhavets <[email protected]> wrote:

From: Boris Derzhavets <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Pasi Kärkkäinen" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Sunday, September 13, 2009, 7:42 AM

Quoted 2 lines

That should definitely work for baremetal kernel. Does your kernel have serial support built-in?

  This kernel is not mine.
It was built like any other via Jeremy's Git Repos. Will check serial console enabled via .config.

Thanks
Boris

--- On Sun, 9/13/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>
Date: Sunday, September 13, 2009, 7:31
  AM

Quoted 5 lines · Boris Derzhavets

title Xen Serial / Ubuntu 9.04 Jaunty (kernel 2.6.31-rc8)
    kernel  /xen-3.4.gz dom0_mem=1024M loglvl=all guest_loglvl=all com1=9600,8n1 console=com1 module  /vmlinuz-2.6.31-rc8   ro root=/dev/sdc2 console=hvc0  earlyprintk=xen module  /initrd-2.6.31-rc8.img

kernel /vmlinuz-2.6.31-rc8 ro root=/dev/sdc2 console=ttyS0,9600

That should definitely work for baremetal kernel. Does your kernel have serial support built-in?

Are you sure your serial port settings on the other computer are ok? Try using "minicom" and playing with the different flow control settings.. (no flow control / hardware flowcontrol / xon,xoff)

-- Pasi

Quoted 8 lines

--- On Sun, 9/13/09, Pasi Kärkkäinen <[email protected]> wrote:

From: Pasi Kärkkäinen <[email protected]>
Subject: Re: [Xen-devel] Attempt to load 2.6.31-rc8 under Xen 3.4.1 on top of Ubuntu 9.04 Server ( JF's 2.6.31 loaded as vanilla)
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Konrad Rzeszutek Wilk" <[email protected]>

  Date: Sunday, September 13, 2009, 6:41 AM

Quoted 23 lines · Boris Derzhavets
Quoted 2 lines
Quoted 1 line

No need to setup serial console, unless the kernel crashes..

Vanilla 2.6.31-rc8 crashes.

OK.

Quoted 3 lines
Quoted 1 line

If it crashes, try to use only "console=ttyS0,blah", ie. drop "console=tty0"

Dropped, still no luck.

Hmm.. that's weird.

Can you paste again the grub entry for Xen with serial console?

-- Pasi

Quoted 4 lines

Xen Serrial Grub entry works fine.

Boris.

Quoted 8 lines

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


-----Inline Attachment Follows-----

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

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