mips; boot fail after merge 3.9+

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

 



Hello. 
After merge cavium board boots fail, boot log messages are as follows.
I enabled initcall_debug for debugging. 

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.9.0+ (ebsong@ubi) (gcc version 4.4.1 (MontaVista Linux G++ 4.4-1302012138) ) #23 SMP PREEMPT Wed May 1 13:47:25 KST 2013
[    0.000000] octeon_bootinfo->dram_size: 4000
[    0.000000] Enabling tad1 error interrupt
[    0.000000] Enabling tad2 error interrupt
[    0.000000] Enabling tad3 error interrupt
[    0.000000] CVMSEG size: 2 cache lines (256 bytes)
[    0.000000] Cavium Networks SDK-2.1.0-p7 build 442
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 000d9101 (Cavium Octeon II)
[    0.000000] Checking for the multiply/shift bug... no.
[    0.000000] Checking for the daddiu bug... no.
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 0000000006c00000 @ 0000000001100000 (usable)
[    0.000000]  memory: 0000000007c00000 @ 0000000008200000 (usable)
[    0.000000]  memory: 0000000011800000 @ 0000000030000000 (usable)
[    0.000000]  memory: 0000000000f85740 @ 0000000000100000 (usable)
[    0.000000] Wasting 14336 bytes for tracking 256 unused pages
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] software IO TLB [mem 0x01b8a000-0x01bca000] (0MB) mapped at [a800000001b8a000-a800000001bc9fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x00100000-0xefffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00100000-0x01084fff]
[    0.000000]   node   0: [mem 0x01100000-0x07cfffff]
[    0.000000]   node   0: [mem 0x08200000-0x0fdfffff]
[    0.000000]   node   0: [mem 0x30000000-0x417fffff]
[    0.000000] Cavium Hotplug: Available coremask 0xffffff00
[    0.000000] Primary instruction cache 37kB, virtually tagged, 37 way, 8 sets, linesize 128 bytes.
[    0.000000] Primary data cache 32kB, 32-way, 8 sets, linesize 128 bytes.
[    0.000000] PERCPU: Embedded 11 pages/cpu @a800000001beb000 s12800 r8192 d24064 u45056
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 133198
[    0.000000] Kernel command line:  root=/dev/nfs rw nfsroot=165.213.176.145:/home/ebsong/project/presmb/apc/Pkg/nfsroot/wec8500 ip=165.213.176.108:165.213.176.145:165.213.176.1:255.255.255.0::mgmt0 console=ttyS0,115200
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 510160k/540180k available (5811k kernel code, 30020k reserved, 8933k data, 292k init, 0k highmem)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:453
[    0.000000] Console: colour dummy device 80x25
[   26.701167] Calibrating delay loop (skipped) preset value.. 2400.00 BogoMIPS (lpj=12000000)
[   26.709507] pid_max: default: 32768 minimum: 301
[   26.714162] Security Framework initialized
[   26.718218] Mount-cache hash table entries: 256
[   26.723398] Initializing cgroup subsys devices
[   26.727669] Initializing cgroup subsys freezer
[   26.732131] Checking for the daddi bug... no.
[   26.736607] calling  cnmips_cu2_setup+0x0/0xc @ 1
[   26.741139] initcall cnmips_cu2_setup+0x0/0xc returned 0 after 0 usecs
[   26.747659] calling  spawn_ksoftirqd+0x0/0x34 @ 1

I found this issue after cdbedc61c8d0122ad682815936f0d11df1fe5f57. 
And i found something strange. I ran the git show for this commit.
As below "select GENERIC_IDLE_LOOP" is added for CONFIG_MIPS. 
but the latest arch/mips/Kconfig file has not this one. I have tried to find when this is gone. but i can't find.
Is there any problem with this? 


commit cdbedc61c8d0122ad682815936f0d11df1fe5f57
Author: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Date:   Thu Mar 21 22:49:52 2013 +0100

    mips: Use generic idle loop

    Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
    Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
    Cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
    Cc: Paul McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
    Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
    Reviewed-by: Cc: Srivatsa S. Bhat <srivatsa.bhat@xxxxxxxxxxxxxxxxxx>
    Cc: Magnus Damm <magnus.damm@xxxxxxxxx>
    Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
    Link: http://lkml.kernel.org/r/20130321215234.754954871@xxxxxxxxxxxxx
    Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 51244bf..e1a3d02 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -34,6 +34,7 @@ config MIPS
        select HAVE_MEMBLOCK_NODE_MAP
        select ARCH_DISCARD_MEMBLOCK
        select GENERIC_SMP_IDLE_THREAD
+       select GENERIC_IDLE_LOOP
        select BUILDTIME_EXTABLE_SORT
        select GENERIC_CLOCKEVENTS
        select GENERIC_CMOS_UPDATE

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux