busdma MFC broke ipfw fwd for RELENG_6
YongHyeon PYUN
pyunyh at gmail.com
Sat Sep 17 20:05:12 UTC 2011
On Sat, Sep 17, 2011 at 09:03:50PM +0700, Eugene Grosbein wrote:
> 17.09.2011 02:13, YongHyeon PYUN пишет:
> > On Fri, Sep 16, 2011 at 11:45:25AM +0700, Eugene Grosbein wrote:
> >> 16.09.2011 02:19, YongHyeon PYUN пишет:
> >>> On Fri, Sep 16, 2011 at 02:02:37AM +0700, Eugene Grosbein wrote:
> >>>> 16.09.2011 01:15, YongHyeon PYUN пишет:
> >>>>
> >>>>> I remember re(4) in 6.x also have a couple of bus_dma(9) bugs. How
> >>>>> about applying the following revision?
> >>>>> http://svnweb.freebsd.org/base?view=revision&revision=175337
> >>>>> Not sure whether it shall apply cleanly.
> >>>>
> >>>> It does not and there is too much differences in the code for my skills to apply manually :-)
> >>>>
> >>>>> Alternatively try replacing BUS_DMA_ALLOCNOW to 0 in
> >>>>> bus_dma_tag_create(9).
> >>>>
> >>>> I'm not sure I undersdand this right... Do you mean this change?
> >>>
> >>> No, change BUS_DMA_ALLOCNOW used in re(4).
> >>
> >> With clean RELENG_6 sources and the only following patch,
> >> the problem still persists.
> >>
> >
> > :-(
> > I have back-ported re(4)/rl(4) for latest 6.x.
> > http://people.freebsd.org/~yongari/re/6.x/README.txt
> > Just compile tested and not sure whether it fixes the issue.
>
> I confirm that the problem disappears using this driver with clean RELENG_6 sources
> and RealTek 8169/8169S/8169SB(L)/8110S/8110SB(L) Gigabit Ethernet:
>
> re0 at pci1:11:0: class=0x020000 card=0x816910ec chip=0x816910ec rev=0x10 hdr=0x00
> vendor = 'Realtek Semiconductor'
> device = 'RTL8110SB Single-Chip Gigabit LOM Ethernet Controller'
> class = network
> subclass = ethernet
> cap 01[dc] = powerspec 2 supports D0 D1 D2 D3 current D0
>
> Also, this machine uses RT8139 (rl0) for its LAN and it works too.
Glad to hear that. Unfortunately I have no plan or time to merge
all changes made in re(4)/rl(4) to stable/6 so you may have to
stick to this unofficial driver. As you already know, I overhauled
these drivers long time ago and there were too many changes.
>
> Eugene Grosbein
More information about the freebsd-stable
mailing list