Re: Reg Linux-2.6.27 hang

Prabha J <[email protected]>
Newsgroups gmane.linux.ports.arm.general
Message-ID <OF132BDACD.5F2BEB9A-ON6525766A.003EDB18-6525766A.003EDB1B@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
([email protected]) (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

ram0: rw=0, want=16542, limit=8192

EXT2-fs error (device ram0): ext2_get_inode: unable to read inode block - inode=2129, block=8270

/etc/init exit code: -5

after call to /etc/init<6>attempt to access beyond end of device

ram0: rw=0, want=16522, limit=8192

EXT2-fs error (device ram0): ext2_get_inode: unable to read inode block - inode=2049, block=8260

/bin/init exit code: -5

after call to /bin/init<6>attempt to access beyond end of device

ram0: rw=0, want=16522, limit=8192

EXT2-fs error (device ram0): ext2_get_inode: unable to read inode block - inode=2049, block=8260

/bin/sh exit code: -5

after call to /sh/init<0>Kernel panic - not syncing: No init found. Try passing init= option to kernel.

____________

[email protected] wrote: -----

To: Prabha J <[email protected]>
From: Wan ZongShun
Sent by: [email protected]
Date: 11/05/2009 08:07PM
cc: [email protected]
Subject: Re: Reg Linux-2.6.27 hang

Hi Prabha,

Please pay attention to the EABI configure option.

2009/11/2 Prabha J <[email protected]>:
>
> Hi ,
>
> we are porting linux 2.6.27 on imx27 based platform. we did all the platform
> dependent changes .
>
> With this linux is booting till a point and stopping there ..
>
> stopping at
>
> (VFS) Mounting file system
> Freeing init memory
>
> While debugging through printk we could go till
>
> rest_init() -> kernel _init() -> init_post() --->
>
> Going for opening initial console . .... using sys_open() .... After that no
> prints .......
>
>
> Can any body help us to go forward ?
>
> Thanks in advance ,
> Prabha
>
>
> Please see the following logs ..
>
> Launch LinuxUncompressing
> Linux......................................................................
> done, booting the kernel.
> Linux version 2.6.28-arm2 ([email protected]) (gcc version 4.1.1)
> #75 Wed Oct 28 13:12:53 IST 2009
> 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.disableConsole: colour dummy device 80x30
> 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: 60780KB available (1956K code, 252K data, 92K init)
> Calibrating delay loop... 132.71 BogoMIPS (lpj=663552)
> Security Framework initialized
> Mount-cache hash table entries: 512
> CPU: Testing write buffer coherency: ok
> kernel thread started : M.V<5>SCSI subsystem initialized
> checking if image is initramfs...it isn't (no cpio magic); looks like an
> initrd
> do_sys_open entry<6>Freeing initrd memory: 1792K
> NetWinder Floating Point Emulator V0.97 (extended precision)
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> JFS: nTxBlock = 489, nTxLock = 3914
> msgmni has been set to 122
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq 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
> st: Version 20080504, fixed bufsize 32768, s/g segs 256
> Driver 'st' needs updating - please use bus_type methods
> Driver 'sd' needs updating - please use bus_type methods
> drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
> do_sys_open entrydo_sys_open entry<5>RAMDISK: Compressed image found at
> block 0
> EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
> VFS: Mounted root (ext2 filesystem).
> Freeing init memory: 92K
>
>
> After this some junk characters are coming like ....
>
> ��֍�&#531488;0^ޝ��r�'���ϊ��r:�������:��M� ��D�d�z ?��
> Τ��8V�`�Т���V잊]nn]^ク�m8m��^� �m� E��N��8��6���:]���
>
>
>
>
>

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you

_______________________________________________
linux-arm mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.