On 09/10/15 03:59, Stefan Sperling wrote:
On Wed, Sep 09, 2015 at 09:43:44PM -0500, Aaron Poffenberger wrote:
Occasional problems with loading firmware for urtwn as seen near the end of
this dmesg:
  urtwn0: could not load firmware page 1

I've also seen the same message for page 0.

Interesting. I don't think I've seen this before. How often does it occur?
Can you please apply the following patch and show us what it prints now?

Index: if_urtwn.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/if_urtwn.c,v
retrieving revision 1.50
diff -u -p -r1.50 if_urtwn.c
--- if_urtwn.c  24 Aug 2015 04:07:38 -0000      1.50
+++ if_urtwn.c  10 Sep 2015 08:49:45 -0000
@@ -2575,8 +2575,8 @@ urtwn_load_firmware(struct urtwn_softc *
                mlen = MIN(len, R92C_FW_PAGE_SIZE);
                error = urtwn_fw_loadpage(sc, page, ptr, mlen);
                if (error != 0) {
-                       printf("%s: could not load firmware page %d\n",
-                           sc->sc_dev.dv_xname, page);
+                       printf("%s: could not load firmware page %d "
+                           "(error %d)\n", sc->sc_dev.dv_xname, page, error);
                        goto fail;
                }
                ptr += mlen;


It usually happens after suspend/resume. Not after every resume but usually after the second or third.

The dmesg I sent was the first time I saw it at boot.

I'm setting up source on this system. I'll try the patch as soon as all the bits are in place.

Reply via email to