xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Problems with xen and linux 2.26.32 kernels for dom0
@ 2010-06-16 19:00 Jia Rao
  2010-06-16 19:43 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 5+ messages in thread
From: Jia Rao @ 2010-06-16 19:00 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1476 bytes --]

Hi all,

I used to use xen 3.4.2 and linux 2.6.18-xen kernels for both dom0 and domU,
without any problems.

Recently, I need to try io bandwidth control like dm-ioband in the new
kernel 2.6.32 (dm-ioband has patches for this kernel). It gave me a lot of
problems if I want to upgrade the dom0 to 2.6.32. The following is what I
tried and the errors.


Xen: 3.4.3 (I need to stick with 3.4.x. 3.4.3 is the one that can run pvops)

*First approach:*
I tried to download pvops from the git repository xen/stable-2.6.32.x. The
compilation was OK, but the initrd has a lot missing dependencies. I tried
to use --builtin to claim those missing modules in kernel. However, with the
generated initrd, dom0 can not boot. I got the error: *unable to locate
IOAPIC for GSIx and mount: could not find filesystem: /dev/root*.
I enabled : CONFIG_SYSFS_DEPRECATED=y,  CONFIG_SYSFS_DEPRECATED_V2=y and
tried to use root=/dev/sdax or root=LABEL=/. No luck.

*Second approach:*
Then I switched to the forward ported 2.6.32.13 kernel generated from the
gentoo xen kernel patches.

Still xen 3.4.3. After compilation, dom0 booted successfully. However I
previous domU which has 2.6.18-xen kernels can not boot. It has the same
error: *mount: could not find filesystem: /dev/root
*Do I need to create a initrd for the domU? I didnt need one when dom0 is
2.6.18-xen kernel.
*
*BTW. I dont see a PARAVIRT_GUEST config option in the forward ported 2.6.32
kernel*.

*Any ideas?
Thanks in advance!*
*

[-- Attachment #1.2: Type: text/html, Size: 2088 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems with xen and linux 2.26.32 kernels for dom0
  2010-06-16 19:00 Problems with xen and linux 2.26.32 kernels for dom0 Jia Rao
@ 2010-06-16 19:43 ` Konrad Rzeszutek Wilk
  2010-06-16 21:06   ` Jia Rao
  0 siblings, 1 reply; 5+ messages in thread
From: Konrad Rzeszutek Wilk @ 2010-06-16 19:43 UTC (permalink / raw)
  To: Jia Rao; +Cc: xen-devel

On Wed, Jun 16, 2010 at 03:00:03PM -0400, Jia Rao wrote:
> Hi all,
> 
> I used to use xen 3.4.2 and linux 2.6.18-xen kernels for both dom0 and domU,
> without any problems.
> 
> Recently, I need to try io bandwidth control like dm-ioband in the new
> kernel 2.6.32 (dm-ioband has patches for this kernel). It gave me a lot of
> problems if I want to upgrade the dom0 to 2.6.32. The following is what I
> tried and the errors.
> 
> 
> Xen: 3.4.3 (I need to stick with 3.4.x. 3.4.3 is the one that can run pvops)
> 
> *First approach:*
> I tried to download pvops from the git repository xen/stable-2.6.32.x. The
> compilation was OK, but the initrd has a lot missing dependencies. I tried
> to use --builtin to claim those missing modules in kernel. However, with the
> generated initrd, dom0 can not boot. I got the error: *unable to locate
> IOAPIC for GSIx and mount: could not find filesystem: /dev/root*.
> I enabled : CONFIG_SYSFS_DEPRECATED=y,  CONFIG_SYSFS_DEPRECATED_V2=y and
> tried to use root=/dev/sdax or root=LABEL=/. No luck.

You did follow the the Wiki:
http://wiki.xensource.com/xenwiki/2.6.18-to-2.6.31-and-higher

and made sure you had the right SATA drivers compiled in? They changed
their names from .18 to .31-and-higher
> 
> *Second approach:*
> Then I switched to the forward ported 2.6.32.13 kernel generated from the
> gentoo xen kernel patches.
> 
> Still xen 3.4.3. After compilation, dom0 booted successfully. However I
> previous domU which has 2.6.18-xen kernels can not boot. It has the same
> error: *mount: could not find filesystem: /dev/root
> *Do I need to create a initrd for the domU? I didnt need one when dom0 is
> 2.6.18-xen kernel.

That is perplexing. If you did not change anything in your DomU it
should work as before.
> *
> *BTW. I dont see a PARAVIRT_GUEST config option in the forward ported 2.6.32
> kernel*.

Right. You won't. They are a different type of patches.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems with xen and linux 2.26.32 kernels for dom0
  2010-06-16 19:43 ` Konrad Rzeszutek Wilk
@ 2010-06-16 21:06   ` Jia Rao
  2010-06-17 13:08     ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 5+ messages in thread
From: Jia Rao @ 2010-06-16 21:06 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2426 bytes --]

On Wed, Jun 16, 2010 at 3:43 PM, Konrad Rzeszutek Wilk <
konrad.wilk@oracle.com> wrote:

> On Wed, Jun 16, 2010 at 03:00:03PM -0400, Jia Rao wrote:
> > Hi all,
> >
> > I used to use xen 3.4.2 and linux 2.6.18-xen kernels for both dom0 and
> domU,
> > without any problems.
> >
> > Recently, I need to try io bandwidth control like dm-ioband in the new
> > kernel 2.6.32 (dm-ioband has patches for this kernel). It gave me a lot
> of
> > problems if I want to upgrade the dom0 to 2.6.32. The following is what I
> > tried and the errors.
> >
> >
> > Xen: 3.4.3 (I need to stick with 3.4.x. 3.4.3 is the one that can run
> pvops)
> >
> > *First approach:*
> > I tried to download pvops from the git repository xen/stable-2.6.32.x.
> The
> > compilation was OK, but the initrd has a lot missing dependencies. I
> tried
> > to use --builtin to claim those missing modules in kernel. However, with
> the
> > generated initrd, dom0 can not boot. I got the error: *unable to locate
> > IOAPIC for GSIx and mount: could not find filesystem: /dev/root*.
> > I enabled : CONFIG_SYSFS_DEPRECATED=y,  CONFIG_SYSFS_DEPRECATED_V2=y and
> > tried to use root=/dev/sdax or root=LABEL=/. No luck.
>
> You did follow the the Wiki:
> http://wiki.xensource.com/xenwiki/2.6.18-to-2.6.31-and-higher
>
> and made sure you had the right SATA drivers compiled in? They changed
> their names from .18 to .31-and-higher
> >
>

I tried the script with the pvops, the dom0 still cannt boot. How can I
check if other modules have changed the name besides ata_piix ?


> > *Second approach:*
> > Then I switched to the forward ported 2.6.32.13 kernel generated from the
> > gentoo xen kernel patches.
> >
> > Still xen 3.4.3. After compilation, dom0 booted successfully. However I
> > previous domU which has 2.6.18-xen kernels can not boot. It has the same
> > error: *mount: could not find filesystem: /dev/root
> > *Do I need to create a initrd for the domU? I didnt need one when dom0 is
> > 2.6.18-xen kernel.
>
> That is perplexing. If you did not change anything in your DomU it
> should work as before.
>

The same domU booted correctly under an old dom0 which has a 2.6.18.8-xen
kernel. BTW the domU booted using pygrub, so it should work under the new
kernel. It is really strange.

> > *
> > *BTW. I dont see a PARAVIRT_GUEST config option in the forward ported
> 2.6.32
> > kernel*.
>
> Right. You won't. They are a different type of patches.
>

[-- Attachment #1.2: Type: text/html, Size: 3386 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems with xen and linux 2.26.32 kernels for dom0
  2010-06-16 21:06   ` Jia Rao
@ 2010-06-17 13:08     ` Konrad Rzeszutek Wilk
  2010-06-18 15:24       ` Jia Rao
  0 siblings, 1 reply; 5+ messages in thread
From: Konrad Rzeszutek Wilk @ 2010-06-17 13:08 UTC (permalink / raw)
  To: Jia Rao; +Cc: xen-devel

> > > generated initrd, dom0 can not boot. I got the error: *unable to locate
> > > IOAPIC for GSIx and mount: could not find filesystem: /dev/root*.
> > > I enabled : CONFIG_SYSFS_DEPRECATED=y,  CONFIG_SYSFS_DEPRECATED_V2=y and
> > > tried to use root=/dev/sdax or root=LABEL=/. No luck.
> >
> > You did follow the the Wiki:
> > http://wiki.xensource.com/xenwiki/2.6.18-to-2.6.31-and-higher
> >
> > and made sure you had the right SATA drivers compiled in? They changed
> > their names from .18 to .31-and-higher
> > >
> >
> 
> I tried the script with the pvops, the dom0 still cannt boot. How can I
> check if other modules have changed the name besides ata_piix ?


find /sys/class/scsi_host/host*/proc_name | xargs cat

If the name of the module exists in 2.6.32, OK, otherwise use Google.

You did also use the 'new-kernel-package' to insert your new kernel
and/or ran 'mkinitrd' (pre FC12) or 'dracut' (past FC12).

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems with xen and linux 2.26.32 kernels for dom0
  2010-06-17 13:08     ` Konrad Rzeszutek Wilk
@ 2010-06-18 15:24       ` Jia Rao
  0 siblings, 0 replies; 5+ messages in thread
From: Jia Rao @ 2010-06-18 15:24 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1946 bytes --]

Finally the 2.6.32 pvops dom0 booted with xen 4.0. However the xend can not
start.
I believe that is something related to the *evtchn*.
I compile the CONFIG_XEN_DEV_EVTCHN=y in kernel, so i donot need to load it.
When the dom0 booted, I can see there is a entry for evtchn in /dev/xen
along with gntdev.

But when xend starts, the evtchn in /dev/xen disappeared. and xend is not
properly started.
The error log in /var/log/xen/xend.log is the following:

[2010-06-18 10:51:35 4685] INFO (SrvDaemon:332) Xend Daemon started
[2010-06-18 10:51:35 4685] INFO (SrvDaemon:336) Xend changeset: unavailable.
[2010-06-18 10:51:35 4685] ERROR (SrvDaemon:349) Exception starting xend
((111, 'Connection refused'))

I am using a centos 5, which has an old udev. I tried to modified the udev
rules in /etc/udev/rules.d/xen-backend.rules and changed evtchn to
xen-evtchn. No luck.

Any ideas?

Thanks.

On Thu, Jun 17, 2010 at 9:08 AM, Konrad Rzeszutek Wilk <
konrad.wilk@oracle.com> wrote:

> > > > generated initrd, dom0 can not boot. I got the error: *unable to
> locate
> > > > IOAPIC for GSIx and mount: could not find filesystem: /dev/root*.
> > > > I enabled : CONFIG_SYSFS_DEPRECATED=y,  CONFIG_SYSFS_DEPRECATED_V2=y
> and
> > > > tried to use root=/dev/sdax or root=LABEL=/. No luck.
> > >
> > > You did follow the the Wiki:
> > > http://wiki.xensource.com/xenwiki/2.6.18-to-2.6.31-and-higher
> > >
> > > and made sure you had the right SATA drivers compiled in? They changed
> > > their names from .18 to .31-and-higher
> > > >
> > >
> >
> > I tried the script with the pvops, the dom0 still cannt boot. How can I
> > check if other modules have changed the name besides ata_piix ?
>
>
> find /sys/class/scsi_host/host*/proc_name | xargs cat
>
> If the name of the module exists in 2.6.32, OK, otherwise use Google.
>
> You did also use the 'new-kernel-package' to insert your new kernel
> and/or ran 'mkinitrd' (pre FC12) or 'dracut' (past FC12).
>

[-- Attachment #1.2: Type: text/html, Size: 2576 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-18 15:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-16 19:00 Problems with xen and linux 2.26.32 kernels for dom0 Jia Rao
2010-06-16 19:43 ` Konrad Rzeszutek Wilk
2010-06-16 21:06   ` Jia Rao
2010-06-17 13:08     ` Konrad Rzeszutek Wilk
2010-06-18 15:24       ` Jia Rao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).