Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: paulfung on June 16, 2008, 10:36:43 AM

Title: Get the Onboard Realtek RTL-811x/8168 work with a r1000 Driver
Post by: paulfung on June 16, 2008, 10:36:43 AM
I guess many of us here did have problem using the Realtek RTL-811x/8168 LAN onboard, as SME (until 7.3) will call it a unknown device without driver.

I try to make it work with a r1000 driver in :

http://linuxsoft.cern.ch/cern/slc45/i386/yum/extras/repodata/repoview/kernel-module-r1000-2.6.9-67.0.15.EL.cern-1-1.03-1.slc4.html (http://linuxsoft.cern.ch/cern/slc45/i386/yum/extras/repodata/repoview/kernel-module-r1000-2.6.9-67.0.15.EL.cern-1-1.03-1.slc4.html)
http://linuxsoft.cern.ch/cern/slc45/i386/yum/extras/repodata/repoview/kernel-module-r1000-2.6.9-67.0.15.EL.cernsmp-1-1.03-1.slc4.html (http://linuxsoft.cern.ch/cern/slc45/i386/yum/extras/repodata/repoview/kernel-module-r1000-2.6.9-67.0.15.EL.cernsmp-1-1.03-1.slc4.html)

install the rpm by rpm -ivh --nodeps *.rpm, I got 2 new file.

/lib/modules/2.6.9-67.0.15.EL.cern/drivers/net/r1000.ko
/lib/modules/2.6.9-67.0.15.EL.cernsmp/drivers/net/r1000.ko

I copy the 2 files to :
/lib/modules/2.6.9-67.0.7.EL/kernel/drivers/net
/lib/modules/2.6.9-67.0.7.ELsmp/kernel/drivers/net

Then I do the system update of 7.3 with a reconfiguration.

And it work like a native supported NIC.

Can anyone help to make a sme rpm of it, or put it into the next release to make all our life easier ?

Or should I create a bug report ?
Title: Re: Get the Onboard Realtek RTL-811x/8168 work with a r1000 Driver
Post by: cactus on June 16, 2008, 08:51:57 PM
Can anyone help to make a sme rpm of it, or put it into the next release to make all our life easier ?

Or should I create a bug report ?
Since SME Server development resources are very limited, lots of packages are taken from upstream CentOS repositories. I suggest you launch a bug in the CentOS bugtracker first and post a referrence in a bug in the contribs.org bugtracker. I know from experience th devs have no resources to take this up. If you need to I would like to be of help to have you roll this into a RPM that can be installed on SME Server.

But I think the proper method would be to get the source of the package and recompile on a CentOS 4.6 like architecture as your RPM's seems to come from a very different source.
Title: Re: Get the Onboard Realtek RTL-811x/8168 work with a r1000 Driver
Post by: crazeann on August 01, 2008, 10:37:15 AM
thanks a lot dude.....
i've tried to search the driver about a half of year ago....but didnt make it work.

Do you mean copy :

/lib/modules/2.6.9-67.0.15.EL.cern/drivers/net/r1000.ko

to

/lib/modules/2.6.9-67.0.7.EL/kernel/drivers/net

and copy

/lib/modules/2.6.9-67.0.15.EL.cernsmp/drivers/net/r1000.ko

to :

/lib/modules/2.6.9-67.0.7.ELsmp/kernel/drivers/net

OR...copy both to both directory.
Title: Re: Get the Onboard Realtek RTL-811x/8168 work with a r1000 Driver
Post by: paulfung on August 01, 2008, 11:19:25 AM
yap, you are right,

that is :

cp /lib/modules/2.6.9-67.0.15.EL.cern/drivers/net/r1000.ko  /lib/modules/2.6.9-67.0.7.EL/kernel/drivers/net

and

cp /lib/modules/2.6.9-67.0.15.EL.cernsmp/drivers/net/r1000.ko /lib/modules/2.6.9-67.0.7.ELsmp/kernel/drivers/net

Then make sure that they are owned by root:root with 744 right setting.

I am happy that this information help.