Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: mobrien_12 on 28 January 2004, 21:52

Title: kernel 2.6.1
Post by: mobrien_12 on 28 January 2004, 21:52
I downloaded the linux 2.6.1 tarball from www.kernel.org (http://www.kernel.org...)... and I'm dissapointed.

I followed all the instructions and updated modutils, etc.  I checked the gpg signature of the kernel source.  

First off, I noticed that the complete abscence of USB choices from the kernel config.  After I finished a successful compile, sure enough there were no USB kernel modules   :(  

Sources for two modules would not compile... they were for drivers that I didn't need, so I took them out of the config file, but I'm suprised anything made it into a release kernel, especially a bugfix release kernel, that wouldn't compile.

After booting, most of the kernel modules refused to load... some (like ipchains) would load if I manually modprobed them but others, like my NIC module, wouldn't work at all.

Anyone get this kernel working?

[ January 28, 2004: Message edited by: M. O'Brien ]

Title: kernel 2.6.1
Post by: restin256 on 28 January 2004, 11:23
It is 2.6.1.. I wouldn't have expected much.  :(
Title: kernel 2.6.1
Post by: Master of Reality on 28 January 2004, 15:59
did you already have 2.6.0 running?
Title: kernel 2.6.1
Post by: KernelPanic on 28 January 2004, 18:51


[ January 28, 2004: Message edited by: Tux ]

Title: kernel 2.6.1
Post by: Refalm on 28 January 2004, 18:51
quote:
M. O'Brien: Anyone get this kernel working?


I have and I must say it's very good. I like all the new options, and my USB camera didn't have drivers anyway, and I run 2.4 on my router and 2.6.1 here, so I don't have ipchains on here  (http://smile.gif)
Title: kernel 2.6.1
Post by: Kintaro on 28 January 2004, 19:32
I was thinking of putting it on my router till I seen this.

Ill keep 2.4.20 on there atm.
Title: kernel 2.6.1
Post by: flap on 28 January 2004, 19:38
ipchains was deprecated with 2.4; why are you still wanting to use it with 2.6?

[ January 28, 2004: Message edited by: flap ]

Title: kernel 2.6.1
Post by: mobrien_12 on 28 January 2004, 20:29
I did not try to compile 2.6.0.  I decided to wait until 2.6.1 came out.  As a result, I made sure to get the 2.6.1 source, not the source patch to take 2.6 source to 2.6.1.

I still use ipchains on my desktop box because I have an extensive battery of handwritten rules which work and I don't feel like taking the time to rewrite them in iptables.
Title: kernel 2.6.1
Post by: preacher on 29 January 2004, 00:25
quote:
Originally posted by flap:
ipchains was deprecated with 2.4; why are you still wanting to use it with 2.6?

[ January 28, 2004: Message edited by: flap ]



I have to agree with flap here. Use iptables instead.
Title: kernel 2.6.1
Post by: SAJChurchey on 29 January 2004, 23:18
Did you check what version of GCC you were running?  That may have something to do w/ it.  How did you configure your kernel exactly?

I got a monolithic version of the kernel to run just fine, after taking out some options that I didn't need, and there is a whole section on USB in the configuratiion programs (I used make xconfig).  It all worked fine for me, except the sound, but it was on FC 1, and I have to make a few changes to my system so that it uses ALSA instead of OSS.
Title: kernel 2.6.1
Post by: KernelPanic on 30 January 2004, 00:39
Which distro?
Title: kernel 2.6.1
Post by: runkpock on 5 February 2004, 05:14
If you are going to use 2.6 you need to update your
kernel module utilities, otherwise you wont be
able to use ip(chains|tables), the new package is
here
http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/ (http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/)
after you install that, you should be able to use
usb and iptables, and oh by the way, you should
always check before you install a new kernel, the
requirements for running it ;]
/usr/src/linux/Documentation/Changes
currently contains that information. and yes usb
and iptables DO work. also about iptables,
ipchains and everything else, iptables and
are just userland commands, the kernel uses
netfilter to firewall, you can (i think) still
even use ipchains with 2.6, you just need to
load the compatibilty module (not that you
should be doing that)
Title: kernel 2.6.1
Post by: mobrien_12 on 6 February 2004, 02:00
quote:
Originally posted by runkpock:
If you are going to use 2.6 you need to update your kernel module utilities, otherwise you wont be able to use ip(chains|tables) usb and iptables, and oh by the way, you should always check before you install a new kernel, the requirements for running it ;]



As I said before, I did update modultils, and all the other packages as the instructions said.  I read /usr/src/linux/Documentation/Changes
very carefully.  

The problems with the USB modules was that they simply were not there, and there were no options for them in the make xconfig.  The modules for my LAN card and ipchains did compile but refused to load even though I did update modutils (actually you can't complete a make modules_install unless you update modutils).

I downloaded 2.6.2 last night (it is a bugfix release)  and compiled it.  No problems with missing USB modules, no problems with any modules refusing to load.  I can't comment on the two modules that refused to compile with 2.6.1 (namely stallion and advansys) because I didn't try to compile them this time.  

In my experience 2.6.2 is much better.
Title: kernel 2.6.1
Post by: runkpock on 6 February 2004, 04:16
odd, sorry to have mis-read your post, as thats
normally the hang up with 2.6. anyhow im accually
using 2.6.1 with usb input to post this, so im
really confused as to why your usb modules
arent there, other than perhaps something with the
.config options. guess it doesnt matter now though
 (http://tongue.gif)
Title: kernel 2.6.1
Post by: KernelPanic on 7 February 2004, 20:16
Did you make a fresh .config? please say you didn't make oldconfig from 2.4   :rolleyes:
Title: kernel 2.6.1
Post by: mobrien_12 on 20 February 2004, 11:01
quote:
Originally posted by Tux:
Did you make a fresh .config? please say you didn't make oldconfig from 2.4     :rolleyes:  


I always make fresh configs when compiling a new kernel.

[ February 20, 2004: Message edited by: M. O'Brien ]