Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wanting to install 2.6.0-test4, Will this work?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
fizz
Guru
Guru


Joined: 31 Aug 2003
Posts: 309
Location: Florida

PostPosted: Tue Sep 02, 2003 5:43 pm    Post subject: Wanting to install 2.6.0-test4, Will this work? Reply with quote

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
View user's profile Send private message
mmealman
Guru
Guru


Joined: 02 Nov 2002
Posts: 348
Location: Florida

PostPosted: Tue Sep 02, 2003 8:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
fizz
Guru
Guru


Joined: 31 Aug 2003
Posts: 309
Location: Florida

PostPosted: Wed Sep 03, 2003 12:15 am    Post subject: Reply with quote

is initrd even needed? i currently have it in my grub.conf
Back to top
View user's profile Send private message
swingarm
l33t
l33t


Joined: 08 Jun 2002
Posts: 627
Location: Northern Colorado

PostPosted: Wed Sep 03, 2003 12:51 am    Post subject: Reply with quote

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
View user's profile Send private message
Curious
Bodhisattva
Bodhisattva


Joined: 13 May 2002
Posts: 395
Location: Sydney, Australia

PostPosted: Wed Sep 03, 2003 3:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Curious
Bodhisattva
Bodhisattva


Joined: 13 May 2002
Posts: 395
Location: Sydney, Australia

PostPosted: Wed Sep 03, 2003 10:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
chotchki
Retired Dev
Retired Dev


Joined: 15 Jul 2003
Posts: 76
Location: Tampa, FL

PostPosted: Sat Sep 06, 2003 4:10 am    Post subject: PTYs Reply with quote

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
View user's profile Send private message
corrs_fan
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2002
Posts: 78
Location: Giffnock, East Renfrewshire

PostPosted: Sun Sep 07, 2003 1:07 am    Post subject: Reply with quote

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
View user's profile Send private message
chotchki
Retired Dev
Retired Dev


Joined: 15 Jul 2003
Posts: 76
Location: Tampa, FL

PostPosted: Tue Sep 09, 2003 4:06 am    Post subject: Custom Compile Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum