LinuxQuestions.org
Register a domain and help support LQ
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 07-27-2007, 02:54 PM   #1
1337ln
LQ Newbie
 
Registered: Jun 2006
Location: B-Ville, PA
Distribution: Slackware 13.37
Posts: 15

Rep: Reputation: 0
make-kpkg kernel compilation issues


I am using Debian Lenny kernel version Linux-2.6.21-2-686. I have been using Debian and Debian based distros for a while now, and kernel compilation has always been something I wanted to get into. I figured bootsplash would be an excellent tweak to start with =]

I began following the instructions located at
http://foo-bar.dk/7/12/

and the only time I strayed from that guide is when it told me to get the bootsplash patch from http://bootsplash.de/ (returned a 404 : page not found)



I realized from my own research it's now in the repos, so I preceeded to

Code:
apt-get install linux-patch-bootsplash
and then
Code:
cd /usr/src/kernel-patches/diffs/bootsplash
gunzip bootsplash-3.1.6-2.6.21.diff.gz
then I installed my kernel source and patched the kernel
Code:
apt-get install linux-source-2.6.21
cd /usr/src
tar -xjf linux-source-2.6.21.tar.bz2
ln -s linux-source-2.6.21 linux
cd linux
patch -p1 < ../kernel-patches/diffs/bootsplash/bootsplash-3.1.6-2.6.21.diff
all goes well, next
Code:
make menuconfig
make-kpkg --initrd binary-arch
after a long, long compile time (800MHz cpu)

back to a prompt

here's the catch

when I go on to the next step
Code:
make-kpkg modules_image
This happends:
Code:
Longcindia:/usr/src/linux# make-kpkg modules_image
exec debian/rules  DEBIAN_REVISION=2.6.21-10.00.Custom  modules_image
for module in  ; do                       \
          if test -d  $module; then                                \
            (cd $module;                                          \
              if ./debian/rules KVERS="2.6.21" KSRC="/usr/src/linux" \
                             KMAINT="Unknown Kernel Package Maintainer" KEMAIL="unknown@unconfigured.in.etc.kernel-pkg.conf"      \
                             KPKG_DEST_DIR="/usr/src/linux/.."       \
                             KPKG_MAINTAINER="Unknown Kernel Package Maintainer"        \
                             KPKG_EXTRAV_ARG=""        \
                             ARCH="i386"         \
                             KDREV="2.6.21-10.00.Custom" kdist_image; then    \
                  echo "Module $module processed fine";            \
              else                                                  \
                   echo "Module $module failed.";                  \
                   if [ "X" != "X" ]; then      \
                      echo "Perhaps $module does not understand --rootcmd?";  \
                      echo "If you see messages that indicate that it is not"; \
                      echo "in fact being built as root, please file a bug ";  \
                      echo "against $module.";                     \
                   fi;                                              \
                   echo "Hit return to Continue";                   \
                 read ans;                                        \
              fi;                                                   \
             );                                                    \
          else                                                      \
               echo "Module $module does not exist";               \
               echo "Hit return to Continue?";                      \
          fi;                                                       \
        done
Longcindia:/usr/src/linux#
wth is that!? XD

It looks like a shell script, why or how I'm not sure (this is my first kernel compilation project)

It does say however done at the bottom, should this be ignored?
please help/advise

--
Salvatore Nuzzo
 
Old 07-27-2007, 03:19 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 63
I do not see where you actually downloaded any modules so there are no modules to compile you do not need to do the modules_image step you should just install the kernel-image-??? and kernel-headers-??? packages that should be in your /usr/src then reboot into the new kernel to see if you got a working bootsplash from your efforts.
 
Old 07-27-2007, 05:35 PM   #3
1337ln
LQ Newbie
 
Registered: Jun 2006
Location: B-Ville, PA
Distribution: Slackware 13.37
Posts: 15

Original Poster
Rep: Reputation: 0
hmm, alright
So I went ahead and installed my newly compiled kernel, and it came up with the following errors. It seems even though I have installed the bootsplash package in the Debian testing repos, as well as bootsplash-theme-debian, it seems the configuration script couldn't find the splash command, or my splash theme.

Is there anything I can do to point either or both in the right direction?
Code:
Longcindia:/usr/src# dpkg -i *.deb
Selecting previously deselected package linux-headers-2.6.21.
(Reading database ... 98741 files and directories currently installed.)
Unpacking linux-headers-2.6.21 (from linux-headers-2.6.21_2.6.21-10.00.Custom_i386.deb) ...
Selecting previously deselected package linux-image-2.6.21.
Unpacking linux-image-2.6.21 (from linux-image-2.6.21_2.6.21-10.00.Custom_i386.deb) ...
Done.
Setting up linux-headers-2.6.21 (2.6.21-10.00.Custom) ...

Setting up linux-image-2.6.21 (2.6.21-10.00.Custom) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
/usr/share/initramfs-tools/hooks/bootsplash: line 51: splash: command not found
Running postinst hook script update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.21-2-686
Found kernel: /boot/vmlinuz-2.6.21
Updating /boot/grub/menu.lst ... done


Longcindia:/usr/src#
 
Old 07-27-2007, 05:57 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 63
Quote:
Originally Posted by 1337ln
hmm, alright
So I went ahead and installed my newly compiled kernel, and it came up with the following errors. It seems even though I have installed the bootsplash package in the Debian testing repos, as well as bootsplash-theme-debian, it seems the configuration script couldn't find the splash command, or my splash theme.

Is there anything I can do to point either or both in the right direction?
Code:
Longcindia:/usr/src# dpkg -i *.deb
Selecting previously deselected package linux-headers-2.6.21.
(Reading database ... 98741 files and directories currently installed.)
Unpacking linux-headers-2.6.21 (from linux-headers-2.6.21_2.6.21-10.00.Custom_i386.deb) ...
Selecting previously deselected package linux-image-2.6.21.
Unpacking linux-image-2.6.21 (from linux-image-2.6.21_2.6.21-10.00.Custom_i386.deb) ...
Done.
Setting up linux-headers-2.6.21 (2.6.21-10.00.Custom) ...

Setting up linux-image-2.6.21 (2.6.21-10.00.Custom) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
/usr/share/initramfs-tools/hooks/bootsplash: line 51: splash: command not found
Running postinst hook script update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.21-2-686
Found kernel: /boot/vmlinuz-2.6.21
Updating /boot/grub/menu.lst ... done


Longcindia:/usr/src#
Look at line 51 in the file /usr/share/initramfs-tools/hooks/bootsplash to see what it says as to where it thinks it should find the splash command according to the file list of the bootsplash package it should be /usr/sbin/splash or /sbin/splash.sh you may have to edit the file to put the path in there. Once you would have done this the use dpkg -P on both the kernel and headers package to uninstall then install them again. For not finding the theme you might want to read the docs that came with the packages to see if there is some place you were expected to have put a theme for it to be used.
 
  


Reply

Tags
bootsplash, debian, kernel, kernel package, lenny, patching


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
Repeated kernel builds on Ubuntu using make-kpkg martinrp Linux - Kernel 4 01-10-2007 02:25 PM
Kernel compile fails with make-kpkg, not with make cspos Debian 37 11-09-2005 09:11 AM
Kernel make-kpkg error TaNeK Debian 7 01-09-2005 12:24 PM
make-kpkg not working, so no kernel includes genixpro Linux - Hardware 3 09-14-2004 06:56 PM
Need some advice on upgrading kernel via make-kpkg davidas Debian 4 04-07-2004 07:02 PM


All times are GMT -5. The time now is 01:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration