Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Dom0 detects no carrier on ixg
On Tue, Dec 13, 2022 at 04:38:46PM -0700, Brook Milligan wrote:
>
> > On Dec 13, 2022, at 3:07 PM, Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:
> >
> > On Tue, Dec 13, 2022 at 11:55:31AM -0700, Brook Milligan wrote:
> >> I have booted a NetBSD 9.99.99 XEN3_DOM0 kernel, but it does not detect a carrier on the network interface (ixg). A GENERIC kernel from the same sources booted normally detected the carrier just fine and the interface works well.
> >>
> >> Are there any suggestions on where to look for the problem?
> >
> > Look at differences in interrupt setup. I remember fixing some code
> > in this area but I can't remember if it was before or after 9.99.99
>
> OK, thanks.
>
> It looks like some interrupt issues (more later). However, I updated the kernel to today (9.99.108) and rebooted with the same result.
>
> # ifconfig ixg0 up
>
> results in an error message ?ixg0: Could not setup receive structures (err = 55)
>
> Does that help pinpoint anything?
55 is ENOBUFS; you don't have enough memory, or more probably enough
mbuf clusters
NMBCLUSTERS is computed automatically based on RAM amount, but for a
dom0 (which typically has a small portion of the physical RAM allocated),
it ends up too low for modern NIC.
I use
options NMBCLUSTERS=262144
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index