Marvell Libertas IEEE 802.11b/g PCI on sparc64
Tony Asleson <[email protected]>
| Newsgroups | gmane.os.openbsd.sparc |
|---|---|
| Message-ID | <[email protected]> |
Running OpenBSD 4.4 GENERIC sparc64 on a Sun Blade 150. I didn't
read close enough when I read this line in the supported hardware.
"Marvell Libertas IEEE 802.11b/g Compact Flash adapters (will be
detected as PCMCIA adapters) (malo)"
on this page: http://openbsd.org/sparc64.html
As I installed a Netgear WG311v3 PCI card thinking that it was
supported, but it isn't. After re-reading the web page
again, I see that the PCI version is not supported.
My question is why?
The dmesg shows the card:
malo0 at pci1 dev 0 function 0 "Marvell Libertas 88W8335" \
rev 0x03: ivec 0x7d9, address 00:1e:2a:46:c6:63
It shows up in the ifconfig output
malo0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:1e:2a:46:c6:63
groups: wlan
media: IEEE802.11 autoselect
status: no network
ieee80211: nwid ""
inet6 fe80::21e:2aff:fe46:c653%malo0 prefixlen 64 scopeid 0x2
However, when I try to do anything with the card I get:
malo0: timeout at firmware load!
I recompiled the kernel enabling debug messages for the
driver and I get the following kernel messages when I do a:
ifconfig malo0 up ; ifconfig malo0 down
malo0: malo_init
malo0: loading boot firmware
malo0: boot firmware loaded
malo0: uploading firmware
malo0: firmware upload finished
malo0: loading firmware
malo0: timeout at firmware load!
malo0: malo_init failed, reseting card
malo0: malo_init
malo0: loading boot firmware
malo0: boot firmware loaded
malo0: uploading firmware
malo0: firmware upload finished
malo0: loading firmware
malo0: timeout at firmware load!
malo0: malo_init failed, reseting card
I did some searching and it appears the card worked on a OpenBSD
alpha system. I tested the card in a i386 system and it works fine.
At this point I think it may not be working because of endian issues
as sparc is big endian, and i386 and alpha are little endian (AFAIK),
but that is just a guess. Yes the firmware files are installed, if
they weren't you get a different error message.
Thanks,
Tony
Full dmesg output
console is keyboard/display
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2008 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 4.4 (GENERIC) #7: Sat Mar 21 16:55:53 CDT 2009
[email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1026506752 (978MB)
mainbus0 at root: Sun Blade 150 (UltraSPARC-IIe 550MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-IIe (rev 3.3) @ 550 MHz
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 512K
external (64 b/l)
psycho0 at mainbus0: pci108e,a001, impl 0, version 0, ign 7c0
psycho0: bus range 0-1, PCI bus 0
psycho0: dvma map c0000000-dfffffff, iotdb 1278000-12f8000
pci0 at psycho0
ebus0 at pci0 dev 12 function 0 "Sun RIO EBus" rev 0x01
"flashprom" at ebus0 addr 0-fffff not configured
clock1 at ebus0 addr 0-1fff: mk48t59
ebus1 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
"dma" at ebus1 addr 0-ffff ivec 0x2a not configured
power0 at ebus1 addr 800-82f ivec 0x20
com0 at ebus1 addr 3f8-3ff ivec 0x2b: ns16550a, 16 byte fifo
com1 at ebus1 addr 2e8-2ef ivec 0x2b: ns16550a, 16 byte fifo
gem0 at pci0 dev 12 function 1 "Sun ERI Ether" rev 0x01: ivec 0x7c6,
address 00:03:ba:2d:30:12
ukphy0 at gem0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI
0x0010dd, model 0x0002
"Sun FireWire" rev 0x01 at pci0 dev 12 function 2 not configured
ohci0 at pci0 dev 12 function 3 "Sun USB" rev 0x01: ivec 0x7e4,
version 1.0, legacy support
alipm0 at pci0 dev 3 function 0 "Acer Labs M7101 Power" rev 0x00: 223KHz clock
iic0 at alipm0
"max1617" at alipm0 addr 0x18 skipped due to alipm0 bugs
"scm001" at alipm0 addr 0x20 skipped due to alipm0 bugs
spdmem0 at iic0 addr 0x50: 512MB SDRAM ECC PC133CL2
spdmem1 at iic0 addr 0x51: 512MB SDRAM ECC PC133CL2
autri0 at pci0 dev 8 function 0 "Acer Labs M5451 Audio" rev 0x01: ivec 0x7e3
ac97: codec id 0x41445348 (Analog Devices AD1881A)
ac97: codec features headphone, Analog Devices Phat Stereo
audio0 at autri0
midi0 at autri0: <4DWAVE MIDI UART>
pciide0 at pci0 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc3:
DMA, channel 0 configured to native-PCI, channel 1 configured to
native-PCI
pciide0: using ivec 0x7cc for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <ST340016A>
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: <LITEON, CD-ROM LTN486S, Y3S2> ATAPI
5/cdrom removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
ppb0 at pci0 dev 5 function 0 "Intel S21152BB PCI-PCI" rev 0x00
pci1 at ppb0 bus 1
malo0 at pci1 dev 0 function 0 "Marvell Libertas 88W8335" rev 0x03:
ivec 0x7d9, address 00:1e:2a:46:c6:63
fxp0 at pci1 dev 2 function 0 "Intel 8255x" rev 0x08, i82559: ivec
0x7d5, address 00:02:b3:31:ae:e3
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
vgafb0 at pci0 dev 19 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vgafb0: console (std, sun emulation)
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "Sun OHCI root hub" rev 1.00/1.00 addr 1
uhidev0 at uhub0 port 2 configuration 1 interface 0 "Sun Microsystems
Type 6 Keyboard" rev 1.10/2.00 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes, layout 33
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub0 port 4 configuration 1 interface 0 "Sun Microsystems
Type 6 Mouse" rev 2.00/1.07 addr 3
uhidev1: iclass 3/1
ums0 at uhidev1: 3 buttons
wsmouse0 at ums0
softraid0 at root
bootpath: /pci@1f,0/ide@d,0/disk@0,0
root on wd0a swap on wd0b dump on wd0b
malo0: malo_init
malo0: loading boot firmware
malo0: boot firmware loaded
malo0: uploading firmware
malo0: firmware upload finished
malo0: loading firmware
malo0: timeout at firmware load!
malo0: malo_init failed, reseting card
malo0: malo_init
malo0: loading boot firmware
malo0: boot firmware loaded
malo0: uploading firmware
malo0: firmware upload finished
malo0: loading firmware
malo0: timeout at firmware load!
malo0: malo_init failed, reseting card