> Does your A21p's bottom slot start to work after the
> top slot has been used at least once?
> 
> That is: plug into top slot, check that ath1 is
> detected,
> unplumb wlan nic and modunlod wlan driver module,
> move wlan cardbus card from top to bottom slot?

No, that doesn't work.

Do a reconfiguration reboot with the card in the top slot.
prtconf -D shows:

        pci1014,130, instance #0 (driver name: pcic)
            pcs, instance #0 (driver name: pcs)
            ethernet, instance #1 (driver name: ath)
        pci1014,130, instance #1 (driver name: pcic)
            pcs, instance #1 (driver name: pcs)
        pci8086,2408, instance #0 (driver name: iprb)

I ran inetmenu to configure the iprb0 interface so I could
type this:

[a21p:/]# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
index 1
        inet 127.0.0.1 netmask ff000000 
iprb0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 4
        inet 192.168.1.101 netmask ffffff00 broadcast 192.168.1.255
        ether 0:10:a4:92:ad:dc 

Configure ath1:

[a21p:/]# ifconfig ath1 plumb
[a21p:/]# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
index 1
        inet 127.0.0.1 netmask ff000000 
iprb0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 4
        inet 192.168.1.101 netmask ffffff00 broadcast 192.168.1.255
        ether 0:10:a4:92:ad:dc 
ath1: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
        inet 0.0.0.0 netmask 0 
        ether 0:20:e0:37:28:49 

Try to connect with an already defined profile:

[a21p:/]# wificonfig -i ath1 connect tobeornottobe
wificonfig: connecting to tobeornottobe failed, try later

The radio lights are blinking (3 quick blinks on one, then the other,
repeated ...)

[a21p:/]# wificonfig -i ath1 showstatus
        linkstatus: not connected

Well, that didn't work too well so try to switch slots:

[a21p:/]# ifconfig ath1 unplumb
[a21p:/]# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
index 1
        inet 127.0.0.1 netmask ff000000 
iprb0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 4
        inet 192.168.1.101 netmask ffffff00 broadcast 192.168.1.255
        ether 0:10:a4:92:ad:dc 
[a21p:/]# modinfo | grep ath
 92 f9cdb000  28920 194   1  ath (ath driver 1.1)
[a21p:/]# modunload -i 92
[a21p:/]# modinfo | grep ath
[a21p:/]# 

However, the lights are still blinking so sync the
filesystem before a hot unplug ...

After putting in the bottom slot (no lights on yet)
prtconf -D shows:

        pci1014,130, instance #0 (driver name: pcic)
            pcs, instance #0 (driver name: pcs)
            ethernet, instance #1 (driver name: ath)
        pci1014,130, instance #1 (driver name: pcic)
            pcs, instance #1 (driver name: pcs)

Well, the output of prtconf didn't change :-(

Run devfsadm and prtconf still doesn't change so
try ifconfig:

[a21p:/]# ifconfig ath0 plumb
ifconfig: plumb: ath0: no such interface
[a21p:/]# ifconfig ath1 plumb
ifconfig: plumb: ath1: no such interface
[a21p:/]# modinfo | grep ath
 92 f9e70000  28920 194   1  ath (ath driver 1.1)

So I don't have a clue (I'm really a user not a
sys admin and I do user level programming as
would be done by a scientist or optical engineer).

Maybe this old A21p is too old but it did work
with older Solaris versions and the Lynnsoft
Cardbus drivers for the devices they supported.
That all broke with the new ddi stuff (patches
to 10 and recent Express) so I was hoping that
the Sun cardbus stuff would work with it.  The
prtpci utility with current pci.ids file shows:

0/0x2/0 104c,ac1b 3  rev 0x0
Texas Instruments 
class 6/7/0: Bridge/CardBus bridge
BAR[0]: 32-bit memory 0x50000000 0x1000

0/0x2/1 104c,ac1b 3  rev 0x0
Texas Instruments 
class 6/7/0: Bridge/CardBus bridge
BAR[0]: 32-bit memory 0x50100000 0x1000

The scanpci utility shows:

pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x104c device 0xac1b
 Texas Instruments PCI1450

pci bus 0x0000 cardnum 0x02 function 0x01: vendor 0x104c device 0xac1b
 Texas Instruments PCI1450

So I did a modunload and moved the card back to the top slot.
It will not configure again so it appears that hot plug doesn't
work with the current driver and this (older) hardware :-(

Note that I'm using a newer cardbus driver than available
in the cardbus drivers from opensolaris - I was sent it to test
with my T43p.  On that machine (one Cardbus slot only as the
second slot is an ExpressCard slot), the new cardbus driver
allows the wireless card to work whereas the original driver
does not.

Stuart
This message posted from opensolaris.org

Reply via email to