From: Sam Ravnborg <sam@ravnborg.org>
To: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: "Darrick J. Wong" <djwong@us.ibm.com>,
"Adrian Bunk" <bunk@kernel.org>,
"Toralf Förster" <toralf.foerster@gmx.de>,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] SCSI_AIC94XX must depend on SCSI
Date: Thu, 6 Mar 2008 23:30:27 +0100 [thread overview]
Message-ID: <20080306223027.GA2869@uranus.ravnborg.org> (raw)
In-Reply-To: <1204839126.3062.57.camel@localhost.localdomain>
On Thu, Mar 06, 2008 at 03:32:06PM -0600, James Bottomley wrote:
> On Thu, 2008-03-06 at 12:35 -0800, Darrick J. Wong wrote:
> > On Thu, Mar 06, 2008 at 10:22:46PM +0200, Adrian Bunk wrote:
> > > This patch fixes the following build error reported by Toralf Förster:
> > >
> > > <-- snip -->
> > >
> > > ...
> > > MODPOST 243 modules
> > > ERROR: "sas_bios_param" [drivers/scsi/mvsas.ko] undefined!
> >
> > <snip>
> >
> > > --- a/drivers/scsi/aic94xx/Kconfig
> > > +++ b/drivers/scsi/aic94xx/Kconfig
> >
> > Maybe I'm missing something here, but how does patching aic94xx Kconfig
> > fix an mvsas build problem?
>
> Actually, it's a dependency chain fault. The config this was generated
> from has
>
> CONFIG_SCSI=m
>
> CONFIG_SCSI_AIC94XX=y
>
> the latter then forces
>
> CONFIG_SCSI_SAS_LIBSAS=y
>
> I think the error reported is wrong: the kernel just should have failed
> to link, since both the built in aic94xx and libsas have scsi
> dependencies.
>
> We have a few other drivers in this category (like ibmvscsi). The root
> cause seems to be that SCSI_LOWLEVEL doesn't act as a tristate. I think
> a fix that will prevent all of these issues from recurring is this one.
Until kconfig is fixed - never select a symbol with a prompt or dependencies.
Then most issues are gone.
Sam
prev parent reply other threads:[~2008-03-06 22:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-06 19:09 build #407 issue for v2.6.25-rc4-56-gd7fe321 : "sas_bios_param" [drivers/scsi/mvsas.ko] undefined! Toralf Förster
2008-03-06 20:22 ` [2.6 patch] SCSI_AIC94XX must depend on SCSI Adrian Bunk
2008-03-06 20:31 ` James Bottomley
2008-03-06 21:39 ` Adrian Bunk
2008-03-06 22:07 ` James Bottomley
2008-03-06 20:35 ` Darrick J. Wong
2008-03-06 21:32 ` James Bottomley
2008-03-06 22:30 ` Sam Ravnborg [this message]
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=20080306223027.GA2869@uranus.ravnborg.org \
--to=sam@ravnborg.org \
--cc=James.Bottomley@HansenPartnership.com \
--cc=bunk@kernel.org \
--cc=djwong@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=toralf.foerster@gmx.de \
/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®