Hi all,
I am getting following error messages when i try to copy a 50 mb file
from kernel to a USB pen drive,

I am using Monta vista linux and linux is running on a ARM processor.
I have also written the Host controller driver for the USB hardware.
I am able to mount the USB stick successfully, and i am able see the
contents of the files also, but when i try to copy a huge file inside
usb pendrive i get following erroe message on screen

If some body has already faced such kind of problem then please let us know

/ # cp /mnt/usb/new /mnt/usb/new1
Unable to handle kernel paging request at virtual address eeabfff7
pgd = c0004000
[eeabfff7] *pgd=00000000
Internal error: Oops: 801 [#1]
Modules linked in:
CPU: 0
PC is at shrink_cache+0x104/0x5a8
LR is at 0x100100
pc : [<c0063b58>]    lr : [<00100100>]    Not tainted
sp : c0ea1ecc  ip : c0003bc0  fp : c0ea1f2c
r10: c01e3adc  r9 : c0ea1f60  r8 : c01a5150
r7 : 00000013  r6 : c01a5150  r5 : 00000014  r4 : c01a5078
r3 : c01a5150  r2 : eeabfff7  r1 : c0003bd8  r0 : 00200200
Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  Segment kernel
Control: 5317F  Table: 00270000  DAC: 00000017
Process kswapd0 (pid: 65, stack limit = 0xc0ea0198)
Stack: (0xc0ea1ecc to 0xc0ea2000)
1ec0:                            c01a5150 00000020 c0203bb8 c02038d8 00000000
1ee0: 00000001 c02229a0 c02229c0 c02229e0 c022e800 c0222a40 c0222a60 c0222a80
1f00: c0222aa0 00000013 00000000 c0ea1f60 c01a5078 00000008 00000000 0000198f
1f20: c0ea1f4c c0ea1f30 c006486c c0063a64 00000000 c01a5078 c01a5078 00000000
1f40: c0ea1fa8 c0ea1f50 c0064c9c c00647b0 c0ea1fac 00000000 00000000 00000000
1f60: 00000020 00000000 00000000 000000d0 00000020 00000008 000000d0 00000000
1f80: c01a5434 c0ea1fc4 c01a5078 c0ea1fd4 00000000 00000000 00000000 c0ea1ff4
1fa0: c0ea1fac c0064eb8 c0064ad0 00000000 00000000 c0ef92e0 c004e470 c0ea1fd0
1fc0: c0ea1fd0 00000000 c0ef92e0 c004e470 c0ea1fd0 c0ea1fd0 00000000 00000000
1fe0: 00000000 00000000 00000000 c0ea1ff8 c00389f0 c0064de4 44120113 9bfffe54
Backtrace:
[<c0063a54>] (shrink_cache+0x0/0x5a8) from [<c006486c>] (shrink_zone+0xcc/0xe4)
[<c00647a0>] (shrink_zone+0x0/0xe4) from [<c0064c9c>]
(balance_pgdat+0x1dc/0x314)
 r7 = 00000000  r6 = C01A5078  r5 = C01A5078  r4 = 00000000
[<c0064ac0>] (balance_pgdat+0x0/0x314) from [<c0064eb8>] (kswapd+0xe4/0xf0)
[<c0064dd4>] (kswapd+0x0/0xf0) from [<c00389f0>] (do_exit+0x0/0x5ec)
 r7 = 00000000  r6 = 00000000  r5 = 00000000  r4 = 00000000
Code: e28c1018 e5912004 e59c3018 e5832004 (e5823000)
 <6>note: kswapd0[65] exited with preempt_count 1
BUG: scheduling while atomic: kswapd0/0x00000001/65
caller is do_exit+0x588/0x5ec
usb-storage: Status code 0; transferred 65536/65536
usb-storage: -- transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x1d9 R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: queuecommand called
usb-storage: *** thread sleeping.
usb-storage: *** thread awakened.
usb-storage: Command READ_10 (10 bytes)
usb-storage:  28 00 00 01 b3 f0 00 00 80 00
usb-storage: Bulk Command S 0x43425355 T 0x1da L 65536 F 128 Trg 0 LUN 0 CL 10
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_sglist: xfer 65536 bytes, 7 entries
usb-storage: Status code 0; transferred 65536/65536
usb-storage: -- transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x1da R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: queuecommand called
usb-storage: *** thread sleeping.
usb-storage: *** thread awakened.
usb-storage: Command READ_10 (10 bytes)
usb-storage:  28 00 00 01 b4 70 00 00 80 00
usb-storage: Bulk Command S 0x43425355 T 0x1db L 65536 F 128 Trg 0 LUN 0 CL 10
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_sglist: xfer 65536 bytes, 5 entries
Unable to handle kernel paging request at virtual address eeabfffb
pgd = c0270000
[eeabfffb] *pgd=00000000
Internal error: Oops: 1 [#2]
Modules linked in:
CPU: 0
PC is at shrink_cache+0xbc/0x5a8
LR is at 0x100100
pc : [<c0063b10>]    lr : [<00100100>]    Not tainted
sp : c1813c74  ip : eeabffdf  fp : c1813cd4
r10: c01e3adc  r9 : c1813d18  r8 : c01a5150
r7 : 00000000  r6 : c01a5150  r5 : 00000001  r4 : c01a5078
r3 : c0200658  r2 : c01a5150  r1 : eeabfff7  r0 : 00200200
Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  Segment user
Control: 5317F  Table: 00270000  DAC: 00000015
Process cp (pid: 750, stack limit = 0xc1812198)
Stack: (0xc1813c74 to 0xc1814000)
3c60:                                              c01a5150 00000020 c1813c7c
3c80: c1813c7c 00000000 00000001 c0e6a420 00000000 c1813cc4 c1813ca4 c001c9dc
3ca0: c01570d8 c01d9a00 00000008 00000013 00000000 c1813d18 c01a5078 00000000
3cc0: 000001d2 000019a7 c1813cf4 c1813cd8 c006486c c0063a64 c01a5404 00000000
3ce0: c1813d18 00000000 c1813d10 c1813cf8 c00648f0 c00647b0 c01a5404 00000008
3d00: c1813d6c c1813d60 c1813d14 c00649cc c0064894 00000000 00000020 00000000
3d20: 00000000 000000d0 00000020 00000008 000001d2 00000000 00000000 c01a5404
3d40: 00000000 00000000 00000000 c0eb1800 000001d2 c1813d98 c1813d64 c005b450
3d60: c0064914 00000000 00000010 00000000 00003153 00000a2d 00000013 00000020
3d80: c02a97f8 00000013 00000a1a c1813dd0 c1813d9c c005eea4 c005b244 c024ada0
3da0: c0200958 c0200718 c1813e0c 00000000 00000020 03153c88 00000000 c024ade8
3dc0: 00001000 c1813dec c1813dd4 c005f1a0 c005ed50 00001000 c02037c0 00000000
3de0: c1813e60 c1813df0 c00566a8 c005ef88 00000000 00003153 000009fb c02a9760
3e00: c1813f78 c024ada0 c02a97f8 000009fa 00000020 00000020 000009fb 00000a1a
3e20: 00000020 00000041 00000010 00000020 00000000 00000000 00000000 00000001
3e40: c024ada0 00000000 c1813e7c 00000000 c1813eb8 c1813eb4 c1813e64 c0056e98
3e60: c0056594 c1813e7c c0056b9c 00000002 000a5a64 c1813f78 c1813ec0 00001000
3e80: 00001000 000bd73c 00000000 c1813ec0 00000000 00000000 000bc73c c1813f78
3ea0: c1812000 000a5a64 c1813f50 c1813eb8 c0056fbc c0056cac 000bc73c 00002000
3ec0: 00000001 c0eb1800 00000000 00000001 ffffffff c024ada0 c0018a2c 00000000
3ee0: 00000000 00000000 00000000 c02a9e04 c0eb1800 00000000 00000000 c00590f0
3f00: c1813f0c 000bc73c 00002000 00002000 00000000 c02a9e50 c0eb1800 c004e470
3f20: c1813f20 c1813f20 c1813f34 c00c3778 c00a1ef0 00002000 00002000 00000000
3f40: c024ada0 c1813f74 c1813f54 c0079ae8 c0056f38 c024adc4 000bc73c 00002000
3f60: c024ada0 fffffff7 c1813fa4 c1813f78 c0079d3c c0079a3c 009fa000 00000000
3f80: 00000000 00002000 00002000 000bc73c 00000003 c001bac4 00000000 c1813fa8
3fa0: c001b940 c0079d04 00002000 ffffffff 00000003 000bc73c 00002000 ff606000
3fc0: 00002000 00002000 000bc73c 00000003 00000003 000a5a38 000a5a64 00000000
3fe0: 00000000 befffb2c 00002644 401a31f0 60000010 00000003 c5c91c44 ebdfffdf
Backtrace:
[<c0063a54>] (shrink_cache+0x0/0x5a8) from [<c006486c>] (shrink_zone+0xcc/0xe4)
[<c00647a0>] (shrink_zone+0x0/0xe4) from [<c00648f0>] (shrink_caches+0x6c/0x80)
 r7 = 00000000  r6 = C1813D18  r5 = 00000000  r4 = C01A5404
[<c0064884>] (shrink_caches+0x0/0x80) from [<c00649cc>]
(try_to_free_pages+0xc8/0x1bc)
 r6 = C1813D6C  r5 = 00000008  r4 = C01A5404
[<c0064904>] (try_to_free_pages+0x0/0x1bc) from [<c005b450>]
(__alloc_pages+0x21c/0x31c)
[<c005b234>] (__alloc_pages+0x0/0x31c) from [<c005eea4>]
(do_page_cache_readahead+0x164/0x238)
[<c005ed40>] (do_page_cache_readahead+0x0/0x238) from [<c005f1a0>]
(page_cache_readahead+0x228/0x260)
[<c005ef78>] (page_cache_readahead+0x0/0x260) from [<c00566a8>]
(do_generic_mapping_read+0x124/0x618)
 r6 = 00000000  r5 = C02037C0  r4 = 00001000
[<c0056584>] (do_generic_mapping_read+0x0/0x618) from [<c0056e98>]
(__generic_file_aio_read+0x1fc/0x224)
[<c0056c9c>] (__generic_file_aio_read+0x0/0x224) from [<c0056fbc>]
(generic_file_read+0x94/0xb4)
[<c0056f28>] (generic_file_read+0x0/0xb4) from [<c0079ae8>] (vfs_read+0xbc/0xf8)
 r6 = C024ADA0  r5 = 00000000  r4 = 00002000
[<c0079a2c>] (vfs_read+0x0/0xf8) from [<c0079d3c>] (sys_read+0x48/0x78)
 r8 = FFFFFFF7  r7 = C024ADA0  r6 = 00002000  r5 = 000BC73C
 r4 = C024ADC4
[<c0079cf4>] (sys_read+0x0/0x78) from [<c001b940>] (ret_fast_syscall+0x0/0x2c)
 r8 = C001BAC4  r7 = 00000003  r6 = 000BC73C  r5 = 00002000
 r4 = 00002000
Code: e28460d8 e1a02001 e5911004 e241c018 (e59c301c)
 <6>note: cp[750] exited with preempt_count 1
BUG: scheduling while atomic: cp/0x40000001/750
caller is __cond_resched+0x68/0x90
usb-storage: Status code 0; transferred 65536/65536
usb-storage: -- transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
BUG: scheduling while atomic: cp/0x40000001/750
caller is __cond_resched+0x68/0x90
BUG: scheduling while atomic: cp/0x40000001/750
caller is __cond_resched+0x68/0x90
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x1db R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
BUG: scheduling while atomic: cp/0x00000001/750
caller is do_exit+0x588/0x5ec
Segmentation fault
/ #


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to