<span class="nfakPe">Jarod</span> -<br><br>I managed to get the driver
compiled using the current source (tar ball). i had to fix the header
change. but after loading the driver, i couldn&#39;t associate my access
point to the acx driver. also it seems to kernel panic with this:<br>
&nbsp;<br><pre>WARNING: at arch/x86/kernel/pci-dma.c:376 dma_free_coherent+0x43/0x7a() (Tainted: G        W)<br>Modules linked in: vfat fat fuse sco bridge stp bnep l2cap bluetooth sunrpc ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 usb_storage dm_multipath uinput i2c_viapro i2c_core ppdev snd_via82xx gameport snd_ac97_codec ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq floppy snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi pcspkr snd_seq_device snd via_rhine soundcore mii via_ircc irda crc_ccitt parport_pc parport acx(-) ata_generic pata_acpi pata_via [last unloaded: scsi_wait_scan]<br>
<br>Pid: 3196, comm: rmmod Tainted: G        W 2.6.27.9-159.fc10.i686 #1<br> [&lt;c06a7189&gt;] ? printk+0xf/0x16<br> [&lt;c042cc6c&gt;] warn_on_slowpath+0x47/0x70<br> [&lt;c0429f07&gt;] ? finish_task_switch+0x2f/0xb0<br>
 [&lt;c06a79cf&gt;] ? schedule+0x6ee/0x70d<br><br> [&lt;c0472551&gt;] ? __free_one_page+0x158/0x19d<br> [&lt;c0472c5c&gt;] ? __free_pages_ok+0x10b/0x13d<br> [&lt;c0406e98&gt;] dma_free_coherent+0x43/0x7a<br> [&lt;e094f42b&gt;] acxpci_free_desc_queues+0xa4/0x10d [acx]<br>
<br> [&lt;e094f4e1&gt;] acxpci_s_delete_dma_regions+0x4d/0x6e [acx]<br> [&lt;e095228b&gt;] acxpci_e_remove+0x19b/0x2ba [acx]<br> [&lt;c0528d9f&gt;] pci_device_remove+0x19/0x39<br> [&lt;c0594c8f&gt;] __device_release_driver+0x70/0x8e<br>
<br> [&lt;c0594d1f&gt;] driver_detach+0x72/0x96<br> [&lt;c0594291&gt;] bus_remove_driver+0x63/0x89<br> [&lt;c059509d&gt;] driver_unregister+0x2a/0x2e<br> [&lt;c0528f54&gt;] pci_unregister_driver+0x21/0x5c<br> [&lt;e09519df&gt;] acxpci_e_cleanup_module+0x20/0x35 [acx]<br>
<br> [&lt;e09519b8&gt;] acx_e_cleanup_module+0x8/0xf [acx]<br> [&lt;c044d10d&gt;] sys_delete_module+0x1ae/0x1f8<br> [&lt;c047e99a&gt;] ? remove_vma+0x55/0x5b<br> [&lt;c0460a56&gt;] ? audit_syscall_entry+0xf9/0x123<br> [&lt;c0403c76&gt;] syscall_call+0x7/0xb<br>
<br> ======================<br> ======================---[ end trace bd520c654ac13ca9 ]---</pre><br>i also see this type of output in syslog:<br><br>Feb&nbsp; 7 19:17:13 localhost kernel: updating WEP key settings<br>Feb&nbsp; 7 19:17:13 localhost kernel: setting WEP key 2 as default<br>

Feb&nbsp; 7 19:17:13 localhost kernel: acx_set_status(1):SCANNING<br>Feb&nbsp; 7 19:17:13 localhost kernel: start_scan: seems like previous scan is still running. Not starting anew. Please report<br>Feb&nbsp; 7 19:17:13 localhost kernel: get_mask 0x00000000, set_mask 0x00000000 - after update<br>

Feb&nbsp; 7 19:17:13 localhost kernel: get_mask 0x00000000, set_mask 0x00040000<br>Feb&nbsp; 7 19:17:13 localhost kernel: important setting has been changed. Need to update packet templates, too<br>Feb&nbsp; 7 19:17:13 localhost kernel: updating packet templates<br>

Feb&nbsp; 7 19:17:13 localhost kernel: updating WEP key settings<br>Feb&nbsp; 7 19:17:13 localhost kernel: setting WEP key 3 as default<br>Feb&nbsp; 7 19:17:13 localhost kernel: acx_set_status(1):SCANNING<br>Feb&nbsp; 7 19:17:13 localhost kernel: start_scan: seems like previous scan is still running. Not starting anew. Please report<br>

Feb&nbsp; 7 19:17:13 localhost kernel: get_mask 0x00000000, set_mask 0x00000000 - after update<br>Feb&nbsp; 7 19:17:13 localhost kernel: get_mask 0x00000000, set_mask 0x00040000<br>Feb&nbsp; 7 19:17:13 localhost kernel: important setting has been changed. Need to update packet templates, too<br>

Feb&nbsp; 7 19:17:13 localhost kernel: updating packet templates<br>Feb&nbsp; 7 19:17:13 localhost kernel: updating WEP key settings<br>Feb&nbsp; 7 19:17:13 localhost kernel: setting WEP key 0 as default<br>Feb&nbsp; 7 19:17:13 localhost kernel: acx_set_status(1):SCANNING<br>

Feb&nbsp; 7 19:17:13 localhost kernel: start_scan: seems like previous scan is still running. Not starting anew. Please report<br>Feb&nbsp; 7 19:17:13 localhost kernel: get_mask 0x00000000, set_mask 0x00000000 - after update<br>Feb&nbsp; 7 19:17:13 localhost kernel: get_mask 0x00000000, set_mask 0x00040000<br>

Feb&nbsp; 7 19:17:13 localhost kernel: important setting has been changed. Need to update packet templates, too<br>Feb&nbsp; 7 19:17:13 localhost kernel: updating packet templates<br><br>i
didn&#39;t set WEP, i have a zero-security setup. also a process called
wpa_supplicant is running, and i can&#39;t seem to stop it. i have a hunch
that the driver would work if i can get wpa_supplicant to stop... any
clues?<br>
<br>thanks,<br><font color="#888888">thushara </font><br><br><div class="gmail_quote">On Tue, Jan 27, 2009 at 6:35 PM, Jarod Wilson <span dir="ltr">&lt;<a href="mailto:jarod@wilsonet.com">jarod@wilsonet.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Sorry for the delay, been pre-occupied...<br>
<div><div></div><div class="Wj3C7c"><br>
On Sat, 2009-01-17 at 21:41 -0800, Thushara Wijeratna wrote:<br>
&gt; &nbsp;i may have figured this out - there was only a single place that<br>
&gt; called that function and the caller had the right struct, so i passed<br>
&gt; that in.<br>
&gt; but the dkms build overwrites the file, so i ran the cmd manually:<br>
&gt;<br>
&gt; make KERNELRELEASE=2.6.27.9-159.fc10.i686<br>
&gt; -C /lib/modules/2.6.27.9-159.fc10.i686/build<br>
&gt; M=/var/lib/dkms/tiacx/0.4.7-3/build<br>
&gt;<br>
&gt; i may have hit another bug : <a href="http://madwifi-project.org/ticket/1434" target="_blank">http://madwifi-project.org/ticket/1434</a><br>
&gt;<br>
&gt; here is the compiler output:<br>
&gt;<br>
&gt; [thushara@gini-sisila build]$ sudo make<br>
&gt; KERNELRELEASE=2.6.27.9-159.fc10.i686<br>
&gt; -C /lib/modules/2.6.27.9-159.fc10.i686/build<br>
&gt; M=/var/lib/dkms/tiacx/0.4.7-3/build<br>
&gt; make: Entering directory `/usr/src/kernels/2.6.27.9-159.fc10.i686&#39;<br>
&gt; &nbsp; CC [M] &nbsp;/var/lib/dkms/tiacx/0.4.7-3/build/ioctl.o<br>
&gt; &nbsp; CC [M] &nbsp;/var/lib/dkms/tiacx/0.4.7-3/build/common.o<br>
&gt; /var/lib/dkms/tiacx/0.4.7-3/build/common.c: In function<br>
&gt; &#39;acx_l_rxmonitor&#39;:<br>
&gt; /var/lib/dkms/tiacx/0.4.7-3/build/common.c:2429: error: &#39;struct<br>
&gt; sk_buff&#39; has no member named &#39;mac&#39;<br>
&gt; /var/lib/dkms/tiacx/0.4.7-3/build/common.c:6620:14: error: macro<br>
&gt; &quot;INIT_WORK&quot; passed 3 arguments, but takes just 2<br>
&gt; /var/lib/dkms/tiacx/0.4.7-3/build/common.c: In function<br>
&gt; &#39;acx_init_task_scheduler&#39;:<br>
&gt; /var/lib/dkms/tiacx/0.4.7-3/build/common.c:6619: error: &#39;INIT_WORK&#39;<br>
&gt; undeclared (first use in this function)<br>
&gt; /var/lib/dkms/tiacx/0.4.7-3/build/common.c:6619: error: (Each<br>
&gt; undeclared identifier is reported only once<br>
&gt; /var/lib/dkms/tiacx/0.4.7-3/build/common.c:6619: error: for each<br>
&gt; function it appears in.)<br>
&gt; make[1]: *** [/var/lib/dkms/tiacx/0.4.7-3/build/common.o] Error 1<br>
&gt; make: *** [_module_/var/lib/dkms/tiacx/0.4.7-3/build] Error 2<br>
&gt; make: Leaving directory `/usr/src/kernels/2.6.27.9-159.fc10.i686&#39;<br>
&gt;<br>
&gt; should i grab the kernel/include/linux/skbuff.h from the trunk as<br>
&gt; suggested, or is there an easier fix for this?<br>
<br>
</div></div>Sorry, not a clue on this one offhand. Mixing and matching headers<br>
sounds like a path destined for pain and suffering though. This right<br>
here is a lesson in why out-of-tree drivers generally suck. :)<br>
<font color="#888888"><br>
<br>
--<br>
</font><div><div></div><div class="Wj3C7c">Jarod Wilson<br>
<a href="mailto:jarod@wilsonet.com">jarod@wilsonet.com</a><br>
<br>
</div></div></blockquote></div><br>