LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-17-2011, 06:48 AM   #1
~ganga~
LQ Newbie
 
Registered: Sep 2006
Distribution: Ubuntu Dapper 6.06
Posts: 11

Rep: Reputation: 0
Recompiling Kernel 2.6.32 : inittramfs-tools fail


Hi,

I am trying to recompile my kernel to include the TUN/TAP module to setup OpenVPN but in the dpkg -i the ouput tail is the following

Quote:
Setting up linux-image-2.6.32 (custom.001) ...
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32 /boot/vmlinuz
update-initramfs: Generating /boot/initrd.img-2.6.32
E: /usr/share/initramfs-tools/hooks/udev failed with return 1.
update-initramfs: failed for /boot/initrd.img-2.6.32
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.3
dpkg: error processing linux-image-2.6.32 (--configure):
subprocess installed post-installation script
returned error exit status 2
Errors were encountered while processing:
linux-image-2.6.32-custom
linux-image-2.6.32


my actual kernel is ( allocated on a VPS ) :

Quote:
root@danielpedraza:~/newkernel# uname -r
2.6.32-4-pve
Any suggestion about what could be the problem?
 
Old 10-17-2011, 08:46 AM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,079

Rep: Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135
What distro and release are you running?
 
Old 10-17-2011, 01:32 PM   #3
~ganga~
LQ Newbie
 
Registered: Sep 2006
Distribution: Ubuntu Dapper 6.06
Posts: 11

Original Poster
Rep: Reputation: 0
I am running Debian 6 on a VPS
Code:
root@danielpedraza:~# cat /etc/issue
Debian GNU/Linux 6.0 \n \l
 
Old 10-17-2011, 01:45 PM   #4
hen770
Member
 
Registered: Oct 2010
Distribution: Arch
Posts: 136

Rep: Reputation: 7
When in the proccess of the recompile you need the dpkg command ?
 
Old 10-18-2011, 03:10 AM   #5
~ganga~
LQ Newbie
 
Registered: Sep 2006
Distribution: Ubuntu Dapper 6.06
Posts: 11

Original Poster
Rep: Reputation: 0
This is the guidelines I follow to compile a kernel

http://www.debianadmin.com/step-by-s...5-0-lenny.html
 
Old 10-18-2011, 04:41 AM   #6
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,079

Rep: Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135Reputation: 1135
Quote:
Originally Posted by hen770 View Post
When in the proccess of the recompile you need the dpkg command ?
The OP has built a .deb for kernel installation. The install of the binary is failing, not the compile.

Something in the package post-installation script is failing, it may be having trouble adding a line into the bootloader script.

What is the output of

Code:
update-grub
Also after doing that try

Code:
dpkg --configure -a

Last edited by cynwulf; 10-18-2011 at 04:42 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL GUI tools fail, segmentation fault tisource Linux - Software 1 10-02-2006 11:28 AM
Increasing Kernel stack size to 8k without recompiling the Kernel deathman Linux - Software 2 04-08-2006 04:39 AM
system-config tools fail to start Elyson Fedora - Installation 2 08-29-2004 12:57 PM
fedora: fail depndencies: modules-init-tools arpi Linux - General 0 03-24-2004 09:39 PM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration