Subject: Re: Problems with the wm driver
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 04/22/2005 21:37:57
On Fri, Apr 22, 2005 at 01:28:50PM +0300, Martti Kuparinen wrote:
> On Fri, 22 Apr 2005, Martti Kuparinen wrote:
> 
> >I'm having big problems with the wm(4) driver. I have two integrated ports
> >on the motherboard (wm0 and wm1) and two ports (wm2 and wm3) on a
> >dual-port PCI card.
> >
> >No matter what I do I can't get the media detected on wm1 and wm3.
> >wm0 and wm2 work just fine. Linux 2.6.11 on an identical Dell PowerEdge 750
> >is able to use all ports just fine.
> 
> I don't know what's going on here but I was able to get address
> for wm0, wm1 and wm3 with dhclient. This was shown on the console:
> 
> wm2: unable to allocate or map rx buffer 104, error = 55
> wm2: interface not running

You could try increasing NMBCLUSTERS. if_wm will allocate 256 RX buffers
per interface. With 4 interfaces you're at 1024, which is the
default NMBCLUSTERS value.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--