{"action":"created","issue":{"url":"https://api.github.com/repos/Ysurac/openmptcprouter/issues/142","repository_url":"https://api.github.com/repos/Ysurac/openmptcprouter","labels_url":"https://api.github.com/repos/Ysurac/openmptcprouter/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/Ysurac/openmptcprouter/issues/142/comments","events_url":"https://api.github.com/repos/Ysurac/openmptcprouter/issues/142/events","html_url":"https://github.com/Ysurac/openmptcprouter/issues/142","id":354996672,"node_id":"MDU6SXNzdWUzNTQ5OTY2NzI=","number":142,"title":"Failed to use 2 additional USB Ethernet","user":{"login":"afriza","id":68133,"node_id":"MDQ6VXNlcjY4MTMz","avatar_url":"https://avatars3.githubusercontent.com/u/68133?v=4","gravatar_id":"","url":"https://api.github.com/users/afriza","html_url":"https://github.com/afriza","followers_url":"https://api.github.com/users/afriza/followers","following_url":"https://api.github.com/users/afriza/following{/other_user}","gists_url":"https://api.github.com/users/afriza/gists{/gist_id}","starred_url":"https://api.github.com/users/afriza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afriza/subscriptions","organizations_url":"https://api.github.com/users/afriza/orgs","repos_url":"https://api.github.com/users/afriza/repos","events_url":"https://api.github.com/users/afriza/events{/privacy}","received_events_url":"https://api.github.com/users/afriza/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2018-08-29T04:56:28Z","updated_at":"2018-09-10T02:44:03Z","closed_at":null,"author_association":"NONE","body":"## Expected Behavior\r\n\r\n WAN1 & WAN2 can be used with `eth1` and `eth2`.\r\n\r\n## Actual Behavior\r\nWhen adding **second** EDIMAX USB 2.0 Fast Ethernet Adapter, the following error occurs\r\n```\r\nERROR::assign_and_init_hc:1391: assign_and_init_hc: Failed to allocate memory to handle non-dword aligned buffer case\r\n```\r\n`WAN2` gets NO IP address and the whole system hangs after a while.\r\n\r\nFull log\r\n```\r\nWed Aug 29 04:02:39 2018 kern.info kernel: [  221.545033] usb 1-1.3: new high-speed USB device number 6 using dwc_otg\r\nWed Aug 29 04:02:39 2018 kern.info kernel: [  221.697956] usb 1-1.3: New USB device found, idVendor=0b95, idProduct=772b\r\nWed Aug 29 04:02:39 2018 kern.info kernel: [  221.706831] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3\r\nWed Aug 29 04:02:39 2018 kern.info kernel: [  221.716103] usb 1-1.3: Product: AX88772B\r\nWed Aug 29 04:02:39 2018 kern.info kernel: [  221.721858] usb 1-1.3: Manufacturer: ASIX Elec. Corp.\r\nWed Aug 29 04:02:39 2018 kern.info kernel: [  221.728744] usb 1-1.3: SerialNumber: 15426E\r\nWed Aug 29 04:02:39 2018 kern.debug kernel: [  221.735095] usb 1-1.3: no of_node; not parsing pinctrl DT\r\nWed Aug 29 04:02:39 2018 kern.debug kernel: [  221.736541] asix 1-1.3:1.0: no of_node; not parsing pinctrl DT\r\nWed Aug 29 04:02:39 2018 daemon.notice netifd: Interface 'wan2' is enabled\r\nWed Aug 29 04:02:39 2018 kern.info kernel: [  222.190437] asix 1-1.3:1.0 eth2: register 'asix' at usb-3f980000.usb-1.3, ASIX AX88772B USB 2.0 Ethernet, 00:50:b6:15:42:6e\r\nWed Aug 29 04:02:41 2018 daemon.notice netifd: Network device 'eth2' link is up\r\nWed Aug 29 04:02:41 2018 daemon.notice netifd: Interface 'wan2' has link connectivity\r\nWed Aug 29 04:02:41 2018 daemon.notice netifd: Interface 'wan2' is setting up now\r\nWed Aug 29 04:02:41 2018 kern.info kernel: [  223.750492] asix 1-1.3:1.0 eth2: link up, 100Mbps, full-duplex, lpa 0x41E1\r\nWed Aug 29 04:02:41 2018 daemon.notice netifd: wan2 (4924): udhcpc: started, v1.28.3\r\nWed Aug 29 04:02:41 2018 daemon.notice netifd: wan2 (4924): udhcpc: sending discover\r\nWed Aug 29 04:02:41 2018 kern.warn kernel: [  223.975061] ERROR::assign_and_init_hc:1391: assign_and_init_hc: Failed to allocate memory to handle non-dword aligned buffer case\r\nWed Aug 29 04:02:41 2018 kern.warn kernel: [  223.975061]\r\nWed Aug 29 04:02:42 2018 kern.err kernel: [  224.624981] raspberrypi-firmware soc:firmware: Get Throttled mailbox call failed\r\nWed Aug 29 04:02:44 2018 daemon.notice netifd: wan2 (4924): udhcpc: sending discover\r\nWed Aug 29 04:02:47 2018 daemon.notice netifd: wan2 (4924): udhcpc: sending discover\r\n```\r\n\r\n## Steps to Reproduce the Problem\r\n\r\n  1. Flash OMR v0.33.3\r\n  2. Set `Maximum scaling CPU frequency` to `600000` to silence [cpufreq errors](https://github.com/Ysurac/openmptcprouter/issues/113)\r\n  3. Plug in EDIMAX USB 2.0 Fast Ethernet Adapter. Set `WAN1` to use `eth1` with DHCP.\r\n  4. Plug in another EDIMAX USB 2.0 Fast Ethernet Adapter. Set `WAN2` to use `eth2` with DHCP.\r\n\r\n## Specifications\r\n\r\n  - OpenMPTCProuter version: (v0.33.3)\r\n  - OpenMPTCProuter VPS version: (v0.46)\r\n  - OpenMPTCProuter platform: (RPI3)\r\n"},"comment":{"url":"https://api.github.com/repos/Ysurac/openmptcprouter/issues/comments/419771692","html_url":"https://github.com/Ysurac/openmptcprouter/issues/142#issuecomment-419771692","issue_url":"https://api.github.com/repos/Ysurac/openmptcprouter/issues/142","id":419771692,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTc3MTY5Mg==","user":{"login":"afriza","id":68133,"node_id":"MDQ6VXNlcjY4MTMz","avatar_url":"https://avatars3.githubusercontent.com/u/68133?v=4","gravatar_id":"","url":"https://api.github.com/users/afriza","html_url":"https://github.com/afriza","followers_url":"https://api.github.com/users/afriza/followers","following_url":"https://api.github.com/users/afriza/following{/other_user}","gists_url":"https://api.github.com/users/afriza/gists{/gist_id}","starred_url":"https://api.github.com/users/afriza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afriza/subscriptions","organizations_url":"https://api.github.com/users/afriza/orgs","repos_url":"https://api.github.com/users/afriza/repos","events_url":"https://api.github.com/users/afriza/events{/privacy}","received_events_url":"https://api.github.com/users/afriza/received_events","type":"User","site_admin":false},"created_at":"2018-09-10T02:44:03Z","updated_at":"2018-09-10T02:44:03Z","author_association":"NONE","body":"@mykelinho can you share the [kernel log](http://192.168.100.1/cgi-bin/luci/admin/status/dmesg) when plugging in the USB 3.0 adapters?"}}
{"actor":{"display_login":"afriza"}}