aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: kernel 2.6 and modules  (Read 4668 times)

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4236
kernel 2.6 and modules
« on: January 30, 2004, 09:17:14 AM »

Hi there,
since now everybody is thinking about upgrading its kernel I did it as well.
I am runnning SuSE 9 and found some "nice" kernel 2.6 rpms, which of course did not work. Surpirse!  :P
the problem was that f.e. it did not start the network card since it was configured as a module. I have the module-init-tools installed tho. (used also an rpm i found, shame on me :]  )
so I recompiled my kernel and included my network card into the kernel image and ole it worked. :)
so here is my question  

anybody have modules working under kernel 2.6 and when yes, how?

thnx for the help  ;)
bybye
stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Avi

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35
RE: kernel 2.6 and modules
« Reply #1 on: January 30, 2004, 09:47:12 AM »

Out of topic, isn't Kernel 2.6.1 "Stable" already out? ( http://www.kernel.org ) Why not use that?
Then again, you can always use the 2.6.2 RC2. ;) ( http://www.kernel.org/pub/linux/kernel/v2.6/testing/cset/ )
« Last Edit: January 30, 2004, 09:50:20 AM by Avi »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4236
Re: kernel 2.6 and modules
« Reply #2 on: January 30, 2004, 09:49:45 AM »

my bad  :]
forgot this little .1 at the end  ;)

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

pure_ascii

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
Re: kernel 2.6 and modules
« Reply #3 on: January 30, 2004, 11:16:58 AM »

Hi stefanero,

if you're looking for bleeding-edge SuSE packages like kernel 2.6.1, you should look at
http://ftp.leo.org/pub/comp/os/unix/linux/suse/people/kraxel/
or people/kraxel on some other SuSE mirror.

I got a kernel 2.6.1 RPM from there running on my SuSE 9.0 laptop.
IIRC you'll need a new version of modutils and initrd to work with it.
They contain a script to generate the modprobe.conf, that's the replacement for modules.conf for the 2.6 kernel.
Additional handwork is needed to polish the modprobe.conf, but that should not be a big problem.

The remaining problem I had was hotplugging, but today I found a new beta version there and I will try it afterwards.


HTH, pure_ascii.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4236
Re: kernel 2.6 and modules
« Reply #4 on: January 30, 2004, 12:41:37 PM »

ok thanks for your help pure_ascii!
the kernel rpm you said I was already using, and it wokred perfect on my laptop, surpise!  :)
then I though alright, lets try the big one.
loding modules by hand right now functions very well, so going to the directory and so on.
I guess I just have to find those new version from initrd and modutils. but modutils are not called that anymore under 2.6 right? now its called module-init-tools, is that right?

thx for your help tho

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Citroklar

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 148
Re: kernel 2.6 and modules
« Reply #5 on: January 30, 2004, 12:49:25 PM »

yes, it's module-init-tools, you can get them from ftp.kernel.org (source) or from your distribution...

Citroklar
Logged
#!/bin/ssh
#The Unix Guru's View of Sex
unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ; umount ; sleep