View previous topic :: View next topic |
Author |
Message |
fizz Guru
Joined: 31 Aug 2003 Posts: 309 Location: Florida
|
Posted: Tue Sep 02, 2003 5:43 pm Post subject: Wanting to install 2.6.0-test4, Will this work? |
|
|
ive got the howto from kerneltrap, but is there anything special that i need to do for initrd and grub, or anything else i should look out for?
Which packages should be updated etc before compiling, and then anything special afterwards?
Also will i need to get the nvidia patch for 2.6? |
|
Back to top |
|
|
mmealman Guru
Joined: 02 Nov 2002 Posts: 348 Location: Florida
|
Posted: Tue Sep 02, 2003 8:43 pm Post subject: |
|
|
Okay, this is what worked for me.
emerge development-sources and it'll grab the dependencies.
mkdir /sys
Make the /usr/src/linux symlink point to the 2.6 kernel.
Mount your boot and compile the kernel: make, make modules_install
cp the kernel image onto your /boot but call it something so you don't overwrite your existing kernel.
Create a new entry in your grub or lilo to boot up the new kernel. Grub doesn't need anything special.
Reboot into the new kernel and if you have a nvidia card, XDM/X will fail.
To get the nvidia card back up run:
emerge /usr/portage/media-video/nvidia-kernel/nvidia-kernel-1.0.4496-r1.ebuild
emerge /usr/portage/media-video/nvidia-glx/nvidia-glx-1.0.4496.ebuild
The latest 4496 Gentoo ebuild has the 2.6 patch in it.
Then insmod /lib/modules/2.6.0-test4/video/nvidia.o
You should now be able to get into X.
With ALSA I just compiled all my 2.6 kernel ALSA stuff as modules and it worked right on the initial boot. |
|
Back to top |
|
|
fizz Guru
Joined: 31 Aug 2003 Posts: 309 Location: Florida
|
Posted: Wed Sep 03, 2003 12:15 am Post subject: |
|
|
is initrd even needed? i currently have it in my grub.conf |
|
Back to top |
|
|
swingarm l33t
Joined: 08 Jun 2002 Posts: 627 Location: Northern Colorado
|
Posted: Wed Sep 03, 2003 12:51 am Post subject: |
|
|
I guess I could've used this about a week ago. I decided not to do the 2.4 kernel and 2.6 kernel at the same time, it seemed to complicated at the time. One other tip, if you are going to install KDE and will use Konsole then you need to set these options in when configuring the kernel:
Code: |
[*] Unix98 PTY support
[*] /dev/pts file system for Unix98 PTYs
|
If you don't then Konsole will open then close right away(as root) or will error upon opening then close(as a user). The Gentoo install instructions say that the second line listed above is not needed, well if you want Konsole you definitely need it if using the 2.6 Kernel. The first line I don't know for sure if you need it, I went with the 'better safe then sorry' theory and included it.
To respond to:
Quote: | is initrd even needed? i currently have it in my grub.conf |
I don't have initrd in my grub.conf in either my midtower or laptop and they both boot fine. |
|
Back to top |
|
|
Curious Bodhisattva
Joined: 13 May 2002 Posts: 395 Location: Sydney, Australia
|
Posted: Wed Sep 03, 2003 3:43 am Post subject: |
|
|
Something thats giving me a lot of grief at the moment is that the new generation module utilities ( with their new lower version numbers ) are causing build procedures that check the version of modutils ( i.e. pcmcia-cs, which I need ) to fail.
Bummer! I'm sure I'll come up with some hack for it though.
-- Curious _________________ Are you down with the Hawk? |
|
Back to top |
|
|
Curious Bodhisattva
Joined: 13 May 2002 Posts: 395 Location: Sydney, Australia
|
Posted: Wed Sep 03, 2003 10:53 pm Post subject: |
|
|
Curious wrote: | ( i.e. pcmcia-cs, which I need ) |
This turned out not to be a big issue. I used cardmgr compiled against 2.4 and card drivers out of 2.6. Pity the stock orinoco driver doesn't have rfmon support. :-/
The only remaining problem is the tty corruption on the neofb framebuffer driver. Will see if I can help the developer with it.
-- Curious _________________ Are you down with the Hawk? |
|
Back to top |
|
|
chotchki Retired Dev
Joined: 15 Jul 2003 Posts: 76 Location: Tampa, FL
|
Posted: Sat Sep 06, 2003 4:10 am Post subject: PTYs |
|
|
Hey swingarm,
The dev/pts filesystem has been depreciated.
What you need to enable is the /dev filesystem, and tell it to auto boot.
It built into 2.6 so it shouldn't be much of a problem.
Also fizz, initrd is used for autodetection under hotplug. If you custom compile your kernel you shouldn't need it. _________________ If Windows is an OS made by professionals, and Linux is one by amateurs. Ponder this, Noah an amateur built the ark, professionals built the Titanic. |
|
Back to top |
|
|
corrs_fan Tux's lil' helper
Joined: 16 Sep 2002 Posts: 78 Location: Giffnock, East Renfrewshire
|
Posted: Sun Sep 07, 2003 1:07 am Post subject: |
|
|
Quote: | Also fizz, initrd is used for autodetection under hotplug. If you custom compile your kernel you shouldn't need it. |
this caused me some troubles too, as genkernel created this, but since this doesnt work yet with 2.6, i had to custom compile it & was left with a difficulty.
I Basically used the settings from the initial install docs, at the bit that covers the grub.conf file, those are the only bits you need (the lines that begin root & kernel, all others are for decoration). though if you use genkernel "bzImage" seems to be renamed "kernel-x.y.x" _________________ Some say "The glass is half empty",
I usually say "Eh, There was a Glass.." |
|
Back to top |
|
|
chotchki Retired Dev
Joined: 15 Jul 2003 Posts: 76 Location: Tampa, FL
|
Posted: Tue Sep 09, 2003 4:06 am Post subject: Custom Compile |
|
|
If you just add another entry to grub.conf you should be able to boot your old kernel and the custom one quite easily.
Be careful though, I'm having massive problems with my nvidia-drivers and alsa. _________________ If Windows is an OS made by professionals, and Linux is one by amateurs. Ponder this, Noah an amateur built the ark, professionals built the Titanic. |
|
Back to top |
|
|
|