Skip to content

Instantly share code, notes, and snippets.

@nlienard
Last active February 6, 2016 23:43
Show Gist options
  • Save nlienard/754d83d8b998508c3d02 to your computer and use it in GitHub Desktop.
Save nlienard/754d83d8b998508c3d02 to your computer and use it in GitHub Desktop.
OVH - Kernel générique qui marche
Quand on installe Ubuntu 15 avec le manager OVH, l'installation se fait obligatoirement avec un noyau OVH.
Pour repasser en noyau générique :
1/ installer Ubuntu 15 via le manager OVH
2/ Booter sur le kernel OVH (par default)
3/ set un passwd root (nécessaire pour la console plus tard)
4/ installer le nouveau kernel généric + build-essentials
# apt-get install linux-kernel-generic
# mv /etc/grub.d/06_OVHkernel /etc/grub.d/25_OVHkernel
# update-grub
5/ rebooter sur le nouveau kernel (ex: 4.2 generic)
6/ démarrer une console via KVM applet java
7/ télécharger le driver de la carte réseau ixgbe sur le site intel :
https://downloadcenter.intel.com/download/14687/Network-Adapter-Driver-for-PCI-E-10-Gigabit-Network-Connections-under-Linux-
8/ compiler
# cd ixgbe-4.3.12/src
# make clean
# make CFLAGS_EXTRA="-DIXGBE_NO_LRO"
# make
# make install
9/ modprobe ixgbe
10/ reboot
11/ si pas de réseau :
# rmmod ixgbe ; modprobe ixgbe
12/ automatiser via /etc/rc.local
# Fix ixgbe driver issue at boot
/sbin/rmmod ixgbe
/sbin/modprobe ixgbe
si /etc/rc.local est pas pris en compte; il faut installer un service systemd :
# vi /etc/systemd/system/rc-local.service
[Unit]
Description=/etc/rc.local compatibility
[Service]
Type=oneshot
ExecStart=/etc/rc.local
# disable timeout logic
TimeoutSec=0
#StandardOutput=tty
RemainAfterExit=yes
SysVStartPriority=99
[Install]
WantedBy=multi-user.target
# systemctl enable rc-local.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment