Go to previous topic
Go to next topic
Last Post 03 Oct 2016 06:27 AM by  Adam Ford
VM build failed to boot up
 4 Replies
Author Messages
minchun liu
New Member
New Member
Posts:5


--
12 Sep 2013 02:27 PM
    I installed Virtual Machine 2.3 on a Win7 PC. I manually created a folder in rootfs/myFolder and added my application files to it which is about 7MB. The build was fine. The folder was included in the file rootfs.ext2.gz.uboot. But I got Kernel Panic during boot-up, see the attached log. Could anyone tell me how to change the size of rm0?

    If I remove all the files in myFolder and only keep a file with a few KBytes, it can boot up successfully.
    Also the same Kernel Panic happens on VM 2.2.


    =============Message Log================


    Starting kernel ...

    [ 0.000000] Linux version 3.0.0-BSP-dm37x-2.3-2 (root@logic-virtual) (gcc ver
    sion 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #3 Wed Aug 28 01:39:54 CDT 2013
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache

    [ 0.000000] Machine: Logic DM37x Torpedo board
    [ 0.000000] debug: ignoring loglevel setting.
    [ 0.000000] Reserving 4194304 bytes SDRAM for VRAM
    [ 0.000000] Memory policy: ECC disabled, Data cache writeback
    [ 0.000000] OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk )
    [ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
    [ 0.000000] On node 0 totalpages: 64512
    [ 0.000000] free_area_init_node: node 0, pgdat c092b014, node_mem_map c0ece00
    0
    [ 0.000000] Normal zone: 512 pages used for memmap
    [ 0.000000] Normal zone: 0 pages reserved
    [ 0.000000] Normal zone: 64000 pages, LIFO batch:15
    [ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz
    [ 0.000000] Reprogramming SDRC clock to 400000000 Hz
    [ 0.000000] dpll3_m2_clk rate change failed: -22
    [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [ 0.000000] pcpu-alloc: [0] 0
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64000
    [ 0.000000] Kernel command line: nand-ecc=chip console=ttyO0,115200n8 display
    =15 ignore_loglevel early_printk no_console_suspend mtdparts=omap2-nand.0:512k(x
    -loader),1664k(u-boot),384k(u-boot-env),5m(kernel),20m(ramdisk),-(fs) root=/dev/
    ram rw ramdisk_size=64000
    [ 0.000000] omap3logic_display_selection:265
    [ 0.000000] Standard display '15' 480:272:2:3:3:2:42:11:9000:1048635:16
    [ 0.000000] omap3logic_display_selection: found panel '15'
    [ 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: 252MB = 252MB total
    [ 0.000000] Memory: 225052k/225052k available, 37092k 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] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
    [ 0.000000] vmalloc : 0xd0800000 - 0xf8000000 ( 632 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
    [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
    [ 0.000000] .init : 0xc0008000 - 0xc0045000 ( 244 kB)
    [ 0.000000] .text : 0xc0045000 - 0xc07593d8 (7249 kB)
    [ 0.000000] .data : 0xc075a000 - 0xc0939170 (1917 kB)
    [ 0.000000] .bss : 0xc0939194 - 0xc0ecd4b4 (5713 kB)
    [ 0.000000] NR_IRQS:410
    [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
    [ 0.000000] Total of 96 interrupts on 1 active controller
    [ 0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
    [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 13
    1071999ms
    [ 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: 3951 kB
    [ 0.000000] per task-struct memory footprint: 2304 bytes
    [ 0.000823] Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)
    [ 0.093841] pid_max: default: 32768 minimum: 301
    [ 0.094329] Security Framework initialized
    [ 0.094635] Mount-cache hash table entries: 512
    [ 0.098846] CPU: Testing write buffer coherency: ok
    [ 0.109771] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_core
    [ 0.109802] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_per
    [ 0.109802] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_wkup

    [ 0.110229] omap_hwmod: gpt12_fck: missing clockdomain for gpt12_fck.
    [ 0.141082] print_constraints: dummy:
    [ 0.141479] cpufreq_core_init:1887
    [ 0.142608] NET: Registered protocol family 16
    [ 0.143310] GPMC revision 5.0
    [ 0.147460] omap_device: omap_gpio.0: new worst case activate latency 0: 91552
    [ 0.149597] OMAP GPIO hardware version 2.5
    [ 0.151031] OMAP GPIO hardware version 2.5
    [ 0.152496] OMAP GPIO hardware version 2.5
    [ 0.153900] OMAP GPIO hardware version 2.5
    [ 0.155242] OMAP GPIO hardware version 2.5
    [ 0.156768] OMAP GPIO hardware version 2.5
    [ 0.158935] omap_mux_init: Add partition: #1: core, flags: 0
    [ 0.265930] omap3torpedo_fix_pbias_voltage:1309 PKUP_CTRL 0x40
    [ 0.268066] omap3logic_lcd_init: name 15 data_lines 16
    [ 0.271728] Setup pinmux and enable UART A
    [ 0.272277] omap_device: omap_uart.0: new worst case activate latency 0: 30517
    [ 0.272735] omap_device: omap_uart.0: new worst case deactivate latency 0: 30517
    [ 0.273010] Setup pinmux and enable UART B
    [ 0.274261] Setup pinmux and enable UART C
    [ 0.275604] Minchun: Modified SPIDEV SPI1.0
    [ 0.276733] Minchun: Total SPI ports=8
    [ 0.276794] _omap_mux_init_gpio: Multiple gpio paths (2) for gpio130
    [ 0.276824] _omap_mux_init_gpio: Multiple gpio paths (2) for gpio131
    [ 0.277221] gpio_request: gpio-154 (TxPwr) status -16
    [ 0.277252] !!!ML: Can't allocate GPIO 154
    [ 0.277252] Minchun: ml_gpio_init DONE
    [ 0.277282] arch/arm/mach-omap2/board-omap3logic-new-productid.c[330]
    [ 0.277313] U-boot provided product_id data has invalid header version -22!
    [ 0.277313] No valid product ID data found in SRAM
    [ 0.277496] gpio_request: gpio-152 (wlan_irq) status -16
    [ 0.277526] Failed to gpio_request 152 for wlan_irq
    [ 0.279357] _nand_init: id 0 nand_cs 0
    [ 0.279998] registered isp1763 platform_device
    [ 0.282409] dm3730logic_camera_init: muxing 8-bit interface (cam_d0-cam_d7)
    [ 0.282897] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.292907] OMAP DMA hardware revision 5.0
    [ 0.328094] bio: create slab at 0
    [ 0.331787] SCSI subsystem initialized
    [ 0.332672] omap_device: omap2_mcspi.1: new worst case activate latency 0: 30
    517
    [ 0.335906] omap_device: omap2_mcspi.1: new worst case deactivate latency 0:
    30517
    [ 0.340789] usbcore: registered new interface driver usbfs
    [ 0.341186] usbcore: registered new interface driver hub
    [ 0.341674] usbcore: registered new device driver usb
    [ 0.344146] omap_device: omap_i2c.1: new worst case activate latency 0: 30517

    [ 0.344360] omap_i2c omap_i2c.1: bus 1 rev4.0 at 2600 kHz
    [ 0.379577] twl4030: PIH (irq 7) chaining IRQs 368..375
    [ 0.379821] twl4030: power (irq 373) chaining IRQs 376..383
    [ 0.381896] twl4030: gpio (irq 368) chaining IRQs 384..401
    [ 0.385406] machine_constraints_voltage: VUSB1V5: override min_uV, 1 -> 15000
    00
    [ 0.385437] machine_constraints_voltage: VUSB1V5: override max_uV, 2147483647
    -> 1500000
    [ 0.385467] print_constraints: VUSB1V5: 1500 mV normal standby
    [ 0.387145] machine_constraints_voltage: VUSB1V8: override min_uV, 1 -> 18000
    00
    [ 0.387176] machine_constraints_voltage: VUSB1V8: override max_uV, 2147483647
    -> 1800000
    [ 0.387207] print_constraints: VUSB1V8: 1800 mV normal standby
    [ 0.388885] machine_constraints_voltage: VUSB3V1: override min_uV, 1 -> 31000
    00
    [ 0.388916] machine_constraints_voltage: VUSB3V1: override max_uV, 2147483647
    -> 3100000
    [ 0.388946] print_constraints: VUSB3V1: 3100 mV normal standby
    [ 0.394226] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
    [ 0.396362] print_constraints: vdd_mpu_iva: 600 <--> 1450 mV normal
    [ 0.398345] print_constraints: vdd_core: 600 <--> 1450 mV normal
    [ 0.400512] print_constraints: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
    [ 0.402282] print_constraints: VDAC: 1800 mV normal standby
    [ 0.404144] print_constraints: VDVI: 1800 mV normal standby
    [ 0.405944] print_constraints: VMMC2: 1850 <--> 3150 mV at 2600 mV normal standby
    [ 0.407836] print_constraints: VAUX1: 3000 mV normal standby
    [ 0.409912] print_constraints: VAUX3: 2800 mV normal standby
    [ 0.411773] print_constraints: vaux4: 1800 mV normal standby
    [ 0.412506] omap_device: omap_i2c.1: new worst case deactivate latency 0: 30517
    [ 0.412872] omap_i2c omap_i2c.2: bus 2 rev4.0 at 400 kHz
    [ 0.413787] omap_device: omap_i2c.1: new worst case activate latency 0: 61035

    [ 0.422088] omap_i2c omap_i2c.3: bus 3 rev4.0 at 400 kHz
    [ 0.424865] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [ 0.427429] Bluetooth: Core ver 2.16
    [ 0.427673] NET: Registered protocol family 31
    [ 0.427673] Bluetooth: HCI device and connection manager initialized
    [ 0.427795] Bluetooth: HCI socket layer initialized
    [ 0.427825] Bluetooth: L2CAP socket layer initialized
    [ 0.428466] Bluetooth: SCO socket layer initialized
    [ 0.430816] cfg80211: Calling CRDA to update world regulatory domain
    [ 0.435058] Switching to clocksource 32k_counter
    [ 0.437896] Switched to NOHz mode on CPU #0
    [ 0.568908] musb-hdrc: version 6.0, musb-dma, otg (peripheral+host)
    [ 0.569427] omap_device: musb-omap2430.-1: new worst case activate latency 0: 30517
    [ 0.577301] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [ 0.577331] musb-hdrc: MHDRC RTL version 1.800
    [ 0.577362] musb-hdrc: setup fifo_mode 4
    [ 0.577362] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [ 0.578155] musb-hdrc musb-hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
    [ 0.579101] NET: Registered protocol family 2
    [ 0.579681] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.581481] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.581909] TCP bind hash table entries: 8192 (order: 6, 360448 bytes)
    [ 0.586486] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.586547] TCP reno registered
    [ 0.586608] UDP hash table entries: 128 (order: 1, 12288 bytes)
    [ 0.586944] UDP-Lite hash table entries: 128 (order: 1, 12288 bytes)
    [ 0.588134] NET: Registered protocol family 1
    [ 0.590209] RPC: Registered named UNIX socket transport module.
    [ 0.590240] RPC: Registered udp transport module.
    [ 0.590240] RPC: Registered tcp transport module.
    [ 0.590270] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.590362] NetWinder Floating Point Emulator V0.97 (double precision)
    [ 0.590942] added int user_gpio_init_module () registed
    [ 0.593811] omap-iommu omap-iommu.0: isp registered
    [ 0.777008] Trying to unpack rootfs image as initramfs...
    [ 0.780609] rootfs image is not initramfs (no cpio magic); looks like an initrd
    [ 0.782958] VFS: Disk quotas dquot_6.5.2
    [ 0.783050] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.785736] JFFS2 version 2.2. (NAND) (SUMMARY) 2001-2006 Red Hat, Inc.
    [ 0.786468] yaffs: yaffs built Jan 17 2013 15:45:13 Installing.
    [ 0.786590] msgmni has been set to 439
    [ 0.793670] omap_device: musb-omap2430.-1: new worst case deactivate latency0: 61035
    [ 0.796112] io scheduler noop registered
    [ 0.796142] io scheduler deadline registered
    [ 0.796295] io scheduler cfq registered (default)
    [ 0.798767] Generic Backlight Driver Initialized.
    [ 0.857330] OMAP DSS rev 2.0
    [ 0.866027] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [ 0.883972] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
    [ 1.977172] console [ttyO0] enabled
    [ 2.026794] Freeing initrd memory: 15532K
    [ 2.031799] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
    [ 2.040466] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
    [ 2.072448] brd: module loaded
    [ 2.087463] loop: module loaded
    [ 2.095550] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 2.102783] omap2-nand driver initializing
    [ 2.108184] nand_get_flash_type: disturb ce280000 chipsize 536870912 erasesize 131072
    [ 2.116485] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB 1,8V 16-bit)
    [ 2.125640] NAND ECC: HW_CHIP
    [ 2.128814] 6 cmdlinepart partitions found on MTD device omap2-nand.0
    [ 2.135650] Creating 6 MTD partitions on "omap2-nand.0":
    [ 2.141326] 0x000000000000-0x000000080000 : "x-loader"
    [ 2.153137] 0x000000080000-0x000000220000 : "u-boot"
    [ 2.163543] 0x000000220000-0x000000280000 : "u-boot-env"
    [ 2.172851] 0x000000280000-0x000000780000 : "kernel"
    [ 2.186248] 0x000000780000-0x000001b80000 : "ramdisk"
    [ 2.213439] 0x000001b80000-0x000020000000 : "fs"
    [ 2.677093] smsc911x: Driver version 2008-10-21
    [ 2.687866] smsc911x-mdio: probed
    [ 2.691772] smsc911x smsc911x.0: eth0: attached PHY driver [SMSC LAN8700] (mii_bus:phy_addr=0:01, irq=-1)
    [ 2.703857] smsc911x smsc911x.0: eth0: MAC Address: 86:3b:b9:2f:ab:7a
    [ 2.711334] usbcore: registered new interface driver asix
    [ 2.717254] usbcore: registered new interface driver cdc_ether
    [ 2.723541] usbcore: registered new interface driver net1080
    [ 2.729705] usbcore: registered new interface driver cdc_subset
    [ 2.736145] usbcore: registered new interface driver zaurus
    [ 2.742065] cdc_ncm: 01-June-2011
    [ 2.745758] usbcore: registered new interface driver cdc_ncm
    [ 2.751770] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 2.759399] devflags passed by probe: 0x00000004
    [ 2.794616] hwmode pullup disable
    [ 2.798095] Error: ISP1763 chip ID wrong! (14011401, expected 00176320)
    [ 2.805084] ISP1783 using host mode
    [ 2.808746] otg_set_role() switching to HOST role
    [ 2.813751] isp1763 initialization successfully
    [ 2.818542] ISP1763 USB device initialised
    [ 2.823181] Registered host as active driver
    [ 2.827728] isp1763 isp1763: ST-Ericsson ISP1763 USB Host Controller
    [ 2.836151] isp1763 isp1763: new USB bus registered, assigned bus number 1
    [ 3.480407] isp1763 isp1763: can't setup
    [ 3.484558] isp1763 isp1763: USB bus 1 deregistered
    [ 3.492156] isp1763 host controller driver loaded
    [ 3.497100] Initializing USB Mass Storage driver...
    [ 3.502624] usbcore: registered new interface driver usb-storage
    [ 3.509002] USB Mass Storage support registered.
    [ 3.514129] usbcore: registered new interface driver usbtest
    [ 3.521270] mousedev: PS/2 mouse device common for all mice
    [ 3.530059] gpio_request: gpio-153 (tsc2004-irq) status -16
    [ 3.535919] failed to request GPIO#153: -16
    [ 3.543426] tsc2004: probe of 3-0048 failed with error -121
    [ 3.549530] i2c-core: driver [tsc2004] using legacy resume method
    [ 3.558013] input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input0
    [ 3.577972] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
    [ 3.584838] twl_rtc twl_rtc: Power up reset detected.
    [ 3.590972] twl_rtc twl_rtc: Enabling TWL-RTC.
    [ 3.596527] i2c /dev entries driver
    [ 3.602722] Linux media interface: v0.10
    [ 3.607757] lirc_dev: IR Remote Control driver registered, major 250
    [ 3.614624] IR NEC protocol handler initialized
    [ 3.619445] IR RC5(x) protocol handler initialized
    [ 3.624542] IR RC6 protocol handler initialized
    [ 3.629302] IR JVC protocol handler initialized
    [ 3.634094] IR Sony protocol handler initialized
    [ 3.639007] IR RC5 (streamzap) protocol handler initialized
    [ 3.644866] IR LIRC bridge handler initialized
    [ 3.649566] Linux video capture interface: v2.00
    [ 3.656036] omap3isp omap3isp: Revision 15.0 found
    [ 3.661376] omap-iommu omap-iommu.0: isp: version 1.1
    [ 3.685577] ov7690 3-0021: OV7690 not detected, wrong manufacturer or version
    [ 3.695312] isp_register_subdev_group: Unable to register subdev ov7690
    [ 3.704467] mt9p031 2-0048: MT9P031 not detected, wrong version 0xffffff87
    [ 3.712371] isp_register_subdev_group: Unable to register subdev mt9p031
    [ 3.723754] usbcore: registered new interface driver uvcvideo
    [ 3.729888] USB Video Class driver (v1.1.0)
    [ 3.735015] omap_device: omap_wdt.-1: new worst case activate latency 0: 30517
    [ 3.743743] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
    [ 3.750183] omap_device: omap_wdt.-1: new worst case deactivate latency 0: 30517
    [ 3.760711] cpuidle: using governor ladder
    [ 3.765106] cpuidle: using governor menu
    [ 3.777557] Registered led device: led1
    [ 3.782196] Registered led device: led2
    [ 3.791076] Registered led device: led3
    [ 3.796936] usbcore: registered new interface driver usbhid
    [ 3.802856] usbhid: USB HID core driver
    [ 3.808990] usbcore: registered new interface driver snd-usb-audio
    [ 3.820098] OMAP3 Logic DM37x/OMAP35x SOM LV/Torpedo SoC init
    [ 3.926605] asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
    [ 3.938629] ALSA device list:
    [ 3.941741] #0: omap3logic
    [ 3.944854] oprofile: hardware counters not available
    [ 3.950164] oprofile: using timer interrupt.
    [ 3.954864] nf_conntrack version 0.5.0 (3759 buckets, 15036 max)
    [ 3.963073] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 3.969512] TCP cubic registered
    [ 3.972930] Initializing XFRM netlink socket
    [ 3.977661] NET: Registered protocol family 17
    [ 3.982513] NET: Registered protocol family 15
    [ 3.987823] Bluetooth: RFCOMM TTY layer initialized
    [ 3.993103] Bluetooth: RFCOMM socket layer initialized
    [ 3.998565] Bluetooth: RFCOMM ver 1.11
    [ 4.002471] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 4.008178] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [ 4.015289] Registering the dns_resolver key type
    [ 4.020965] VFP support v0.3: implementor 41 architecture 3 part 30 variant c
    rev 3
    [ 4.029144] ThumbEE CPU extension supported.
    [ 4.058471] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
    [ 4.068511] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
    [ 4.077514] SmartReflex Class3 initialized
    [ 4.081817] sr_start_vddautocomp: sr->srid 1
    [ 4.086486] omap_device: smartreflex.1: new worst case activate latency 0: 122070
    [ 4.094451] sr_start_vddautocomp: sr->srid 0
    [ 4.160461] clock: disabling unused clocks to save power
    [ 4.177185] Console: switching to colour frame buffer device 60x34
    [ 4.475616] smartreflex smartreflex.0: sr_v2_disable: Smartreflex disable timedout
    [ 4.484222] omap_device: smartreflex.0: new worst case deactivate latency 0:152587
    [ 4.529144] mmc0: host does not support reading read-only switch. assuming write-enable.
    [ 4.538085] mmc0: new SDHC card at address 0007
    [ 4.547485] mmcblk0: mmc0:0007 SL04G 3.70 GiB
    [ 4.566253] mmcblk0: p1
    [ 4.624298] omap_device: omap_i2c.1: new worst case activate latency 0: 152587
    [ 4.632751] regulator_init_complete: VAUX3: incomplete constraints, leaving on
    [ 4.642272] regulator_init_complete: VDAC: incomplete constraints, leaving on
    [ 4.656402] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:01 UTC(946684801)
    [ 4.665802] omap_vout omap_vout: Buffer Size = 3686400
    [ 4.675323] omap_vout omap_vout: : registered and initialized video device 15
    [ 4.683105] omap_vout omap_vout: Buffer Size = 3686400
    [ 4.690979] omap_vout omap_vout: : registered and initialized video device 16

    [ 4.707519] RAMDISK: gzip image found at block 0
    [ 4.827575] dm3730_torpedo_bl_set_intensity: level 178 (69% on)
    [ 4.834014] dm3730_torpedo_bl_set_intensity: turn on GPIO_154 as backlight!
    [ 5.100616] smartreflex smartreflex.0: sr_v2_disable: Smartreflex disable tim
    edout
    [ 7.186401] RAMDISK: incomplete write (2037 != 10663)
    [ 7.191711] write error
    [ 7.664123] VFS: Mounted root (ext2 filesystem) on device 1:0.
    [ 7.670593] Freeing init memory: 244K
    [ 7.678039] attempt to access beyond end of device
    [ 7.683044] ram0: rw=0, want=134412, limit=128000
    [ 7.688232] Buffer I/O error on device ram0, logical block 67205
    [ 7.694610] attempt to access beyond end of device
    [ 7.699615] ram0: rw=0, want=134502, limit=128000
    [ 7.704559] Buffer I/O error on device ram0, logical block 67250
    [ 7.710906] attempt to access beyond end of device
    [ 7.715911] ram0: rw=0, want=134412, limit=128000
    [ 7.720886] Buffer I/O error on device ram0, logical block 67205
    [ 7.727203] attempt to access beyond end of device
    [ 7.732269] ram0: rw=0, want=134502, limit=128000
    [ 7.737182] Buffer I/O error on device ram0, logical block 67250
    [ 7.745391] Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
    [ 7.758544] [] (unwind_backtrace+0x0/0x138) from [] (panic+0x6c/0x1a4)
    [ 7.767272] [] (panic+0x6c/0x1a4) from [] (init_post+0xf8/0x154)
    [ 7.775421] [] (init_post+0xf8/0x154) from [] (kernel_init+0x124/0x13c)
    [ 7.784210] [] (kernel_init+0x124/0x13c) from [] (kernel_thread_exit+0x0/0x8)

    ==============End of Log ===============
    steven.eckhoff
    Basic Member
    Basic Member
    Posts:192


    --
    24 Sep 2013 10:12 AM
    Minchun,

    Have you tried this using NAND and a YAFFS filesystem?
    minchun liu
    New Member
    New Member
    Posts:5


    --
    15 Oct 2013 02:08 PM
    Steven

    I haven't tried NAND or YAFFS yet. But with the latest 2.4-2 VM, the issue seems fixed.

    Thanks,

    Minchun
    Mark Gregory
    New Member
    New Member
    Posts:9


    --
    02 Oct 2016 11:04 AM

    I am having a similar issue when adding additional packages and booting from an SD card. After building the image on my host machine it compiles fine but it gives me a blurb about setting boot args to increase ramdisk_size.  I have increased the ramdisk_size to the value recommended and it still fails to boot.  I added make only and it booted fine.  Then I recompiled adding git and gdb (running on target) with make and it fails.  

    This seems to be the primary point of failure:

    [    6.925598] RAMDISK: incomplete write (18872 != 32768)
    [    6.931060] write error
    [    7.322540] VFS: Mounted root (ext2 filesystem) on device 1:0.
    [    7.328979] Freeing init memory: 244K
    [    7.333862] EXT2-fs (ram0): error: ext2_get_inode: unable to read inode block - inode=2009, block=73390
    [    7.343750] EXT2-fs (ram0): error: remounting filesystem read-only
    [    7.350891] EXT2-fs (ram0): error: ext2_get_inode: unable to read inode block - inode=2648, block=97847
    [    7.360778] EXT2-fs (ram0): error: remounting filesystem read-only
    [    7.367431] EXT2-fs (ram0): error: ext2_get_inode: unable to read inode block - inode=2009, block=73390
    [    7.377319] EXT2-fs (ram0): error: remounting filesystem read-only
    [    7.384002] EXT2-fs (ram0): error: ext2_get_inode: unable to read inode block - inode=2009, block=73390
    [    7.393890] EXT2-fs (ram0): error: remounting filesystem read-only
    [    7.400451] Kernel panic - not syncing: No init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.

     

     

         

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    03 Oct 2016 06:27 AM
    Can you post the beginning of the boot log where it displays the ramdisk size? I want to see what it says.

    How big did ltib say the image was?

    adam


    ---