From: Andrew Vasquez <praka@users.sourceforge.net>
To: linux-kernel@vger.kernel.org, sam@ravnborg.org
Cc: Marcus Hartig <m.f.h@web.de>
Subject: Re: 2.6.5-mm4
Date: Mon, 12 Apr 2004 13:15:24 -0700 [thread overview]
Message-ID: <20040412201524.GA31684@praka.local.home> (raw)
In-Reply-To: <20040412195636.GB12665@mars.ravnborg.org>
On Mon, 12 Apr 2004, Sam Ravnborg wrote:
> On Mon, Apr 12, 2004 at 09:19:12PM +0200, Marcus Hartig wrote:
> > Hello,
> >
> > patch: "kbuild-external-module-support" ?
> >
> > brakes nicely my nVidia driver for installation at stage 2. Happy easter
> > gift. No setting of KBUILD_EXTMOD or editing the install script helps,
> > nice job.
> Please provide me with more info.
> I gooled a bit after some NVIDIA src - but I stopped when I had
> to accept some NVIDIA stuff.
>
> The purpose is to provide good support for external modules.
> If it breaks things I need to find out why - and see where to fix it.
>
> I would not be suprised if NVIDIA (and wmware for that matter) takes some
> assumptions which it should not. But I need to find out why it break,
> and for that I need more information!
>
> So please provide me with the following information:
> 1) Exact log when it goes wrong
> 2) Pointer to or copy of the relevant files
>
I maintain the qla2xxx driver and have been noticing some build
problems also. I typically do most compiling and editing of the
driver outside of the kernel tree, i.e. my make command usually takes
on the form:
-bash-2.05b# make -C /usr/src/linux-2.6.5-mm3 SUBDIRS=$PWD modules
make: Entering directory `/usr/src/linux-2.6.5-mm3'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CC [M] /root/Drivers/8.x/80000b12-pre14/ql2300.o
CC [M] /root/Drivers/8.x/80000b12-pre14/ql2300_fw.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_os.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_init.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_mbx.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_iocb.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_isr.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_gs.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_dbg.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_sup.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_rscn.o
LD [M] /root/Drivers/8.x/80000b12-pre14/qla2xxx.o
LD [M] /root/Drivers/8.x/80000b12-pre14/qla2300.o
Building modules, stage 2.
MODPOST
*** Warning: "fc_release_transport"
[/root/Drivers/8.x/80000b12-pre14/qla2xxx.ko] undefined!
*** Warning: "fc_attach_transport"
[/root/Drivers/8.x/80000b12-pre14/qla2xxx.ko] undefined!
CC /root/Drivers/8.x/80000b12-pre14/qla2300.mod.o
LD [M] /root/Drivers/8.x/80000b12-pre14/qla2300.ko
CC /root/Drivers/8.x/80000b12-pre14/qla2xxx.mod.o
With 2.6.5-mm4 a similar command fails with:
-bash-2.05b# make -C /usr/src/linux-2.6.5-mm4 SUBDIRS=$PWD modules
make: Entering directory `/usr/src/linux-2.6.5-mm4'
CC [M] /root/Drivers/8.x/80000b12-pre14/ql2300.o
CC [M] /root/Drivers/8.x/80000b12-pre14/ql2300_fw.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_os.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_init.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_mbx.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_iocb.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_isr.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_gs.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_dbg.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_sup.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_rscn.o
LD [M] /root/Drivers/8.x/80000b12-pre14/qla2xxx.o
/bin/sh: line 1:
/root/Drivers/8.x/80000b12-pre14/.tmp_versions/qla2xxx.mod: No such
file or directory
LD [M] /root/Drivers/8.x/80000b12-pre14/qla2300.o
/bin/sh: line 1:
/root/Drivers/8.x/80000b12-pre14/.tmp_versions/qla2300.mod: No such
file or directory
HOSTCC /root/Drivers/8.x/80000b12-pre14/extras/qla_nvr
Building modules, stage 2.
make: Leaving directory `/usr/src/linux-2.6.5-mm4'
I've even tried the 'M=...' syntax documented in the Makefile:
-bash-2.05b# make -C /usr/src/linux-2.6.5-mm4 M=$PWD modules
make: Entering directory `/usr/src/linux-2.6.5-mm4'
CC [M] /root/Drivers/8.x/80000b12-pre14/ql2300.o
CC [M] /root/Drivers/8.x/80000b12-pre14/ql2300_fw.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_os.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_init.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_mbx.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_iocb.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_isr.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_gs.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_dbg.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_sup.o
CC [M] /root/Drivers/8.x/80000b12-pre14/qla_rscn.o
LD [M] /root/Drivers/8.x/80000b12-pre14/qla2xxx.o
/bin/sh: line 1:
/root/Drivers/8.x/80000b12-pre14/.tmp_versions/qla2xxx.mod: No such
file or directory
LD [M] /root/Drivers/8.x/80000b12-pre14/qla2300.o
/bin/sh: line 1:
/root/Drivers/8.x/80000b12-pre14/.tmp_versions/qla2300.mod: No such
file or directory
HOSTCC /root/Drivers/8.x/80000b12-pre14/extras/qla_nvr
Building modules, stage 2.
make: Leaving directory `/usr/src/linux-2.6.5-mm4'
So, what am I missing? I can provide other logs if needed, just tell
me what you need.
Thanks,
Andrew Vasquez
QLogic Corporation
next prev parent reply other threads:[~2004-04-12 20:43 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-12 19:19 2.6.5-mm4 Marcus Hartig
2004-04-12 19:35 ` 2.6.5-mm4 Marc-Christian Petersen
2004-04-12 19:52 ` 2.6.5-mm4 Sam Ravnborg
2004-04-12 19:56 ` 2.6.5-mm4 Sam Ravnborg
2004-04-12 20:15 ` Andrew Vasquez [this message]
2004-04-13 4:54 ` 2.6.5-mm4 Sam Ravnborg
2004-04-12 20:48 ` 2.6.5-mm4 Marcus Hartig
2004-04-13 2:47 ` 2.6.5-mm4 Michael Baehr
2004-04-13 4:58 ` 2.6.5-mm4 Sam Ravnborg
-- strict thread matches above, loose matches on Subject: below --
2004-04-13 15:22 2.6.5-mm4 Andrew Vasquez
2004-04-11 3:05 2.6.5-mm4 Andrew Morton
2004-04-12 6:46 ` 2.6.5-mm4 Paul P Komkoff Jr
2004-04-12 7:42 ` 2.6.5-mm4 Andrew Morton
2004-04-12 8:22 ` 2.6.5-mm4 Paul P Komkoff Jr
2004-04-12 8:28 ` 2.6.5-mm4 Andrew Morton
2004-04-12 9:10 ` 2.6.5-mm4 Paul P Komkoff Jr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040412201524.GA31684@praka.local.home \
--to=praka@users.sourceforge.net \
--cc=andrew.vasquez@qlogic.com \
--cc=linux-kernel@vger.kernel.org \
--cc=m.f.h@web.de \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®