Hi.
After some considerations I've decided to try and compile a new kernel.
Here's my details:
HP nc6120 Laptop, running WindowsXP and Slack 10.0 and 2.4.26 kernel.
(ntldr as bootmanager)
Here's how I did a recompile:
downloaded linux-2.6.11.11.tar.gz from kernel.org
[all commands after this]
cp /home/geir/linux-2.6.11.11.tar.gz /usr/src
tar zxvf linux-2.6.11.11.tar.gz
rm linux
ln -s linux-2.6.11.11 linux
cd linux
cp /boot/config-ide-2.4.26 .config
make oldconfig
make bzImage
make modules
make modules_install
rm /boot/config
rm /boot/System.map
mv /boot/vmlinuz /boot/vmlinuz-old
cp System.map /boot/System.map-2.6.11.11
cp .config /boot/config-2.6.11.11
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.11.11
cd /boot
ln -s System.map-2.6.11.11 System.map
ln -s config-2.6.11.11 config
ln -s vmlinuz-2.6.11.11 vmlinuz
[added to lilo.conf]
(changed the: image = /boot/vmlinuz .. to image = /boot/vmlinuz-old)
(added..)
image = /boot/vmlinuz-2.6.11.11
root = /dev/hda2
label = Slack_2.6.11.11
read-only
[more commands]
lilo -v
dd if=/dev/hda2 bs=512 count=1 of=/linux.bin
(the linux.bin file is copied over to the windows partition, and overwrites the old linux.bin file)
Here's my problem....
At first reboot everything looks great, and works great.
usbmouse works, sound works (onboard intel ICH6, snd-intel8x0 compatible soundcard).
I use it for a while, and I configure fluxbox the way I want...
Then I decide to reboot, and when starting again, no modules are loaded, nothing works.
lsmod returns empty list
I check /lib/modules/2.6.11.11/kernel/...
and there are many .ko files there
the modules.dep file is completely empty......
Anyone have a suggestion as to what I'm doing wrong?
I use these commands from a page I found on google.com/linux
http://www.sysdesign.ca/guides/linux_kernel.html
(I guess it was written for 2.4.x kernels and I'm not sure the same things apply to 2.6.x kernels)
I've also used the tutorial from these pages:
http://www.linuxquestions.org/questi...icle&artid=408
(Compiling kernel 2.6.10 on a Slackware 10.1, by acidjuice)
Hope someone can give me a pointer)
-Geir