Re: how does make-dpkg (and linux/debian) map modules?
On 1 Mar 2004 at 12:25, CW Harris wrote:
> What are the errors you are seeing?
First one comes in the boot up after the line about setting the
System Cllock and says:
modprobe: modprobe: Can't locate module char-major-10-135
modprobe: modprobe: Can't locate module char-major-10-135
then (I've missed something here as I'm using ^s ^q to pause the boot
messages as none of this seems to show in dmesg) I get others like:
input modprobe: Can't locate module input
usbkbd modprobe: Can't locate module usbkbd
...
> IIRC all the module dependency should be handled automatically,
that was my reading of things too...
> but if something is broken maybe you need to manually do a "depmod -a"?
doesnt' change things unfortunately
> > If I rename the old /libmodules back again: no improvement.
> >
> This is all in changing from a working 2.4.18 kernel to the custom
> 2.4.18 with RAID, correct?
No, starting from the 2.4.18 source tree, the working install was
2.4.18-bf2.4 but I can't see a source tree for that and assume it's
the same as the bf2.4 and the issue is in the modules loaded and
marked loadable. OK, inspired by responses from debian-user I've
tried explicitly adding another module: via-rhine as it happens:
bingo, still complaints about all the other modules but that one is
there now so the issue is clearly the basic configuration I started
with. I had assumed that the initial make menuconfig from the source
tree would start with the basic modules in.
Is there a way to take the module list from the bf2.4 install kernel
image and start from there? Sorry if I'm looking straight through it
but I can't see it.
> Did you miss any config differences in rebuilding (The easiest is to
> start with the working system config and then add the changes you
> want.)
Indeed, I thought that starting with the 2.4.18 source would do that:
clearly not.
> You might also want to look into using kernel flavors (see the
> "--append-to-version" discussion in kernel-package).
I can see that would have been better than "--version" and I'll go
over to that if I can get a basic config right now ...
> This may help you while you are getting things working.
Sure it will, wish I shared your confidence on "while"
Thanks again,
Chris
PSYCTC: Psychotherapy, Psychology, Psychiatry, Counselling
and Therapeutic Communities; practice, research,
teaching and consultancy.
Chris Evans & Jo-anne Carlyle
http://psyctc.org/ Email: chris@psyctc.org
Reply to: