Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55902 - net-dialup/fcpci - version for kernel 2.6
Summary: net-dialup/fcpci - version for kernel 2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-02 11:23 UTC by Torsten Veller (RETIRED)
Modified: 2004-11-13 11:48 UTC (History)
5 users (show)

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


Attachments
fcpci-3.11.02.ebuild (fcpci-3.11.02.ebuild,989 bytes, text/plain)
2004-07-02 11:24 UTC, Torsten Veller (RETIRED)
Details
New (working?) version of ebuild (fcpci26-3.11.02.ebuild,1.21 KB, text/plain)
2004-08-12 09:55 UTC, Lars Petersen
Details
revised ebuild (fcpci-3.11.02.ebuild,1.03 KB, text/plain)
2004-08-26 02:47 UTC, Torsten Veller (RETIRED)
Details
fcpci-3.11.02-r1 -- without kmod.eclass and config-kernel (fcpci-3.11.02-r1.ebuild,1008 bytes, text/plain)
2004-10-03 23:54 UTC, Torsten Veller (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Veller (RETIRED) gentoo-dev 2004-07-02 11:23:17 UTC
Ebuild for avm's latest fcpci package. 

Only for kernel 2.6:
"Starting from SUSE Linux 9.1, the kernel version 2.6 is implemented. The driver modules and interfaces to the kernel changed fundamentally with this generation. These drivers thus can only be used with kernel version 2.6 or higher." (install_passive-d.html)

So now we have fcpci-03.11.02.ebuild (only for 2.4) and another ebuild (i called it) fcpci-3.11.02.ebuild (only for 2.6). Maybe there is a good idea how to put it in the tree? How can the user see, which is the right ebuild for their kernelversion? fcpci26 isn't possible?

Reproducible: Always
Steps to Reproduce:
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2004-07-02 11:24:02 UTC
Created attachment 34666 [details]
fcpci-3.11.02.ebuild
Comment 2 Sebastian Röder 2004-08-08 13:20:46 UTC
Does anybody know whether the fcpci ebuild for kernel 2.6 will be put into the portage tree soon? I
Comment 3 Sebastian Röder 2004-08-08 13:20:46 UTC
Does anybody know whether the fcpci ebuild for kernel 2.6 will be put into the portage tree soon? I´am new to Gentoo and would be happy to have a consistent system at this early stage - this means I´d like to get the main system ebuild (what is Gentoo worth without Inet?) directly from portage. Is there only the name-problem left? Seems not too difficukt to solve, though.

Thanks in advance,
Sebastian Roeder from Germany <sebroeder@arcor.de>
Comment 4 Daniel Gebhardt 2004-08-09 03:47:41 UTC
Sadly the Ebuild fails for me, because make trys to create /var/lib/fritz which is (of course) denied. As I know very little about ebuild/make I have no idea which parts of the Makefile to change to get it to work "the gentoo way".

I'd happily test changed Ebuilds.

Daniel
Comment 5 Lars Petersen 2004-08-12 09:55:16 UTC
Created attachment 37293 [details]
New (working?) version of ebuild

I finally got fcpci.ko to work with the attached ebuild, which has some minor
modifications from the original post. I'd be happy about your feedback, though,
since I'm sure that my changes are not 'elegant'... Hope it works for some of
you, too.
Cheers, 
Lars
Comment 6 Daniel Gebhardt 2004-08-12 10:13:45 UTC
Seems to work for me too, the driver module compiles and after loading it capiinfo shows infos about the card which seem to be correct.
Not enought time to test it, but like I initialy said it seems to work.

Thanks for the work Lars.

Any way to get it Into the Portage tree?

Daniel
Comment 7 Torsten Veller (RETIRED) gentoo-dev 2004-08-26 02:47:00 UTC
Created attachment 38230 [details]
revised ebuild

Now i found out, that we are talking of different versions :)
my md5: e02653065110c5e2ad1391ee6436c655 (May 14 17:13)
your md5: b0f8eb15fc8f3902633dd48f93dc9a68 (May 14 02:00)

This one works with the b0f8eb15fc8f3902633dd48f93dc9a68 version.
Comment 8 Cory Visi (RETIRED) gentoo-dev 2004-08-26 11:26:28 UTC
I'd like to definitely take care of this bug as soon as possible. I'm having some trouble understanding the versions used in this software. Which version is for 2.4 and which is for 2.6? "03.11.02" and "3.11.02" are unacceptably similar in my opinion. Is the software company actually using these two versions or is this a typo? Also, the fact that I cannot read German compounds the problem as the website is completely in German.

So, any help would be appreciated. Thank you!
Comment 9 Lars Petersen 2004-08-26 12:05:04 UTC
Actually, they *are* using these confusingly similar version numbers,
but together with the version number of the corresponding "Suse Linux" distribution, which makes things a little clearer:

ftp://ftp.avm.de/cardware/fritzcrd.pci/linux/suse.82/fcpci-suse8.2-03.11.02.tar.gz

is the version for kernel 2.4 (which, as it seems, was standard in Suse 8.2).
This is the one used in the current "official Gentoo" net-dialup/fcpci-03.11.02.ebuild.

The new version

ftp://ftp.avm.de/cardware/fritzcrd.pci/linux/suse.91/fcpci-suse9.1-3.11-02.tar.gz

is for kernel 2.6 (which is what Suse 9.1 seems to use), and that is the one 
tove and I put into our home-grown ebuilds. (Btw, I called my ebuild fcpci26-3.11.02 in order to avoid confusions about the similar version numbers, don't know if that might be an option for you.)

Thanks for your time!
Comment 10 Hans-Christian Armingeon 2004-09-01 14:36:33 UTC
How about fcdslusb? Is it difficult to adapt the ebuild?

Thanks in advance,


Johnny
Comment 11 Daniel Black (RETIRED) gentoo-dev 2004-09-27 03:05:53 UTC
Will be fixed in bug 50716

*** This bug has been marked as a duplicate of 50716 ***
Comment 12 Daniel Black (RETIRED) gentoo-dev 2004-09-27 03:58:29 UTC
Sorry for being trigger happy.
Comment 13 Torsten Veller (RETIRED) gentoo-dev 2004-10-03 23:54:48 UTC
Created attachment 41041 [details]
fcpci-3.11.02-r1 -- without kmod.eclass and config-kernel

as requested ("FYI: koutput/config-kernel should *NOT* be used/supported
currently") a new ebuild without config-kernel and kmod.eclass
Please test this one.

Then we need to solve the naming and the kernel version problem:
03.11.02 -- suse.82/fcpci-suse8.2-03.11.02.tar.gz -- kernel 2.4
3.11.02 (?) -- suse.91/fcpci-suse9.1-3.11-02.tar.gz -- kernel 2.6
Comment 14 Alin Năstac (RETIRED) gentoo-dev 2004-11-13 11:48:12 UTC
new ebuild fcpci-3.11.02-r1 submitted to the tree.
it basically contains 
  - for 2.4 kernels -> the old fcpci-03.11.02 with a small correction regarding gentoo-sources
  - for 2.6 kernels -> http://bugs.gentoo.org/attachment.cgi?id=41041

thanks tove.