Bug in DRBD causes split-brain, already patched by DRBD devs

cesarpk

Member
Mar 31, 2012
770
2
18
Thanks mir, you saved my life :D

And let me to do a questions:

- How i have on my lab PVE 2.3 with NICs Realtek, and soon i will change to PVE 3.0, so i will need the new drivers Realtek installed on my PVEs for use with DRBD.

The questions:
1- Can you help me for install the new drivers Realtek?
(unfortunately in this country can not get other brands for use on workstations :( )
2- If I can install this new drivers, every time I download a new kernel (aptitude update && aptitude full-upgrade) must I compile it again?
3- About of the installation of this drivers, can i install it since ssh?, because my fear is that it closes the connection.

In any way, again many thanks for having me patience, and God bless you.

Best regards
Cesar
 

mir

Well-Known Member
Apr 14, 2012
3,489
97
48
Copenhagen, Denmark
- How i have on my lab PVE 2.3 with NICs Realtek, and soon i will change to PVE 3.0, so i will need the new drivers Realtek installed on my PVEs for use with DRBD.
The source I send you will work on pve-3.0 as well
1- Can you help me for install the new drivers Realtek?
Just do the same as you have been done so far:
make
make install
update-initramfs -u
reboot
2- If I can install this new drivers, every time I download a new kernel (aptitude update && aptitude full-upgrade) must I compile it again?
See my next answer.
3- About of the installation of this drivers, can i install it since ssh?, because my fear is that it closes the connection.
If I remember correctly it unloads to current driver before building the new driver so ssh is out of the question. You should enable dkms. I have already provided the needed dkms.conf file in the source folder for doing it.
1) cd /usr/src/r8168-8.035.00
2) dkms add -m r8168 -v 8.035.00
3)
dkms build -m r8168 -v 8.035.00
4)
dkms install -m r8168 -v 8.035.00

This will rebuild the driver when ever a new kernel is installed. It will also automatically run update-initramfs -u so the driver for the new kernel will be available at first boot onto the new kernel.
 

cesarpk

Member
Mar 31, 2012
770
2
18
Hi mir

sorry again for my questions of rookie

You said me that "You should enable dkms". but how I enable it?, or i need only execute "aptitude install dkms"? and this is all necessary for use your dkms.conf

Re-edit: I have installed PVE 2.3 how VM (with virtio net) for make test of instalation of the new realtek drivers, into this machine after i have installed the new drivers without messages error and reboot this VM, i execute "cd /usr/src/r8168-8.035.00", and get:
-bash: cd: /usr/src/r8168-8.035.00: No such file or directory

something I did wrong?
 
Last edited:

cesarpk

Member
Mar 31, 2012
770
2
18
Hi mir

I am in a serious problem

I have executed:
# make modules
# make all
# make install
# echo 'blacklist r8169' > /etc/modprobe.d/r8168.conf
# update-initramfs -u
# reboot

And now my PVE not load the NICs, now i only can work on the same host but without net.

any idea?

Best regards
Cesar
 

cesarpk

Member
Mar 31, 2012
770
2
18
Hi

After many tests, tests and more tests my PVE is working with Realtek

Many thanks to mir and all people that was helping me

Best ragards

Cesar
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!