mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Holger Birkmeyer <holger.birkmeyer@ebee.berlin>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: ASIX USB dongle problem: asix_rx_fixup() Bad Header Length
Date: Tue, 28 Nov 2017 14:32:44 +0100	[thread overview]
Message-ID: <3c3039a6-f5f3-b39f-9887-ca55b464a071@ebee.berlin> (raw)
In-Reply-To: <20171128132006.cbcplw7rr2lqvme3@pengutronix.de>


[-- Attachment #1.1.1: Type: text/plain, Size: 577 bytes --]


> Hm, comparing that to the traffic my device receives that may look
> somewhat shifted. Do you have CONFIG_MMU enabled? If yes, please try
> with MMU disabled. 
#CONFIG_MMU is not set
> Also, maybe the buffer is not sufficiently aligned.
> Could you print the pointer address of buf?
>
> The buffer is statically allocated in drivers/net/usb/usbnet.c:
>
> static char rx_buf[4096];
rx_buf addr 0x23f52a8c


-- 
Holger Birkmeyer
Ebee Smart Technologies GmbH
Torgauer Str. 12-15
10829 Berlin
Phone: +49 30 6098371-52
Mail: holger.birkmeyer@ebee.berlin



[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2017-11-28 13:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-27 17:01 Holger Birkmeyer
2017-11-28  8:43 ` Sascha Hauer
2017-11-28 12:40   ` Holger Birkmeyer
2017-11-28 13:20     ` Sascha Hauer
2017-11-28 13:32       ` Holger Birkmeyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3c3039a6-f5f3-b39f-9887-ca55b464a071@ebee.berlin \
    --to=holger.birkmeyer@ebee.berlin \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox