This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

omap4460: System hang when set turbo_mode = true in file smsc95xx.c

Hi everyone,

At this time we have a problem with jorjinbsp, that need your good help.

I have used source code here: http://59.124.231.13/index.php/JAJ_2.5-P2_AP_Module_OMAP4_Jelly_Bean_Release_Notes

I want to porting chip ethernet Lan9514 to BSP TVBox, I haved referred PandaBoard’s schematics and source code to config mux pin for Lan9514. Now I can connect to Internet throught Lan9514, but I met a problem, that is:

When I just read news or listen to music, TVBox work good, but when I streaming video, system hang, at the windows console, I saw below error run continually:

[ 2038.908081] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been may have been dropped

[ 2038.978149] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped

[ 2038.978149] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped

[ 2038.978179] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped

[ 2038.978179] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped

[ 2038.978179] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped

[ 2038.978210] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped

[ 2038.978210] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped

[ 2038.978210] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped

[ 2038.978240] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped

I was look at and saw that this issue occured when turbo_mode is set to “true” in /drivers/net/usb/smsc95xx.c, when I set it into “false” this issue is no longer, but connect to internet is very slow. And in PandaBoard, it is “true”, I aslo want it to ensure internet speed when streaming video.

I see that, the different when set turbo_mode from “true” into “false” is that: change receiver buffer from 16k to 2048byte.

Another solution I was saw, is that, increase dalvik’s mem,

PandaBoard used file: mydroid/frameworks/native/build/tablet-7in-hdpi-1024-dalvik-heap.mk with config mem:

PRODUCT_PROPERTY_OVERRIDES += \

    dalvik.vm.heapstartsize=8m \

    dalvik.vm.heapgrowthlimit=64m \

    dalvik.vm.heapsize=384m \

    dalvik.vm.heaptargetutilization=0.75 \

    dalvik.vm.heapminfree=512k \

    dalvik.vm.heapmaxfree=8m

BSP TVBox used file: mydroid/frameworks/native/build/tablet-dalvik-heap.mk with config mem:

PRODUCT_PROPERTY_OVERRIDES += \

    dalvik.vm.heapstartsize=5m \

    dalvik.vm.heapgrowthlimit=48m \

    dalvik.vm.heapsize=256m \

    dalvik.vm.heaptargetutilization=0.75 \

    dalvik.vm.heapminfree=512k \

    dalvik.vm.heapmaxfree=2m

I was try to change, but no effect,

I want to ask you:

BSP TVBox is suported to porting chip Ethernet Lan9514, don’t you?

If yes, I do that is ok?

You have saw that issue?  How to solve it?

Everyone, please help me solve this issue,

Thanks you very much!

Best Regard,