linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefano Brivio <stefano.brivio@polimi.it>
To: Holger Schurig <hs4233@mail.mn-solutions.de>
Cc: linux-wireless@vger.kernel.org, libertas-dev@lists.infradead.org,
	Dan Williams <dcbw@redhat.com>
Subject: Re: [BUG] libertas: probing for Marvell USB8388 fails
Date: Mon, 19 Nov 2007 12:44:27 +0100	[thread overview]
Message-ID: <20071119124427.67f8dcda@morte> (raw)
In-Reply-To: <200711191144.02169.hs4233@mail.mn-solutions.de>

On Mon, 19 Nov 2007 11:44:02 +0100
Holger Schurig <hs4233@mail.mn-solutions.de> wrote:

> > As long as probing fails, I doubt that my issue is firmware
> > related...
> 
> I was not sure that probing failed for you. I saw an URB submit 
> error.

Right, it looks like I didn't read carefully my logs. :)

> If usb8xxx.ko and libertas.ko get loaded, then it might be a 
> wrong firmware. When the USB driver loads, it first uses URBs to 
> send a helper firmware to the card. Then this helper firmware 
> get's started. And then it sends again URBs to the card, e.g. 
> for setup stuff. Now if the helper firmware is bogus and doesn't 
> accept the URBs to download the real firmware ...

I tried these ones,
4d80059fe935edef77c0745a426f6aab  usb8388.bin.olpc
9854fff247b970cc34fd14785384ffeb  usb8388.bin.rh
(I found both URLs in some Fedora installation script), but I still get the
same error message.

> If probing fails and udev doesn't even load usb8xxx.ko, then you 
> have an USB problem and the wireless mailing list might not be 
> of much help to you.

This is what I get when loading the libertas module with libertas_debug set
to 255:
[421322.049447] usb8xxx enter: if_usb_exit_module():1044
[421322.049502] usbcore: deregistering interface driver usb8xxx
[421322.049717] usb8xxx leave: if_usb_exit_module():1054
[421323.407779] libertas enter: libertas_exit_module():1527
[421323.407878] libertas leave: libertas_exit_module():1531
[421327.355499] libertas enter: libertas_init_module():1519
[421327.355618] libertas leave: libertas_init_module():1521
[421330.901950] usb8xxx enter: if_usb_init_module():1028
[421336.502698] usb8xxx: URB in failure status: -71
[421336.622483] usb 1-4: reset high speed USB device using ehci_hcd and address 6
[421337.992174] usb 1-4: reset high speed USB device using ehci_hcd and address 6
[421339.361828] usb 1-4: reset high speed USB device using ehci_hcd and address 6
[421340.731494] usb 1-4: reset high speed USB device using ehci_hcd and address 6
[421342.101171] usb 1-4: reset high speed USB device using ehci_hcd and address 6
[421343.470845] usb 1-4: reset high speed USB device using ehci_hcd and address 6
[421344.840515] usb 1-4: reset high speed USB device using ehci_hcd and address 6
[421346.210185] usb 1-4: reset high speed USB device using ehci_hcd and address 6
[421347.579869] usb 1-4: reset high speed USB device using ehci_hcd and address 6
[421348.949530] usb 1-4: reset high speed USB device using ehci_hcd and address 6
[421350.319203] usb 1-4: reset high speed USB device using ehci_hcd and address 6
[421350.471152] usb8xxx: probe of 1-4:1.0 failed with error -12
[421350.471354] usbcore: registered new interface driver usb8xxx
[421350.471415] usb8xxx leave: if_usb_init_module():1036, ret 0

So I would exclude that an USB problem is going on. Plus, if I load both
modules without any firmware being available, usb8xxx tells me that
request_firmware() failed:
[421274.018749] usb8xxx enter: if_usb_init_module():1028
[421274.097904] usb8xxx: request_firmware() failed with 0xfffffffe
[421274.097956] usb8xxx: firmware usb8388.bin not found
[421274.217406] usb 1-4: reset high speed USB device using ehci_hcd and address 6
[421274.369547] usb8xxx: probe of 1-4:1.0 failed with error -12
[421274.369732] usbcore: registered new interface driver usb8xxx
[421274.369792] usb8xxx leave: if_usb_init_module():1036, ret 0


--
Ciao
Stefano

  reply	other threads:[~2007-11-19 11:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-17  1:35 [BUG] libertas: probing for Marvell USB8388 fails Stefano Brivio
2007-11-19  9:08 ` Holger Schurig
2007-11-19  9:21   ` Stefano Brivio
2007-11-19 10:44     ` Holger Schurig
2007-11-19 11:44       ` Stefano Brivio [this message]
2007-11-19 17:35 ` Dan Williams
2007-11-19 18:07   ` Stefano Brivio
2007-11-19 20:05     ` Dan Williams
2007-11-19 20:31       ` Stefano Brivio
2007-11-29  9:20         ` Holger Schurig
2007-11-29 13:10           ` Luis R. Rodriguez
2007-11-29  8:05       ` Stefano Brivio
2007-11-29 19:35         ` Dan Williams

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=20071119124427.67f8dcda@morte \
    --to=stefano.brivio@polimi.it \
    --cc=dcbw@redhat.com \
    --cc=hs4233@mail.mn-solutions.de \
    --cc=libertas-dev@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).