Subject: occasional device timeouts wi0
To: None <>
From: Ulrich Habel <>
List: current-users
Date: 12/03/2001 23:56:32

I just compiled a new kernel in order to get my wavelan card
running on my macintosh powerbook G3 series.

From time to time the network is going down or the machine
is locked up.

here is the excerpt from my /var/log/messages

Dec  3 23:39:07 daemonhide /netbsd: wi0: xmit failed
Dec  3 23:39:15 daemonhide /netbsd: wi0: device timeout
Dec  3 23:39:15 daemonhide /netbsd: wi0: init failed
Dec  3 23:39:15 daemonhide /netbsd: wi0: failed to allocate 1594 bytes on NIC
Dec  3 23:39:15 daemonhide /netbsd: wi0: tx buffer allocation failed
Dec  3 23:39:15 daemonhide /netbsd: wi0: interface not running
Dec  3 23:44:12 daemonhide /netbsd: wi0: device timeout

This is mentioned in a different way in the wavelan FAQ:

>How to fix this? The easiest option is to force NetBSD to only assign
>PCMCIA I/O space from a specific range of addresses: find a large
>range which is unused by the laptop (at least 64 bytes!), and in your
> kernel configuration file, specify where to start, and how much can 
> be allocated. 

>options		PCIC_ISA_ALLOC_IOBASE=0x600
>options         PCIC_ISA_ALLOC_IOSIZE=0xff

the author suggests using a windows in order to determine which space
is unallocated by devices. How do I find this out on a macintosh ?
Is there anyway to dump out the memory table of the kernel in order
to find free space for the pcmcia io space ?

any ideas how to fix the timeouts ?

here are the file revisions:
$NetBSD: wiconfig.c,v 1.14 2001/05/16 10:49:06 tsubai Exp $

$NetBSD: wi_ieee.h,v 1.6 2001/11/11 00:34:52 christos Exp $

the kernel is the from the tar archives from 17th Nov.

WaveLAN Card: Lucent Orinoco
Firmware :

	 Station Functions firmware: Variant1, Version 8.08