mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: TAKADA Yoshihito <takada@mbf.nifty.com>
To: alan@lxorguk.ukuu.org.uk
Cc: linux-kernel@vger.kernel.org, teheo@novell.com
Subject: Re: i386: pata_cs5520 does not work
Date: Thu, 19 Jul 2007 19:08:31 +0900 (JST)	[thread overview]
Message-ID: <20070719.190831.23015057.takada@mbf.nifty.com> (raw)
In-Reply-To: <20070719015806.8B09.TAKADA@mbf.nifty.com>

From: TAKADA Yoshihito <takada@mbf.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@lxorguk.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@mbf.nifty.com>
> 
> 

  parent reply	other threads:[~2007-07-19 10:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-15 16:41 TAKADA Yoshihito
2007-07-15 17:39 ` Alan Cox
2007-07-16  0:19   ` TAKADA Yoshihito
2007-07-18 13:42     ` Alan Cox
2007-07-18 17:20       ` TAKADA Yoshihito
     [not found]       ` <20070719015806.8B09.TAKADA@mbf.nifty.com>
2007-07-19 10:08         ` TAKADA Yoshihito [this message]
2007-07-19 15:18           ` Alan Cox
2007-07-20  0:45             ` TAKADA Yoshihito
2007-07-20  1:22             ` Tejun Heo

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=20070719.190831.23015057.takada@mbf.nifty.com \
    --to=takada@mbf.nifty.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=teheo@novell.com \
    /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

Powered by JetHome