[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Etch: how to make own xen domU kernel ?



Thanks for the resonse, Predrag	

On Wed, Apr 04, 2007 at 10:01:01AM +0200, Predrag Gavrilovic wrote:
> To be more precise,
> link  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=382699
> shows how to manually patch official debian kernel source with
> official debian xen patches. One solution would be to build kernel
> non-debian way afterwards.
> 
> Other solution is:
> 1. Follow the instructions from the linked page to prepare
> linux-patch-debian package for xen
> 2. unpack kernel source
> 3. temporarily manually apply xen patches (for instance, run
> /usr/src/kernel-patches/all/2.6.18/apply/xen)

After following the above, running the 'xen' script raises the following error:

mycomputer:/usr/src/kernel-patches/all/2.6.18# ./apply/xen
Applying debian patch with xen parts
Traceback (most recent call last):
  File "/usr/src/kernel-patches/all/2.6.18/apply/debian", line 489, in ?
    main()
  File "/usr/src/kernel-patches/all/2.6.18/apply/debian", line 351, in main
    do(options, args)
  File "/usr/src/kernel-patches/all/2.6.18/apply/debian", line 358, in do
    target = version(args[0])
  File "/usr/src/kernel-patches/all/2.6.18/apply/debian", line 260, in __init__
    self.upstream, self.revision = self.parse(string)
  File "/usr/src/kernel-patches/all/2.6.18/apply/debian", line 284, in parse
    raise ValueError


> 4, run make menu config and enable Xen in configuration.
> 5. run make-kpkg --added-patches clean (that would unapply patches)
> but is needed.
> 6. run make-kpkg --added-patches xen --config menuconfig kernel-image
> (one can also add --initrd and --revision=somethig, per man make-kpkg)
> That would give an oportunity to manualy configure additional
> parameters in Xen kernel if needed.
> 



Reply to: