View previous topic :: View next topic |
Author |
Message |
Stubbs Tux's lil' helper
Joined: 16 Nov 2003 Posts: 110
|
Posted: Wed May 19, 2004 6:35 pm Post subject: Slowly getting there. |
|
|
Following on from this post:
https://forums.gentoo.org/viewtopic.php?t=174248&highlight=
I've compiled a 2.6 kernel, and my pcmcia card is working again, but I'm still having a few problems I can't figure out.
#1: When booting I have to manually enter the boot drive, but booting continues normally after that.
This is a snippet from my grub.conf:
Quote: | title Gentoo
root (hd0,1)
kernel (hd0,1)/boot/kernel-2.4.20-gentoo-r8 vga=791 root=/dev/hda3
initrd (hd0,1)/boot/initrd-2.4.20-gentoo-r8
title Gentoo-2.6
root (hd0,1)
kernel (hd0,1)/boot/kernel-2.6.5-gentoo-r1 vga=0x317 splash=verbose root=/dev/hda3
initrd (hd0,1)/boot/initrd-2.6.5-gentoo-r1 |
"Gentoo" boots fine, but Gentoo-2.6 is when I get asked for the drive to boot from. I can't remember the exact wording but it's prefixed by "Stage 4:"
#2: The glidepad on my lappy doesn't "click" when I tap it any more.
#3: It tries to load modules from /etc/modules.autoload.d/kernel-2.4/
There's a few other things, but these are the main ones .... |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54821 Location: 56N 3W
|
Posted: Wed May 19, 2004 6:43 pm Post subject: |
|
|
Stubbs,
I don't see anything wrong with your grub.conf.
The file /etc/modules.autoload is a symbolic link to one of the files in /etc/modules.d you will need to delete it and remake it to point to the file for the 2.6 kernel (and update that file too).
This is a real pain during the migration from 2.4 to 2.6, when you want boot either. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Stubbs Tux's lil' helper
Joined: 16 Nov 2003 Posts: 110
|
Posted: Wed May 19, 2004 6:47 pm Post subject: Re: Slowly getting there. |
|
|
Stubbs wrote: |
"Gentoo" boots fine, but Gentoo-2.6 is when I get asked for the drive to boot from. I can't remember the exact wording but it's prefixed by "Stage 4:"
|
It says "Root device undetected or not specified" |
|
Back to top |
|
|
Stubbs Tux's lil' helper
Joined: 16 Nov 2003 Posts: 110
|
Posted: Thu May 20, 2004 8:02 pm Post subject: |
|
|
NeddySeagoon wrote: | Stubbs,
I don't see anything wrong with your grub.conf.
The file /etc/modules.autoload is a symbolic link to one of the files in /etc/modules.d you will need to delete it and remake it to point to the file for the 2.6 kernel (and update that file too).
This is a real pain during the migration from 2.4 to 2.6, when you want boot either. |
There is no /etc/modules.autoload, there is a /etc/modules.autoload.d/ but that's the directory that holds kernel-2.6, which is actually empty. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54821 Location: 56N 3W
|
Posted: Thu May 20, 2004 8:11 pm Post subject: |
|
|
Stubbs,
The file /etc/modules.d/kernel-2.6 is the list of modules you want loaded when you boot a 2.6 kernel. There will be seperate files /etc/modules.d/kernel-2.4 for 2.4 and so on.
On a new install, these files are empty. You need to populate them if you want things like the nvidia module, usb-storage ide-scsi and so on to load automatically. If you have a monolitic kernel, (no modules) then these files can stay empty.
You should also have a symbolic link in /etc called modules.autoload, that points to one of these files. Without that the file will not be read at startup.
A good starting point would be to copy your /etc/modules.d/kernel-2.4 file to /etc/modules.d/kernel-2.6 so you get the same modules loading for both kerenles. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Stubbs Tux's lil' helper
Joined: 16 Nov 2003 Posts: 110
|
Posted: Thu May 20, 2004 8:27 pm Post subject: |
|
|
NeddySeagoon wrote: | Stubbs,
The file /etc/modules.d/kernel-2.6 is the list of modules you want loaded when you boot a 2.6 kernel. There will be seperate files /etc/modules.d/kernel-2.4 for 2.4 and so on. |
doh!
I assumed it was a directory, not a file.
Nice one.
Any idea about the other things? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54821 Location: 56N 3W
|
Posted: Thu May 20, 2004 8:49 pm Post subject: |
|
|
Stubbs,
If you want a long shot at your grub.conf, then maybe you have got a non-printing character in the line
Quote: | kernel (hd0,1)/boot/kernel-2.6.5-gentoo-r1 vga=0x317 splash=verbose root=/dev/hda3 |
Comment it out for now and retype a new new copy. Don'r do a cut and paste. I reasonably sure the order of kernel parameters is not important. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Stubbs Tux's lil' helper
Joined: 16 Nov 2003 Posts: 110
|
Posted: Thu May 20, 2004 9:39 pm Post subject: |
|
|
NeddySeagoon wrote: | Stubbs,
If you want a long shot at your grub.conf, then maybe you have got a non-printing character in the line
Quote: | kernel (hd0,1)/boot/kernel-2.6.5-gentoo-r1 vga=0x317 splash=verbose root=/dev/hda3 |
Comment it out for now and retype a new new copy. Don'r do a cut and paste. I reasonably sure the order of kernel parameters is not important. |
Ok, I'll edit that and give it a go, it does sound like a long shit, but I cut and paste some of those kernel options in there ...
I got the touchpad/glidepd working too, just change the drivver for the mouse to "synaptics" I'm guessing that was a change from kernel 2.4 to 2.6 as I didn't make any changes to that config file when I did the upload.... |
|
Back to top |
|
|
|