Subject: Ralink (cardbus) problem
To: NetBSD-current Discussion List <current-users@netbsd.org>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: current-users
Date: 10/11/2005 14:59:58
Hi,

I managed at last to swap my Prism54 based SMC card for a Belkin
RA2560 cardbus wireless. The card is supposed to be supported - even
the ral man page lists it (well, very close). Added 'ral* on cardbus*'
to my kernel definition, rebuilt it and rebooted. The card is
recognized correctly -

---
al0 at cardbus0 function 0: irq 10
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525, address 00:11:50:4a:40:d4
ral0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ral0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps
---

ifconfig ral0 gives status: no network:

ral0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
=09ssid 3com nwkey 0xc0ffeec0ffeec0ffeec0ffeec0
=09powersave off
=09address: 00:11:50:4a:40:d4
=09media: IEEE802.11 autoselect mode 11g (DS1 mode 11g)
=09status: no network
=09inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
=09inet6 fe80::211:50ff:fe4a:40d4%ral0 prefixlen 64 scopeid 0x3

wiconfig ral0 :

NIC serial number:=09=09=09[  ]
Station name:=09=09=09=09[ maggie ]
SSID for IBSS creation:=09=09=09[ 3com ]
Current netname (SSID):=09=09=09[  ]
Desired netname (SSID):=09=09=09[ 3com ]
Current BSSID:=09=09=09=09[ 00:00:00:00:00:00 ]
Channel list:=09=09=09=09[ 2 3 4 5 6 7 8 9 10 11 12 13 14 ]
IBSS channel:=09=09=09=09[ 11 ]
Current channel:=09=09=09[ 11 ]
Comms quality/signal/noise:=09=09[ 0 0 0 ]
Promiscuous mode:=09=09=09[ Off ]
Port type:=09=09=09=09[ 1 ]
MAC address:=09=09=09=09[ 00:11:50:4a:40:d4 ]
TX rate (selection):=09=09=09[ 0 ]
TX rate (actual speed):=09=09=09[ 1 ]
Beacon Interval (current) [msec]:=09[ 100 ]
Maximum data length:=09=09=09[ 2346 ]
RTS/CTS handshake threshold:=09=09[ 2312 ]
fragmentation threshold:=09=09[ 2346 ]
RSSI -> dBm adjustment:=09=09=09[ ]
Create IBSS:=09=09=09=09[ Off ]
Microwave oven robustness:=09=09[ 0 ]
Roaming mode(1:firm,3:disable):=09=09[ 1 ]
Access point density:=09=09=09[ 1 ]
Power Mgmt (1=3Don, 0=3Doff):=09=09[ 0 ]
Max sleep time (msec):=09=09=09[ 100 ]
Vendor info:=09=09=09=09
WEP encryption:=09=09=09=09[ On ]
Authentication type
(1=3DOpenSys, 2=3DShared Key):=09=09[ 1 ]
TX encryption key:=09=09=09[ 1 ]
Encryption keys:=09=09=09[ 0xc0ffeec0ffeec0ffeec0ffeec0 ][  ][  ][  ]

The lights on the card never come up.

If I 'ifconfig ral0 down' and then take out the card, nothing happens
to begin with, the system seems to be working (the message that ral
has been disconnected is seen), but then second attach panics the
system, as well as normal poweroff. I can't point the exact place for
the panic (the system is in use right now to repeat it), but it is in
the ral.c module.

Any ideas?