Reg Linux-2.6.27 hang
Marek Vasut
marek.vasut at gmail.com
Sat Dec 5 10:13:27 EST 2009
Dne Út 10. listopadu 2009 12:26:34 Prabha J napsal(a):
> <font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif"
> size="2"> Hi,<br>i tried enabling the EABI option in the kernel
> configuaration. Then also its hanging in the same place.<br>We are using
> /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/bi
> n/arm-926ejs-linux- toolchain.<br><br>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 <br>hanging at
> Freeing init memory.<br><br>We also checked that Baudrate is
> correct(115200n8) and serial console is configured correctly.<br>We
> are blocked here for almost 2 weeks. Are we missing any
> configurations????<br>Please help us in this regard.<br><br>Thanks and
> Regards,<br>Prabha<br><br>We built our own filesystem with same toolchain
> as above. With this we are getting error as follows:<br><br><br><font
> face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif"
> size="2">*************************************
> <br> * Card
> Information *
> <br> *************************************
> <br> Card
> Type &nbs
> p; : SD <br> Manufacturer ID : 28
> <br> OEM/Application ID : S
> <br> Product
> name : SC
> <br> Product revision : 1.0
> <br> Product serial number : 141073e
> <br> Size of
> Card : 952 MBytes
> <br> ############
> <br> Read 1544192 bytes from file /zImage#
> <br> Dat is a3c0d5e4#######
> <br> Read 937984 bytes from file /initrd.gz
> <br> Launching Linux ...
> <br> Copying 178fe0 bytes of zImage from a1000000 to a0008000
> <br><br> Launch LinuxUncompressing
> Linux......................................................................
> ....................... done, booting the kernel.
> <br>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
> <br>CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
> <br>CPU: VIVT data cache, VIVT instruction cache
> <br>Machine: Freescale i.MX27ADS
> <br>Memory policy: ECC disabled, Data cache writeback
> <br>Built 1 zonelists in Zone order, mobility grouping on. Total
> pages: 16256 <br>Kernel command line: root=/dev/ram rw mem=64M
> console=ttymxc0,115200 <br>MXC GPIO hardware
> <br>MXC IRQ initialized
> <br>PID hash table entries: 256 (order: 8, 1024 bytes)
> <br><br> Clock input source is 26000000
> <br><br> After for loop
> <br> test1
> <br> CCM_PCCR1 = fe5aef88
> <br> b4 spll_clk.disable<6>Dentry cache hash table entries: 8192
> (order: 3, 32768 bytes) <br>Inode-cache hash table entries: 4096 (order:
> 2, 16384 bytes)
> <br>Memory: 64MB = 64MB total
> <br>Memory: 60140KB available (2672K code, 161K data, 100K init)
> <br>Calibrating delay loop... 132.71 BogoMIPS (lpj=663552)
> <br>Mount-cache hash table entries: 512
> <br>CPU: Testing write buffer coherency: ok
> <br>kernel thread started : M.V<6>net_namespace: 288 bytes
> <br>NET: Registered protocol family 16
> <br>NET: Registered protocol family 2
> <br>IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> <br>TCP established hash table entries: 2048 (order: 2, 16384 bytes)
> <br>TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
> <br>TCP: Hash tables configured (established 2048 bind 2048)
> <br>TCP reno registered
> <br>NET: Registered protocol family 1
> <br>checking if image is initramfs...it isn't (no cpio magic); looks like
> an initrd <br>Freeing initrd memory: 1792K
> <br>JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
> <br>JFS: nTxBlock = 484, nTxLock = 3875
> <br>msgmni has been set to 121
> <br>io scheduler noop registered (default)
> <br>Serial: IMX driver
> <br>imx-uart.0: ttymxc0 at MMIO 0x1000a000 (irq = 20) is a IMX
> <br>console [ttymxc0] enabled
> <br>imx-uart.1: ttymxc1 at MMIO 0x1000b000 (irq = 19) is a IMX
> <br>imx-uart.2: ttymxc2 at MMIO 0x1000c000 (irq = 18) is a IMX
> <br>imx-uart.3: ttymxc3 at MMIO 0x1000d000 (irq = 17) is a IMX
> <br>imx-uart.4: ttymxc4 at MMIO 0x1001b000 (irq = 49) is a IMX
> <br>imx-uart.5: ttymxc5 at MMIO 0x1001c000 (irq = 48) is a IMX
> <br>brd: module loaded
> <br>loop: module loaded
> <br>physmap platform flash device: 02000000 at c0000000
> <br>physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
> <br>Support for command set 0002 not present
> <br>gen_probe: No supported Vendor Command Set found
> <br>physmap-flash physmap-flash.0: map_probe failed
> <br>TCP cubic registered
> <br>NET: Registered protocol family 17
> <br>RPC: Registered udp transport module.
> <br>RPC: Registered tcp transport module.
> <br>RAMDISK: Compressed image found at block 0
> <br>RAMDISK: incomplete write (-28 != 32768) 4194304
> <br>VFS: Mounted root (ext2 filesystem).
> <br>Freeing init memory: 100K
> <br>attempt to access beyond end of device
> <br>ram0: rw=0, want=16530, limit=8192
> <br>EXT2-fs error (device ram0): ext2_get_inode: unable to read inode block
> - inode=2082, block=8264 <br>Warning: unable to open an initial console.
> <br>after call to sys_dup second time<6>attempt to access beyond end
> of device <br>ram0: rw=0, want=10244, limit=8192
> <br>attempt to access beyond end of device
> <br>ram0: rw=0, want=10244, limit=8192
> <br>/sbin/init exit code: -2
> <br>after call to /sbin/init<6>attempt to access beyond end of device
> <br>ram0: rw=0, want=16542, limit=8192
> <br>EXT2-fs error (device ram0): ext2_get_inode: unable to read inode block
> - inode=2129, block=8270 <br>/etc/init exit code: -5
> <br>after call to /etc/init<6>attempt to access beyond end of device
> <br>ram0: rw=0, want=16522, limit=8192
> <br>EXT2-fs error (device ram0): ext2_get_inode: unable to read inode block
> - inode=2049, block=8260 <br>/bin/init exit code: -5
> <br>after call to /bin/init<6>attempt to access beyond end of device
> <br>ram0: rw=0, want=16522, limit=8192
> <br>EXT2-fs error (device ram0): ext2_get_inode: unable to read inode block
> - inode=2049, block=8260 <br>/bin/sh exit code: -5
> <br>after call to /sh/init<0>Kernel panic - not syncing: No init
> found. Try passing init= option to kernel.
> </font><br><br>____________<br><br><font
> color="#990099">-----linux-arm-bounces at lists.infradead.org wrote:
> -----</font><div><blockquote style="border-left: 2px solid black;
> padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right:
> 0px;">To: Prabha J <prabha.j at tcs.com><br>From: Wan ZongShun
> <mcuos.com at gmail.com><br>Sent by:
> linux-arm-bounces at lists.infradead.org<br>Date: 11/05/2009 08:07PM<br>cc:
> linux-arm at lists.infradead.org<br>Subject: Re: Reg Linux-2.6.27
> hang<br><br><pre>Hi Prabha,<br><br>Please pay attention to the EABI
> configure option.<br><br>2009/11/2 Prabha J
> <prabha.j at tcs.com>:<br>><br>> Hi ,<br>><br>> we are
> porting linux 2.6.27 on imx27 based platform. we did all the
> platform<br>> dependent changes .<br>><br>> With this linux is
> booting till a point and stopping there ..<br>><br>> stopping
> at<br>><br>> (VFS) Mounting file system<br>> Freeing init
> memory<br>><br>> While debugging through printk we could go
> till<br>><br>> rest_init() -> kernel _init() ->
> init_post() ---><br>><br>> Going for opening initial console .
> .... using sys_open() .... After that no<br>> prints
> .......<br>><br>><br>> Can any body help us to go forward
> ?<br>><br>> Thanks in advance ,<br>>
> Prabha<br>><br>><br>> Please see the following logs
> ..<br>><br>> Launch LinuxUncompressing<br>>
> Linux.....................................................................
> .<br>> done, booting the kernel.<br>> Linux version 2.6.28-arm2
> (root at localhost.localdomain) (gcc version 4.1.1)<br>> #75 Wed Oct 28
> 13:12:53 IST 2009<br>> CPU: ARM926EJ-S [41069264] revision 4
> (ARMv5TEJ), cr=00053177<br>> CPU: VIVT data cache, VIVT instruction
> cache<br>> Machine: Freescale i.MX27ADS<br>> Memory policy: ECC
> disabled, Data cache writeback<br>> Built 1 zonelists in Zone order,
> mobility grouping on. Total pages: 16256<br>> Kernel command
> line: root=/dev/ram rw mem=64M console=ttymxc0,115200<br>> MXC GPIO
> hardware<br>> MXC IRQ initialized<br>> PID hash table entries: 256
> (order: 8, 1024 bytes)<br>><br>> Clock input source is
> 26000000<br>><br>> After for loop<br>> test1<br>>
> CCM_PCCR1 = fe5aef88<br>> b4 spll_clk.disableConsole:
> colour dummy device 80x30<br>> Dentry cache hash table entries: 8192
> (order: 3, 32768 bytes)<br>> Inode-cache hash table entries: 4096
> (order: 2, 16384 bytes)<br>> Memory: 64MB = 64MB total<br>> Memory:
> 60780KB available (1956K code, 252K data, 92K init)<br>> Calibrating
> delay loop... 132.71 BogoMIPS (lpj=663552)<br>> Security Framework
> initialized<br>> Mount-cache hash table entries: 512<br>> CPU:
> Testing write buffer coherency: ok<br>> kernel thread started :
> M.V<5>SCSI subsystem initialized<br>> checking if image is
> initramfs...it isn't (no cpio magic); looks like an<br>> initrd<br>>
> do_sys_open entry<6>Freeing initrd memory: 1792K<br>> NetWinder
> Floating Point Emulator V0.97 (extended precision)<br>> VFS: Disk
> quotas dquot_6.5.1<br>> Dquot-cache hash table entries: 1024 (order 0,
> 4096 bytes)<br>> JFS: nTxBlock = 489, nTxLock = 3914<br>> msgmni has
> been set to 122<br>> io scheduler noop registered<br>> io scheduler
> anticipatory registered<br>> io scheduler deadline registered<br>>
> io scheduler cfq registered (default)<br>> Serial: IMX driver<br>>
> imx-uart.0: ttymxc0 at MMIO 0x1000a000 (irq = 20) is a IMX<br>> console
> [ttymxc0] enabled<br>> imx-uart.1: ttymxc1 at MMIO 0x1000b000 (irq =
> 19) is a IMX<br>> imx-uart.2: ttymxc2 at MMIO 0x1000c000 (irq = 18) is
> a IMX<br>> imx-uart.3: ttymxc3 at MMIO 0x1000d000 (irq = 17) is a
> IMX<br>> imx-uart.4: ttymxc4 at MMIO 0x1001b000 (irq = 49) is a
> IMX<br>> imx-uart.5: ttymxc5 at MMIO 0x1001c000 (irq = 48) is a
> IMX<br>> brd: module loaded<br>> loop: module loaded<br>> st:
> Version 20080504, fixed bufsize 32768, s/g segs 256<br>> Driver 'st'
> needs updating - please use bus_type methods<br>> Driver 'sd' needs
> updating - please use bus_type methods<br>> drivers/rtc/hctosys.c:
> unable to open rtc device (rtc0)<br>> do_sys_open entrydo_sys_open
> entry<5>RAMDISK: Compressed image found at<br>> block 0<br>>
> EXT2-fs warning: mounting unchecked fs, running e2fsck is
> recommended<br>> VFS: Mounted root (ext2 filesystem).<br>> Freeing
> init memory: 92K<br>><br>><br>> After this some junk characters
> are coming like ....<br>><br>>
> ��֍�&#531488;0^ޝ��rA
> 533;'���ϊ��r:��ᦙ
> 3;����:��M�
> ��D�d�z ?��<br>>
> Τ��8V�`�Т���V&
> #51082;]nn]^ク�m8m��^� �m�
> E��N��8��6��ᦙ
> 3;:]���<br>><br>><br>><br>><br>></pre>
> </mcuos.com at gmail.com></blockquote></div><div></div></font><pre>=====-----
> =====-----===== 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
>
>
> </pre>
>
I'm not reading this sh*t, fix your mailer !!!
More information about the linux-arm
mailing list