<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't associate my access
point to the acx driver. also it seems to kernel panic with this:<br>
<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> [<c06a7189>] ? printk+0xf/0x16<br> [<c042cc6c>] warn_on_slowpath+0x47/0x70<br> [<c0429f07>] ? finish_task_switch+0x2f/0xb0<br>
[<c06a79cf>] ? schedule+0x6ee/0x70d<br><br> [<c0472551>] ? __free_one_page+0x158/0x19d<br> [<c0472c5c>] ? __free_pages_ok+0x10b/0x13d<br> [<c0406e98>] dma_free_coherent+0x43/0x7a<br> [<e094f42b>] acxpci_free_desc_queues+0xa4/0x10d [acx]<br>
<br> [<e094f4e1>] acxpci_s_delete_dma_regions+0x4d/0x6e [acx]<br> [<e095228b>] acxpci_e_remove+0x19b/0x2ba [acx]<br> [<c0528d9f>] pci_device_remove+0x19/0x39<br> [<c0594c8f>] __device_release_driver+0x70/0x8e<br>
<br> [<c0594d1f>] driver_detach+0x72/0x96<br> [<c0594291>] bus_remove_driver+0x63/0x89<br> [<c059509d>] driver_unregister+0x2a/0x2e<br> [<c0528f54>] pci_unregister_driver+0x21/0x5c<br> [<e09519df>] acxpci_e_cleanup_module+0x20/0x35 [acx]<br>
<br> [<e09519b8>] acx_e_cleanup_module+0x8/0xf [acx]<br> [<c044d10d>] sys_delete_module+0x1ae/0x1f8<br> [<c047e99a>] ? remove_vma+0x55/0x5b<br> [<c0460a56>] ? audit_syscall_entry+0xf9/0x123<br> [<c0403c76>] syscall_call+0x7/0xb<br>
<br> ======================<br> ======================---[ end trace bd520c654ac13ca9 ]---</pre><br>i also see this type of output in syslog:<br><br>Feb 7 19:17:13 localhost kernel: updating WEP key settings<br>Feb 7 19:17:13 localhost kernel: setting WEP key 2 as default<br>
Feb 7 19:17:13 localhost kernel: acx_set_status(1):SCANNING<br>Feb 7 19:17:13 localhost kernel: start_scan: seems like previous scan is still running. Not starting anew. Please report<br>Feb 7 19:17:13 localhost kernel: get_mask 0x00000000, set_mask 0x00000000 - after update<br>
Feb 7 19:17:13 localhost kernel: get_mask 0x00000000, set_mask 0x00040000<br>Feb 7 19:17:13 localhost kernel: important setting has been changed. Need to update packet templates, too<br>Feb 7 19:17:13 localhost kernel: updating packet templates<br>
Feb 7 19:17:13 localhost kernel: updating WEP key settings<br>Feb 7 19:17:13 localhost kernel: setting WEP key 3 as default<br>Feb 7 19:17:13 localhost kernel: acx_set_status(1):SCANNING<br>Feb 7 19:17:13 localhost kernel: start_scan: seems like previous scan is still running. Not starting anew. Please report<br>
Feb 7 19:17:13 localhost kernel: get_mask 0x00000000, set_mask 0x00000000 - after update<br>Feb 7 19:17:13 localhost kernel: get_mask 0x00000000, set_mask 0x00040000<br>Feb 7 19:17:13 localhost kernel: important setting has been changed. Need to update packet templates, too<br>
Feb 7 19:17:13 localhost kernel: updating packet templates<br>Feb 7 19:17:13 localhost kernel: updating WEP key settings<br>Feb 7 19:17:13 localhost kernel: setting WEP key 0 as default<br>Feb 7 19:17:13 localhost kernel: acx_set_status(1):SCANNING<br>
Feb 7 19:17:13 localhost kernel: start_scan: seems like previous scan is still running. Not starting anew. Please report<br>Feb 7 19:17:13 localhost kernel: get_mask 0x00000000, set_mask 0x00000000 - after update<br>Feb 7 19:17:13 localhost kernel: get_mask 0x00000000, set_mask 0x00040000<br>
Feb 7 19:17:13 localhost kernel: important setting has been changed. Need to update packet templates, too<br>Feb 7 19:17:13 localhost kernel: updating packet templates<br><br>i
didn't set WEP, i have a zero-security setup. also a process called
wpa_supplicant is running, and i can'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"><<a href="mailto:jarod@wilsonet.com">jarod@wilsonet.com</a>></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>
> i may have figured this out - there was only a single place that<br>
> called that function and the caller had the right struct, so i passed<br>
> that in.<br>
> but the dkms build overwrites the file, so i ran the cmd manually:<br>
><br>
> make KERNELRELEASE=2.6.27.9-159.fc10.i686<br>
> -C /lib/modules/2.6.27.9-159.fc10.i686/build<br>
> M=/var/lib/dkms/tiacx/0.4.7-3/build<br>
><br>
> i may have hit another bug : <a href="http://madwifi-project.org/ticket/1434" target="_blank">http://madwifi-project.org/ticket/1434</a><br>
><br>
> here is the compiler output:<br>
><br>
> [thushara@gini-sisila build]$ sudo make<br>
> KERNELRELEASE=2.6.27.9-159.fc10.i686<br>
> -C /lib/modules/2.6.27.9-159.fc10.i686/build<br>
> M=/var/lib/dkms/tiacx/0.4.7-3/build<br>
> make: Entering directory `/usr/src/kernels/2.6.27.9-159.fc10.i686'<br>
> CC [M] /var/lib/dkms/tiacx/0.4.7-3/build/ioctl.o<br>
> CC [M] /var/lib/dkms/tiacx/0.4.7-3/build/common.o<br>
> /var/lib/dkms/tiacx/0.4.7-3/build/common.c: In function<br>
> 'acx_l_rxmonitor':<br>
> /var/lib/dkms/tiacx/0.4.7-3/build/common.c:2429: error: 'struct<br>
> sk_buff' has no member named 'mac'<br>
> /var/lib/dkms/tiacx/0.4.7-3/build/common.c:6620:14: error: macro<br>
> "INIT_WORK" passed 3 arguments, but takes just 2<br>
> /var/lib/dkms/tiacx/0.4.7-3/build/common.c: In function<br>
> 'acx_init_task_scheduler':<br>
> /var/lib/dkms/tiacx/0.4.7-3/build/common.c:6619: error: 'INIT_WORK'<br>
> undeclared (first use in this function)<br>
> /var/lib/dkms/tiacx/0.4.7-3/build/common.c:6619: error: (Each<br>
> undeclared identifier is reported only once<br>
> /var/lib/dkms/tiacx/0.4.7-3/build/common.c:6619: error: for each<br>
> function it appears in.)<br>
> make[1]: *** [/var/lib/dkms/tiacx/0.4.7-3/build/common.o] Error 1<br>
> make: *** [_module_/var/lib/dkms/tiacx/0.4.7-3/build] Error 2<br>
> make: Leaving directory `/usr/src/kernels/2.6.27.9-159.fc10.i686'<br>
><br>
> should i grab the kernel/include/linux/skbuff.h from the trunk as<br>
> 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>