All of lore.kernel.org
 help / color / mirror / Atom feed
* pygrub and F12 rawhide
@ 2009-10-07 19:13 John Levon
  2009-10-08  0:18 ` Paolo Bonzini
  0 siblings, 1 reply; 7+ messages in thread
From: John Levon @ 2009-10-07 19:13 UTC (permalink / raw)
  To: xen-devel


Post-install, is pygrub working for anyone else? I see it get stuck as
follows:


root@hiss:/va# !pst
pstack 16777
16777:  /usr/bin/python /usr/lib/xen/bin/pygrub
--output=/var/run/xend/boot/xe
 fed64467 __pread64 (5, 8381910, 400, 7cca600, 0, 8040053) + 7
 fe2eeecf fsig_devread (80a10d0, 3e614, 0, 400, 8381910, 815fa60) + 1d9
 fdf20d1a ext2_rdfsb (80a10d0, 1f30a, 8381910, 0, 815813c, 3) + 7c
 fdf21e42 ext2fs_dir (80a10d0, 80a37ae, fdf321e8, fe3460c0, 80a5990,
fe3465d0) + 87e
 fe2ef17d fsig_open (80a5990, 81b278c, fe3a55fb, fe3460c0, 80be940,
81657ec) + 5a
 fe2ee576 fsi_open_file (80a5990, 81b278c, 80472c8, 80472b4, 80be940,
fe3b8afc) + 3e
 fe2ee51a fsi_file_exists (80a5990, 81b278c, fe3a55fa, fe3b98a8,
80472c0, fef63a38) + 24
 fe361975 fsimage_fs_file_exists (809b0d0, 81656ac, 0, feedc689) + 5d
 fef034dd call_function (804738c, 1, d5, 0) + 3f5

truss:

pread64(5, "\0\0\0\0\0\0\0\0\0\0\0\0".., 1024, 0x07CCA600) = 1024
pread64(5, "\0\0\0\0\0\0\0\0\0\0\0\0".., 1024, 0x07CCA600) = 1024
pread64(5, "\0\0\0\0\0\0\0\0\0\0\0\0".., 1024, 0x07CCA600) = 1024
...

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

* Re: pygrub and F12 rawhide
  2009-10-07 19:13 pygrub and F12 rawhide John Levon
@ 2009-10-08  0:18 ` Paolo Bonzini
  2009-10-08 12:42   ` John Levon
  0 siblings, 1 reply; 7+ messages in thread
From: Paolo Bonzini @ 2009-10-08  0:18 UTC (permalink / raw)
  To: xen-devel

On 10/07/2009 09:13 PM, John Levon wrote:
>
> Post-install, is pygrub working for anyone else? I see it get stuck as
> follows:

What is your host?  Does your e2fsprogs support ext4?

Paolo

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

* Re: Re: pygrub and F12 rawhide
  2009-10-08  0:18 ` Paolo Bonzini
@ 2009-10-08 12:42   ` John Levon
  2009-10-08 13:19     ` Paolo Bonzini
  0 siblings, 1 reply; 7+ messages in thread
From: John Levon @ 2009-10-08 12:42 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: xen-devel

On Thu, Oct 08, 2009 at 02:18:24AM +0200, Paolo Bonzini wrote:

> On 10/07/2009 09:13 PM, John Levon wrote:
> >
> >Post-install, is pygrub working for anyone else? I see it get stuck as
> >follows:
> 
> What is your host?  Does your e2fsprogs support ext4?

I'm using libfsimage not e2fsprogs. The guest wasn't installed with
ext4, but ext3 (since it's not bootable apparently). Did something
change in ext3 format?

regards
john

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

* Re: Re: pygrub and F12 rawhide
  2009-10-08 12:42   ` John Levon
@ 2009-10-08 13:19     ` Paolo Bonzini
  2009-10-08 13:50       ` John Levon
  0 siblings, 1 reply; 7+ messages in thread
From: Paolo Bonzini @ 2009-10-08 13:19 UTC (permalink / raw)
  To: John Levon; +Cc: xen-devel


>>> Post-install, is pygrub working for anyone else? I see it get stuck as
>>> follows:
>>
>> What is your host?  Does your e2fsprogs support ext4?
>
> I'm using libfsimage not e2fsprogs.

Internally, libfsimage will most likely use libext2fs, which Red Hat 
distributions place in e2fsprogs-{devel,libs}.  So, if your host is for 
example RHEL 5 or CentOS 5 your pygrub will not support ext4.  On such 
distros ext3 works for me, while ext4 is not supposed to (yet).

Instead, if you compiled xen on your own, make sure you have 
e2fsprogs-devel (or equivalent) installed, otherwise libfsimage will use 
its internal ext2 implementation---which definitely does not work with 
ext4, and I don't know about ext3.

Paolo

ps: Fedora 11 will propose ext3 for /boot and ext4 for other partitions; 
however, F12 defaults to ext4 for everything and can boot from ext4.

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

* Re: Re: pygrub and F12 rawhide
  2009-10-08 13:19     ` Paolo Bonzini
@ 2009-10-08 13:50       ` John Levon
  2009-10-08 17:04         ` Pasi Kärkkäinen
  0 siblings, 1 reply; 7+ messages in thread
From: John Levon @ 2009-10-08 13:50 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: xen-devel

On Thu, Oct 08, 2009 at 03:19:02PM +0200, Paolo Bonzini wrote:

> >>What is your host?  Does your e2fsprogs support ext4?
> >
> >I'm using libfsimage not e2fsprogs.
> 
> Internally, libfsimage will most likely use libext2fs, which Red Hat 
> distributions place in e2fsprogs-{devel,libs}.  So, if your host is for 

I'm not using that but the native ext2 code in libfsimage. Solaris
doesn't have libext2fs :)

> Instead, if you compiled xen on your own, make sure you have 
> e2fsprogs-devel (or equivalent) installed, otherwise libfsimage will use 
> its internal ext2 implementation---which definitely does not work with 
> ext4, and I don't know about ext3.

The native ext3 works up to and including F11 certainly. The ext3
(specified via kickstart) in F12 doesn't seem to work. I suppose I can
dig through the latest grub sources, ho hum.

I presume that ext4 support is in real grub somewhere then?

regards
john

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

* Re: Re: pygrub and F12 rawhide
  2009-10-08 13:50       ` John Levon
@ 2009-10-08 17:04         ` Pasi Kärkkäinen
  2009-10-08 17:44           ` Boris Derzhavets
  0 siblings, 1 reply; 7+ messages in thread
From: Pasi Kärkkäinen @ 2009-10-08 17:04 UTC (permalink / raw)
  To: John Levon; +Cc: Paolo Bonzini, xen-devel

On Thu, Oct 08, 2009 at 09:50:08AM -0400, John Levon wrote:
> On Thu, Oct 08, 2009 at 03:19:02PM +0200, Paolo Bonzini wrote:
> 
> > >>What is your host?  Does your e2fsprogs support ext4?
> > >
> > >I'm using libfsimage not e2fsprogs.
> > 
> > Internally, libfsimage will most likely use libext2fs, which Red Hat 
> > distributions place in e2fsprogs-{devel,libs}.  So, if your host is for 
> 
> I'm not using that but the native ext2 code in libfsimage. Solaris
> doesn't have libext2fs :)
> 
> > Instead, if you compiled xen on your own, make sure you have 
> > e2fsprogs-devel (or equivalent) installed, otherwise libfsimage will use 
> > its internal ext2 implementation---which definitely does not work with 
> > ext4, and I don't know about ext3.
> 
> The native ext3 works up to and including F11 certainly. The ext3
> (specified via kickstart) in F12 doesn't seem to work. I suppose I can
> dig through the latest grub sources, ho hum.
> 
> I presume that ext4 support is in real grub somewhere then?
> 

On Fedora 11/12 if xen is built with e2fsprogs-devel installed, pygrub
supports ext4. 

If xen is built _without_ e2fsprogs-devel installed, then there's only ext3
support in pygrub.

-- Pasi

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

* Re: Re: pygrub and F12 rawhide
  2009-10-08 17:04         ` Pasi Kärkkäinen
@ 2009-10-08 17:44           ` Boris Derzhavets
  0 siblings, 0 replies; 7+ messages in thread
From: Boris Derzhavets @ 2009-10-08 17:44 UTC (permalink / raw)
  To: John Levon, Pasi Kärkkäinen; +Cc: Paolo Bonzini, xen-devel


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

>On Fedora 11/12 if xen is built with e2fsprogs-devel installed, pygrub
>supports ext4. 
>If xen is built _without_ e2fsprogs-devel installed, then there's only ext3
>support in pygrub.

I believe in this case Xen 3.2.2 (or Xen 3.4)  Hypervisor and tools have been built on Solaris Nevada (build 124 or higher) . e2fsprogs-devel should be RH's library (Linux). 
I would guess, a kind of port of this library to SNV_124 ( or higher ) is required.


Boris.

--- On Thu, 10/8/09, Pasi Kärkkäinen <pasik@iki.fi> wrote:

From: Pasi Kärkkäinen <pasik@iki.fi>
Subject: Re: [Xen-devel] Re: pygrub and F12 rawhide
To: "John Levon" <levon@movementarian.org>
Cc: "Paolo Bonzini" <pbonzini@redhat.com>, xen-devel@lists.xensource.com
Date: Thursday, October 8, 2009, 1:04 PM

On Thu, Oct 08, 2009 at 09:50:08AM -0400, John Levon wrote:
> On Thu, Oct 08, 2009 at 03:19:02PM +0200, Paolo Bonzini wrote:
> 
> > >>What is your host?  Does your e2fsprogs support ext4?
> > >
> > >I'm using libfsimage not e2fsprogs.
> > 
> > Internally, libfsimage will most likely use libext2fs, which Red Hat 
> > distributions place in e2fsprogs-{devel,libs}.  So, if your host is for 
> 
> I'm not using that but the native ext2 code in libfsimage. Solaris
> doesn't have libext2fs :)
> 
> > Instead, if you compiled xen on your own, make sure you have 
> > e2fsprogs-devel (or equivalent) installed, otherwise libfsimage will use 
> > its internal ext2 implementation---which definitely does not work with 
> > ext4, and I don't know about ext3.
> 
> The native ext3 works up to and including F11 certainly. The ext3
> (specified via kickstart) in F12 doesn't seem to work. I suppose I can
> dig through the latest grub sources, ho hum.
> 
> I presume that ext4 support is in real grub somewhere then?
> 

On Fedora 11/12 if xen is built with e2fsprogs-devel installed, pygrub
supports ext4. 

If xen is built _without_ e2fsprogs-devel installed, then there's only ext3
support in pygrub.

-- Pasi


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



      

[-- Attachment #1.2: Type: text/html, Size: 2903 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] 7+ messages in thread

end of thread, other threads:[~2009-10-08 17:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-07 19:13 pygrub and F12 rawhide John Levon
2009-10-08  0:18 ` Paolo Bonzini
2009-10-08 12:42   ` John Levon
2009-10-08 13:19     ` Paolo Bonzini
2009-10-08 13:50       ` John Levon
2009-10-08 17:04         ` Pasi Kärkkäinen
2009-10-08 17:44           ` Boris Derzhavets

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.