Re: Linux USB file storage gadget with new UDC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

> All I can tell is that the gadget got hung after receiving the second
> WRITE command.  Can you figure out where it got hung and why?
>
> Victor, you don't seem to get the big pattern that keeps repeating
> here.  Every time something does wrong, you tell me about it.  Then I
> point out that you didn't include any debugging information, so you
> send part of a log.  Then I point out that you didn't send the entire
> log, or you didn't send logs for both the gadget and the host.  You end
> up losing a day or two each time this happens.
>
> There's a very simple lesson: When you're asking for help in debugging
> a problem, _always_ include _all_ the data that might be relevant.
>
> Here's another lesson, which I have pointed out a few times before but
> you still don't seem to have understood: When you want to know where
> your driver is hanging up, put a bunch of printk statements in it, at
> all the important spots.  Then you'll be able to see, in the log, the
> last printk that was executed before the hang.  That will tell you
> where the problem is.

Thanks. I will add more printk statements gradually. Now i discover if
i write to a large text file (> 48k) on USB gadget, linux will crash.
The full log of UDC and gadget driver when linux crashes, and
corresponding usbmon trace are attached. If these logs are not
helpful, i shall add more printk.

thanks,
victor
bulk_in_complete --> 0, 13/13
bulk_in_complete --> 0, 13/13
EP1 OUT IRQ 0x28
ep1_out: RX DMA done : NULL REQ on OUT EP-1
Unable to handle kernel paging request at virtual address 00004000
pgd = c0204000
[00004000] *pgd=00000000
Internal error: Oops - BUG: 817 [#1] PREEMPT ARM
Modules linked in: g_file_storage kagen2_udc ath6kl_sdio ath6kl_core ka2000_sdio ka2000_sdhc
CPU: 0    Not tainted  (3.4.4+ #41)
PC is at th, wValue, wIndex;
		unsigned int rdata, rdata1;
	
	        // setup data valid
                val = readl(dev->base_addr + 0+0xfb0/0x199c [kagen2_udc]
LR is at console_unlock+0x208/0x218
pc : [<bf03000c>]    lr : [<c0216824>]    psr: 20000093
sp : c1347c68  ip : c1347b98  fp : c1347eb4
r10: c1328000  r9 : c12b4db4  r8 : 00000001
r7 : c12fedd0  r6 : 00000200  r5 : c1346000  r4 : c12b4d80
r3 : 00000000  r2 : 00000001  r1 : 015bb795  r0 : 00004000
Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 0005717f  Table: 01314000  DAC: 00000017
Process file-storage-ga (pid: 122, stack limit = 0xc1346270)
Stack: (0xc1347c68 to 0xc1348000)
7c60:                   00000200 c1347c78 00000000 00000000 0000000a 60000013
7c80: c1328000 c12b4db4 4f203150 50205455 0a474e49 61760909 203d206c 64616572
7ca0: 6564286c 623e2d76 5f657361 72646461 30202b20 63383178 090a3b29 6c617609
7cc0: 203d2620 66667830 66663030 0a3b6666 61760909 3d7c206c 30783020 30323030
7ce0: 3b303030 090a0909 69727709 286c6574 2c6c6176 76656420 61623e2d 615f6573
7d00: 20726464 7830202b 29633831 7d090a3b 6c65090a 69206573 76282066 3d206c61
7d20: 7830203d 0a293832 700a7b09 746e6972 4522286b 4f203150 49205455 30205152
7d40: 5c782578 202c226e 296c6176 09090a3b 70652f2f 756f5f31 65642874 0a3b2976
7d60: 73740909 74654c6b 4253555f 7461642e 203d2061 736e7528 656e6769 6f6c2064
7d80: 6429676e 0a3b7665 61740909 656c6b73 63735f74 75646568 2628656c 4c6b7374
7da0: 555f7465 3b294253 09090a0a 206c6176 6572203d 286c6461 2d766564 7361623e
7dc0: 64615f65 2b207264 31783020 3b293061 7d090a09 6c65090a 69206573 76282066
7de0: 3d206c61 7830203d 0a293432 090a7b09 452f2f09 69203150 5249206e 09090a51
7e00: 206c6176 6572203d 286c6461 2d766564 7361623e 64615f65 2b207264 31783020
7e20: 3b293838 7609090a 26206c61 7830203d 66666666 30306666 09090a3b 206c6176
7e40: 30203d7c 30303078 30303030 09093b32 7709090a 65746972 6176286c 64202c6c
7e60: 3e2d7665 65736162 6464615f 202b2072 38317830 0a3b2938 090a0909 65090a7d
7e80: 2065736c 28206669 c03ef7b0 c12b4d80 c12fedd0 c1289600 c12896f8 c12896e0
7ea0: 00007e00 c1346018 c1347eec c1347eb8 bf035f9c bf02fa88 c12896dc 00000000
7ec0: c1289700 c1289600 00c8c000 c12896dc 00000000 c1289700 c1289600 00c8c000
7ee0: c1347f54 c1347ef0 bf036b14 bf035e64 c12896e0 0000000a c1347f04 c0209bd4
7f00: c1347fbc 0000be00 00007e00 00000001 00c8c000 00000000 00c88000 00000000
7f20: 00000001 0000005f c12896dc c1289600 00000000 00000001 0000005f c12896dc
7f40: 00000000 c1346018 c1347fbc c1347f58 bf038ce8 bf0368d8 bf03a316 bf03a29f
7f60: 00000015 c127ea80 c1347f8c c1347f78 c02349c8 c1289604 c13207e0 c1320540
7f80: c1347fac c1347f90 c03f2fc0 c02365d0 c1337e00 c1337e00 c1289600 bf037bc0
7fa0: 00000013 00000000 00000000 00000000 c1347ff4 c1347fc0 c022f8f4 bf037bd0
7fc0: c1337e00 00000000 c1289600 00000000 c1347fd0 c1347fd0 00000000 c1337e00
7fe0: c022f860 c02191c8 00000000 c1347ff8 c02191c8 c022f870 00000000 00000000
Backtrace: 
[<bf02fa78>] (th, wValue, wIndex;
		unsigned int rdata, rdata1;
	
	        // setup data valid
                val = readl(dev->base_addr + 0+0xa1c/0x199c [kagen2_udc]) from [<bf035f9c>] (bulk_in_complete+0x24c/0x1010 [g_file_storage])
[<bf035e54>] (bulk_in_complete+0x104/0x1010 [g_file_storage]) from [<bf036b14>] (bulk_in_complete+0xdc4/0x1010 [g_file_storage])
 r8:00c8c000 r7:c1289600 r6:c1289700 r5:00000000 r4:c12896dc
[<bf0368c8>] (bulk_in_complete+0xb78/0x1010 [g_file_storage]) from [<bf038ce8>] (fsg_main_thread+0x1128/0x155c [g_file_storage])
[<bf037bc0>] (fsg_main_thread+0x0/0x155c [g_file_storage]) from [<c022f8f4>] (kthread+0x94/0xa0)
[<c022f860>] (kthread+0x0/0xa0) from [<c02191c8>] (do_exit+0x0/0x6f0)
 r6:c02191c8 r5:c022f860 r4:c1337e00
Code: e2423001 6e75090a 6e676973 69206465 (7620746e) 
dieCPU: 0    Tainted: G      D       (3.4.4+ #41)
PC is at th, wValue, wIndex;
		unsigned int rdata, rdata1;
	
	        // setup data valid
                val = readl(dev->base_addr + 0+0x94c/0x199c [kagen2_udc]
LR is at handle_irq_event_percpu+0x30/0x178
pc : [<bf02f9a8>]    lr : [<c02496d0>]    psr: 80000093
sp : c1347998  ip : 00010002  fp : c13479bc
r10: 00000029  r9 : c12b4db4  r8 : 00000000
r7 : 00000020  r6 : 00000000  r5 : c049cf70  r4 : c12fe68e
r3 : c1346000  r2 : 00000000  r1 : 0000002c  r0 : c1346000
Flags: Nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 0005717f  Table: 01314000  DAC: 00000017
Backtrace: 
[<c020c0fc>] (dump_backtrace+0x0/0x110) from [<c03ef5e4>] (dump_stack+0x18/0x1c)
 r6:00000000 r5:bf02f9a8 r4:c1347950 r3:c1346000
[<c03ef5cc>] (dump_stack+0x0/0x1c) from [<c020c610>] (arm_notify_die+0x80/0xa8)
[<c020c590>] (arm_notify_die+0x0/0xa8) from [<c0208540>] (do_undefinstr+0x12c/0x140)
 r4:c1347950 r3:00000000
[<c0208414>] (do_undefinstr+0x0/0x140) from [<c0209008>] (__und_svc+0x48/0x60)
Exception stack(0xc1347950 to 0xc1347998)
7940:                                     c1346000 0000002c 00000000 c1346000
7960: c12fe68e c049cf70 00000000 00000020 00000000 c12b4db4 00000029 c13479bc
7980: 00010002 c1347998 c02496d0 bf02f9a8 80000093 ffffffff
 r7:c1347984 r6:ffffffff r5:80000093 r4:bf02f9ac
[<bf02f6b8>] (th, wValue, wIndex;
		unsigned int rdata, rdata1;
	
	        // setup data valid
                val = readl(dev->base_addr + 0+0x65c/0x199c [kagen2_udc]) from [<c02496d0>] (handle_irq_event_percpu+0x30/0x178)
 r7:00000020 r6:00000000 r5:c049cf70 r4:c12b4840
[<c02496a0>] (handle_irq_event_percpu+0x0/0x178) from [<c0249878>] (handle_irq_event+0x60/0x7c)
[<c0249818>] (handle_irq_event+0x0/0x7c) from [<c024bd38>] (handle_edge_irq+0x114/0x16c)
 r6:f5006000 r5:00000000 r4:c049cf70 r3:f5006000
[<c024bc24>] (handle_edge_irq+0x0/0x16c) from [<c02490e0>] (generic_handle_irq+0x28/0x38)
 r4:00000020 r3:c024bc24
[<c02490b8>] (generic_handle_irq+0x0/0x38) from [<c0209c2c>] (handle_IRQ+0x68/0x8c)
 r4:00000020 r3:00000040
[<c0209bc4>] (handle_IRQ+0x0/0x8c) from [<c0208410>] (asm_do_IRQ+0x10/0x14)
 r5:20000013 r4:c020c4dc
[<c0208400>] (asm_do_IRQ+0x0/0x14) from [<c0208f14>] (__irq_svc+0x34/0xbc)
Exception stack(0xc1347a60 to 0xc1347aa8)
7a60: 00000000 c04a5ea8 00000080 20000013 c1346000 c1347ae2 00000017 00000000
7a80: bf03000c c12b4db4 00000029 c1347b0c 60000093 c1347aa8 c0215db0 c020c4dc
7aa0: 20000013 ffffffff
[<c020c2c0>] (die+0x0/0x2d0) from [<c020dfcc>] (__do_kernel_fault+0x6c/0x8c)
 r8:00000000 r7:c1347c20 r6:00000000 r5:00000817 r4:00004000
[<c020df60>] (__do_kernel_fault+0x0/0x8c) from [<c020e22c>] (do_page_fault+0x240/0x258)
 r8:00000817 r7:00000000 r6:c1347c20 r5:c13207e0 r4:00004000
r3:c1347c20
[<c020dfec>] (do_page_fault+0x0/0x258) from [<c0208590>] (do_DataAbort+0x3c/0xa0)
[<c0208554>] (do_DataAbort+0x0/0xa0) from [<c0208eb8>] (__dabt_svc+0x38/0x60)
Exception stack(0xc1347c20 to 0xc1347c68)
7c20: 00004000 015bb795 00000001 00000000 c12b4d80 c1346000 00000200 c12fedd0
7c40: 00000001 c12b4db4 c1328000 c1347eb4 c1347b98 c1347c68 c0216824 bf03000c
7c60: 20000093 ffffffff
 r7:c1347c54 r6:ffffffff r5:20000093 r4:bf03000c
[<bf02fa78>] (th, wValue, wIndex;
		unsigned int rdata, rdata1;
	
	        // setup data valid
                val = readl(dev->base_addr + 0+0xa1c/0x199c [kagen2_udc]) from [<bf035f9c>] (bulk_in_complete+0x24c/0x1010 [g_file_storage])
[<bf035e54>] (bulk_in_complete+0x104/0x1010 [g_file_storage]) from [<bf036b14>] (bulk_in_complete+0xdc4/0x1010 [g_file_storage])
 r8:00c8c000 r7:c1289600 r6:c1289700 r5:00000000 r4:c12896dc
[<bf0368c8>] (bulk_in_complete+0xb78/0x1010 [g_file_storage]) from [<bf038ce8>] (fsg_main_thread+0x1128/0x155c [g_file_storage])
[<bf037bc0>] (fsg_main_thread+0x0/0x155c [g_file_storage]) from [<c022f8f4>] (kthread+0x94/0xa0)
[<c022f860>] (kthread+0x0/0xa0) from [<c02191c8>] (do_exit+0x0/0x6f0)
 r6:c02191c8 r5:c022f860 r4:c1337e00
dieCPU: 0    Tainted: G      D       (3.4.4+ #41)
PC is at th, wValue, wIndex;
		unsigned int rdata, rdata1;
	
	        // setup data valid
                val = readl(dev->base_addr + 0+0x94c/0x199c [kagen2_udc]
LR is at handle_irq_event_percpu+0x30/0x178
pc : [<bf02f9a8>]    lr : [<c02496d0>]    psr: 80000093
sp : c1347998  ip : 00010002  fp : c13479bc
r10: 00000029  r9 : c12b4db4  r8 : 00000000
r7 : 00000020  r6 : 00000000  r5 : c049cf70  r4 : c12fe68e
r3 : c1346000  r2 : 00000000  r1 : 0000002c  r0 : c1346000
Flags: Nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 0005717f  Table: 01314000  DAC: 00000017
Backtrace: 
[<c020c0fc>] (dump_backtrace+0x0/0x110) from [<c03ef5e4>] (dump_stack+0x18/0x1c)
 r6:00000000 r5:bf02f9a8 r4:c1347950 r3:c1346000
[<c03ef5cc>] (dump_stack+0x0/0x1c) from [<c020c610>] (arm_notify_die+0x80/0xa8)
[<c020c590>] (arm_notify_die+0x0/0xa8) from [<c0208540>] (do_undefinstr+0x12c/0x140)
 r4:c1347950 r3:00000000
[<c0208414>] (do_undefinstr+0x0/0x140) from [<c0209008>] (__und_svc+0x48/0x60)
Exception stack(0xc1347950 to 0xc1347998)
7940:                                     c1346000 0000002c 00000000 c1346000
7960: c12fe68e c049cf70 00000000 00000020 00000000 c12b4db4 00000029 c13479bc
7980: 00010002 c1347998 c02496d0 bf02f9a8 80000093 ffffffff
 r7:c1347984 r6:ffffffff r5:80000093 r4:bf02f9ac
[<bf02f6b8>] (th, wValue, wIndex;
		unsigned int rdata, rdata1;
	
	        // setup data valid
                val = readl(dev->base_addr + 0+0x65c/0x199c [kagen2_udc]) from [<c02496d0>] (handle_irq_event_percpu+0x30/0x178)
 r7:00000020 r6:00000000 r5:c049cf70 r4:c12b4840
[<c02496a0>] (handle_irq_event_percpu+0x0/0x178) from [<c0249878>] (handle_irq_event+0x60/0x7c)
[<c0249818>] (handle_irq_event+0x0/0x7c) from [<c024bd38>] (handle_edge_irq+0x114/0x16c)
 r6:f5006000 r5:00000000 r4:c049cf70 r3:f5006000
[<c024bc24>] (handle_edge_irq+0x0/0x16c) from [<c02490e0>] (generic_handle_irq+0x28/0x38)
 r4:00000020 r3:c024bc24
[<c02490b8>] (generic_handle_irq+0x0/0x38) from [<c0209c2c>] (handle_IRQ+0x68/0x8c)
 r4:00000020 r3:00000040
[<c0209bc4>] (handle_IRQ+0x0/0x8c) from [<c0208410>] (asm_do_IRQ+0x10/0x14)
 r5:20000013 r4:c020c4dc
[<c0208400>] (asm_do_IRQ+0x0/0x14) from [<c0208f14>] (__irq_svc+0x34/0xbc)
Exception stack(0xc1347a60 to 0xc1347aa8)
7a60: 00000000 c04a5ea8 00000080 20000013 c1346000 c1347ae2 00000017 00000000
7a80: bf03000c c12b4db4 00000029 c1347b0c 60000093 c1347aa8 c0215db0 c020c4dc
7aa0: 20000013 ffffffff
[<c020c2c0>] (die+0x0/0x2d0) from [<c020dfcc>] (__do_kernel_fault+0x6c/0x8c)
 r8:00000000 r7:c1347c20 r6:00000000 r5:00000817 r4:00004000
[<c020df60>] (__do_kernel_fault+0x0/0x8c) from [<c020e22c>] (do_page_fault+0x240/0x258)
 r8:00000817 r7:00000000 r6:c1347c20 r5:c13207e0 r4:00004000
r3:c1347c20
[<c020dfec>] (do_page_fault+0x0/0x258) from [<c0208590>] (do_DataAbort+0x3c/0xa0)
[<c0208554>] (do_DataAbort+0x0/0xa0) from [<c0208eb8>] (__dabt_svc+0x38/0x60)
Exception stack(0xc1347c20 to 0xc1347c68)
7c20: 00004000 015bb795 00000001 00000000 c12b4d80 c1346000 00000200 c12fedd0
7c40: 00000001 c12b4db4 c1328000 c1347eb4 c1347b98 c1347c68 c0216824 bf03000c
7c60: 20000093 ffffffff
 r7:c1347c54 r6:ffffffff r5:20000093 r4:bf03000c
[<bf02fa78>] (th, wValue, wIndex;
		unsigned int rdata, rdata1;
	
	        // setup data valid
                val = readl(dev->base_addr + 0+0xa1c/0x199c [kagen2_udc]) from [<bf035f9c>] (bulk_in_complete+0x24c/0x1010 [g_file_storage])
[<bf035e54>] (bulk_in_complete+0x104/0x1010 [g_file_storage]) from [<bf036b14>] (bulk_in_complete+0xdc4/0x1010 [g_file_storage])
 r8:00c8c000 r7:c1289600 r6:c1289700 r5:00000000 r4:c12896dc
[<bf0368c8>] (bulk_in_complete+0xb78/0x1010 [g_file_storage]) from [<bf038ce8>] (fsg_main_thread+0x1128/0x155c [g_file_storage])
[<bf037bc0>] (fsg_main_thread+0x0/0x155c [g_file_storage]) from [<c022f8f4>] (kthread+0x94/0xa0)
[<c022f860>] (kthread+0x0/0xa0) from [<c02191c8>] (do_exit+0x0/0x6f0)
 r6:c02191c8 r5:c022f860 r4:c1337e00
dieCPU: 0    Tainted: G      D       (3.4.4+ #41)
PC is at th, wValue, wIndex;
		unsigned int rdata, rdata1;
	
	        // setup data valid
                val = readl(dev->base_addr + 0+0x94c/0x199c [kagen2_udc]
LR is at handle_irq_event_percpu+0x30/0x178
pc : [<bf02f9a8>]    lr : [<c02496d0>]    psr: 80000093
sp : c1347998  ip : 00010002  fp : c13479bc
r10: 00000029  r9 : c12b4db4  r8 : 00000000
r7 : 00000020  r6 : 00000000  r5 : c049cf70  r4 : c12fe68e
r3 : c1346000  r2 : 00000000  r1 : 0000002c  r0 : c1346000
Flags: Nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 0005717f  Table: 01314000  DAC: 00000017
Backtrace: 
[<c020c0fc>] (dump_backtrace+0x0/0x110) from [<c03ef5e4>] (dump_stack+0x18/0x1c)
 r6:00000000 r5:bf02f9a8 r4:c1347950 r3:c1346000
[<c03ef5cc>] (dump_stack+0x0/0x1c) from [<c020c610>] (arm_notify_die+0x80/0xa8)
[<c020c590>] (arm_notify_die+0x0/0xa8) from [<c0208540>] (do_undefinstr+0x12c/0x140)
 r4:c1347950 r3:00000000
[<c0208414>] (do_undefinstr+0x0/0x140) from [<c0209008>] (__und_svc+0x48/0x60)
Exception stack(0xc1347950 to 0xc1347998)
7940:                                     c1346000 0000002c 00000000 c1346000
7960: c12fe68e c049cf70 00000000 00000020 00000000 c12b4db4 00000029 c13479bc
7980: 00010002 c1347998 c02496d0 bf02f9a8 80000093 ffffffff
 r7:c1347984 r6:ffffffff r5:80000093 r4:bf02f9ac
[<bf02f6b8>] (th, wValue, wIndex;
		unsigned int rdata, rdata1;
	
	        // setup data valid
                val = readl(dev->base_addr + 0+0x65c/0x199c [kagen2_udc]) from [<c02496d0>] (handle_irq_event_percpu+0x30/0x178)
 r7:00000020 r6:00000000 r5:c049cf70 r4:c12b4840
[<c02496a0>] (handle_irq_event_percpu+0x0/0x178) from [<c0249878>] (handle_irq_event+0x60/0x7c)
[<c0249818>] (handle_irq_event+0x0/0x7c) from [<c024bd38>] (handle_edge_irq+0x114/0x16c)
 r6:f5006000 r5:00000000 r4:c049cf70 r3:f5006000
[<c024bc24>] (handle_edge_irq+0x0/0x16c) from [<c02490e0>] (generic_handle_irq+0x28/0x38)
 r4:00000020 r3:c024bc24
[<c02490b8>] (generic_handle_irq+0x0/0x38) from [<c0209c2c>] (handle_IRQ+0x68/0x8c)
 r4:00000020 r3:00000040
[<c0209bc4>] (handle_IRQ+0x0/0x8c) from [<c0208410>] (asm_do_IRQ+0x10/0x14)
 r5:20000013 r4:c020c4dc
[<c0208400>] (asm_do_IRQ+0x0/0x14) from [<c0208f14>] (__irq_svc+0x34/0xbc)
Exception stack(0xc1347a60 to 0xc1347aa8)
7a60: 00000000 c04a5ea8 00000080 20000013 c1346000 c1347ae2 00000017 00000000
7a80: bf03000c c12b4db4 00000029 c1347b0c 60000093 c1347aa8 c0215db0 c020c4dc
7aa0: 20000013 ffffffff
[<c020c2c0>] (die+0x0/0x2d0) from [<c020dfcc>] (__do_kernel_fault+0x6c/0x8c)
 r8:00000000 r7:c1347c20 r6:00000000 r5:00000817 r4:00004000
[<c020df60>] (__do_kernel_fault+0x0/0x8c) from [<c020e22c>] (do_page_fault+0x240/0x258)
 r8:00000817 r7:00000000 r6:c1347c20 r5:c13207e0 r4:00004000
r3:c1347c20
[<c020dfec>] (do_page_fault+0x0/0x258) from [<c0208590>] (do_DataAbort+0x3c/0xa0)
[<c0208554>] (do_DataAbort+0x0/0xa0) from [<c0208eb8>] (__dabt_svc+0x38/0x60)
Exception stack(0xc1347c20 to 0xc1347c68)
7c20: 00004000 015bb795 00000001 00000000 c12b4d80 c1346000 00000200 c12fedd0
7c40: 00000001 c12b4db4 c1328000 c1347eb4 c1347b98 c1347c68 c0216824 bf03000c
7c60: 20000093 ffffffff
 r7:c1347c54 r6:ffffffff r5:20000093 r4:bf03000c
[<bf02fa78>] (th, wValue, wIndex;
		unsigned int rdata, rdata1;
	
	        // setup data valid
                val = readl(dev->base_addr + 0+0xa1c/0x199c [kagen2_udc]) from [<bf035f9c>] (bulk_in_complete+0x24c/0x1010 [g_file_storage])
[<bf035e54>] (bulk_in_complete+0x104/0x1010 [g_file_storage]) from [<bf036b14>] (bulk_in_complete+0xdc4/0x1010 [g_file_storage])
 r8:00c8c000 r7:c1289600 r6:c1289700 r5:00000000 r4:c12896dc
[<bf0368c8>] (bulk_in_complete+0xb78/0x1010 [g_file_storage]) from [<bf038ce8>] (fsg_main_thread+0x1128/0x155c [g_file_storage])
[<bf037bc0>] (fsg_main_thread+0x0/0x155c [g_file_storage]) from [<c022f8f4>] (kthread+0x94/0xa0)
[<c022f860>] (kthread+0x0/0xa0) from [<c02191c8>] (do_exit+0x0/0x6f0)
 r6:c02191c8 r5:c022f860 r4:c1337e00
dieCPU: 0    Tainted: G      D       (3.4.4+ #41)
PC is at th, wValue, wIndex;
		unsigned int rdata, rdata1;
	
	        // setup data valid
                val = readl(dev->base_addr + 0+0x94c/0x199c [kagen2_udc]
LR is at handle_irq_event_percpu+0x30/0x178
pc : [<bf02f9a8>]    lr : [<c02496d0>]    psr: 80000093
sp : c1347998  ip : 00010002  fp : c13479bc
r10: 00000029  r9 : c12b4db4  r8 : 00000000
r7 : 00000020  r6 : 00000000  r5 : c049cf70  r4 : c12fe68e
r3 : c1346000  r2 : 00000000  r1 : 0000002c  r0 : c1346000
Flags: Nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 0005717f  Table: 01314000  DAC: 00000017
Backtrace: 
[<c020c0fc>] (dump_backtrace+0x0/0x110) from [<c03ef5e4>] (dump_stack+0x18/0x1c)
 r6:00000000 r5:bf02f9a8 r4:c1347950 r3:c1346000
[<c03ef5cc>] (dump_stack+0x0/0x1c) from [<c020c610>] (arm_notify_die+0x80/0xa8)
[<c020c590>] (arm_notify_die+0x0/0xa8) from [<c0208540>] (do_undefinstr+0x12c/0x140)
 r4:c1347950 r3:00000000
[<c0208414>] (do_undefinstr+0x0/0x140) from [<c0209008>] (__und_svc+0x48/0x60)
Exception stack(0xc1347950 to 0xc1347998)
7940:                                     c1346000 0000002c 00000000 c1346000
7960: c12fe68e c049cf70 00000000 00000020 00000000 c12b4db4 00000029 c13479bc
7980: 00010002 c1347998 c02496d0 bf02f9a8 80000093 ffffffff
 r7:c1347984 r6:ffffffff r5:80000093 r4:bf02f9ac
[<bf02f6b8>] (th, wValue, wIndex;
		unsigned int rdata, rdata1;
	
	        // setup data valid
                val = readl(dev->base_addr + 0+0x65c/0x199c [kagen2_udc]) from [<c02496d0>] (handle_irq_event_percpu+0x30/0x178)
 r7:00000020 r6:00000000 r5:c049cf70 r4:c12b4840
[<c02496a0>] (handle_irq_event_percpu+0x0/0x178) from [<c0249878>] (handle_irq_event+0x60/0x7c)
[<c0249818>] (handle_irq_event+0x0/0x7c) from [<c024bd38>] (handle_edge_irq+0x114/0x16c)
 r6:f5006000 r5:00000000 r4:c049cf70 r3:f5006000
[<c024bc24>] (handle_edge_irq+0x0/0x16c) from [<c02490e0>] (generic_handle_irq+0x28/0x38)
 r4:00000020 r3:c024bc24
[<c02490b8>] (generic_handle_irq+0x0/0x38) from [<c0209c2c>] (handle_IRQ+0x68/0x8c)
 r4:00000020 r3:00000040
[<c0209bc4>] (handle_IRQ+0x0/0x8c) from [<c0208410>] (asm_do_IRQ+0x10/0x14)
 r5:20000013 r4:c020c4dc
[<c0208400>] (asm_do_IRQ+0x0/0x14) from [<c0208f14>] (__irq_svc+0x34/0xbc)
Exception stack(0xc1347a60 to 0xc1347aa8)
7a60: 00000000 c04a5ea8 00000080 20000013 c1346000 c1347ae2 00000017 00000000
7a80: bf03000c c12b4db4 00000029 c1347b0c 60000093 c1347aa8 c0215db0 c020c4dc
7aa0: 20000013 ffffffff
[<c020c2c0>] (die+0x0/0x2d0) from [<c020dfcc>] (__do_kernel_fault+0x6c/0x8c)
 r8:00000000 r7:c1347c20 r6:00000000 r5:00000817 r4:00004000
[<c020df60>] (__do_kernel_fault+0x0/0x8c) from [<c020e22c>] (do_page_fault+0x240/0x258)
 r8:00000817 r7:00000000 r6:c1347c20 r5:c13207e0 r4:00004000
r3:c1347c20
[<c020dfec>] (do_page_fault+0x0/0x258) from [<c0208590>] (do_DataAbort+0x3c/0xa0)
[<c0208554>] (do_DataAbort+0x0/0xa0) from [<c0208eb8>] (__dabt_svc+0x38/0x60)
Exception stack(0xc1347c20 to 0xc1347c68)
7c20: 00004000 015bb795 00000001 00000000 c12b4d80 c1346000 00000200 c12fedd0
7c40: 00000001 c12b4db4 c1328000 c1347eb4 c1347b98 c1347c68 c0216824 bf03000c
7c60: 20000093 ffffffff
 r7:c1347c54 r6:ffffffff r5:20000093 r4:bf03000c
[<bf02fa78>] (th, wValue, wIndex;
		unsigned int rdata, rdata1;
	
	        // setup data valid
                val = readl(dev->base_addr + 0+0xa1c/0x199c [kagen2_udc]) from [<bf035f9c>] (bulk_in_complete+0x24c/0x1010 [g_file_storage])
[<bf035e54>] (bulk_in_complete+0x104/0x1010 [g_file_storage]) from [<bf036b14>] (bulk_in_complete+0xdc4/0x1010 [g_file_storage])
 r8:00c8c000 r7:c1289600 r6:c1289700 r5:00000000 r4:c12896dc
[<bf0368c8>] (bulk_in_complete+0xb78/0x1010 [g_file_storage]) from [<bf038ce8>] (fsg_main_thread+0x1128/0x155c [g_file_storage])
[<bf037bc0>] (fsg_main_thread+0x0/0x155c [g_file_storage]) from [<c022f8f4>] (kthread+0x94/0xa0)
[<c022f860>] (kthread+0x0/0xa0) from [<c02191c8>] (do_exit+0x0/0x6f0)
 r6:c02191c8 r5:c022f860 r4:c1337e00
dieCPU: 0    Tainted: G      D       (3.4.4+ #41)
PC is at th, wValue, wIndex;
		unsigned int rdata, rdata1;
	
	        // setup data valid
                val = readl(dev->base_addr + 0+0x94c/0x199c [kagen2_udc]
LR is at handle_irq_event_percpu+0x30/0x178
pc : [<bf02f9a8>]    lr : [<c02496d0>]    psr: 80000093
sp : c1347998  ip : 00010002  fp : c13479bc
r10: 00000029  r9 : c12b4db4  r8 : 00000000
r7 : 00000020  r6 : 00000000  r5 : c049cf70  r4 : c12fe68e
r3 : c1346000  r2 : 00000000  r1 : 0000002c  r0 : c1346000
Flags: Nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 0005717f  Table: 01314000  DAC: 00000017
Backtrace: 
[<c020c0fc>] (dump_backtrace+0x0/0x110) from [<c03e

Attachment: scsi_write_10_again05.log
Description: Binary data


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux