Bug 17821

Summary: Wavelan driver not working in 4.0
Product: Base System Reporter: cattelan
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   

Description cattelan 2000-04-06 07:40:01 UTC
WaveLan driver fails to allocate needed resouces on NIC card.

Mar 30 23:45:22 lupo pccardd[334]: pccardd started
Mar 30 23:45:57 lupo /kernel: wi0: tx buffer allocation failed
Mar 30 23:45:57 lupo /kernel: wi0: starting DAD for fe80:000c::0260:1dff:fe1d:3
848
Mar 30 23:45:57 lupo /kernel: wi0: xmit failed
Mar 30 23:45:57 lupo routed[85]: possible netmask problem between wi0:10.0.0.0/
8 and xl0:10.0.0.0/24
Mar 30 23:45:58 lupo /kernel: wi0: DAD complete for fe80:000c::0260:1dff:fe1d:3
848 - no duplicates found
Mar 30 23:46:00 lupo /kernel: wi0: tx buffer allocation failed
Mar 30 23:46:00 lupo /kernel: wi0: xmit failed
Mar 30 23:46:04 lupo /kernel: wi0: device timeout
Mar 30 23:46:04 lupo /kernel: wi0: tx buffer allocation failed
Mar 30 23:46:07 lupo /kernel: wi0: xmit failed
Mar 30 23:46:12 lupo /kernel: wi0: device timeout
Mar 30 23:46:12 lupo /kernel: wi0: tx buffer allocation failed
Mar 30 23:53:32 lupo /kernel: wi0: tx buffer allocation failed
Mar 30 23:53:32 lupo /kernel: wi0: xmit failed
Mar 30 23:53:36 lupo /kernel: wi0: device timeout
Mar 30 23:53:36 lupo /kernel: wi0: tx buffer allocation failed
Mar 30 23:53:38 lupo /kernel: wi0: xmit failed
Mar 30 23:53:43 lupo /kernel: wi0: device timeout
Mar 30 23:53:43 lupo /kernel: wi0: tx buffer allocation failed
Mar 30 23:53:47 lupo /kernel: wi0: xmit failed
Mar 30 23:53:52 lupo /kernel: wi0: device timeout
Mar 30 23:53:52 lupo /kernel: wi0: tx buffer allocation failed

How-To-Repeat: Plug in a WaveLan (Silver in this case)
Comment 1 jhay 2000-04-06 08:48:28 UTC
> >Synopsis:       Wavelan driver not working in 4.0
...
> >Environment:
> FreeBSD lupo.thebarn.com 4.0-STABLE FreeBSD 4.0-STABLE #6: Thu Mar 30 23:15:22 CST 2000     cattelan@lupo.thebarn.com:/export/cyan/src/sys/compile/LUPO  i386
> >Description:
> WaveLan driver fails to allocate needed resouces on NIC card.
> 
> Mar 30 23:45:22 lupo pccardd[334]: pccardd started
> Mar 30 23:45:57 lupo /kernel: wi0: tx buffer allocation failed
> Mar 30 23:45:57 lupo /kernel: wi0: starting DAD for fe80:000c::0260:1dff:fe1d:3
> 848
> Mar 30 23:45:57 lupo /kernel: wi0: xmit failed
> Mar 30 23:45:57 lupo routed[85]: possible netmask problem between wi0:10.0.0.0/
> 8 and xl0:10.0.0.0/24
> Mar 30 23:45:58 lupo /kernel: wi0: DAD complete for fe80:000c::0260:1dff:fe1d:3
> 848 - no duplicates found
> Mar 30 23:46:00 lupo /kernel: wi0: tx buffer allocation failed
> Mar 30 23:46:00 lupo /kernel: wi0: xmit failed
> Mar 30 23:46:04 lupo /kernel: wi0: device timeout
> Mar 30 23:46:04 lupo /kernel: wi0: tx buffer allocation failed
> Mar 30 23:46:07 lupo /kernel: wi0: xmit failed
> Mar 30 23:46:12 lupo /kernel: wi0: device timeout
> Mar 30 23:46:12 lupo /kernel: wi0: tx buffer allocation failed
> Mar 30 23:53:32 lupo /kernel: wi0: tx buffer allocation failed
> Mar 30 23:53:32 lupo /kernel: wi0: xmit failed
> Mar 30 23:53:36 lupo /kernel: wi0: device timeout
> Mar 30 23:53:36 lupo /kernel: wi0: tx buffer allocation failed
> Mar 30 23:53:38 lupo /kernel: wi0: xmit failed
> Mar 30 23:53:43 lupo /kernel: wi0: device timeout
> Mar 30 23:53:43 lupo /kernel: wi0: tx buffer allocation failed
> Mar 30 23:53:47 lupo /kernel: wi0: xmit failed
> Mar 30 23:53:52 lupo /kernel: wi0: device timeout
> Mar 30 23:53:52 lupo /kernel: wi0: tx buffer allocation failed
> 
> >How-To-Repeat:
> Plug in a WaveLan (Silver in this case)

You don't give much information about your system. Is it a notebook
or a desktop PC? If a desktop, are you using an ISA-PCMCIA card or
a PCI-PCMCIA card?

I'm using a ISA-PCMCIA card with the wavelan card here with no
problems, but I see the same errors that you do with a PCI-PCMCIA
card, even in 4.0-STABLE and -CURRENT. That is even with the support
for the TI-1225 PCI-PCMCIA bridge that Warner did commit a few days
ago. I suspect that there is some register setting still missing
somewhere, but it is getting closer.

John
-- 
John Hay -- John.Hay@mikom.csir.co.za
Comment 2 cattelan 2000-04-06 17:26:51 UTC
John Hay wrote:

> > >Synopsis:       Wavelan driver not working in 4.0
> ...
> > >Environment:
> > FreeBSD lupo.thebarn.com 4.0-STABLE FreeBSD 4.0-STABLE #6: Thu Mar 30 23:15:22 CST 2000     cattelan@lupo.thebarn.com:/export/cyan/src/sys/compile/LUPO  i386
> > >Description:
> > WaveLan driver fails to allocate needed resouces on NIC card.
> >
> > Mar 30 23:45:22 lupo pccardd[334]: pccardd started
> > Mar 30 23:45:57 lupo /kernel: wi0: tx buffer allocation failed
> > Mar 30 23:45:57 lupo /kernel: wi0: starting DAD for fe80:000c::0260:1dff:fe1d:3
> > 848
> > Mar 30 23:45:57 lupo /kernel: wi0: xmit failed
> > Mar 30 23:45:57 lupo routed[85]: possible netmask problem between wi0:10.0.0.0/
> > 8 and xl0:10.0.0.0/24
> > Mar 30 23:45:58 lupo /kernel: wi0: DAD complete for fe80:000c::0260:1dff:fe1d:3
> > 848 - no duplicates found
> > Mar 30 23:46:00 lupo /kernel: wi0: tx buffer allocation failed
> > Mar 30 23:46:00 lupo /kernel: wi0: xmit failed
> > Mar 30 23:46:04 lupo /kernel: wi0: device timeout
> > Mar 30 23:46:04 lupo /kernel: wi0: tx buffer allocation failed
> > Mar 30 23:46:07 lupo /kernel: wi0: xmit failed
> > Mar 30 23:46:12 lupo /kernel: wi0: device timeout
> > Mar 30 23:46:12 lupo /kernel: wi0: tx buffer allocation failed
> > Mar 30 23:53:32 lupo /kernel: wi0: tx buffer allocation failed
> > Mar 30 23:53:32 lupo /kernel: wi0: xmit failed
> > Mar 30 23:53:36 lupo /kernel: wi0: device timeout
> > Mar 30 23:53:36 lupo /kernel: wi0: tx buffer allocation failed
> > Mar 30 23:53:38 lupo /kernel: wi0: xmit failed
> > Mar 30 23:53:43 lupo /kernel: wi0: device timeout
> > Mar 30 23:53:43 lupo /kernel: wi0: tx buffer allocation failed
> > Mar 30 23:53:47 lupo /kernel: wi0: xmit failed
> > Mar 30 23:53:52 lupo /kernel: wi0: device timeout
> > Mar 30 23:53:52 lupo /kernel: wi0: tx buffer allocation failed
> >
> > >How-To-Repeat:
> > Plug in a WaveLan (Silver in this case)
>
> You don't give much information about your system. Is it a notebook
> or a desktop PC? If a desktop, are you using an ISA-PCMCIA card or
> a PCI-PCMCIA card?

Sorry... trying to do to many things at once.
I have a sony vaio PCG-748
pcic-pci0: <Ricoh RL5C478 PCI-CardBus Bridge> at device 10.0 on pci0

The other machine is a regular desktop with a ISA-PCMCIA card.

Both machines give the same error, which leads me to believe it's a
driver issue. I tracked the error down to buffer allocation on the NIC card it self

Note the ethernet address of the card is
00:60:1d:1d:38:20
Which seems to be the only form of "version" these things have.


>
>
> I'm using a ISA-PCMCIA card with the wavelan card here with no
> problems, but I see the same errors that you do with a PCI-PCMCIA
> card, even in 4.0-STABLE and -CURRENT. That is even with the support
> for the TI-1225 PCI-PCMCIA bridge that Warner did commit a few days
> ago. I suspect that there is some register setting still missing
> somewhere, but it is getting closer.
>
> John
> --
> John Hay -- John.Hay@mikom.csir.co.za
Comment 3 Søren Schmidt freebsd_committer freebsd_triage 2001-05-30 09:17:47 UTC
State Changed
From-To: open->closed

I belive this is fixed in 4.3