All of lore.kernel.org
 help / color / mirror / Atom feed
* Xen kernel issue
@ 2005-01-30 20:43 Travis Newman
  2005-01-31  1:38 ` Travis Newman
  0 siblings, 1 reply; 11+ messages in thread
From: Travis Newman @ 2005-01-30 20:43 UTC (permalink / raw)
  To: xen-devel

I've gotten Xen working for dom0, but I haven't gone past that because 
when using the Xen kernel, there's no support for fat filesystems (which 
contain a lot of what I need, though I don't use Windows anymore, I 
don't have the space to backup everything to format to ext3) and no 
support for sound. I'm using Alsa by the way. I've tried to recompile 
the kernel in different ways. First off, I tried "make ARCH=xen xconfig" 
and enabling what I needed, "make ARCH=xen oldconfig" after restoring my 
.config from my current kernel, and finally, using mkbuildtree to 
xen-ify my kernel source (2.6.10) and then loading the .config from 
xconfig. None of these worked, they would keep failing for different 
reasons. I can be more specific if I need to, I'm just wondering what 
the "right way" to get the exact same options that are in my kernel now, 
along with the xen options.

I'm using Ubuntu Linux (a Debian variant), and though I'm using a stock 
kernel, I have had experience with compiling my own kernel before.

Thanks in advance!
Travis


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: Re: Xen kernel issue
@ 2005-01-31  8:00 Ian Pratt
  2005-01-31 13:01 ` Travis Newman
  2005-01-31 13:16 ` Travis Newman
  0 siblings, 2 replies; 11+ messages in thread
From: Ian Pratt @ 2005-01-31  8:00 UTC (permalink / raw)
  To: Travis Newman, xen-devel

Please post a diff between a config that works and one that doesn't.

My suspicion is that you might be trying to enable CONFIG_HIGHMEM64G
which won't work -- CONFIG_HIGHMEM4G is the largest physical memory
currently supported.

Ian 

> -----Original Message-----
> From: xen-devel-admin@lists.sourceforge.net 
> [mailto:xen-devel-admin@lists.sourceforge.net] On Behalf Of 
> Travis Newman
> Sent: 31 January 2005 04:57
> To: xen-devel@lists.sourceforge.net
> Subject: Re: [Xen-devel] Re: Xen kernel issue
> 
> 
> > The above should work.  You mentioned in an earlier post 
> that you'd done a 
> > make xconfig in the Linux directory - if you do that, 
> you'll need to copy out 
> > the .config file to the path I mentioned above.  Otherwise 
> it'll get 
> > overwritten (by the file that happens to be at that path) 
> when you make 
> > dist / world.
> 
> Another thing throwing me for a loop is that whenever I do manage to 
> config the kernel and start building it (when I have made the 
> changes I 
> want to it) It gives me the following error, but this error does NOT 
> come up if I don't change the default config.
> 
>    CC      drivers/xen/balloon/balloon.o
> drivers/xen/balloon/balloon.c: In function `balloon_process':
> drivers/xen/balloon/balloon.c:209: error: `phys_to_machine_mapping' 
> undeclared (first use in this function)
> drivers/xen/balloon/balloon.c:209: error: (Each undeclared 
> identifier is 
> reported only once
> drivers/xen/balloon/balloon.c:209: error: for each function 
> it appears in.)
> drivers/xen/balloon/balloon.c:209: error: `INVALID_P2M_ENTRY' 
> undeclared 
> (first use in this function)
> drivers/xen/balloon/balloon.c:253: warning: implicit declaration of 
> function `scrub_pages'
> make[3]: *** [drivers/xen/balloon/balloon.o] Error 1
> make[2]: *** [drivers/xen/balloon] Error 2
> make[1]: *** [drivers/xen] Error 2
> make: *** [drivers] Error 2
> 
> So again, I am out of ideas... I can't use the default config 
> because of 
> a lack of features, but I can't change it because of errors... Unless 
> there's something I'm missing somewhere (Which there very 
> well may be) 
> or something about my system is screwy.
> 
> So any help or pre-built kernels anyone wants to provide will 
> be greatly 
> appreciated :)
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive 
> Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
> 


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: Re: Xen kernel issue
@ 2005-02-01  7:15 Ian Pratt
  0 siblings, 0 replies; 11+ messages in thread
From: Ian Pratt @ 2005-02-01  7:15 UTC (permalink / raw)
  To: Travis Newman, xen-devel

> > My suspicion is that you might be trying to enable CONFIG_HIGHMEM64G
> > which won't work -- CONFIG_HIGHMEM4G is the largest physical memory
> > currently supported.
> > 
> Sorry, that last one wasn't using a config file.
> So here it is:
> diff <config that I wanted but didn't work> <config that 
> worked but had 
> no sound or fat support>

The config file you've diff'ed against isn't for a Xen kernel. 'ARCH=xen
make oldconfig' will turn it into a Xen config

Ian

> 
> 
> 3,4c3,4
> < # Linux kernel version: 2.6.10-2-k7
> < # Thu Jan 27 12:08:16 2005
> ---
>  > # Linux kernel version: 2.6.10-xen0
>  > # Sun Jan 30 20:27:58 2005
> 5a6,22
>  > CONFIG_XEN=y
>  > CONFIG_ARCH_XEN=y
>  > CONFIG_NO_IDLE_HZ=y
>  >
>  > #
>  > # XEN
>  > #
>  > CONFIG_XEN_PRIVILEGED_GUEST=y
>  > CONFIG_XEN_PHYSDEV_ACCESS=y
>  > CONFIG_XEN_BLKDEV_BACKEND=y
>  > CONFIG_XEN_NETDEV_BACKEND=y
>  > CONFIG_XEN_BLKDEV_FRONTEND=y
>  > CONFIG_XEN_NETDEV_FRONTEND=y
>  > # CONFIG_XEN_NETDEV_FRONTEND_PIPELINED_TRANSMITTER is not set
>  > CONFIG_XEN_WRITABLE_PAGETABLES=y
>  > CONFIG_XEN_SCRUB_PAGES=y
>  > CONFIG_HAVE_ARCH_DEV_ALLOC_SKB=y


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

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

end of thread, other threads:[~2005-02-02  2:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-30 20:43 Xen kernel issue Travis Newman
2005-01-31  1:38 ` Travis Newman
2005-01-31  2:05   ` Travis Newman
2005-01-31  2:58   ` Robin Green
     [not found]     ` <f6244b740502011740392349b8@mail.gmail.com>
2005-02-02  2:18       ` Robin Green
2005-01-31  3:03   ` Mark Williamson
2005-01-31  4:57     ` Travis Newman
  -- strict thread matches above, loose matches on Subject: below --
2005-01-31  8:00 Ian Pratt
2005-01-31 13:01 ` Travis Newman
2005-01-31 13:16 ` Travis Newman
2005-02-01  7:15 Ian Pratt

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.