insmod g_file_storage ko file dev sda2 usb_gadget_register_ driver_1 g

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# insmod g_file_storage.ko file=/dev/sda2
1
2
+usb_gadget_register_driver_1()
1
2
3
4
******gadget c0873800
fsg_bind=>gadget_for_each_ep (ep->name=ep1-bulkin)
fsg_bind=> Found BULK_IN ED
fsg_bind=>gadget_for_each_ep (ep->name=ep2-bulkout)
fsg_bind=> Found BULK_OUT ED
fsg_bind=>gadget_for_each_ep (ep->name=ep3-intin)
fsg_bind=> Found INTR_IN ED
fsg_bind=>gadget_for_each_ep (ep->name=ep4-intout)
fsg_bind=>gadget_for_each_ep (ep->name=ep5)
fsg_bind=>gadget_for_each_ep (ep->name=ep6)
fsg_bind=>Check the ed type
Allocate the request and buffer for endpoint 0
###retval ffc16000 bytes 100 dma c08ce528 gfp_flags d0
###retval ffc17000 bytes 28000 dma c0579658 gfp_flags d0
insmod: page allocation failure. order:6, mode:0x20
Mem-info:
DMA per-cpu:
cpu 0 hot: low 0, high 6, batch 1 used:5
cpu 0 cold: low 0, high 2, batch 1 used:1
DMA32 per-cpu: empty
Normal per-cpu: empty
HighMem per-cpu: empty
Free pages: 2324kB (0kB HighMem)
Active:1690 inactive:3555 dirty:0 writeback:0 unstable:0 free:581 slab:1201 mapp
ed:1599 pagetables:66
DMA free:2324kB min:724kB low:904kB high:1084kB active:6760kB inactive:14220kB p
resent:32768kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB page
s_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pag
es_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:
0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 169*4kB 78*8kB 26*16kB 7*32kB 0*64kB 1*128kB 1*256kB 0*512kB 0*1024kB 0*204
8kB 0*4096kB = 2324kB
DMA32: empty
Normal: empty
HighMem: empty
Swap cache: add 0, delete 0, find 0/0, race 0+0
Free swap = 506008kB
Total swap = 506008kB
Free swap: 506008kB
8192 pages of RAM
684 free pages
752 reserved pages
1201 slab pages
2675 pages shared
0 pages swap cached
###retval 0 bytes 28000 dma c057967c gfp_flags d0
5 retval fffffff4
########can not register gadget !!!!
insmod: error inserting 'g_file_storage.ko': -1 Cannot allocate memory