[CuBOX] GeeXboX 3.0 ext4 boot error: Kernel Panic

May 24th, 2013

Home Forums GeeXboX on ARM SoCs [CuBOX] GeeXboX 3.0 ext4 boot error: Kernel Panic

This topic contains 4 replies, has 2 voices, and was last updated by  tomlohave 1 year, 5 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #6482

    kadiblov
    Member

    Folks,

    Sorry if it maight be a noob question here, but after I created a ext4 partition on my SD card, and extracted entire content of geexbox-3.0.cubux.tar.bz2 to it, I came to to following error:

    Kernel panic – not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.

    Follows the entire log, obtained thru COM6. It becomes clear it tries to find the ext2 and ext4 for boot, as previous bootloader versions, then, it finds ext4 and then starts and uncompress kernel. Being a standard CuBOX package, I didn’t understand why is it halting or requesting init= parameters…

    Thanks a bunch !
    K.

    —————————————————————————————–
    CuBox
    ** LOADER **

    U-Boot 2009.08 (Oct 03 2012 – 21:12:48) Marvell version: 5.4.4 NQ SR1

    BootROM:
    Version on chip: 2.33
    Status: OK
    Retries #: 0
    Board: CuBox
    SoC: 88AP510 (A1)
    CPU: Marvell Sheeva (Rev 5)
    CPU @ 800Mhz, L2 @ 400Mhz
    DDR3 @ 400Mhz, TClock @ 166Mhz
    PEX 0: interface detected no Link.
    PEX 1: interface detected no Link.
    DRAM: 1 GB
    CS 0: base 0x00000000 size 512 MB
    CS 1: base 0x20000000 size 512 MB
    Addresses 60M – 0M are saved for the U-Boot usage.
    SF: Detected W25Q32 with page size 4 kB, total 4 MB

    Streaming disabled
    L2 Cache Prefetch disabled
    L2 Cache ECC disabled
    Modifying CPU/CORE/DDR power rails to 1.0(-2.5%) / 1.0(-5%) / 1.5(-5%)
    USB 0: Host Mode
    USB 1: Host Mode
    Setting VPU power OFF.
    Setting GPU power ON.
    MMC: MV_SDHCI: 0, MV_SDHCI: 1
    Net: egiga0 [PRIME]
    Hit any key to stop autoboot: 0
    ===> Executing ext4load usb 0:1 0x02000000 /boot.scr
    (Re)start USB…
    USB: Register 10011 NbrPorts 1
    USB EHCI 1.00
    scanning bus for devices… 2 USB Device(s) found
    Waiting for storage device(s) to settle before scanning…
    scanning bus for storage devices… 1 Storage Device(s) found
    Loading file “/boot.scr” from usb device 0:1 usbda1
    Failed to mount ext2 filesystem…
    ** Bad ext4 partition or disk – usb 0:1 **
    ===> Executing ext4load usb 1:1 0x02000000 /boot.scr
    ** Bad partition 1 **
    ===> Executing fatload usb 0:1 0x02000000 /boot.scr
    reading /boot.scr

    ** Unable to read “/boot.scr” from usb 0:1 **
    ===> Executing fatload usb 1:1 0x02000000 /boot.scr
    ** Can’t read from device 1 **

    ** Unable to use usb 1:1 for fatload **
    ===> Executing ext4load usb 0:1 0x02000000 /boot/boot.scr
    Loading file “/boot/boot.scr” from usb device 0:1 usbda1
    Failed to mount ext2 filesystem…
    ** Bad ext4 partition or disk – usb 0:1 **
    ===> Executing ext4load usb 1:1 0x02000000 /boot/boot.scr
    ** Bad partition 1 **
    ===> Executing fatload usb 0:1 0x02000000 /boot/boot.scr
    reading /boot/boot.scr

    ** Unable to read “/boot/boot.scr” from usb 0:1 **
    ===> Executing fatload usb 1:1 0x02000000 /boot/boot.scr
    ** Can’t read from device 1 **

    ** Unable to use usb 1:1 for fatload **
    ===> Executing ext4load usb 0:2 0x02000000 /boot.scr
    ** Bad partition 2 **
    ===> Executing ext4load usb 1:2 0x02000000 /boot.scr
    ** Bad partition 2 **
    ===> Executing fatload usb 0:2 0x02000000 /boot.scr
    ** Partition 2 not valid on device 0 **

    ** Unable to use usb 0:2 for fatload **
    ===> Executing fatload usb 1:2 0x02000000 /boot.scr
    ** Can’t read from device 1 **

    ** Unable to use usb 1:2 for fatload **
    ===> Executing ext4load usb 0:2 0x02000000 /boot/boot.scr
    ** Bad partition 2 **
    ===> Executing ext4load usb 1:2 0x02000000 /boot/boot.scr
    ** Bad partition 2 **
    ===> Executing fatload usb 0:2 0x02000000 /boot/boot.scr
    ** Partition 2 not valid on device 0 **

    ** Unable to use usb 0:2 for fatload **
    ===> Executing fatload usb 1:2 0x02000000 /boot/boot.scr
    ** Can’t read from device 1 **

    ** Unable to use usb 1:2 for fatload **
    ===> Executing ext4load mmc 0:1 0x02000000 /boot.scr
    Device: MV_SDHCI
    Manufacturer ID: 41
    OEM: 3432
    Name: SD2GB
    Tran Speed: 25000000
    Rd Block Len: 512
    SD version 2.0
    High Capacity: No
    Capacity: 1996488704
    Bus Width: 4-bit
    Loading file “/boot.scr” from mmc device 0:1 mmcda1
    ** File not found /boot.scr
    ===> Executing fatload mmc 0:1 0x02000000 /boot.scr
    reading /boot.scr

    ** Unable to read “/boot.scr” from mmc 0:1 **
    ===> Executing ext4load mmc 0:1 0x02000000 /boot/boot.scr
    Loading file “/boot/boot.scr” from mmc device 0:1 mmcda1
    637 bytes read
    ## Executing script at 02000000
    ======== Setting bootargs and loading kernel ========
    ** Bad partition – mmc 0:2 **
    Detected one partition config (ext4)
    Loading file “/boot/uImage” from mmc device 0:1 mmcda1
    3462920 bytes read
    ======== Booting kernel ========
    ## Booting kernel from Legacy Image at 00200000 …
    Image Name: Linux-3.5.3
    Created: 2012-09-19 8:48:20 UTC
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 3462856 Bytes = 3.3 MB
    Load Address: 00008000
    Entry Point: 00008000
    Verifying Checksum … OK
    Loading Kernel Image … OK
    OK

    Starting kernel …

    Uncompressing Linux… done, booting the kernel.

    Booting Linux on physical CPU 0
    Initializing cgroup subsys cpu
    Linux version 3.5.3 (thomas@thomas-dv7) (gcc version 4.6.4 20120731 (prerelease) (Linaro GCC 4.6-2012.08) ) #1 PREEMPT Wed Sep 19 10:48:15 CEST 2012
    CPU: ARMv7 Processor [560f5815] revision 5 (ARMv7), cr=10c53c7d
    CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    Machine: SolidRun CuBox
    Ignoring unrecognised tag 0x41000403
    Ignoring unrecognised tag 0x41000404
    vmeta size = 268435456, gpu_size = 134217728
    gpu_mem start = 0x28000000
    Memory policy: ECC disabled, Data cache writeback
    Built 1 zonelists in Zone order, mobility grouping off. Total pages: 162560
    Kernel command line: console=ttyS0,115200n8 vmalloc=448M root=/dev/mmcblk0p1 video=dovefb:lcd0:1920×1080-32@60-edid clcd.lcd0_enable=1 clcd.lcd1_enable=0
    PID hash table entries: 4096 (order: 2, 16384 bytes)
    Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    Memory: 640MB = 640MB total
    Memory: 638588k/638588k available, 16772k reserved, 81920K highmem
    Virtual kernel memory layout:
    vector : 0xffff0000 – 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 – 0xfffe0000 ( 896 kB)
    vmalloc : 0xe3800000 – 0xff000000 ( 440 MB)
    lowmem : 0xc0000000 – 0xe3000000 ( 560 MB)
    pkmap : 0xbfe00000 – 0xc0000000 ( 2 MB)
    modules : 0xbf000000 – 0xbfe00000 ( 14 MB)
    .text : 0xc0008000 – 0xc06d4000 (6960 kB)
    .init : 0xc06d4000 – 0xc0703554 ( 190 kB)
    .data : 0xc0704000 – 0xc07674c0 ( 398 kB)
    .bss : 0xc07674e4 – 0xc078eba8 ( 158 kB)
    NR_IRQS:135
    sched_clock: 32 bits at 166MHz, resolution 5ns, wraps every 25769ms
    Console: colour dummy device 80×30
    Calibrating delay loop… 789.70 BogoMIPS (lpj=3948544)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 512
    Initializing cgroup subsys cpuacct
    Initializing cgroup subsys devices
    Initializing cgroup subsys freezer
    CPU: Testing write buffer coherency: ok
    hw perfevents: no hardware support available
    Setting up static identity map for 0x4b6458 – 0x4b648c
    devtmpfs: initialized
    NET: Registered protocol family 16
    Dove 88AP510 SoC, TCLK = 167MHz
    Tauros2: Enabling L2 cache.
    Tauros2: L2 cache support initialised in ARMv7 mode.
    Register vmeta clk
    Setting vmeta clock to 500000000 (divider: 4)
    LCD0 doesn’t use PLL.
    Turn on PLL accurate mode.
    hw-breakpoint: debug architecture 0x4 unsupported.
    Dove PCIe port 0:
    link down, ignoring
    Dove PCIe port 1:
    link down, ignoring
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    Advanced Linux Sound Architecture Driver Version 1.0.25.
    cfg80211: Calling CRDA to update world regulatory domain
    Switching to clocksource orion_clocksource
    NET: Registered protocol family 2
    IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
    TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
    TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
    TCP: Hash tables configured (established 131072 bind 65536)
    TCP: reno registered
    UDP hash table entries: 512 (order: 1, 8192 bytes)
    UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.

    [galcore] GC Version: GC Ver0.8.0.3184-1
    galcore options:
    irqLine = 48
    registerMemBase = 0xF1840000
    contiguousSize = 134217727
    contiguousBase = 0x28000000
    bankSize = 0x02000000
    fastClear = -1
    compression = -1
    signal = 48
    baseAddress = 0x00000000

    [galcore] registerBase =0xf1840000, registerMemSize = 0x0003ffff, contiguousBase= 0x28000000, contiguousSize = 0x07ffffff
    [galcore] streamCount = 1
    [galcore] registerMax = 64
    [galcore] threadCount = 256
    [galcore] shaderCoreCount = 1
    [galcore] vertexCacheSize = 8
    [galcore] vertexOutputBufferSize = 512

    [galcore] real contiguouSize = 0x07ffffff

    [galcore] chipModel=0x600,chipRevision=0x19,chipFeatures=0x87ecd,chipMinorFeatures=0x7
    highmem bounce pool size: 64 pages
    jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    msgmni has been set to 1087
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
    mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
    mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
    mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
    mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
    mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 7) is a 16550A
    console [ttyS0] enabled
    serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 8) is a 16550A
    brd: module loaded
    loop: module loaded
    BMM Module Vmeta memroy start: 0x30000000, size: 268435456
    BMM init with size=256MB
    orion_spi orion_spi.0: master is unqueued, this is deprecated
    m25p80 spi0.0: w25q32 (4096 Kbytes)
    orion_spi orion_spi.1: master is unqueued, this is deprecated
    HSI/SSI char device loaded
    mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
    mv643xx_eth smi: probed
    mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address d0:63:b4:00:04:09
    [1] internal addr[0xffd00000],addr[0x10380000] size[524288]
    [2] internal addr[0xffde0000],addr[0x10340000] size[65536]
    [3] internal addr[0xffdfb000],addr[0x102d9000] size[4096]
    ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
    orion-ehci orion-ehci.0: Marvell Orion EHCI
    orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
    orion-ehci orion-ehci.0: irq 24, io mem 0xf1050000
    orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    orion-ehci orion-ehci.1: Marvell Orion EHCI
    orion-ehci orion-ehci.1: new USB bus registered, assigned bus number 2
    orion-ehci orion-ehci.1: irq 25, io mem 0xf1051000
    orion-ehci orion-ehci.1: USB 2.0 started, EHCI 1.00
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    usbcore: registered new interface driver cdc_wdm
    Initializing USB Mass Storage driver…
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new interface driver synaptics_usb
    rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
    i2c /dev entries driver
    lirc_dev: IR Remote Control driver registered, major 252
    IR NEC protocol handler initialized
    IR RC5(x) protocol handler initialized
    IR RC6 protocol handler initialized
    IR JVC protocol handler initialized
    IR Sony protocol handler initialized
    IR RC5 (streamzap) protocol handler initialized
    IR SANYO protocol handler initialized
    IR MCE Keyboard/mouse protocol handler initialized
    IR LIRC bridge handler initialized
    Registered IR keymap rc-empty
    input: gpio_ir_recv as /devices/virtual/rc/rc0/input0
    rc0: gpio_ir_recv as /devices/virtual/rc/rc0
    input: MCE IR Keyboard/Mouse (gpio-rc-recv) as /devices/virtual/input/input1
    rc rc0: lirc_dev: driver ir-lirc-codec (gpio-rc-recv) registered at minor = 0
    sdhci: Secure Digital Host Controller Interface driver
    sdhci: Copyright(c) Pierre Ossman
    sdhci-pltfm: SDHCI platform and OF driver helper
    mmc0: SDHCI controller on sdhci-dove.0 [sdhci-dove.0] using DMA
    mmc0: new high speed SD card at address 0002
    mmc1: SDHCI controller on sdhci-dove.1 [sdhci-dove.1] using DMA
    usbcore: registered new interface driver usbhid
    mmcblk0: mmc0:0002 SD2GB 1.85 GiB
    usbhid: USB HID core driver
    mmcblk0: p1
    si5351 0-0060: registered si5351 i2c client
    si5351 0-0060: external clock setup : clkdev = d02bb1e0
    cubox_extclk_setup : add alias ‘extclk/dovefb.0′ to clkout0 w 0
    external clock setup done
    kirkwood-i2s kirkwood-i2s.1: found external clock
    kirkwood-spdif-audio kirkwood-spdif-audio.1: ASoC: Failed to create card debugfs directory
    usb 1-1: new high-speed USB device number 2 using orion-ehci
    scsi0 : usb-storage 1-1:1.0
    usb 2-1: new full-speed USB device number 2 using orion-ehci
    hub 2-1:1.0: USB hub found
    hub 2-1:1.0: 4 ports detected
    usb 2-1.3: new low-speed USB device number 3 using orion-ehci
    asoc: dit-hifi <-> kirkwood-i2s.1 mapping ok
    oprofile: no performance counters
    oprofile: using timer interrupt.
    TCP: cubic registered
    NET: Registered protocol family 17
    lib80211: common routines for IEEE802.11 drivers
    VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 5
    ThumbEE CPU extension supported.
    PJ4 iWMMXt coprocessor enabled.
    Dove FB driver:
    Initialize /proc/mv_lcd0
    use cat /proc/mv_lcd0 to see reg settings
    dovefb dovefb.0: use ref clock extclk
    o Kernel parameter: 1920×1080-32@60.
    o Failed to read EDID information,using driver resolutions table.
    found <1920×1080@60>, pixclock=6734
    set_clock_divider : setup reference clk to 148500148
    scsi 0:0:0:0: Direct-Access Generic Mass-Storage 1.09 PQ: 0 ANSI: 2
    Setting HDMI TX resolution to 1920x1080p @ 60
    HDMI TX – FOUND exact resolution 16
    YC pitch is 0.User program needs refine
    Console: switching to colour frame buffer device 240×67
    set_clock_divider : setup reference clk to 148500148
    Setting HDMI TX resolution to 1920x1080p @ 60
    HDMI TX – FOUND exact resolution 16
    o dovefb: frame buffer device was successfully loaded.
    hdmicec(tda19989) 1.3.0 compiled: Sep 19 2012 10:47:37 -ioctl (2009-10-15)
    hdmicec:cec_init:.verbose mode
    hdmicec:this_i2c_probe:called
    hdmicec:this_i2c_probe:HDMI CEC SW Version:1.4 compatibility:0
    hdmicec declared as a playback device type
    hdmicec:cec_standby:on –> standby
    hdmitx(tda19989) 1.3.0 compiled: Sep 19 2012 10:47:41 -ioctl (2009-10-15)
    HDMI TX SW Version:5.3 compatibility:0
    sd 0:0:0:0: [sda] 32562176 512-byte logical blocks: (16.6 GB/15.5 GiB)
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] No Caching mode page present
    sd 0:0:0:0: [sda] Assuming drive cache: write through
    sd 0:0:0:0: [sda] No Caching mode page present
    sd 0:0:0:0: [sda] Assuming drive cache: write through
    sda: sda1
    sd 0:0:0:0: [sda] No Caching mode page present
    sd 0:0:0:0: [sda] Assuming drive cache: write through
    sd 0:0:0:0: [sda] Attached SCSI removable disk
    rtc-mv rtc-mv: setting system clock to 2013-05-24 21:58:07 UTC (1369432687)
    ALSA device list:
    #0: Kirkwood S/PDIF
    kjournald starting. Commit interval 5 seconds
    EXT3-fs (mmcblk0p1): using internal journal
    EXT3-fs (mmcblk0p1): recovery complete
    EXT3-fs (mmcblk0p1): mounted filesystem with ordered data mode
    VFS: Mounted root (ext3 filesystem) on device 179:1.
    devtmpfs: mounted
    Freeing init memory: 188K
    request_module: runaway loop modprobe binfmt-0000
    request_module: runaway loop modprobe binfmt-0000
    Kernel panic – not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.

    #6483

    tomlohave
    Moderator

    use a devel snapshot for cubox. 3.0 was tested with an ext2 partition for /boot and a second ext4 partition for / ,not sure it works with only one partition.
    devel snapshots are here : (with better support for video than 3.0) :http://download.geexbox.org/snapshots/

    #6495

    kadiblov
    Member

    Thanks for your reply, but latest development 3.0, pointed out the same issue… The log seems exactly the same, halting at kernel panic message as before.

    I will try to use this image with ext2 Boot and ext4 XBMC…

    Cheers,
    K.

    #6496

    kadiblov
    Member

    One more update: Even with ext2 boot and ext4 XBMC, kernel panic message persists…
    Log looks exactly the same, despite of 2 partitions in a different SD Card. To make sure. I used the deafult card which came with CuBOX, and just renamed/copied directories…

    Not sure how to proceed from here… Ideas ?

    Cheers,
    K.

    #6497

    tomlohave
    Moderator

    did you update uboot with solidrun’s installer ?

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Comments are closed.