[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070719.190831.23015057.takada@mbf.nifty.com>
Date: Thu, 19 Jul 2007 19:08:31 +0900 (JST)
From: TAKADA Yoshihito <takada@....nifty.com>
To: alan@...rguk.ukuu.org.uk
Cc: linux-kernel@...r.kernel.org, teheo@...ell.com
Subject: Re: i386: pata_cs5520 does not work
From: TAKADA Yoshihito <takada@....nifty.com>
Subject: Re: i386: pata_cs5520 does not work
Date: Thu, 19 Jul 2007 02:20:39 +0900
Hi. I found it return from cs5520_init_one();
devm_request_irq() is failed.
> rc = devm_request_irq(&pdev->dev, irq[ap->port_no],
> ata_interrupt, 0, DRV_NAME, host);
devm_request_irq() is called twice from loop.
In 1st time, ap->port_no is 0. devm_request_irq() is success.
2nd time, ap->port_no is 0 too. devm_request_irq() failed.
> Hi. Thanks for reply.
> It is not issue of pata_cs5520.
> In good case, ReiserFS detects root partition.
> Bad case, ReiserFS does not detects partition.
>
> ReiserFS: sda2: found reiserfs format "3.6" with standard journal
>
> On Wed, 18 Jul 2007 14:42:12 +0100
> Alan Cox <alan@...rguk.ukuu.org.uk> wrote:
>
> > > > I'll take a look at this next week. Can you send me a dmesg of the
> > > > working case and an lspci -vvxxx
> > >
> > > Thanks. attached 2 dmesgs(2.6.21 with pata_cs5520, 2.6.22 with IDE) and output of lspci.
> >
> > Nothing obviously wrong. What happens if you find the line
> >
> > if (!iomap[0] || !iomap[1] || !iomap[2] || !iomap[3] || !iomap[4])
> > return -ENOMEM;
> >
> > in pata_cs5520.c and change the end from return -ENOMEM to
> >
> > if (!iomap[0] || !iomap[1] || !iomap[2] || !iomap[3] || !iomap[4])
> > panic("IO MAP");
> >
> > This should help identify where the problem occurs
>
> --
> TAKADA <takada@....nifty.com>
>
>
-
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