M
M
m1k0lay2018-12-22 23:49:21
linux
m1k0lay, 2018-12-22 23:49:21

android via rndis to openwrt?

Good time. I'm trying to connect an android phone via rndis to openwrt, but something doesn't work. What could be the problem?

[ 3614.639223] dwc2 101c0000.otg: Not connected
[ 3614.648149] dwc2 101c0000.otg: Not connected
[ 3614.861880] usb 1-1: USB disconnect, device number 10
[ 3614.872350] rndis_host 1-1:1.0 usb0: unregister 'rndis_host' usb-101c0000.otg-1, RNDIS device
[ 3618.961883] usb 1-1: new high-speed USB device number 11 using dwc2
[ 3619.193744] usb 1-1: no of_node; not parsing pinctrl DT
[ 3619.231061] cdc_acm 1-1:1.1: no of_node; not parsing pinctrl DT
[ 3619.244019] cdc_acm 1-1:1.1: ttyACM0: USB ACM device
[ 3626.362075] usb 1-1: USB disconnect, device number 11
[ 3626.741999] usb 1-1: new high-speed USB device number 12 using dwc2
[ 3626.993808] usb 1-1: no of_node; not parsing pinctrl DT
[ 3627.024224] rndis_host 1-1:1.0: no of_node; not parsing pinctrl DT
[ 3627.064733] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-101c0000.otg-1, RNDIS device, 02:56:53:50:66:65
[ 3627.112262] ksoftirqd/0: page allocation failure: order:4, mode:0x2084021
[ 3627.125953] CPU: 0 PID: 3 Comm: ksoftirqd/0 Tainted: G        W       4.4.7 #1
[ 3627.140482] Stack : 00000000 00000000 80360000 8031aa54 81828c68 80358d23 802fc4a0 00000003
[ 3627.140482] 	  803a3428 81b7b200 00000060 00000000 0000ffff 800499b0 00000006 00000000
[ 3627.140482] 	  00000000 00000000 802ffd58 8183fadc 803a61e2 80047968 00000000 00000000
[ 3627.140482] 	  80357e30 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3627.140482] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3627.140482] 	  ...
[ 3627.212057] Call Trace:
[ 3627.216985] [<8001435c>] show_stack+0x50/0x84
[ 3627.225784] [<80076578>] warn_alloc_failed+0xe8/0x10c
[ 3627.235958] [<800789b8>] __alloc_pages_nodemask+0x590/0x6e8
[ 3627.247177] [<8008b720>] kmalloc_order+0x14/0x48
[ 3627.256571] [<81ba578c>] dwc2_host_hub_info+0x4e4/0x6a0 [dwc2]
[ 3627.268344] 
[ 3627.271332] Mem-Info:
[ 3627.275929] active_anon:1212 inactive_anon:45 isolated_anon:0
[ 3627.275929]  active_file:1142 inactive_file:447 isolated_file:0
[ 3627.275929]  unevictable:0 dirty:0 writeback:0 unstable:0
[ 3627.275929]  slab_reclaimable:508 slab_unreclaimable:1536
[ 3627.275929]  mapped:730 shmem:369 pagetables:92 bounce:0
[ 3627.275929]  free:693 free_pcp:0 free_cma:0
[ 3627.340220] Normal free:2772kB min:672kB low:840kB high:1008kB active_anon:4848kB inactive_anon:180kB active_file:4568kB inactive_file:1788kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:32768kB managed:28688kB mlocked:0kB dirty:0kB writeback:0kB mapped:2920kB shmem:1476kB slab_reclaimable:2032kB slab_unreclaimable:6144kB kernel_stack:480kB pagetables:368kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[ 3627.427839] lowmem_reserve[]: 0 0
[ 3627.434504] Normal: 89*4kB (UM) 178*8kB (UM) 60*16kB (UM) 1*32kB (M) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 2772kB
[ 3627.459083] 1958 total pagecache pages
[ 3627.466622] 0 pages in swap cache
[ 3627.473286] Swap cache stats: add 0, delete 0, find 0/0
[ 3627.483793] Free swap  = 0kB
[ 3627.489578] Total swap = 0kB
[ 3627.495364] 8192 pages RAM
[ 3627.500799] 0 pages HighMem/MovableOnly
[ 3627.508509] 1020 pages reserved
[ 3627.514837] dwc2 101c0000.otg: dwc2_assign_and_init_hc: Failed to allocate memory to handle non-dword aligned buffer
[ 3627.536159] ksoftirqd/0: page allocation failure: order:4, mode:0x2084021
[ 3627.549842] CPU: 0 PID: 3 Comm: ksoftirqd/0 Tainted: G        W       4.4.7 #1
[ 3627.564372] Stack : 00000000 00000000 80360000 8031aa54 81828c68 80358d23 802fc4a0 00000003
[ 3627.564372] 	  803a3428 81b7b980 00000060 00000000 0000ffff 800499b0 00000006 80356ea0
[ 3627.564372] 	  00000000 00000000 802ffd58 8183f9c4 803a61e2 80047968 00000000 00000000
[ 3627.564372] 	  80357e30 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3627.564372] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3627.564372] 	  ...
[ 3627.635942] Call Trace:
[ 3627.640868] [<8001435c>] show_stack+0x50/0x84
[ 3627.649662] [<80076578>] warn_alloc_failed+0xe8/0x10c
[ 3627.659837] [<800789b8>] __alloc_pages_nodemask+0x590/0x6e8
[ 3627.671055] [<8008b720>] kmalloc_order+0x14/0x48
[ 3627.680447] [<81ba578c>] dwc2_host_hub_info+0x4e4/0x6a0 [dwc2]
[ 3627.692220] 
[ 3627.695208] Mem-Info:
[ 3627.699804] active_anon:1212 inactive_anon:45 isolated_anon:0
[ 3627.699804]  active_file:1142 inactive_file:447 isolated_file:0
[ 3627.699804]  unevictable:0 dirty:0 writeback:0 unstable:0
[ 3627.699804]  slab_reclaimable:508 slab_unreclaimable:1536
[ 3627.699804]  mapped:730 shmem:369 pagetables:92 bounce:0
[ 3627.699804]  free:693 free_pcp:0 free_cma:0
[ 3627.764094] Normal free:2772kB min:672kB low:840kB high:1008kB active_anon:4848kB inactive_anon:180kB active_file:4568kB inactive_file:1788kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:32768kB managed:28688kB mlocked:0kB dirty:0kB writeback:0kB mapped:2920kB shmem:1476kB slab_reclaimable:2032kB slab_unreclaimable:6144kB kernel_stack:480kB pagetables:368kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[ 3627.851712] lowmem_reserve[]: 0 0
[ 3627.858378] Normal: 89*4kB (UM) 178*8kB (UM) 60*16kB (UM) 1*32kB (M) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 2772kB
[ 3627.882955] 1958 total pagecache pages
[ 3627.890493] 0 pages in swap cache
[ 3627.897157] Swap cache stats: add 0, delete 0, find 0/0
[ 3627.907663] Free swap  = 0kB
[ 3627.913448] Total swap = 0kB
[ 3627.919233] 8192 pages RAM
[ 3627.924669] 0 pages HighMem/MovableOnly
[ 3627.932378] 1020 pages reserved
[ 3627.938706] dwc2 101c0000.otg: dwc2_assign_and_init_hc: Failed to allocate memory to handle non-dword aligned buffer
[ 3627.959978] ksoftirqd/0: page allocation failure: order:4, mode:0x2084021
[ 3627.973656] CPU: 0 PID: 3 Comm: ksoftirqd/0 Tainted: G        W       4.4.7 #1
[ 3627.988185] Stack : 00000000 00000000 80360000 8031aa54 81828c68 80358d23 802fc4a0 00000003
[ 3627.988185] 	  803a3428 81b7b200 00000060 00000000 0000ffff 800499b0 00000006 0000042a
[ 3627.988185] 	  00000000 00000000 802ffd58 8183f964 803a61e2 80047968 00000000 00000000
[ 3627.988185] 	  0000042b 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3627.988185] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3627.988185] 	  ...
[ 3628.059756] Call Trace:
[ 3628.064681] [<8001435c>] show_stack+0x50/0x84
[ 3628.073472] [<80076578>] warn_alloc_failed+0xe8/0x10c
[ 3628.083646] [<800789b8>] __alloc_pages_nodemask+0x590/0x6e8
[ 3628.094864] [<8008b720>] kmalloc_order+0x14/0x48
[ 3628.104254] [<81ba578c>] dwc2_host_hub_info+0x4e4/0x6a0 [dwc2]
[ 3628.116026] 
[ 3628.119014] Mem-Info:
[ 3628.123610] active_anon:1212 inactive_anon:45 isolated_anon:0
[ 3628.123610]  active_file:1142 inactive_file:447 isolated_file:0
[ 3628.123610]  unevictable:0 dirty:0 writeback:0 unstable:0
[ 3628.123610]  slab_reclaimable:508 slab_unreclaimable:1536
[ 3628.123610]  mapped:730 shmem:369 pagetables:92 bounce:0
[ 3628.123610]  free:693 free_pcp:0 free_cma:0
[ 3628.187898] Normal free:2772kB min:672kB low:840kB high:1008kB active_anon:4848kB inactive_anon:180kB active_file:4568kB inactive_file:1788kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:32768kB managed:28688kB mlocked:0kB dirty:0kB writeback:0kB mapped:2920kB shmem:1476kB slab_reclaimable:2032kB slab_unreclaimable:6144kB kernel_stack:480kB pagetables:368kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[ 3628.275516] lowmem_reserve[]: 0 0
[ 3628.282181] Normal: 89*4kB (UM) 178*8kB (UM) 60*16kB (UM) 1*32kB (M) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 2772kB
[ 3628.306758] 1958 total pagecache pages
[ 3628.314295] 0 pages in swap cache
[ 3628.320960] Swap cache stats: add 0, delete 0, find 0/0
[ 3628.331467] Free swap  = 0kB
[ 3628.337252] Total swap = 0kB
[ 3628.343038] 8192 pages RAM
[ 3628.348474] 0 pages HighMem/MovableOnly
[ 3628.356183] 1020 pages reserved
[ 3628.362510] dwc2 101c0000.otg: dwc2_assign_and_init_hc: Failed to allocate memory to handle non-dword aligned buffer
[ 3628.383888] ksoftirqd/0: page allocation failure: order:4, mode:0x2084021
[ 3628.397574] CPU: 0 PID: 3 Comm: ksoftirqd/0 Tainted: G        W       4.4.7 #1
[ 3628.412102] Stack : 00000000 00000000 80360000 8031aa54 81828c68 80358d23 802fc4a0 00000003
[ 3628.412102] 	  803a3428 81b7b980 00000060 00000000 0000ffff 800499b0 00000006 00000030
[ 3628.412102] 	  00000000 00000000 802ffd58 8183f964 803a61e2 80047968 00000000 00000000
[ 3628.412102] 	  80357e30 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3628.412102] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3628.412102] 	  ...
[ 3628.483671] Call Trace:
[ 3628.488598] [<8001435c>] show_stack+0x50/0x84
[ 3628.497392] [<80076578>] warn_alloc_failed+0xe8/0x10c
[ 3628.507568] [<800789b8>] __alloc_pages_nodemask+0x590/0x6e8
[ 3628.518786] [<8008b720>] kmalloc_order+0x14/0x48
[ 3628.528180] [<81ba578c>] dwc2_host_hub_info+0x4e4/0x6a0 [dwc2]
[ 3628.539953] 
....

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aol-nnov, 2018-12-23
@aol-nnov

The problem is that you can dwc2 kernel does not work - Failed to allocate memory. Nothing more can be said about this stacktrace.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question