Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37235 - Smartlink modem support for 2.6 kernels.
Summary: Smartlink modem support for 2.6 kernels.
Status: RESOLVED DUPLICATE of bug 34399
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-04 14:16 UTC by Priit Laes (IRC: plaes)
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2004-01-04 14:16:33 UTC
It would be nice to add smartlink modem support for 2.6 kernels.
Currently emergeing net-dialup/slmodem-2.7.14 on 2.6 system fails.
The smartlink ftp seems to have beta versions which work with 2,6 series of kernels and it's just a simple version bump.
Comment 1 Benjamin Ritcey 2004-01-23 10:38:25 UTC
After briefly playing around with v.2.9.5 of the smartmodem driver from their website, it's not just a simple version bump - they've rewritten how they build and install.  It wants to run 'make modules' in the kernel directory itself, causing portage to fail with a sandbox error - not sure how to deal with that.

If someone wants to take a whack, I thinkthat src_compile() should look something like:

src_compile() {
        unset ARCH ## used by the Makefiles - fails if set by portage
        make -j1 KERNEL_DIR=/usr/src/linux || die
}

(I was having some weirdness w/ emake & MAKEOPTS, but that may not be necessary in the final ebuild).  The ARCH thing stumped me for awhile, but I think that's the right thing to do.
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2004-02-04 10:41:45 UTC
*** Bug 40020 has been marked as a duplicate of this bug. ***
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-04 12:25:06 UTC
First: we don't have a good method of building kernel modules for 2.6 at present, see bug #32737.

Second: check out my ebuilds at http://dev.gentoo.org/~spyderous/overlay/net-dialup/slmodem/ for some initial work that may or may not work -- the 2.9 series itself hasn't worked for either me or latexer.

Third: remember to search before filing bugs =)

*** This bug has been marked as a duplicate of 34399 ***