<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-15"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Am 03.03.2010 18:26, schrieb Thomas Stather:
<blockquote cite="mid:4B8E9BAA.4040402@sit.fraunhofer.de" type="cite">
  <meta content="text/html; charset=ISO-8859-15"
 http-equiv="Content-Type">
Am 01.03.2010 15:12, schrieb Tim Gardner:
  <blockquote cite="mid:4B8BCB3D.9030109@canonical.com" type="cite">
    <pre wrap="">Thomas Stather wrote:
  </pre>
    <blockquote type="cite">
      <pre wrap="">Hello everybody

I have a strange problem when i tried to compile my own XEN Dom0/DomU
Kernel from source (i used the apt-src kernel sources).
I followed this manual:

<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="https://help.ubuntu.com/community/Kernel/Compile">https://help.ubuntu.com/community/Kernel/Compile</a>


I created a new flavour called "xen" (see
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/">http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/</a>)
and patched the kernel-source with the xen-patches (2.6.31-11).After
that, i ran:


debian/rules updateconfigs

and i enabled the new XEN config-attributes only for my flavour


For compilation, i ran

DEB_BUILD_OPTIONS=parallel=2 AUTOBUILD=1 skipmodule=1 skipabi=1
debian/rules binary-debs

And here is the first of my 2 problems. When i omitted the skipmodule
flag, i got some warnings about missing modules, what exactly does this
mean (are the modules in the kernel config but not in the kernel source
anymore????)?

Then i set the flag, and the compilation went through fine (about 20
minutes) but i got the following error:

WW: Explicitly asked to ignore failures (probably not good)
II: New modules (you've been busy, wipe the poop off your nose)
II: Done
dh_testdir
dh_testroot
dh_clean -k -plinux-image-2.6.31-19-xen
dh_clean -k -plinux-headers-2.6.31-19-xen
dh_clean -k -plinux-image-debug-2.6.31-19-xen
# The main image
# compress_file logic required because not all architectures
# generate a zImage automatically out of the box
install -m644 -D
/root/linux-2.6.31/debian/build/build-xen/arch/x86_64/boot/bzImage \
      
/root/linux-2.6.31/debian/linux-image-2.6.31-19-xen/boot/vmlinuz-2.6.31-19-xen         

install: cannot stat
`/root/linux-2.6.31/debian/build/build-xen/arch/x86_64/boot/bzImage': No
such file or directory
make: *** [install-xen] Error 1

I have some knowledge about debian/ubuntu package building, but as i
discovered, the kernel rules-file is a bit complicated and i don't know
where the error could be. What i know is that

/root/linux-2.6.31/debian/linux-image-2.6.31-19-xen/boot/vmlinuz-2.6.31-19-xen     


doesn't exist


Can you please help me, because i really need this Xen Dom0/U Kernel for
Ubuntu Karmic (x86_64).


Greets Thomas




    </pre>
    </blockquote>
    <pre wrap="">Check your configuration. It kind of looks like your version configs are
messed up. They should be:

debian.master/config/config.common.ubuntu:CONFIG_LOCALVERSION=""
debian.master/config/config.common.ubuntu:# CONFIG_LOCALVERSION_AUTO is
not set

The definitive source for kernel maintenance is here:

<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="https://wiki.ubuntu.com/KernelTeam/KernelMaintenance">https://wiki.ubuntu.com/KernelTeam/KernelMaintenance</a>

rtg
  </pre>
  </blockquote>
Hello again<br>
  <br>
I built the kernel from source (apt-src) from another machine, and
created the new flavour xen as well. Now i have this:
  <br>
  <br>
DEB_BUILD_OPTIONS=parallel=8 AUTOBUILD=1 debian/rules binary-xen (i
only wanted to build the flavour xen, which is derived from the serve
flavour)
  <br>
  <br>
...
  <br>
II: Done
  <br>
install -d /root/linux-2.6.31/debian.master/abi/2.6.31-19.56/amd64
  <br>
find <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>root/linux-2.6.31/debian/build/build-xen<span
 class="moz-txt-tag">/</span></i> -name \*.ko | \
  <br>
        sed -e 's/.*\/\([^\/]*\)\.ko/\1/' | sort >
/root/linux-2.6.31/debian.master/abi/2.6.31-19.56/amd64/xen.modules
  <br>
II: Checking modules for xen...
  <br>
   reading new modules...read 2459 modules.
  <br>
   reading old modules...
  <br>
      MISS: 9pnet_virtio
  <br>
      MISS: amd64_edac_mod
  <br>
      MISS: epl
  <br>
      MISS: evtchn
  <br>
      MISS: kvm
  <br>
      MISS: kvm-amd
  <br>
      MISS: kvm-intel
  <br>
      MISS: p4-clockmod
  <br>
      MISS: snd-hrtimer
  <br>
      MISS: snd-pcsp
  <br>
      MISS: speedstep-lib
  <br>
      MISS: virtio
  <br>
      MISS: virtio_balloon
  <br>
      MISS: virtio_blk
  <br>
      MISS: virtio_console
  <br>
      MISS: virtio_net
  <br>
      MISS: virtio_pci
  <br>
      MISS: virtio_ring
  <br>
      MISS: virtio-rng
  <br>
      MISS: walkera0701
  <br>
      MISS: xen-blkfront
  <br>
      MISS: xen-fbfront
  <br>
      MISS: xenfs
  <br>
      MISS: xen-kbdfront
  <br>
      MISS: xen-netfront
  <br>
      NEW : sfc_netutil
  <br>
      NEW : xennet
  <br>
      NEW : tpm_xenu
  <br>
      NEW : xen-scsibk
  <br>
      NEW : 8250
  <br>
      NEW : xenblk
  <br>
      NEW : xen-hcd
  <br>
      NEW : usbbk
  <br>
      NEW : 8250_pnp
  <br>
      NEW : sfc_netfront
  <br>
      NEW : 8250_pci
  <br>
      NEW : serial_core
  <br>
      NEW : xenscsi
  <br>
      read 2471 modules : new(13)  missing(25)
  <br>
EE: Missing modules (start begging for mercy)
  <br>
make[1]: *** [module-check-xen] Fehler 1
  <br>
make: *** [binary-xen] Fehler 2
  <br>
  <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:root@karmic-compiler-server-64:%7E/linux-2.6.31#">root@karmic-compiler-server-64:~/linux-2.6.31#</a>
  <br>
  <br>
  <br>
What is wrong here (i don't use git, because i want to do a local
compilation), i couldn't find anything in the document you posted?
  <br>
Furthermore i haven't done an ABI bump, as the ABI checks completes
without an error.<br>
  <br>
  <br>
Greets Thomas
  <br>
  <br>
  <br>
  <pre class="moz-signature" cols="72">-- 
Thomas Stather, Fraunhofer SIT
Abteilung PSS
Zimmer 64
Rheinstrasse 75, 64295 Darmstadt, Germany
Tel: +49 (0) 6151 86960058
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.sit.fraunhofer.de">http://www.sit.fraunhofer.de</a> </pre>
</blockquote>
Hello<br>
<br>
In my last attempt, i used skipmodule=true to skip the modules error,
but now i have the first error again (stat .... no such file or
directory), even if i change the server flavour to support Dom0
operations and build it with debian/rules binary-server.<br>
Please help me as this is urgend and i don't know who to ask otherwise.<br>
<br>
<br>
Greets Thomas<br>
<br>
<pre class="moz-signature" cols="72">-- 
Thomas Stather, Fraunhofer SIT
Abteilung PSS
Zimmer 64
Rheinstrasse 75, 64295 Darmstadt, Germany
Tel: +49 (0) 6151 86960058
<a class="moz-txt-link-freetext" href="http://www.sit.fraunhofer.de">http://www.sit.fraunhofer.de</a> </pre>
</body>
</html>