Hi,
I am going to have to admit defeat on this issue, I'm pretty sure its a lowlevel MMU/VM/RAM allocation/access thingy. But I know very little about the area.
Who can we call to give advice?
Graeme
On 22/06/13 01:01, Graeme Gregory wrote:
Hi,
I have managed to boot our ACPI enabled kernel on the beaglebone device which has working earlyprintk.
You will see from the log below there is a very familiar looking RCU stall, same place as I was seeing with Hanjun's patches. I did not check the size of his blob but I suspect its the same issue and actually not to do with cpu topology at all.
Anyway below is the log of the ACPI kernel booting on the beaglebone.
Thanks
Graeme
U-Boot 2013.04-00003-g8fc034b-dirty (Jun 22 2013 - 00:52:05)
I2C: ready DRAM: 256 MiB WARNING: Caches not enabled NAND: No NAND device found!!! 0 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 *** Warning - readenv() failed, using default environment
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 Net: <ethaddr> not set. Validating first E-fuse MAC cpsw, usb_ether Hit any key to stop autoboot: 0 link up on port 0, speed 100, full duplex BOOTP broadcast 1 DHCP client bound to address 192.168.222.138 Using cpsw device TFTP from server 192.168.222.11; our IP address is 192.168.222.138 Filename 'zImage-bone'. Load address: 0x80200000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ######################################## 625 KiB/s done Bytes transferred = 4197392 (400c10 hex) link up on port 0, speed 100, full duplex Using cpsw device TFTP from server 192.168.222.11; our IP address is 192.168.222.138 Filename 'am335x-bone.dtb'. Load address: 0x80f80000 Loading: ## 489.3 KiB/s done Bytes transferred = 8518 (2146 hex) link up on port 0, speed 100, full duplex Using cpsw device TFTP from server 192.168.222.11; our IP address is 192.168.222.138 Filename 'bone.acpi'. Load address: 0x80f84000 Loading: # 416 KiB/s done Bytes transferred = 4266 (10aa hex) ## Flattened Device Tree blob at 80f80000 Booting using the fdt blob at 0x80f80000
- acpi: cmdline image address = 0x80f84000
- acpi: Length of blob 4258
- acpi: loading to 8f236000, end 8f2370aa Loading Device Tree to 8f230000, end 8f235145 ... OK
using: ACPI
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.10.0-rc6-00024-g0eba3878-dirty (graeme@xora-build) (gcc version 4.7.3 20130328 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.04-20130415 - Linaro GCC 2013.04) ) #125 SMP Sat Jun 22 00:39:57 BST 2013 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone [ 0.000000] bootconsole [earlycon0] enabled [ 0.000000] cma: CMA: reserved 16 MiB at 8e000000 [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] acpi: vaddress c0fb5000 [ 0.000000] acpi: Phys 80fb5000 Virt c0fb5000 [ 0.000000] acpi: GOT HERE1 [ 0.000000] acpi: GOT HERE2 [ 0.000000] (I) entering acpi_tb_parse_root_table [ 0.000000] ACPI: RSDP 80fb5000 00024 (v02 LINARO) [ 0.000000] ACPI: XSDT 80fb5024 000C4 (v01 LINARO ARNDALE 00000014 INTL 20130517) [ 0.000000] ACPI: FACP 80fb50e8 0010C (v05 LINARO ARNDALE 00000000 INTL 20130517) [ 0.000000] ACPI: DSDT 80fb51f4 00228 (v01 LINARO ARNDALE 00000002 INTL 20130517) [ 0.000000] ACPI: MSCT 80fb545c 00090 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: MCHI 80fb54ec 00045 (v01 LINARO ARNDALE 02000715 INTL 20130517) [ 0.000000] ACPI: FPDT 80fb5531 00064 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: ERST 80fb5595 00230 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: EINJ 80fb57c5 00130 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: CPEP 80fb58f5 00034 (v01 LINARO ARNDALE 00000000 INTL 20130517) [ 0.000000] ACPI: UEFI 80fb5929 00036 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: SRAT 80fb595f 00080 (v03 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: SPMI 80fb59df 00041 (v04 LINARO ARNDALE 00000000 INTL 20130517) [ 0.000000] ACPI: SLIT 80fb5a20 001BC (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: OEM0 80fb5bdc 00024 (v01 LINARO ARNDALE 0000000A INTL 20130517) [ 0.000000] ACPI: MPST 80fb5c00 000B6 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: MCFG 80fb5cb6 0003C (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: APIC 80fb5cf2 000F6 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: HEST 80fb5de8 001D4 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: GTDT 80fb5fbc 00050 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: ECDT 80fb600c 00042 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: BERT 80fb604e 00030 (v01 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] ACPI: SSDT 80fb607e 00024 (v02 LINARO ARNDALE 00000001 INTL 20130517) [ 0.000000] (I) acpi_table_init call completed [ 0.000000] (I) exit acpi_boot_table_init [ 0.000000] enter early_acpi_boot_init [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES1.0 (neon ) [ 0.000000] enter acpi_boot_init [ 0.000000] PERCPU: Embedded 9 pages/cpu @c0fbd000 s14592 r8192 d14080 u36864 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64768 [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rootwait earlyprintk [ 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] Memory: 255MB = 255MB total [ 0.000000] Memory: 228316k/228316k available, 33828k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB) [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc074a858 (7435 kB) [ 0.000000] .init : 0xc074b000 - 0xc07b2900 ( 415 kB) [ 0.000000] .data : 0xc07b4000 - 0xc084cc88 ( 612 kB) [ 0.000000] .bss : 0xc084cc88 - 0xc0db18e8 (5524 kB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts [ 0.000000] Total of 128 interrupts on 1 active controller [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms [ 0.000000] OMAP clocksource: timer1 at 24000000 Hz [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.000000] ... MAX_LOCK_DEPTH: 48 [ 0.000000] ... MAX_LOCKDEP_KEYS: 8191 [ 0.000000] ... CLASSHASH_SIZE: 4096 [ 0.000000] ... MAX_LOCKDEP_ENTRIES: 16384 [ 0.000000] ... MAX_LOCKDEP_CHAINS: 32768 [ 0.000000] ... CHAINHASH_SIZE: 16384 [ 0.000000] memory used by lock dependency info: 3695 kB [ 0.000000] per task-struct memory footprint: 1152 bytes [ 0.062509] Calibrating delay loop... 363.72 BogoMIPS (lpj=1818624) [ 0.119238] pid_max: default: 32768 minimum: 301 [ 0.124655] Security Framework initialized [ 0.129183] Mount-cache hash table entries: 512 [ 0.146500] CPU: Testing write buffer coherency: ok [ 0.151830] ACPI: Core revision 20130328 [ 0.158096] ACPI: All ACPI Tables successfully acquired [ 0.165239] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.170770] Setting up static identity map for 0xc0524750 - 0xc05247c0 [ 0.181338] Brought up 1 CPUs [ 0.184500] SMP: Total of 1 processors activated (363.72 BogoMIPS). [ 0.191125] CPU: All CPU(s) started in SVC mode. [ 0.199973] devtmpfs: initialized [ 0.283148] pinctrl core: initialized pinctrl subsystem [ 0.294438] regulator-dummy: no parameters [ 0.303478] NET: Registered protocol family 16 [ 0.318367] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.355305] OMAP GPIO hardware version 0.1 [ 0.387884] No ATAGs? [ 0.390062] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.486304] bio: create slab <bio-0> at 0 [ 0.494907] ACPI: Added _OSI(Module Device) [ 0.499533] ACPI: Added _OSI(Processor Device) [ 0.504209] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.509237] ACPI: Added _OSI(Processor Aggregator Device) [ 0.515927] ACPI: EC: EC description table is found, configuring boot EC [ 0.525136] ACPI: Interpreter enabled [ 0.529128] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [_S1_] (20130328/hwxface-568) [ 0.538831] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [_S2_] (20130328/hwxface-568) [ 0.548527] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [_S3_] (20130328/hwxface-568) [ 0.558323] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [_S5_] (20130328/hwxface-568) [ 0.568153] ACPI: (supports S0) [ 0.571482] ACPI: Using GIC for interrupt routing [ 21.596404] INFO: rcu_sched detected stalls on CPUs/tasks: {} (detected by 0, t=2102 jiffies, g=4294967023, c=4294967022, q=67) [ 21.608358] INFO: Stall ended before state dump start