Monday, June 24, 2013

Kernel messages overflowing on the BBB

The USB gadget support build into the latest Angstrom kernel (as of the 6-6-2013 version), had debugging enabled in it's configuration.  This causes the following 7 messages to repeat in the logs:

[ 8732.441147] gen_ndis_query_resp: RNDIS_OID_GEN_RCV_NO_BUFFER
[ 8732.444806]  gadget: rndis reqa1.01 v0000 i0000 l4096
[ 8732.445090]  gadget: rndis req21.00 v0000 i0000 l36
[ 8732.448797]  gadget: rndis reqa1.01 v0000 i0000 l4096
[ 8732.449226]  gadget: rndis req21.00 v0000 i0000 l36
[ 8732.452790]  gadget: rndis reqa1.01 v0000 i0000 l4096
[ 8732.453162]  gadget: rndis req21.00 v0000 i0000 l36

This "SPAM" makes the log nearly unusable if you are watching for something else important.

The particular configuration item is:  CONFIG_USB_GADGET_DEBUG=y

Robert Nelson confirms my suspicion here (eewiki.net) and indicates that the next build will have this configuration changed.

I am not aware of any way to correct this short of rebuilding the kernel.  I think I can wait for Robert...  :-)

3 comments:

  1. 05/01/2014 : according to the following topic, the driver used by the BBB seems not to be up to date (if u'r using windows 7) :
    http://msdn.microsoft.com/en-us/library/ff570620(v=VS.85).aspx

    the version used is 5.1 but the driver can be manually updated using the 6.0 template.

    This way, I managed to get the "gen_ndis_query_resp: RNDIS_OID_GEN_RCV_NO_BUFFER" lines disappear and to decrease the frequency of the other lines in a significant way, waiting for the CONFIG_USB_GADGET_DEBUG being set to "no" (about 2 lines each 5 seconds)

    Hope it helps !

    ReplyDelete
    Replies
    1. Dear Cyril,

      Could you please assist more. What file should be modified and how?

      Delete