Menu

Jffs2 File system crashes : On copying the t

Help
nivarthy
2008-04-29
2013-03-22
  • nivarthy

    nivarthy - 2008-04-29

    Hello Team,
    We have written a test program to copy a huge file in to a new file. While doing this test the JFFS2 crashes. The log message is mentioned below.

    U-Boot 1.1.5 (Dec  5 2007 - 18:11:54)

    U-Boot code: 21FC0000 -> 21FD8FC0  BSS: -> 21FF6804
    RAM Configuration:
    Bank #0: 20000000 32 MB
    manufacturer is 2
    found 1 erase regions
    Flash: 64 MB
    In:    serial
    Out:   serial
    Err:   serial
    MAC: error during MII initialization
    Hit any key to stop auto boot:  5 ___ 4 ___ 0
    U-Boot> bootm 10040000 ## Booting image at 10040000 ...
       Image Name:   Linux-2.6.22.1
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1072200 Bytes =  1 MB
       Load Address: 20008000
       Entry Point:  20008000
       Verifying Checksum ... OK
    OK
    Uncompressing Linux...................................................................... done, booting the kernel.
    Linux version 2.6.22.1 (m1006881@shubhro.mindtree.com) (gcc version 4.1.1) #11 Tue Dec 4 17:39:01 IST 2007
    CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
    Machine: Atmel AT91RM9200-EK
    Memory policy: ECC disabled, Data cache writeback
    Clocks: CPU 179 MHz, master 59 MHz, main 18.432 MHz
    CPU0: D VIVT write-back cache
    CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
    CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
    Built 1 zonelists.  Total pages: 8128
    Kernel command line: mtdparts=physmap-flash.0:256k(boot),1536k(kernel),8192k(rootfs) console=ttyS0,115200n8 rw root=/dev/mtdblock2 noinitrd mem=32M rootfstype=jffs2
    AT91: 128 gpio irqs in 4 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: 30220KB available (1956K code, 164K data, 100K init)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    NET: Registered protocol family 16
    Generic PHY: Registered new driver
    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 (extended precision)
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
    atmel_usart.1: ttyS1 at MMIO 0xfffc4000 (irq = 7) is a ATMEL_SERIAL
    RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
    Davicom DM9161E: Registered new driver
    Davicom DM9161A: Registered new driver
    Davicom DM9131: Registered new driver
    eth0: Link now 100-FullDuplex
    eth0: AT91 ethernet at 0xfefbc000 int=24 100-FullDuplex (00:b4:c8:09:01:04)
    eth0: Davicom 9161 PHY (Copper)
    physmap platform flash device: 01000000 at 10000000
    physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
    NOR chip too large to fit in mapping. Attempting to cope...
    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.
    Reducing visibility of 65536KiB chip to 16384KiB
    3 cmdlinepart partitions found on MTD device physmap-flash.0
    Creating 3 MTD partitions on "physmap-flash.0":
    0x00000000-0x00040000 : "boot"
    0x00040000-0x001c0000 : "kernel"
    0x001c0000-0x009c0000 : "rootfs"
    mice: PS/2 mouse device common for all mice
    at91_rtc at91_rtc: rtc core: registered at91_rtc as rtc0
    AT91 Real Time Clock driver.
    i2c /dev entries driver
    at91_i2c at91_i2c: AT91 i2c bus driver.
    TCP cubic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    at91_rtc at91_rtc: setting the system clock to 1998-01-01 00:00:10 (883612810)
    VFS: Mounted root (jffs2 filesystem).
    Freeing init memory: 100K

    init started: BusyBox v1.6.1 (2007-09-12 17:21:39 EDT) multi-call binary
    remounting / read-write ... done.
    mounting /proc ... done.
    creating device nodes ...
    done.
    mounting /dev/pts ... done.
    Start telnetd...Start vsftpd...done
    Starting inetd: done.
    Start Dropbeardone
    [747] Dec 31 19:00:15 Running in background

    DCB login: root

    BusyBox v1.6.1 (2007-09-12 17:21:39 EDT) Built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    # df
    Filesystem           1k-blocks      Used Available Use% Mounted on
    /dev/mtdblock2            8192      3156      5036  39% /
    # wr__
    # write _[J

    # df
    Filesystem           1k-blocks      Used Available Use% Mounted on
    /dev/mtdblock2            8192      4516      3676  55% /
    # wr__
    # write _[J

    U-Boot 1.1.5 (Dec  5 2007 - 18:11:54)

    U-Boot code: 21FC0000 -> 21FD8FC0  BSS: -> 21FF6804
    RAM Configuration:
    Bank #0: 20000000 32 MB
    manufacturer is 2
    found 1 erase regions
    Flash: 64 MB
    In:    serial
    Out:   serial
    Err:   serial
    MAC: error during MII initialization
    Hit any key to stop autoboot:  5 ___ 0
    U-Boot> bootm 10040000 ## Booting image at 10040000 ...
       Image Name:   Linux-2.6.22.1
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1072200 Bytes =  1 MB
       Load Address: 20008000
       Entry Point:  20008000
       Verifying Checksum ... OK
    OK
    Uncompressing Linux...................................................................... done, booting the kernel.
    Linux version 2.6.22.1 (m1006881@shubhro.mindtree.com) (gcc version 4.1.1) #11 Tue Dec 4 17:39:01 IST 2007
    CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
    Machine: Atmel AT91RM9200-EK
    Memory policy: ECC disabled, Data cache writeback
    Clocks: CPU 179 MHz, master 59 MHz, main 18.432 MHz
    CPU0: D VIVT write-back cache
    CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
    CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
    Built 1 zonelists.  Total pages: 8128
    Kernel command line: mtdparts=physmap-flash.0:256k(boot),1536k(kernel),8192k(rootfs) console=ttyS0,115200n8 rw root=/dev/mtdblock2 noinitrd mem=32M rootfstype=jffs2
    AT91: 128 gpio irqs in 4 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: 30220KB available (1956K code, 164K data, 100K init)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    NET: Registered protocol family 16
    Generic PHY: Registered new driver
    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 (extended precision)
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
    atmel_usart.1: ttyS1 at MMIO 0xfffc4000 (irq = 7) is a ATMEL_SERIAL
    RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
    Davicom DM9161E: Registered new driver
    Davicom DM9161A: Registered new driver
    Davicom DM9131: Registered new driver
    eth0: Link now 100-FullDuplex
    eth0: AT91 ethernet at 0xfefbc000 int=24 100-FullDuplex (00:b4:c8:09:01:04)
    eth0: Davicom 9161 PHY (Copper)
    physmap platform flash device: 01000000 at 10000000
    physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
    NOR chip too large to fit in mapping. Attempting to cope...
    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.
    Reducing visibility of 65536KiB chip to 16384KiB
    3 cmdlinepart partitions found on MTD device physmap-flash.0
    Creating 3 MTD partitions on "physmap-flash.0":
    0x00000000-0x00040000 : "boot"
    0x00040000-0x001c0000 : "kernel"
    0x001c0000-0x009c0000 : "rootfs"
    mice: PS/2 mouse device common for all mice
    at91_rtc at91_rtc: rtc core: registered at91_rtc as rtc0
    AT91 Real Time Clock driver.
    i2c /dev entries driver
    at91_i2c at91_i2c: AT91 i2c bus driver.
    TCP cubic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    at91_rtc at91_rtc: setting the system clock to 1998-01-01 00:00:12 (883612812)
    VFS: Mounted root (jffs2 filesystem).
    Freeing init memory: 100K

    init started: BusyBox v1.6.1 (2007-09-12 17:21:39 EDT) multi-call binary
    remounting / read-write ... done.
    mounting /proc ... done.
    creating device nodes ...
    done.
    mounting /dev/pts ... done.
    Start telnetd...Start vsftpd...done
    Starting inetd: done.
    Start Dropbeardone
    [747] Dec 31 19:00:17 Running in b
    DCB login: root

    BusyBox v1.6.1 (2007-09-12 17:21:39 EDT) Built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    # df
    Filesystem           1k-blocks      Used Available Use% Mounted on
    /dev/mtdblock2            8192      4788      3404  58% /
    # wr__
    # write _[J
    Write of 1479 bytes at 0x00564e34 failed. returned -5, retlen 1478
    argh. node added in wrong place
    Write of 317 bytes at 0x0057c9ac failed. returned -5, retlen 316
    argh. node added in wrong place
    argh. node added in wrong place
    Unable to handle kernel paging request at virtual address ffffffee
    pgd = c1efc000
    [ffffffee] *pgd=20002031, *pte=00000000, *ppte=00000000
    Internal error: Oops: 13 [#1]
    Modules linked in:
    CPU: 0    Not tainted  (2.6.22.1 #11)
    PC is at jffs2_read_dnode+0x38/0x2f0
    LR is at 0x37
    pc : [<c00d3260>]    lr : [<00000037>]    psr: a0000013
    sp : c1efbc2c  ip : c02c78dc  fp : c1efbc6c
    r10: c0505000  r9 : c04dc858  r8 : 00000062
    r7 : c0505000  r6 : c046e830  r5 : c1c39f98  r4 : 00000000
    r3 : ffffffea  r2 : c02c7800  r1 : 000000d0  r0 : c1c39f98
    Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  Segment user
    Control: c000717f  Table: 21efc000  DAC: 00000015
    Process syslogd (pid: 673, stack limit = 0xc1efa258)
    Stack: (0xc1efbc2c to 0xc1efc000)
    bc20:                            c1efbc7c c1efbc3c c00d3ad8 c1ea32e4 c1c30200
    bc40: c1efbc44 00000000 00012000 c046e830 c0505000 00000062 c1ea32e4 00013000
    bc60: c1efbca4 c1efbc70 c00d361c c00d3238 00001000 00000000 c1c30200 c023f0a0
    bc80: c1ea3310 c023f0a0 c1ea32e4 00000062 00012000 00000000 c1efbcbc c1efbca8
    bca0: c00d18d4 c00d3528 00001000 c023f0a0 c1efbd4c c1efbcc0 c00d1f2c c00d1880
    bcc0: c00605bc 00000044 00000062 00000000 c023f0a0 00012000 00000000 c02136dc
    bce0: 00000012 0000000a 000200d2 c02c2080 00000000 0009a37a c02136d8 c1efbd4c
    bd00: c1efbd0c c0061834 c023f0a0 c1ea33a4 00000012 00000000 00000062 0009a37a
    bd20: 00000000 c01a93a8 0000000a c023f0a0 00000000 00000062 0009a37a 00000000
    bd40: c1efbdec c1efbd50 c005e524 c00d1c7c 00000001 c1efbeb0 00000001 c1efa000
    bd60: 00000062 c1f39720 c1ea33a4 c01a93a8 c1ea3310 0000000a c1efbf38 00000000
    bd80: 00000001 00000000 c023f0a0 c013a194 c018af28 00000000 34aadcd9 2f52299e
    bda0: c1efbdd0 c1efbdcc c1efbdb4 c003f328 c003ea8c 00000000 c1ea3310 00000000
    bdc0: 30efbdf0 c1efbef8 c1ea3310 00011ff6 00000000 00011ff6 00000000 0000006c
    bde0: c1efbe68 c1efbdf4 c005ed78 c005e29c 00012000 00000000 c1efbef8 00000062
    be00: 0000000a c1efbef8 c1efbf38 c1efbeb0 c1efa000 ffffff9c c1f39720 c1ea33a4
    be20: 00000000 00000001 00000000 000000ff c02ad480 be989bbc c1efbd50 0000006c
    be40: c1ea3378 c1efbeb0 c1efbf38 c1ea3310 00011ff6 00000000 00000001 c1efbea4
    be60: c1efbe6c c005ee68 c005e91c 0009a070 c1efbe8c c1f39720 c1ea33a4 c1efbeb0
    be80: c1f39720 c1efbf80 0000006c c0021f84 c1efa000 0000006c c1efbf58 c1efbeac
    bea0: c0078744 c005edfc 00011ff6 00000000 c0086ff0 c0074ea8 00000000 00000001
    bec0: ffffffff c1f39720 00000000 00000000 00000000 00000000 c02c2080 00000000
    bee0: 00000000 c0504628 c02c2080 c004e1fc c1efbef0 c1efbef0 00011ff6 00000000
    bf00: be989b2c c0504628 c1efbf28 c1efbf18 c0086ff0 0000006c 00000000 c1efbf84
    bf20: c1efbf2c c00883d8 c0086f90 00000010 00000001 c1f39720 0009a370 0000006c
    bf40: c1f39720 0009a370 c1efbf80 c1efbf7c c1efbf5c c007906c c0078694 0000000e
    bf60: c1f39720 00011ff6 00000000 00000004 c1efbfa4 c1efbf80 c007966c c0078fc0
    bf80: 00011ff6 00000000 00000000 0000006c 0009a370 00000004 00000000 c1efbfa8
    bfa0: c0021de0 c0079630 0000006c 0009a370 00000004 0009a370 0000006c 000966d8
    bfc0: 0000006c 0009a370 00000004 4001c590 0009a370 00000003 0000006c be989b70
    bfe0: 00000000 be989aa4 00033890 401d7de4 60000010 00000004 20002031 20002431
    Backtrace:
    [<c00d3228>] (jffs2_read_dnode+0x0/0x2f0) from [<c00d361c>] (jffs2_read_inode_range+0x104/0x150)
    [<c00d3518>] (jffs2_read_inode_range+0x0/0x150) from [<c00d18d4>] (jffs2_do_readpage_nolock+0x64/0xf8)
    [<c00d1870>] (jffs2_do_readpage_nolock+0x0/0xf8) from [<c00d1f2c>] (jffs2_prepare_write+0x2c0/0x2e4)
    r4:c023f0a0
    [<c00d1c6c>] (jffs2_prepare_write+0x0/0x2e4) from [<c005e524>] (generic_file_buffered_write+0x29c/0x684)
    [<c005e28c>] (generic_file_buffered_write+0x4/0x684) from [<c005ed78>] (__generic_file_aio_write_nolock+0x46c/0x4dc)
    [<c005e90c>] (__generic_file_aio_write_nolock+0x0/0x4dc) from [<c005ee68>] (generic_file_aio_write+0x80/0xfc)
    [<c005edec>] (generic_file_aio_write+0x4/0xfc) from [<c0078744>] (do_sync_write+0xc0/0x114)
    [<c0078684>] (do_sync_write+0x0/0x114) from [<c007906c>] (vfs_write+0xbc/0x148)
    r6:c1efbf80 r5:0009a370 r4:c1f39720
    [<c0078fb0>] (vfs_write+0x0/0x148) from [<c007966c>] (sys_write+0x4c/0x7c)
    r7:00000004 r6:00000000 r5:00011ff6 r4:c1f39720
    [<c0079620>] (sys_write+0x0/0x7c) from [<c0021de0>] (ret_fast_syscall+0x0/0x2c)
    r6:00000004 r5:0009a370 r4:0000006c
    Code: 03e0800b 0a0000a7 e5993000 e3a04000 (e5932004)
    Write of 317 bytes at 0x0057d1fc failed. returned -5, retlen 316
    Write of 323 bytes at 0x0057d47c failed. returned -5, retlen 322

    U-Boot 1.1.5 (Dec  5 2007 - 18:11:54)

    U-Boot code: 21FC0000 -> 21FD8FC0  BSS: -> 21FF6804
    RAM Configuration:
    Bank #0: 20000000 32 MB
    manufacturer is 2
    found 1 erase regions
    Flash: 64 MB
    In:    serial
    Out:   serial
    Err:   serial
    MAC: error during MII initialization
    Hit any key to stop autoboot:  5 ___ 4 ___ 0
    U-Boot> bootm 10040000 ## Booting image at 10040000 ...
       Image Name:   Linux-2.6.22.1
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1072200 Bytes =  1 MB
       Load Address: 20008000
       Entry Point:  20008000
       Verifying Checksum ... OK
    OK
    Uncompressing Linux...................................................................... done, booting the kernel.
    Linux version 2.6.22.1 (m1006881@shubhro.mindtree.com) (gcc version 4.1.1) #11 Tue Dec 4 17:39:01 IST 2007
    CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
    Machine: Atmel AT91RM9200-EK
    Memory policy: ECC disabled, Data cache writeback
    Clocks: CPU 179 MHz, master 59 MHz, main 18.432 MHz
    CPU0: D VIVT write-back cache
    CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
    CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
    Built 1 zonelists.  Total pages: 8128
    Kernel command line: mtdparts=physmap-flash.0:256k(boot),1536k(kernel),8192k(rootfs) console=ttyS0,115200n8 rw root=/dev/mtdblock2 noinitrd mem=32M rootfstype=jffs2
    AT91: 128 gpio irqs in 4 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: 30220KB available (1956K code, 164K data, 100K init)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    NET: Registered protocol family 16
    Generic PHY: Registered new driver
    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 (extended precision)
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
    atmel_usart.1: ttyS1 at MMIO 0xfffc4000 (irq = 7) is a ATMEL_SERIAL
    RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
    Davicom DM9161E: Registered new driver
    Davicom DM9161A: Registered new driver
    Davicom DM9131: Registered new driver
    eth0: Link now 100-FullDuplex
    eth0: AT91 ethernet at 0xfefbc000 int=24 100-FullDuplex (00:b4:c8:09:01:04)
    eth0: Davicom 9161 PHY (Copper)
    physmap platform flash device: 01000000 at 10000000
    physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
    NOR chip too large to fit in mapping. Attempting to cope...
    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.
    Reducing visibility of 65536KiB chip to 16384KiB
    3 cmdlinepart partitions found on MTD device physmap-flash.0
    Creating 3 MTD partitions on "physmap-flash.0":
    0x00000000-0x00040000 : "boot"
    0x00040000-0x001c0000 : "kernel"
    0x001c0000-0x009c0000 : "rootfs"
    mice: PS/2 mouse device common for all mice
    at91_rtc at91_rtc: rtc core: registered at91_rtc as rtc0
    AT91 Real Time Clock driver.
    i2c /dev entries driver
    at91_i2c at91_i2c: AT91 i2c bus driver.
    TCP cubic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    at91_rtc at91_rtc: setting the system clock to 1998-01-01 00:00:10 (883612810)
    jffs2_scan_eraseblock(): Node at 0x00564e34 {0x1985, 0xe002, 0x00000107) has invalid CRC 0x21002023 (calculated 0x109466f9)
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00564e38: 0x0107 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00564e3c: 0x2023 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00564e44: 0x0110 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00564e48: 0x81a4 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00564e54: 0xdc92 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00564e58: 0xdc96 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00564e5c: 0xdc96 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00564e60: 0x1000 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00564e64: 0x0083 instead
    Further such events for this erase block will not be printed
    VFS: Mounted root (jffs2 filesystem).
    Freeing init memory: 100K

    init started: BusyBox v1.6.1 (2007-09-12 17:21:39 EDT) multi-call binary
    remounting / read-write ... Checked all inodes but still 0x390d08 bytes of unchecked space?
    No space for garbage collection. Aborting GC thread
    done.
    mounting /proc ... done.
    creating device nodes ...
    argh. node added in wrong place
    done.
    mounting /dev/pts ... done.
    Start telnetd...Start vsftpd...done
    Starting inetd: done.
    Start Dropbeardone
    [746] Dec 31 19:00:17 Running in background

    DCB login: root

    BusyBox v1.6.1 (2007-09-12 17:21:39 EDT) Built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    # df
    Filesystem           1k-blocks      Used Available Use% Mounted on
    /dev/mtdblock2            8192      6764      1428  83% /
    #
    U-Boot 1.1.5 (Dec  5 2007 - 18:11:54)

    U-Boot code: 21FC0000 -> 21FD8FC0  BSS: -> 21FF6804
    RAM Configuration:
    Bank #0: 20000000 32 MB
    manufacturer is 2
    found 1 erase regions
    Flash: 64 MB
    In:    serial
    Out:   serial
    Err:   serial
    MAC: error during MII initialization
    Hit any key to stop autoboot:  5 ___ 4 ___ 0
    U-Boot> bootm 10040000 ## Booting image at 10040000 ...
       Image Name:   Linux-2.6.22.1
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1072200 Bytes =  1 MB
       Load Address: 20008000
       Entry Point:  20008000
       Verifying Checksum ... OK
    OK
    Uncompressing Linux...................................................................... done, booting the kernel.
    Linux version 2.6.22.1 (m1006881@shubhro.mindtree.com) (gcc version 4.1.1) #11 Tue Dec 4 17:39:01 IST 2007
    CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
    Machine: Atmel AT91RM9200-EK
    Memory policy: ECC disabled, Data cache writeback
    Clocks: CPU 179 MHz, master 59 MHz, main 18.432 MHz
    CPU0: D VIVT write-back cache
    CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
    CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
    Built 1 zonelists.  Total pages: 8128
    Kernel command line: mtdparts=physmap-flash.0:256k(boot),1536k(kernel),8192k(rootfs) console=ttyS0,115200n8 rw root=/dev/mtdblock2 noinitrd mem=32M rootfstype=jffs2
    AT91: 128 gpio irqs in 4 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: 30220KB available (1956K code, 164K data, 100K init)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    NET: Registered protocol family 16
    Generic PHY: Registered new driver
    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 (extended precision)
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
    atmel_usart.1: ttyS1 at MMIO 0xfffc4000 (irq = 7) is a ATMEL_SERIAL
    RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
    Davicom DM9161E: Registered new driver
    Davicom DM9161A: Registered new driver
    Davicom DM9131: Registered new driver
    eth0: Link now 100-FullDuplex
    eth0: AT91 ethernet at 0xfefbc000 int=24 100-FullDuplex (00:b4:c8:09:01:04)
    eth0: Davicom 9161 PHY (Copper)
    physmap platform flash device: 01000000 at 10000000
    physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
    NOR chip too large to fit in mapping. Attempting to cope...
    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.
    Reducing visibility of 65536KiB chip to 16384KiB
    3 cmdlinepart partitions found on MTD device physmap-flash.0
    Creating 3 MTD partitions on "physmap-flash.0":
    0x00000000-0x00040000 : "boot"
    0x00040000-0x001c0000 : "kernel"
    0x001c0000-0x009c0000 : "rootfs"
    mice: PS/2 mouse device common for all mice
    at91_rtc at91_rtc: rtc core: registered at91_rtc as rtc0
    AT91 Real Time Clock driver.
    i2c /dev entries driver
    at91_i2c at91_i2c: AT91 i2c bus driver.
    TCP cubic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    at91_rtc at91_rtc: setting the system clock to 1998-01-01 00:00:09 (883612809)
    jffs2_scan_eraseblock(): Node at 0x004c073c {0x1985, 0xe002, 0x00000044) has invalid CRC 0x10f63314 (calculated 0x98f7fb1d)
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c0740: 0x0044 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c0744: 0x3314 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c0748: 0x0040 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c0750: 0x01b6 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c075c: 0x5086 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c0760: 0x8402 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c0764: 0xdc8e instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c077c: 0x1862 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c0780: 0x0107 instead
    Further such events for this erase block will not be printed
    VFS: Mounted root (jffs2 filesystem).
    Freeing init memory: 100K

    init started: BusyBox v1.6.1 (2007-09-12 17:21:39 EDT) multi-call binary
    remounting / read-write ... done.
    mounting /proc ... done.
    creating device nodes ...
    done.
    mounting /dev/pts ... done.
    Start telnetd...Start vsftpd...done
    Starting inetd: done.
    Start Dropbeardone
    [746] Dec 31 19:00:14 Running in background

    DCB login: root

    BusyBox v1.6.1 (2007-09-12 17:21:39 EDT) Built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    # df
    Filesystem           1k-blocks      Used Available Use% Mounted on
    /dev/mtdblock2            8192      5684      2508  69% /
    # wr__
    # write _[J
    kernel BUG at fs/jffs2/nodelist.c:612!
    Unable to handle kernel NULL pointer dereference at virtual address 00000000
    pgd = c0004000
    [00000000] *pgd=00000000
    Internal error: Oops: 817 [#1]
    Modules linked in:
    CPU: 0    Not tainted  (2.6.22.1 #11)
    PC is at __bug+0x20/0x2c
    LR is at 0xc
    pc : [<c0025a54>]    lr : [<0000000c>]    psr: 60000013
    sp : c1f4be68  ip : c020f73c  fp : c1f4be74
    r10: c1c6ae48  r9 : c1c6ae48  r8 : 00000048
    r7 : 005234f2  r6 : 00000048  r5 : c1c30200  r4 : c03f1854
    r3 : 00000000  r2 : 00000000  r1 : 00000001  r0 : 0000002a
    Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment user
    Control: c000717f  Table: 218cc000  DAC: 00000015
    Process jffs2_gcd_mtd2 (pid: 676, stack limit = 0xc1f4a258)
    Stack: (0xc1f4be68 to 0xc1f4c000)
    be60:                   c1f4bea4 c1f4be78 c00d235c c0025a44 c1f4beec c1f4bea0
    be80: c1f4be8c c00dc570 c03f1854 c1c30200 005234f2 00020000 c1f4bed0 c1f4bea8
    bea0: c00d3ce8 c00d22d8 c1c6ae48 00000000 005234f0 c1c38740 c1c30200 00000048
    bec0: c1c67878 c1f4bf18 c1f4bed4 c00d8948 c00d3c58 c1f4beec c1c38740 00000001
    bee0: 00000000 c0ba2918 0001e588 00000048 c1c6ae48 c03f109c c1c30200 c1c67878
    bf00: 00000000 00000000 c1c3022c c1f4bf58 c1f4bf1c c00da0b0 c00d8638 c0045eb8
    bf20: c0045cac c1f4bf48 c1f4bf48 c1f4bf38 c0045cb8 00000013 c1f4a000 c1c30200
    bf40: 00000000 00000000 00000000 c1f4bff4 c1f4bf5c c00db244 c00d9b1c 00000001
    bf60: 00000000 00000080 00000000 00000000 7774666f 56657261 69737265 e2888001
    bf80: e2877004 e59d4004 e1580004 baffffd9 e28d4010 e1a00004 00000000 00000000
    bfa0: 00000000 c1f4bfb0 c0021e64 c0037994 00000000 c1c30200 c00db154 c003d6b4
    bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    bfe0: 00000000 00000000 00000000 c1f4bff8 c003d6b4 c00db164 e1a00007 11a01007
    Backtrace:
    [<c0025a34>] (__bug+0x0/0x2c) from [<c00d235c>] (jffs2_link_node_ref+0x94/0x1f0)
    [<c00d22c8>] (jffs2_link_node_ref+0x0/0x1f0) from [<c00d3ce8>] (jffs2_add_physical_node_ref+0xa0/0x10c)
    r7:00020000 r6:005234f2 r5:c1c30200 r4:c03f1854
    [<c00d3c48>] (jffs2_add_physical_node_ref+0x0/0x10c) from [<c00d8948>] (jffs2_garbage_collect_pristine+0x320/0x384)
    [<c00d8628>] (jffs2_garbage_collect_pristine+0x0/0x384) from [<c00da0b0>] (jffs2_garbage_collect_pass+0x5a4/0x72c)
    [<c00d9b0c>] (jffs2_garbage_collect_pass+0x0/0x72c) from [<c00db244>] (jffs2_garbage_collect_thread+0xf0/0x118)
    [<c00db154>] (jffs2_garbage_collect_thread+0x0/0x118) from [<c003d6b4>] (do_exit+0x0/0x788)
    r6:00000000 r5:00000000 r4:00000000
    Code: e1a01000 e59f000c eb0055f3 e3a03000 (e5833000)
    Unable to handle kernel NULL pointer dereference at virtual address 00000004
    pgd = c1f00000
    [00000004] *pgd=21f1b031, *pte=00000000, *ppte=00000000
    Internal error: Oops: 17 [#2]
    Modules linked in:
    CPU: 0    Not tainted  (2.6.22.1 #11)
    PC is at sig_ignored+0x44/0x80
    LR is at __init_begin+0x3fff8000/0x30
    pc : [<c0043d68>]    lr : [<00000000>]    psr: 40000093
    sp : c1f1dc44  ip : 00000000  fp : c1f1dc50
    r10: 00015138  r9 : 00000052  r8 : c1c30200
    r7 : 00000000  r6 : 00000001  r5 : 00000001  r4 : c0381d60
    r3 : 00000000  r2 : 00000014  r1 : 00000001  r0 : c0381d60
    Flags: nZcv  IRQs off  FIQs on  Mode SVC_32  Segment user
    Control: c000717f  Table: 21f00000  DAC: 00000015
    Process syslogd (pid: 673, stack limit = 0xc1f1c258)
    Stack: (0xc1f1dc44 to 0xc1f1e000)
    dc40:          c1f1dc6c c1f1dc54 c0044b28 c0043d34 80000013 c1c394f8 c1eac2e4
    dc60: c1f1dc80 c1f1dc70 c0044be8 c0044b00 c1c30200 c1f1dc90 c1f1dc84 c0044c18
    dc80: c0044bd0 c1f1dca4 c1f1dc94 c00db150 c0044c08 c1c30200 c1f1dcb8 c1f1dca8
    dca0: c00d3c1c c00db128 c0b6d838 c1f1dd08 c1f1dcbc c00d6d0c c00d3c18 00000052
    dcc0: 00000003 c1f49138 00000000 00000000 00000052 00000052 0001cb10 c1f49138
    dce0: 00000000 00000138 c1eac310 c1c394f8 c0273920 0000018a 0000013a c1f1dd4c
    dd00: c1f1dd0c c00d1ac0 c00d6a60 00015138 00000052 c1f1dd20 c1f1dd24 c1c30200
    dd20: 00000000 c01a93a8 00000050 c0273920 00000000 00000050 0009a370 0000013a
    dd40: c1f1ddec c1f1dd50 c005e6e0 c00d19c8 00000001 c1f1deb0 00000001 c1f1c000
    dd60: 0000018a c1884820 c1eac3a4 c01a93a8 c1eac310 00000000 c1f1df38 00000000
    dd80: 00000000 00000000 c1c30400 00000050 c1f1ddcc c1f1dda0 c0095a00 c00dbad0
    dda0: c1f1ddd0 c1f1ddcc 00000000 c1eac310 00000000 00000000 00000000 00000050
    ddc0: 44f1ddf0 c1f1def8 c1eac310 0001513a 00000000 00000000 00000000 00000050
    dde0: c1f1de68 c1f1ddf4 c005ed78 c005e29c 0001513a 00000000 c1f1def8 00000050
    de00: 00000000 c1f1def8 c1f1df38 c1f1deb0 c1f1c000 ffffff9c c1884820 c1eac3a4
    de20: 00000000 00000001 20000013 c021345c 00000000 c0213448 c1f1de8c 00000050
    de40: c1eac378 c1f1deb0 c1f1df38 c1eac310 00000000 00000000 00000001 c1f1dea4
    de60: c1f1de6c c005ee68 c005e91c 000000d0 c02c2080 c1884820 c1eac3a4 c1f1deb0
    de80: c1884820 c1f1df80 00000050 c0021f84 c1f1c000 00000050 c1f1df58 c1f1deac
    dea0: c0078744 c005edfc 00000000 00000000 c0086ff0 c0074ea8 00000000 00000001
    dec0: ffffffff c1884820 00000000 00000000 00000000 00000000 c02c2080 00000000
    dee0: 00000000 c0404628 c02c2080 c004e1fc c1f1def0 c1f1def0 00000000 00000000
    df00: bed14b2c c0404628 c1f1df28 c1f1df18 c0086ff0 00000050 00000000 c1f1df84
    df20: c1f1df2c c00883d8 c0086f90 00000010 00000001 c1884820 0009a370 00000050
    df40: c1884820 0009a370 c1f1df80 c1f1df7c c1f1df5c c007906c c0078694 0000000e
    df60: c1884820 00000000 00000000 00000004 c1f1dfa4 c1f1df80 c007966c c0078fc0
    df80: 00000000 00000000 00000000 00000050 0009a370 00000004 00000000 c1f1dfa8
    dfa0: c0021de0 c0079630 00000050 0009a370 00000004 0009a370 00000050 000966d8
    dfc0: 00000050 0009a370 00000004 4001c590 0009a370 00000003 00000050 bed14b70
    dfe0: 00000000 bed14aa4 00033890 401d7de4 60000010 00000004 00000000 00000000
    Backtrace:
    [<c0043d24>] (sig_ignored+0x0/0x80) from [<c0044b28>] (specific_send_sig_info+0x38/0xd0)
    [<c0044af0>] (specific_send_sig_info+0x0/0xd0) from [<c0044be8>] (send_sig_info+0x28/0x38)
    r6:c1eac2e4 r5:c1c394f8 r4:80000013
    [<c0044bc0>] (send_sig_info+0x0/0x38) from [<c0044c18>] (send_sig+0x20/0x24)
    r4:c1c30200
    [<c0044bf8>] (send_sig+0x0/0x24) from [<c00db150>] (jffs2_garbage_collect_trigger+0x38/0x3c)
    [<c00db118>] (jffs2_garbage_collect_trigger+0x0/0x3c) from [<c00d3c1c>] (jffs2_complete_reservation+0x14/0x40)
    r4:c1c30200
    [<c00d3c08>] (jffs2_complete_reservation+0x0/0x40) from [<c00d6d0c>] (jffs2_write_inode_range+0x2bc/0x328)
    r4:c0b6d838
    [<c00d6a50>] (jffs2_write_inode_range+0x0/0x328) from [<c00d1ac0>] (jffs2_commit_write+0x108/0x244)
    [<c00d19b8>] (jffs2_commit_write+0x0/0x244) from [<c005e6e0>] (generic_file_buffered_write+0x458/0x684)
    [<c005e28c>] (generic_file_buffered_write+0x4/0x684) from [<c005ed78>] (__generic_file_aio_write_nolock+0x46c/0x4dc)
    [<c005e90c>] (__generic_file_aio_write_nolock+0x0/0x4dc) from [<c005ee68>] (generic_file_aio_write+0x80/0xfc)
    [<c005edec>] (generic_file_aio_write+0x4/0xfc) from [<c0078744>] (do_sync_write+0xc0/0x114)
    [<c0078684>] (do_sync_write+0x0/0x114) from [<c007906c>] (vfs_write+0xbc/0x148)
    r6:c1f1df80 r5:0009a370 r4:c1884820
    [<c0078fb0>] (vfs_write+0x0/0x148) from [<c007966c>] (sys_write+0x4c/0x7c)
    r7:00000004 r6:00000000 r5:00000000 r4:c1884820
    [<c0079620>] (sys_write+0x0/0x7c) from [<c0021de0>] (ret_fast_syscall+0x0/0x2c)
    r6:00000004 r5:0009a370 r4:00000050
    Code: 1a00000d e59031d8 e3a02014 e023329c (e5930004)
    Unable to handle kernel NULL pointer dereference at virtual address 00000004
    pgd = c18cc000
    [00000004] *pgd=218f9031, *pte=00000000, *ppte=00000000
    Internal error: Oops: 17 [#3]
    Modules linked in:
    CPU: 0    Not tainted  (2.6.22.1 #11)
    PC is at sig_ignored+0x44/0x80
    LR is at __init_begin+0x3fff8000/0x30
    pc : [<c0043d68>]    lr : [<00000000>]    psr: 40000093
    sp : c18f7c44  ip : 00000000  fp : c18f7c50
    r10: 02a07000  r9 : 00001000  r8 : c1c30200
    r7 : 00000000  r6 : 00000001  r5 : 00000001  r4 : c0381d60
    r3 : 00000000  r2 : 00000014  r1 : 00000001  r0 : c0381d60
    Flags: nZcv  IRQs off  FIQs on  Mode SVC_32  Segment user
    Control: c000717f  Table: 218cc000  DAC: 00000015
    Process write (pid: 759, stack limit = 0xc18f6258)
    Stack: (0xc18f7c44 to 0xc18f8000)
    7c40:          c18f7c6c c18f7c54 c0044b28 c0043d34 80000013 c1c39f98 c18ba57c
    7c60: c18f7c80 c18f7c70 c0044be8 c0044b00 c1c30200 c18f7c90 c18f7c84 c0044c18
    7c80: c0044bd0 c18f7ca4 c18f7c94 c00db150 c0044c08 c1c30200 c18f7cb8 c18f7ca8
    7ca0: c00d3c1c c00db128 c0b6d828 c18f7d08 c18f7cbc c00d6d0c c00d3c18 000000fc
    7cc0: 00000003 c1f1b000 00000000 00000000 000000fc 00001000 0001ca78 c18f1000
    7ce0: 00000000 00000000 c18ba5a8 c1c39f98 c0273360 00001000 00000000 c18f7d4c
    7d00: c18f7d0c c00d1ac0 c00d6a60 02a07000 00001000 c18f7d20 00001000 c1c30200
    7d20: 00000000 c01a93a8 00001000 c0273360 00000000 00001000 4001d000 00000000
    7d40: c18f7dec c18f7d50 c005e6e0 c00d19c8 00000001 c18f7eb0 00000001 c18f6000
    7d60: 00001000 c1f4dc20 c18ba63c c01a93a8 c18ba5a8 00000000 c18f7f38 00000000
    7d80: 00000001 00000000 c0273360 00001000 c18f7dcc c18f7da0 c0095a00 c00dbad0
    7da0: c18f7dd0 c18f7dcc 00000000 c18ba5a8 00000000 00000000 02a07000 00001000
    7dc0: 6f8f7df0 c18f7ef8 c18ba5a8 02a07000 00000000 02a07000 00000000 00001000
    7de0: c18f7e68 c18f7df4 c005ed78 c005e29c 02a07000 00000000 c18f7ef8 00001000
    7e00: 00000000 c18f7ef8 c18f7f38 c18f7eb0 c0051dd0 c0052344 c1f4dc20 c18ba63c
    7e20: 00000000 00000001 c00361cc 0000000a 00989680 00000000 6f0f3180 00001000
    7e40: c18ba610 c18f7eb0 c18f7f38 c18ba5a8 02a07000 00000000 00000001 c18f7ea4
    7e60: c18f7e6c c005ee68 c005e91c 3a1aabff 34aadcd1 c1f4dc20 c18ba63c c18f7eb0
    7e80: c1f4dc20 c18f7f80 00001000 c0021f84 c18f6000 4015f000 c18f7f58 c18f7eac
    7ea0: c0078744 c005edfc 02a07000 00000000 c0052344 00000076 00000000 00000001
    7ec0: ffffffff c1f4dc20 00000000 00000000 00000000 00000000 c03a22e0 00000000
    7ee0: 00000000 c18f7ee4 c03a22e0 c004e1fc c18f7ef0 c18f7ef0 02a07000 00000000
    7f00: c18f6000 40036224 296b6b6d 34aadcdc c00438b4 00001000 c0224be0 c18f7f4c
    7f20: c18f7f2c c0046fe0 c002c030 c1f4a01c c03a22e0 c1f4dc20 4001d000 00001000
    7f40: c1f4dc20 4001d000 c18f7f80 c18f7f7c c18f7f5c c007906c c0078694 c0047098
    7f60: c1f4dc20 02a07000 00000000 00000004 c18f7fa4 c18f7f80 c007966c c0078fc0
    7f80: 02a07000 00000000 00000000 00001000 4001d000 00011008 00000000 c18f7fa8
    7fa0: c0021de0 c0079630 00001000 4001d000 00000003 4001d000 00001000 00000000
    7fc0: 00001000 4001d000 00011008 00001000 00000000 000087f7 4015f000 bef47df8
    7fe0: 00000000 bef47d3c 40099568 400f2de4 60000010 00000003 00000000 00000000
    Backtrace:
    [<c0043d24>] (sig_ignored+0x0/0x80) from [<c0044b28>] (specific_send_sig_info+0x38/0xd0)
    [<c0044af0>] (specific_send_sig_info+0x0/0xd0) from [<c0044be8>] (send_sig_info+0x28/0x38)
    r6:c18ba57c r5:c1c39f98 r4:80000013
    [<c0044bc0>] (send_sig_info+0x0/0x38) from [<c0044c18>] (send_sig+0x20/0x24)
    r4:c1c30200
    [<c0044bf8>] (send_sig+0x0/0x24) from [<c00db150>] (jffs2_garbage_collect_trigger+0x38/0x3c)
    [<c00db118>] (jffs2_garbage_collect_trigger+0x0/0x3c) from [<c00d3c1c>] (jffs2_complete_reservation+0x14/0x40)
    r4:c1c30200
    [<c00d3c08>] (jffs2_complete_reservation+0x0/0x40) from [<c00d6d0c>] (jffs2_write_inode_range+0x2bc/0x328)
    r4:c0b6d828
    [<c00d6a50>] (jffs2_write_inode_range+0x0/0x328) from [<c00d1ac0>] (jffs2_commit_write+0x108/0x244)
    [<c00d19b8>] (jffs2_commit_write+0x0/0x244) from [<c005e6e0>] (generic_file_buffered_write+0x458/0x684)
    [<c005e28c>] (generic_file_buffered_write+0x4/0x684) from [<c005ed78>] (__generic_file_aio_write_nolock+0x46c/0x4dc)
    [<c005e90c>] (__generic_file_aio_write_nolock+0x0/0x4dc) from [<c005ee68>] (generic_file_aio_write+0x80/0xfc)
    [<c005edec>] (generic_file_aio_write+0x4/0xfc) from [<c0078744>] (do_sync_write+0xc0/0x114)
    [<c0078684>] (do_sync_write+0x0/0x114) from [<c007906c>] (vfs_write+0xbc/0x148)
    r6:c18f7f80 r5:4001d000 r4:c1f4dc20
    [<c0078fb0>] (vfs_write+0x0/0x148) from [<c007966c>] (sys_write+0x4c/0x7c)
    r7:00000004 r6:00000000 r5:02a07000 r4:c1f4dc20
    [<c0079620>] (sys_write+0x0/0x7c) from [<c0021de0>] (ret_fast_syscall+0x0/0x2c)
    r6:00011008 r5:4001d000 r4:00001000
    Code: 1a00000d e59031d8 e3a02014 e023329c (e5930004)
    Segmentation fault
    #
    The kernel that we are using is 2.6.22.Please help if some has the patch for this bug.
    With Best Regards,
    Rashmi

     
    • Alexey Korolev

      Alexey Korolev - 2008-05-21

      Hi Rashmi,

      Sorry for long response. I've occasionally found your message in the forum. Now it is configured to forward messages to e-mail box. 

      The problem you have observed by 95% is related to work of low level flash driver. Root cause of kernel panics is this:

      Write of 1479 bytes at 0x00564e34 failed. returned -5, retlen 1478
      argh. node added in wrong place
      Write of 317 bytes at 0x0057c9ac failed. returned -5, retlen 316
      argh. node added in wrong place

      Unfortunately we can't reproduce the problem on our platforms. Are you just copying huge file and nothing else? If so.
      Please check your flash CFI driver. It looks problem is there.

      Thanks,
      Alexey

       

Log in to post a comment.