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

Bug#640964: linux-image-3.1.0-rc4-486: BUG() triggered on XO-1 hardware



Package: linux-image-3.1.0-rc4-486
Version: 3.1.0~rc4-1~experimental.1
Severity: normal

During boot on an OLPC XO-1, I encounter the following problem.  I
believe it's the statement BUG_ON(a->cpuid >= NCAPINTS*32), though I'm
not staring at an exact copy of linux-2.6 source.



Boot device: /pci/nandflash@c:\vmlinuz  Arguments: ro redboot.directory=0 ubi.mtd=root root=ubi:root rootfstype=ubifs video=lxfb fbcon=font:SUN12x22 console=ttyS0,115200 console=tty0
Loading ramdisk image from /pci/nandflash@c:\initrd.img ...
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.1.0-rc4-486 (Debian 3.1.0~rc4-1~experimental.1) (ben@decadent.org.uk) (gcc version 4.5.3 (Debian 4.5.3-8) ) #1 Wed Aug 31 19:39:30 UTC 2011
[    0.000000] OFW detected in memory, cif @ 0xff8378f0 (reserving top 8MB)
[    0.000000] Reserving virtual address space above 0xff800000
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
[    0.000000]  BIOS-e801: 0000000000100000 - 000000000d5e1000 (usable)
[    0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[    0.000000] DMI 2.1 present.
[    0.000000] last_pfn = 0xd5e1 max_arch_pfn = 0x100000
[    0.000000] init_memory_mapping: 0000000000000000-000000000d5e1000
[    0.000000] RAMDISK: 0d5e1000 - 0ec00000
[    0.000000] Allocated new RAMDISK: 0bfc2000 - 0d5e1000
[    0.000000] Move RAMDISK from 000000000d5e1000 - 000000000ebfffff to 0bfc2000 - 0d5e0fff
[    0.000000] ACPI Error: A valid RSDP was not found (20110623/tbxfroot-219)
[    0.000000] 0MB HIGHMEM available.
[    0.000000] 213MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 0d5e1000
[    0.000000]   low ram: 0 - 0d5e1000
[    0.000000] PROM DT: Old firmware detected, applying fixes
[    0.000000] PROM DT: Built device tree with 40960 bytes of memory.
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000010 -> 0x00001000
[    0.000000]   Normal   0x00001000 -> 0x0000d5e1
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]     0: 0x00000010 -> 0x0000009f
[    0.000000]     0: 0x00000100 -> 0x0000d5e1
[    0.000000] Using APIC driver default
[    0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[    0.000000] Error: No information about IO-APIC in OF.
[    0.000000] No local APIC present or hardware disabled
[    0.000000] APIC: disable apic facility
[    0.000000] APIC: switched to apic NOOP
[    0.000000] PM: Registered nosave memory: 000000000009f000 - 0000000000100000
[    0.000000] Allocating PCI resources starting at d5e1000 (gap: d5e1000:f2a1f000)
[    0.000000] Booting paravirtualized kernel on bare hardware
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 54212
[    0.000000] Kernel command line: ro redboot.directory=0 ubi.mtd=root root=ubi:root rootfstype=ubifs video=lxfb fbcon=font:SUN12x22 console=ttyS0,115200 console=tty0
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Initializing CPU#0
[    0.000000] Initializing HighMem for node 0 (00000000:00000000)
[    0.000000] Memory: 189012k/219012k available (2556k kernel code, 29548k reserved, 1342k data, 444k init, 0k highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xff7a1000 - 0xff7ff000   ( 376 kB)
[    0.000000]     pkmap   : 0xff000000 - 0xff400000   (4096 kB)
[    0.000000]     vmalloc : 0xcdde1000 - 0xfeffe000   ( 786 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xcd5e1000   ( 213 MB)
[    0.000000]       .init : 0xc13cf000 - 0xc143e000   ( 444 kB)
[    0.000000]       .data : 0xc127f32c - 0xc13ced00   (1342 kB)
[    0.000000]       .text : 0xc1000000 - 0xc127f32c   (2556 kB)
[    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.000000] NR_IRQS:288
[    0.000000] Console: colour EGA 80x25
[    0.000000] console [tty0] enabled
[    0.000000] console [ttyS0] enabled
[    0.000000] Fast TSC calibration using PIT
[    0.000000] Detected 430.942 MHz processor.
[    0.012008] Calibrating delay loop (skipped), value calculated using timer frequency.. 861.88 BogoMIPS (lpj=1723768)
[    0.018781] pid_max: default: 32768 minimum: 301
[    0.020245] Security Framework initialized
[    0.024023] SELinux:  Disabled at boot.
[    0.028091] Mount-cache hash table entries: 512
[    0.037485] Initializing cgroup subsys cpuacct
[    0.040046] Initializing cgroup subsys memory
[    0.044059] Initializing cgroup subsys devices
[    0.048016] Initializing cgroup subsys freezer
[    0.052015] Initializing cgroup subsys net_cls
[    0.056016] Initializing cgroup subsys blkio
[    0.060170] CPU: Geode(TM) Integrated Processor by AMD PCS stepping 02
[    0.065314] ------------[ cut here ]------------
[    0.068003] kernel BUG at /build/buildd-linux-2.6_3.1.0~rc4-1~experimental.1-i386-xU2Vnr/linux-2.6-3.1.0~rc4/debian/build/source_i386_none/arch/x86/kernel/alternative.c:282!
[    0.068003] invalid opcode: 0000 [#1]
[    0.068003] Modules linked in:
[    0.068003]
[    0.068003] Pid: 0, comm: swapper Not tainted 3.1.0-rc4-486 #1 OLPC XO/XO
[    0.068003] EIP: 0060:[<c10052f5>] EFLAGS: 00010216 CPU: 0
[    0.068003] EIP is at apply_alternatives+0x6d/0xfb
[    0.068003] EAX: c143c600 EBX: c143c668 ECX: ffbc55cf EDX: 000004f1
[    0.068003] ESI: 0002009a EDI: c1389eba EBP: c1389eba ESP: c1389ea8
[    0.068003]  DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[    0.068003] Process swapper (pid: 0, ti=c1388000 task=c138f300 task.ti=c1388000)
[    0.068003] Stack:
[    0.068003]  00000000 0019ea76 c143c65c c143cb58 00000000 c119ee24 c119ead0 00000000
[    0.068003]  c144ecd0 0000000d c13bc284 c119ed91 00000092 c103b7d5 c103b7e7 00000086
[    0.068003]  c103b8cf 00000086 c1023fbe c1024600 00000086 ffffe8bf 00000010 00000000
[    0.068003] Call Trace:
[    0.068003]  [<c119ee24>] ? serial8250_console_write+0x93/0xb2
[    0.068003]  [<c119ead0>] ? wait_for_xmitr+0x70/0x70
[    0.068003]  [<c119ed91>] ? check_modem_status+0x169/0x169
[    0.068003]  [<c103b7d5>] ? arch_local_irq_disable+0x6/0x7
[    0.068003]  [<c103b7e7>] ? arch_local_irq_save+0x11/0x18
[    0.068003]  [<c103b8cf>] ? up+0x9/0x2a
[    0.068003]  [<c1023fbe>] ? arch_local_irq_restore+0x6/0x7
[    0.068003]  [<c1024600>] ? console_unlock+0x153/0x17f
[    0.068003]  [<c1023fbe>] ? arch_local_irq_restore+0x6/0x7
[    0.068003]  [<c1024a19>] ? vprintk+0x321/0x33d
[    0.068003]  [<c103b7d5>] ? arch_local_irq_disable+0x6/0x7
[    0.068003]  [<c103b7e7>] ? arch_local_irq_save+0x11/0x18
[    0.068003]  [<c10363cf>] ? transfer_pid+0xd/0x60
[    0.068003]  [<c1023fbe>] ? arch_local_irq_restore+0x6/0x7
[    0.068003]  [<c1024600>] ? console_unlock+0x153/0x17f
[    0.068003]  [<c1023fbe>] ? arch_local_irq_restore+0x6/0x7
[    0.068003]  [<c1024a19>] ? vprintk+0x321/0x33d
[    0.068003]  [<c12793bf>] ? printk+0xe/0x17
[    0.068003]  [<c13fda1d>] ? print_cpu_info+0x7c/0x10b
[    0.068003]  [<c13d370a>] ? alternative_instructions+0x14/0x3c
[    0.068003]  [<c13d4470>] ? check_bugs+0x147/0x161
[    0.068003]  [<c13cf6c7>] ? start_kernel+0x30c/0x321
[    0.068003] Code: 00 00 00 8a 53 0a 8a 43 0b 8b 33 8b 4b 04 88 54 24 07 38 d0 76 02 0f 0b 80 7c 24 07 ff 75 02 0f 0b 8b 53 08 66 81 fa 3f 01 76 02 <0f> 0b 0f b7 d2 0f a3 15 98 b2 3c c1 19 d2 85 d2 74 4f 8d 34 33
[    0.068003] EIP: [<c10052f5>] apply_alternatives+0x6d/0xfb SS:ESP 0068:c1389ea8
[    0.068052] ---[ end trace a7919e7f17c0a725 ]---
[    0.072020] Kernel panic - not syncing: Attempted to kill the idle task!
[    0.076022] Pid: 0, comm: swapper Tainted: G      D      3.1.0-rc4-486 #1
[    0.080013] Call Trace:
[    0.082533]  [<c12792bc>] ? panic+0x4d/0x142
[    0.084027]  [<c102686c>] ? do_exit+0x75/0x5cc
[    0.088028]  [<c1023fc5>] ? arch_local_irq_disable+0x6/0x7
[    0.092028]  [<c1023fbe>] ? arch_local_irq_restore+0x6/0x7
[    0.096028]  [<c1025164>] ? kmsg_dump+0x28/0xa0
[    0.100033]  [<c127b27b>] ? oops_end+0x85/0x89
[    0.104028]  [<c1002db5>] ? do_bounds+0x4c/0x4c
[    0.108027]  [<c1002e1d>] ? do_invalid_op+0x68/0x71
[    0.112031]  [<c10052f5>] ? apply_alternatives+0x6d/0xfb
[    0.116036]  [<c107bdcd>] ? zone_watermark_ok+0x15/0x1a
[    0.120030]  [<c107b6f7>] ? arch_local_irq_disable+0x6/0x7
[    0.124029]  [<c107b6f0>] ? arch_local_irq_restore+0x6/0x7
[    0.128033]  [<c107d65a>] ? get_page_from_freelist+0x27b/0x37c
[    0.132033]  [<c107bdcd>] ? zone_watermark_ok+0x15/0x1a
[    0.136037]  [<c1150401>] ? arch_local_irq_disable+0x6/0x7
[    0.140030]  [<c1150413>] ? arch_local_irq_save+0x11/0x18
[    0.144031]  [<c127aa45>] ? error_code+0x65/0x70
[    0.148035]  [<c10052f5>] ? apply_alternatives+0x6d/0xfb
[    0.152032]  [<c119ee24>] ? serial8250_console_write+0x93/0xb2
[    0.156029]  [<c119ead0>] ? wait_for_xmitr+0x70/0x70
[    0.160032]  [<c119ed91>] ? check_modem_status+0x169/0x169
[    0.164033]  [<c103b7d5>] ? arch_local_irq_disable+0x6/0x7
[    0.168032]  [<c103b7e7>] ? arch_local_irq_save+0x11/0x18
[    0.172032]  [<c103b8cf>] ? up+0x9/0x2a
[    0.176034]  [<c1023fbe>] ? arch_local_irq_restore+0x6/0x7
[    0.180034]  [<c1024600>] ? console_unlock+0x153/0x17f
[    0.184035]  [<c1023fbe>] ? arch_local_irq_restore+0x6/0x7
[    0.188034]  [<c1024a19>] ? vprintk+0x321/0x33d
[    0.192035]  [<c103b7d5>] ? arch_local_irq_disable+0x6/0x7
[    0.196034]  [<c103b7e7>] ? arch_local_irq_save+0x11/0x18
[    0.200034]  [<c10363cf>] ? transfer_pid+0xd/0x60
[    0.204035]  [<c1023fbe>] ? arch_local_irq_restore+0x6/0x7
[    0.208035]  [<c1024600>] ? console_unlock+0x153/0x17f
[    0.212037]  [<c1023fbe>] ? arch_local_irq_restore+0x6/0x7
[    0.216036]  [<c1024a19>] ? vprintk+0x321/0x33d
[    0.220034]  [<c12793bf>] ? printk+0xe/0x17
[    0.224035]  [<c13fda1d>] ? print_cpu_info+0x7c/0x10b
[    0.228042]  [<c13d370a>] ? alternative_instructions+0x14/0x3c
[    0.232037]  [<c13d4470>] ? check_bugs+0x147/0x161
[    0.236035]  [<c13cf6c7>] ? start_kernel+0x30c/0x321




Reply to: