public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Henrik Carlqvist <hc1@poolhem.se>
To: Helge Hafting <helge.hafting@aitel.hist.no>
Cc: linux-kernel@vger.kernel.org
Subject: Re: tristate and bool not enogh for Kconfig anymore
Date: Mon, 22 Oct 2007 23:50:10 +0200	[thread overview]
Message-ID: <20071022235010.08021506.hc1@poolhem.se> (raw)
In-Reply-To: <471C8DA3.9070900@aitel.hist.no>

On Mon, 22 Oct 2007 13:46:43 +0200
> > In that kernel CONFIG_SCSI_QLA_FC is set to y but still it is not
> > possible to boot from any of those cards as the driver requires a
> > firmware file. 
> Then an initrd-less boot is impossible for this
> device - even the modular approach needs
> an initrd to load the module if you want that
> device as root fs.

Today I was able to boot from an FC disk with a modified kernel 2.6.21
without any initrd. The modification was basically to replace the contents
of drivers/scsi/qla2xxx with the code in qla2xxx-v8.02.02-dist.tgz from
ftp://ftp.qlogic.com/outgoing/linux/beta/8.x/ as that driver has the
firmware built in.

> Better to just fix the driver - which can't be that
> hard for anyone capable of making the driver in
> the first place. Modularity and firmware loading
> are not connected. One is for kernel flexibility, the other
> is for making a particular device work.

In this case I finally did prefer a solution which didn't depend on any
separate firmware file. Being able to boot straight to the FC drive
without the need of initrd was really nice.

When I first asked my question I assumed that I would have to compile the
driver as a module and use an initrd containing both the module and the
firmware together with userspace mechanisms to load the firmware. This
solution with a replaced qla2xxx driver was not the answer to my first
question about bool and tristate, but that question also got answered in
this thread.

Best regards Henrik

  reply	other threads:[~2007-10-22 21:50 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-20 11:57 [PATCH] Kconfig bug Nick Warne
2007-10-20 12:42 ` tristate and bool not enogh for Kconfig anymore Henrik Carlqvist
2007-10-20 19:17   ` Sam Ravnborg
2007-10-20 21:56     ` Randy Dunlap
2007-10-21  4:47     ` Valdis.Kletnieks
2007-10-21 10:24       ` Henrik Carlqvist
2007-10-21 16:45         ` Randy Dunlap
2007-10-21 20:42           ` Henrik Carlqvist
2007-10-21 21:03           ` Sam Ravnborg
2007-10-22  0:47             ` Randy Dunlap
2007-10-22  3:14               ` Randy Dunlap
2007-10-22  4:42                 ` Randy Dunlap
2007-10-27 23:37                 ` Roman Zippel
2007-10-22 10:11   ` Christoph Hellwig
2007-10-22 10:32     ` Alexander E. Patrakov
2007-10-22 10:57       ` Christoph Hellwig
2007-10-22 11:27         ` Alexander E. Patrakov
2007-10-22 12:53           ` Christoph Hellwig
2007-10-22 13:18             ` Alexander E. Patrakov
2007-10-22 11:46   ` Helge Hafting
2007-10-22 21:50     ` Henrik Carlqvist [this message]
2007-10-27 12:26 ` [PATCH] Kconfig bug Nick Warne

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=20071022235010.08021506.hc1@poolhem.se \
    --to=hc1@poolhem.se \
    --cc=helge.hafting@aitel.hist.no \
    --cc=linux-kernel@vger.kernel.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