Try the realtime-preempt kernel. It should work on
AMD64 these days.
Guess not. I tried 2.6.11 patched with 2.6.12-rc2 and
realtime-preempt-2.6.12-rc2-RT-V0.7.45-01 with full preemption,
the lowest preemption setting, and with the desktop setting but
nothing worked.
Any ideas?
Thanks!
-thewade
Error output--------
CONFIG_PREEMPT_RT=y
CC init/main.o
In file included from include/linux/rwsem.h:38,
from include/linux/kobject.h:24,
from include/linux/module.h:19,
from init/main.c:16:
include/asm/rwsem.h:55: error: redefinition of `struct rw_semaphore\'
In file included from include/linux/rwsem.h:38,
from include/linux/kobject.h:24,
from include/linux/module.h:19,
from init/main.c:16:
include/asm/rwsem.h:79:1: warning: \"__RWSEM_INITIALIZER\" redefined
In file included from include/linux/spinlock.h:16,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from init/main.c:16:
include/linux/rt_lock.h:295:1: warning: this is the location of the previous definition
In file included from include/linux/rwsem.h:38,
from include/linux/kobject.h:24,
from include/linux/module.h:19,
from init/main.c:16:
include/asm/rwsem.h:83:1: warning: \"DECLARE_RWSEM\" redefined
In file included from include/linux/spinlock.h:16,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from init/main.c:16:
include/linux/rt_lock.h:298:1: warning: this is the location of the previous definition
include/asm/rwsem.h:86: error: syntax error before \"do\"
In file included from include/linux/kobject.h:24,
from include/linux/module.h:19,
from init/main.c:16:
include/linux/rwsem.h: In function `compat_down_read\':
include/linux/rwsem.h:56: warning: passing arg 1 of `__down_read\' from incompatible
pointer type
include/linux/rwsem.h: In function `compat_down_read_trylock\':
include/linux/rwsem.h:67: warning: passing arg 1 of `__down_read_trylock\' from
incompatible pointer type
include/linux/rwsem.h: In function `compat_down_write\':
include/linux/rwsem.h:79: warning: passing arg 1 of `__down_write\' from incompatible
pointer type
include/linux/rwsem.h: In function `compat_down_write_trylock\':
include/linux/rwsem.h:90: warning: passing arg 1 of `__down_write_trylock\' from
incompatible pointer type
include/linux/rwsem.h: In function `compat_up_read\':
include/linux/rwsem.h:101: warning: passing arg 1 of `__up_read\' from incompatible
pointer type
include/linux/rwsem.h: In function `compat_up_write\':
include/linux/rwsem.h:111: warning: passing arg 1 of `__up_write\' from incompatible
pointer type
include/linux/rwsem.h: In function `compat_downgrade_write\':
include/linux/rwsem.h:121: warning: passing arg 1 of `__downgrade_write\' from
incompatible pointer type
In file included from include/linux/proc_fs.h:6,
from init/main.c:17:
include/linux/fs.h: In function `lock_super\':
include/linux/fs.h:828: warning: implicit declaration of function `compat_down\'
include/linux/fs.h: In function `unlock_super\':
include/linux/fs.h:833: warning: implicit declaration of function `compat_up\'
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
CONFIG_PREEMPT_DESKTOP=y
CC arch/x86_64/kernel/init_task.o
arch/x86_64/kernel/init_task.c:17: warning: implicit declaration of function
`__RWSEM_INITIALIZER\'
arch/x86_64/kernel/init_task.c:17: warning: missing braces around initializer
arch/x86_64/kernel/init_task.c:17: warning: (near initialization for
`init_mm.mmap_sem\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.mmap_sem.activity\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.mmap_sem\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.page_table_lock\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for `init_mm.mmlist\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.cpu_vm_mask\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.default_kioctx.users\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.default_kioctx.wait.lock\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.default_kioctx.wait.task_list\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.default_kioctx.wait\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.default_kioctx.ctx_lock\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.default_kioctx\')
make[1]: *** [arch/x86_64/kernel/init_task.o] Error 1
make: *** [arch/x86_64/kernel] Error 2
CONFIG_PREEMPT_VOLUNTARY=y
CC arch/x86_64/kernel/init_task.o
arch/x86_64/kernel/init_task.c:17: warning: implicit declaration of function
`__RWSEM_INITIALIZER\'
arch/x86_64/kernel/init_task.c:17: warning: missing braces around initializer
arch/x86_64/kernel/init_task.c:17: warning: (near initialization for
`init_mm.mmap_sem\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.mmap_sem.activity\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.mmap_sem\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.page_table_lock\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for `init_mm.mmlist\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.cpu_vm_mask\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.default_kioctx.users\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.default_kioctx.wait.lock\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.default_kioctx.wait.task_list\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.default_kioctx.wait\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.default_kioctx.ctx_lock\')
arch/x86_64/kernel/init_task.c:17: error: initializer element is not constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.default_kioctx\')
make[1]: *** [arch/x86_64/kernel/init_task.o] Error 1
make: *** [arch/x86_64/kernel] Error 2