[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

compiled and installed new kernel, but dkpg does not find it



Hi,

I downloaded the source for 2.4.22 and compiled it and installed using dpkg:
  461  cd kernel-source-2.4.22
  462  cp /boot/config-2.4.18-bf2.4 ./.config
  463  make menuconfig
  464  make menuconfig
  465  make-kpkg clean
  466  make-kpkg --append_to_version -nvidia kernel_image modules_image
  467  cd ..
  468  dpkg -i kernel-image-2.4.22-nvidia_10.00.Custom_i386.deb


And I am not able to make the mouse move, seems like the new kernel doesn't see the mouse. This new kernel was compiled because I wanted to use the new nvidia driver. I followed the steps given here:
http://www.leonscape.co.uk/linux/how2-nvg4.html

I might have missed something in the menuconfig options (though I don't see what, since I copied older config to used as the new one) or in the editing of XF86config file. So I am thinking of compiling it again. But if I were to reinstall a new version of the same kernel, dpkg would complain about the already existing /lib/modules/kernel-<version-number>. To avoid this, I am thinking of removing the older kernel. But "dpkg -L" doesn't see the kernel I installed yesterday:
/usr/src# dpkg -L kernel-image-2.4.22-nvidia_10.00.Custom_i386.deb
Package `kernel-image-2.4.22-nvidia_10.00.custom_i386.deb' is not installed.

Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.



So perhaps removing that package with "dkpg -p kernel-image-2.4.22-nvidia_10.00.Custom_i386.deb" before recompiling it would work. Am I on the right track?

->HS


--
(Remove all underscores,_if any_, from my email address to get the correct one. Apologies for the inconvenience, but this is to reduce spam.)




Reply to: