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...  :-)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.