FileSystem problem with 2.6.27 and 2.6.28

Submitted by nrabara
on August 2, 2009 - 9:42pm

I am using at91sam9263, 32MB NOR flash, 32MB RAM with Linux kernel 2.6.28/27.
I am facing a problem after file system mounting(JFFS2).
Kernel is getting crash after filesystem mounting.

But, the same filesystem work with 2.6.22. I am able to get Login prompt I don't understand what's wrong with 2.6.28/27
with linux kernel 2.6.22 and we can get loging promp.

Log for kernel version 2.6.27

U-Boot 1.3.4 (Jul 27 2009 - 18:10:37)

DRAM: 32 MB
Flash: 32 MB
In: serial
Out: serial
Err: serial
Net: macb0
macb0: Starting autonegotiation...
macb0: Autonegotiation complete
macb0: link up, 100Mbps full-duplex (lpa: 0x45e1)
Hit any key to stop autoboot: 3  2  0
U-Boot> loady
## Ready for binary (ymodem) download to 0x21500000 at 115200 bps...
CCxyzModem - CRC mode, 2(SOH)/1111(STX)/0(CAN) packets, 4 retries
## Total Size = 0x00115a54 = 1137236 Bytes
U-Boot> bootm 21500000
## Booting kernel from Legacy Image at 21500000 ...
Image Name: Linux-2.6.27
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1137172 Bytes = 1.1 MB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux........................................................................... done, booting the kernel.
Linux version 2.6.27 (nirav@niravrabara) (gcc version 4.3.3 (GCC) ) #1 Sat Aug 1 11:43:34 IST 2009
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: Atmel AT91SAM9263-EK
Ignoring unrecognised tag 0x54410008
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 199 MHz, master 99 MHz, main 16.367 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock5 mtdparts=physmap-flash.0:128k(bootstrap)ro,256k(uboot)ro,128k(env1)ro,128k(env2)ro,2816k(linux),-(root);rw rootfstype=jffs2
AT91: 160 gpio irqs in 5 banks
PID hash table entries: 128 (order: 7, 512 bytes)
Console: colour dummy device 80x30
console [ttyS0] enabled
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 30100KB available (2080K code, 144K data, 108K init)
Calibrating delay loop... 99.73 BogoMIPS (lpj=498688)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
NET: Registered protocol family 16
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
JFFS2: default compression mode: priority
msgmni has been set to 58
io scheduler noop registered
io scheduler anticipatory registered (default)
atmel_lcdfb atmel_lcdfb.0: backlight control is not available
atmel_lcdfb atmel_lcdfb.0: 150KiB frame buffer at 21d00000 (mapped at ffc00000)
atmel_lcdfb atmel_lcdfb.0: fb0: Atmel LCDC at 0x00700000 (mapped at c2850000), irq 26
atmel_usart.0: ttyS0 at MMIO 0xfeffee00 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfff8c000 (irq = 7) is a ATMEL_SERIAL
brd: module loaded
loop: module loaded
MACB_mii_bus: probed
eth0: Atmel MACB at 0xfffbc000 irq 21 (00:00:52:c2:55:b0)
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:00, irq=-1)
physmap platform flash device: 02000000 at 10000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
Using buffer write method
physmap-flash.0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
mtd: no mtd-id
6 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 6 MTD partitions on "physmap-flash.0":
0x00000000-0x00020000 : "bootstrap"
mtd: Giving out device 0 to bootstrap
0x00020000-0x00060000 : "uboot"
mtd: Giving out device 1 to uboot
0x00060000-0x00080000 : "env1"
mtd: Giving out device 2 to env1
0x00080000-0x000a0000 : "env2"
mtd: Giving out device 3 to env2
0x000a0000-0x00360000 : "linux"
mtd: Giving out device 4 to linux
0x00360000-0x02000000 : "root"
mtd: Giving out device 5 to root
usbmon: debugfs is not available
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: irq 29, io mem 0x00a00000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
udc: at91_udc version 3 May 2006
mice: PS/2 mouse device common for all mice
TCP cubic registered
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
MTDSB: dev_name "/dev/root"
MTDSB: lookup_bdev() returned 0
MTDSB: New superblock for device 5 ("root")
Unknown but compatible feature node (0x2005) found at offset 0x00000000
Unknown but compatible feature node (0x2005) found at offset 0x00020000
Unknown but compatible feature node (0x2005) found at offset 0x00040000
Unknown but compatible feature node (0x2005) found at offset 0x00060000
Unknown but compatible feature node (0x2005) found at offset 0x00080000
Unknown but compatible feature node (0x2005) found at offset 0x000a0000
Unknown but compatible feature node (0x2005) found at offset 0x000c0000
Unknown but compatible feature node (0x2005) found at offset 0x000e0000
Unknown but compatible feature node (0x2005) found at offset 0x00100000
Unknown but compatible feature node (0x2005) found at offset 0x00120000
Unknown but compatible feature node (0x2005) found at offset 0x00140000
Unknown but compatible feature node (0x2005) found at offset 0x00160000
Unknown but compatible feature node (0x2005) found at offset 0x00180000
Unknown but compatible feature node (0x2005) found at offset 0x001a0000
Unknown but compatible feature node (0x2005) found at offset 0x001c0000
Unknown but compatible feature node (0x2005) found at offset 0x001e0000
Unknown but compatible feature node (0x2005) found at offset 0x00200000
Unknown but compatible feature node (0x2005) found at offset 0x00220000
Unknown but compatible feature node (0x2005) found at offset 0x00240000
Unknown but compatible feature node (0x2005) found at offset 0x00260000
Unknown but compatible feature node (0x2005) found at offset 0x00280000
Unknown but compatible feature node (0x2005) found at offset 0x002a0000
Unknown but compatible feature node (0x2005) found at offset 0x002c0000
Unknown but compatible feature node (0x2005) found at offset 0x002e0000
Unknown but compatible feature node (0x2005) found at offset 0x00300000
Unknown but compatible feature node (0x2005) found at offset 0x00320000
Unknown but compatible feature node (0x2005) found at offset 0x00340000
Unknown but compatible feature node (0x2005) found at offset 0x00360000
Unknown but compatible feature node (0x2005) found at offset 0x00380000
Unknown but compatible feature node (0x2005) found at offset 0x003a0000
Unknown but compatible feature node (0x2005) found at offset 0x003c0000
Unknown but compatible feature node (0x2005) found at offset 0x003e0000
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 108K
Unable to handle kernel paging request at virtual address eaffffc3
pgd = c0004000
[eaffffc3] *pgd=00000000
Internal error: Oops: 1 [#1]
Modules linked in:
CPU: 0 Not tainted (2.6.27 #1)
PC is at kfree+0x78/0x134
LR is at jffs2_read_dnode+0x55c/0x59c
pc : [] lr : [] psr: 00000093
sp : c1c17bc8 ip : c1c17bf0 fp : c1c17bec
r10: 00000000 r9 : c1dc93c8 r8 : a0000013
r7 : c1c8f000 r6 : c1400000 r5 : c1c8f000 r4 : eaffffc3
r3 : 00000080 r2 : c1c006c0 r1 : c0252000 r0 : c028b1e0
Flags: nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 0005317f Table: 20004000 DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc1c16268)
Stack: (0xc1c17bc8 to 0xc1c18000)
7bc0: 00000000 00000000 c1c8f000 c1400000 c1cf7528 00000000
7be0: c1c17c44 c1c17bf0 c00c43c8 c007ba0c c1400000 00000795 00001000 c1400000
7c00: 00000000 c1400000 c1808588 c1d2ee00 00001000 00000795 c1c17c34 00000000
7c20: 00000000 00001000 c1808648 c1dcb950 00001000 c1400000 c1c17c84 c1c17c48
7c40: c00c45b4 c00c3e7c 00000000 00001000 c1808588 c1d2ee00 c1c17c74 c027a000
7c60: c18085b0 c1d2ee00 c1808648 00200200 00000001 00100100 c1c17cac c1c17c88
7c80: c00c1edc c00c4418 00001000 00200200 00000001 c027a000 c1808588 00000004
7ca0: c1c17cc4 c1c17cb0 c00c229c c00c1e6c c027a000 c1808588 c1c17cdc c1c17cc8
7cc0: c00c22e4 c00c2298 c027a000 00000000 c1c17d1c c1c17ce0 c0067be4 c00c22c0
7ce0: c1c8d840 000000f5 c027a078 c027a038 c008fd4c 00000003 c1c8d888 00000000
7d00: c1808648 c1c8d840 c1808648 c1c8d840 c1c17d4c c1c17d20 c0067f68 c0067a50
7d20: 00000003 c1c17d30 c0086d18 00000000 00000001 00000000 00000000 00000000
7d40: c1c17d6c c1c17d50 c0068054 c0067e18 00000000 00000001 00000000 00000000
7d60: c1c17df4 c1c17d70 c0061d70 c0068034 00000001 00000001 c1c17dbc c1c17d88
7d80: c1c17e90 00000000 c1c17e50 00000001 c1c8d888 c18085b0 00000000 00000000
7da0: 60000013 ffffffff 00000fff 00000001 c1c17e24 00000000 00000080 c1dfe3a0
7dc0: 00000000 00000080 00000000 c1c17e00 c1c8d840 c1c17e90 c1c17ee8 fffffdee
7de0: c1c17f58 c022f9d8 c1c17ebc c1c17df8 c007f238 c0061b84 00000000 00000000
7e00: 000000d0 c1c09a00 00000000 00000001 ffffffff c1c8d840 00000000 00000000
7e20: 00000000 00000000 c1c14c40 00000044 00000000 00000000 c1c16000 c1c14c40
7e40: c004ded0 c1c17e44 c1c17e44 c1c59cf0 00000000 00000000 c0035020 c00ee87c
7e60: 00000006 c1c59cf0 00000080 b8578500 c1c17ea4 c1c17e80 c0051818 c002e848
7e80: c1dc201c c1c14c40 00000017 c1c59cc0 c1dfe3a0 00000080 c1c17ebc c1c8d840
7ea0: c1dfe3a0 c1c17ee8 00000080 c022fa64 c1c17ee4 c1c17ec0 c007fd2c c007f190
7ec0: c1dc4de0 c1c16000 00000000 00000000 c022fa6c 00000002 c1c17f04 c1c17ee8
7ee0: c00842d8 c007fc88 00000000 00000000 00000000 c1dfe3a0 c1c17f1c c1c17f08
7f00: c00843e4 c008429c 00000002 c1dfe3a0 c1c17f54 c1c17f20 c0084960 c008431c
7f20: 00000000 00000000 00000000 c01fa4c9 c022fa64 c022f9d8 c1c17f58 00000000
7f40: 00000000 00000000 c1c17fbc c1c17f58 c0027204 c0084854 00000000 00000000
7f60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
7f80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
7fa0: c022fa64 c0020628 00000000 00000000 c1c17fd4 c1c17fc0 c00234e0 c00271d4
7fc0: c0240fb8 c0240fb8 c1c17ff4 c1c17fd8 c00085fc c0023400 00000000 00000001
7fe0: 00000000 00000000 00000000 c1c17ff8 c003d450 c0008544 00000000 00000000
Backtrace:
[] (kfree+0x0/0x134) from [] (jffs2_read_dnode+0x55c/0x59c)
r8:00000000 r7:c1cf7528 r6:c1400000 r5:c1c8f000 r4:00000000
[] (jffs2_read_dnode+0x0/0x59c) from [] (jffs2_read_inode_range+0x1ac/0x240)
[] (jffs2_read_inode_range+0x0/0x240) from [] (jffs2_do_readpage_nolock+0x80/0x128)
[] (jffs2_do_readpage_nolock+0x0/0x128) from [] (jffs2_do_readpage_unlock+0x14/0x28)
r6:00000004 r5:c1808588 r4:c027a000
[] (jffs2_do_readpage_unlock+0x0/0x28) from [] (jffs2_readpage+0x34/0x48)
r5:c1808588 r4:c027a000
[] (jffs2_readpage+0x0/0x48) from [] (__do_page_cache_readahead+0x1a4/0x1f4)
r5:00000000 r4:c027a000
[] (__do_page_cache_readahead+0x0/0x1f4) from [] (ondemand_readahead+0x160/0x170)
[] (ondemand_readahead+0x0/0x170) from [] (page_cache_sync_readahead+0x30/0x38)
r8:00000000 r7:00000000 r6:00000000 r5:00000001 r4:00000000
[] (page_cache_sync_readahead+0x0/0x38) from [] (generic_file_aio_read+0x1fc/0x628)
r4:00000000
[] (generic_file_aio_read+0x0/0x628) from [] (do_sync_read+0xb8/0x104)
[] (do_sync_read+0x0/0x104) from [] (vfs_read+0xb4/0x144)
r8:c022fa64 r7:00000080 r6:c1c17ee8 r5:c1dfe3a0 r4:c1c8d840
[] (vfs_read+0x0/0x144) from [] (kernel_read+0x4c/0x80)
r7:00000002 r6:c022fa6c r5:00000000 r4:00000000
[] (kernel_read+0x0/0x80) from [] (prepare_binprm+0xd8/0xe8)
r5:c1dfe3a0 r4:00000000
[] (prepare_binprm+0x0/0xe8) from [] (do_execve+0x11c/0x238)
r5:c1dfe3a0 r4:00000002
[] (do_execve+0x0/0x238) from [] (kernel_execve+0x40/0x88)
[] (kernel_execve+0x0/0x88) from [] (init_post+0xf0/0x178)
r7:00000000 r6:00000000 r5:c0020628 r4:c022fa64
[] (init_post+0x0/0x178) from [] (kernel_init+0xc8/0xf0)
r4:c0240fb8
[] (kernel_init+0x0/0xf0) from [] (do_exit+0x0/0x6e8)
r5:00000000 r4:00000000
Code: e59f10c0 ebfeafff e5902018 e5924000 (e894000a)
---[ end trace 16b779b60ede68f0 ]---
jffs2_garbage_collect_thread(): pass
jffs2_garbage_collect_pass() triggering inode scan of ino#86
Unable to handle kernel paging request at virtual address e92d4011
pgd = c0004000
[e92d4011] *pgd=00000000
Internal error: Oops: 1 [#2]
Modules linked in:
CPU: 0 Tainted: G D (2.6.27 #1)
PC is at kmem_cache_alloc+0x24/0x88
LR is at jffs2_do_crccheck_inode+0x28/0x9c
pc : [] lr : [] psr: 20000093
sp : c1dc3e68 ip : e92d4011 fp : c1dc3e84
r10: 00000000 r9 : c1d2ee2c r8 : c1d2ee00
r7 : 000080d0 r6 : c1c00540 r5 : 20000013 r4 : c1dbee30
r3 : 20000093 r2 : 00000001 r1 : 000080d0 r0 : c1c00540
Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 0005317f Table: 20004000 DAC: 00000017
Process jffs2_gcd_mtd5 (pid: 750, stack limit = 0xc1dc2268)
Stack: (0xc1dc3e68 to 0xc1dc4000)
3e60: c1dbee30 c1dbee30 c1d2ee00 00000084 c1dc3eec c1dc3e88
3e80: c00c7fe8 c007bfa4 c0246790 00000001 c02319ac 00000028 00000000 c1dc3ece
3ea0: c1dc3f2c c1dbee30 c1dc2000 c1d2ee00 00000084 c1d2ee00 c1d2ee2c 00000000
3ec0: c1dc3edc c1dc3ed0 c01b6410 c003af84 c1dc3f4c c1dbee30 c1dc2000 c1d2ee00
3ee0: c1dc3f4c c1dc3ef0 c00cd248 c00c7fd0 c1dc3f2c c1dc3f00 c01b6a14 c0037f2c
3f00: c1dc3f2c 00000000 c1dc2000 c1d2ee00 00000084 c1dc3f50 00000000 00000000
3f20: c1dc3f3c 00000000 c1dc2000 c1d2ee00 00000084 c1dc3f50 00000000 00000000
3f40: c1dc3ff4 c1dc3f50 c00cf168 c00cd0cc c0241e50 00000000 c1c59cc0 c1c59e1c
3f60: 00000000 c0241e50 000003d8 c1dc2000 c1dc3fac c1dc3f80 c01b68e0 c003508c
3f80: c1dc2000 00000000 00000000 00000000 00000000 00000001 c1dc2000 00000000
3fa0: 00000000 c1dc3fb0 c0023c94 c01b67b0 00000000 c1d2ee00 c00cf02c c003d450
3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3fe0: 00000000 00000000 00000000 c1dc3ff8 c003d450 c00cf03c bf4acceb e7b7f3c2
Backtrace:
[] (kmem_cache_alloc+0x0/0x88) from [] (jffs2_do_crccheck_inode+0x28/0x9c)
r7:00000084 r6:c1d2ee00 r5:c1dbee30 r4:c1dbee30
[] (jffs2_do_crccheck_inode+0x0/0x9c) from [] (jffs2_garbage_collect_pass+0x18c/0x810)
r6:c1d2ee00 r5:c1dc2000 r4:c1dbee30
[] (jffs2_garbage_collect_pass+0x0/0x810) from [] (jffs2_garbage_collect_thread+0x13c/0x17c)
[] (jffs2_garbage_collect_thread+0x0/0x17c) from [] (do_exit+0x0/0x6e8)
r8:00000000 r7:00000000 r6:00000000 r5:00000000 r4:00000000
Code: e10f5000 e3853080 e121f003 e590c000 (e59c2000)
---[ end trace 16b779b60ede68f0 ]---
Unable to handle kernel paging request at virtual address e2522020
pgd = c0004000
[e2522020] *pgd=00000000
Internal error: Oops: 5 [#3]
Modules linked in:
CPU: 0 Tainted: G D (2.6.27 #1)
PC is at kfree+0x78/0x134
LR is at free_proc_entry+0x4c/0x54
pc : [] lr : [] psr: 00000093
sp : c1c177d0 ip : c1c177f8 fp : c1c177f4
r10: c1801f18 r9 : c1c0c2a0 r8 : a0000013
r7 : c1dcfb00 r6 : c1dcfb50 r5 : c1dcfb44 r4 : e2522020
r3 : 00000080 r2 : c1c00240 r1 : c0252000 r0 : c028d9e0
Flags: nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 0005317f Table: 20004000 DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc1c16268)
Stack: (0xc1c177d0 to 0xc1c18000)
77c0: c1dcfb00 c1dcfb00 c1dcfb44 c1dcfb50
77e0: 00200200 00100100 c1c1780c c1c177f8 c00b73f0 c007ba0c c1dcfb00 c1dcfb00
7800: c1c1785c c1c17810 c00b75a4 c00b73b4 c1c14070 0ede68f0 16b779b6 c1c17a28
7820: c024677a c1c12a80 00000010 00000021 c1c1796c c1dcfb58 c00f0c14 c1dbaaa0
7840: 80000013 00000001 c024d13c c1c7a198 c1c1786c c1c17860 c005e1e0 c00b7408
7860: c1c1788c c1c17870 c005c948 c005e1c0 c024d13c c1c433a0 c024d13c c024d13c
7880: c1c178a4 c1c17890 c011a798 c005c880 c1c178c4 00000013 c1c178c4 c1c178a8
78a0: c0118450 c011a70c c1c7a180 a0000013 c1c7a180 c1df2400 c1c178ec c1c178c8
78c0: c0119440 c0118398 c0102ff4 00000000 c1df2400 00000008 00000000 00000000
78e0: c1c17974 c1c178f0 c010507c c0119340 00000000 c1c2c220 00000000 004d221f
7900: 00000025 c023197c c1c1793c c0241e80 c1c14078 ca5dd0b7 00000006 c1c14070
7920: c1c17954 c1c17930 c0035020 c00ee87c 00000006 c1c14070 c0241e50 e5a43300
7940: c1c17974 c1c17950 c0051818 c1c2c220 c1808af0 00000008 00000008 c1c18bc8
7960: c1c0c2a0 c1801f18 c1c17984 c1c17978 c01054d0 c0104ed8 c1c179bc c1c17988
7980: c00803bc c01054cc 00000000 c0037f2c c1c179cc c1c2c220 00000000 c1c18bc0
79a0: 00000008 c1c18bc8 00000001 00000000 c1c179cc c1c179c0 c00804bc c0080318
79c0: c1c179ec c1c179d0 c007d2f0 c0080498 c01b6b60 c1c18bc0 00000001 00000000
79e0: c1c17a14 c1c179f0 c003bf34 c007d284 0000000b c1c14c40 c1c14c40 c1c17b80
7a00: 00000001 c007ba74 c1c17a24 c1c17a18 c003bfb0 c003bec0 c1c17a44 c1c17a28
7a20: c003d600 c003bf98 c1c17a44 00000001 c003a420 c003a1f0 c1c17a54 c1c17a48
7a40: c0027f64 c003d460 c1c17a74 c1c17a58 c002a2b8 c0027db8 00000017 00000000
7a60: e894000a c1c17b80 c1c17a8c c1c17a78 c002a564 c002a25c 00000001 c007ba74
7a80: c1c17acc c1c17a90 c002bd3c c002a514 0000003f c2843f4c c01c1422 c01c13e2
7aa0: ffffffff c022fe58 c1c17bb4 c022fe68 00000001 c1c17b80 40000093 eaffffc3
7ac0: c1c17b7c c1c17ad0 c0023210 c002bb18 00000000 00000000 c284552c c284352c
7ae0: c2843e4c 00001000 00001000 c0249e20 c01c0be2 c284552c c2843000 c00f47b4
7b00: c1c8f791 c2843000 00000000 00000000 c1c17b9c c1c17b20 c00f5a98 c00f4750
7b20: c2843054 c28432ec c02467a9 00000005 c0249e20 c284352c c284306c c2843068
7b40: c2843050 c28432ec c2843054 c1c8f791 c1401000 00000000 ffffffff c1c17bb4
7b60: c1400000 c1c8f000 a0000013 00000000 c1c17bec c1c17b80 c002386c c00231e8
7b80: c028b1e0 c0252000 c1c006c0 00000080 eaffffc3 c1c8f000 c1400000 c1c8f000
7ba0: a0000013 c1dc93c8 00000000 c1c17bec c1c17bf0 c1c17bc8 c00c43c8 c007ba74
7bc0: 00000093 ffffffff 00000000 00000000 c1c8f000 c1400000 c1cf7528 00000000
7be0: c1c17c44 c1c17bf0 c00c43c8 c007ba0c c1400000 00000795 00001000 c1400000
7c00: 00000000 c1400000 c1808588 c1d2ee00 00001000 00000795 c1c17c34 00000000
7c20: 00000000 00001000 c1808648 c1dcb950 00001000 c1400000 c1c17c84 c1c17c48
7c40: c00c45b4 c00c3e7c 00000000 00001000 c1808588 c1d2ee00 c1c17c74 c027a000
7c60: c18085b0 c1d2ee00 c1808648 00200200 00000001 00100100 c1c17cac c1c17c88
7c80: c00c1edc c00c4418 00001000 00200200 00000001 c027a000 c1808588 00000004
7ca0: c1c17cc4 c1c17cb0 c00c229c c00c1e6c c027a000 c1808588 c1c17cdc c1c17cc8
7cc0: c00c22e4 c00c2298 c027a000 00000000 c1c17d1c c1c17ce0 c0067be4 c00c22c0
7ce0: c1c8d840 000000f5 c027a078 c027a038 c008fd4c 00000003 c1c8d888 00000000
7d00: c1808648 c1c8d840 c1808648 c1c8d840 c1c17d4c c1c17d20 c0067f68 c0067a50
7d20: 00000003 c1c17d30 c0086d18 00000000 00000001 00000000 00000000 00000000
7d40: c1c17d6c c1c17d50 c0068054 c0067e18 00000000 00000001 00000000 00000000
7d60: c1c17df4 c1c17d70 c0061d70 c0068034 00000001 00000001 c1c17dbc c1c17d88
7d80: c1c17e90 00000000 c1c17e50 00000001 c1c8d888 c18085b0 00000000 00000000
7da0: 60000013 ffffffff 00000fff 00000001 c1c17e24 00000000 00000080 c1dfe3a0
7dc0: 00000000 00000080 00000000 c1c17e00 c1c8d840 c1c17e90 c1c17ee8 fffffdee
7de0: c1c17f58 c022f9d8 c1c17ebc c1c17df8 c007f238 c0061b84 00000000 00000000
7e00: 000000d0 c1c09a00 00000000 00000001 ffffffff c1c8d840 00000000 00000000
7e20: 00000000 00000000 c1c14c40 00000044 00000000 00000000 c1c16000 c1c14c40
7e40: c004ded0 c1c17e44 c1c17e44 c1c59cf0 00000000 00000000 c0035020 c00ee87c
7e60: 00000006 c1c59cf0 00000080 b8578500 c1c17ea4 c1c17e80 c0051818 c002e848
7e80: c1dc201c c1c14c40 00000017 c1c59cc0 c1dfe3a0 00000080 c1c17ebc c1c8d840
7ea0: c1dfe3a0 c1c17ee8 00000080 c022fa64 c1c17ee4 c1c17ec0 c007fd2c c007f190
7ec0: c1dc4de0 c1c16000 00000000 00000000 c022fa6c 00000002 c1c17f04 c1c17ee8
7ee0: c00842d8 c007fc88 00000000 00000000 00000000 c1dfe3a0 c1c17f1c c1c17f08
7f00: c00843e4 c008429c 00000002 c1dfe3a0 c1c17f54 c1c17f20 c0084960 c008431c
7f20: 00000000 00000000 00000000 c01fa4c9 c022fa64 c022f9d8 c1c17f58 00000000
7f40: 00000000 00000000 c1c17fbc c1c17f58 c0027204 c0084854 00000000 00000000
7f60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
7f80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
7fa0: c022fa64 c0020628 00000000 00000000 c1c17fd4 c1c17fc0 c00234e0 c00271d4
7fc0: c0240fb8 c0240fb8 c1c17ff4 c1c17fd8 c00085fc c0023400 00000000 00000001
7fe0: 00000000 00000000 00000000 c1c17ff8 c003d450 c0008544 00000000 00000000
Backtrace:
[] (kfree+0x0/0x134) from [] (free_proc_entry+0x4c/0x54)
r8:00100100 r7:00200200 r6:c1dcfb50 r5:c1dcfb44 r4:c1dcfb00
[] (free_proc_entry+0x0/0x54) from [] (remove_proc_entry+0x1ac/0x1cc)
r4:c1dcfb00
[] (remove_proc_entry+0x0/0x1cc) from [] (unregister_handler_proc+0x30/0x38)
r8:c1c7a198 r7:c024d13c r6:00000001 r5:80000013 r4:c1dbaaa0
[] (unregister_handler_proc+0x0/0x38) from [] (free_irq+0xd8/0x108)
[] (free_irq+0x0/0x108) from [] (atmel_shutdown+0x9c/0xbc)
r7:c024d13c r6:c024d13c r5:c1c433a0 r4:c024d13c
[] (atmel_shutdown+0x0/0xbc) from [] (uart_shutdown+0xc8/0xf0)
r4:00000013
[] (uart_shutdown+0x0/0xf0) from [] (uart_close+0x110/0x1c0)
r6:c1df2400 r5:c1c7a180 r4:a0000013
[] (uart_close+0x0/0x1c0) from [] (release_dev+0x1b4/0x4fc)
r8:00000000 r7:00000000 r6:00000008 r5:c1df2400 r4:00000000
[] (release_dev+0x0/0x4fc) from [] (tty_release+0x14/0x1c)
[] (tty_release+0x0/0x1c) from [] (__fput+0xb4/0x180)
[] (__fput+0x0/0x180) from [] (fput+0x34/0x38)
[] (fput+0x0/0x38) from [] (filp_close+0x7c/0x88)
[] (filp_close+0x0/0x88) from [] (put_files_struct+0x84/0xd8)
r6:00000000 r5:00000001 r4:c1c18bc0
[] (put_files_struct+0x0/0xd8) from [] (exit_files+0x28/0x2c)
[] (exit_files+0x0/0x2c) from [] (do_exit+0x1b0/0x6e8)
[] (do_exit+0x0/0x6e8) from [] (die+0x1bc/0x208)
[] (die+0x0/0x208) from [] (__do_kernel_fault+0x6c/0x7c)
[] (__do_kernel_fault+0x0/0x7c) from [] (do_bad_area+0x60/0x6c)
r7:c1c17b80 r6:e894000a r5:00000000 r4:00000017
[] (do_bad_area+0x0/0x6c) from [] (do_alignment+0x234/0x340)
[] (do_alignment+0x0/0x340) from [] (do_DataAbort+0x38/0x98)
[] (do_DataAbort+0x0/0x98) from [] (__dabt_svc+0x4c/0x60)
Exception stack(0xc1c17b80 to 0xc1c17bc8)
7b80: c028b1e0 c0252000 c1c006c0 00000080 eaffffc3 c1c8f000 c1400000 c1c8f000
7ba0: a0000013 c1dc93c8 00000000 c1c17bec c1c17bf0 c1c17bc8 c00c43c8 c007ba74
7bc0: 00000093 ffffffff
[] (kfree+0x0/0x134) from [] (jffs2_read_dnode+0x55c/0x59c)
r8:00000000 r7:c1cf7528 r6:c1400000 r5:c1c8f000 r4:00000000
[] (jffs2_read_dnode+0x0/0x59c) from [] (jffs2_read_inode_range+0x1ac/0x240)
[] (jffs2_read_inode_range+0x0/0x240) from [] (jffs2_do_readpage_nolock+0x80/0x128)
[] (jffs2_do_readpage_nolock+0x0/0x128) from [] (jffs2_do_readpage_unlock+0x14/0x28)
r6:00000004 r5:c1808588 r4:c027a000
[] (jffs2_do_readpage_unlock+0x0/0x28) from [] (jffs2_readpage+0x34/0x48)
r5:c1808588 r4:c027a000
[] (jffs2_readpage+0x0/0x48) from [] (__do_page_cache_readahead+0x1a4/0x1f4)
r5:00000000 r4:c027a000
[] (__do_page_cache_readahead+0x0/0x1f4) from [] (ondemand_readahead+0x160/0x170)
[] (ondemand_readahead+0x0/0x170) from [] (page_cache_sync_readahead+0x30/0x38)
r8:00000000 r7:00000000 r6:00000000 r5:00000001 r4:00000000
[] (page_cache_sync_readahead+0x0/0x38) from [] (generic_file_aio_read+0x1fc/0x628)
r4:00000000
[] (generic_file_aio_read+0x0/0x628) from [] (do_sync_read+0xb8/0x104)
[] (do_sync_read+0x0/0x104) from [] (vfs_read+0xb4/0x144)
r8:c022fa64 r7:00000080 r6:c1c17ee8 r5:c1dfe3a0 r4:c1c8d840
[] (vfs_read+0x0/0x144) from [] (kernel_read+0x4c/0x80)
r7:00000002 r6:c022fa6c r5:00000000 r4:00000000
[] (kernel_read+0x0/0x80) from [] (prepare_binprm+0xd8/0xe8)
r5:c1dfe3a0 r4:00000000
[] (prepare_binprm+0x0/0xe8) from [] (do_execve+0x11c/0x238)
r5:c1dfe3a0 r4:00000002
[] (do_execve+0x0/0x238) from [] (kernel_execve+0x40/0x88)
[] (kernel_execve+0x0/0x88) from [] (init_post+0xf0/0x178)
r7:00000000 r6:00000000 r5:c0020628 r4:c022fa64
[] (init_post+0x0/0x178) from [] (kernel_init+0xc8/0xf0)
r4:c0240fb8
[] (kernel_init+0x0/0xf0) from [] (do_exit+0x0/0x6e8)
r5:00000000 r4:00000000
Code: e59f10c0 ebfeafff e5902018 e5924000 (e894000a)
---[ end trace 16b779b60ede68f0 ]---
Fixing recursive fault but reboot is needed!
Unable to handle kernel paging request at virtual address e92d0007
pgd = c0004000
[e92d0007] *pgd=00000000
Internal error: Oops: 1 [#4]
Modules linked in:
CPU: 0 Tainted: G D (2.6.27 #1)
PC is at drain_array+0x1c/0xd8
LR is at cache_reap+0x58/0x120
pc : [] lr : [] psr: a0000013
sp : c1c23f28 ip : c1c23f48 fp : c1c23f44
r10: 00000005 r9 : c02495cc r8 : c02328e0
r7 : c1c00f60 r6 : e92d0007 r5 : c1c00f60 r4 : e1a0000c
r3 : 00000000 r2 : 00000000 r1 : e1a0000c r0 : c1c00f60
Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 0005317f Table: 20004000 DAC: 00000017
Process events/0 (pid: 5, stack limit = 0xc1c22268)
Stack: (0xc1c23f28 to 0xc1c24000)
3f20: e1a0000c c1c00f60 00000000 c02495d8 c1c23f7c c1c23f48
3f40: c007bd18 c007bb40 00000000 c1c23f58 c00518f4 c1c019e0 c1c22000 c007bcc0
3f60: 00000000 00000000 00000000 00000000 c1c23f9c c1c23f80 c0049ef8 c007bcd0
3f80: c1c019e8 c1c23fa4 c1c14040 c1c019e0 c1c23fd4 c1c23fa0 c004a524 c0049e4c
3fa0: c01b6a14 00000000 c1c14040 c004ded0 c1c23fb0 c1c23fb0 c1c22000 c1c019e0
3fc0: c004a47c 00000000 c1c23ff4 c1c23fd8 c004d9e4 c004a48c 00000000 00000000
3fe0: 00000000 00000000 00000000 c1c23ff8 c003d450 c004d998 00000000 00000000
Backtrace:
[] (drain_array+0x0/0xd8) from [] (cache_reap+0x58/0x120)
r7:c02495d8 r6:00000000 r5:c1c00f60 r4:e1a0000c
[] (cache_reap+0x0/0x120) from [] (run_workqueue+0xbc/0x148)
[] (run_workqueue+0x0/0x148) from [] (worker_thread+0xa8/0xbc)
r7:c1c019e0 r6:c1c14040 r5:c1c23fa4 r4:c1c019e8
[] (worker_thread+0x0/0xbc) from [] (kthread+0x5c/0x94)
r7:00000000 r6:c004a47c r5:c1c019e0 r4:c1c22000
[] (kthread+0x0/0x94) from [] (do_exit+0x0/0x6e8)
r6:00000000 r5:00000000 r4:00000000
Code: e2526000 e1a07000 e1a02003 089da8f0 (e5963000)
---[ end trace 16b779b60ede68f0 ]---

Now the log for 2.6.22

U-Boot 1.3.4 (Jul 27 2009 - 18:10:37)

DRAM: 32 MB
Flash: 32 MB
In: serial
Out: serial
Err: serial
Net: macb0
macb0: Starting autonegotiation...
macb0: Autonegotiation complete
macb0: link up, 100Mbps full-duplex (lpa: 0x45e1)
Hit any key to stop autoboot: 3  2  1  0
## Booting kernel from Legacy Image at 21500000 ...
Image Name: Linux-2.6.22
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1049752 Bytes = 1 MB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux...................................................................... done, booting the kernel.
Linux version 2.6.22 (nirav@niravrabara) (gcc version 4.3.3 (GCC) ) #9 Sat Aug 1 11:35:04 IST 2009
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: Atmel AT91SAM9263-EK
Ignoring unrecognised tag 0x54410008
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 199 MHz, master 99 MHz, main 16.367 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists. Total pages: 8128
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock5 mtdparts=physmap-flash.0:128k(bootstrap)ro,256k(uboot)ro,128k(env1)ro,128k(env2)ro,2816k(linux),-(root);rw rootfstype=jffs2
AT91: 160 gpio irqs in 5 banks
PID hash table entries: 128 (order: 7, 512 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 30256KB available (1936K code, 150K data, 96K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
JFFS2: default compression mode: priority
io scheduler noop registered
io scheduler anticipatory registered (default)
atmel_usart.0: ttyS0 at MMIO 0xfeffee00 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfff8c000 (irq = 7) is a ATMEL_SERIAL
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: module loaded
macb macb: detected PHY at address 0 (ID 0181:b8a0)
eth0: Atmel MACB at 0xfffbc000 irq 21 (00:00:52:c2:55:b0)
physmap platform flash device: 02000000 at 10000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
mtd: no mtd-id
6 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 6 MTD partitions on "physmap-flash.0":
0x00000000-0x00020000 : "bootstrap"
0x00020000-0x00060000 : "uboot"
0x00060000-0x00080000 : "env1"
0x00080000-0x000a0000 : "env2"
0x000a0000-0x00360000 : "linux"
0x00360000-0x02000000 : "root"
usbmon: debugfs is not available
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: irq 29, io mem 0x00a00000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
udc: at91_udc version 3 May 2006
mice: PS/2 mouse device common for all mice
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Unknown but compatible feature node (0x2005) found at offset 0x00000000
Unknown but compatible feature node (0x2005) found at offset 0x00020000
Unknown but compatible feature node (0x2005) found at offset 0x00040000
Unknown but compatible feature node (0x2005) found at offset 0x00060000
Unknown but compatible feature node (0x2005) found at offset 0x00080000
Unknown but compatible feature node (0x2005) found at offset 0x000a0000
Unknown but compatible feature node (0x2005) found at offset 0x000c0000
Unknown but compatible feature node (0x2005) found at offset 0x000e0000
Unknown but compatible feature node (0x2005) found at offset 0x00100000
Unknown but compatible feature node (0x2005) found at offset 0x00120000
Unknown but compatible feature node (0x2005) found at offset 0x00140000
Unknown but compatible feature node (0x2005) found at offset 0x00160000
Unknown but compatible feature node (0x2005) found at offset 0x00180000
Unknown but compatible feature node (0x2005) found at offset 0x001a0000
Unknown but compatible feature node (0x2005) found at offset 0x001c0000
Unknown but compatible feature node (0x2005) found at offset 0x001e0000
Unknown but compatible feature node (0x2005) found at offset 0x00200000
Unknown but compatible feature node (0x2005) found at offset 0x00220000
Unknown but compatible feature node (0x2005) found at offset 0x00240000
Unknown but compatible feature node (0x2005) found at offset 0x00260000
Unknown but compatible feature node (0x2005) found at offset 0x00280000
Unknown but compatible feature node (0x2005) found at offset 0x002a0000
Unknown but compatible feature node (0x2005) found at offset 0x002c0000
Unknown but compatible feature node (0x2005) found at offset 0x002e0000
Unknown but compatible feature node (0x2005) found at offset 0x00300000
Unknown but compatible feature node (0x2005) found at offset 0x00320000
Unknown but compatible feature node (0x2005) found at offset 0x00340000
Unknown but compatible feature node (0x2005) found at offset 0x00360000
Unknown but compatible feature node (0x2005) found at offset 0x00380000
Unknown but compatible feature node (0x2005) found at offset 0x003a0000
Unknown but compatible feature node (0x2005) found at offset 0x003c0000
Unknown but compatible feature node (0x2005) found at offset 0x003e0000
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 96K

init started: BusyBox v1.13.4 (2009-07-29 19:27:55 IST)

starting pid 688, tty '': '/etc/init.d/rcS'
eth0: link down
Thu Jan 1 12:00:00 UTC 2009
mknod: /dev/sda1: File exists
mknod: /dev/sda2: File exists
mknod: /dev/sda3: File exists
mknod: /dev/sda4: File exists
/etc/init.d/rcS: line 37: /sbin/proftpd: not found
ÿýÿýÿý!ÿûÿû

Checking USB flash drive for errors
/etc/init.d/rcS: line 45: /sbin/dosfsck: not found
/etc/hotplug/usb.rc: line 397: wc: not found
sh: 2: unknown operand
$** can't synthesize root hub events

BusyBox v1.13.4 (2009-07-29 19:27:55 IST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/ash: can't access tty; job control turned off
# eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

#
# ls
bin etc lib matrix proc sbin usr
dev home linuxrc media root tmp
#

Can anybody suggest me what's happening wrong????