NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/52876: The vlan(4) over wm(4) behaves something strange



On Fri, 29 Dec 2017 12:27:01 +0900
SAITOH Masanobu <msaitoh%execsw.org@localhost> wrote:

> Have you ever check /var/log/message?
> One of possibilities is:
> 
> >                 error = bus_dmamap_load_mbuf(sc->sc_dmat, dmamap, m0,
> >                     BUS_DMA_WRITE | BUS_DMA_NOWAIT);
> >                 if (error) {
> >                         if (error == EFBIG) {
> >                                 WM_Q_EVCNT_INCR(txq, txdrop);
> >                                 log(LOG_ERR, "%s: Tx packet consumes too many "
> >                                     "DMA segments, dropping...\n",
> >                                     device_xname(sc->sc_dev));
> >                                 wm_dump_mbuf_chain(sc, m0);
> >                                 m_freem(m0);
> >                                 continue;
> >                         }
> >                         /* Short on resources, just stop for now. */
> >                         DPRINTF(WM_DEBUG_TX,
> >                             ("%s: TX: dmamap load failed: %d\n",
> >                             device_xname(sc->sc_dev), error));
> >                         break;
> >                 }
> 
> This error is by log(LOG_ERR), so it's not printed in dmesg but
> in /var/log/message

I couldn't find any messages generated from wm in /var/log/messages.

> And, could you test with "options WM_EVENT_COUNTERS" in your
> kernel config and show me the output of "vmstat -ev |grep wm"
> after problem occurred.

I placed the log to following URL:
https://www.csel.org/netbsd/pr/52876/vmstat-ev-wm-20171230.txt


-- 
Shinichi Doyashiki <clare%csel.org@localhost>


Home | Main Index | Thread Index | Old Index