Subject: Re: botch in wi0 on alpha
To: David Young <dyoung@pobox.com>
From: mel kravitz <melk@switchpwr.com>
List: port-alpha
Date: 12/22/2003 08:47:06
I will patch files, recompile and report what i find.
right now  FWI, i added to my kernel  config file:

# PCI devices
an*	at pci? dev ? function ?	# Aironet PC350/352 (802.11)
with a 'Cisco Air-PCI 352'

Dec 22 08:32:34 casey212 dhclient: Internet Software Consortium DHCP Client V3.0.1rc11
Dec 22 08:32:34 casey212 dhclient: Copyright 1995-2002 Internet Software Consortium.
Dec 22 08:32:34 casey212 dhclient: All rights reserved.
Dec 22 08:32:34 casey212 dhclient: For info, please visit http://www.isc.org/products/DHCP
Dec 22 08:32:34 casey212 dhclient: 
Dec 22 08:32:34 casey212 dhclient: Listening on BPF/an0/00:0c:30:75:5e:03
Dec 22 08:32:34 casey212 dhclient: Sending on   BPF/an0/00:0c:30:75:5e:03
Dec 22 08:32:34 casey212 dhclient: Sending on   Socket/fallback
Dec 22 08:32:37 casey212 dhclient: DHCPREQUEST on an0 to 255.255.255.255 port 67
Dec 22 08:32:37 casey212 dhclient: DHCPACK from 192.168.2.0
Dec 22 08:32:37 casey212 dhclient: bound to 192.168.2.200-- renewal in 260579 seconds.
device seems to work, box is now running. 
-Mel


>On Sun, Dec 21, 2003 at 08:28:04AM -0500, mel kravitz wrote:
>  
>
>>Any one trying to use wi0 (pci card) on alpha with -current
>>(1.6ZG)?  ifconfig wi0 inet xxxy.... will crash the box , as
>>reported: http://mail-index.netbsd.org/port-alpha/2003/05/06/0000.html
>>This is on an AlphaServer 500/333 with  supported card:
>>    
>>
>
>I do not have the docs I need to interpret the machine-check
>exception. Does anyone? My guess is that it indicates either bad
>alignment, or else some bus exception raised by your wi(4) instance---can
>a PCI adapter return the equivalent of EAGAIN or EBUSY?
>
>wi(4) contains no bus barriers, but lots of code could be sensitive to
>out-of-order reads & writes. I am adding barriers where I think they are
>called for. I will send a patch, soon. If somebody who understands the
>fine points of bus barriers will review my patches, I would appreciate it.
>
>Dave
>
>  
>