[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1200495471.3136.1.camel@localhost.localdomain>
Date: Wed, 16 Jan 2008 08:57:51 -0600
From: James Bottomley <James.Bottomley@...senPartnership.com>
To: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
Cc: psybases@...il.com, linux-scsi@...r.kernel.org, cebbert@...hat.com,
bharrosh@...asas.com, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: INITIO scsi driver fails to work properly
On Wed, 2008-01-16 at 14:59 +0900, FUJITA Tomonori wrote:
> On Tue, 15 Jan 2008 09:16:06 -0600
> James Bottomley <James.Bottomley@...senPartnership.com> wrote:
>
> >
> > On Sun, 2008-01-13 at 14:28 +0200, Filippos Papadopoulos wrote:
> > > On 1/11/08, James Bottomley <James.Bottomley@...senpartnership.com> wrote:
> > > >
> > > > On Fri, 2008-01-11 at 18:44 +0200, Filippos Papadopoulos wrote:
> > > > > On Jan 11, 2008 5:44 PM, James Bottomley
> > > > > <James.Bottomley@...senpartnership.com> wrote:
> > > > > > >
> > > > > > > I havent reported "initio: I/O port range 0x0 is busy."
> > > > > >
> > > > > > Sorry ... we appear to have several reporters of different bugs in this
> > > > > > thread. That message was copied by Chuck Ebbert from a Red Hat
> > > > > > bugzilla ... I was assuming it was the same problem.
> > > > > >
> > > > > > > I applied the patch on 2.6.24-rc6-git9 but unfortunatelly same thing happens.
> > > > > >
> > > > > > First off, has this driver ever worked for you in 2.6? Just booting
> > > > > > SLES9 (2.6.5) or RHEL4 (2.6.9) ... or one of their open equivalents to
> > > > > > check a really old kernel would be helpful. If you can get it to work,
> > > > > > then we can proceed with a patch reversion regime based on the
> > > > > > assumption that the problem is a recent commit.
> > > > >
> > > > > Yes it works under 2.6.16.13. See the beginning of this thread, i
> > > > > mention there some things about newer versions.
> > > >
> > > > Thanks, actually, I see this:
> > > >
> > > > > I tried to install OpenSUSE 10.3 (kernel 2.6.22.5) and the latest
> > > > > OpenSUSE 11.0 Alpha 0 (kernel 2.6.24-rc4) but although the initio
> > > > > drivergets loaded during the installation process, yast reports that no hard
> > > > > disk is found.
> > > >
> > > > Could you try with a vanilla 2.6.22 kernel? The reason for all of this
> > > > is that 2.6.22 predates Alan's conversion of this driver (which was my
> > > > 95% candidate for the source of the bug). I want you to try the vanilla
> > > > kernel just in case the opensuse one contains a backport.
> > >
> > >
> > > Yes you are right. I compiled the vanilla 2.6.22 and initio driver works.
> > > Tell me if you want to apply any patch to it.
> >
> >
> > That's good news ... at least we know where the issue lies; now the
> > problem comes: there are two candidate patches for this issue: Alan's
> > driver update patch and Tomo's accessors patch. Unfortunately, due to
> > merge conflicts the two are pretty hopelessly intertwined. I think I
> > already spotted one bug in the accessor conversion, so I'll look at that
> > again. Alan's also going to acquire an inito board and retest his
> > conversions.
> >
> > I'm afraid it might be a while before we have anything for you to test.
>
> Can you try this patch?
>
> Thanks,
>
> diff --git a/drivers/scsi/initio.c b/drivers/scsi/initio.c
> index 01bf018..6891d2b 100644
> --- a/drivers/scsi/initio.c
> +++ b/drivers/scsi/initio.c
> @@ -2609,6 +2609,7 @@ static void initio_build_scb(struct initio_host * host, struct scsi_ctrl_blk * c
> cblk->bufptr = cpu_to_le32((u32)dma_addr);
> cmnd->SCp.dma_handle = dma_addr;
>
> + cblk->sglen = nseg;
>
> cblk->flags |= SCF_SG; /* Turn on SG list flag */
> total_len = 0;
We already tried a variant of this here:
http://marc.info/?l=linux-scsi&m=120002863806103&w=2
The answer was negative. Although I've saved the patch because it's
clearly one of the bugs.
James
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists