OVH Community, your new community space.

Please Help, Realtek Problem


Myatu
22-08-2013, 23:42
I've added your note to that guide, in the hopes it'll save someone else's hair

RogEnk
22-08-2013, 23:41
Well.

You probably feel a lot more comfortable with the process now!

Phixion
22-08-2013, 23:40
LOL! no worries mate, I've been close to pulling my remaining hair out (not much left!) but at least it's sorted now.

Just annoying that 1 package was causing all them issues!

Myatu
22-08-2013, 23:37
Sawwy

Phixion
22-08-2013, 23:29
turns out it's because i was missing dkms package... sigh, 3 days all because of that.

linux-headers must come with that package because i didn't need to install that.

Myatu
22-08-2013, 23:16
Quote Originally Posted by Phixion
Code:
make: *** /lib/modules/3.2.0-52-generic/build: No such file or directory.
Oh! You're probably missing the Linux headers. Try 'sudo apt-get install linux-headers-3.2.0-52-generic'.

PS: I'll correct that in the little guide thingy-majig.

RogEnk
22-08-2013, 23:15
Quote Originally Posted by Phixion
yes I was getting nothing but errors using his method. Mostly regarding make and certain directories not existing.

You must have installed some packages that I don't have... can u remember what you installed other than build-essential?

Did you install dkms or linux-headers?
I'm on Centos, but I imagine you will need linux-headers.

Phixion
22-08-2013, 22:54
yes I was getting nothing but errors using his method. Mostly regarding make and certain directories not existing.

You must have installed some packages that I don't have... can u remember what you installed other than build-essential?

Did you install dkms or linux-headers?

RogEnk
22-08-2013, 22:39
I posted in the other thread having just done this on a mSP in the BH datacentre.

I used the drivers linked by Myatu (r8168-8.036.00.tar.bz2) which has an autorun.sh script.

I remarked out as Myatu suggested the two rmmod lines and ran the script, rebooted and all is good.

You sure you are getting the right package?
I hesitated, got the one you did. Read more, and reverted back to the one suggested by Myatu.

Phixion
22-08-2013, 22:06
OK so I'm hoping I've got it sorted.

install build-essential and dkms

Download the tarball from Realtek web site.
Unpack the resulting r8169-6.017.00.tar.bz2 to /usr/src.
Add the dkms.conf file to /usr/src/r8169-6.017.00/:

PACKAGE_NAME="r8169"
PACKAGE_VERSION="6.017.00"
CLEAN="make clean"
BUILT_MODULE_NAME[0]="r8169"
BUILT_MODULE_LOCATION[0]="src"
DEST_MODULE_LOCATION[0]="/updates"
MAKE[0]="'make' 'modules'"
AUTOINSTALL="YES"

Build and install the module:
$ sudo dkms install r8169/6.017.00

Phixion
22-08-2013, 18:09
I see, I may try it if this doesn't work.

Neil
22-08-2013, 17:55
Quote Originally Posted by Phixion
No as I have no idea how to do that, I've never messed with kernel settings before. I wouldn't even know where to start.
Just reinstall the server and use the OVH Kernel or change the netboot to an OVH Kernel if you do not want to reinstall.

Phixion
22-08-2013, 17:54
No as I have no idea how to do that, I've never messed with kernel settings before. I wouldn't even know where to start.

Edit: I did try install Debian with OVH kernel and encountered the same problem.

Edit: I am getting 2 different answers when I probe the network card, 1 is telling me it's an 8168B and another that it's an 8169... I've just downloaded an installed the 8169 drivers and it seems to have worked.

Lets see how it goes... fingers firmly crossed!

Neil
22-08-2013, 17:50
Hi

Did you try the OVH Kernel that Felix suggested, since it does appear to be a driver issue?

Phixion
22-08-2013, 17:41
So I've been trying to fix this for 3 days now, my server has crashed and stopped responding to ping ~10+ times in the last few days and I'm getting tired and annoyed.

I follow Myatu's guide in an attempt to install the new drivers but I get nothing but errors.

Code:
Check old driver and unload it.
rmmod r8169
Build the module and install
make: *** /lib/modules/3.2.0-52-generic/build: No such file or directory.  Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 2
build-essential is installed so why won't this thing install?

My next step is to get on the phone to OVH again and request a new motherboard.