OVH Community, your new community space.

Help needed compiling the kernel ubuntu 8.10 server


DigitalDaz
19-02-2009, 20:07
I believe the default OVH kernal is not modular, if you do a search on the forums there is a post somewhere on how to recompile.

gregoryfenton
19-02-2009, 20:04
2.6.27.10-grsec-xxxx-grs-ipv4-32

How do I compile a new kernel to enable ipv6 - and why on an ipv6 server is it not enabled by default at installation?

Following the code at http://beginlinux.com/desktop_traini...-ubuntu-kernel I get this immediately:
Code:
root@:/home/websites/custom.labby.co.uk# apt-get install kernel-package libncurses5-dev fakeroot wget bzip2 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
kernel-package is already the newest version.
libncurses5-dev is already the newest version.
fakeroot is already the newest version.
wget is already the newest version.
bzip2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up linux-image-2.6.27-11-generic (2.6.27-11.27) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.27-11-generic
grep: /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
Could not find postinst hook script [update-grub].
Looked in: '/bin', '/sbin', '/usr/bin', '/usr/sbin'
dpkg: error processing linux-image-2.6.27-11-generic (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-2.6.27-11-generic; however:
  Package linux-image-2.6.27-11-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image:
 linux-image depends on linux-image-generic (= 2.6.27.11.14); however:
  Package linux-image-generic is not configured yet.
dpkg: error processing linux-image (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                    No apport report written because MaxReports is reached already
                                  No apport report written because MaxReports is reached already
                dpkg: dependency problems prevent configuration of dkms:
 dkms depends on linux-image; however:
  Package linux-image is not configured yet.
  Package linux-image-2.6.27-11-generic which provides linux-image is not configured yet.
dpkg: error processing dkms (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-ose-source:
 virtualbox-ose-source depends on dkms; however:
  Package dkms is not configured yet.
dpkg: error processing virtualbox-ose-source (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-2.6.27-11-generic
 linux-image-generic
 linux-image
 dkms
 virtualbox-ose-source
E: Sub-process /usr/bin/dpkg returned an error code (1)