netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* IrDA spams logfiles - since 2.6.19
@ 2007-01-07  0:51 Andreas Leitgeb
  2007-01-10 23:26 ` David Miller
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Leitgeb @ 2007-01-07  0:51 UTC (permalink / raw)
  To: netdev

I'm not on this list, so please keep me CC'ed on this thread.

Since 2.6.19 I've got a problem with my Tekram IRmate 410U 
usb-irda-dongle. Until 2.6.18.3 (the latest I had before 2.6.19*)
it worked just fine.  2.6.19.1 had another change in irda-usb
but that didn't solve the problem.

As soon as I load the irda-usb module with the device plugged,
I get lots of messages of following kind into the logs:
  irda_usb_hard_xmit(), Insuficient skb headroom.
(the "Insuficient"-typo is original)
about 7 in a second, then a 2-secs pause. Repeating 
until the irda-usb module is removed again.

I then looked up the kernel-source for that particular 
typo'ed word, and added some info to the log:
  drivers/net/irda/irda-usb.c:448:
        if (skb_headroom(skb) < self->header_length) {
                IRDA_DEBUG(0, "%s(), Insuficient skb headroom. %d / %d \n",
                     __FUNCTION__, skb_headroom(skb) , self->header_length);
        ...
Which came out as:
  irda_usb_hard_xmit(), Insuficient skb headroom. 0 / 1
Thus, while self->header_length == USB_IRDA_HEADER,
I didn't yet understand the meaning of fields
  ->data and ->head of the skb.

I don't know, if the warning itself is right or wrong,
because other than the spamming of logs, transferring
data over irda appears to work just fine.

(I've got timestamps turned on, so usual repeat-compression
by syslogd doesn't take effect.)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-01-16  3:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-07  0:51 IrDA spams logfiles - since 2.6.19 Andreas Leitgeb
2007-01-10 23:26 ` David Miller
2007-01-11 12:01   ` Samuel Ortiz
2007-01-15  9:15     ` [PATCH 1/2] [IrDA] irda-usb TX path optimization (was Re: IrDA spams logfiles - since 2.6.19) Samuel Ortiz
2007-01-16  3:37       ` [PATCH 1/2] [IrDA] irda-usb TX path optimization David Miller
2007-01-16  3:48         ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).