[IOXperts Wireless-Discuss] Problem eject/reinserting

Mohammad A. Haque mhaque at haque.net
Thu Nov 6 16:14:25 GMT 2003


On Nov 06, 2003, at 15:18 , IOXperts Support wrote:

> Sure! For released versions, we'd prefer to get bug reports at
> support at ioxperts.com, but beta feedback and suggestions are
> what this list is for.

Great! I'll send it to both places since I've actually seen this  
problem on both release and beta drivers.

>> I'm having a problem on a DHCP network where if I eject my card and
>> reinsert it, the driver doesn't reattach to the card.
>
> Is this under MacOS 9 or MacOS X?  Under MacOS 9, we know what is
> causing this and are working on a fix for it.  It may not make it
> into 1.0.3, but if not we'll issue a new version as soon as the fix
> is implemented.
>
> If this is under MacOS X, we haven't heard reports of this.  Can you
> provide some more information?

Let me start off by saying that I actually discovered the problem while  
using the Macsense AeroCard Plus drivers which I believe is repackaged  
IOXperts drivers after poking around a bit. After fiding this, I  
downloaded IOXpert versions of the drivers and found the same problem.  
I've tried to communicate the problem to Macsense but that hasn't been  
going too well.

I've been tracking the issue since OS X 10.2.6 or so with a Macsense  
Aerocard Plus which is an Intersil card.

The problem is that the driver seems to have a problem reattaching to  
the card after it has been ejected and reinserted. The result are  
somewhat random however. Sometimes if I eject the card and reinsert it,  
the driver reattaches fine (with another problem .. read on for  
details). Other times it will fail to attach as shown in the kernel  
messages included below.

Interesting item to note is that when I eject the card, the interface  
doesn't go away (as seen by running /sbin/ifconfig). I think it's  
supposed to go away when the card is ejected, correct?

If the driver doesn't reattach to the card and continually  
eject/reinsert the card (in hopes of getting it to work of course  
<smile>), sometimes...just sometimes .. I get a kernel panic. I can get  
a kernel panic guaranteed if I attempt to reboot/shutdown after the  
reattach has failed. Kernel panic log is pasted after the system.log  
messages.

If the driver does happen reattach the card works fine but with some  
other problems. As noted above, the interface doesn't go away when the  
card is ejected. When this happens, the addresses the card was using  
doesn't seem to get released either. This is probably related to the  
DHCP release failure from configd in system.log. The issue is that the  
card now has two addresses. One from the first time it was inserted and  
requested an address and another from this time. The card is now  
listening on both IP addresses. But wait there's more! If I happen to  
eject the card, reinsert it, and get the driver to attach again ...  
yup, it now has three addresses.

Some of these issues might be related to OS X itself. I am an ADC  
member and can file a detailed bug. However, I would like to first  
determine if the problem is with the drivers or PCMCIA subsystem before  
doing so.

This looks like a lot of information. Let me know if anything is  
unclear or if more information is needed.

-- configuration info --
[mhaque at batmobile mhaque]$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.3
BuildVersion:   7B85

[mhaque at batmobile mhaque]$ system_profiler
Hardware:

     Hardware Overview:

       Machine Model: PowerBook G4
       CPU Type: PowerPC G4  (2.1)
       Number Of CPUs: 1
       CPU Speed: 800 MHz
       L2 Cache (per CPU): 256 KB
       L3 Cache (per CPU): 1 MB
       Memory: 1 GB
       Bus Speed: 133 MHz
       Boot ROM Version: 4.37f3

-- end configuration info --

-- begin system.log --
Nov  6 14:14:23 tibook kernel: IOPCCard info:   cs: memory probe  
0x90000000-0x9fffffff: clean.
Nov  6 14:14:23 tibook kernel: IOPCCard16Device: binding socket 0  
function 0 to card services.
Nov  6 14:14:23 tibook kernel: IOPCCard16Device::matchPropertyTable  
entered.
Nov  6 14:14:23 tibook kernel: IOPCCard16Device::matchPropertyTable  
didn't find a match.
Nov  6 14:14:23 tibook kernel: pccard156,2: stalling for module
Nov  6 14:14:23 tibook kernel: IOPCCard16Device::matchPropertyTable  
entered.
Nov  6 14:14:23 tibook kernel: IOPCCard16Device::matchPropertyTable  
didn't find a match.
Nov  6 14:14:23 tibook kernel: Matching service count = 1
Nov  6 14:14:56 tibook kernel: IOPCCard16Device::matchPropertyTable  
entered.
Nov  6 14:14:56 tibook kernel: IOPCCard16Device::matchPropertyTable  
didn't find a match.
Nov  6 14:14:56 tibook kernel: Matching service count = 1
Nov  6 14:14:56 tibook kernel: Matching service count = 1
Nov  6 14:14:56 tibook kernel: IOPCCard16Device::matchPropertyTable  
entered.
Nov  6 14:14:56 tibook kernel: IOPCCard16Device::matchPropertyTable  
didn't find a match.
Nov  6 14:14:56 tibook kernel: IOXperts 802.11b Driver: init
Nov  6 14:14:56 tibook kernel:  
com_ioxperts_802_11_driver::probe(pccard156,2)
Nov  6 14:14:56 tibook kernel:  
com_ioxperts_802_11_driver::start(pccard156,2) <1>
Nov  6 14:14:56 tibook kernel: IOXperts 802.11b Driver: starting
Nov  6 14:14:56 tibook kernel: IOXperts 802.11b Driver: 802.11 card  
found
Nov  6 14:14:56 tibook kernel: IOPCCard info:    
IOPCCard16Enabler::configure using index 0x01: Vcc 3.3, irq 255, io  
0x0000-0x003f
Nov  6 14:14:56 tibook kernel: IOXperts 802.11b Driver: Intersil Card  
firmware version 1.4.9
Nov  6 14:14:56 tibook kernel: IOXperts 802.11b Driver: Long 802.11  
Preamble
Nov  6 14:14:56 tibook kernel: IOXperts 802.11b Driver: get hardware  
address
Nov  6 14:14:56 tibook kernel: IOXperts 802.11b Driver: loading  
preferences
Nov  6 14:14:56 tibook kernel: com_ioxperts_802_11_driver: Ethernet  
address 00:03:b0:00:e7:b9
Nov  6 14:14:57 tibook kernel: IOXperts 802.11b Driver: Intersil Card  
firmware version 1.4.9
Nov  6 14:14:57 tibook kernel: IOXperts 802.11b Driver: Long 802.11  
Preamble
Nov  6 14:14:57 tibook kernel: IOXperts 802.11b Driver: Attempting to  
join network with strongest signal in range
Nov  6 14:15:11 tibook kernel: IOXperts 802.11b Driver: Link failed to  
associate with access point.
Nov  6 14:15:15 tibook kernel: IOXperts 802.11b Driver: Link failed to  
associate with access point.
Nov  6 14:15:18 tibook kernel: IOXperts 802.11b Driver: Link connected.
Nov  6 14:15:18 tibook kernel: IOXperts 802.11b Driver: Scanning (new)  
for available access points...
Nov  6 14:15:19 tibook kernel: IOXperts 802.11b Driver: Network Scan  
complete
Nov  6 14:15:20 tibook kernel: IOXperts 802.11b Driver: Link out of  
range.
Nov  6 14:15:39 tibook kernel: IOXperts 802.11b Driver: Intersil Card  
firmware version 1.4.9
Nov  6 14:15:39 tibook kernel: IOXperts 802.11b Driver: Long 802.11  
Preamble
Nov  6 14:15:39 tibook kernel: IOXperts 802.11b Driver: Attempting to  
join network "XXX"
Nov  6 14:15:39 tibook kernel: IOXperts 802.11b Driver: Link connected.
Nov  6 14:15:42 tibook configd[115]: posting notification  
com.apple.system.config.network_change
Nov  6 14:15:42 tibook configd[115]: executing  
/System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/ 
set-hostname
Nov  6 14:15:42 tibook mach_init[2]: Server 0 in bootstrap d03 uid 0:  
"/usr/sbin/lookupd": exited as a result of signal 1 [pid 6835]
Nov  6 14:15:44 tibook lookupd[8614]: lookupd (version 324) starting -  
Thu Nov  6 14:15:44 2003
Nov  6 14:15:45 tibook set-hostname[8628]: setting hostname to  
batmobile.local
Nov  6 14:15:57 tibook kernel: IOXperts 802.11b Driver: Intersil Card  
firmware version 1.4.9
Nov  6 14:15:57 tibook kernel: IOXperts 802.11b Driver: Long 802.11  
Preamble
Nov  6 14:15:57 tibook kernel: IOXperts 802.11b Driver: Attempting to  
join network "TBG"
Nov  6 14:15:58 tibook kernel: IOXperts 802.11b Driver: Link connected.
Nov  6 14:16:00 tibook kernel: IOXperts 802.11b Driver: Scanning (new)  
for available access points...
Nov  6 14:16:00 tibook kernel: IOXperts 802.11b Driver: Network Scan  
complete
Nov  6 14:16:12 tibook kernel: IOXperts 802.11b Driver: Intersil Card  
firmware version 1.4.9
Nov  6 14:16:12 tibook kernel: IOXperts 802.11b Driver: Long 802.11  
Preamble
Nov  6 14:16:12 tibook kernel: IOXperts 802.11b Driver: Attempting to  
join network "TBG"
Nov  6 14:16:12 tibook kernel: IOXperts 802.11b Driver: Link connected.
Nov  6 14:16:19 tibook kernel: PRISMMemoryMappedDevice::UseBAP: offset  
busy retries exceeded (1)
Nov  6 14:16:19 tibook kernel: PRISMDevice::InfoFrameHandler: UseBAP  
failed!
Nov  6 14:16:19 tibook kernel: PRISMMDevice::DTIMHandler()
Nov  6 14:16:19 tibook kernel: PRISMDevice::WriteErrorHandler()
Nov  6 14:16:19 tibook kernel: PRISMDevice::TxExceptionHandler()
Nov  6 14:16:19 tibook kernel: PRISMDevice::TxCompleteHandler()
Nov  6 14:16:19 tibook kernel: PRISMMemoryMappedDevice::UseBAP: offset  
busy retries exceeded (1)
Nov  6 14:16:19 tibook kernel: PRISMDevice::RxHandler: UseBAP failed!
Nov  6 14:16:19 tibook kernel: IOXperts 802.11b Driver: Unknown FID in  
AllocHandler!
Nov  6 14:16:19 tibook kernel: IOXperts 802.11b Driver: card ejected
Nov  6 14:16:19 tibook configd[115]: DHCP en1: RELEASE transmit failed
Nov  6 14:16:20 tibook kernel: IOPCCard: shutting down socket 0.
Nov  6 14:16:20 tibook kernel: IOPCCard: calling terminate on socket 0  
function 0 nub 0x390bb00.
Nov  6 14:16:20 tibook kernel: IOXperts 802.11b Driver: stopping
Nov  6 14:16:20 tibook kernel: IOPCCard16Device: releasing socket 0  
function 0 from card services.
Nov  6 14:16:20 tibook kernel: IOXperts 802.11b Driver: free
Nov  6 14:16:20 tibook configd[115]: posting notification  
com.apple.system.config.network_change
Nov  6 14:16:20 tibook mach_init[2]: Server 0 in bootstrap d03 uid 0:  
"/usr/sbin/lookupd": exited as a result of signal 1 [pid 8614]
Nov  6 14:16:20 tibook lookupd[8638]: lookupd (version 324) starting -  
Thu Nov  6 14:16:20 2003
Nov  6 14:16:20 tibook configd[115]: executing  
/System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/ 
set-hostname
Nov  6 14:16:20 tibook set-hostname[8652]: setting hostname to  
batmobile.local
Nov  6 14:16:35 tibook kernel: hotfiles_evict: err  1celocating file
Nov  6 14:16:48 tibook kernel: IOPCCard16Device: binding socket 0  
function 0 to card services.
Nov  6 14:16:48 tibook kernel: IOPCCard16Device::matchPropertyTable  
entered.
Nov  6 14:16:48 tibook kernel: IOPCCard16Device::matchPropertyTable  
didn't find a match.
Nov  6 14:16:48 tibook kernel: IOXperts 802.11b Driver: init
Nov  6 14:16:48 tibook kernel:  
com_ioxperts_802_11_driver::probe(pccard156,2)
Nov  6 14:16:48 tibook kernel:  
com_ioxperts_802_11_driver::start(pccard156,2) <1>
Nov  6 14:16:48 tibook kernel: IOXperts 802.11b Driver: starting
Nov  6 14:16:48 tibook kernel: IOXperts 802.11b Driver: 802.11 card  
found
Nov  6 14:16:48 tibook kernel: IOPCCard info:    
IOPCCard16Enabler::configure using index 0x01: Vcc 3.3, irq 255, io  
0x0000-0x003f
Nov  6 14:16:48 tibook kernel: IOXperts 802.11b Driver: Intersil Card  
firmware version 1.4.9
Nov  6 14:16:48 tibook kernel: IOXperts 802.11b Driver: Long 802.11  
Preamble
Nov  6 14:16:48 tibook kernel: IOXperts 802.11b Driver: get hardware  
address
Nov  6 14:16:49 tibook kernel: IOXperts 802.11b Driver: attachInterface  
Failed
Nov  6 14:16:49 tibook kernel:  
com_ioxperts_802_11_driver::start(pccard156,2) <3> failed
-- end system.log --

-- begin panic.log --
*********

Thu Nov  6 15:21:14 2003


panic(cpu 0): thread_funnel_set: already holding a different funnel
Latest stack backtrace for cpu 0:
       Backtrace:
          0x000833B8 0x0008389C 0x0001ED8C 0x00032B34 0x000F31E8  
0x257A4BB8 0x00286848 0x002866B4
          0x0028D8F0 0x00287CCC 0x00079214 0x00079284 0x00021660  
0x00013A28 0x000219F0 0x00041104
          0x000163B4 0x000187A0 0x00019FE0 0x0002FDE0 0x00208260  
0x002080E8 0x0023DAA4 0x00093C00
          0x00370032
       Kernel loadable modules in backtrace (with dependencies):
          com.apple.iokit.IONetworkingFamily(1.3.1)@0x257a2000
Proceeding back via exception chain:
    Exception state (sv=0x25EC2500)
       PC=0x90034F4C; MSR=0x0000D030; DAR=0x00100420; DSISR=0x0A000000;  
LR=0x9002C8EC; R1=0xBFFFE4A0; XCP=0x00000030 (0xC00 - System call)

Kernel version:
Darwin Kernel Version 7.0.0:
Wed Sep 24 15:48:39 PDT 2003; root:xnu/xnu-517.obj~1/RELEASE_PPC


*********
-- end panic.log
--

=====================================================================
Mohammad A. Haque                              http://www.haque.net/
                                                mhaque at haque.net

   "Alcohol and calculus don't mix.
    Don't drink and derive." --Unknown

=====================================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2361 bytes
Desc: not available
Url : http://mailman.ioxperts.com/pipermail/wireless-beta-discuss/attachments/20031106/ed1adabd/smime-0001.bin


More information about the Wireless-Beta-Discuss mailing list