Next-in-Thread Next Message

News The problem is in Cardmgr!

Re: Question Windows-2-Linux communication problems (Andrew Fernandes)
Date: 2000, Aug 28
From: Andrew Fernandes <andrew@fernandes.org>

Bhaha!

After an intense weekend of debugging, I've discovered that the Lucent driver actually (sort-of) DOES work!

The scenario: all cards and OSes have the 21-July release of Lucent's drivers and firmware. The wvlan_cs driver loads up, starts the net device, but can't talk to windows boxes. The wavelan2_cs driver won't even load up.

It turns out that the reason the wavelan2_cs driver doesn't load is because cardmgr dies BEFORE it can send the device a DS_BIND_DEVICE ioctl! Stepping through cardmgr with a debugger, it shows all the signs of classic memory corruption. Harmless calls like "syslog" lock up forever, and previously valid instructions cause "illegal instruction" and "segmentation fault" errors.

So... when using the wavelan2_cs driver: if I jump over all the "syslog" calls, which should theoretically not make any difference, the net device is correctly brought up by the module. Yay!

I still can't talk to the windows box, but there may still be something funny going on. Even thought I delicately stepped through cardmgr with my debugger (and things inside it were corrupted), it reported several "could not adjust resource" (memory and I/O errors).

So, until I (or David!) can track down the corruption in cardmgr, it may be possible to use Lucent's driver with the latest firmware to talk to windows boxes...

Whew!

-Andrew.

Messages Inline: 0 1

More 'Twas a buffer overflow error...

Re: News The problem is in Cardmgr! (Andrew Fernandes)
Date: 2000, Aug 31
From: Andrew Fernandes <andrew@fernandes.org>

It turns out that I was using a waaaaay too long

 module "wavelan2_cs" opts "irq_list=11 network_name=Studio20 port_type=3 station_name=Herbie channel=10 enable_encryption=y key_1=xxxxxxxxxxxxx transmit_key_id=1 pc_debug=0x7fffffff debug_flags=0xffffffff"

The line blew cardmgr's internal buffers.

That's the good news.

The bad news is now I can bring up both the Lucent and the GPL driver... and neither of them can talk to Windows.

I'm not impressed, Lucent...

I'll call their tech support and kvetch...

(David - I'll email my patch to you to look at)!

-Andrew.

The problem is in Cardmgr!


Members Subscribe No Admin Mode No Frames New Base Frame Help for HyperNews at pcmcia-cs.sourceforge.net 1.10
[ Edit This Forum ]