Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 129216
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WONTFIX
Assigned To: Default Assignee for New Packages <maintainer-wanted@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Pacho Ramos <pacho@condmat1.ciencias.uniovi.es>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
r1000-103-r1.ebuild ebuild for r1000 kernel module text/plain David Raison 2006-07-13 15:19 0000 1.06 KB Details
r1000-103-r1.ebuild r1000-103.ebuild (fixed kernel version dependency) text/plain David Raison 2006-07-14 00:06 0000 1.07 KB Details
r1000-103-r1.ebuild realtek r1000 driver text/plain David Raison 2006-07-17 11:47 0000 1.05 KB Details
r1000-1.04.ebuild ebuild for r1000-1.04 text/plain Sebastian Stammler 2006-08-27 17:11 0000 1.95 KB Details
r1000-fastcall.patch r1000-fastcall.patch patch Natanael Copa 2007-04-18 18:17 0000 705 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 129216 depends on: Show dependency tree
Bug 129216 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-08 03:00 0000
Realtek r1000 driver adds support for RTL8111(B) and RTL8168(B) cards. It can
be downloaded from:

ftp://202.65.194.18/cn/nic/rtl8111brtl8168b/r1000-8111b(102).zip

It compiles and runs fine on my machine, I'm using gentoo-sources-2.6.15-r1 on
a x86 arch.

Thanks a lot for adding an ebuild for this driver :)

------- Comment #1 From Henrik Brix Andersen 2006-04-08 18:51:29 0000 -------
These looks like gigabit network cards to me, no reason to CC: mobile for
those.

------- Comment #2 From David Raison 2006-07-10 08:53:02 0000 -------
I second the request for a maintainer... got it running on my machine as well
just now (gentoo-sources-2.6.16-r12)

If I'll find the time, I may deal with it myself... but my free time is spare
:(

------- Comment #3 From David Raison 2006-07-10 15:06:18 0000 -------
can anyone confirm that these do not work with kernel 2.6.17?

------- Comment #4 From David Raison 2006-07-11 10:57:37 0000 -------
refer to this thread for the build error on kernel 2.6.17:
http://forums.gentoo.org/viewtopic-p-3438854.html#3438854

------- Comment #5 From David Raison 2006-07-13 15:19:49 0000 -------
Created an attachment (id=91661) [details]
ebuild for r1000 kernel module

This is a first ebuild for the r1000 driver from realtek
My ebuild is far from perfect though.
A few issues that you may help to resolve: 
-I couldn't figure out how to correctly escape the parentheses in the url, so I
copied the file to my server, for the time being (bad idea though, I know)
-I had some trouble with where the source was unpacked and where the compiled
modules finally where, if you know a better way, please feel free to improve my
ebuild

------- Comment #6 From David Raison 2006-07-14 00:06:23 0000 -------
Created an attachment (id=91686) [details]
r1000-103.ebuild (fixed kernel version dependency)

I had a wrong kernel version dependency, so now it's fixed

------- Comment #7 From David Raison 2006-07-17 11:47:44 0000 -------
Created an attachment (id=92012) [details]
realtek r1000 driver

added a dependency (app-arch/unzip)

concerning the kernel 2.6.17 incompatibility, this:
http://www.mail-archive.com/netdev@vger.kernel.org/msg13809.html
should answer that question.

------- Comment #8 From Daniel Drake 2006-08-13 02:39:06 0000 -------
Not that anyone has stepped up to maintain it, but I object to this being added
to the tree. The in-kernel r8169 driver will support this hardware very soon,
we just need some people to test it.

http://www.fr.zoreil.com/linux/kernel/2.6.x/2.6.18-rc2/r8169/0005-r8169-sync-with-vendor-s-driver.txt

------- Comment #9 From Sebastian Stammler 2006-08-27 17:11:45 0000 -------
Created an attachment (id=95235) [details]
ebuild for r1000-1.04

-new version 1.04.
-module_param_array is used instead of MODULE_PARM(obsolete for 2.6 kernels)
-added ~amd64 to the KEYWORDS

------- Comment #10 From Sebastian Stammler 2006-08-27 17:16:25 0000 -------
hi,
i just rewrote the ebuild so it works with the new version 1.04.
i also added a fix that module_param_array is used in the sources instead of
MODULE_PARM. this is deprecated for 2.6 kernels... my 2.6.17 kernel didn't
compile without this fix. now it works with 2.6.17. also added ~amd64 to the
KEYWORDS.

------- Comment #11 From David Raison 2006-08-28 00:32:40 0000 -------
Oh great! Btw, the r8169 driver that's included in the kernel also does the job
if patched with Francois Romieu's changeset. (Just as Daniel pointed out in
comment #8)
(see http://forums.gentoo.org/viewtopic-p-3454719.html#3454719)

------- Comment #12 From Marijn Schouten 2006-09-28 08:54:21 0000 -------
There is another ebuild here:
http://www.zugaina.org/gentoo/portage/net-misc/r1000/r1000-1.04.ebuild

8169 is supported in kernel 2.6.18, but this driver supports other chips too,
such as 8168B. 

------- Comment #13 From Daniel Drake 2006-09-28 10:15:30 0000 -------
gentoo-sources-2.6.18-r1 will include support for 8168 and other new chips

------- Comment #14 From Jakub Moc (RETIRED) 2006-10-09 13:47:33 0000 -------
*** Bug 150637 has been marked as a duplicate of this bug. ***

------- Comment #15 From Daniel Drake 2006-10-15 16:38:13 0000 -------
2.6.18-r1 is now in portage

------- Comment #16 From Marijn Schouten 2006-10-18 04:58:14 0000 -------
(In reply to comment #13)
> gentoo-sources-2.6.18-r1 will include support for 8168 and other new chips

it only supports 8169.

------- Comment #17 From Daniel Drake 2006-10-18 05:09:50 0000 -------
No, it supports 8169 plus the new hardware (8168, 8167, 8136)

$ grep 8168 drivers/net/r8169.c
        { PCI_DEVICE(PCI_VENDOR_ID_REALTEK,     0x8168), 0, 0, RTL_CFG_2 },

------- Comment #18 From Marijn Schouten 2006-10-18 12:16:18 0000 -------
I confirm that it works. Maybe the description can be changed to note the
extended support?

------- Comment #19 From Daniel Drake 2006-11-18 10:42:06 0000 -------
I'm going to close this as an equivalent driver is now shipped in
gentoo-sources-2.6.18 (now stable) and the mainline kernel as of 2.6.19. If
there are bugs in that driver I'll happily tend to them.

------- Comment #20 From Tim Boundy 2007-01-03 03:10:06 0000 -------
The inbuilt kernel driver does not work with the 8101E chip in my Toshiba
Satellite M110 laptop, kernel 2.6.19. Realtek has released version 1.05 of the
r1000 driver, it would be nice if this ebuild remained under development for
those users of the more obscure hardware supported by this driver that is not
yet in the kernel.

------- Comment #21 From Pacho Ramos 2007-01-03 03:29:15 0000 -------
(In reply to comment #20)
> The inbuilt kernel driver does not work with the 8101E chip in my Toshiba
> Satellite M110 laptop, kernel 2.6.19. Realtek has released version 1.05 of the
> r1000 driver, it would be nice if this ebuild remained under development for
> those users of the more obscure hardware supported by this driver that is not
> yet in the kernel.
> 

Do you want that I reopen this bug?

------- Comment #22 From Tim Boundy 2007-01-03 22:02:10 0000 -------
(In reply to comment #21)
I am using the 1.05 version of the r1000 driver with a 2.6.19 kernel, and it
creates a soft-lock in the kernel when modprobing the module, however it only
causes a ~1 second pause and everything functions correctly once loaded. I am
unsure whether it would be better to continue with the r1000 ebuild or to file
a new bug instead asking for 8101E support in the inbuilt kernel. What is your
recommendation? 

------- Comment #23 From Natanael Copa 2007-04-18 18:17:02 0000 -------
Created an attachment (id=116656) [details]
r1000-fastcall.patch

patch to make 1.05 build on a 2.6.18-hardened-r6 kernel. I removed the sed
stuff (MODULE_PARM fix) in ebuild.

I think this bug could be reopened. Its nice to have r1000 as an alternative
since there people have experienced problems with r8169. Some chipsets are not
detected others have problems with bonding. If r1000 driver were available it
would be possible to use the driver that works best for you.

Thanks.

------- Comment #24 From Pacho Ramos 2007-04-18 19:48:38 0000 -------
(In reply to comment #23)
> Created an attachment (id=116656) [edit] [details]
> r1000-fastcall.patch
> 
> patch to make 1.05 build on a 2.6.18-hardened-r6 kernel. I removed the sed
> stuff (MODULE_PARM fix) in ebuild.
> 
> I think this bug could be reopened. Its nice to have r1000 as an alternative
> since there people have experienced problems with r8169. Some chipsets are not
> detected others have problems with bonding. If r1000 driver were available it
> would be possible to use the driver that works best for you.
> 
> Thanks.
> 

Could you please provide a link relating some of these problems?

r1000 drivers works in kernel 2.6.20?

------- Comment #25 From Natanael Copa 2007-04-26 11:56:26 0000 -------
http://bugzilla.kernel.org/show_bug.cgi?id=6032(In reply to comment #24)
> (In reply to comment #23)
> > Created an attachment (id=116656) [edit] [details]
> > r1000-fastcall.patch
> > 
> > patch to make 1.05 build on a 2.6.18-hardened-r6 kernel. I removed the sed
> > stuff (MODULE_PARM fix) in ebuild.
> > 
> > I think this bug could be reopened. Its nice to have r1000 as an alternative
> > since there people have experienced problems with r8169. Some chipsets are not
> > detected others have problems with bonding. If r1000 driver were available it
> > would be possible to use the driver that works best for you.
> > 
> > Thanks.
> > 
> 
> Could you please provide a link relating some of these problems?

Here is a quote from the email traffic with the user that reported those
problems:

>> problem on ubuntu-6.10 too (IIRC its a 2.6.17.x kernel):
>> http://www.howtoforge.com/network_bonding_ubuntu_6.10#comment-3401
>> 
>> Suse have problems with ifdown on r8169 (afaik 2.6.18.2 kernel):
>> http://lists.opensuse.org/opensuse-bugs/2007-03/msg00503.html
>> 
>> The changelog for 2.6.20-rc3 does mention r8169 changes.
>> http://kerneltrap.org/node/7529
>> So there is hope that it might have get fixed.
>
> Looks like a driver bug:
>
> http://bugzilla.kernel.org/show_bug.cgi?id=6032
>
> If mac address can't be changed on the fly, bonding won't work ;-(
>
> There are patches available for various kernels, haven't yet made it
> into mainline due to regressions apparently.


> r1000 drivers works in kernel 2.6.20?

I don't know, sorry.

(I just got no rtl gigabit nics. I will try get some time next week to do some
testing)

------- Comment #26 From Pacho Ramos 2009-09-14 12:29:42 0000 -------
This is solved for me with current kernel (well, since ayes) and kernel drivers
Also ftp://202.65.194.18/cn/nic/rtl8111brtl8168b/r1000-8111b(102).zip seems
died

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug