mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* make install bug?
@ 2002-04-06 15:15 Dale Amon
  2002-04-06 15:34 ` Dale Amon
  2002-04-06 15:50 ` Keith Owens
  0 siblings, 2 replies; 3+ messages in thread
From: Dale Amon @ 2002-04-06 15:15 UTC (permalink / raw)
  To: linux-kernel

When building kernels for my servers I have always done this:

	make INSTALL_MOD_PATH=/usr/src/<target-hostname> modules_install

to dump all the modules into an easily tarballable directory 
to be scp'd to the target host.

However for some reason today it's tried to do a depmod on the 
kernel building machine:

make -C  arch/i386/lib modules_install
make[1]: Entering directory `/VNetLinux/linux-2.4.18/arch/i386/lib'
make[1]: Nothing to be done for `modules_install'.
make[1]: Leaving directory `/VNetLinux/linux-2.4.18/arch/i386/lib'
cd /VNetLinux/scout/lib/modules/2.4.18; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b /VNetLinux/scout -r 2.4.18; fi
depmod: *** Unresolved symbols in /VNetLinux/scout/lib/modules/2.4.18/pcmcia/3c575_cb.o
depmod:         pcibios_read_config_byte
depmod:         pcibios_write_config_word
depmod:         pcibios_read_config_dword
depmod:         pcibios_write_config_byte
depmod:         pcibios_write_config_dword
depmod:         pcibios_read_config_word
depmod: *** Unresolved symbols in /VNetLinux/scout/lib/modules/2.4.18/pcmcia/aha152x_cs.o
depmod:         print_msg
depmod:         scsi_command_size
depmod:         scsi_unregister_module
depmod:         scsicam_bios_param
	And so forth....


I'm not sure why this started happening, but it isn't nice
behavior at all. I'd call it a bug as I can't imagine why
I'd want a depmod to occur on the build machine.

Have I managed to tickle something that should not be 
happening?






^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: make install bug?
  2002-04-06 15:15 make install bug? Dale Amon
@ 2002-04-06 15:34 ` Dale Amon
  2002-04-06 15:50 ` Keith Owens
  1 sibling, 0 replies; 3+ messages in thread
From: Dale Amon @ 2002-04-06 15:34 UTC (permalink / raw)
  To: linux-kernel

On Sat, Apr 06, 2002 at 04:15:31PM +0100, Dale Amon wrote:
> I'm not sure why this started happening, but it isn't nice
> behavior at all. I'd call it a bug as I can't imagine why
> I'd want a depmod to occur on the build machine.

Hmmm, I think I failed to engage brain before fingers. Sent
the files to a non-existant directory... which might be
the thing that tickled it to do the depmod?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: make install bug?
  2002-04-06 15:15 make install bug? Dale Amon
  2002-04-06 15:34 ` Dale Amon
@ 2002-04-06 15:50 ` Keith Owens
  1 sibling, 0 replies; 3+ messages in thread
From: Keith Owens @ 2002-04-06 15:50 UTC (permalink / raw)
  To: linux-kernel

On Sat, 6 Apr 2002 16:15:31 +0100, 
Dale Amon <amon@vnl.com> wrote:
>make[1]: Leaving directory `/VNetLinux/linux-2.4.18/arch/i386/lib'
>I'm not sure why this started happening, but it isn't nice
>behavior at all. I'd call it a bug as I can't imagine why
>I'd want a depmod to occur on the build machine.

depmod runs at build time as a courtesy, to build the modules.dep for
the initial boot, otherwise you get warning messages on the first boot
of a new kernel.  For cross compiling or building for a different
machine, you can turn depmod into a no-op with make DEPMOD=/bin/true.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-06 15:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-06 15:15 make install bug? Dale Amon
2002-04-06 15:34 ` Dale Amon
2002-04-06 15:50 ` Keith Owens

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®