Bug 144600 - smartlink modem does not work
Summary: smartlink modem does not work
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Other (show other bugs)
Version: Beta 2
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Marian Jancar
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-21 13:00 UTC by Andreas Klein
Modified: 2006-02-07 10:43 UTC (History)
4 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Klein 2006-01-21 13:00:47 UTC
kernel-module slamr.ko does not exist.
Smartlink packages and kernel-nongpl is installed.
kernel-syms-2.6.15_git12-6
kernel-docs-2.6.15-4
kernel-xen-2.6.15_git12-6
um-host-kernel-2.6.15-4
smartlink-softmodem-2.9.10-19
kernel-default-2.6.15_git12-6
kernel-update-tool-0.9-18
kernel-default-nongpl-2.6.15_git12-6
km_smartlink-softmodem-2.9.10-19
kernel-source-2.6.15_git12-6
Comment 1 Martin Lasarsch 2006-01-23 10:56:06 UTC
Marian: can you help out here? If not please reassign to us, thanks
Comment 2 Marian Jancar 2006-01-23 17:07:44 UTC
adapted to current kernel, please test
Comment 3 Andreas Klein 2006-01-23 17:11:32 UTC
Where do I get the new version?
Comment 4 Marian Jancar 2006-01-23 17:17:40 UTC
I will send you the new kernel when it is rebuilt.
Comment 5 Andreas Klein 2006-01-28 14:39:25 UTC
I juste tested with beta2, and the module is still not present.
So I decided to build it from /usr/src/kernel-modules/km_smartlink_softmodem.
Compiling worked well, but the modules don't load into the kernel :-(
Jan 28 14:54:43 linux klogd: slamr: module not supported by Novell, setting U taint flag.
Jan 28 14:54:43 linux klogd: slamr: falsely claims to have parameter debug
Jan 28 14:54:43 linux klogd: slusb: module not supported by Novell, setting U taint flag.
Jan 28 14:54:43 linux klogd: slusb: Unknown symbol usb_register_driver
Jan 28 14:54:43 linux klogd: slusb: Unknown symbol usb_deregister
Comment 6 Christian Boltz 2006-01-30 21:23:06 UTC
It seems Andreas forgot to reset needinfo...
Comment 7 Christian Boltz 2006-01-30 21:30:06 UTC
It still doesn't work in beta2 :-(

dmesg says:

slamr: module not supported by Novell, setting U taint flag.
slamr: module license 'Smart Link Ltd.' taints kernel.
slamr: falsely claims to have parameter debug
slusb: module not supported by Novell, setting U taint flag.
slusb: Unknown symbol usb_register_driver
slusb: Unknown symbol usb_deregister

boot.msg says:

Starting SmartLink Modem driver: FATAL: Error inserting slamr (/lib/modules/2.6.16-rc1-git3-4-default/extra/slamr.ko): Invalid argument
FATAL: Error inserting slusb (/lib/modules/2.6.16-rc1-git3-4-default/extra/slusb.ko): Unknown symbol in module, or unknown parameter (see dmesg)
Comment 8 Andreas Klein 2006-02-02 22:13:29 UTC
In beta3 the dependency for smartlink-softmodem-2.9.10-20.i586.rpm is broken.
It needs kernel-nongpl, which is not in inst-souce-extra.
Comment 9 Andreas Klein 2006-02-05 16:39:19 UTC
This seemes to be a problem of this new restriction for non-GPL drivers.
The unknown symbol problem is solved, when changing the MODULE_LICENSE to GPL and removing the MODULE_PARM debug.
With this changes I was able to compile and use the slamr/slusb modules. It worked stable throughout the weekend.
Will there be a solution for license problems of this kind?
Comment 10 Marian Jancar 2006-02-06 16:59:23 UTC
I think the license is in fact BSD and the slusb does not include the binary only object, so in this case we could just change the MODULE_LICENSE, but in general the only solution is open source drivers.

Jurgen, could you please confirm that the license is BSD?

/*
 *
 *   Copyright (c) 2002, Smart Link Ltd.
 *   All rights reserved.
 *
 *   Redistribution and use in source and binary forms, with or without
 *   modification, are permitted provided that the following conditions
 *   are met:
 *
 *       1. Redistributions of source code must retain the above copyright
 *          notice, this list of conditions and the following disclaimer.
 *       2. Redistributions in binary form must reproduce the above
 *          copyright notice, this list of conditions and the following
 *          disclaimer in the documentation and/or other materials provided
 *          with the distribution.
 *       3. Neither the name of the Smart Link Ltd. nor the names of its
 *          contributors may be used to endorse or promote products derived
 *          from this software without specific prior written permission.
 *
 *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 *   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 *   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 *   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 *   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 *   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 */

Comment 11 Marcus Meissner 2006-02-06 17:03:40 UTC
the usb functions got changed back in the meantime!
Comment 12 Marian Jancar 2006-02-06 18:13:22 UTC
ok, fix for the debug submited :)
Comment 13 Juergen Weigert 2006-02-06 19:18:18 UTC
Marian, when I asked softlink to confirm the BSD-license in Sep 2004, they came back with the following license text:

**************************************************************************

TERMS AND CONDITIONS OF USE FOR SMART LINK LINUX SOFTWARE DRIVERS

By using the Linux software provided by Smart Link, YOU ARE CONSENTING TO BE BOUND BY AND ARE BECOMING A PARTY TO THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL THE TERMS OF THIS AGREEMENT, PLEASE UNINSTALL THE SOFTWARE FROM YOUR SYSTEM. For manufacturers, these Terms and Conditions modify the existing Master Contract with Smart Link.

1. PRODUCT: Smart Link's product herein, (the "Product"), included as part of this Linux driver package and as specified on Smart Link's website www.smlink.com , comprises Smart Link's Linux software drivers (the "Software") which are available for download by end-users and manufacturers ("Users")

2. LICENSE: The scope of the license granted herein shall be limited to granting the User the right to download the Software from Smart Link's website, free of charge, for the sole purpose of upgrading the User's existing Smart Link chipset based modems ("Modems") in conjunction with the User's right to use, make, reproduce, distribute and sublicense the Software solely for distribution and support of the Modems and shall not include the right to otherwise sell or sub-license the Software. 

3. LIMITATION OF REMEDIES AND DAMAGES: In no event shall Smart Link or any of the licensors, directors, officers, employees or affiliates of the foregoing be liable to User for any direct, indirect, consequential, incidental, special or similar damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information and the like), whether foreseeable or unforeseeable, arising out of the use or inability to use the Software, regardless of the basis of the claim and even if Smart Link or a Smart Link representative has been advised of the possibility of such damage. SOME JURISDICTIONS MAY NOT ALLOW THE LIMITATION OR EXCLUSION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR CONSUMER PRODUCTS
, SO THE ABOVE LIMITATIONS OR EXCLUSIONS MAY NOT APPLY TO USER. 

4. SOFTWARE CHANGES: Smart Link shall have the right, in its sole discretion, without liability to User, to (a) change the design, or discontinue developing, producing, licensing or distributing any Software covered by this Agreement, and (b) announce new Software to which the terms and conditions of this Agreement do not apply. 

Signed: Smart Link, Ltd. , www.smlink.com

**************************************************************************