2.6.15-rc5-rt4: BUG: swapper:0 task might have lost a preemption check!
Got this on boot. Same .config as the last one I sent you.
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci0000:00:11.1
ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:pio Probing IDE interface ide1... BUG: swapper:0 task might have lost a preemption check! [<c010440c>] dump_stack+0x1c/0x20 (20) [<c01166aa>] preempt_enable_no_resched+0x5a/0x60 (20) [<c0100dd9>] cpu_idle+0x79/0xb0 (12) [<c0100280>] _stext+0x40/0x50 (28) [<c03078e6>] start_kernel+0x176/0x1d0 (20) [<c0100199>] 0xc0100199 (1086889999) ---------------------------
| preempt count: 00000000 ]
| 0-level deep critical section nesting:
----------------------------------------
Lee
Quoted 13 lines · Lee Revell
Got this on boot. Same .config as the last one I sent you.
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci0000:00:11.1ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:pio Probing IDE interface ide1... BUG: swapper:0 task might have lost a preemption check! [<c010440c>] dump_stack+0x1c/0x20 (20) [<c01166aa>] preempt_enable_no_resched+0x5a/0x60 (20) [<c0100dd9>] cpu_idle+0x79/0xb0 (12) [<c0100280>] _stext+0x40/0x50 (28) [<c03078e6>] start_kernel+0x176/0x1d0 (20) [<c0100199>] 0xc0100199 (1086889999) ---------------------------
Quoted 6 lines
| preempt count: 00000000 ]
| 0-level deep critical section nesting:
----------------------------------------Lee
I have been getting this on my SMP system. I have yet to get a successful boot. I have been looking with every spare minute I have had for a couple of days, but have yet to find the problem. :(
Signature · 1 line
kr
Quoted 19 lines · K.R. Foley
Quoted 13 lines · Lee Revell
Got this on boot. Same .config as the last one I sent you.
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci0000:00:11.1ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:pio Probing IDE interface ide1... BUG: swapper:0 task might have lost a preemption check! [<c010440c>] dump_stack+0x1c/0x20 (20) [<c01166aa>] preempt_enable_no_resched+0x5a/0x60 (20) [<c0100dd9>] cpu_idle+0x79/0xb0 (12) [<c0100280>] _stext+0x40/0x50 (28) [<c03078e6>] start_kernel+0x176/0x1d0 (20) [<c0100199>] 0xc0100199 (1086889999) ---------------------------Quoted 5 lines
| preempt count: 00000000 ]
| 0-level deep critical section nesting:
----------------------------------------
OK, I just found an SMP bug, and here's the patch. Maybe this will help you kr. I'm currently running x86_64 SMP with 2.6.15-rc5-rt4 with this and my softirq-no-hrtimers patch I sent earlier.
-- Steve
kernel/workqueue.c +8 -1
@@ -370,10 +370,17 @@void set_workqueue_thread_prio (struct workqueue_struct *wq,int cpu,int policy,int rt_priority,int nice) { -struct task_struct *p = wq->cpu_wq[cpu].thread; +struct cpu_workqueue_struct *cwq; +struct task_struct *p;struct sched_param param = { .sched_priority = rt_priority }; +unsigned long flags;int ret; + cwq =per_cpu_ptr (wq->cpu_wq, cpu); +spin_lock_irqsave (&cwq->lock, flags); + p = cwq->thread; +spin_unlock_irqrestore (&cwq->lock, flags); +set_user_nice (p, nice); ret =sys_sched_setscheduler (p->pid, policy, ¶m);if (ret)
Quoted 44 lines · Steven Rostedt
Quoted 19 lines · K.R. Foley
Quoted 13 lines · Lee Revell
Got this on boot. Same .config as the last one I sent you.
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci0000:00:11.1ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:pio Probing IDE interface ide1... BUG: swapper:0 task might have lost a preemption check! [<c010440c>] dump_stack+0x1c/0x20 (20) [<c01166aa>] preempt_enable_no_resched+0x5a/0x60 (20) [<c0100dd9>] cpu_idle+0x79/0xb0 (12) [<c0100280>] _stext+0x40/0x50 (28) [<c03078e6>] start_kernel+0x176/0x1d0 (20) [<c0100199>] 0xc0100199 (1086889999) ---------------------------Quoted 5 lines
| preempt count: 00000000 ]
| 0-level deep critical section nesting:
----------------------------------------OK, I just found an SMP bug, and here's the patch. Maybe this will help you kr. I'm currently running
x86_64SMP with 2.6.15-rc5-rt4 with this and my softirq-no-hrtimers patch I sent earlier.-- Steve
Index:
linux-2.6.15-rc5-rt4/kernel/workqueue.c
===================================================================kernel/workqueue.c +3
-1@@ -370,10 +370,17 @@void set_workqueue_thread_prio (struct workqueue_struct *wq,int cpu,int policy,int rt_priority,int nice) { -struct task_struct *p = wq->cpu_wq[cpu].thread; +struct cpu_workqueue_struct *cwq; +struct task_struct *p;struct sched_param param = { .sched_priority = rt_priority }; +unsigned long flags;
kernel/workqueue.c line 386
Quoted 10 lines
kernel/workqueue.c +5
-0int ret; + cwq =per_cpu_ptr (wq->cpu_wq, cpu); +spin_lock_irqsave (&cwq->lock, flags); + p = cwq->thread; +spin_unlock_irqrestore (&cwq->lock, flags); +set_user_nice (p, nice); ret =sys_sched_setscheduler (p->pid, policy, ¶m);if (ret)
OK. The BUG still exists (output below) but it does boot now with the above patch applied (THANKS Steven!), which would seem to imply the two weren't related. ARGH! :)
Dec 23 10:16:27 porky kernel: Event source lapic installed with caps set: 06 Dec 23 10:16:27 porky kernel: BUG: swapper:0 task might have lost a preemption check! Dec 23 10:16:27 porky kernel: Brought up 2 CPUs Dec 23 10:16:27 porky kernel: checking if image is initramfs... it is Dec 23 10:16:27 porky kernel: [<c010424e>] dump_stack+0x1e/0x20 (20) Dec 23 10:16:27 porky kernel: [<c011c9cf>] preempt_enable_no_resched+0x5f/0x70 (20) Dec 23 10:16:27 porky kernel: [<c0100ff2>] cpu_idle+0xb2/0x100 (40) Dec 23 10:16:27 porky kernel: [<c0111446>]
start_secondary+0x296/0x340<6>Freeing initrd memory: 452k freed
Signature · 1 line
kr
Quoted 70 lines · K.R. Foley
Quoted 44 lines · Steven Rostedt
Quoted 19 lines · K.R. Foley
Quoted 13 lines · Lee Revell
Got this on boot. Same .config as the last one I sent you.
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci0000:00:11.1ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:pio Probing IDE interface ide1... BUG: swapper:0 task might have lost a preemption check! [<c010440c>] dump_stack+0x1c/0x20 (20) [<c01166aa>] preempt_enable_no_resched+0x5a/0x60 (20) [<c0100dd9>] cpu_idle+0x79/0xb0 (12) [<c0100280>] _stext+0x40/0x50 (28) [<c03078e6>] start_kernel+0x176/0x1d0 (20) [<c0100199>] 0xc0100199 (1086889999) ---------------------------Quoted 5 lines
| preempt count: 00000000 ]
| 0-level deep critical section nesting:
----------------------------------------OK, I just found an SMP bug, and here's the patch. Maybe this will help you kr. I'm currently running
x86_64SMP with 2.6.15-rc5-rt4 with this and my softirq-no-hrtimers patch I sent earlier.-- Steve
Index:
linux-2.6.15-rc5-rt4/kernel/workqueue.c
===================================================================kernel/workqueue.c +3
-1@@ -370,10 +370,17 @@void set_workqueue_thread_prio (struct workqueue_struct *wq,int cpu,int policy,int rt_priority,int nice) { -struct task_struct *p = wq->cpu_wq[cpu].thread; +struct cpu_workqueue_struct *cwq; +struct task_struct *p;struct sched_param param = { .sched_priority = rt_priority }; +unsigned long flags;kernel/workqueue.c line 386
Quoted 10 lines
kernel/workqueue.c +5
-0int ret; + cwq =per_cpu_ptr (wq->cpu_wq, cpu); +spin_lock_irqsave (&cwq->lock, flags); + p = cwq->thread; +spin_unlock_irqrestore (&cwq->lock, flags); +set_user_nice (p, nice); ret =sys_sched_setscheduler (p->pid, policy, ¶m);if (ret)OK. The BUG still exists (output below) but it does boot now with the above patch applied (THANKS Steven!), which would seem to imply the two weren't related. ARGH! :)
Dec 23 10:16:27 porky kernel: Event source lapic installed with caps set: 06 Dec 23 10:16:27 porky kernel: BUG: swapper:0 task might have lost a preemption check! Dec 23 10:16:27 porky kernel: Brought up 2 CPUs Dec 23 10:16:27 porky kernel: checking if image is initramfs... it is Dec 23 10:16:27 porky kernel: [<c010424e>] dump_stack+0x1e/0x20 (20) Dec 23 10:16:27 porky kernel: [<c011c9cf>] preempt_enable_no_resched+0x5f/0x70 (20) Dec 23 10:16:27 porky kernel: [<c0100ff2>] cpu_idle+0xb2/0x100 (40) Dec 23 10:16:27 porky kernel: [<c0111446>]
Quoted 3 lines
start_secondary+0x296/0x340<6>Freeing initrd memory: 452k freed
FWIW this BUG is harmless on my system, I can boot fine, so it does seem to be a different problem.
Lee
Quoted 15 lines · K.R. Foley
OK. The BUG still exists (output below) but it does boot now with the above patch applied (THANKS Steven!), which would seem to imply the two weren't related. ARGH! :)
Dec 23 10:16:27 porky kernel: Event source lapic installed with caps set: 06 Dec 23 10:16:27 porky kernel: BUG: swapper:0 task might have lost a preemption check! Dec 23 10:16:27 porky kernel: Brought up 2 CPUs Dec 23 10:16:27 porky kernel: checking if image is initramfs... it is Dec 23 10:16:27 porky kernel: [<c010424e>] dump_stack+0x1e/0x20 (20) Dec 23 10:16:27 porky kernel: [<c011c9cf>] preempt_enable_no_resched+0x5f/0x70 (20) Dec 23 10:16:27 porky kernel: [<c0100ff2>] cpu_idle+0xb2/0x100 (40) Dec 23 10:16:27 porky kernel: [<c0111446>]
Quoted 2 lines
start_secondary+0x296/0x340<6>Freeing initrd memory: 452k freed
Yeah, I've seen the "might have lost a preemption check" too. But since this didn't seem to cause a problem booting my kernel (yet), it went to the end of the todo list.
Does this cause any other problems?
-- Steve
Quoted 19 lines · Steven Rostedt
Quoted 14 lines · K.R. Foley
OK. The BUG still exists (output below) but it does boot now with the above patch applied (THANKS Steven!), which would seem to imply the two weren't related. ARGH! :)
Dec 23 10:16:27 porky kernel: Event source lapic installed with caps set: 06 Dec 23 10:16:27 porky kernel: BUG: swapper:0 task might have lost a preemption check! Dec 23 10:16:27 porky kernel: Brought up 2 CPUs Dec 23 10:16:27 porky kernel: checking if image is initramfs... it is Dec 23 10:16:27 porky kernel: [<c010424e>] dump_stack+0x1e/0x20 (20) Dec 23 10:16:27 porky kernel: [<c011c9cf>] preempt_enable_no_resched+0x5f/0x70 (20) Dec 23 10:16:27 porky kernel: [<c0100ff2>] cpu_idle+0xb2/0x100 (40) Dec 23 10:16:27 porky kernel: [<c0111446>]Quoted 2 lines
start_secondary+0x296/0x340<6>Freeing initrd memory: 452k freed
Quoted 10 lines
Yeah, I've seen the "might have lost a preemption check" too. But since this didn't seem to cause a problem booting my kernel (yet), it went to the end of the todo list.
Does this cause any other problems?
-- Steve
No. Hasn't for me, yet and Lee said it's harmless for him also.
Thanks again.
Signature · 1 line
kr
Quoted 3 lines · Steven Rostedt
OK, I just found an SMP bug, and here's the patch. Maybe this will help you kr. I'm currently running
x86_64SMP with 2.6.15-rc5-rt4 with this and my softirq-no-hrtimers patch I sent earlier.
It still doesn't boot here. Below is the bootmessage from serial console and my .config. The boot message looks pretty much the same as before the smp bug patch was applied (I've checked that it was actually applied). It's failing before it reaches CPU1 initialisation.
John
___________________________________________________________
Bootdata ok (command line is root=/dev/hda7 ro console=tty0 console=ttyS0,38400)
Linux version 2.6.15-rc5-rt4 (jqr@mj0lnir) (gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)) #1 SMP PREEMPT Fri Dec 23 16:56:44 GMT 2005 BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003fef0000 (usable)
BIOS-e820: 000000003fef0000 - 000000003fef3000 (ACPI NVS)
BIOS-e820: 000000003fef3000 - 000000003ff00000 (ACPI data)
BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
Scanning NUMA topology in Northbridge 24
Number of nodes 2
Node 0 MemBase 0000000000000000 Limit 000000003fef0000
Skipping disabled node 1
Using node hash shift of 31
Bootmem setup node 0 0000000000000000-000000003fef0000
ACPI: PM-Timer IO Port: 0x4008
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:5 APIC version 16
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 15:5 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 3, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
Setting APIC routing to flat
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 40000000 (gap: 3ff00000:bed00000)
Checking aperture...
CPU 0: aperture @ e0000000 size 128 MB
CPU 1: aperture @ e0000000 size 128 MB
Real-Time Preemption Support (C) 2004-2005 Ingo Molnar
Built 1 zonelists
Kernel command line: root=/dev/hda7 ro console=tty0 console=ttyS0,38400
Initializing CPU#0
WARNING: experimental RCU implementation.
PID hash table entries: 4096 (order: 12, 131072 bytes)time.c: Using 1.193182 MHz PIT timer.time.c: Detected 1403.208 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Memory: 1012164k/1047488k available (1759k kernel code, 34936k reserved, 670k data, 204k init)
Unable to handle kernel NULL pointer dereference at 0000000000000e00 RIP:
<ffffffff80164e6a>{__alloc_pages+74}
PGD 0
Oops: 0000 [1] PREEMPT SMP
CPU 0
Modules linked in:
Pid: 0, comm: swapper Not tainted 2.6.15-rc5-rt4 #1
RIP: 0010:[<ffffffff80164e6a>] <ffffffff80164e6a>{__alloc_pages+74}
RSP: 0018:ffffffff803b9de0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000e00
RDX: 0000000000000e00 RSI: 0000000000000000 RDI: 00000000000000d0
RBP: ffffffff80303740 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000040 R11: 0000000000001000 R12: 00000000000000d0
R13: 0000000000000000 R14: 0000000000000e00 R15: ffffffff80316108
FS: 0000000000000000(0000) GS:ffffffff803a5a00(0000) knlGS:0000000000000000
CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000000000000e00 CR3: 0000000000101000 CR4: 00000000000006a0
Process swapper (pid: 0, threadinfo ffffffff803b8000, task ffffffff80303740)
Stack: ffffffff8037a61f 00000000000006df 000200d000000000 ffffffff00000010
0000000000000001 0000000000000246 0000000000000010 0000000000000001
00000000000000d0 ffffffff80316060
Call Trace:<ffffffff80180078>{cache_grow+360} <ffffffff801804e8>{cache_alloc_refill+408}
<ffffffff8017feb5>{kmem_cache_alloc+149} <ffffffff80181c88>{kmem_cache_create+472}
<ffffffff803d093a>{kmem_cache_init+330} <ffffffff803ba814>{start_kernel+356}
<ffffffff803ba286>{_sinittext+646}
Code: 49 83 3e 00 4c 89 f3 75 0d 45 31 ff e9 7b 02 00 00 66 66 90 RIP <ffffffff80164e6a>{__alloc_pages+74} RSP <ffffffff803b9de0>
CR2: 0000000000000e00
<0>Kernel panic - not syncing: Attempted to kill the idle task!
Call Trace:<ffffffff80134b14>{panic+148} <ffffffff80135d2e>{printk+78}
<ffffffff80137ac6>{do_exit+166} <ffffffff8022f0c5>{do_unblank_screen+21}
<ffffffff802b5684>{do_page_fault+1972} <ffffffff80135530>{release_console_sem+416}
<ffffffff801e3221>{vsnprintf+1457} <ffffffff801f401f>{vgacon_scroll+463}
<ffffffff8010ec61>{error_exit+0} <ffffffff80164e6a>{__alloc_pages+74}
<ffffffff80180078>{cache_grow+360} <ffffffff801804e8>{cache_alloc_refill+408}
<ffffffff8017feb5>{kmem_cache_alloc+149} <ffffffff80181c88>{kmem_cache_create+472}
<ffffffff803d093a>{kmem_cache_init+330} <ffffffff803ba814>{start_kernel+356}
<ffffffff803ba286>{_sinittext+646}
______________________________________________________________________CONFIG_X86_64=yCONFIG_64BIT=yCONFIG_X86=yCONFIG_GENERIC_TIME=yCONFIG_GENERIC_TIME_VSYSCALL=yCONFIG_SEMAPHORE_SLEEPERS=yCONFIG_MMU=yCONFIG_GENERIC_CALIBRATE_DELAY=yCONFIG_X86_CMPXCHG=yCONFIG_EARLY_PRINTK=yCONFIG_GENERIC_ISA_DMA=yCONFIG_GENERIC_IOMAP=yCONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_EXPERIMENTAL=yCONFIG_CLEAN_COMPILE=yCONFIG_LOCK_KERNEL=yCONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION=""CONFIG_LOCALVERSION_AUTO=yCONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_POSIX_MQUEUE=yCONFIG_BSD_PROCESS_ACCT=yCONFIG_BSD_PROCESS_ACCT_V3=yCONFIG_SYSCTL=yCONFIG_AUDIT=yCONFIG_HOTPLUG=yCONFIG_KOBJECT_UEVENT=yCONFIG_IKCONFIG=yCONFIG_IKCONFIG_PROC=yCONFIG_INITRAMFS_SOURCE=""CONFIG_EMBEDDED=yCONFIG_KALLSYMS=yCONFIG_PRINTK=yCONFIG_BUG=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_SHMEM=yCONFIG_CC_ALIGN_FUNCTIONS=0CONFIG_CC_ALIGN_LABELS=0CONFIG_CC_ALIGN_LOOPS=0CONFIG_CC_ALIGN_JUMPS=0CONFIG_SLAB=yCONFIG_BASE_SMALL=0
CONFIG_MODULES=yCONFIG_MODULE_UNLOAD=yCONFIG_MODULE_FORCE_UNLOAD=yCONFIG_OBSOLETE_MODPARM=yCONFIG_MODVERSIONS=yCONFIG_MODULE_SRCVERSION_ALL=yCONFIG_KMOD=yCONFIG_STOP_MACHINE=y
CONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_AS=yCONFIG_IOSCHED_DEADLINE=yCONFIG_IOSCHED_CFQ=yCONFIG_DEFAULT_AS=yCONFIG_DEFAULT_IOSCHED="anticipatory"
CONFIG_MK8=yCONFIG_X86_L1_CACHE_BYTES=64CONFIG_X86_L1_CACHE_SHIFT=6CONFIG_X86_TSC=yCONFIG_X86_GOOD_APIC=yCONFIG_X86_MSR=mCONFIG_X86_CPUID=mCONFIG_X86_IO_APIC=yCONFIG_X86_LOCAL_APIC=yCONFIG_MTRR=yCONFIG_SMP=yCONFIG_PREEMPT_RT=yCONFIG_PREEMPT=yCONFIG_PREEMPT_SOFTIRQS=yCONFIG_PREEMPT_HARDIRQS=yCONFIG_PREEMPT_BKL=yCONFIG_PREEMPT_RCU=yCONFIG_NUMA=yCONFIG_RWSEM_GENERIC_SPINLOCK=yCONFIG_K8_NUMA=yCONFIG_X86_64_ACPI_NUMA=yCONFIG_ARCH_DISCONTIGMEM_ENABLE=yCONFIG_ARCH_DISCONTIGMEM_DEFAULT=yCONFIG_ARCH_SPARSEMEM_ENABLE=yCONFIG_SELECT_MEMORY_MODEL=yCONFIG_DISCONTIGMEM_MANUAL=yCONFIG_DISCONTIGMEM=yCONFIG_FLAT_NODE_MEM_MAP=yCONFIG_NEED_MULTIPLE_NODES=yCONFIG_SPLIT_PTLOCK_CPUS=4CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID=yCONFIG_NR_CPUS=8CONFIG_HPET_TIMER=yCONFIG_X86_PM_TIMER=yCONFIG_GART_IOMMU=yCONFIG_SWIOTLB=yCONFIG_X86_MCE=yCONFIG_X86_MCE_AMD=yCONFIG_PHYSICAL_START=0x100000CONFIG_SECCOMP=yCONFIG_HZ_1000=yCONFIG_HZ=1000CONFIG_GENERIC_HARDIRQS=yCONFIG_GENERIC_IRQ_PROBE=yCONFIG_ISA_DMA_API=yCONFIG_GENERIC_PENDING_IRQ=y
CONFIG_PM=y
CONFIG_ACPI=yCONFIG_ACPI_BUTTON=mCONFIG_ACPI_FAN=mCONFIG_ACPI_PROCESSOR=mCONFIG_ACPI_THERMAL=mCONFIG_ACPI_NUMA=yCONFIG_ACPI_BLACKLIST_YEAR=0CONFIG_ACPI_EC=yCONFIG_ACPI_POWER=yCONFIG_ACPI_SYSTEM=y
CONFIG_PCI=yCONFIG_PCI_DIRECT=yCONFIG_PCI_MMCONFIG=yCONFIG_PCI_LEGACY_PROC=y
CONFIG_BINFMT_ELF=yCONFIG_BINFMT_MISC=mCONFIG_IA32_EMULATION=yCONFIG_IA32_AOUT=yCONFIG_COMPAT=yCONFIG_SYSVIPC_COMPAT=yCONFIG_UID16=y
CONFIG_NET=y
CONFIG_PACKET=mCONFIG_PACKET_MMAP=yCONFIG_UNIX=mCONFIG_INET=yCONFIG_IP_FIB_HASH=yCONFIG_TCP_CONG_BIC=y
CONFIG_STANDALONE=yCONFIG_PREVENT_FIRMWARE_BUILD=yCONFIG_FW_LOADER=m
CONFIG_PNP=y
CONFIG_PNPACPI=y
CONFIG_BLK_DEV_FD=mCONFIG_BLK_DEV_LOOP=mCONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_COUNT=16CONFIG_BLK_DEV_RAM_SIZE=65536CONFIG_BLK_DEV_INITRD=y
CONFIG_IDE=mCONFIG_BLK_DEV_IDE=m
CONFIG_BLK_DEV_IDEDISK=mCONFIG_BLK_DEV_IDECD=m
CONFIG_IDE_GENERIC=mCONFIG_BLK_DEV_IDEPNP=yCONFIG_BLK_DEV_IDEPCI=yCONFIG_IDEPCI_SHARE_IRQ=yCONFIG_BLK_DEV_GENERIC=mCONFIG_BLK_DEV_IDEDMA_PCI=yCONFIG_IDEDMA_PCI_AUTO=yCONFIG_BLK_DEV_VIA82CXXX=mCONFIG_BLK_DEV_IDEDMA=yCONFIG_IDEDMA_AUTO=y
CONFIG_SCSI=mCONFIG_SCSI_PROC_FS=y
CONFIG_BLK_DEV_SD=mCONFIG_BLK_DEV_SR=mCONFIG_CHR_DEV_SG=m
CONFIG_SCSI_MULTI_LUN=yCONFIG_SCSI_CONSTANTS=yCONFIG_SCSI_LOGGING=y
CONFIG_SCSI_SPI_ATTRS=mCONFIG_SCSI_FC_ATTRS=m
CONFIG_SCSI_QLA2XXX=m
CONFIG_SCSI_DC395x=m
CONFIG_NETDEVICES=yCONFIG_DUMMY=m
CONFIG_TIGON3=m
CONFIG_INPUT=y
CONFIG_INPUT_MOUSEDEV=mCONFIG_INPUT_MOUSEDEV_PSAUX=yCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768CONFIG_INPUT_EVDEV=mCONFIG_INPUT_EVBUG=m
CONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ATKBD=yCONFIG_INPUT_MOUSE=yCONFIG_MOUSE_PS2=mCONFIG_INPUT_MISC=yCONFIG_INPUT_PCSPKR=mCONFIG_INPUT_UINPUT=m
CONFIG_SERIO=yCONFIG_SERIO_I8042=yCONFIG_SERIO_SERPORT=mCONFIG_SERIO_PCIPS2=mCONFIG_SERIO_LIBPS2=yCONFIG_SERIO_RAW=m
CONFIG_VT=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=y
CONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_CONSOLE=yCONFIG_SERIAL_8250_NR_UARTS=4CONFIG_SERIAL_8250_EXTENDED=yCONFIG_SERIAL_8250_MANY_PORTS=yCONFIG_SERIAL_8250_SHARE_IRQ=yCONFIG_SERIAL_8250_RSA=y
CONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=yCONFIG_UNIX98_PTYS=yCONFIG_LEGACY_PTYS=yCONFIG_LEGACY_PTY_COUNT=256
CONFIG_NVRAM=mCONFIG_RTC=mCONFIG_RTC_HISTOGRAM=mCONFIG_BLOCKER=mCONFIG_GEN_RTC=mCONFIG_GEN_RTC_X=y
CONFIG_AGP=yCONFIG_AGP_AMD64=yCONFIG_DRM=mCONFIG_DRM_RADEON=mCONFIG_HPET=yCONFIG_HPET_MMAP=yCONFIG_HANGCHECK_TIMER=m
CONFIG_I2C=mCONFIG_I2C_CHARDEV=m
CONFIG_I2C_ALGOBIT=mCONFIG_I2C_ALGOPCF=mCONFIG_I2C_ALGOPCA=m
CONFIG_I2C_VIAPRO=m
CONFIG_FB=yCONFIG_FB_CFB_FILLRECT=yCONFIG_FB_CFB_COPYAREA=yCONFIG_FB_CFB_IMAGEBLIT=yCONFIG_FB_MODE_HELPERS=yCONFIG_FB_TILEBLITTING=yCONFIG_FB_VGA16=mCONFIG_FB_VESA=yCONFIG_VIDEO_SELECT=yCONFIG_FB_RADEON_OLD=mCONFIG_FB_RADEON=mCONFIG_FB_RADEON_I2C=y
CONFIG_VGA_CONSOLE=yCONFIG_DUMMY_CONSOLE=yCONFIG_FRAMEBUFFER_CONSOLE=m
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_SOUND=m
CONFIG_SND=mCONFIG_SND_AC97_CODEC=mCONFIG_SND_AC97_BUS=mCONFIG_SND_TIMER=mCONFIG_SND_PCM=mCONFIG_SND_RAWMIDI=mCONFIG_SND_SEQUENCER=mCONFIG_SND_SEQ_DUMMY=mCONFIG_SND_OSSEMUL=yCONFIG_SND_MIXER_OSS=mCONFIG_SND_PCM_OSS=mCONFIG_SND_SEQUENCER_OSS=yCONFIG_SND_RTCTIMER=mCONFIG_SND_SEQ_RTCTIMER_DEFAULT=yCONFIG_SND_GENERIC_DRIVER=y
CONFIG_SND_MPU401_UART=mCONFIG_SND_DUMMY=mCONFIG_SND_VIRMIDI=mCONFIG_SND_MTPAV=mCONFIG_SND_SERIAL_U16550=mCONFIG_SND_MPU401=m
CONFIG_SND_ICE1712=m
CONFIG_USB_ARCH_HAS_HCD=yCONFIG_USB_ARCH_HAS_OHCI=yCONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=mCONFIG_USB_UHCI_HCD=m
CONFIG_USB_HID=mCONFIG_USB_HIDINPUT=yCONFIG_USB_HIDDEV=y
CONFIG_USB_POWERMATE=m
CONFIG_USB_MON=y
CONFIG_EXT2_FS=mCONFIG_EXT2_FS_XATTR=yCONFIG_EXT2_FS_POSIX_ACL=yCONFIG_EXT2_FS_SECURITY=yCONFIG_EXT3_FS=mCONFIG_EXT3_FS_XATTR=yCONFIG_EXT3_FS_POSIX_ACL=yCONFIG_EXT3_FS_SECURITY=yCONFIG_JBD=mCONFIG_FS_MBCACHE=mCONFIG_FS_POSIX_ACL=yCONFIG_XFS_FS=mCONFIG_XFS_SECURITY=yCONFIG_XFS_POSIX_ACL=yCONFIG_XFS_RT=yCONFIG_MINIX_FS=mCONFIG_ROMFS_FS=mCONFIG_INOTIFY=yCONFIG_DNOTIFY=y
CONFIG_ISO9660_FS=mCONFIG_JOLIET=yCONFIG_ZISOFS=yCONFIG_ZISOFS_FS=mCONFIG_UDF_FS=mCONFIG_UDF_NLS=y
CONFIG_FAT_FS=mCONFIG_MSDOS_FS=mCONFIG_VFAT_FS=mCONFIG_FAT_DEFAULT_CODEPAGE=437CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"CONFIG_NTFS_FS=m
CONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_SYSFS=yCONFIG_TMPFS=yCONFIG_RAMFS=y
CONFIG_CRAMFS=y
CONFIG_MSDOS_PARTITION=y
CONFIG_NLS=yCONFIG_NLS_DEFAULT="cp437"CONFIG_NLS_CODEPAGE_437=mCONFIG_NLS_ASCII=mCONFIG_NLS_ISO8859_1=m
CONFIG_PROFILING=yCONFIG_OPROFILE=m
CONFIG_DEBUG_KERNEL=yCONFIG_MAGIC_SYSRQ=yCONFIG_LOG_BUF_SHIFT=15
CONFIG_SECURITY=yCONFIG_SECURITY_CAPABILITIES=m
CONFIG_CRYPTO=y
CONFIG_CRC_CCITT=mCONFIG_CRC32=yCONFIG_LIBCRC32C=mCONFIG_ZLIB_INFLATE=y
Quoted 10 lines · John Rigg
Quoted 3 lines · Steven Rostedt
OK, I just found an SMP bug, and here's the patch. Maybe this will help you kr. I'm currently running
x86_64SMP with 2.6.15-rc5-rt4 with this and my softirq-no-hrtimers patch I sent earlier.It still doesn't boot here. Below is the bootmessage from serial console and my .config. The boot message looks pretty much the same as before the smp bug patch was applied (I've checked that it was actually applied). It's failing before it reaches CPU1 initialisation.
Quoted 7 lines
John
___________________________________________________________
CONFIG_NUMA=yCONFIG_RWSEM_GENERIC_SPINLOCK=yCONFIG_K8_NUMA=yCONFIG_X86_64_ACPI_NUMA=y
OK, here's your problem (I didn't notice this at first and went through
a series of printks to see this). NUMA isn't supported yet by -rt.
Turn it off and give it another try.
-- Steve
Quoted 3 lines · Steven Rostedt
OK, here's your problem (I didn't notice this at first and went through
a series of printks to see this). NUMA isn't supported yet by -rt.
Turn it off and give it another try.
Thanks, Steve, this fixed it. I was reusing a .config from previous versions, originally derived from a Ubuntu .config which had NUMA enabled. It booted and ran with previous -rt's so I didn't realise it was a problem.
John