Inspiron 9400 freezes when enabling bfe0

Sepherosa Ziehau sepherosa at gmail.com
Thu Jul 12 18:49:26 PDT 2007


On 7/13/07, Matthew Dillon <dillon at apollo.backplane.com> wrote:
:    This implies that the BFE driver may have limited DMA range, which
:    we can program for in the busdma setup for bfe.
:
    DING!  The FreeBSD driver limits DMA to the low 1G of ram.

    Try this patch.
I think I included this in my patch :)
My question is:
Should EINPROGRESS from bus_dmamap_load() be taken as fatal error?
Best Regards,
sephe
                                        -Matt
                                        Matthew Dillon
                                        <dillon at backplane.com>
Index: if_bfe.c
===================================================================
RCS file: /cvs/src/sys/dev/netif/bfe/if_bfe.c,v
retrieving revision 1.30
diff -u -p -r1.30 if_bfe.c
--- if_bfe.c    25 Oct 2006 20:55:56 -0000      1.30
+++ if_bfe.c    13 Jul 2007 01:04:05 -0000
@@ -192,7 +192,7 @@
        /* parent tag */
        error = bus_dma_tag_create(NULL,  /* parent */
                        PAGE_SIZE, 0,             /* alignment, boundary */
-                       BUS_SPACE_MAXADDR_32BIT,  /* lowaddr */
+                       0x3FFFFFFF,               /* lowaddr */
                        BUS_SPACE_MAXADDR,        /* highaddr */
                        NULL, NULL,               /* filter, filterarg */
                        MAXBSIZE,                 /* maxsize */


--
Live Free or Die




More information about the Bugs mailing list