* 2.6.14-rt15: cannot build with !PREEMPT_RT
@ 2005-11-26 6:52 Lee Revell
2005-11-26 12:23 ` Ingo Molnar
0 siblings, 1 reply; 33+ messages in thread
From: Lee Revell @ 2005-11-26 6:52 UTC (permalink / raw)
To: Ingo Molnar; +Cc: linux-kernel
I get tons of these errors:
CC arch/i386/kernel/i386_ksyms.o
In file included from include/linux/spinlock.h:97,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from arch/i386/kernel/i386_ksyms.c:2:
include/linux/rt_lock.h:386: warning: 'struct semaphore' declared inside
parameter list
include/linux/rt_lock.h:386: warning: its scope is only this definition
or declaration, which is probably not what you want
Lee
^ permalink raw reply [flat|nested] 33+ messages in thread* Re: 2.6.14-rt15: cannot build with !PREEMPT_RT 2005-11-26 6:52 2.6.14-rt15: cannot build with !PREEMPT_RT Lee Revell @ 2005-11-26 12:23 ` Ingo Molnar 2005-11-26 19:05 ` Lee Revell 0 siblings, 1 reply; 33+ messages in thread From: Ingo Molnar @ 2005-11-26 12:23 UTC (permalink / raw) To: Lee Revell; +Cc: linux-kernel, david singleton * Lee Revell <rlrevell@joe-job.com> wrote: > I get tons of these errors: > > CC arch/i386/kernel/i386_ksyms.o > In file included from include/linux/spinlock.h:97, > from include/linux/capability.h:45, > from include/linux/sched.h:7, > from include/linux/module.h:10, > from arch/i386/kernel/i386_ksyms.c:2: > include/linux/rt_lock.h:386: warning: 'struct semaphore' declared inside > parameter list > include/linux/rt_lock.h:386: warning: its scope is only this definition > or declaration, which is probably not what you want could you try -rt16, does it work better? Ingo ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.14-rt15: cannot build with !PREEMPT_RT 2005-11-26 12:23 ` Ingo Molnar @ 2005-11-26 19:05 ` Lee Revell 2005-11-26 19:46 ` Thomas Gleixner 0 siblings, 1 reply; 33+ messages in thread From: Lee Revell @ 2005-11-26 19:05 UTC (permalink / raw) To: Ingo Molnar; +Cc: linux-kernel, david singleton On Sat, 2005-11-26 at 13:23 +0100, Ingo Molnar wrote: > * Lee Revell <rlrevell@joe-job.com> wrote: > > > I get tons of these errors: > > > > CC arch/i386/kernel/i386_ksyms.o > > In file included from include/linux/spinlock.h:97, > > from include/linux/capability.h:45, > > from include/linux/sched.h:7, > > from include/linux/module.h:10, > > from arch/i386/kernel/i386_ksyms.c:2: > > include/linux/rt_lock.h:386: warning: 'struct semaphore' declared inside > > parameter list > > include/linux/rt_lock.h:386: warning: its scope is only this definition > > or declaration, which is probably not what you want > > could you try -rt16, does it work better? > -rt19 seems to work except that asm/io_apic.h fails to include asm/apicdef.h so MAX_IO_APICS is undefined. Lee ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.14-rt15: cannot build with !PREEMPT_RT 2005-11-26 19:05 ` Lee Revell @ 2005-11-26 19:46 ` Thomas Gleixner 2005-11-27 12:30 ` Ingo Molnar 0 siblings, 1 reply; 33+ messages in thread From: Thomas Gleixner @ 2005-11-26 19:46 UTC (permalink / raw) To: Lee Revell; +Cc: Ingo Molnar, linux-kernel, david singleton On Sat, 2005-11-26 at 14:05 -0500, Lee Revell wrote: > -rt19 seems to work except that asm/io_apic.h fails to include > asm/apicdef.h so MAX_IO_APICS is undefined. The patch below fixes the Makefile x86_64 clutter and the io_apic compile problem tglx Index: linux-2.6.14-rt/Makefile =================================================================== --- linux-2.6.14-rt.orig/Makefile +++ linux-2.6.14-rt/Makefile @@ -189,8 +189,8 @@ SUBARCH := $(shell uname -m | sed -e s/i # Default value for CROSS_COMPILE is not to prefix executables # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile -ARCH = x86_64 -CROSS_COMPILE = x86_64-linux- +ARCH ?= $(SUBARCH) +CROSS_COMPILE ?= # Architecture as present in compile.h UTS_MACHINE := $(ARCH) Index: linux-2.6.14-rt/arch/i386/kernel/i8253.c =================================================================== --- linux-2.6.14-rt.orig/arch/i386/kernel/i8253.c +++ linux-2.6.14-rt/arch/i386/kernel/i8253.c @@ -10,10 +10,10 @@ #include <linux/init.h> #include <linux/mca.h> +#include <asm/smp.h> #include <asm/io_apic.h> #include <asm/delay.h> #include <asm/i8253.h> -#include <asm/smp.h> #include <asm/io.h> #include "io_ports.h" ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.14-rt15: cannot build with !PREEMPT_RT 2005-11-26 19:46 ` Thomas Gleixner @ 2005-11-27 12:30 ` Ingo Molnar 2005-11-27 19:57 ` Lee Revell 2005-11-28 1:27 ` Lee Revell 0 siblings, 2 replies; 33+ messages in thread From: Ingo Molnar @ 2005-11-27 12:30 UTC (permalink / raw) To: Thomas Gleixner; +Cc: Lee Revell, linux-kernel, david singleton * Thomas Gleixner <tglx@linutronix.de> wrote: > On Sat, 2005-11-26 at 14:05 -0500, Lee Revell wrote: > > > -rt19 seems to work except that asm/io_apic.h fails to include > > asm/apicdef.h so MAX_IO_APICS is undefined. > > The patch below fixes the Makefile x86_64 clutter and the io_apic > compile problem thanks, applied. Ingo ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.14-rt15: cannot build with !PREEMPT_RT 2005-11-27 12:30 ` Ingo Molnar @ 2005-11-27 19:57 ` Lee Revell 2005-11-28 11:44 ` Ingo Molnar 2005-11-28 1:27 ` Lee Revell 1 sibling, 1 reply; 33+ messages in thread From: Lee Revell @ 2005-11-27 19:57 UTC (permalink / raw) To: Ingo Molnar; +Cc: Thomas Gleixner, linux-kernel, david singleton On Sun, 2005-11-27 at 13:30 +0100, Ingo Molnar wrote: > * Thomas Gleixner <tglx@linutronix.de> wrote: > > > On Sat, 2005-11-26 at 14:05 -0500, Lee Revell wrote: > > > > > -rt19 seems to work except that asm/io_apic.h fails to include > > > asm/apicdef.h so MAX_IO_APICS is undefined. > > > > The patch below fixes the Makefile x86_64 clutter and the io_apic > > compile problem > > thanks, applied. -rt19 still does not boot for me with PREEMPT_DESKTOP and the latency debugging options enabled (same .config I sent previously). I get endless screenfuls of "=============" on boot. grep shows that these most likely come from kernel/rt.c. rlrevell@mindpipe:~$ grep -rI "=====================" linux-2.6.14-rt19/kernel/ linux-2.6.14-rt19/kernel/rt.c: printk("=============================================\n\n"); linux-2.6.14-rt19/kernel/rt.c: printk("\n==========================================\n"); linux-2.6.14-rt19/kernel/rt.c: printk("\n===========================================\n"); linux-2.6.14-rt19/kernel/rt.c: printk("\n============================================\n"); Lee ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.14-rt15: cannot build with !PREEMPT_RT 2005-11-27 19:57 ` Lee Revell @ 2005-11-28 11:44 ` Ingo Molnar 0 siblings, 0 replies; 33+ messages in thread From: Ingo Molnar @ 2005-11-28 11:44 UTC (permalink / raw) To: Lee Revell; +Cc: Thomas Gleixner, linux-kernel, david singleton * Lee Revell <rlrevell@joe-job.com> wrote: > -rt19 still does not boot for me with PREEMPT_DESKTOP and the latency > debugging options enabled (same .config I sent previously). I get > endless screenfuls of "=============" on boot. grep shows that these > most likely come from kernel/rt.c. yeah - i can reproduce it with your .config. It goes away if i go from PREEMPT_DESKTOP to PREEMPT_RT. Investigating. Ingo ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.14-rt15: cannot build with !PREEMPT_RT 2005-11-27 12:30 ` Ingo Molnar 2005-11-27 19:57 ` Lee Revell @ 2005-11-28 1:27 ` Lee Revell 2005-11-28 11:48 ` Ingo Molnar 1 sibling, 1 reply; 33+ messages in thread From: Lee Revell @ 2005-11-28 1:27 UTC (permalink / raw) To: Ingo Molnar; +Cc: Thomas Gleixner, linux-kernel, david singleton On Sun, 2005-11-27 at 13:30 +0100, Ingo Molnar wrote: > * Thomas Gleixner <tglx@linutronix.de> wrote: > > > On Sat, 2005-11-26 at 14:05 -0500, Lee Revell wrote: > > > > > -rt19 seems to work except that asm/io_apic.h fails to include > > > asm/apicdef.h so MAX_IO_APICS is undefined. > > > > The patch below fixes the Makefile x86_64 clutter and the io_apic > > compile problem > > thanks, applied. > -rt20 BUGs and dies on boot with an assertion at line 1931 of fs/jbd/transaction.c: 1924 void __journal_file_buffer(struct journal_head *jh, 1925 transaction_t *transaction, int jlist) 1926 { 1927 struct journal_head **list = NULL; 1928 int was_dirty = 0; 1929 struct buffer_head *bh = jh2bh(jh); 1930 1931 J_ASSERT_JH(jh, jbd_is_locked_bh_state(bh)); 1932 assert_spin_locked(&transaction->t_journal->j_list_lock); 1933 Lee ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.14-rt15: cannot build with !PREEMPT_RT 2005-11-28 1:27 ` Lee Revell @ 2005-11-28 11:48 ` Ingo Molnar 2005-11-28 14:56 ` Lee Revell 0 siblings, 1 reply; 33+ messages in thread From: Ingo Molnar @ 2005-11-28 11:48 UTC (permalink / raw) To: Lee Revell; +Cc: Thomas Gleixner, linux-kernel, david singleton which was the last -rt kernel that worked fine for you in PREEMPT_DESKTOP mode? Ingo ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.14-rt15: cannot build with !PREEMPT_RT 2005-11-28 11:48 ` Ingo Molnar @ 2005-11-28 14:56 ` Lee Revell 2005-11-28 16:00 ` Ingo Molnar 0 siblings, 1 reply; 33+ messages in thread From: Lee Revell @ 2005-11-28 14:56 UTC (permalink / raw) To: Ingo Molnar; +Cc: Thomas Gleixner, linux-kernel, david singleton On Mon, 2005-11-28 at 12:48 +0100, Ingo Molnar wrote: > which was the last -rt kernel that worked fine for you in > PREEMPT_DESKTOP mode? It has been a long time, possibly months - I've mostly been using PREEMPT_RT. But now I am working on a soft RT project that for various reasons would like to use the mainline kernel, and I've found it still has some scheduling bumps up to 5-7ms and am trying to identify the problem. Would you like me to do a binary search? Lee ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.14-rt15: cannot build with !PREEMPT_RT 2005-11-28 14:56 ` Lee Revell @ 2005-11-28 16:00 ` Ingo Molnar 2005-11-28 17:50 ` Lee Revell ` (2 more replies) 0 siblings, 3 replies; 33+ messages in thread From: Ingo Molnar @ 2005-11-28 16:00 UTC (permalink / raw) To: Lee Revell; +Cc: Thomas Gleixner, linux-kernel, david singleton * Lee Revell <rlrevell@joe-job.com> wrote: > On Mon, 2005-11-28 at 12:48 +0100, Ingo Molnar wrote: > > which was the last -rt kernel that worked fine for you in > > PREEMPT_DESKTOP mode? > > It has been a long time, possibly months - I've mostly been using > PREEMPT_RT. But now I am working on a soft RT project that for > various reasons would like to use the mainline kernel, and I've found > it still has some scheduling bumps up to 5-7ms and am trying to > identify the problem. ok. > Would you like me to do a binary search? that would certainly be very helpful! Ingo ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.14-rt15: cannot build with !PREEMPT_RT 2005-11-28 16:00 ` Ingo Molnar @ 2005-11-28 17:50 ` Lee Revell 2005-11-28 20:34 ` Lee Revell 2005-11-28 22:40 ` Lee Revell 2 siblings, 0 replies; 33+ messages in thread From: Lee Revell @ 2005-11-28 17:50 UTC (permalink / raw) To: Ingo Molnar; +Cc: Thomas Gleixner, linux-kernel, david singleton On Mon, 2005-11-28 at 17:00 +0100, Ingo Molnar wrote: > * Lee Revell <rlrevell@joe-job.com> wrote: > > > On Mon, 2005-11-28 at 12:48 +0100, Ingo Molnar wrote: > > > which was the last -rt kernel that worked fine for you in > > > PREEMPT_DESKTOP mode? > > > > It has been a long time, possibly months - I've mostly been using > > PREEMPT_RT. But now I am working on a soft RT project that for > > various reasons would like to use the mainline kernel, and I've found > > it still has some scheduling bumps up to 5-7ms and am trying to > > identify the problem. > > ok. > > > Would you like me to do a binary search? > > that would certainly be very helpful! > OK, 2.6.13-rt12 has the same problem. I'm trying 2.6.13-rc4-RT-V0.7.52-02 now which is the oldest thing I still have around. Lee ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.14-rt15: cannot build with !PREEMPT_RT 2005-11-28 16:00 ` Ingo Molnar 2005-11-28 17:50 ` Lee Revell @ 2005-11-28 20:34 ` Lee Revell 2005-11-28 22:40 ` Lee Revell 2 siblings, 0 replies; 33+ messages in thread From: Lee Revell @ 2005-11-28 20:34 UTC (permalink / raw) To: Ingo Molnar; +Cc: Thomas Gleixner, linux-kernel, david singleton On Mon, 2005-11-28 at 17:00 +0100, Ingo Molnar wrote: > * Lee Revell <rlrevell@joe-job.com> wrote: > > > On Mon, 2005-11-28 at 12:48 +0100, Ingo Molnar wrote: > > > which was the last -rt kernel that worked fine for you in > > > PREEMPT_DESKTOP mode? > > > > It has been a long time, possibly months - I've mostly been using > > PREEMPT_RT. But now I am working on a soft RT project that for > > various reasons would like to use the mainline kernel, and I've found > > it still has some scheduling bumps up to 5-7ms and am trying to > > identify the problem. > > ok. > > > Would you like me to do a binary search? > > that would certainly be very helpful! > With 2.6.13-rc4-RT-V0.7.52-02 (the oldest version I still have around) I still can't build that config, but it fails with: LD .tmp_vmlinux1 net/built-in.o: In function `rt_check_expire': route.c:(.text+0x1a66a): undefined reference to `__bad_spinlock_type' route.c:(.text+0x1a68d): undefined reference to `__bad_spinlock_type' net/built-in.o: In function `rt_run_flush': route.c:(.text+0x1a7c1): undefined reference to `__bad_spinlock_type' route.c:(.text+0x1a7d9): undefined reference to `__bad_spinlock_type' net/built-in.o: In function `rt_garbage_collect': route.c:(.text+0x1aa2a): undefined reference to `__bad_spinlock_type' net/built-in.o:route.c:(.text+0x1aa55): more undefined references to `__bad_spinlock_type' follow make: *** [.tmp_vmlinux1] Error 1 AFAICT all the realtime-preempt patches have references to __bad_spinlock_type but none of them ever define it - I can't figure out what's going on. I'll try to build something older. Lee ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.14-rt15: cannot build with !PREEMPT_RT 2005-11-28 16:00 ` Ingo Molnar 2005-11-28 17:50 ` Lee Revell 2005-11-28 20:34 ` Lee Revell @ 2005-11-28 22:40 ` Lee Revell 2005-11-29 2:08 ` Lee Revell 2 siblings, 1 reply; 33+ messages in thread From: Lee Revell @ 2005-11-28 22:40 UTC (permalink / raw) To: Ingo Molnar; +Cc: Thomas Gleixner, linux-kernel, david singleton On Mon, 2005-11-28 at 17:00 +0100, Ingo Molnar wrote: > > On Mon, 2005-11-28 at 12:48 +0100, Ingo Molnar wrote: > > > which was the last -rt kernel that worked fine for you in > > > PREEMPT_DESKTOP mode? > > > > Would you like me to do a binary search? > > that would certainly be very helpful! > Well, 2.6.11-RT-V0.7.40-04 works... Lee ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.14-rt15: cannot build with !PREEMPT_RT 2005-11-28 22:40 ` Lee Revell @ 2005-11-29 2:08 ` Lee Revell 2005-11-29 7:29 ` Ingo Molnar 0 siblings, 1 reply; 33+ messages in thread From: Lee Revell @ 2005-11-29 2:08 UTC (permalink / raw) To: Ingo Molnar; +Cc: Thomas Gleixner, linux-kernel, david singleton On Mon, 2005-11-28 at 17:40 -0500, Lee Revell wrote: > 2.6.11-RT-V0.7.40-04 works and 2.6.12-RT-V0.7.51-28 does not. Lee ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.14-rt15: cannot build with !PREEMPT_RT 2005-11-29 2:08 ` Lee Revell @ 2005-11-29 7:29 ` Ingo Molnar 2005-11-29 9:32 ` Ingo Molnar 0 siblings, 1 reply; 33+ messages in thread From: Ingo Molnar @ 2005-11-29 7:29 UTC (permalink / raw) To: Lee Revell; +Cc: Thomas Gleixner, linux-kernel, david singleton * Lee Revell <rlrevell@joe-job.com> wrote: > On Mon, 2005-11-28 at 17:40 -0500, Lee Revell wrote: > > 2.6.11-RT-V0.7.40-04 works > > and 2.6.12-RT-V0.7.51-28 does not. thanks. I have further narrowed it down from this point: your .config breaks from the 51-01 to the 51-02 kernel (on my testbox). Ingo ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.14-rt15: cannot build with !PREEMPT_RT 2005-11-29 7:29 ` Ingo Molnar @ 2005-11-29 9:32 ` Ingo Molnar 2005-11-29 23:19 ` Lee Revell 2005-12-09 1:05 ` Lee Revell 0 siblings, 2 replies; 33+ messages in thread From: Ingo Molnar @ 2005-11-29 9:32 UTC (permalink / raw) To: Lee Revell; +Cc: Thomas Gleixner, linux-kernel, david singleton * Ingo Molnar <mingo@elte.hu> wrote: > * Lee Revell <rlrevell@joe-job.com> wrote: > > > On Mon, 2005-11-28 at 17:40 -0500, Lee Revell wrote: > > > 2.6.11-RT-V0.7.40-04 works > > > > and 2.6.12-RT-V0.7.51-28 does not. > > thanks. I have further narrowed it down from this point: your .config > breaks from the 51-01 to the 51-02 kernel (on my testbox). ok, fixed this one, it was the CURRENT_PTR optimization on UP that broke if 4K stacks were enabled. (i disabled the optimization for now) But interestingly, your .config unearthed 2 other serious bugs (!) as well: the spin_unlock_irq() upon printk was incorrect for !PREEMPT_RT, and there was an assert introduced by the get-rid-of-bitlocks ext3 patches which was invalid on UP && !PREEMPT_RT. We had these bugs for quite some time. I've released -rt21 with these fixes, does it work better for you? Ingo ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.14-rt15: cannot build with !PREEMPT_RT 2005-11-29 9:32 ` Ingo Molnar @ 2005-11-29 23:19 ` Lee Revell 2005-12-09 1:05 ` Lee Revell 1 sibling, 0 replies; 33+ messages in thread From: Lee Revell @ 2005-11-29 23:19 UTC (permalink / raw) To: Ingo Molnar; +Cc: Thomas Gleixner, linux-kernel, david singleton On Tue, 2005-11-29 at 10:32 +0100, Ingo Molnar wrote: > I've released -rt21 with these fixes, does it work better for you? Thanks, this works perfectly. Lee ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.14-rt15: cannot build with !PREEMPT_RT 2005-11-29 9:32 ` Ingo Molnar 2005-11-29 23:19 ` Lee Revell @ 2005-12-09 1:05 ` Lee Revell 2005-12-10 0:25 ` Lee Revell 1 sibling, 1 reply; 33+ messages in thread From: Lee Revell @ 2005-12-09 1:05 UTC (permalink / raw) To: Ingo Molnar; +Cc: Thomas Gleixner, linux-kernel, david singleton On Tue, 2005-11-29 at 10:32 +0100, Ingo Molnar wrote: > * Ingo Molnar <mingo@elte.hu> wrote: > > > * Lee Revell <rlrevell@joe-job.com> wrote: > > > > > On Mon, 2005-11-28 at 17:40 -0500, Lee Revell wrote: > > > > 2.6.11-RT-V0.7.40-04 works > > > > > > and 2.6.12-RT-V0.7.51-28 does not. > > > > thanks. I have further narrowed it down from this point: your .config > > breaks from the 51-01 to the 51-02 kernel (on my testbox). > > ok, fixed this one, it was the CURRENT_PTR optimization on UP that broke > if 4K stacks were enabled. (i disabled the optimization for now) > > But interestingly, your .config unearthed 2 other serious bugs (!) as > well: the spin_unlock_irq() upon printk was incorrect for !PREEMPT_RT, > and there was an assert introduced by the get-rid-of-bitlocks ext3 > patches which was invalid on UP && !PREEMPT_RT. We had these bugs for > quite some time. > > I've released -rt21 with these fixes, does it work better for you? Ingo, We are unable to build a similar .config (PREEMPT_DESKTOP with soft and hardirq preemption disabled) on x86-64: In file included from include/linux/mm.h:15, from kernel/printk.c:20: include/linux/fs.h: In function `lock_super': include/linux/fs.h:849: warning: implicit declaration of function `down' include/linux/fs.h: In function `unlock_super': include/linux/fs.h:855: warning: implicit declaration of function `up' Let me know if you need the exact .config Lee ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.14-rt15: cannot build with !PREEMPT_RT 2005-12-09 1:05 ` Lee Revell @ 2005-12-10 0:25 ` Lee Revell 2005-12-12 17:44 ` 2.6.15-rc5-rt1 will not compile (was Re: 2.6.14-rt15: cannot build with !PREEMPT_RT) Lee Revell 0 siblings, 1 reply; 33+ messages in thread From: Lee Revell @ 2005-12-10 0:25 UTC (permalink / raw) To: Ingo Molnar; +Cc: Thomas Gleixner, linux-kernel, david singleton [-- Attachment #1: Type: text/plain, Size: 2644 bytes --] On Thu, 2005-12-08 at 20:05 -0500, Lee Revell wrote: > On Tue, 2005-11-29 at 10:32 +0100, Ingo Molnar wrote: > > * Ingo Molnar <mingo@elte.hu> wrote: > > > > > * Lee Revell <rlrevell@joe-job.com> wrote: > > > > > > > On Mon, 2005-11-28 at 17:40 -0500, Lee Revell wrote: > > > > > 2.6.11-RT-V0.7.40-04 works > > > > > > > > and 2.6.12-RT-V0.7.51-28 does not. > > > > > > thanks. I have further narrowed it down from this point: your .config > > > breaks from the 51-01 to the 51-02 kernel (on my testbox). > > > > ok, fixed this one, it was the CURRENT_PTR optimization on UP that broke > > if 4K stacks were enabled. (i disabled the optimization for now) > > > > But interestingly, your .config unearthed 2 other serious bugs (!) as > > well: the spin_unlock_irq() upon printk was incorrect for !PREEMPT_RT, > > and there was an assert introduced by the get-rid-of-bitlocks ext3 > > patches which was invalid on UP && !PREEMPT_RT. We had these bugs for > > quite some time. > > > > I've released -rt21 with these fixes, does it work better for you? > We are unable to build a similar .config (PREEMPT_DESKTOP with soft and > hardirq preemption disabled) on x86-64: Here is the build output, .config attached. Lee $ make ARCH=x86_64 CHK include/linux/version.h scripts/kconfig/conf -s arch/x86_64/Kconfig # # using defaults found in .config # SPLIT include/linux/autoconf.h -> include/config/* CC arch/x86_64/kernel/asm-offsets.s GEN include/asm-x86_64/asm-offsets.h HOSTCC scripts/testlpp CC init/main.o 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:849: warning: implicit declaration of function 'down' include/linux/fs.h: In function 'unlock_super': include/linux/fs.h:855: warning: implicit declaration of function 'up' CHK include/linux/compile.h CC init/version.o CC init/do_mounts.o In file included from include/linux/tty.h:20, from init/do_mounts.c:5: include/linux/fs.h: In function 'lock_super': include/linux/fs.h:849: warning: implicit declaration of function 'down' include/linux/fs.h: In function 'unlock_super': include/linux/fs.h:855: warning: implicit declaration of function 'up' CC init/do_mounts_rd.o In file included from init/do_mounts_rd.c:3: include/linux/fs.h: In function 'lock_super': include/linux/fs.h:849: warning: implicit declaration of function 'down' include/linux/fs.h: In function 'unlock_super': include/linux/fs.h:855: warning: implicit declaration of function 'up' CC init/do_mounts_initrd.o etc [-- Attachment #2: config --] [-- Type: text/plain, Size: 35145 bytes --] # # Automatically generated make config: don't edit # Linux kernel version: 2.6.14-rt22 # Wed Dec 7 14:45:10 2005 # CONFIG_X86_64=y CONFIG_64BIT=y CONFIG_X86=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y # CONFIG_PARANOID_GENERIC_TIME is not set CONFIG_SEMAPHORE_SLEEPERS=y CONFIG_MMU=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_X86_CMPXCHG=y CONFIG_EARLY_PRINTK=y CONFIG_GENERIC_ISA_DMA=y CONFIG_GENERIC_IOMAP=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y # # Code maturity level options # CONFIG_EXPERIMENTAL=y CONFIG_CLEAN_COMPILE=y CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 # # General setup # CONFIG_LOCALVERSION="" # CONFIG_LOCALVERSION_AUTO is not set CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y CONFIG_BSD_PROCESS_ACCT=y # CONFIG_BSD_PROCESS_ACCT_V3 is not set CONFIG_SYSCTL=y CONFIG_AUDIT=y CONFIG_AUDITSYSCALL=y CONFIG_HOTPLUG=y # CONFIG_KOBJECT_UEVENT is not set CONFIG_IKCONFIG=y # CONFIG_IKCONFIG_PROC is not set CONFIG_CPUSETS=y CONFIG_INITRAMFS_SOURCE="" # CONFIG_EMBEDDED is not set CONFIG_KALLSYMS=y CONFIG_KALLSYMS_EXTRA_PASS=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SHMEM=y CONFIG_CC_ALIGN_FUNCTIONS=0 CONFIG_CC_ALIGN_LABELS=0 CONFIG_CC_ALIGN_LOOPS=0 CONFIG_CC_ALIGN_JUMPS=0 # CONFIG_TINY_SHMEM is not set CONFIG_BASE_SMALL=0 # # Loadable module support # CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y # CONFIG_MODULE_FORCE_UNLOAD is not set CONFIG_OBSOLETE_MODPARM=y CONFIG_MODVERSIONS=y # CONFIG_MODULE_SRCVERSION_ALL is not set CONFIG_KMOD=y CONFIG_STOP_MACHINE=y # # Processor type and features # # CONFIG_MK8 is not set CONFIG_MPSC=y # CONFIG_GENERIC_CPU is not set CONFIG_X86_L1_CACHE_BYTES=128 CONFIG_X86_L1_CACHE_SHIFT=7 CONFIG_X86_TSC=y CONFIG_X86_GOOD_APIC=y CONFIG_MICROCODE=m CONFIG_X86_MSR=y CONFIG_X86_CPUID=y CONFIG_X86_HT=y CONFIG_X86_IO_APIC=y CONFIG_X86_LOCAL_APIC=y CONFIG_MTRR=y CONFIG_SMP=y # CONFIG_SCHED_SMT is not set # CONFIG_PREEMPT_NONE is not set # CONFIG_PREEMPT_VOLUNTARY is not set CONFIG_PREEMPT_DESKTOP=y # CONFIG_PREEMPT_RT is not set CONFIG_PREEMPT=y CONFIG_PREEMPT_SOFTIRQS=y CONFIG_PREEMPT_HARDIRQS=y # CONFIG_SPINLOCK_BKL is not set CONFIG_PREEMPT_BKL=y # CONFIG_PREEMPT_RCU is not set CONFIG_K8_NUMA=y # CONFIG_NUMA_EMU is not set CONFIG_ARCH_DISCONTIGMEM_ENABLE=y CONFIG_NUMA=y CONFIG_ARCH_DISCONTIGMEM_DEFAULT=y CONFIG_ARCH_SPARSEMEM_ENABLE=y CONFIG_SELECT_MEMORY_MODEL=y # CONFIG_FLATMEM_MANUAL is not set CONFIG_DISCONTIGMEM_MANUAL=y # CONFIG_SPARSEMEM_MANUAL is not set CONFIG_DISCONTIGMEM=y CONFIG_FLAT_NODE_MEM_MAP=y CONFIG_NEED_MULTIPLE_NODES=y # CONFIG_SPARSEMEM_STATIC is not set CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID=y CONFIG_NR_CPUS=2 # CONFIG_HOTPLUG_CPU is not set CONFIG_HPET_TIMER=y CONFIG_X86_PM_TIMER=y CONFIG_HPET_EMULATE_RTC=y CONFIG_GART_IOMMU=y CONFIG_SWIOTLB=y CONFIG_X86_MCE=y CONFIG_X86_MCE_INTEL=y CONFIG_PHYSICAL_START=0x100000 # CONFIG_KEXEC is not set CONFIG_SECCOMP=y CONFIG_HZ_100=y # CONFIG_HZ_250 is not set # CONFIG_HZ_1000 is not set CONFIG_HZ=100 CONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_ISA_DMA_API=y CONFIG_GENERIC_PENDING_IRQ=y # # Power management options # CONFIG_PM=y # CONFIG_PM_DEBUG is not set # # ACPI (Advanced Configuration and Power Interface) Support # CONFIG_ACPI=y # CONFIG_ACPI_AC is not set # CONFIG_ACPI_BATTERY is not set # CONFIG_ACPI_BUTTON is not set # CONFIG_ACPI_VIDEO is not set # CONFIG_ACPI_HOTKEY is not set # CONFIG_ACPI_FAN is not set # CONFIG_ACPI_PROCESSOR is not set # CONFIG_ACPI_NUMA is not set # CONFIG_ACPI_ASUS is not set # CONFIG_ACPI_IBM is not set # CONFIG_ACPI_TOSHIBA is not set CONFIG_ACPI_BLACKLIST_YEAR=0 # CONFIG_ACPI_DEBUG is not set CONFIG_ACPI_EC=y CONFIG_ACPI_POWER=y CONFIG_ACPI_SYSTEM=y # CONFIG_ACPI_CONTAINER is not set # # CPU Frequency scaling # # CONFIG_CPU_FREQ is not set # # Bus options (PCI etc.) # CONFIG_PCI=y CONFIG_PCI_DIRECT=y # CONFIG_PCI_MMCONFIG is not set # CONFIG_UNORDERED_IO is not set CONFIG_PCIEPORTBUS=y # CONFIG_HOTPLUG_PCI_PCIE is not set CONFIG_PCI_MSI=y CONFIG_PCI_LEGACY_PROC=y # # PCCARD (PCMCIA/CardBus) support # # CONFIG_PCCARD is not set # # PCI Hotplug Support # CONFIG_HOTPLUG_PCI=y # CONFIG_HOTPLUG_PCI_FAKE is not set # CONFIG_HOTPLUG_PCI_ACPI is not set # CONFIG_HOTPLUG_PCI_CPCI is not set CONFIG_HOTPLUG_PCI_SHPC=m # CONFIG_HOTPLUG_PCI_SHPC_POLL_EVENT_MODE is not set # # Executable file formats / Emulations # CONFIG_BINFMT_ELF=y CONFIG_BINFMT_MISC=y CONFIG_IA32_EMULATION=y # CONFIG_IA32_AOUT is not set CONFIG_COMPAT=y CONFIG_SYSVIPC_COMPAT=y CONFIG_UID16=y # # Networking # CONFIG_NET=y # # Networking options # CONFIG_PACKET=y CONFIG_PACKET_MMAP=y CONFIG_UNIX=y CONFIG_XFRM=y CONFIG_XFRM_USER=y CONFIG_NET_KEY=m CONFIG_INET=y CONFIG_IP_MULTICAST=y CONFIG_IP_ADVANCED_ROUTER=y CONFIG_ASK_IP_FIB_HASH=y # CONFIG_IP_FIB_TRIE is not set CONFIG_IP_FIB_HASH=y CONFIG_IP_MULTIPLE_TABLES=y CONFIG_IP_ROUTE_FWMARK=y CONFIG_IP_ROUTE_MULTIPATH=y # CONFIG_IP_ROUTE_MULTIPATH_CACHED is not set CONFIG_IP_ROUTE_VERBOSE=y # CONFIG_IP_PNP is not set CONFIG_NET_IPIP=m CONFIG_NET_IPGRE=m CONFIG_NET_IPGRE_BROADCAST=y CONFIG_IP_MROUTE=y CONFIG_IP_PIMSM_V1=y CONFIG_IP_PIMSM_V2=y # CONFIG_ARPD is not set CONFIG_SYN_COOKIES=y CONFIG_INET_AH=m CONFIG_INET_ESP=m CONFIG_INET_IPCOMP=m CONFIG_INET_TUNNEL=m # CONFIG_INET_DIAG is not set # CONFIG_TCP_CONG_ADVANCED is not set CONFIG_TCP_CONG_BIC=y # # IP: Virtual Server Configuration # CONFIG_IP_VS=m # CONFIG_IP_VS_DEBUG is not set CONFIG_IP_VS_TAB_BITS=12 # # IPVS transport protocol load balancing support # CONFIG_IP_VS_PROTO_TCP=y CONFIG_IP_VS_PROTO_UDP=y CONFIG_IP_VS_PROTO_ESP=y CONFIG_IP_VS_PROTO_AH=y # # IPVS scheduler # CONFIG_IP_VS_RR=m CONFIG_IP_VS_WRR=m CONFIG_IP_VS_LC=m CONFIG_IP_VS_WLC=m CONFIG_IP_VS_LBLC=m CONFIG_IP_VS_LBLCR=m CONFIG_IP_VS_DH=m CONFIG_IP_VS_SH=m CONFIG_IP_VS_SED=m CONFIG_IP_VS_NQ=m # # IPVS application helper # CONFIG_IP_VS_FTP=m CONFIG_IPV6=m CONFIG_IPV6_PRIVACY=y CONFIG_INET6_AH=m CONFIG_INET6_ESP=m CONFIG_INET6_IPCOMP=m CONFIG_INET6_TUNNEL=m CONFIG_IPV6_TUNNEL=m CONFIG_NETFILTER=y # CONFIG_NETFILTER_DEBUG is not set CONFIG_BRIDGE_NETFILTER=y # CONFIG_NETFILTER_NETLINK is not set # # IP: Netfilter Configuration # CONFIG_IP_NF_CONNTRACK=m CONFIG_IP_NF_CT_ACCT=y # CONFIG_IP_NF_CONNTRACK_MARK is not set # CONFIG_IP_NF_CONNTRACK_EVENTS is not set CONFIG_IP_NF_CT_PROTO_SCTP=m CONFIG_IP_NF_FTP=m CONFIG_IP_NF_IRC=m # CONFIG_IP_NF_NETBIOS_NS is not set CONFIG_IP_NF_TFTP=m CONFIG_IP_NF_AMANDA=m # CONFIG_IP_NF_PPTP is not set CONFIG_IP_NF_QUEUE=m CONFIG_IP_NF_IPTABLES=m CONFIG_IP_NF_MATCH_LIMIT=m CONFIG_IP_NF_MATCH_IPRANGE=m CONFIG_IP_NF_MATCH_MAC=m CONFIG_IP_NF_MATCH_PKTTYPE=m CONFIG_IP_NF_MATCH_MARK=m CONFIG_IP_NF_MATCH_MULTIPORT=m CONFIG_IP_NF_MATCH_TOS=m CONFIG_IP_NF_MATCH_RECENT=m CONFIG_IP_NF_MATCH_ECN=m CONFIG_IP_NF_MATCH_DSCP=m CONFIG_IP_NF_MATCH_AH_ESP=m CONFIG_IP_NF_MATCH_LENGTH=m CONFIG_IP_NF_MATCH_TTL=m CONFIG_IP_NF_MATCH_TCPMSS=m CONFIG_IP_NF_MATCH_HELPER=m CONFIG_IP_NF_MATCH_STATE=m CONFIG_IP_NF_MATCH_CONNTRACK=m CONFIG_IP_NF_MATCH_OWNER=m CONFIG_IP_NF_MATCH_PHYSDEV=m CONFIG_IP_NF_MATCH_ADDRTYPE=m CONFIG_IP_NF_MATCH_REALM=m CONFIG_IP_NF_MATCH_SCTP=m # CONFIG_IP_NF_MATCH_DCCP is not set CONFIG_IP_NF_MATCH_COMMENT=m # CONFIG_IP_NF_MATCH_CONNBYTES is not set # CONFIG_IP_NF_MATCH_HASHLIMIT is not set # CONFIG_IP_NF_MATCH_STRING is not set CONFIG_IP_NF_FILTER=m CONFIG_IP_NF_TARGET_REJECT=m CONFIG_IP_NF_TARGET_LOG=m CONFIG_IP_NF_TARGET_ULOG=m CONFIG_IP_NF_TARGET_TCPMSS=m # CONFIG_IP_NF_TARGET_NFQUEUE is not set CONFIG_IP_NF_NAT=m CONFIG_IP_NF_NAT_NEEDED=y CONFIG_IP_NF_TARGET_MASQUERADE=m CONFIG_IP_NF_TARGET_REDIRECT=m CONFIG_IP_NF_TARGET_NETMAP=m CONFIG_IP_NF_TARGET_SAME=m CONFIG_IP_NF_NAT_SNMP_BASIC=m CONFIG_IP_NF_NAT_IRC=m CONFIG_IP_NF_NAT_FTP=m CONFIG_IP_NF_NAT_TFTP=m CONFIG_IP_NF_NAT_AMANDA=m CONFIG_IP_NF_MANGLE=m CONFIG_IP_NF_TARGET_TOS=m CONFIG_IP_NF_TARGET_ECN=m CONFIG_IP_NF_TARGET_DSCP=m CONFIG_IP_NF_TARGET_MARK=m CONFIG_IP_NF_TARGET_CLASSIFY=m # CONFIG_IP_NF_TARGET_TTL is not set CONFIG_IP_NF_RAW=m CONFIG_IP_NF_TARGET_NOTRACK=m CONFIG_IP_NF_ARPTABLES=m CONFIG_IP_NF_ARPFILTER=m CONFIG_IP_NF_ARP_MANGLE=m # # IPv6: Netfilter Configuration (EXPERIMENTAL) # # CONFIG_IP6_NF_QUEUE is not set CONFIG_IP6_NF_IPTABLES=m CONFIG_IP6_NF_MATCH_LIMIT=m CONFIG_IP6_NF_MATCH_MAC=m CONFIG_IP6_NF_MATCH_RT=m CONFIG_IP6_NF_MATCH_OPTS=m CONFIG_IP6_NF_MATCH_FRAG=m CONFIG_IP6_NF_MATCH_HL=m CONFIG_IP6_NF_MATCH_MULTIPORT=m CONFIG_IP6_NF_MATCH_OWNER=m CONFIG_IP6_NF_MATCH_MARK=m CONFIG_IP6_NF_MATCH_IPV6HEADER=m CONFIG_IP6_NF_MATCH_AHESP=m CONFIG_IP6_NF_MATCH_LENGTH=m CONFIG_IP6_NF_MATCH_EUI64=m CONFIG_IP6_NF_MATCH_PHYSDEV=m CONFIG_IP6_NF_FILTER=m CONFIG_IP6_NF_TARGET_LOG=m # CONFIG_IP6_NF_TARGET_REJECT is not set # CONFIG_IP6_NF_TARGET_NFQUEUE is not set CONFIG_IP6_NF_MANGLE=m CONFIG_IP6_NF_TARGET_MARK=m # CONFIG_IP6_NF_TARGET_HL is not set CONFIG_IP6_NF_RAW=m # # Bridge: Netfilter Configuration # CONFIG_BRIDGE_NF_EBTABLES=m CONFIG_BRIDGE_EBT_BROUTE=m CONFIG_BRIDGE_EBT_T_FILTER=m CONFIG_BRIDGE_EBT_T_NAT=m CONFIG_BRIDGE_EBT_802_3=m CONFIG_BRIDGE_EBT_AMONG=m CONFIG_BRIDGE_EBT_ARP=m CONFIG_BRIDGE_EBT_IP=m CONFIG_BRIDGE_EBT_LIMIT=m CONFIG_BRIDGE_EBT_MARK=m CONFIG_BRIDGE_EBT_PKTTYPE=m CONFIG_BRIDGE_EBT_STP=m CONFIG_BRIDGE_EBT_VLAN=m CONFIG_BRIDGE_EBT_ARPREPLY=m CONFIG_BRIDGE_EBT_DNAT=m CONFIG_BRIDGE_EBT_MARK_T=m CONFIG_BRIDGE_EBT_REDIRECT=m CONFIG_BRIDGE_EBT_SNAT=m CONFIG_BRIDGE_EBT_LOG=m # CONFIG_BRIDGE_EBT_ULOG is not set # # DCCP Configuration (EXPERIMENTAL) # # CONFIG_IP_DCCP is not set # # SCTP Configuration (EXPERIMENTAL) # CONFIG_IP_SCTP=m # CONFIG_SCTP_DBG_MSG is not set # CONFIG_SCTP_DBG_OBJCNT is not set # CONFIG_SCTP_HMAC_NONE is not set # CONFIG_SCTP_HMAC_SHA1 is not set CONFIG_SCTP_HMAC_MD5=y CONFIG_ATM=m CONFIG_ATM_CLIP=m # CONFIG_ATM_CLIP_NO_ICMP is not set CONFIG_ATM_LANE=m # CONFIG_ATM_MPOA is not set CONFIG_ATM_BR2684=m # CONFIG_ATM_BR2684_IPFILTER is not set CONFIG_BRIDGE=m CONFIG_VLAN_8021Q=m # CONFIG_DECNET is not set # CONFIG_LLC2 is not set # CONFIG_IPX is not set # CONFIG_ATALK is not set # CONFIG_X25 is not set # CONFIG_LAPB is not set CONFIG_NET_DIVERT=y # CONFIG_ECONET is not set # CONFIG_WAN_ROUTER is not set CONFIG_NET_SCHED=y CONFIG_NET_SCH_CLK_JIFFIES=y # CONFIG_NET_SCH_CLK_GETTIMEOFDAY is not set # CONFIG_NET_SCH_CLK_CPU is not set CONFIG_NET_SCH_CBQ=m CONFIG_NET_SCH_HTB=m CONFIG_NET_SCH_HFSC=m CONFIG_NET_SCH_ATM=m CONFIG_NET_SCH_PRIO=m CONFIG_NET_SCH_RED=m CONFIG_NET_SCH_SFQ=m CONFIG_NET_SCH_TEQL=m CONFIG_NET_SCH_TBF=m CONFIG_NET_SCH_GRED=m CONFIG_NET_SCH_DSMARK=m CONFIG_NET_SCH_NETEM=m CONFIG_NET_SCH_INGRESS=m CONFIG_NET_QOS=y CONFIG_NET_ESTIMATOR=y CONFIG_NET_CLS=y # CONFIG_NET_CLS_BASIC is not set CONFIG_NET_CLS_TCINDEX=m CONFIG_NET_CLS_ROUTE4=m CONFIG_NET_CLS_ROUTE=y CONFIG_NET_CLS_FW=m CONFIG_NET_CLS_U32=m CONFIG_CLS_U32_PERF=y CONFIG_NET_CLS_IND=y # CONFIG_CLS_U32_MARK is not set CONFIG_NET_CLS_RSVP=m CONFIG_NET_CLS_RSVP6=m # CONFIG_NET_EMATCH is not set # CONFIG_NET_CLS_ACT is not set CONFIG_NET_CLS_POLICE=y # # Network testing # # CONFIG_NET_PKTGEN is not set # CONFIG_HAMRADIO is not set # CONFIG_IRDA is not set # CONFIG_BT is not set # CONFIG_IEEE80211 is not set # # Device Drivers # # # Generic Driver Options # CONFIG_STANDALONE=y CONFIG_PREVENT_FIRMWARE_BUILD=y CONFIG_FW_LOADER=y # # Connector - unified userspace <-> kernelspace linker # # CONFIG_CONNECTOR is not set # # Memory Technology Devices (MTD) # # CONFIG_MTD is not set # # Parallel port support # CONFIG_PARPORT=m CONFIG_PARPORT_PC=m CONFIG_PARPORT_SERIAL=m # CONFIG_PARPORT_PC_FIFO is not set # CONFIG_PARPORT_PC_SUPERIO is not set # CONFIG_PARPORT_GSC is not set CONFIG_PARPORT_1284=y # # Plug and Play support # # CONFIG_PNP is not set # # Block devices # CONFIG_BLK_DEV_FD=m # CONFIG_PARIDE is not set # CONFIG_BLK_CPQ_DA is not set # CONFIG_BLK_CPQ_CISS_DA is not set # CONFIG_BLK_DEV_DAC960 is not set # CONFIG_BLK_DEV_UMEM is not set # CONFIG_BLK_DEV_COW_COMMON is not set CONFIG_BLK_DEV_LOOP=m # CONFIG_BLK_DEV_CRYPTOLOOP is not set CONFIG_BLK_DEV_NBD=m # CONFIG_BLK_DEV_SX8 is not set # CONFIG_BLK_DEV_UB is not set CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_COUNT=16 CONFIG_BLK_DEV_RAM_SIZE=16384 CONFIG_BLK_DEV_INITRD=y CONFIG_LBD=y # CONFIG_CDROM_PKTCDVD is not set # # IO Schedulers # CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_AS=y CONFIG_IOSCHED_DEADLINE=y CONFIG_IOSCHED_CFQ=y # CONFIG_ATA_OVER_ETH is not set # # ATA/ATAPI/MFM/RLL support # CONFIG_IDE=y CONFIG_BLK_DEV_IDE=y # # Please see Documentation/ide.txt for help/info on IDE drives # # CONFIG_BLK_DEV_IDE_SATA is not set # CONFIG_BLK_DEV_HD_IDE is not set CONFIG_BLK_DEV_IDEDISK=y CONFIG_IDEDISK_MULTI_MODE=y CONFIG_BLK_DEV_IDECD=y # CONFIG_BLK_DEV_IDETAPE is not set CONFIG_BLK_DEV_IDEFLOPPY=y CONFIG_BLK_DEV_IDESCSI=m # CONFIG_IDE_TASK_IOCTL is not set # # IDE chipset support/bugfixes # CONFIG_IDE_GENERIC=y # CONFIG_BLK_DEV_CMD640 is not set CONFIG_BLK_DEV_IDEPCI=y CONFIG_IDEPCI_SHARE_IRQ=y # CONFIG_BLK_DEV_OFFBOARD is not set CONFIG_BLK_DEV_GENERIC=y # CONFIG_BLK_DEV_OPTI621 is not set # CONFIG_BLK_DEV_RZ1000 is not set CONFIG_BLK_DEV_IDEDMA_PCI=y # CONFIG_BLK_DEV_IDEDMA_FORCED is not set CONFIG_IDEDMA_PCI_AUTO=y # CONFIG_IDEDMA_ONLYDISK is not set # CONFIG_BLK_DEV_AEC62XX is not set # CONFIG_BLK_DEV_ALI15X3 is not set # CONFIG_BLK_DEV_AMD74XX is not set # CONFIG_BLK_DEV_ATIIXP is not set # CONFIG_BLK_DEV_CMD64X is not set # CONFIG_BLK_DEV_TRIFLEX is not set # CONFIG_BLK_DEV_CY82C693 is not set # CONFIG_BLK_DEV_CS5520 is not set # CONFIG_BLK_DEV_CS5530 is not set # CONFIG_BLK_DEV_HPT34X is not set # CONFIG_BLK_DEV_HPT366 is not set # CONFIG_BLK_DEV_SC1200 is not set CONFIG_BLK_DEV_PIIX=y # CONFIG_BLK_DEV_IT821X is not set # CONFIG_BLK_DEV_NS87415 is not set # CONFIG_BLK_DEV_PDC202XX_OLD is not set # CONFIG_BLK_DEV_PDC202XX_NEW is not set # CONFIG_BLK_DEV_SVWKS is not set # CONFIG_BLK_DEV_SIIMAGE is not set # CONFIG_BLK_DEV_SIS5513 is not set # CONFIG_BLK_DEV_SLC90E66 is not set # CONFIG_BLK_DEV_TRM290 is not set # CONFIG_BLK_DEV_VIA82CXXX is not set # CONFIG_IDE_ARM is not set CONFIG_BLK_DEV_IDEDMA=y # CONFIG_IDEDMA_IVB is not set CONFIG_IDEDMA_AUTO=y # CONFIG_BLK_DEV_HD is not set # # SCSI device support # # CONFIG_RAID_ATTRS is not set CONFIG_SCSI=m CONFIG_SCSI_PROC_FS=y # # SCSI support type (disk, tape, CD-ROM) # CONFIG_BLK_DEV_SD=m CONFIG_CHR_DEV_ST=m CONFIG_CHR_DEV_OSST=m CONFIG_BLK_DEV_SR=m CONFIG_BLK_DEV_SR_VENDOR=y CONFIG_CHR_DEV_SG=m # CONFIG_CHR_DEV_SCH is not set # # Some SCSI devices (e.g. CD jukebox) support multiple LUNs # # CONFIG_SCSI_MULTI_LUN is not set CONFIG_SCSI_CONSTANTS=y CONFIG_SCSI_LOGGING=y # # SCSI Transport Attributes # CONFIG_SCSI_SPI_ATTRS=m CONFIG_SCSI_FC_ATTRS=m # CONFIG_SCSI_ISCSI_ATTRS is not set # CONFIG_SCSI_SAS_ATTRS is not set # # SCSI low-level drivers # # CONFIG_BLK_DEV_3W_XXXX_RAID is not set # CONFIG_SCSI_3W_9XXX is not set # CONFIG_SCSI_ACARD is not set CONFIG_SCSI_AACRAID=m CONFIG_SCSI_AIC7XXX=m CONFIG_AIC7XXX_CMDS_PER_DEVICE=4 CONFIG_AIC7XXX_RESET_DELAY_MS=15000 # CONFIG_AIC7XXX_DEBUG_ENABLE is not set CONFIG_AIC7XXX_DEBUG_MASK=0 # CONFIG_AIC7XXX_REG_PRETTY_PRINT is not set CONFIG_SCSI_AIC7XXX_OLD=m CONFIG_SCSI_AIC79XX=m CONFIG_AIC79XX_CMDS_PER_DEVICE=4 CONFIG_AIC79XX_RESET_DELAY_MS=15000 # CONFIG_AIC79XX_ENABLE_RD_STRM is not set # CONFIG_AIC79XX_DEBUG_ENABLE is not set CONFIG_AIC79XX_DEBUG_MASK=0 # CONFIG_AIC79XX_REG_PRETTY_PRINT is not set CONFIG_MEGARAID_NEWGEN=y CONFIG_MEGARAID_MM=m CONFIG_MEGARAID_MAILBOX=m # CONFIG_MEGARAID_SAS is not set CONFIG_SCSI_SATA=m CONFIG_SCSI_SATA_AHCI=m # CONFIG_SCSI_SATA_SVW is not set CONFIG_SCSI_ATA_PIIX=m CONFIG_SCSI_SATA_MV=m # CONFIG_SCSI_SATA_NV is not set # CONFIG_SCSI_SATA_PROMISE is not set # CONFIG_SCSI_SATA_QSTOR is not set # CONFIG_SCSI_SATA_SX4 is not set # CONFIG_SCSI_SATA_SIL is not set # CONFIG_SCSI_SATA_SIS is not set # CONFIG_SCSI_SATA_ULI is not set # CONFIG_SCSI_SATA_VIA is not set # CONFIG_SCSI_SATA_VITESSE is not set CONFIG_SCSI_SATA_INTEL_COMBINED=y # CONFIG_SCSI_BUSLOGIC is not set # CONFIG_SCSI_DMX3191D is not set # CONFIG_SCSI_EATA is not set # CONFIG_SCSI_FUTURE_DOMAIN is not set CONFIG_SCSI_GDTH=m # CONFIG_SCSI_IPS is not set # CONFIG_SCSI_INITIO is not set # CONFIG_SCSI_INIA100 is not set # CONFIG_SCSI_PPA is not set # CONFIG_SCSI_IMM is not set # CONFIG_SCSI_SYM53C8XX_2 is not set # CONFIG_SCSI_IPR is not set # CONFIG_SCSI_QLOGIC_FC is not set # CONFIG_SCSI_QLOGIC_1280 is not set CONFIG_SCSI_QLA2XXX=m # CONFIG_SCSI_QLA21XX is not set # CONFIG_SCSI_QLA22XX is not set # CONFIG_SCSI_QLA2300 is not set # CONFIG_SCSI_QLA2322 is not set # CONFIG_SCSI_QLA6312 is not set # CONFIG_SCSI_QLA24XX is not set # CONFIG_SCSI_LPFC is not set # CONFIG_SCSI_DC395x is not set # CONFIG_SCSI_DC390T is not set # CONFIG_SCSI_DEBUG is not set # # Multi-device support (RAID and LVM) # CONFIG_MD=y CONFIG_BLK_DEV_MD=y CONFIG_MD_LINEAR=m CONFIG_MD_RAID0=m CONFIG_MD_RAID1=m CONFIG_MD_RAID10=m CONFIG_MD_RAID5=m CONFIG_MD_RAID6=m CONFIG_MD_MULTIPATH=m # CONFIG_MD_FAULTY is not set CONFIG_BLK_DEV_DM=m # CONFIG_DM_CRYPT is not set # CONFIG_DM_SNAPSHOT is not set # CONFIG_DM_MIRROR is not set # CONFIG_DM_ZERO is not set # CONFIG_DM_MULTIPATH is not set # # Fusion MPT device support # # CONFIG_FUSION is not set # CONFIG_FUSION_SPI is not set # CONFIG_FUSION_FC is not set # CONFIG_FUSION_SAS is not set # # IEEE 1394 (FireWire) support # # CONFIG_IEEE1394 is not set # # I2O device support # # CONFIG_I2O is not set # # Network device support # CONFIG_NETDEVICES=y CONFIG_DUMMY=m CONFIG_BONDING=m # CONFIG_EQUALIZER is not set CONFIG_TUN=m # # ARCnet devices # # CONFIG_ARCNET is not set # # PHY device support # # # Ethernet (10 or 100Mbit) # # CONFIG_NET_ETHERNET is not set # # Ethernet (1000 Mbit) # # CONFIG_ACENIC is not set # CONFIG_DL2K is not set CONFIG_E1000=m CONFIG_E1000_NAPI=y # CONFIG_NS83820 is not set # CONFIG_HAMACHI is not set # CONFIG_YELLOWFIN is not set # CONFIG_R8169 is not set # CONFIG_SIS190 is not set # CONFIG_SKGE is not set # CONFIG_SK98LIN is not set # CONFIG_TIGON3 is not set # CONFIG_BNX2 is not set # # Ethernet (10000 Mbit) # # CONFIG_CHELSIO_T1 is not set # CONFIG_IXGB is not set # CONFIG_S2IO is not set # # Token Ring devices # # CONFIG_TR is not set # # Wireless LAN (non-hamradio) # # CONFIG_NET_RADIO is not set # # Wan interfaces # # CONFIG_WAN is not set # # ATM drivers # # CONFIG_ATM_TCP is not set # CONFIG_ATM_LANAI is not set # CONFIG_ATM_ENI is not set # CONFIG_ATM_FIRESTREAM is not set # CONFIG_ATM_ZATM is not set # CONFIG_ATM_IDT77252 is not set # CONFIG_ATM_AMBASSADOR is not set # CONFIG_ATM_HORIZON is not set # CONFIG_ATM_FORE200E_MAYBE is not set # CONFIG_ATM_HE is not set # CONFIG_FDDI is not set # CONFIG_HIPPI is not set # CONFIG_PLIP is not set # CONFIG_PPP is not set # CONFIG_SLIP is not set # CONFIG_NET_FC is not set # CONFIG_SHAPER is not set CONFIG_NETCONSOLE=m CONFIG_NETPOLL=y # CONFIG_NETPOLL_RX is not set CONFIG_NETPOLL_TRAP=y CONFIG_NET_POLL_CONTROLLER=y # # ISDN subsystem # # CONFIG_ISDN is not set # # Telephony Support # # CONFIG_PHONE is not set # # Input device support # CONFIG_INPUT=y # # Userland interfaces # CONFIG_INPUT_MOUSEDEV=y # CONFIG_INPUT_MOUSEDEV_PSAUX is not set CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 # CONFIG_INPUT_JOYDEV is not set # CONFIG_INPUT_TSDEV is not set CONFIG_INPUT_EVDEV=y # CONFIG_INPUT_EVBUG is not set # # Input Device Drivers # CONFIG_INPUT_KEYBOARD=y CONFIG_KEYBOARD_ATKBD=y # CONFIG_KEYBOARD_SUNKBD is not set # CONFIG_KEYBOARD_LKKBD is not set # CONFIG_KEYBOARD_XTKBD is not set # CONFIG_KEYBOARD_NEWTON is not set CONFIG_INPUT_MOUSE=y CONFIG_MOUSE_PS2=y # CONFIG_MOUSE_SERIAL is not set # CONFIG_MOUSE_VSXXXAA is not set # CONFIG_INPUT_JOYSTICK is not set # CONFIG_INPUT_TOUCHSCREEN is not set # CONFIG_INPUT_MISC is not set # # Hardware I/O ports # CONFIG_SERIO=y CONFIG_SERIO_I8042=y CONFIG_SERIO_SERPORT=y # CONFIG_SERIO_CT82C710 is not set # CONFIG_SERIO_PARKBD is not set # CONFIG_SERIO_PCIPS2 is not set CONFIG_SERIO_LIBPS2=y # CONFIG_SERIO_RAW is not set # CONFIG_GAMEPORT is not set # # Character devices # CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_HW_CONSOLE=y CONFIG_SERIAL_NONSTANDARD=y # CONFIG_ROCKETPORT is not set # CONFIG_CYCLADES is not set # CONFIG_DIGIEPCA is not set # CONFIG_MOXA_SMARTIO is not set # CONFIG_ISI is not set # CONFIG_SYNCLINK is not set # CONFIG_SYNCLINKMP is not set CONFIG_N_HDLC=m # CONFIG_SPECIALIX is not set # CONFIG_SX is not set CONFIG_STALDRV=y # # Serial drivers # CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y # CONFIG_SERIAL_8250_ACPI is not set CONFIG_SERIAL_8250_NR_UARTS=4 CONFIG_SERIAL_8250_EXTENDED=y # CONFIG_SERIAL_8250_MANY_PORTS is not set CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_8250_DETECT_IRQ=y CONFIG_SERIAL_8250_RSA=y # # Non-8250 serial port support # CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE_CONSOLE=y # CONFIG_SERIAL_JSM is not set CONFIG_UNIX98_PTYS=y # CONFIG_LEGACY_PTYS is not set CONFIG_PRINTER=m CONFIG_LP_CONSOLE=y CONFIG_PPDEV=m # CONFIG_TIPAR is not set # # IPMI # CONFIG_IPMI_HANDLER=m # CONFIG_IPMI_PANIC_EVENT is not set CONFIG_IPMI_DEVICE_INTERFACE=m CONFIG_IPMI_SI=m CONFIG_IPMI_WATCHDOG=m CONFIG_IPMI_POWEROFF=m # # Watchdog Cards # CONFIG_WATCHDOG=y # CONFIG_WATCHDOG_NOWAYOUT is not set # # Watchdog Device Drivers # CONFIG_SOFT_WATCHDOG=m CONFIG_ACQUIRE_WDT=m CONFIG_ADVANTECH_WDT=m CONFIG_ALIM1535_WDT=m CONFIG_ALIM7101_WDT=m CONFIG_SC520_WDT=m CONFIG_EUROTECH_WDT=m CONFIG_IB700_WDT=m # CONFIG_IBMASR is not set CONFIG_WAFER_WDT=m # CONFIG_I6300ESB_WDT is not set CONFIG_I8XX_TCO=m CONFIG_SC1200_WDT=m # CONFIG_60XX_WDT is not set # CONFIG_SBC8360_WDT is not set CONFIG_CPU5_WDT=m CONFIG_W83627HF_WDT=m CONFIG_W83877F_WDT=m # CONFIG_W83977F_WDT is not set CONFIG_MACHZ_WDT=m # # PCI-based Watchdog Cards # CONFIG_PCIPCWATCHDOG=m CONFIG_WDTPCI=m CONFIG_WDT_501_PCI=y # # USB-based Watchdog Cards # CONFIG_USBPCWATCHDOG=m CONFIG_HW_RANDOM=m # CONFIG_NVRAM is not set CONFIG_RTC=y CONFIG_RTC_HISTOGRAM=y CONFIG_BLOCKER=y CONFIG_LPPTEST=m CONFIG_DTLK=m # CONFIG_R3964 is not set # CONFIG_APPLICOM is not set # # Ftape, the floppy tape device driver # CONFIG_AGP=y CONFIG_AGP_AMD64=y # CONFIG_AGP_INTEL is not set CONFIG_DRM=y # CONFIG_DRM_TDFX is not set CONFIG_DRM_R128=m CONFIG_DRM_RADEON=m CONFIG_DRM_MGA=m # CONFIG_DRM_SIS is not set # CONFIG_DRM_VIA is not set # CONFIG_DRM_SAVAGE is not set # CONFIG_MWAVE is not set CONFIG_RAW_DRIVER=y # CONFIG_HPET is not set CONFIG_MAX_RAW_DEVS=8192 CONFIG_HANGCHECK_TIMER=m # # TPM devices # # CONFIG_TCG_TPM is not set # # I2C support # CONFIG_I2C=m CONFIG_I2C_CHARDEV=m # # I2C Algorithms # CONFIG_I2C_ALGOBIT=m CONFIG_I2C_ALGOPCF=m CONFIG_I2C_ALGOPCA=m # # I2C Hardware Bus support # CONFIG_I2C_ALI1535=m CONFIG_I2C_ALI1563=m CONFIG_I2C_ALI15X3=m CONFIG_I2C_AMD756=m # CONFIG_I2C_AMD756_S4882 is not set CONFIG_I2C_AMD8111=m CONFIG_I2C_I801=m CONFIG_I2C_I810=m # CONFIG_I2C_PIIX4 is not set CONFIG_I2C_NFORCE2=m # CONFIG_I2C_PARPORT is not set # CONFIG_I2C_PARPORT_LIGHT is not set CONFIG_I2C_PROSAVAGE=m CONFIG_I2C_SAVAGE4=m # CONFIG_SCx200_ACB is not set CONFIG_I2C_SIS5595=m CONFIG_I2C_SIS630=m CONFIG_I2C_SIS96X=m # CONFIG_I2C_STUB is not set CONFIG_I2C_VIA=m CONFIG_I2C_VIAPRO=m CONFIG_I2C_VOODOO3=m # CONFIG_I2C_PCA_ISA is not set # # Miscellaneous I2C Chip support # # CONFIG_SENSORS_DS1337 is not set # CONFIG_SENSORS_DS1374 is not set CONFIG_SENSORS_EEPROM=m CONFIG_SENSORS_PCF8574=m # CONFIG_SENSORS_PCA9539 is not set CONFIG_SENSORS_PCF8591=m CONFIG_SENSORS_RTC8564=m # CONFIG_SENSORS_MAX6875 is not set # CONFIG_I2C_DEBUG_CORE is not set # CONFIG_I2C_DEBUG_ALGO is not set # CONFIG_I2C_DEBUG_BUS is not set # CONFIG_I2C_DEBUG_CHIP is not set # # Dallas's 1-wire bus # # CONFIG_W1 is not set # # Hardware Monitoring support # # CONFIG_HWMON is not set # CONFIG_HWMON_VID is not set # # Misc devices # # CONFIG_IBM_ASM is not set # # Multimedia Capabilities Port drivers # # # Multimedia devices # # CONFIG_VIDEO_DEV is not set # # Digital Video Broadcasting Devices # # CONFIG_DVB is not set # # Graphics support # CONFIG_FB=y CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_COPYAREA=y CONFIG_FB_CFB_IMAGEBLIT=y CONFIG_FB_SOFT_CURSOR=y # CONFIG_FB_MACMODES is not set CONFIG_FB_MODE_HELPERS=y # CONFIG_FB_TILEBLITTING is not set CONFIG_FB_CIRRUS=m # CONFIG_FB_PM2 is not set # CONFIG_FB_CYBER2000 is not set # CONFIG_FB_ARC is not set # CONFIG_FB_ASILIANT is not set # CONFIG_FB_IMSTT is not set CONFIG_FB_VGA16=m CONFIG_FB_VESA=y CONFIG_VIDEO_SELECT=y # CONFIG_FB_HGA is not set # CONFIG_FB_NVIDIA is not set CONFIG_FB_RIVA=m # CONFIG_FB_RIVA_I2C is not set # CONFIG_FB_RIVA_DEBUG is not set # CONFIG_FB_MATROX is not set # CONFIG_FB_RADEON_OLD is not set # CONFIG_FB_RADEON is not set # CONFIG_FB_ATY128 is not set # CONFIG_FB_ATY is not set # CONFIG_FB_SAVAGE is not set # CONFIG_FB_SIS is not set # CONFIG_FB_NEOMAGIC is not set CONFIG_FB_KYRO=m # CONFIG_FB_3DFX is not set # CONFIG_FB_VOODOO1 is not set # CONFIG_FB_CYBLA is not set # CONFIG_FB_TRIDENT is not set # CONFIG_FB_GEODE is not set # CONFIG_FB_S1D13XXX is not set # CONFIG_FB_VIRTUAL is not set # # Console display driver support # CONFIG_VGA_CONSOLE=y CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y # CONFIG_FONTS is not set CONFIG_FONT_8x8=y CONFIG_FONT_8x16=y # # Logo configuration # CONFIG_LOGO=y # CONFIG_LOGO_LINUX_MONO is not set # CONFIG_LOGO_LINUX_VGA16 is not set CONFIG_LOGO_LINUX_CLUT224=y # CONFIG_BACKLIGHT_LCD_SUPPORT is not set # # Sound # # CONFIG_SOUND is not set # # USB support # CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB=y # CONFIG_USB_DEBUG is not set # # Miscellaneous USB options # CONFIG_USB_DEVICEFS=y # CONFIG_USB_BANDWIDTH is not set # CONFIG_USB_DYNAMIC_MINORS is not set # CONFIG_USB_SUSPEND is not set # CONFIG_USB_OTG is not set # # USB Host Controller Drivers # CONFIG_USB_EHCI_HCD=m CONFIG_USB_EHCI_SPLIT_ISO=y CONFIG_USB_EHCI_ROOT_HUB_TT=y # CONFIG_USB_ISP116X_HCD is not set CONFIG_USB_OHCI_HCD=m # CONFIG_USB_OHCI_BIG_ENDIAN is not set CONFIG_USB_OHCI_LITTLE_ENDIAN=y CONFIG_USB_UHCI_HCD=m # CONFIG_USB_SL811_HCD is not set # # USB Device Class drivers # # CONFIG_USB_BLUETOOTH_TTY is not set # CONFIG_USB_ACM is not set # CONFIG_USB_PRINTER is not set # # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information # CONFIG_USB_STORAGE=m # CONFIG_USB_STORAGE_DEBUG is not set CONFIG_USB_STORAGE_DATAFAB=y CONFIG_USB_STORAGE_FREECOM=y CONFIG_USB_STORAGE_ISD200=y # CONFIG_USB_STORAGE_DPCM is not set # CONFIG_USB_STORAGE_USBAT is not set # CONFIG_USB_STORAGE_SDDR09 is not set # CONFIG_USB_STORAGE_SDDR55 is not set # CONFIG_USB_STORAGE_JUMPSHOT is not set # CONFIG_USB_STORAGE_ONETOUCH is not set # # USB Input Devices # CONFIG_USB_HID=y CONFIG_USB_HIDINPUT=y # CONFIG_HID_FF is not set CONFIG_USB_HIDDEV=y # CONFIG_USB_AIPTEK is not set # CONFIG_USB_WACOM is not set # CONFIG_USB_ACECAD is not set # CONFIG_USB_KBTAB is not set # CONFIG_USB_POWERMATE is not set # CONFIG_USB_MTOUCH is not set # CONFIG_USB_ITMTOUCH is not set # CONFIG_USB_EGALAX is not set # CONFIG_USB_YEALINK is not set # CONFIG_USB_XPAD is not set # CONFIG_USB_ATI_REMOTE is not set # CONFIG_USB_KEYSPAN_REMOTE is not set # CONFIG_USB_APPLETOUCH is not set # # USB Imaging devices # # CONFIG_USB_MDC800 is not set # CONFIG_USB_MICROTEK is not set # # USB Multimedia devices # # CONFIG_USB_DABUSB is not set # # Video4Linux support is needed for USB Multimedia device support # # # USB Network Adapters # # CONFIG_USB_CATC is not set # CONFIG_USB_KAWETH is not set # CONFIG_USB_PEGASUS is not set # CONFIG_USB_RTL8150 is not set # CONFIG_USB_USBNET is not set # CONFIG_USB_MON is not set # # USB port drivers # # CONFIG_USB_USS720 is not set # # USB Serial Converter support # CONFIG_USB_SERIAL=m CONFIG_USB_SERIAL_GENERIC=y # CONFIG_USB_SERIAL_AIRPRIME is not set CONFIG_USB_SERIAL_BELKIN=m CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m # CONFIG_USB_SERIAL_CP2101 is not set # CONFIG_USB_SERIAL_CYPRESS_M8 is not set CONFIG_USB_SERIAL_EMPEG=m CONFIG_USB_SERIAL_FTDI_SIO=m CONFIG_USB_SERIAL_VISOR=m CONFIG_USB_SERIAL_IPAQ=m CONFIG_USB_SERIAL_IR=m CONFIG_USB_SERIAL_EDGEPORT=m CONFIG_USB_SERIAL_EDGEPORT_TI=m # CONFIG_USB_SERIAL_GARMIN is not set # CONFIG_USB_SERIAL_IPW is not set CONFIG_USB_SERIAL_KEYSPAN_PDA=m CONFIG_USB_SERIAL_KEYSPAN=m CONFIG_USB_SERIAL_KEYSPAN_MPR=y CONFIG_USB_SERIAL_KEYSPAN_USA28=y CONFIG_USB_SERIAL_KEYSPAN_USA28X=y CONFIG_USB_SERIAL_KEYSPAN_USA28XA=y CONFIG_USB_SERIAL_KEYSPAN_USA28XB=y CONFIG_USB_SERIAL_KEYSPAN_USA19=y CONFIG_USB_SERIAL_KEYSPAN_USA18X=y CONFIG_USB_SERIAL_KEYSPAN_USA19W=y CONFIG_USB_SERIAL_KEYSPAN_USA19QW=y CONFIG_USB_SERIAL_KEYSPAN_USA19QI=y CONFIG_USB_SERIAL_KEYSPAN_USA49W=y CONFIG_USB_SERIAL_KEYSPAN_USA49WLC=y CONFIG_USB_SERIAL_KLSI=m CONFIG_USB_SERIAL_KOBIL_SCT=m CONFIG_USB_SERIAL_MCT_U232=m CONFIG_USB_SERIAL_PL2303=m # CONFIG_USB_SERIAL_HP4X is not set CONFIG_USB_SERIAL_SAFE=m CONFIG_USB_SERIAL_SAFE_PADDED=y # CONFIG_USB_SERIAL_TI is not set CONFIG_USB_SERIAL_CYBERJACK=m CONFIG_USB_SERIAL_XIRCOM=m CONFIG_USB_SERIAL_OMNINET=m CONFIG_USB_EZUSB=y # # USB Miscellaneous drivers # # CONFIG_USB_EMI62 is not set # CONFIG_USB_EMI26 is not set # CONFIG_USB_AUERSWALD is not set # CONFIG_USB_RIO500 is not set # CONFIG_USB_LEGOTOWER is not set # CONFIG_USB_LCD is not set # CONFIG_USB_LED is not set # CONFIG_USB_CYTHERM is not set # CONFIG_USB_PHIDGETKIT is not set # CONFIG_USB_PHIDGETSERVO is not set # CONFIG_USB_IDMOUSE is not set # CONFIG_USB_SISUSBVGA is not set # CONFIG_USB_LD is not set # CONFIG_USB_TEST is not set # # USB DSL modem support # # CONFIG_USB_ATM is not set # # USB Gadget Support # # CONFIG_USB_GADGET is not set # # MMC/SD Card support # # CONFIG_MMC is not set # # InfiniBand support # CONFIG_INFINIBAND=m CONFIG_INFINIBAND_USER_MAD=m CONFIG_INFINIBAND_USER_ACCESS=m CONFIG_INFINIBAND_MTHCA=m # CONFIG_INFINIBAND_MTHCA_DEBUG is not set CONFIG_INFINIBAND_IPOIB=m # CONFIG_INFINIBAND_IPOIB_DEBUG is not set # # SN Devices # # # Firmware Drivers # # CONFIG_EDD is not set # CONFIG_DELL_RBU is not set # CONFIG_DCDBAS is not set # # File systems # CONFIG_EXT2_FS=y CONFIG_EXT2_FS_XATTR=y CONFIG_EXT2_FS_POSIX_ACL=y CONFIG_EXT2_FS_SECURITY=y # CONFIG_EXT2_FS_XIP is not set CONFIG_EXT3_FS=m CONFIG_EXT3_FS_XATTR=y CONFIG_EXT3_FS_POSIX_ACL=y CONFIG_EXT3_FS_SECURITY=y CONFIG_JBD=m # CONFIG_JBD_DEBUG is not set CONFIG_FS_MBCACHE=y # CONFIG_REISERFS_FS is not set # CONFIG_JFS_FS is not set CONFIG_FS_POSIX_ACL=y # CONFIG_XFS_FS is not set # CONFIG_MINIX_FS is not set # CONFIG_ROMFS_FS is not set CONFIG_INOTIFY=y CONFIG_QUOTA=y # CONFIG_QFMT_V1 is not set CONFIG_QFMT_V2=y CONFIG_QUOTACTL=y CONFIG_DNOTIFY=y # CONFIG_AUTOFS_FS is not set CONFIG_AUTOFS4_FS=m # CONFIG_FUSE_FS is not set # # CD-ROM/DVD Filesystems # CONFIG_ISO9660_FS=y CONFIG_JOLIET=y CONFIG_ZISOFS=y CONFIG_ZISOFS_FS=y CONFIG_UDF_FS=m CONFIG_UDF_NLS=y # # DOS/FAT/NT Filesystems # CONFIG_FAT_FS=m CONFIG_MSDOS_FS=m CONFIG_VFAT_FS=m CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET="ascii" # CONFIG_NTFS_FS is not set # # Pseudo filesystems # CONFIG_PROC_FS=y CONFIG_PROC_KCORE=y CONFIG_SYSFS=y CONFIG_TMPFS=y CONFIG_HUGETLBFS=y CONFIG_HUGETLB_PAGE=y CONFIG_RAMFS=y # CONFIG_RELAYFS_FS is not set # # Miscellaneous filesystems # # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set # CONFIG_HFS_FS is not set # CONFIG_HFSPLUS_FS is not set # CONFIG_BEFS_FS is not set # CONFIG_BFS_FS is not set # CONFIG_EFS_FS is not set # CONFIG_CRAMFS is not set # CONFIG_VXFS_FS is not set # CONFIG_HPFS_FS is not set # CONFIG_QNX4FS_FS is not set # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set # # Network File Systems # CONFIG_NFS_FS=m CONFIG_NFS_V3=y # CONFIG_NFS_V3_ACL is not set CONFIG_NFS_V4=y CONFIG_NFS_DIRECTIO=y CONFIG_NFSD=m CONFIG_NFSD_V3=y # CONFIG_NFSD_V3_ACL is not set CONFIG_NFSD_V4=y CONFIG_NFSD_TCP=y CONFIG_LOCKD=m CONFIG_LOCKD_V4=y CONFIG_EXPORTFS=m CONFIG_NFS_COMMON=y CONFIG_SUNRPC=m CONFIG_SUNRPC_GSS=m CONFIG_RPCSEC_GSS_KRB5=m CONFIG_RPCSEC_GSS_SPKM3=m CONFIG_SMB_FS=m # CONFIG_SMB_NLS_DEFAULT is not set CONFIG_CIFS=m # CONFIG_CIFS_STATS is not set # CONFIG_CIFS_XATTR is not set # CONFIG_CIFS_EXPERIMENTAL is not set # CONFIG_NCP_FS is not set # CONFIG_CODA_FS is not set # CONFIG_AFS_FS is not set # CONFIG_9P_FS is not set # # Partition Types # CONFIG_PARTITION_ADVANCED=y # CONFIG_ACORN_PARTITION is not set CONFIG_OSF_PARTITION=y # CONFIG_AMIGA_PARTITION is not set # CONFIG_ATARI_PARTITION is not set CONFIG_MAC_PARTITION=y CONFIG_MSDOS_PARTITION=y CONFIG_BSD_DISKLABEL=y CONFIG_MINIX_SUBPARTITION=y CONFIG_SOLARIS_X86_PARTITION=y CONFIG_UNIXWARE_DISKLABEL=y # CONFIG_LDM_PARTITION is not set CONFIG_SGI_PARTITION=y # CONFIG_ULTRIX_PARTITION is not set CONFIG_SUN_PARTITION=y CONFIG_EFI_PARTITION=y # # Native Language Support # CONFIG_NLS=y CONFIG_NLS_DEFAULT="utf8" CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_CODEPAGE_737=m CONFIG_NLS_CODEPAGE_775=m CONFIG_NLS_CODEPAGE_850=m CONFIG_NLS_CODEPAGE_852=m CONFIG_NLS_CODEPAGE_855=m CONFIG_NLS_CODEPAGE_857=m CONFIG_NLS_CODEPAGE_860=m CONFIG_NLS_CODEPAGE_861=m CONFIG_NLS_CODEPAGE_862=m CONFIG_NLS_CODEPAGE_863=m CONFIG_NLS_CODEPAGE_864=m CONFIG_NLS_CODEPAGE_865=m CONFIG_NLS_CODEPAGE_866=m CONFIG_NLS_CODEPAGE_869=m CONFIG_NLS_CODEPAGE_936=m CONFIG_NLS_CODEPAGE_950=m CONFIG_NLS_CODEPAGE_932=m CONFIG_NLS_CODEPAGE_949=m CONFIG_NLS_CODEPAGE_874=m CONFIG_NLS_ISO8859_8=m CONFIG_NLS_CODEPAGE_1250=m CONFIG_NLS_CODEPAGE_1251=m CONFIG_NLS_ASCII=y CONFIG_NLS_ISO8859_1=m CONFIG_NLS_ISO8859_2=m CONFIG_NLS_ISO8859_3=m CONFIG_NLS_ISO8859_4=m CONFIG_NLS_ISO8859_5=m CONFIG_NLS_ISO8859_6=m CONFIG_NLS_ISO8859_7=m CONFIG_NLS_ISO8859_9=m CONFIG_NLS_ISO8859_13=m CONFIG_NLS_ISO8859_14=m CONFIG_NLS_ISO8859_15=m CONFIG_NLS_KOI8_R=m CONFIG_NLS_KOI8_U=m CONFIG_NLS_UTF8=m # # Profiling support # # CONFIG_PROFILING is not set # # Kernel hacking # # CONFIG_PRINTK_TIME is not set # CONFIG_PRINTK_IGNORE_LOGLEVEL is not set # CONFIG_DEBUG_KERNEL is not set CONFIG_LOG_BUF_SHIFT=15 # CONFIG_WAKEUP_TIMING is not set # CONFIG_CRITICAL_PREEMPT_TIMING is not set # CONFIG_CRITICAL_IRQSOFF_TIMING is not set # # Security options # # CONFIG_KEYS is not set CONFIG_SECURITY=y CONFIG_SECURITY_NETWORK=y CONFIG_SECURITY_CAPABILITIES=y # CONFIG_SECURITY_ROOTPLUG is not set # CONFIG_SECURITY_SECLVL is not set # CONFIG_SECURITY_SELINUX is not set # # Cryptographic options # CONFIG_CRYPTO=y CONFIG_CRYPTO_HMAC=y CONFIG_CRYPTO_NULL=m CONFIG_CRYPTO_MD4=m CONFIG_CRYPTO_MD5=y CONFIG_CRYPTO_SHA1=y CONFIG_CRYPTO_SHA256=m CONFIG_CRYPTO_SHA512=m CONFIG_CRYPTO_WP512=m # CONFIG_CRYPTO_TGR192 is not set CONFIG_CRYPTO_DES=m CONFIG_CRYPTO_BLOWFISH=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_SERPENT=m # CONFIG_CRYPTO_AES_X86_64 is not set CONFIG_CRYPTO_CAST5=m CONFIG_CRYPTO_CAST6=m CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_ARC4=m CONFIG_CRYPTO_KHAZAD=m # CONFIG_CRYPTO_ANUBIS is not set CONFIG_CRYPTO_DEFLATE=m CONFIG_CRYPTO_MICHAEL_MIC=m CONFIG_CRYPTO_CRC32C=m # CONFIG_CRYPTO_TEST is not set # # Hardware crypto devices # # # Library routines # CONFIG_CRC_CCITT=m # CONFIG_CRC16 is not set CONFIG_CRC32=y CONFIG_LIBCRC32C=m CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_DEFLATE=m ^ permalink raw reply [flat|nested] 33+ messages in thread
* 2.6.15-rc5-rt1 will not compile (was Re: 2.6.14-rt15: cannot build with !PREEMPT_RT) 2005-12-10 0:25 ` Lee Revell @ 2005-12-12 17:44 ` Lee Revell 2005-12-12 21:49 ` Steven Rostedt 0 siblings, 1 reply; 33+ messages in thread From: Lee Revell @ 2005-12-12 17:44 UTC (permalink / raw) To: Ingo Molnar; +Cc: Thomas Gleixner, linux-kernel, david singleton On Fri, 2005-12-09 at 19:25 -0500, Lee Revell wrote: > > We are unable to build a similar .config (PREEMPT_DESKTOP with soft and > > hardirq preemption disabled) on x86-64: > > Here is the build output, .config attached. Similar problem with 2.6.15-rc5-rt1: $ make CHK include/linux/version.h UPD include/linux/version.h SYMLINK include/asm -> include/asm-x86_64 SPLIT include/linux/autoconf.h -> include/config/* CC arch/x86_64/kernel/asm-offsets.s In file included from include/asm/semaphore.h:48, from include/linux/sched.h:20, from arch/x86_64/kernel/asm-offsets.c:7: include/linux/rwsem.h:43:66: error: asm/rwsem.h: No such file or directory In file included from include/asm/semaphore.h:48, from include/linux/sched.h:20, from arch/x86_64/kernel/asm-offsets.c:7: include/linux/rwsem.h: In function 'compat_down_read': include/linux/rwsem.h:61: warning: implicit declaration of function '__down_read' include/linux/rwsem.h: In function 'compat_down_read_trylock': include/linux/rwsem.h:72: warning: implicit declaration of function '__down_read_trylock' include/linux/rwsem.h: In function 'compat_down_write': include/linux/rwsem.h:84: warning: implicit declaration of function '__down_write' include/linux/rwsem.h: In function 'compat_down_write_trylock': include/linux/rwsem.h:95: warning: implicit declaration of function '__down_write_trylock' include/linux/rwsem.h: In function 'compat_up_read': include/linux/rwsem.h:106: warning: implicit declaration of function '__up_read' include/linux/rwsem.h: In function 'compat_up_write': include/linux/rwsem.h:116: warning: implicit declaration of function '__up_write' include/linux/rwsem.h: In function 'compat_downgrade_write': include/linux/rwsem.h:126: warning: implicit declaration of function '__downgrade_write' include/linux/rwsem.h: In function 'init_rwsem': include/linux/rwsem.h:136: warning: implicit declaration of function 'compat_init_rwsem' In file included from arch/x86_64/kernel/asm-offsets.c:7: include/linux/sched.h: At top level: include/linux/sched.h:485: error: field 'mmap_sem' has incomplete type make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.15-rc5-rt1 will not compile (was Re: 2.6.14-rt15: cannot build with !PREEMPT_RT) 2005-12-12 17:44 ` 2.6.15-rc5-rt1 will not compile (was Re: 2.6.14-rt15: cannot build with !PREEMPT_RT) Lee Revell @ 2005-12-12 21:49 ` Steven Rostedt 2005-12-12 22:14 ` Lee Revell 2005-12-13 8:15 ` Ingo Molnar 0 siblings, 2 replies; 33+ messages in thread From: Steven Rostedt @ 2005-12-12 21:49 UTC (permalink / raw) To: Lee Revell; +Cc: david singleton, linux-kernel, Thomas Gleixner, Ingo Molnar On Mon, 2005-12-12 at 12:44 -0500, Lee Revell wrote: > On Fri, 2005-12-09 at 19:25 -0500, Lee Revell wrote: > > > We are unable to build a similar .config (PREEMPT_DESKTOP with soft and > > > hardirq preemption disabled) on x86-64: > > > > Here is the build output, .config attached. > > Similar problem with 2.6.15-rc5-rt1: > > $ make > CHK include/linux/version.h > UPD include/linux/version.h > SYMLINK include/asm -> include/asm-x86_64 > SPLIT include/linux/autoconf.h -> include/config/* > CC arch/x86_64/kernel/asm-offsets.s > In file included from include/asm/semaphore.h:48, > from include/linux/sched.h:20, > from arch/x86_64/kernel/asm-offsets.c:7: > include/linux/rwsem.h:43:66: error: asm/rwsem.h: No such file or > directory > In file included from include/asm/semaphore.h:48, > from include/linux/sched.h:20, > from arch/x86_64/kernel/asm-offsets.c:7: Looks like Ingo has a generic rwsem to work with, but if your arch turns on CONFIG_RWSEM_XCHGADD_ALGORITHM, it will compile lib/rwsem.c which won't compile as you've seen. Try out this patch: I changed the Makefile, instead of going to each and every arch and change its Kconfig to do it properly. -- Steve Index: linux-2.6.15-rc5-rt1/lib/Makefile =================================================================== --- linux-2.6.15-rc5-rt1.orig/lib/Makefile 2005-12-12 10:56:37.000000000 -0500 +++ linux-2.6.15-rc5-rt1/lib/Makefile 2005-12-12 16:23:47.000000000 -0500 @@ -19,7 +19,9 @@ obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o obj-$(CONFIG_PREEMPT_RT) += plist.o obj-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o +ifneq ($(CONFIG_RWSEM_GENERIC_SPINLOCK),y) lib-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem.o +endif lib-$(CONFIG_SEMAPHORE_SLEEPERS) += semaphore-sleepers.o lib-$(CONFIG_GENERIC_FIND_NEXT_BIT) += find_next_bit.o obj-$(CONFIG_LOCK_KERNEL) += kernel_lock.o Index: linux-2.6.15-rc5-rt1/arch/x86_64/kernel/x8664_ksyms.c =================================================================== --- linux-2.6.15-rc5-rt1.orig/arch/x86_64/kernel/x8664_ksyms.c 2005-12-12 10:56:37.000000000 -0500 +++ linux-2.6.15-rc5-rt1/arch/x86_64/kernel/x8664_ksyms.c 2005-12-12 16:27:40.000000000 -0500 @@ -165,7 +165,7 @@ EXPORT_SYMBOL(memcpy); EXPORT_SYMBOL(__memcpy); -#ifdef CONFIG_RWSEM_XCHGADD_ALGORITHM +#if defined(CONFIG_RWSEM_XCHGADD_ALGORITHM) && !defined(CONFIG_RWSEM_GENERIC_SPINLOCK) /* prototypes are wrong, these are assembly with custom calling functions */ extern void rwsem_down_read_failed_thunk(void); extern void rwsem_wake_thunk(void); ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.15-rc5-rt1 will not compile (was Re: 2.6.14-rt15: cannot build with !PREEMPT_RT) 2005-12-12 21:49 ` Steven Rostedt @ 2005-12-12 22:14 ` Lee Revell 2005-12-12 22:22 ` Steven Rostedt 2005-12-13 8:15 ` Ingo Molnar 1 sibling, 1 reply; 33+ messages in thread From: Lee Revell @ 2005-12-12 22:14 UTC (permalink / raw) To: Steven Rostedt Cc: david singleton, linux-kernel, Thomas Gleixner, Ingo Molnar On Mon, 2005-12-12 at 16:49 -0500, Steven Rostedt wrote: > On Mon, 2005-12-12 at 12:44 -0500, Lee Revell wrote: > > On Fri, 2005-12-09 at 19:25 -0500, Lee Revell wrote: > > > > We are unable to build a similar .config (PREEMPT_DESKTOP with soft and > > > > hardirq preemption disabled) on x86-64: > > > > > > Here is the build output, .config attached. > > > > Similar problem with 2.6.15-rc5-rt1: > > > > $ make > > CHK include/linux/version.h > > UPD include/linux/version.h > > SYMLINK include/asm -> include/asm-x86_64 > > SPLIT include/linux/autoconf.h -> include/config/* > > CC arch/x86_64/kernel/asm-offsets.s > > In file included from include/asm/semaphore.h:48, > > from include/linux/sched.h:20, > > from arch/x86_64/kernel/asm-offsets.c:7: > > include/linux/rwsem.h:43:66: error: asm/rwsem.h: No such file or > > directory > > In file included from include/asm/semaphore.h:48, > > from include/linux/sched.h:20, > > from arch/x86_64/kernel/asm-offsets.c:7: > > Looks like Ingo has a generic rwsem to work with, but if your arch turns > on CONFIG_RWSEM_XCHGADD_ALGORITHM, it will compile lib/rwsem.c which > won't compile as you've seen. > > Try out this patch: I changed the Makefile, instead of going to each > and every arch and change its Kconfig to do it properly. The patch had no effect. In fact x86-64 does not set CONFIG_RWSEM_XCHGADD_ALGORITHM so this test in include/linux/rwsem.h causes asm/rwsem.h to be included which does not exist on x86-64: 36 #ifdef CONFIG_RWSEM_GENERIC_SPINLOCK 37 # include <linux/rwsem-spinlock.h> /* use a generic implementation */ 38 # ifndef CONFIG_PREEMPT_RT 39 # define __RWSEM_INITIALIZER __COMPAT_RWSEM_INITIALIZER 40 # define DECLARE_RWSEM COMPAT_DECLARE_RWSEM 41 # endif 42 #else 43 # include <asm/rwsem.h> /* use an arch-specific implementation */ 44 #endif If I change that code to always include <linux/rwsem-spinlock.h>, I get the exact same failures I did with 2.6.14-rt22: $ make CHK include/linux/version.h CC arch/x86_64/kernel/asm-offsets.s GEN include/asm-x86_64/asm-offsets.h CC init/main.o 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:867: warning: implicit declaration of function 'down' include/linux/fs.h: In function 'unlock_super': include/linux/fs.h:873: warning: implicit declaration of function 'up' CHK include/linux/compile.h CC init/version.o CC init/do_mounts.o In file included from include/linux/tty.h:20, from init/do_mounts.c:5: include/linux/fs.h: In function 'lock_super': include/linux/fs.h:867: warning: implicit declaration of function 'down' include/linux/fs.h: In function 'unlock_super': include/linux/fs.h:873: warning: implicit declaration of function 'up' etc. Lee ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.15-rc5-rt1 will not compile (was Re: 2.6.14-rt15: cannot build with !PREEMPT_RT) 2005-12-12 22:14 ` Lee Revell @ 2005-12-12 22:22 ` Steven Rostedt 2005-12-12 22:31 ` Lee Revell 2005-12-12 22:39 ` K.R. Foley 0 siblings, 2 replies; 33+ messages in thread From: Steven Rostedt @ 2005-12-12 22:22 UTC (permalink / raw) To: Lee Revell; +Cc: david singleton, linux-kernel, Thomas Gleixner, Ingo Molnar On Mon, 2005-12-12 at 17:14 -0500, Lee Revell wrote: > > The patch had no effect. The patch should work for krfoley though. His errors where the same that I had for i386. I also have it working under x86_64. > > In fact x86-64 does not set CONFIG_RWSEM_XCHGADD_ALGORITHM so this test > in include/linux/rwsem.h causes asm/rwsem.h to be included which does > not exist on x86-64: Yeah OK, you have a different problem. Did you post your .config? You can send it privately to me if you haven't already posted it. -- Steve ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.15-rc5-rt1 will not compile (was Re: 2.6.14-rt15: cannot build with !PREEMPT_RT) 2005-12-12 22:22 ` Steven Rostedt @ 2005-12-12 22:31 ` Lee Revell 2005-12-12 22:34 ` Steven Rostedt 2005-12-13 3:28 ` Steven Rostedt 2005-12-12 22:39 ` K.R. Foley 1 sibling, 2 replies; 33+ messages in thread From: Lee Revell @ 2005-12-12 22:31 UTC (permalink / raw) To: Steven Rostedt Cc: david singleton, linux-kernel, Thomas Gleixner, Ingo Molnar On Mon, 2005-12-12 at 17:22 -0500, Steven Rostedt wrote: > On Mon, 2005-12-12 at 17:14 -0500, Lee Revell wrote: > > > > > The patch had no effect. > > The patch should work for krfoley though. His errors where the same > that I had for i386. I also have it working under x86_64. > > > > In fact x86-64 does not set CONFIG_RWSEM_XCHGADD_ALGORITHM so this test > > in include/linux/rwsem.h causes asm/rwsem.h to be included which does > > not exist on x86-64: > > Yeah OK, you have a different problem. Did you post your .config? You > can send it privately to me if you haven't already posted it. Yes I posted the .config earlier in the thread. Let me know if you want me to resend it to you. Lee ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.15-rc5-rt1 will not compile (was Re: 2.6.14-rt15: cannot build with !PREEMPT_RT) 2005-12-12 22:31 ` Lee Revell @ 2005-12-12 22:34 ` Steven Rostedt 2005-12-13 3:28 ` Steven Rostedt 1 sibling, 0 replies; 33+ messages in thread From: Steven Rostedt @ 2005-12-12 22:34 UTC (permalink / raw) To: Lee Revell; +Cc: david singleton, linux-kernel, Thomas Gleixner, Ingo Molnar On Mon, 12 Dec 2005, Lee Revell wrote: > > Yes I posted the .config earlier in the thread. Let me know if you want > me to resend it to you. > Yeah, could you send it to me privately. I see a .config, but that was for the 2.6.14-rt15 thread. Send it to me and I'll try to compile it later tonight. -- Steve ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.15-rc5-rt1 will not compile (was Re: 2.6.14-rt15: cannot build with !PREEMPT_RT) 2005-12-12 22:31 ` Lee Revell 2005-12-12 22:34 ` Steven Rostedt @ 2005-12-13 3:28 ` Steven Rostedt 2005-12-13 8:08 ` Ingo Molnar 2005-12-16 20:53 ` Lee Revell 1 sibling, 2 replies; 33+ messages in thread From: Steven Rostedt @ 2005-12-13 3:28 UTC (permalink / raw) To: Lee Revell; +Cc: david singleton, linux-kernel, Thomas Gleixner, Ingo Molnar On Mon, 2005-12-12 at 17:31 -0500, Lee Revell wrote: > On Mon, 2005-12-12 at 17:22 -0500, Steven Rostedt wrote: > > On Mon, 2005-12-12 at 17:14 -0500, Lee Revell wrote: > > > > > > > > The patch had no effect. > > > > The patch should work for krfoley though. His errors where the same > > that I had for i386. I also have it working under x86_64. > > > > > > In fact x86-64 does not set CONFIG_RWSEM_XCHGADD_ALGORITHM so this test > > > in include/linux/rwsem.h causes asm/rwsem.h to be included which does > > > not exist on x86-64: > > > > Yeah OK, you have a different problem. Did you post your .config? You > > can send it privately to me if you haven't already posted it. > > Yes I posted the .config earlier in the thread. Let me know if you want > me to resend it to you. Here Lee, I got it to compile, but I haven't yet tried to boot it. As a matter of fact, I haven't booted any 2.6.15-rc5-rt1 on any of my machines. I must trust Ingo too much, since I started porting my kernel to his before testing it to see if it works without my changes. Oh well, I know what to do tomorrow. Well, this compiles, you can see if it boots ;-) -- Steve Index: linux-2.6.15-rc5-rt1/arch/x86_64/Kconfig =================================================================== --- linux-2.6.15-rc5-rt1.orig/arch/x86_64/Kconfig 2005-12-12 10:56:37.000000000 -0500 +++ linux-2.6.15-rc5-rt1/arch/x86_64/Kconfig 2005-12-12 21:33:56.000000000 -0500 @@ -240,7 +240,6 @@ config RWSEM_GENERIC_SPINLOCK bool - depends on PREEMPT_RT default y config RWSEM_XCHGADD_ALGORITHM Index: linux-2.6.15-rc5-rt1/include/asm-x86_64/semaphore.h =================================================================== --- linux-2.6.15-rc5-rt1.orig/include/asm-x86_64/semaphore.h 2005-12-12 10:56:37.000000000 -0500 +++ linux-2.6.15-rc5-rt1/include/asm-x86_64/semaphore.h 2005-12-12 22:13:08.000000000 -0500 @@ -104,6 +104,7 @@ asmlinkage int __compat_down_interruptible(struct compat_semaphore * sem); asmlinkage int __compat_down_trylock(struct compat_semaphore * sem); asmlinkage void __compat_up(struct compat_semaphore * sem); +asmlinkage int compat_sem_is_locked(struct compat_semaphore *sem); /* * This is ugly, but we want the default case to fall through. @@ -199,5 +200,10 @@ :"D" (sem) :"memory"); } + +#ifndef CONFIG_PREEMPT_RT +# include <linux/semaphore.h> +#endif + #endif /* __KERNEL__ */ #endif Index: linux-2.6.15-rc5-rt1/include/linux/rwsem.h =================================================================== --- linux-2.6.15-rc5-rt1.orig/include/linux/rwsem.h 2005-12-12 10:56:37.000000000 -0500 +++ linux-2.6.15-rc5-rt1/include/linux/rwsem.h 2005-12-12 22:13:00.000000000 -0500 @@ -163,6 +163,10 @@ { compat_downgrade_write(rwsem); } +static inline int rwsem_is_locked(struct compat_rw_semaphore *sem) +{ + return compat_rwsem_is_locked(sem); +} #endif /* CONFIG_PREEMPT_RT */ #endif /* __KERNEL__ */ ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.15-rc5-rt1 will not compile (was Re: 2.6.14-rt15: cannot build with !PREEMPT_RT) 2005-12-13 3:28 ` Steven Rostedt @ 2005-12-13 8:08 ` Ingo Molnar 2005-12-16 20:53 ` Lee Revell 1 sibling, 0 replies; 33+ messages in thread From: Ingo Molnar @ 2005-12-13 8:08 UTC (permalink / raw) To: Steven Rostedt; +Cc: Lee Revell, david singleton, linux-kernel, Thomas Gleixner * Steven Rostedt <rostedt@goodmis.org> wrote: > Here Lee, > > I got it to compile, but I haven't yet tried to boot it. As a matter > of fact, I haven't booted any 2.6.15-rc5-rt1 on any of my machines. I > must trust Ingo too much, since I started porting my kernel to his > before testing it to see if it works without my changes. Oh well, I > know what to do tomorrow. thanks, i have applied most of this patch. Ingo ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.15-rc5-rt1 will not compile (was Re: 2.6.14-rt15: cannot build with !PREEMPT_RT) 2005-12-13 3:28 ` Steven Rostedt 2005-12-13 8:08 ` Ingo Molnar @ 2005-12-16 20:53 ` Lee Revell 1 sibling, 0 replies; 33+ messages in thread From: Lee Revell @ 2005-12-16 20:53 UTC (permalink / raw) To: Steven Rostedt Cc: david singleton, linux-kernel, Thomas Gleixner, Ingo Molnar On Mon, 2005-12-12 at 22:28 -0500, Steven Rostedt wrote: > On Mon, 2005-12-12 at 17:31 -0500, Lee Revell wrote: > > On Mon, 2005-12-12 at 17:22 -0500, Steven Rostedt wrote: > > > On Mon, 2005-12-12 at 17:14 -0500, Lee Revell wrote: > > > > > > > > > > > The patch had no effect. > > > > > > The patch should work for krfoley though. His errors where the same > > > that I had for i386. I also have it working under x86_64. > > > > > > > > In fact x86-64 does not set CONFIG_RWSEM_XCHGADD_ALGORITHM so this test > > > > in include/linux/rwsem.h causes asm/rwsem.h to be included which does > > > > not exist on x86-64: > > > > > > Yeah OK, you have a different problem. Did you post your .config? You > > > can send it privately to me if you haven't already posted it. > > > > Yes I posted the .config earlier in the thread. Let me know if you want > > me to resend it to you. > > Here Lee, > > I got it to compile, but I haven't yet tried to boot it. As a matter of > fact, I haven't booted any 2.6.15-rc5-rt1 on any of my machines. I must > trust Ingo too much, since I started porting my kernel to his before > testing it to see if it works without my changes. Oh well, I know what > to do tomorrow. > > Well, this compiles, you can see if it boots ;-) The first chunk of this patch (removing dependency of RWSEM_GENERIC_SPINLOCK on PREEMPT_RT) is still needed to build 2.6.15-rc5-rt2 on x86-64. Not sure whether this boots yet. 2.6.15-rc5-rt1 compiles with the patch but does not boot. Lee ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.15-rc5-rt1 will not compile (was Re: 2.6.14-rt15: cannot build with !PREEMPT_RT) 2005-12-12 22:22 ` Steven Rostedt 2005-12-12 22:31 ` Lee Revell @ 2005-12-12 22:39 ` K.R. Foley 1 sibling, 0 replies; 33+ messages in thread From: K.R. Foley @ 2005-12-12 22:39 UTC (permalink / raw) To: Steven Rostedt Cc: Lee Revell, david singleton, linux-kernel, Thomas Gleixner, Ingo Molnar Steven Rostedt wrote: > On Mon, 2005-12-12 at 17:14 -0500, Lee Revell wrote: > >> The patch had no effect. > > The patch should work for krfoley though. His errors where the same > that I had for i386. I also have it working under x86_64. Yes it does. Sorry I hadn't responded yet. Thanks. Now just wish I could get it booted. :) >> In fact x86-64 does not set CONFIG_RWSEM_XCHGADD_ALGORITHM so this test >> in include/linux/rwsem.h causes asm/rwsem.h to be included which does >> not exist on x86-64: > > Yeah OK, you have a different problem. Did you post your .config? You > can send it privately to me if you haven't already posted it. > > -- Steve > > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > -- kr ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: 2.6.15-rc5-rt1 will not compile (was Re: 2.6.14-rt15: cannot build with !PREEMPT_RT) 2005-12-12 21:49 ` Steven Rostedt 2005-12-12 22:14 ` Lee Revell @ 2005-12-13 8:15 ` Ingo Molnar 2005-12-13 14:32 ` [PATCH -RT] fix i386 RWSEM_GENERIC_SPINLOCK (was: Re: 2.6.15-rc5-rt1 will not compile) Steven Rostedt 1 sibling, 1 reply; 33+ messages in thread From: Ingo Molnar @ 2005-12-13 8:15 UTC (permalink / raw) To: Steven Rostedt; +Cc: Lee Revell, david singleton, linux-kernel, Thomas Gleixner * Steven Rostedt <rostedt@goodmis.org> wrote: > Looks like Ingo has a generic rwsem to work with, but if your arch > turns on CONFIG_RWSEM_XCHGADD_ALGORITHM, it will compile lib/rwsem.c > which won't compile as you've seen. > > Try out this patch: I changed the Makefile, instead of going to each > and every arch and change its Kconfig to do it properly. i rather went for fixing up the Kconfig, that makes things easier to follow. If it turns out to be lots of duplicate stuff we could create a lib/Kconfig.rwsem that architectures can include. Ingo ^ permalink raw reply [flat|nested] 33+ messages in thread
* [PATCH -RT] fix i386 RWSEM_GENERIC_SPINLOCK (was: Re: 2.6.15-rc5-rt1 will not compile) 2005-12-13 8:15 ` Ingo Molnar @ 2005-12-13 14:32 ` Steven Rostedt 2005-12-13 15:03 ` Steven Rostedt 0 siblings, 1 reply; 33+ messages in thread From: Steven Rostedt @ 2005-12-13 14:32 UTC (permalink / raw) To: Ingo Molnar; +Cc: Lee Revell, david singleton, linux-kernel, Thomas Gleixner On Tue, 2005-12-13 at 09:15 +0100, Ingo Molnar wrote: > * Steven Rostedt <rostedt@goodmis.org> wrote: > > > Looks like Ingo has a generic rwsem to work with, but if your arch > > turns on CONFIG_RWSEM_XCHGADD_ALGORITHM, it will compile lib/rwsem.c > > which won't compile as you've seen. > > > > Try out this patch: I changed the Makefile, instead of going to each > > and every arch and change its Kconfig to do it properly. > > i rather went for fixing up the Kconfig, that makes things easier to > follow. If it turns out to be lots of duplicate stuff we could create a > lib/Kconfig.rwsem that architectures can include. > OK, scratch my last patch. I'll submit this arch per arch. Starting with i386. Each arch does it differently, so a generic lib/Konfig.rwsem wouldn't work, since each arch has a different dependency. -- Steve Quick note: I originally had: default y if !(RWSEM_GENERIC_SPINLOCK || PREEMPT_RT || M386) But then I realized that RWSEM_GENERIC_SPINLOCK was dependent on (PREEMPT_RT || M386) so I thought it was redundant to keep the three, since RWSEM_GENERIC_SPINLOCK itself satisfies the dependencies. Index: linux-2.6.15-rc5-rt1/arch/i386/Kconfig =================================================================== --- linux-2.6.15-rc5-rt1.orig/arch/i386/Kconfig 2005-12-12 16:31:25.000000000 -0500 +++ linux-2.6.15-rc5-rt1/arch/i386/Kconfig 2005-12-13 09:14:33.000000000 -0500 @@ -245,8 +245,7 @@ config RWSEM_XCHGADD_ALGORITHM bool - depends on !RWSEM_GENERIC_SPINLOCK && !PREEMPT_RT - default y + default y if !RWSEM_GENERIC_SPINLOCK config X86_UP_APIC bool "Local APIC support on uniprocessors" Index: linux-2.6.15-rc5-rt1/arch/i386/Kconfig.cpu =================================================================== --- linux-2.6.15-rc5-rt1.orig/arch/i386/Kconfig.cpu 2005-12-12 16:31:20.000000000 -0500 +++ linux-2.6.15-rc5-rt1/arch/i386/Kconfig.cpu 2005-12-13 09:10:54.000000000 -0500 @@ -229,11 +229,6 @@ depends on M386 default y -config RWSEM_XCHGADD_ALGORITHM - bool - depends on !M386 - default y - config GENERIC_CALIBRATE_DELAY bool default y Index: linux-2.6.15-rc5-rt1/arch/i386/defconfig =================================================================== --- linux-2.6.15-rc5-rt1.orig/arch/i386/defconfig 2005-10-27 20:02:08.000000000 -0400 +++ linux-2.6.15-rc5-rt1/arch/i386/defconfig 2005-12-13 09:05:21.000000000 -0500 @@ -81,7 +81,7 @@ CONFIG_X86_CMPXCHG=y CONFIG_X86_XADD=y CONFIG_X86_L1_CACHE_SHIFT=7 -CONFIG_RWSEM_XCHGADD_ALGORITHM=y +# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set CONFIG_X86_WP_WORKS_OK=y CONFIG_X86_INVLPG=y CONFIG_X86_BSWAP=y ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [PATCH -RT] fix i386 RWSEM_GENERIC_SPINLOCK (was: Re: 2.6.15-rc5-rt1 will not compile) 2005-12-13 14:32 ` [PATCH -RT] fix i386 RWSEM_GENERIC_SPINLOCK (was: Re: 2.6.15-rc5-rt1 will not compile) Steven Rostedt @ 2005-12-13 15:03 ` Steven Rostedt 0 siblings, 0 replies; 33+ messages in thread From: Steven Rostedt @ 2005-12-13 15:03 UTC (permalink / raw) To: Ingo Molnar; +Cc: Thomas Gleixner, linux-kernel, david singleton, Lee Revell On Tue, 2005-12-13 at 09:32 -0500, Steven Rostedt wrote: > > > > OK, scratch my last patch. I'll submit this arch per arch. Starting > with i386. Each arch does it differently, so a generic lib/Konfig.rwsem > wouldn't work, since each arch has a different dependency. I guess this may be the only patch needed so far. x86_64 doesn't use a RWSEM_XCHGADD_ALGORITHM, and as for the other archs: alpha and ia64 - doesn't have PREEPMT_RT yet. arm, cris, frv, h8300, m32r, parsic don't seem to implement the XCHGADD. But I see that powerpc will need a fix, but I'll let others who actually have the boards to fix them. ;-) As for what I own: x86_64 and i386, the patches I sent are sufficient. If anyone would like to give me a special board (to keep), I'll gladly make sure that Ingo's -RT kernel runs on it. -- Steve ^ permalink raw reply [flat|nested] 33+ messages in thread
end of thread, other threads:[~2005-12-16 20:51 UTC | newest] Thread overview: 33+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-11-26 6:52 2.6.14-rt15: cannot build with !PREEMPT_RT Lee Revell 2005-11-26 12:23 ` Ingo Molnar 2005-11-26 19:05 ` Lee Revell 2005-11-26 19:46 ` Thomas Gleixner 2005-11-27 12:30 ` Ingo Molnar 2005-11-27 19:57 ` Lee Revell 2005-11-28 11:44 ` Ingo Molnar 2005-11-28 1:27 ` Lee Revell 2005-11-28 11:48 ` Ingo Molnar 2005-11-28 14:56 ` Lee Revell 2005-11-28 16:00 ` Ingo Molnar 2005-11-28 17:50 ` Lee Revell 2005-11-28 20:34 ` Lee Revell 2005-11-28 22:40 ` Lee Revell 2005-11-29 2:08 ` Lee Revell 2005-11-29 7:29 ` Ingo Molnar 2005-11-29 9:32 ` Ingo Molnar 2005-11-29 23:19 ` Lee Revell 2005-12-09 1:05 ` Lee Revell 2005-12-10 0:25 ` Lee Revell 2005-12-12 17:44 ` 2.6.15-rc5-rt1 will not compile (was Re: 2.6.14-rt15: cannot build with !PREEMPT_RT) Lee Revell 2005-12-12 21:49 ` Steven Rostedt 2005-12-12 22:14 ` Lee Revell 2005-12-12 22:22 ` Steven Rostedt 2005-12-12 22:31 ` Lee Revell 2005-12-12 22:34 ` Steven Rostedt 2005-12-13 3:28 ` Steven Rostedt 2005-12-13 8:08 ` Ingo Molnar 2005-12-16 20:53 ` Lee Revell 2005-12-12 22:39 ` K.R. Foley 2005-12-13 8:15 ` Ingo Molnar 2005-12-13 14:32 ` [PATCH -RT] fix i386 RWSEM_GENERIC_SPINLOCK (was: Re: 2.6.15-rc5-rt1 will not compile) Steven Rostedt 2005-12-13 15:03 ` Steven Rostedt
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox