Public bug reported:

Binary package hint: linux-source-2.6.15

$ wget 
'https://launchpad.net/ubuntu/dapper/+source/linux-source-2.6.15/2.6.15-54.76/+files/linux-source-2.6.15_2.6.15.orig.tar.gz'
$ tar -zxf linux-source-2.6.15_2.6.15.orig.tar.gz
$ cd linux-source-2.6.15-2.6.15/
$ wget 
'https://launchpad.net/ubuntu/dapper/+source/linux-source-2.6.15/2.6.15-54.76/+files/linux-source-2.6.15_2.6.15-54.76.diff.gz'
$ zcat linux-source-2.6.15_2.6.15-54.76.diff.gz | patch -sp1
$ grep -A 10 -B 10 SYSCALL kernel/kexec.c
/*
 * A home grown binary mutex.
 * Nothing can wait so this mutex is safe to use
 * in interrupt context :)
 */
static int kexec_lock = 0;

asmlinkage long sys_kexec_load(unsigned long entry, unsigned long nr_segments,
                                struct kexec_segment __user *segments,
                                unsigned long flags)
SYSCALL_DEFINE4(kexec_load, unsigned long, entry, unsigned long, nr_segments,
                struct kexec_segment __user *, segments, unsigned long, flags)
{
        struct kimage **dest_image, *image;
        int locked;
        int result;

        /* We only trust the superuser with rebooting the system. */
        if (!capable(CAP_SYS_BOOT))
                return -EPERM;

These "sys_kexec_load" lines cause build failure.
Patch is available at 
https://lists.ubuntu.com/archives/kernel-team/2009-April/005265.html

** Affects: linux-source-2.6.15 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
2.6.15-54.76 Build failure at kernel/kexec.c
https://bugs.launchpad.net/bugs/364430
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to