Bug 434901

Summary: USB drivers marked as being GPL only
Product: [Fedora] Fedora Reporter: Axel Thimm <axel.thimm>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
URL: http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_fireboard/Itemid,34/func,view/catid,2/id,1212/#1212
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-01 18:28:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Axel Thimm 2008-02-26 04:44:44 UTC
Description of problem:
when building ndiswrapper and trying to insmod it I get many unresolved symbols:

ndiswrapper: Unknown symbol usb_alloc_urb
ndiswrapper: Unknown symbol usb_free_urb
ndiswrapper: Unknown symbol usb_get_current_frame_number
ndiswrapper: Unknown symbol usb_ifnum_to_if
ndiswrapper: Unknown symbol lockdep_init_map
ndiswrapper: Unknown symbol usb_register_driver
ndiswrapper: Unknown symbol mutex_lock_nested
ndiswrapper: Unknown symbol usb_clear_halt
ndiswrapper: Unknown symbol usb_reset_device
ndiswrapper: Unknown symbol usb_submit_urb
ndiswrapper: Unknown symbol flush_workqueue
ndiswrapper: Unknown symbol __create_workqueue_key
ndiswrapper: Unknown symbol destroy_workqueue
ndiswrapper: Unknown symbol usb_control_msg
ndiswrapper: Unknown symbol usb_set_interface
ndiswrapper: Unknown symbol usb_deregister
ndiswrapper: Unknown symbol usb_get_status
ndiswrapper: Unknown symbol usb_lock_device_for_reset
ndiswrapper: Unknown symbol usb_get_descriptor
ndiswrapper: Unknown symbol usb_unlink_urb
ndiswrapper: Unknown symbol queue_work
ndiswrapper: Unknown symbol task_nice
ndiswrapper: Unknown symbol usb_reset_configuration
ndiswrapper: Unknown symbol usb_kill_urb
ndiswrapper: Unknown symbol usb_buffer_free
ndiswrapper: Unknown symbol usb_init_urb
ndiswrapper: Unknown symbol usb_buffer_alloc

This is on the latest couple of kernels the example above is from. I can see the
symbols in System.map:

# nm driver/ndiswrapper.ko | grep usb_alloc_urb
U usb_alloc_urb
# grep usb_alloc_urb /boot/System.map-2.6.25-0.65.rc2.git7.fc9
ffffffff811d0eef T usb_alloc_urb
ffffffff813bd8d0 r __ksymtab_usb_alloc_urb
ffffffff813cd9f8 r __kstrtab_usb_alloc_urb

The same build steps work find for F<=8 and RHEL. There are no warnings/errors
in the build either (?).

Thanks!

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1.build and try to insmod ndiswrapper (no need for a card to be present)
2.
3.
  
Actual results:
See above

Expected results:
The module should load w/o missing symbols

Additional info:
I'm not sure whether this is a kernel or module-init-tools issue.

Comment 1 Chuck Ebbert 2008-03-01 17:13:54 UTC
Gitweb:    
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=782e70c6fc2290a0395850e8e02583b8b62264d8
Commit:     782e70c6fc2290a0395850e8e02583b8b62264d8
Parent:     667d691ed7a70c9a9fde5b6bd663a5f38326e026
Author:     Greg Kroah-Hartman <gregkh>
AuthorDate: Fri Jan 25 11:12:21 2008 -0600
Committer:  Greg Kroah-Hartman <gregkh>
CommitDate: Fri Feb 1 14:35:07 2008 -0800

    USB: mark USB drivers as being GPL only


Comment 2 Dave Jones 2008-03-01 18:28:15 UTC
this is going to have to be something that's worked out upstream.
deviating away from upstreams licensing intents is not an option.

Comment 3 Axel Thimm 2008-03-04 03:49:58 UTC
Thanks for the info. I guess I'll have to wait until the rtl8187 driver in the
kernel adds support for 8187b. :/