Re: how to compile a recent xen dom0 kernel on amd64?

2007-09-13 Thread Goswin von Brederlow
Jonas Meurer <[EMAIL PROTECTED]> writes:

> On 13/09/2007 Goswin von Brederlow wrote:
>> >> And indeed some patches seem to be applied (see below). But i still
>> >> don't see any xen options in menuconfig. Maybe the 2.6.22 xen patches
>> >> are for i386 only and not ported to amd64 yet?
>> >
>> > Based on the output those patches do not contain Xen. I don't know what
>> > they are for.
>> 
>> The newest working patches I know are from RedHat and for 2.6.20. They
>> also have 2.6.21 but I heard that were instable.
>
> Are these patches for amd64 DomU only, or for Dom0 as well?

I386/amd64 dom0/U. For the (usualy) working ones:

http://hg.et.redhat.com/kernel/

And for development versions:

http://hg.et.redhat.com/kernel-dev/

> And where do I get these patches? Do I need to use the redhat linux
> sources and patch them with the redhat xen patches, or how is it
> supposed to work?

You have to clone a mercurial repository. Includes a full kernel tree
so prepare to spend some time and bandwith.

> I guess that make-kpkg may be used from the linux source anyway, as it
> works with upstream linux sources as well.

yes.

> greetings,
>  jonas

MfG
Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to compile a recent xen dom0 kernel on amd64?

2007-09-13 Thread Jonas Meurer
On 13/09/2007 Goswin von Brederlow wrote:
> >> And indeed some patches seem to be applied (see below). But i still
> >> don't see any xen options in menuconfig. Maybe the 2.6.22 xen patches
> >> are for i386 only and not ported to amd64 yet?
> >
> > Based on the output those patches do not contain Xen. I don't know what
> > they are for.
> 
> The newest working patches I know are from RedHat and for 2.6.20. They
> also have 2.6.21 but I heard that were instable.

Are these patches for amd64 DomU only, or for Dom0 as well?

And where do I get these patches? Do I need to use the redhat linux
sources and patch them with the redhat xen patches, or how is it
supposed to work?

I guess that make-kpkg may be used from the linux source anyway, as it
works with upstream linux sources as well.

greetings,
 jonas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to compile a recent xen dom0 kernel on amd64?

2007-09-13 Thread Goswin von Brederlow
Gabor Gombas <[EMAIL PROTECTED]> writes:

> On Thu, Sep 13, 2007 at 01:42:22AM +0200, Jonas Meurer wrote:
>
>> What is the current situation with xen on amd64? the debian/sid archive
>> keeps no linux-image-2.6.22-2-xen-amd64, and I was not able to compile
>> a 2.6.22 dom0 kernel with debian xen patches applied on my amd64 system.
>
> IMHO there is no upstream support for kernels newer than 2.6.18. The
> last "official" opinion I heard was that either Xen gets integrated into
> the Linux kernel or support for Xen will be dropped from Debian, since
> there are now other free alternatives that are fully supported on recent
> kernels.
>
> Support for domU is already merged into 2.6.23, but dom0 is not yet
> and I've heard no plans about when it will be.

Linus only merged in some i386 domU xen patches. The option isn't even
available to compile it on amd64 not to mention that it would work at
all. I guess it will still take a few kernels before we can use
upstream source.

>> And indeed some patches seem to be applied (see below). But i still
>> don't see any xen options in menuconfig. Maybe the 2.6.22 xen patches
>> are for i386 only and not ported to amd64 yet?
>
> Based on the output those patches do not contain Xen. I don't know what
> they are for.

The newest working patches I know are from RedHat and for 2.6.20. They
also have 2.6.21 but I heard that were instable.

> Gabor

MfG
Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to compile a recent xen dom0 kernel on amd64?

2007-09-13 Thread Gabor Gombas
On Thu, Sep 13, 2007 at 01:42:22AM +0200, Jonas Meurer wrote:

> What is the current situation with xen on amd64? the debian/sid archive
> keeps no linux-image-2.6.22-2-xen-amd64, and I was not able to compile
> a 2.6.22 dom0 kernel with debian xen patches applied on my amd64 system.

IMHO there is no upstream support for kernels newer than 2.6.18. The
last "official" opinion I heard was that either Xen gets integrated into
the Linux kernel or support for Xen will be dropped from Debian, since
there are now other free alternatives that are fully supported on recent
kernels.

Support for domU is already merged into 2.6.23, but dom0 is not yet
and I've heard no plans about when it will be.

> And indeed some patches seem to be applied (see below). But i still
> don't see any xen options in menuconfig. Maybe the 2.6.22 xen patches
> are for i386 only and not ported to amd64 yet?

Based on the output those patches do not contain Xen. I don't know what
they are for.

Gabor

-- 
 -
 MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
 -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to compile a recent xen dom0 kernel on amd64?

2007-09-13 Thread Martin Marcher
Hello,

2007/9/13, Jonas Meurer <[EMAIL PROTECTED]>:
> What is the current situation with xen on amd64?

I have a dell SC1435 with 2 "Dual-Core AMD Opteron(tm) Processor 2212
HE" (4 Cores) I just installed the xen kernel image from etch
(2.6.18-4-xen-amd64) (installed it shortly - 1 or 2 weeks - before
etch became stable) no downtime related to xen since. A few power
outages and minor mistargeted shutdowns (I hate having a bulk of terms
with nested screen sessions) but apart from that it serves depending
on our situation between 4 and 12 domUs

hth
martin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



how to compile a recent xen dom0 kernel on amd64?

2007-09-12 Thread Jonas Meurer

hello,

What is the current situation with xen on amd64? the debian/sid archive
keeps no linux-image-2.6.22-2-xen-amd64, and I was not able to compile
a 2.6.22 dom0 kernel with debian xen patches applied on my amd64 system.


I have linux-source-2.6.22 and linux-patch-debian-2.6.22 installed, and
followed the instructions from the workaround for
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=382699

Then I built the kernel:

# make-kpkg --rootcmd fakeroot --initrd --append-to-version \
-1-amd64-xen --revision 2.6.22-4 --added-patches xen clean
# make-kpkg --rootcmd fakeroot --initrd --append-to-version \
-1-amd64-xen --revision 2.6.22-4 --added-patches xen kernel_image

And indeed some patches seem to be applied (see below). But i still
don't see any xen options in menuconfig. Maybe the 2.6.22 xen patches
are for i386 only and not ported to amd64 yet?
That would also explain why no linux-image-2.6.22-2-xen-amd64 package
exists in debian/unstable.

output of 'make-kpkg ... --added-patches xen kernel_image':

[...]
test ! -f applied_patches || rm -f applied_patches
for patch in /usr/src/kernel-patches/all/2.6.22/apply/xen ; do\
  if test -x  $patch; then\
  if $patch; then \
  echo "Patch $patch processed fine"; \
  echo "$patch" >> applied_patches;   \
  else \
   echo "Patch $patch  failed.";  \
   echo "Hit return to Continue";  \
   read ans;   \
  fi;  \
  fi;  \
done
Applying debian patch with xen parts
Warning: Can't find series file for 3
  (.) IGNORED   bugfix/arm/nas100d-pata-artop-single-port.patch
  (.) IGNORED   bugfix/m68k/falconide_intr_lock-reentrant.diff
  (.) IGNORED   bugfix/m68k/633-atari_scc.diff
  (.) IGNORED   bugfix/m68k/130-adbraw.diff
  (.) IGNORED   bugfix/m68k/141-ide.diff
  (.) IGNORED   bugfix/m68k/143-ioext.diff
  (.) IGNORED   bugfix/m68k/149-mc68681.diff
  (.) IGNORED   bugfix/m68k/152-pci.diff
  (.) IGNORED   bugfix/m68k/448-ide.diff
  (.) IGNORED   bugfix/m68k/478-serial.diff
  (.) IGNORED   bugfix/m68k/atari-rom-isa.diff
  (.) IGNORED   bugfix/m68k/atari-ethernec.diff
  (.) IGNORED   bugfix/m68k/unnecessary-m68k_memoffset.diff
  (.) IGNORED   bugfix/m68k/atari-aranym.diff
  (.) IGNORED   bugfix/m68k/ethernec-work.diff
  (.) IGNORED   bugfix/m68k/nfeth-virt_to_phys.diff
  (.) IGNORED   bugfix/m68k/ethernec-kill-ETHERNEC_USE_POLL.diff
  (.) IGNORED   bugfix/m68k/m68k-generic-io.diff
  (.) IGNORED   bugfix/m68k/m68k-mvme-scsi-rename.diff
  (.) IGNORED   bugfix/m68k/m68k-53c700-scsi.diff
  (.) IGNORED   bugfix/m68k/via-pmu68k-dead-code.diff
  (.) IGNORED   bugfix/m68k/dmasound_paula.diff
  (.) IGNORED   bugfix/m68k/disable-mac-broken-config-options.diff
--> 1 fully applied.
  (.) IGNORED   bugfix/m68k/falconide_intr_lock-reentrant.diff
  (.) IGNORED   bugfix/m68k/m68k-page.h-needs-compiler.h.diff
  (.) IGNORED   bugfix/m68k/630-extern-cleanup.diff.1
  (.) IGNORED   bugfix/m68k/m68k-use-_AC.diff
  (.) IGNORED   bugfix/m68k/m68k-amiga-z2ram-kill-TRUE-FALSE.diff
  (.) IGNORED   bugfix/m68k/add-termios2.diff
  (.) IGNORED   bugfix/m68k/m68k-arbitary-speed-tty-support.diff
  (.) IGNORED   bugfix/m68k/m68k-do-not-include-RODATA-in-text-segment.diff
  (.) IGNORED   bugfix/m68k/m68k-53c700-cleanups.diff
  (.) IGNORED   bugfix/m68k/split-amiga7xx.diff
  (.) IGNORED   bugfix/m68k/m68k-scsi-Kconfig-hickups.diff
  (.) IGNORED   bugfix/m68k/zorro_config_attr-read-only.diff
  (.) IGNORED   bugfix/m68k/zorro-module-device-table.diff
  (.) IGNORED   bugfix/m68k/falconide_intr_lock-ratelimit.diff
  (.) IGNORED   bugfix/m68k/debian-2.6.21-2-rom-isa.diff
--> 2 fully applied.
  (.) IGNORED   features/all/vserver/vs2.2.0.3.patch
  (.) IGNORED   features/all/vserver/bindmount-dev.patch
--> 4 fully applied.
Patch /usr/src/kernel-patches/all/2.6.22/apply/xen processed fine
echo done >  stamp-patch
[...]

so how do you compile a xen dom0 host-kernel for amd64? is it possible
with recent kernel sources at all?

thanks in advance,
 jonas


signature.asc
Description: Digital signature