Re: Running on PowerPC


From: Pavel Roskin (proski_at_gnu.org)
Date: 2002-05-31 19:51:22 UTC



Hi, Michael!

> Sorry, I had an incorrect insmod version. I get a different error now.
> 'hostap_cs: GetNextTuple: No more items'

Most likely it's a voltage mismatch. Some cards have incorrect voltage in the CIS. Some sockets (e.g. on iPAQ) don't report voltage at all. You can try "ignore_cis_vcc=1" parameter for the module.

If that doesn't help, try to pinpoint the exact line of code where the driver decides that the tuple is not suitable. I usually add the following line in the beginning of the file:

#define MARK printk("%s:%d %s()\n", __FILE__, __LINE__, __FUNCTION__);

Then put MARK on every line you want to watch (be careful with "if"s). The output of dmesg will give you a very clear picure of what happened before the driver decided to try the next tuple.

> May 2 00:00:21 192 daemon.debug klogd: cs: register_client(): client
> 0xc01e7860, sock 0, dev hostap_cs

Please use the output of dmesg - it's easier to read, and it's not modified by klogd.

-- 
Regards,
Pavel Roskin


This archive was generated by hypermail 2.1.4.