* Build problems with Linux 2.5
@ 2003-06-11 20:26 Jay Denebeim
2003-06-11 20:37 ` Sam Ravnborg
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Jay Denebeim @ 2003-06-11 20:26 UTC (permalink / raw)
To: linux-kernel
(.70, but I doubt that makes a difference)
Hi guys,
I've been way out of kernel compiling for a long time, however I just
took a job writing device drivers on Linux so I guess I'll be doing quite
a bit of it again. I've not built a kernel other than an occasional 'make
rpm' on redhat since the 2.0 days, so be gentle with me.
The problem I'm having is with the kernel. My environment is a standard
Redhat 9 installation:
gcc-3.2.2-5
binutils-2.13.90.0.18-9
modutils-2.4.22-8
kernel-smp-2.4.20-9
The problem I'm having seems to be related to modutils. When I make
very many modules I can't install the system because depmod can't find
symbols undery 2.4. However using nm I can see that those symbols are
indeed defined. If I make a bare bones system and only have the two or
three modules I need (I'm working with SCSI device drivers and need to
unload/reload the modules) the depmod passes, but the modprobe fails with
QM_MODULES: function unimplemented.
So, I went grepping through the source code and QM_MODULES exists in
linux/module.h in 2.4, but not in 2.5. Since modutils depends on that
functionality heavily modutils must have been re-written. However the
latest version I can find on kernel.org is 2.4.25 and it still uses
QM_MODULES. So, where is it?
Are there other things I'm going to need for 2.5? I've already figured
out LVM is totally different, and that breaks mkinitrd if I've got root on
a logical volume. Anything else?
Thanks in advance for your time.
Jay
--
* Jay Denebeim Moderator rec.arts.sf.tv.babylon5.moderated *
* newsgroup submission address: b5mod@deepthot.org *
* moderator contact address: b5mod-request@deepthot.org *
* personal contact address: denebeim@deepthot.org *
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Build problems with Linux 2.5
2003-06-11 20:26 Build problems with Linux 2.5 Jay Denebeim
@ 2003-06-11 20:37 ` Sam Ravnborg
2003-06-11 20:39 ` Mark Haverkamp
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Sam Ravnborg @ 2003-06-11 20:37 UTC (permalink / raw)
To: Jay Denebeim; +Cc: linux-kernel
On Wed, Jun 11, 2003 at 01:26:33PM -0700, Jay Denebeim wrote:
> (.70, but I doubt that makes a difference)
>
> Hi guys,
>
> I've been way out of kernel compiling for a long time, however I just
> took a job writing device drivers on Linux so I guess I'll be doing quite
> a bit of it again. I've not built a kernel other than an occasional 'make
> rpm' on redhat since the 2.0 days, so be gentle with me.
Two pointers:
http://www.codemonkey.org.uk/post-halloween-2.5.txt
This is good, and answer your QM_MODULES question + more.
lwn.net - has a good article serie about driver porting to 2.5
Sam
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Build problems with Linux 2.5
2003-06-11 20:26 Build problems with Linux 2.5 Jay Denebeim
2003-06-11 20:37 ` Sam Ravnborg
@ 2003-06-11 20:39 ` Mark Haverkamp
2003-06-11 20:40 ` Bryan O'Sullivan
2003-06-11 20:40 ` Vincent Hanquez
3 siblings, 0 replies; 5+ messages in thread
From: Mark Haverkamp @ 2003-06-11 20:39 UTC (permalink / raw)
To: Jay Denebeim; +Cc: linux-kernel
On Wed, 2003-06-11 at 13:26, Jay Denebeim wrote:
> (.70, but I doubt that makes a difference)
>
> Hi guys,
>
> I've been way out of kernel compiling for a long time, however I just
> took a job writing device drivers on Linux so I guess I'll be doing quite
> a bit of it again. I've not built a kernel other than an occasional 'make
> rpm' on redhat since the 2.0 days, so be gentle with me.
>
> The problem I'm having is with the kernel. My environment is a standard
> Redhat 9 installation:
>
> gcc-3.2.2-5
> binutils-2.13.90.0.18-9
> modutils-2.4.22-8
> kernel-smp-2.4.20-9
>
> The problem I'm having seems to be related to modutils. When I make
> very many modules I can't install the system because depmod can't find
> symbols undery 2.4. However using nm I can see that those symbols are
> indeed defined. If I make a bare bones system and only have the two or
> three modules I need (I'm working with SCSI device drivers and need to
> unload/reload the modules) the depmod passes, but the modprobe fails with
> QM_MODULES: function unimplemented.
>
> So, I went grepping through the source code and QM_MODULES exists in
> linux/module.h in 2.4, but not in 2.5. Since modutils depends on that
> functionality heavily modutils must have been re-written. However the
> latest version I can find on kernel.org is 2.4.25 and it still uses
> QM_MODULES. So, where is it?
http://www.kernel.org/pub/linux/kernel/people/rusty/modules/
>
> Are there other things I'm going to need for 2.5? I've already figured
> out LVM is totally different, and that breaks mkinitrd if I've got root on
> a logical volume. Anything else?
>
> Thanks in advance for your time.
>
> Jay
--
Mark Haverkamp <markh@osdl.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Build problems with Linux 2.5
2003-06-11 20:26 Build problems with Linux 2.5 Jay Denebeim
2003-06-11 20:37 ` Sam Ravnborg
2003-06-11 20:39 ` Mark Haverkamp
@ 2003-06-11 20:40 ` Bryan O'Sullivan
2003-06-11 20:40 ` Vincent Hanquez
3 siblings, 0 replies; 5+ messages in thread
From: Bryan O'Sullivan @ 2003-06-11 20:40 UTC (permalink / raw)
To: Jay Denebeim; +Cc: linux-kernel
On Wed, 2003-06-11 at 13:26, Jay Denebeim wrote:
> The problem I'm having seems to be related to modutils.
You need to use module-init-tools.
http://www.kernel.org/pub/linux/kernel/people/rusty/modules/
Read the docs before you build and install it, so that it continues to
work with modutils.
<b
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Build problems with Linux 2.5
2003-06-11 20:26 Build problems with Linux 2.5 Jay Denebeim
` (2 preceding siblings ...)
2003-06-11 20:40 ` Bryan O'Sullivan
@ 2003-06-11 20:40 ` Vincent Hanquez
3 siblings, 0 replies; 5+ messages in thread
From: Vincent Hanquez @ 2003-06-11 20:40 UTC (permalink / raw)
To: Jay Denebeim; +Cc: linux-kernel
On Wed, Jun 11, 2003 at 01:26:33PM -0700, Jay Denebeim wrote:
> The problem I'm having seems to be related to modutils. When I make
> very many modules I can't install the system because depmod can't find
> symbols undery 2.4. However using nm I can see that those symbols are
> indeed defined. If I make a bare bones system and only have the two or
> three modules I need (I'm working with SCSI device drivers and need to
> unload/reload the modules) the depmod passes, but the modprobe fails with
> QM_MODULES: function unimplemented.
you have to install module-init-tools (0.9.12 latest)
(isn't it in the FAQ ?)
--
Tab
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-06-11 20:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-11 20:26 Build problems with Linux 2.5 Jay Denebeim
2003-06-11 20:37 ` Sam Ravnborg
2003-06-11 20:39 ` Mark Haverkamp
2003-06-11 20:40 ` Bryan O'Sullivan
2003-06-11 20:40 ` Vincent Hanquez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®