Re: [slackware-alphadevel] Great news! Generic 2.2.18 booting on my Alpha :-)

From: Chris Lumens (chris@slackware.com)
Date: Wed Dec 13 2000 - 19:07:34 PST


> You don't set 'CONFIG_MODVERSIONS' and 'CONFIG_KMOD'. Why not?
> For a generic kernel that many people will use exclusively (I'm thinking
> when this becomes official), people would bennefit from being able to
> load modules that they themselves have not compiled ond where possibly
> compiled for older kernel versions (MODVERSIONS). The kernel module
> loader would also make things easyer for people without much knowledge of
> loading kernel modules - again, I can see why you would leave it out for
> yourself (I would too), but for a generic kernel that will be used by
> everyone?

In our experience, module versioning has actually made things more of a
hassle. It's supposed to allow you to insert modules from one kernel
version into a running kernel of another version. However, that rarely
seems to be the case. We've noticed that certain other distributions
build all their kernels with module versioning enabled. A major problem
with this is that third-party modules that insert into their kernels will
completely break on other distributions. So in summary, it gains us
little but headaches.

kmod (in my opinion) is an evil hack. If you've read about it, you'll
notice that it's basically a kernel thread (or something), some config
files, and a crontab. You throw all those pieces together, and you've got
a big kludge to automatically handle kernel modules. I personally
preferred kerneld - I thought it was a nice system. And if kerneld was
still with us, I would probably be arguing for its inclusion.

Besides, Slackware includes a /etc/rc.d/rc.modules script with lines for
basically all the modules. All you should need to do is uncomment the
ones that you want to have loaded.

> I don't have USB on this machine, so I will first try and build a working
> generic kernel without USB, and then when I'm happy with it, I'll add
> USB.
> I'll be doing this in relatively small steps, adding a few
> features/modules at a time to make it easier to find out what breaks (if
> anything - one might hope that 2.2.18 has eliminated all the issues with
> this box).

Good plan. You may want to concentrate you efforts on getting what is
built into the kernel figured out. The actual modules package is still
generated from the main generic kernel config file. Of course, I'll have
to sit down and remember how to do all that stuff again. Ugh.

-- 
Chris Lumens - chris@slackware.com - KG6CIH
@n=(-42,-85,-83,-19,65,2,-10,-10,-15,-3,2,-10,73,-4,8,-4,2,79,8,17,15,7,14,2);
print map{chr(-$n[$i++]+ord)} sort(split(//,'place random string here')),"\n";



This archive was generated by hypermail 2b30 : Fri May 09 2003 - 10:00:02 PDT