All of lore.kernel.org
 help / color / mirror / Atom feed
* pygrub regression with latest xen-unstable test
@ 2014-09-15 10:29 Fabio Fantoni
  2014-09-15 14:49 ` Ian Campbell
  0 siblings, 1 reply; 9+ messages in thread
From: Fabio Fantoni @ 2014-09-15 10:29 UTC (permalink / raw)
  To: xen-devel

After updating to latest xen-unstable (commit 
7d203b337fb2dcd148d2df850e25b67c792d4d0b) I'm unable to boot an old domU 
with grub 1 cfg.
I not remember the previous unstable build tested that successfull boot 
it, probably is of 1-2 months ago or more.

#boot/grub/menu.lst
title Lenny 2.6.26
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-2-xen-amd64 ro root=/dev/xvda1 console=hvc0 
xencons=tty
initrd /boot/initrd.img-2.6.26-2-xen-amd64

xl create /etc/xen/nagios.cfg
Parsing config from /etc/xen/nagios.cfg
libxl: error: libxl_bootloader.c:630:bootloader_finished: bootloader 
failed - consult logfile /var/log/xen/bootloader.11.log
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader 
[-1] exited with error status 1
libxl: error: libxl_create.c:1133:domcreate_rebuild_done: cannot 
(re-)build domain: -3

#/var/log/xen/bootloader.11.log
Using <class 'grub.GrubConf.GrubConfigFile'> to parse /boot/grub/menu.lst
ESC(BESC)0ESC[1;24rESC[m^OESC[?7hESC[?1hESC=ESC[?1lESC>ESC[24;1H^MESC[?1lESC>Traceback 
(most recent call last):
   File "/usr/lib/xen/bin/pygrub", line 894, in <module>
     raise RuntimeError, "Unable to find partition containing kernel"
RuntimeError: Unable to find partition containing kernel

If you need more information and/or tests tell me and I'll post them.

Thanks for any reply.

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

* Re: pygrub regression with latest xen-unstable test
  2014-09-15 10:29 pygrub regression with latest xen-unstable test Fabio Fantoni
@ 2014-09-15 14:49 ` Ian Campbell
  2014-09-16  8:42   ` Fabio Fantoni
  0 siblings, 1 reply; 9+ messages in thread
From: Ian Campbell @ 2014-09-15 14:49 UTC (permalink / raw)
  To: Fabio Fantoni; +Cc: xen-devel

On Mon, 2014-09-15 at 12:29 +0200, Fabio Fantoni wrote:
> After updating to latest xen-unstable (commit 
> 7d203b337fb2dcd148d2df850e25b67c792d4d0b) I'm unable to boot an old domU 
> with grub 1 cfg.
> I not remember the previous unstable build tested that successfull boot 
> it, probably is of 1-2 months ago or more.

According to the git log pygrub hasn't changed since late Jun, and in
general changes very little. Could you look back over the history and
see if you can identify the problem commit?

Thanks,
Ian.


> 
> #boot/grub/menu.lst
> title Lenny 2.6.26
> root (hd0,0)
> kernel /boot/vmlinuz-2.6.26-2-xen-amd64 ro root=/dev/xvda1 console=hvc0 
> xencons=tty
> initrd /boot/initrd.img-2.6.26-2-xen-amd64
> 
> xl create /etc/xen/nagios.cfg
> Parsing config from /etc/xen/nagios.cfg
> libxl: error: libxl_bootloader.c:630:bootloader_finished: bootloader 
> failed - consult logfile /var/log/xen/bootloader.11.log
> libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader 
> [-1] exited with error status 1
> libxl: error: libxl_create.c:1133:domcreate_rebuild_done: cannot 
> (re-)build domain: -3
> 
> #/var/log/xen/bootloader.11.log
> Using <class 'grub.GrubConf.GrubConfigFile'> to parse /boot/grub/menu.lst
> ESC(BESC)0ESC[1;24rESC[m^OESC[?7hESC[?1hESC=ESC[?1lESC>ESC[24;1H^MESC[?1lESC>Traceback 
> (most recent call last):
>    File "/usr/lib/xen/bin/pygrub", line 894, in <module>
>      raise RuntimeError, "Unable to find partition containing kernel"
> RuntimeError: Unable to find partition containing kernel
> 
> If you need more information and/or tests tell me and I'll post them.
> 
> Thanks for any reply.
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

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

* Re: pygrub regression with latest xen-unstable test
  2014-09-15 14:49 ` Ian Campbell
@ 2014-09-16  8:42   ` Fabio Fantoni
  2014-09-16 16:40     ` Ian Campbell
  0 siblings, 1 reply; 9+ messages in thread
From: Fabio Fantoni @ 2014-09-16  8:42 UTC (permalink / raw)
  To: Ian Campbell; +Cc: xen-devel

Il 15/09/2014 16:49, Ian Campbell ha scritto:
> On Mon, 2014-09-15 at 12:29 +0200, Fabio Fantoni wrote:
>> After updating to latest xen-unstable (commit
>> 7d203b337fb2dcd148d2df850e25b67c792d4d0b) I'm unable to boot an old domU
>> with grub 1 cfg.
>> I not remember the previous unstable build tested that successfull boot
>> it, probably is of 1-2 months ago or more.
> According to the git log pygrub hasn't changed since late Jun, and in
> general changes very little. Could you look back over the history and
> see if you can identify the problem commit?
>
> Thanks,
> Ian.
>
>
>> #boot/grub/menu.lst
>> title Lenny 2.6.26
>> root (hd0,0)
>> kernel /boot/vmlinuz-2.6.26-2-xen-amd64 ro root=/dev/xvda1 console=hvc0
>> xencons=tty
>> initrd /boot/initrd.img-2.6.26-2-xen-amd64
>>
>> xl create /etc/xen/nagios.cfg
>> Parsing config from /etc/xen/nagios.cfg
>> libxl: error: libxl_bootloader.c:630:bootloader_finished: bootloader
>> failed - consult logfile /var/log/xen/bootloader.11.log
>> libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader
>> [-1] exited with error status 1
>> libxl: error: libxl_create.c:1133:domcreate_rebuild_done: cannot
>> (re-)build domain: -3
>>
>> #/var/log/xen/bootloader.11.log
>> Using <class 'grub.GrubConf.GrubConfigFile'> to parse /boot/grub/menu.lst
>> ESC(BESC)0ESC[1;24rESC[m^OESC[?7hESC[?1hESC=ESC[?1lESC>ESC[24;1H^MESC[?1lESC>Traceback
>> (most recent call last):
>>     File "/usr/lib/xen/bin/pygrub", line 894, in <module>
>>       raise RuntimeError, "Unable to find partition containing kernel"
>> RuntimeError: Unable to find partition containing kernel
>>
>> If you need more information and/or tests tell me and I'll post them.
>>
>> Thanks for any reply.
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xen.org
>> http://lists.xen.org/xen-devel
>

I take fast look on latest pygrub changes, I changed the xvda1 of disk 
to xvda, tried also root in cfg but nothing.
After I tried to put grub2 cfg in menu.lst and gave "Unknown directive" 
warnings at boot, so read it.
After I renamed menu.lst to grub.cfg and nagios booted correctly.
So the regression seems in parsing of grub1 cfg in menu.lst file but I 
not found how to solve it.

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

* Re: pygrub regression with latest xen-unstable test
  2014-09-16  8:42   ` Fabio Fantoni
@ 2014-09-16 16:40     ` Ian Campbell
  2014-09-17  7:44       ` Fabio Fantoni
  0 siblings, 1 reply; 9+ messages in thread
From: Ian Campbell @ 2014-09-16 16:40 UTC (permalink / raw)
  To: Fabio Fantoni; +Cc: xen-devel

On Tue, 2014-09-16 at 10:42 +0200, Fabio Fantoni wrote:

> I take fast look on latest pygrub changes, I changed the xvda1 of disk 
> to xvda, tried also root in cfg but nothing.
> After I tried to put grub2 cfg in menu.lst and gave "Unknown directive" 
> warnings at boot, so read it.
> After I renamed menu.lst to grub.cfg and nagios booted correctly.

Is the contents of this file grub1 or grub2 syntax?

> So the regression seems in parsing of grub1 cfg in menu.lst file but I 
> not found how to solve it.


Did you look back into the git history as I suggested?

Ian.

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

* Re: pygrub regression with latest xen-unstable test
  2014-09-16 16:40     ` Ian Campbell
@ 2014-09-17  7:44       ` Fabio Fantoni
  2014-09-22  9:29         ` Ian Campbell
  0 siblings, 1 reply; 9+ messages in thread
From: Fabio Fantoni @ 2014-09-17  7:44 UTC (permalink / raw)
  To: Ian Campbell; +Cc: xen-devel

Il 16/09/2014 18:40, Ian Campbell ha scritto:
> On Tue, 2014-09-16 at 10:42 +0200, Fabio Fantoni wrote:
>
>> I take fast look on latest pygrub changes, I changed the xvda1 of disk
>> to xvda, tried also root in cfg but nothing.
>> After I tried to put grub2 cfg in menu.lst and gave "Unknown directive"
>> warnings at boot, so read it.
>> After I renamed menu.lst to grub.cfg and nagios booted correctly.
> Is the contents of this file grub1 or grub2 syntax?

The regression is in grub1 syntax in menu.lst file, with grub2 syntax in 
grub.cfg is ok.

>
>> So the regression seems in parsing of grub1 cfg in menu.lst file but I
>> not found how to solve it.
>
> Did you look back into the git history as I suggested?

Yes I did a fast look and did a fast tests to try to search the problem, 
I found only the details reported above.

>
> Ian.
>

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

* Re: pygrub regression with latest xen-unstable test
  2014-09-17  7:44       ` Fabio Fantoni
@ 2014-09-22  9:29         ` Ian Campbell
  2014-09-22  9:37           ` Fabio Fantoni
  0 siblings, 1 reply; 9+ messages in thread
From: Ian Campbell @ 2014-09-22  9:29 UTC (permalink / raw)
  To: Fabio Fantoni, Dave Scott, Simon Rowe; +Cc: xen-devel

On Wed, 2014-09-17 at 09:44 +0200, Fabio Fantoni wrote:
> Il 16/09/2014 18:40, Ian Campbell ha scritto:
> > On Tue, 2014-09-16 at 10:42 +0200, Fabio Fantoni wrote:
> >
> >> I take fast look on latest pygrub changes, I changed the xvda1 of disk
> >> to xvda, tried also root in cfg but nothing.
> >> After I tried to put grub2 cfg in menu.lst and gave "Unknown directive"
> >> warnings at boot, so read it.
> >> After I renamed menu.lst to grub.cfg and nagios booted correctly.
> > Is the contents of this file grub1 or grub2 syntax?
> 
> The regression is in grub1 syntax in menu.lst file, with grub2 syntax in 
> grub.cfg is ok.

Please can you attach the actual problematic config file.

While searching my mbox for this thread I stumbled over:
http://lists.xen.org/archives/html/xen-devel/2014-09/msg01053.html which
might be related?

> 
> >
> >> So the regression seems in parsing of grub1 cfg in menu.lst file but I
> >> not found how to solve it.
> >
> > Did you look back into the git history as I suggested?
> 
> Yes I did a fast look and did a fast tests to try to search the problem, 
> I found only the details reported above.
> 
> >
> > Ian.
> >
> 

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

* Re: pygrub regression with latest xen-unstable test
  2014-09-22  9:29         ` Ian Campbell
@ 2014-09-22  9:37           ` Fabio Fantoni
  2014-09-22  9:44             ` Ian Campbell
  0 siblings, 1 reply; 9+ messages in thread
From: Fabio Fantoni @ 2014-09-22  9:37 UTC (permalink / raw)
  To: Ian Campbell, Dave Scott, Simon Rowe; +Cc: xen-devel

Il 22/09/2014 11:29, Ian Campbell ha scritto:
> On Wed, 2014-09-17 at 09:44 +0200, Fabio Fantoni wrote:
>> Il 16/09/2014 18:40, Ian Campbell ha scritto:
>>> On Tue, 2014-09-16 at 10:42 +0200, Fabio Fantoni wrote:
>>>
>>>> I take fast look on latest pygrub changes, I changed the xvda1 of disk
>>>> to xvda, tried also root in cfg but nothing.
>>>> After I tried to put grub2 cfg in menu.lst and gave "Unknown directive"
>>>> warnings at boot, so read it.
>>>> After I renamed menu.lst to grub.cfg and nagios booted correctly.
>>> Is the contents of this file grub1 or grub2 syntax?
>> The regression is in grub1 syntax in menu.lst file, with grub2 syntax in
>> grub.cfg is ok.
> Please can you attach the actual problematic config file.

Already posted in first msg:
#boot/grub/menu.lst
title Lenny 2.6.26
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-2-xen-amd64 ro root=/dev/xvda1 console=hvc0 
xencons=tty
initrd /boot/initrd.img-2.6.26-2-xen-amd64

Or you mean other config file?

>
> While searching my mbox for this thread I stumbled over:
> http://lists.xen.org/archives/html/xen-devel/2014-09/msg01053.html which
> might be related?

I'll try it on my next test build.

>
>>>> So the regression seems in parsing of grub1 cfg in menu.lst file but I
>>>> not found how to solve it.
>>> Did you look back into the git history as I suggested?
>> Yes I did a fast look and did a fast tests to try to search the problem,
>> I found only the details reported above.
>>
>>> Ian.
>>>
>

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

* Re: pygrub regression with latest xen-unstable test
  2014-09-22  9:37           ` Fabio Fantoni
@ 2014-09-22  9:44             ` Ian Campbell
  2014-09-22 10:00               ` Fabio Fantoni
  0 siblings, 1 reply; 9+ messages in thread
From: Ian Campbell @ 2014-09-22  9:44 UTC (permalink / raw)
  To: Fabio Fantoni; +Cc: Dave Scott, xen-devel, Simon Rowe

On Mon, 2014-09-22 at 11:37 +0200, Fabio Fantoni wrote:
> Il 22/09/2014 11:29, Ian Campbell ha scritto:
> > On Wed, 2014-09-17 at 09:44 +0200, Fabio Fantoni wrote:
> >> Il 16/09/2014 18:40, Ian Campbell ha scritto:
> >>> On Tue, 2014-09-16 at 10:42 +0200, Fabio Fantoni wrote:
> >>>
> >>>> I take fast look on latest pygrub changes, I changed the xvda1 of disk
> >>>> to xvda, tried also root in cfg but nothing.
> >>>> After I tried to put grub2 cfg in menu.lst and gave "Unknown directive"
> >>>> warnings at boot, so read it.
> >>>> After I renamed menu.lst to grub.cfg and nagios booted correctly.
> >>> Is the contents of this file grub1 or grub2 syntax?
> >> The regression is in grub1 syntax in menu.lst file, with grub2 syntax in
> >> grub.cfg is ok.
> > Please can you attach the actual problematic config file.
> 
> Already posted in first msg:
> #boot/grub/menu.lst
> title Lenny 2.6.26
> root (hd0,0)
> kernel /boot/vmlinuz-2.6.26-2-xen-amd64 ro root=/dev/xvda1 console=hvc0 
> xencons=tty
> initrd /boot/initrd.img-2.6.26-2-xen-amd64
> 
> Or you mean other config file?

Was that the entire file? I thought it was just a snippet (it's not the
autogenerated one from Debian, I don't think).

Ian.

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

* Re: pygrub regression with latest xen-unstable test
  2014-09-22  9:44             ` Ian Campbell
@ 2014-09-22 10:00               ` Fabio Fantoni
  0 siblings, 0 replies; 9+ messages in thread
From: Fabio Fantoni @ 2014-09-22 10:00 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Dave Scott, xen-devel, Simon Rowe

Il 22/09/2014 11:44, Ian Campbell ha scritto:
> On Mon, 2014-09-22 at 11:37 +0200, Fabio Fantoni wrote:
>> Il 22/09/2014 11:29, Ian Campbell ha scritto:
>>> On Wed, 2014-09-17 at 09:44 +0200, Fabio Fantoni wrote:
>>>> Il 16/09/2014 18:40, Ian Campbell ha scritto:
>>>>> On Tue, 2014-09-16 at 10:42 +0200, Fabio Fantoni wrote:
>>>>>
>>>>>> I take fast look on latest pygrub changes, I changed the xvda1 of disk
>>>>>> to xvda, tried also root in cfg but nothing.
>>>>>> After I tried to put grub2 cfg in menu.lst and gave "Unknown directive"
>>>>>> warnings at boot, so read it.
>>>>>> After I renamed menu.lst to grub.cfg and nagios booted correctly.
>>>>> Is the contents of this file grub1 or grub2 syntax?
>>>> The regression is in grub1 syntax in menu.lst file, with grub2 syntax in
>>>> grub.cfg is ok.
>>> Please can you attach the actual problematic config file.
>> Already posted in first msg:
>> #boot/grub/menu.lst
>> title Lenny 2.6.26
>> root (hd0,0)
>> kernel /boot/vmlinuz-2.6.26-2-xen-amd64 ro root=/dev/xvda1 console=hvc0
>> xencons=tty
>> initrd /boot/initrd.img-2.6.26-2-xen-amd64
>>
>> Or you mean other config file?
> Was that the entire file? I thought it was just a snippet (it's not the
> autogenerated one from Debian, I don't think).
>
> Ian.
>
>

On old domUs installing grub1 was always failed, so I created menu.lst 
manually each domUs and always was working until xen-unstable of latest 
months.
Grub2 on recent domUs instead install correctly and generate cfg 
automatically.
Major of pv domUs are debian, some ubuntu and rare are others (ipfire, 
clearos, fedora ecc...)

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

end of thread, other threads:[~2014-09-22 10:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-15 10:29 pygrub regression with latest xen-unstable test Fabio Fantoni
2014-09-15 14:49 ` Ian Campbell
2014-09-16  8:42   ` Fabio Fantoni
2014-09-16 16:40     ` Ian Campbell
2014-09-17  7:44       ` Fabio Fantoni
2014-09-22  9:29         ` Ian Campbell
2014-09-22  9:37           ` Fabio Fantoni
2014-09-22  9:44             ` Ian Campbell
2014-09-22 10:00               ` Fabio Fantoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.