Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211846 - net-wireless/acx-0.3.37_p20080112 fails for kernels without USB support
Summary: net-wireless/acx-0.3.37_p20080112 fails for kernels without USB support
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: Pending Removal: 2012-12-24
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2008-02-28 22:11 UTC by Olav Sandstå
Modified: 2012-12-25 13:02 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for 20080112 with kernel config check and USE flags (acx-0.3.37_p20080112.ebuild,1.68 KB, text/plain)
2008-03-16 13:14 UTC, Peter Gantner (a.k.a. nephros)
Details
ebuild for 20080210 with kernel config check and USE flags (acx-0.3.37_p20080210.ebuild,1.65 KB, text/plain)
2008-03-16 13:17 UTC, Peter Gantner (a.k.a. nephros)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olav Sandstå 2008-02-28 22:11:29 UTC
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)
Comment 1 Olav Sandstå 2008-02-28 22:28:49 UTC
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.
Comment 2 Olav Sandstå 2008-03-07 22:23:01 UTC
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.
Comment 3 Peter Gantner (a.k.a. nephros) 2008-03-16 12:35:07 UTC
(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.
Comment 4 Peter Gantner (a.k.a. nephros) 2008-03-16 13:14:08 UTC
Created attachment 146304 [details]
ebuild for 20080112 with kernel config check and USE flags
Comment 5 Peter Gantner (a.k.a. nephros) 2008-03-16 13:17:28 UTC
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.
Comment 6 Peter Gantner (a.k.a. nephros) 2008-04-09 21:25:20 UTC
I think this can be closed now that bug #196664 is fixed and the ebuild in portage.
Comment 7 Olav Sandstå 2008-04-25 20:26:58 UTC
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.
Comment 8 Łukasz Damentko (RETIRED) gentoo-dev 2008-04-28 02:06:02 UTC
Reassigning to the herd since Stephen was retired as a Gentoo developer. See bug #64840 for reference.
Comment 9 Pacho Ramos gentoo-dev 2012-10-06 15:23:24 UTC
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
Comment 10 Pacho Ramos gentoo-dev 2012-12-25 13:02:00 UTC
dropped