Re: i386: pata_cs5520 does not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: TAKADA Yoshihito <[email protected]>
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 <[email protected]> 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 <[email protected]>
> 
> 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux