You are not logged in.

#1 2003-09-19 01:30:13

contrasutra
Member
From: New Jersey
Registered: 2003-07-26
Posts: 507

step by step for 2.6

So I think im finally ready to make the plundge to the 2.6 kernel.

So I need some help. Ive only compiled a kernel a few times, and I never changed many settings.

So could someone give a step by step for it (being sure to list any arch-specific quirks)? I would greatly appreciate it.

Also, I hear theres a patch that lets you run the Official Nvidia drivers with the 2.6 kerne, has anyone gone through this? I really have no idea how to go about doing this,as i've only ever installed the .run file.


Any help would be appreciated.

Also, its possible to switch between the 2.4 and 2.6 kernel, right? (obviously with a reboot).

Lastly, Is a new release of the 2.6 due out anytime soon? I dont want to download and compile this just to find a new version comes out.


"Contrary to popular belief, penguins are not the salvation of modern technology.  Neither do they throw parties for the urban proletariat."

Offline

#2 2003-09-19 03:51:11

_JeffG_
Member
Registered: 2003-08-04
Posts: 61
Website

Re: step by step for 2.6

well, I think I just recompiled it as per the correct method for 2.6 kernels worked fine so far... 

Jeff

Offline

#3 2003-09-19 04:01:35

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: step by step for 2.6

i believe you need a different mod-utils or something. there is a reference to it in another post on this forum.


AKA uknowme

I am not your friend

Offline

#4 2003-09-19 12:19:36

red_over_blue
Member
Registered: 2003-07-19
Posts: 152

Re: step by step for 2.6

You have to use module-init-tools which supercedes modutils.  I made a PKGBUILD for it for my local system simply so I could uninstall it easier if I wanted.  However, you still need the old modutils as well.

Here is my hack to get module-init-tools working:

1.  Use the PKGBUILD below to compile and install module-init-tools.
2.  For each of modprobe, lsmod, rmmod, depmod, and modinfo from modutils, rename those to modprobe.old, lsmod.old, etc.  To find where these binaries are, use "pacman -Ql modutils".
3.  Create symbolic links from the binaries that modutils used to provide to the new binaries that module-init-tools provides.  Again, use "pacman -Ql module-init-tools" to figure out where the new ones are.

Example - modutils provides /sbin/lsmod.  Rename that to /sbin/lsmod.old.  module-init-tools provides /usr/bin/lsmod.  Create a symbolic link as follows:

[root@limbo root]# ln -s /usr/bin/lsmod /sbin/lsmod

If you aren't 100% sure what i am trying to say here, don't try any of it, or you will bork your system.  Also, this is more of a hack, and that's why I didn't upload the package to incoming.  I only made the PKGBUILD to keep track of where everything was going.

Anyway... hope this helps you on your way to:

[john@limbo john]$ uname -r     
2.6.0-test5
[john@limbo john]$

PKGBUILD
-------------------------------

pkgname=module-init-tools
pkgver=0.9.13
pkgdesc=""
url="http://www.kernel.org/pub/linux/kernel/people/rusty/modules/"
depends=()
conflicts=()
backup=()
install=
source=(http://www.kernel.org/pub/linux/kernel/people/rusty/modules/$pkgname-$pkgver.tar.gz)

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure
  make || return 1
  make prefix=$startdir/pkg/usr install
}

Don't forget to post your PKGBUILD in your thread when you announce a new package in incoming.
see HERE for details

Offline

#5 2003-09-19 21:25:49

contrasutra
Member
From: New Jersey
Registered: 2003-07-26
Posts: 507

Re: step by step for 2.6

Thanks for the help.

The kernel source is a big download for me, so i'll wait to hear what other people have to say before preceding.



I fully understand what you are saying, and it makes sense.


"Contrary to popular belief, penguins are not the salvation of modern technology.  Neither do they throw parties for the urban proletariat."

Offline

#6 2003-09-21 18:51:09

contrasutra
Member
From: New Jersey
Registered: 2003-07-26
Posts: 507

Re: step by step for 2.6

OK, im downloading the 2.6-test5 source now. Then i'll update the mod-init-tools.

Im then going to be installing it using these intstructions:
http://kerneltrap.org/node/view/799

and im going to apply the -mm patches using the guide here:
http://kerneltrap.org/node/view/875

Im then going to install the nvidia drivers after using the guide here:
http://www.minion.de/files/NVIDIA_kerne … 496.README


I hope i'm not missing something.

Thanks for all the help, does anyone have any last minute tips?


"Contrary to popular belief, penguins are not the salvation of modern technology.  Neither do they throw parties for the urban proletariat."

Offline

Board footer

Powered by FluxBB