pcmcia malo(4) can't load firmware

2007-06-03 Thread Peter Hessler
I have a pcmcia malo(4) card that I would like to use, and when I plug 
it in it gives me malo0: timeout at boot firmware load!.  The card is 
a NetGear WG511 v2, and yes, I did pkg_add the firmware.  dmesg with 
acpi and MALO_DEBUG/CMALO_DEBUG defined below.




-- 
On a paper submitted by a physicist colleague:

This isn't right.  This isn't even wrong.
-- Wolfgang Pauli


OpenBSD 4.1-current (ACPI) #3: Sat Jun  2 19:40:48 PDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/ACPI
real mem = 2012672000 (1919MB)
avail mem = 1931935744 (1842MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xfc68f (23 entries)
bios0: Hewlett-Packard HP Compaq nx6125 (PZ895UA#ABA)
acpi0 at mainbus0: rev 0
acpi0: tables DSDT FACP APIC MCFG SSDT 
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfec01000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Turion(tm) 64 Mobile ML-37 , 1995.33 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully 
associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully 
associative
cpu0: AMD erratum 89 present, BIOS upgrade may be required
cpu0: apic clock running at 199MHz
ioapic0 at mainbus0 apid 1 pa 0xfec0, version 21, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpiprt0 at acpi0: bus 1 (C048)
acpiprt1 at acpi0: bus 2 (C0AB)
acpiprt2 at acpi0: bus 0 (C047)
acpiec0 at acpi0: C111
acpicpu at acpi0 not configured
acpitz0 at acpi0, critical temperature: 94 degC
acpitz1 at acpi0, critical temperature: 100 degC
acpitz2 at acpi0, critical temperature: 100 degC
acpibat0 at acpi0: C179: not present
acpibat1 at acpi0: C178: not present
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: C1F0
acpibtn1 at acpi0: C1F1
couldnt fetch acpicpu_softc
cpu0: PowerNow! K8 1995 MHz: speeds: 2000 1800 1600 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 ATI RS480 Host rev 0x01
ppb0 at pci0 dev 1 function 0 ATI RS480 PCIE rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 ATI Radeon XPRESS 200M rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 4 function 0 ATI RS480 PCIE rev 0x00
pci2 at ppb1 bus 16
ppb2 at pci0 dev 5 function 0 ATI RS480 PCIE rev 0x00
pci3 at ppb2 bus 32
ohci0 at pci0 dev 19 function 0 ATI IXP400 USB rev 0x00: apic 1 int 
19 (irq 10), version 1.0, legacy support
ohci1 at pci0 dev 19 function 1 ATI IXP400 USB rev 0x00: apic 1 int 
19 (irq 10), version 1.0, legacy support
ehci0 at pci0 dev 19 function 2 ATI IXP400 USB2 rev 0x00: apic 1 int 
19 (irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0
uhub0: ATI EHCI root hub, rev 2.00/1.00, addr 1
uhub0: 8 ports with 8 removable, self powered
piixpm0 at pci0 dev 20 function 0 ATI IXP400 SMBus rev 0x11: SMI
iic0 at piixpm0
admtemp0 at iic0 addr 0x4c: adm1032
pciide0 at pci0 dev 20 function 1 ATI IXP400 IDE rev 0x00: DMA, 
channel 0 configured to compatibility, channel 1 configured to 
compatibility
wd0 at pciide0 channel 0 drive 0: FUJITSU MHV2060AH
wd0: 16-sector PIO, LBA, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: MATSHITA, UJ-840D, 1.02 SCSI0 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
pcib0 at pci0 dev 20 function 3 ATI IXP400 ISA rev 0x00
ppb3 at pci0 dev 20 function 4 ATI IXP400 PCI rev 0x00
pci4 at ppb3 bus 2
bge0 at pci4 dev 1 function 0 Broadcom BCM5788 rev 0x03, BCM5705 A3 
(0x3003): apic 1 int 23 (irq 10), address 00:0f:b0:f6:46:19
brgphy0 at bge0 phy 1: BCM5705 10/100/1000baseT PHY, rev. 2
Broadcom BCM4319 rev 0x02 at pci4 dev 2 function 0 not configured
cbb0 at pci4 dev 4 function 0 TI PCI7XX1 CardBus rev 0x00: apic 1 int 
20 (irq 11)
TI PCI7XX1 FireWire rev 0x00 at pci4 dev 4 function 2 not configured
TI PCI7XX1 Flash rev 0x00 at pci4 dev 4 function 3 not configured
sdhc0 at pci4 dev 4 function 4 TI PCI7XX1 Secure Data rev 0x00: apic 
1 int 21 (irq 9)
sdmmc0 at sdhc0
sdmmc1 at sdhc0
sdmmc2 at sdhc0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x10, lattimer 0x20
pcmcia0 at cardslot0
auixp0 at pci0 dev 20 function 5 ATI IXP400 AC97 rev 0x02: apic 1 int 
17 (irq 5)
auixp0: soft resetting aclink
ATI IXP400 Modem rev 0x02 at pci0 dev 20 function 6 not configured
pchb1 at pci0 dev 24 function 0 AMD AMD64 HyperTransport rev 0x00
pchb2 at pci0 dev 24 function 1 AMD AMD64 Address Map rev 0x00
pchb3 at pci0 dev 24 function 2 AMD AMD64 DRAM Cfg rev 0x00
pchb4 at pci0 dev 24 function 3 AMD AMD64 Misc Cfg rev 0x00
usb1 at ohci0: USB revision 1.0
uhub1 at usb1

amd64 pcmcia/cardbus wackyness (was Re: pcmcia malo(4) can't load firmware)

2007-06-03 Thread Peter Hessler
I assume its related, but when I plug in a CF-PCMCIA adapter, it 
attaches as com(4).  This is a known good card that attaches properly 
on macppc pcmcia.

on amd64:
com2 at pcmcia0 function 0: can't allocate i/o space

ppc:
wdc3 at pcmcia0 function 0 LEXAR ATA FLASH CARD, ATA FLASH,  port 0x0/16
wd1 at wdc3 channel 0 drive 0: LEXAR ATA FLASH
wd1: 1-sector PIO, LBA, 3915MB, 8018640 sectors
wd1(wdc3:0:0): using BIOS timings


On 2007 Jun 03 (Sun) at 08:32:31 -0700 (-0700), Peter Hessler wrote:
:I have a pcmcia malo(4) card that I would like to use, and when I plug 
:it in it gives me malo0: timeout at boot firmware load!.  The card is 
:a NetGear WG511 v2, and yes, I did pkg_add the firmware.  dmesg with 
:acpi and MALO_DEBUG/CMALO_DEBUG defined below.
:
:
:
:
:-- 
:On a paper submitted by a physicist colleague:
:
:This isn't right.  This isn't even wrong.
:   -- Wolfgang Pauli
:
:
:OpenBSD 4.1-current (ACPI) #3: Sat Jun  2 19:40:48 PDT 2007
:[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/ACPI
:real mem = 2012672000 (1919MB)
:avail mem = 1931935744 (1842MB)
:mainbus0 at root
:bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xfc68f (23 entries)
:bios0: Hewlett-Packard HP Compaq nx6125 (PZ895UA#ABA)
:acpi0 at mainbus0: rev 0
:acpi0: tables DSDT FACP APIC MCFG SSDT 
:acpitimer0 at acpi0: 3579545 Hz, 32 bits
:acpimadt0 at acpi0 addr 0xfec01000: PC-AT compat
:cpu0 at mainbus0: apid 0 (boot processor)
:cpu0: AMD Turion(tm) 64 Mobile ML-37 , 1995.33 MHz
:cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
:cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
:64b/line 16-way L2 cache
:cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully 
:associative
:cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully 
:associative
:cpu0: AMD erratum 89 present, BIOS upgrade may be required
:cpu0: apic clock running at 199MHz
:ioapic0 at mainbus0 apid 1 pa 0xfec0, version 21, 24 pins
:ioapic0: misconfigured as apic 0, remapped to apid 1
:acpiprt0 at acpi0: bus 1 (C048)
:acpiprt1 at acpi0: bus 2 (C0AB)
:acpiprt2 at acpi0: bus 0 (C047)
:acpiec0 at acpi0: C111
:acpicpu at acpi0 not configured
:acpitz0 at acpi0, critical temperature: 94 degC
:acpitz1 at acpi0, critical temperature: 100 degC
:acpitz2 at acpi0, critical temperature: 100 degC
:acpibat0 at acpi0: C179: not present
:acpibat1 at acpi0: C178: not present
:acpiac0 at acpi0: AC unit online
:acpibtn0 at acpi0: C1F0
:acpibtn1 at acpi0: C1F1
:couldnt fetch acpicpu_softc
:cpu0: PowerNow! K8 1995 MHz: speeds: 2000 1800 1600 800 MHz
:pci0 at mainbus0 bus 0: configuration mode 1
:pchb0 at pci0 dev 0 function 0 ATI RS480 Host rev 0x01
:ppb0 at pci0 dev 1 function 0 ATI RS480 PCIE rev 0x00
:pci1 at ppb0 bus 1
:vga1 at pci1 dev 5 function 0 ATI Radeon XPRESS 200M rev 0x00
:wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
:wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
:ppb1 at pci0 dev 4 function 0 ATI RS480 PCIE rev 0x00
:pci2 at ppb1 bus 16
:ppb2 at pci0 dev 5 function 0 ATI RS480 PCIE rev 0x00
:pci3 at ppb2 bus 32
:ohci0 at pci0 dev 19 function 0 ATI IXP400 USB rev 0x00: apic 1 int 
:19 (irq 10), version 1.0, legacy support
:ohci1 at pci0 dev 19 function 1 ATI IXP400 USB rev 0x00: apic 1 int 
:19 (irq 10), version 1.0, legacy support
:ehci0 at pci0 dev 19 function 2 ATI IXP400 USB2 rev 0x00: apic 1 int 
:19 (irq 10)
:usb0 at ehci0: USB revision 2.0
:uhub0 at usb0
:uhub0: ATI EHCI root hub, rev 2.00/1.00, addr 1
:uhub0: 8 ports with 8 removable, self powered
:piixpm0 at pci0 dev 20 function 0 ATI IXP400 SMBus rev 0x11: SMI
:iic0 at piixpm0
:admtemp0 at iic0 addr 0x4c: adm1032
:pciide0 at pci0 dev 20 function 1 ATI IXP400 IDE rev 0x00: DMA, 
:channel 0 configured to compatibility, channel 1 configured to 
:compatibility
:wd0 at pciide0 channel 0 drive 0: FUJITSU MHV2060AH
:wd0: 16-sector PIO, LBA, 57231MB, 117210240 sectors
:wd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5
:atapiscsi0 at pciide0 channel 1 drive 0
:scsibus0 at atapiscsi0: 2 targets
:cd0 at scsibus0 targ 0 lun 0: MATSHITA, UJ-840D, 1.02 SCSI0 5/cdrom 
:removable
:cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
:pcib0 at pci0 dev 20 function 3 ATI IXP400 ISA rev 0x00
:ppb3 at pci0 dev 20 function 4 ATI IXP400 PCI rev 0x00
:pci4 at ppb3 bus 2
:bge0 at pci4 dev 1 function 0 Broadcom BCM5788 rev 0x03, BCM5705 A3 
:(0x3003): apic 1 int 23 (irq 10), address 00:0f:b0:f6:46:19
:brgphy0 at bge0 phy 1: BCM5705 10/100/1000baseT PHY, rev. 2
:Broadcom BCM4319 rev 0x02 at pci4 dev 2 function 0 not configured
:cbb0 at pci4 dev 4 function 0 TI PCI7XX1 CardBus rev 0x00: apic 1 int 
:20 (irq 11)
:TI PCI7XX1 FireWire rev 0x00 at pci4 dev 4 function 2 not configured
:TI PCI7XX1 Flash rev 0x00 at pci4 dev 4 function 3 not configured
:sdhc0 at pci4 dev 4 function 4 TI PCI7XX1 Secure Data rev 0x00: apic 
:1 int 21 (irq 9)
:sdmmc0 at sdhc0
:sdmmc1 at sdhc0
:sdmmc2 at