Building acx-0.3.37_p20080112 after having upgraded to the 2.6.23-r3 kernel I get the following warnings during the build process: WARNING: //lib/modules/2.6.23-gentoo-r3/net/acx-ko needs unknown symbol usb_alloc_urb Similar messages are seen for usb_free_urb, usb_register_driver, usb_bulk_ms, usb_submit_urb, usb_control_msg, usb_deregister, usb_unlink_urb. The resulting driver fails to load and the following messages are seen in the /var/log/messages: Feb 23 17:39:55 sandra acx: Unknown symbol usb_alloc_urb Feb 23 17:39:55 sandra acx: Unknown symbol usb_free_urb Feb 23 17:39:55 sandra acx: Unknown symbol usb_register_driver Feb 23 17:39:55 sandra acx: Unknown symbol usb_bulk_msg Feb 23 17:39:55 sandra acx: Unknown symbol usb_submit_urb Feb 23 17:39:55 sandra acx: Unknown symbol usb_control_msg Feb 23 17:39:55 sandra acx: Unknown symbol usb_deregister Feb 23 17:39:55 sandra acx: Unknown symbol usb_unlink_urb The main difference between the this kernel and the previous kernel I had was that I disabled support for USB when configuring the kernel. The network driver build and works fine when running it with the previous kernel I have (which is compiled with USB support). Reproducible: Always Steps to Reproduce: 1. Disable USB support in kernel 2. Build and install net-wireless/acx-0.3.37_p20080112 3. Actual Results: Results: -warnings during build -errors during loading of the driver (see above)
The acx make file and source code has options for building the driver without USB support (or without PCI support). This might solve this problem. In bug id 196664 there is actually a proposal for an ebuild that took the "pci" and "usb" use flags into account when building the acx driver. I do not think this proposal was included when that issue was resolved.
After re-configuring the Linux kernel with USB support this problem disappeared. Still it would be good if compiling the acx driver without USB support was supported in the ebuild. Work around: Enable USB support in the Linux kernel fixes the problem.
(In reply to comment #1) > The acx make file and source code has options for building the driver without > USB support (or without PCI support). This might solve this problem. > > In bug id 196664 there is actually a proposal for an ebuild that took the "pci" > and "usb" use flags into account when building the acx driver. I do not think > this proposal was included when that issue was resolved. I was about to add my own ebuild using those USE flags just to find out there's a similar one already in bug #196664 So all that's left for me to do here is to confirm that that ebuild works fine with USE="pci -usb" for my PCMCIA card. Maybe the ebuild could check the kernel .config for PCI/USB support too, I'll try to attach an ebuild later which does that.
Created attachment 146304 [details] ebuild for 20080112 with kernel config check and USE flags
Created attachment 146306 [details] ebuild for 20080210 with kernel config check and USE flags just for good measure, the same ebuild but for the newer release. Note that this drops the patch for 2.6.18 from #157695 so that might reemerge.
I think this can be closed now that bug #196664 is fixed and the ebuild in portage.
I am not sure if this has been fixed yet. I might have overlooked something but the ebuild I have for the ACX driver (acx-0.3.37_p20080112.ebuild) does not contain the proposed checks for PCI and USB use flags as proposed in the ebuild patch in this bug nor the ebuild in bug #196664.
Reassigning to the herd since Stephen was retired as a Gentoo developer. See bug #64840 for reference.
Probably time to treeclean, upstream dead for ages, non maintained and with possible legal problems: http://wireless.kernel.org/en/users/Drivers/acx1xx http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581519
dropped