Reg Linux-2.6.27 hang

Wan ZongShun mcuos.com at gmail.com
Tue Nov 10 20:49:33 EST 2009


2009/11/10, Prabha J <prabha.j at tcs.com>:
> Hi,
> i tried enabling the EABI option in the kernel configuaration. Then also its
> hanging in the same place.
> We are using
> /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/bin/arm-926ejs-linux-
>  toolchain.
>
> Note: We have Linux-2.6.19.2 kernel working with or without enabling EABI
> option in the Kernel. If we use working kernels rootfilesystem with our
> zImage it is
> hanging at Freeing init memory.
>
> We also checked that Baudrate is correct(115200n8) and serial console is
> configured correctly.
> We  are blocked here for almost 2 weeks. Are we missing any
> configurations????
> Please help us in this regard.
>
> Thanks and Regards,
> Prabha
>
> We built our own filesystem with same toolchain as above. With this we are
> getting error as follows:
>
>
> *************************************
>  *         Card Information          *
>  *************************************
>  Card Type             : SD
>  Manufacturer ID       : 28
>  OEM/Application ID    : S
>  Product name          : SC
>  Product revision      : 1.0
>  Product serial number : 141073e
>  Size of Card          : 952 MBytes
>  ############
>  Read 1544192 bytes from file /zImage#
>  Dat is a3c0d5e4#######
>  Read 937984 bytes from file /initrd.gz
>  Launching Linux ...
>  Copying 178fe0 bytes of zImage from a1000000 to a0008000
>
>  Launch LinuxUncompressing
> Linux.............................................................................................
> done, booting the kernel.
> Linux version 2.6.28-arm2-00001-gace230c-dirty
> (root at localhost.localdomain) (gcc version 4.4.1 (Sourcery G++ Lite
> 2009q3-68) ) #91 PREEMPT Wed Nov 4 22:50:459
> CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
> CPU: VIVT data cache, VIVT instruction cache
> Machine: Freescale i.MX27ADS
> Memory policy: ECC disabled, Data cache writeback
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
> Kernel command line: root=/dev/ram rw mem=64M console=ttymxc0,115200
> MXC GPIO hardware
> MXC IRQ initialized
> PID hash table entries: 256 (order: 8, 1024 bytes)
>
>  Clock input source is 26000000
>
>  After for loop
>  test1
>  CCM_PCCR1 = fe5aef88
>  b4 spll_clk.disable<6>Dentry cache hash table entries: 8192 (order: 3,
> 32768 bytes)
> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> Memory: 64MB = 64MB total
> Memory: 60140KB available (2672K code, 161K data, 100K init)
> Calibrating delay loop... 132.71 BogoMIPS (lpj=663552)
> Mount-cache hash table entries: 512
> CPU: Testing write buffer coherency: ok
> kernel thread started : M.V<6>net_namespace: 288 bytes
> NET: Registered protocol family 16
> NET: Registered protocol family 2
> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> TCP established hash table entries: 2048 (order: 2, 16384 bytes)
> TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
> TCP: Hash tables configured (established 2048 bind 2048)
> TCP reno registered
> NET: Registered protocol family 1
> checking if image is initramfs...it isn't (no cpio magic); looks like an
> initrd
> Freeing initrd memory: 1792K
> JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
> JFS: nTxBlock = 484, nTxLock = 3875
> msgmni has been set to 121
> io scheduler noop registered (default)
> Serial: IMX driver
> imx-uart.0: ttymxc0 at MMIO 0x1000a000 (irq = 20) is a IMX
> console [ttymxc0] enabled
> imx-uart.1: ttymxc1 at MMIO 0x1000b000 (irq = 19) is a IMX
> imx-uart.2: ttymxc2 at MMIO 0x1000c000 (irq = 18) is a IMX
> imx-uart.3: ttymxc3 at MMIO 0x1000d000 (irq = 17) is a IMX
> imx-uart.4: ttymxc4 at MMIO 0x1001b000 (irq = 49) is a IMX
> imx-uart.5: ttymxc5 at MMIO 0x1001c000 (irq = 48) is a IMX
> brd: module loaded
> loop: module loaded
> physmap platform flash device: 02000000 at c0000000
> physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
> Support for command set 0002 not present
> gen_probe: No supported Vendor Command Set found
> physmap-flash physmap-flash.0: map_probe failed
> TCP cubic registered
> NET: Registered protocol family 17
> RPC: Registered udp transport module.
> RPC: Registered tcp transport module.
> RAMDISK: Compressed image found at block 0
> RAMDISK: incomplete write (-28 != 32768) 4194304
> VFS: Mounted root (ext2 filesystem).
> Freeing init memory: 100K
> attempt to access beyond end of device
> ram0: rw=0, want=16530, limit=8192
> EXT2-fs error (device ram0): ext2_get_inode: unable to read inode block -
> inode=2082, block=8264
> Warning: unable to open an initial console.
> after call to sys_dup second time<6>attempt to access beyond end of device
> ram0: rw=0, want=10244, limit=8192
> attempt to access beyond end of device
> ram0: rw=0, want=10244, limit=8192
> /sbin/init exit code: -2
> after call to /sbin/init<6>attempt to access beyond end of device



More information about the linux-arm mailing list