Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-18-2009, 10:39 PM   #1
Registered: Apr 2009
Posts: 36

Rep: Reputation: 15
File Copying Crashes - Need Help


I recently migrated our board specific codes from version to 2.6.30.

Things are working fine, but on copying one file from usb to NAND (Root File System in NAND), my system crashes. Same functionality is working fine in version. Below is the error message. Can anyone suggest how to debug this issue with JFFS2

Internal error: Oops: 817 [#1]
Modules linked in:
CPU: 0 Not tainted (2.6.30 #61)
PC is at __bug+0x20/0x2c
LR is at release_console_sem+0x1b8/0x1ec
pc : [<c002927c>] lr : [<c0040a10>] psr: 60000013
sp : c7bcfd0c ip : c7bcfc48 fp : c7bcfd18
r10: 00000000 r9 : 00001000 r8 : c04ca6e0
r7 : 00000000 r6 : c741fbf8 r5 : 001b5000 r4 : c02b7c48
r3 : 00000000 r2 : 60000013 r1 : 00002a4e r0 : 00000026
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 0000397f Table: a7004000 DAC: 00000015
Process cp (pid: 596, stack limit = 0xc7bce260)
Stack: (0xc7bcfd0c to 0xc7bd0000)
fd00: c7bcfd70 c7bcfd1c c00e73f4 c0029268 001b5000
fd20: 00000000 c7bcfd44 001b5000 00000000 001b5000 00000000 c741fbd0 c78f4c00
fd40: 00001000 00000000 c02b7c48 001b5000 00000000 c7bce000 00001000 00000000
fd60: 00000000 c7bcfdec c7bcfd74 c006a514 c00e7390 00001000 00001000 c04ca6e0
fd80: c7bcfdf0 c7bcfeb4 c7bebe80 c741fc90 c02b7c48 c741fbf8 00001000 c02b7c48
fda0: 00000000 00001000 c741fc90 c7bcff38 00000001 00001000 00001000 c7bcfdf0
fdc0: c04ca6e0 c7bcfefc 00002000 001b4000 00000000 c741fbf8 00000000 00000000
fde0: c7bcfe6c c7bcfdf4 c006bd64 c006a3a0 001b4000 00000000 c7bcfefc 00002000
fe00: 00000000 c7bcfefc c7bcff38 c7bcfeb4 c00a697c 0000006d c7bebe80 c741fc90
fe20: 001b6000 00000000 00000001 c7bcfe38 c006b38c c00a1dd8 0000019c 00000002
fe40: 00002000 c741fc64 c7bcfeb4 c7bcff38 c741fbf8 001b4000 00000000 00000001
fe60: c7bcfea8 c7bcfe70 c006be3c c006b938 00000000 bea6ac70 c7bebe80 c741fc90
fe80: c7bcfeb4 c7bebe80 c7bcff80 00002000 c0025fc4 c7bce000 00000003 c7bcff58
fea0: c7bcfeb0 c008fedc c006bdcc 001b4000 00000000 c0044ea0 c0044c5c 00000000
fec0: 00000001 ffffffff c7bebe80 00000000 00000000 00000000 00000000 c783a900
fee0: 00000000 00000000 c0044dcc c783a900 c0053c08 c7bcfef4 c7bcfef4 001b4000
ff00: 00000000 c7bcff7c c7bcff14 c00259c4 c002500c 00002000 00000000 00002000
ff20: 00168000 00000000 00000000 c74336f0 00000001 c742b380 bea68c70 00002000
ff40: c7bebe80 bea68c70 c7bcff80 c7bcff7c c7bcff5c c00908c0 c008fe28 00000000
ff60: c7bebe80 001b4000 00000000 00000004 c7bcffa4 c7bcff80 c0090fac c0090814
ff80: 001b4000 00000000 00000000 00002000 00002000 bea68c70 00000000 c7bcffa8
ffa0: c0025e20 c0090f6c 00002000 00002000 00000004 bea68c70 00002000 ffe4c000
ffc0: 00002000 00002000 bea68c70 00000004 00000004 0000c9c8 00000003 00000000
ffe0: 0007797c bea68c48 00059e40 401927b4 20000010 00000004 a04ee021 a04ee421
[<c002925c>] (__bug+0x0/0x2c) from [<c00e73f4>] (jffs2_write_end+0x70/0x274)
[<c00e7384>] (jffs2_write_end+0x0/0x274) from [<c006a514>] (generic_file_buffered_write+0x184/0x2f8)
[<c006a394>] (generic_file_buffered_write+0x4/0x2f8) from [<c006bd64>] (__generic_file_aio_write_nolock+0x438/0x490)
[<c006b92c>] (__generic_file_aio_write_nolock+0x0/0x490) from [<c006be3c>] (generic_file_aio_write+0x80/0xfc)
[<c006bdc0>] (generic_file_aio_write+0x4/0xfc) from [<c008fedc>] (do_sync_write+0xc0/0x114)
[<c008fe1c>] (do_sync_write+0x0/0x114) from [<c00908c0>] (vfs_write+0xb8/0x144)
r6:c7bcff80 r5:bea68c70 r4:c7bebe80
[<c0090808>] (vfs_write+0x0/0x144) from [<c0090fac>] (sys_write+0x4c/0x80)
r7:00000004 r6:00000000 r5:001b4000 r4:c7bebe80
[<c0090f60>] (sys_write+0x0/0x80) from [<c0025e20>] (ret_fast_syscall+0x0/0x2c)
r6:bea68c70 r5:00002000 r4:00002000
Code: e1a01000 e59f000c eb005ecc e3a03000 (e5833000)
---[ end trace a38925e81ca40a22 ]---
Segmentation fault
Old 08-19-2009, 09:35 PM   #2
Registered: Apr 2009
Posts: 36

Original Poster
Rep: Reputation: 15
It is also observed that if I enable JFFS2 debug verbose (2) in make menuconfig, I am not facing any issue. Seems some timing issue. can anyone guide me on how to debug further?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
COmputer crashes when copying files ApAdrian Linux - Networking 1 06-25-2007 10:30 AM
copying a file enrique_arong Linux - Newbie 5 07-29-2004 01:21 PM
Question on File System and File Copying hey_joe Linux - Newbie 2 11-05-2003 11:30 AM
copying file ronss Linux - Software 3 08-31-2003 04:04 AM
Copying a file tgonetwork Linux - Newbie 3 01-16-2002 11:08 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration