Re: wl54ag wifi card errors with "cardbus support disabled"

2009-12-09 Thread Corey J. Bukolt
Robert wrote:
> On Wed, 09 Dec 2009 20:18:35 -0600
> "Corey J. Bukolt" <0...@mail.ru> wrote:
>  
>   
>> It's all good.
>> Any other last minute ideas before I give -current a shot?
>> 
>
> Can't think of anything right now, looks to be your hardware.
> Worst case you will have to use another wireless card, because your pcb
> the chip is soldered to does something funny.
> You wont regret to run snapshots/-current, it's much more fun than
> -stable. :)
>
> - Robert
>
> .
>
>   
Yup, it should definitely be more fun. :)
Thanks for all the help.

~Corey



Re: wl54ag wifi card errors with "cardbus support disabled"

2009-12-09 Thread Robert
On Wed, 09 Dec 2009 20:18:35 -0600
"Corey J. Bukolt" <0...@mail.ru> wrote:
 
> It's all good.
> Any other last minute ideas before I give -current a shot?

Can't think of anything right now, looks to be your hardware.
Worst case you will have to use another wireless card, because your pcb
the chip is soldered to does something funny.
You wont regret to run snapshots/-current, it's much more fun than
-stable. :)

- Robert



Re: wl54ag wifi card errors with "cardbus support disabled"

2009-12-09 Thread Corey J. Bukolt
Robert wrote:
> On Wed, 09 Dec 2009 19:55:44 -0600
> "Corey J. Bukolt" <0...@mail.ru> wrote:
>
>   
>> Robert wrote:
>> 
>>> On Wed, 09 Dec 2009 18:38:20 -0600
>>> "Corey J. Bukolt" <0...@mail.ru> wrote:
>>>
>>>   
>>>   
 cbb0 at pci0 dev 8 function 0 "O2 Micro OZ69[17]2 CardBus" rev
 0x00: apic 2 int 17 (irq 255), CardBus support disabled
 
 
>>> That's a boot with the card inserted?
>>> I guess not by the message at the end of the dmesg.
>>>
>>> You could try to disable acpi and run with apm.
>>> (Normally it is the other way around, so don't get your hopes up.)
>>>
>>> # sudo config -ef /bsd
>>> disable acpi
>>> enable apm
>>> quit
>>> # sudo reboot
>>>
>>> - Robert
>>>
>>> .
>>>
>>>   
>>>   
>> Okay, I gave that a try, only now my system hangs during boot, as soon
>> as it starts to detect the pcmcia slot.
>> This happens even if I boot without the card.
>> Here are the last few lines of output:
>>
>> pcmcia0 at cardslot0
>> uvm_fault(0xd088cfc0, 0x9097c000, 0, 1) -> e
>> kernel: page fault trap, code=0
>> stopped at Xintr_IOapic2+0x35: Mov( apic_maxlevel(,%eax, 4), %ebx
>> ddb>
>>
>> and it gets stranger.
>> If I press a key, the following repeats over a few times, and then the
>> system locks up entirely.
>>
>> ddb> PANIC: mtx_enter: locking against myself
>> Stopping a t wwwGcJ=0x4: leave
>> RUN AT LEAST TRACE AND PS AND INCLUDE OUTPUT WHEN REPORTING THIS
>> PANIC! DO NOT EVE BOTHER REPORTING THIS WITHOUT INCLUDING THAT
>> INFORMATION.
>>
>> Is there a way I can reenable acpi from the bootloader?
>> I stupidly neglected to backup my kernel, thinking something like this
>> wouldn't happen.
>> 
>
> Ok, my bad.
>
> At the boot prompt:
>
> boot -c bsd
> disable apm
> enable acpi
> quit
>
> Sorry.
>
> - Robert
>
>
>   
It's all good.
Any other last minute ideas before I give -current a shot?



Re: wl54ag wifi card errors with "cardbus support disabled"

2009-12-09 Thread Robert
On Wed, 09 Dec 2009 19:55:44 -0600
"Corey J. Bukolt" <0...@mail.ru> wrote:

> Robert wrote:
> > On Wed, 09 Dec 2009 18:38:20 -0600
> > "Corey J. Bukolt" <0...@mail.ru> wrote:
> >
> >   
> >> cbb0 at pci0 dev 8 function 0 "O2 Micro OZ69[17]2 CardBus" rev
> >> 0x00: apic 2 int 17 (irq 255), CardBus support disabled
> >> 
> >
> > That's a boot with the card inserted?
> > I guess not by the message at the end of the dmesg.
> >
> > You could try to disable acpi and run with apm.
> > (Normally it is the other way around, so don't get your hopes up.)
> >
> > # sudo config -ef /bsd
> > disable acpi
> > enable apm
> > quit
> > # sudo reboot
> >
> > - Robert
> >
> > .
> >
> >   
> Okay, I gave that a try, only now my system hangs during boot, as soon
> as it starts to detect the pcmcia slot.
> This happens even if I boot without the card.
> Here are the last few lines of output:
> 
> pcmcia0 at cardslot0
> uvm_fault(0xd088cfc0, 0x9097c000, 0, 1) -> e
> kernel: page fault trap, code=0
> stopped at Xintr_IOapic2+0x35: Mov( apic_maxlevel(,%eax, 4), %ebx
> ddb>
> 
> and it gets stranger.
> If I press a key, the following repeats over a few times, and then the
> system locks up entirely.
> 
> ddb> PANIC: mtx_enter: locking against myself
> Stopping a t wwwGcJ=0x4: leave
> RUN AT LEAST TRACE AND PS AND INCLUDE OUTPUT WHEN REPORTING THIS
> PANIC! DO NOT EVE BOTHER REPORTING THIS WITHOUT INCLUDING THAT
> INFORMATION.
> 
> Is there a way I can reenable acpi from the bootloader?
> I stupidly neglected to backup my kernel, thinking something like this
> wouldn't happen.

Ok, my bad.

At the boot prompt:

boot -c bsd
disable apm
enable acpi
quit

Sorry.

- Robert



Re: wl54ag wifi card errors with "cardbus support disabled"

2009-12-09 Thread Corey J. Bukolt
Corey J. Bukolt wrote:
> Robert wrote:
>   
>> On Wed, 09 Dec 2009 18:38:20 -0600
>> "Corey J. Bukolt" <0...@mail.ru> wrote:
>>
>>   
>> 
>>> cbb0 at pci0 dev 8 function 0 "O2 Micro OZ69[17]2 CardBus" rev 0x00:
>>> apic 2 int 17 (irq 255), CardBus support disabled
>>> 
>>>   
>> That's a boot with the card inserted?
>> I guess not by the message at the end of the dmesg.
>>
>> You could try to disable acpi and run with apm.
>> (Normally it is the other way around, so don't get your hopes up.)
>>
>> # sudo config -ef /bsd
>> disable acpi
>> enable apm
>> quit
>> # sudo reboot
>>
>> - Robert
>>
>> .
>>
>>   
>> 
> Okay, I gave that a try, only now my system hangs during boot, as soon
> as it starts to detect the pcmcia slot.
> This happens even if I boot without the card.
> Here are the last few lines of output:
>
> pcmcia0 at cardslot0
> uvm_fault(0xd088cfc0, 0x9097c000, 0, 1) -> e
> kernel: page fault trap, code=0
> stopped at Xintr_IOapic2+0x35: Mov( apic_maxlevel(,%eax, 4), %ebx
> ddb>
>
> and it gets stranger.
> If I press a key, the following repeats over a few times, and then the
> system locks up entirely.
>
> ddb> PANIC: mtx_enter: locking against myself
> Stopping a t wwwGcJ=0x4: leave
> RUN AT LEAST TRACE AND PS AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
> DO NOT EVE BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION.
>
> Is there a way I can reenable acpi from the bootloader?
> I stupidly neglected to backup my kernel, thinking something like this
> wouldn't happen.
>
>
>   
Okay, got the system back to booting after I RTFM'd boot(8)and
boot_config(8).
Sorry, for asking questions before checking the man pages, bad linux
user habit.



Re: wl54ag wifi card errors with "cardbus support disabled"

2009-12-09 Thread Corey J. Bukolt
Robert wrote:
> On Wed, 09 Dec 2009 18:38:20 -0600
> "Corey J. Bukolt" <0...@mail.ru> wrote:
>
>   
>> cbb0 at pci0 dev 8 function 0 "O2 Micro OZ69[17]2 CardBus" rev 0x00:
>> apic 2 int 17 (irq 255), CardBus support disabled
>> 
>
> That's a boot with the card inserted?
> I guess not by the message at the end of the dmesg.
>
> You could try to disable acpi and run with apm.
> (Normally it is the other way around, so don't get your hopes up.)
>
> # sudo config -ef /bsd
> disable acpi
> enable apm
> quit
> # sudo reboot
>
> - Robert
>
> .
>
>   
Okay, I gave that a try, only now my system hangs during boot, as soon
as it starts to detect the pcmcia slot.
This happens even if I boot without the card.
Here are the last few lines of output:

pcmcia0 at cardslot0
uvm_fault(0xd088cfc0, 0x9097c000, 0, 1) -> e
kernel: page fault trap, code=0
stopped at Xintr_IOapic2+0x35: Mov( apic_maxlevel(,%eax, 4), %ebx
ddb>

and it gets stranger.
If I press a key, the following repeats over a few times, and then the
system locks up entirely.

ddb> PANIC: mtx_enter: locking against myself
Stopping a t wwwGcJ=0x4: leave
RUN AT LEAST TRACE AND PS AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVE BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION.

Is there a way I can reenable acpi from the bootloader?
I stupidly neglected to backup my kernel, thinking something like this
wouldn't happen.



Re: wl54ag wifi card errors with "cardbus support disabled"

2009-12-09 Thread Robert
On Wed, 09 Dec 2009 18:38:20 -0600
"Corey J. Bukolt" <0...@mail.ru> wrote:

> cbb0 at pci0 dev 8 function 0 "O2 Micro OZ69[17]2 CardBus" rev 0x00:
> apic 2 int 17 (irq 255), CardBus support disabled

That's a boot with the card inserted?
I guess not by the message at the end of the dmesg.

You could try to disable acpi and run with apm.
(Normally it is the other way around, so don't get your hopes up.)

# sudo config -ef /bsd
disable acpi
enable apm
quit
# sudo reboot

- Robert



Re: wl54ag wifi card errors with "cardbus support disabled"

2009-12-09 Thread Corey J. Bukolt
Daniel Melameth wrote:
> On Wed, Dec 9, 2009 at 5:05 PM, Corey J. Bukolt <0...@mail.ru> wrote:
>   
>> I have OpenBSD 4.6 GENERIC on my Acer laptop and can't seem to get my
>> NEC Aterm wl54ag pcmcia wfi card to work.  The chipset is AR5212, which
>> _should_ be supported by the ath driver.
>> However, when I insert the card it isn't detected and dmesg spits out
>> "cardslot0: cardbus support disabled".
>> If I stick in a prism based card the wi driver picks it up without issue
>> so the slot is good, and I tested the NEC card under linux, so its also
>> good.
>>
>> I'm no OpenBSD expert, but perhaps the ath driver doesn't know it
>> supports this card?
>> 
>
> Try enabling CardBus in your BIOS...
>
> .
>
>   
It's an AMIBIOS from 2000, and its pretty rudimentary.
I couldn't find anything related to CardBus.



Re: wl54ag wifi card errors with "cardbus support disabled"

2009-12-09 Thread Corey J. Bukolt
Robert wrote:
> On Wed, 09 Dec 2009 18:05:46 -0600
> "Corey J. Bukolt" <0...@mail.ru> wrote:
>
>   
>> Any ideas guys?
>> 
>
> a full dmesg with the insert event of the card in question sent to the
> list might help.
>
> - Robert
>
> .
>   


OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID
real mem  = 536375296 (511MB)
avail mem = 509837312 (486MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/25/03, BIOS32 rev. 0 @ 0xfdae0,
SMBIOS rev. 2.3 @ 0xf0670 (24 entries)
bios0: vendor American Megatrends Inc. version "07.00T" date 04/02/01
bios0: 56548 N351s1
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC
acpi0: wakeup devices PS2M(S4) PS2K(S4) EC0_(S4) LID_(S4) USB1(S3)
USB2(S3) USB3(S4) USB4(S4) S139(S4) LAN_(S4) MDM_(S4) AUD_(S4) PCI0(S4)
SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 132MHz
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiec0 at acpi0
acpicpu0 at acpi0
acpipwrres0 at acpi0: FDDP
acpipwrres1 at acpi0: LPTP
acpipwrres2 at acpi0: URP2
acpitz0 at acpi0: critical temperature 85 degC
acpibtn0 at acpi0: LID_
acpibat0 at acpi0: BAT0 model "351s1" serial 001 type LiOn oem "OEM"
acpiac0 at acpi0: AC unit online
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: CRT_
acpivout1 at acpivideo0: LCD_
bios0: ROM list: 0xc/0xfc00
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "SiS 646 PCI" rev 0x01
sisagp0 at pchb0
agp0 at sisagp0: aperture at 0xdc00, size 0x400
ppb0 at pci0 dev 1 function 0 "SiS 86C201 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce4 440 Go 64M" rev 0xa3
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 "SiS 85C503 System" rev 0x14
"SiS 7007 FireWire" rev 0x00 at pci0 dev 2 function 3 not configured
pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0x00: 645DX: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  ATAPI
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
"SiS 7013 Modem" rev 0xa0 at pci0 dev 2 function 6 not configured
auich0 at pci0 dev 2 function 7 "SiS 7012 AC97" rev 0xa0: apic 2 int 18
(irq 10), SiS7012 AC97
ac97: codec id 0x414c4710 (Avance Logic ALC200)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, Realtek 3D
audio0 at auich0
ohci0 at pci0 dev 3 function 0 "SiS 5597/5598 USB" rev 0x0f: apic 2 int
20 (irq 10), version 1.0, legacy support
ohci1 at pci0 dev 3 function 1 "SiS 5597/5598 USB" rev 0x0f: apic 2 int
21 (irq 5), version 1.0, legacy support
ohci2 at pci0 dev 3 function 2 "SiS 5597/5598 USB" rev 0x0f: apic 2 int
22 (irq 11), version 1.0, legacy support
ehci0 at pci0 dev 3 function 3 "SiS 7002 USB" rev 0x00: apic 2 int 23
(irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "SiS EHCI root hub" rev 2.00/1.00 addr 1
sis0 at pci0 dev 4 function 0 "SiS 900 10/100BaseTX" rev 0x91: apic 2
int 19 (irq 5), address 00:a0:cc:dc:75:80
rlphy0 at sis0 phy 1: RTL8201L 10/100 PHY, rev. 1
cbb0 at pci0 dev 8 function 0 "O2 Micro OZ69[17]2 CardBus" rev 0x00:
apic 2 int 17 (irq 255), CardBus support disabled
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "SiS OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 "SiS OHCI root hub" rev 1.00/1.00 addr 1
usb3 at ohci2: USB revision 1.0
uhub3 at usb3 "SiS OHCI root hub" rev 1.00/1.00 addr 1
cardslot0 at cbb0 slot 0 flags 0
pcmcia0 at cardslot0
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
auich0: measured ac97 link rate at 48004 Hz, will use 48000 Hz
cardslot0: CardBus support disabled



Re: wl54ag wifi card errors with "cardbus support disabled"

2009-12-09 Thread Robert
On Wed, 09 Dec 2009 18:05:46 -0600
"Corey J. Bukolt" <0...@mail.ru> wrote:

> Any ideas guys?

a full dmesg with the insert event of the card in question sent to the
list might help.

- Robert



Re: wl54ag wifi card errors with "cardbus support disabled"

2009-12-09 Thread Corey J. Bukolt
Theo de Raadt wrote:
> cardbus != pcmcia.  pcmcia is a 16-bit ISA window visible through
> the cardbus interface out onto the card.  Sometimes one works, but
> the other doesn't.
>
> it might work better in -current, since bugs continue to be fixed..
>
> but no promises...
>
> .
>

Ahhh, okay.
Since the laptop is useless without wifi, might as well give -current a
shot.

Thanks.



Re: wl54ag wifi card errors with "cardbus support disabled"

2009-12-09 Thread Daniel Melameth
On Wed, Dec 9, 2009 at 5:05 PM, Corey J. Bukolt <0...@mail.ru> wrote:
> I have OpenBSD 4.6 GENERIC on my Acer laptop and can't seem to get my
> NEC Aterm wl54ag pcmcia wfi card to work.  The chipset is AR5212, which
> _should_ be supported by the ath driver.
> However, when I insert the card it isn't detected and dmesg spits out
> "cardslot0: cardbus support disabled".
> If I stick in a prism based card the wi driver picks it up without issue
> so the slot is good, and I tested the NEC card under linux, so its also
> good.
>
> I'm no OpenBSD expert, but perhaps the ath driver doesn't know it
> supports this card?

Try enabling CardBus in your BIOS...



wl54ag wifi card errors with "cardbus support disabled"

2009-12-09 Thread Corey J. Bukolt
Hi list.

I have OpenBSD 4.6 GENERIC on my Acer laptop and can't seem to get my
NEC Aterm wl54ag pcmcia wfi card to work.  The chipset is AR5212, which
_should_ be supported by the ath driver.
However, when I insert the card it isn't detected and dmesg spits out
"cardslot0: cardbus support disabled".
If I stick in a prism based card the wi driver picks it up without issue
so the slot is good, and I tested the NEC card under linux, so its also
good.

I'm no OpenBSD expert, but perhaps the ath driver doesn't know it
supports this card?

Any ideas guys?