public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Josip Rodin <joy@entuzijast.net>
To: David Miller <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: kernel 2.6.26.3 qla2xxx oopsing on Fire 280R
Date: Wed, 10 Sep 2008 00:00:38 +0200	[thread overview]
Message-ID: <20080909220038.GA13300@orion.carnet.hr> (raw)
In-Reply-To: <20080909.143012.193704777.davem@davemloft.net>

On Tue, Sep 09, 2008 at 02:30:12PM -0700, David Miller wrote:
> I assume you use this device for your too filesystem, in which case
> the firmware has to be in the initial ramdisk.
> 
> The qla2xxx firmware isn't in the firmware tree, it's in the filesystem
> somewhere, and that gets put into the initial ramdisk you build for
> a particular kernel image.  For this reason CONFIG_FIRMWARE_IN_KERNEL
> won't make any difference.
> 
> This takes a bit of skill to get working properly, I hate it too.  It's
> really unfriendly to users and even kernel developers.  These drivers
> should "just work" when you build them, rather than require contortions
> such as this.

Exactly. And this *has* worked, up to now. I would run update-initramfs and
it would assemble the initial ramdisk and all was well.

% zcat /boot/initrd.img-2.6.27-rc5-usiii | cpio -ivt | grep ql
drwxr-xr-x   2 root     root            0 Sep  9 16:56 lib/modules/2.6.27-rc5-usiii/kernel/drivers/scsi/qla2xxx
-rw-r--r--   1 root     root       320472 Sep  9 16:55 lib/modules/2.6.27-rc5-usiii/kernel/drivers/scsi/qla2xxx/qla2xxx.ko
-rw-r--r--   1 root     root        76802 Sep  9 16:56 lib/firmware/ql2100_fw.bin
-rw-r--r--   1 root     root        84566 Sep  9 16:56 lib/firmware/ql2200_fw.bin
-rw-r--r--   1 root     root       123170 Sep  9 16:56 lib/firmware/ql2300_fw.bin
-rw-r--r--   1 root     root       132978 Sep  9 16:56 lib/firmware/ql2322_fw.bin
-rw-r--r--   1 root     root       200244 Sep  9 16:56 lib/firmware/ql2400_fw.bin
11608 blocks

It's hardly any different from the working initrd:

% zcat /boot/initrd.img-2.6.25.5 | cpio -ivt | grep ql 
drwxr-xr-x   2 root     root            0 Aug  4 09:21 lib/modules/2.6.25.5/kernel/drivers/scsi/qla2xxx
-rw-r--r--   1 root     root       307988 Jun 10 14:14 lib/modules/2.6.25.5/kernel/drivers/scsi/qla2xxx/qla2xxx.ko
-rw-r--r--   1 root     root        76802 Aug  4 09:22 lib/firmware/ql2100_fw.bin
-rw-r--r--   1 root     root        84566 Aug  4 09:22 lib/firmware/ql2200_fw.bin
-rw-r--r--   1 root     root       123170 Aug  4 09:22 lib/firmware/ql2300_fw.bin
-rw-r--r--   1 root     root       132978 Aug  4 09:22 lib/firmware/ql2322_fw.bin
-rw-r--r--   1 root     root       200244 Aug  4 09:22 lib/firmware/ql2400_fw.bin
11572 blocks

-- 
     2. That which causes joy or happiness.

  reply	other threads:[~2008-09-09 22:00 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-04  9:39 kernel 2.6.26.3 qla2xxx oopsing on Fire 280R Josip Rodin
2008-09-08 21:13 ` Andrew Vasquez
2008-09-08 21:23   ` David Miller
2008-09-08 21:49     ` Andrew Vasquez
2008-09-08 23:08       ` David Miller
2008-09-08 23:42         ` Josip Rodin
2008-09-09  1:35         ` Andrew Vasquez
2008-09-09  1:49           ` Josip Rodin
2008-09-09  1:53   ` Josip Rodin
2008-09-09  2:01     ` Andrew Vasquez
2008-09-09 14:39       ` Josip Rodin
2008-09-09 15:00         ` Josip Rodin
2008-09-09 21:30           ` David Miller
2008-09-09 22:00             ` Josip Rodin [this message]
2008-09-09 22:57               ` David Miller
2008-09-09 22:59                 ` David Miller
2008-09-10  0:05                   ` Josip Rodin
2008-09-10  0:30                     ` David Miller
2008-09-11 11:37         ` Josip Rodin
2008-09-11 21:57           ` Josip Rodin
2008-09-11 22:01             ` David Miller
2008-09-11 22:15               ` Andrew Vasquez
2008-09-12  5:19                 ` [PATCH scsi-rc-fixes] qla2xxx: Defer enablement of RISC interrupts until ISP initialization completes Andrew Vasquez

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=20080909220038.GA13300@orion.carnet.hr \
    --to=joy@entuzijast.net \
    --cc=davem@davemloft.net \
    --cc=linux-scsi@vger.kernel.org \
    --cc=sparclinux@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