All of lore.kernel.org
 help / color / mirror / Atom feed
From: Albert Lee <albertcc@tw.ibm.com>
To: Patrick Ale <patrick.ale@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: Fwd: [LIBATA] drives not detected
Date: Fri, 16 Feb 2007 17:09:05 +0800	[thread overview]
Message-ID: <45D574B1.8080109@tw.ibm.com> (raw)
In-Reply-To: <8d158e1f0702160056j11ab6df1v99b4d72866f3e1b2@mail.gmail.com>

Patrick Ale wrote:
> On 2/16/07, Albert Lee <albertcc@tw.ibm.com> wrote:
> :
> 
>> It's strange that your on-board Promise adapter works but the add-on
>> adapter detects no devices.
>>
>> Could you please try reloading the pata_pdc2027x driver by
>> "rmmod pata_pdc2027x; modprobe pata_pdc2027x" and send the dmesg.
> 
> 
> Ofcourse I can :)
> 
> The output is attached as dmesg-reprobe.txt
> 
> Maybe this it totaly unrelated, but I remember that in the IDE drivers
> there was an option to force the card online, even when the BIOS was
> disabled. I *do* see the drives being detected and it tells me the
> BIOS is installed on boot time, but you never know :)
> 
> The controller with problems is scsi11 if I see correctly. Since on
> that channel no disks are attached and no "abnormal status" is
> outputted, you do see this "error" twice tho, since i have nothing
> connected to the secundary channel on both controllers.
> 
> 

Maybe the Promise BIOS set the adapter as disabled...
Could you please try the attached patch?

--
albert

--- linux-2.6.20-git11/drivers/ata/pata_pdc2027x.c~	2007-02-16 13:35:31.000000000 +0800
+++ linux-2.6.20-git11/drivers/ata/pata_pdc2027x.c	2007-02-16 17:02:02.000000000 +0800
@@ -315,8 +315,8 @@ static inline int pdc2027x_port_enabled(
 static int pdc2027x_prereset(struct ata_port *ap)
 {
 	/* Check whether port enabled */
-	if (!pdc2027x_port_enabled(ap))
-		return -ENOENT;
+	//if (!pdc2027x_port_enabled(ap))
+		//return -ENOENT;
 	pdc2027x_cbl_detect(ap);
 	return ata_std_prereset(ap);
 }


  parent reply	other threads:[~2007-02-16  9:09 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-15  8:48 [LIBATA] drives not detected Patrick Ale
2007-02-15  8:52 ` Patrick Ale
2007-02-16  8:10   ` Fwd: " Patrick Ale
2007-02-16  8:48     ` Albert Lee
2007-02-16  8:56       ` Patrick Ale
2007-02-16  9:06         ` Patrick Ale
2007-02-16  9:09         ` Albert Lee [this message]
2007-02-16  9:48           ` Patrick Ale
2007-02-16 10:07             ` Albert Lee
2007-02-16 10:18               ` Patrick Ale
2007-02-17 10:36               ` Patrick Ale
2007-02-17 16:29                 ` Patrick Ale
2007-02-18 14:50                   ` Patrick Ale
2007-02-20 11:17                 ` Tejun Heo
2007-02-20 12:05                   ` Patrick Ale
2007-02-20 22:00                     ` Patrick Ale
2007-02-21  6:49                       ` Tejun Heo
2007-02-21 12:47                         ` Patrick Ale
2007-02-21 13:19                           ` Tejun Heo
2007-02-21 15:25                             ` Patrick Ale
2007-02-21 15:36                               ` Patrick Ale
2007-02-21 16:13                                 ` Patrick Ale
2007-02-21 18:30                             ` Patrick Ale
2007-02-23  4:59                               ` Tejun Heo
2007-02-23  8:41                                 ` Patrick Ale
2007-02-23  9:38                                   ` Jeff Garzik
2007-02-23 10:16                                     ` Patrick Ale
2007-02-24 12:24                                       ` Patrick Ale
2007-02-24 13:05                                         ` Tejun Heo
2007-02-24 13:56                                           ` Patrick Ale
2007-02-24 14:56                                             ` Bartlomiej Zolnierkiewicz
2007-02-24 15:13                                               ` Patrick Ale
2007-02-24 17:32                                                 ` Bartlomiej Zolnierkiewicz
2007-02-24 17:37                                                   ` Patrick Ale
2007-02-24 18:11                                                     ` Bartlomiej Zolnierkiewicz
2007-02-25 13:46                                                       ` Patrick Ale
2007-02-25 17:22                                                         ` Bartlomiej Zolnierkiewicz
2007-02-25 21:02                                                           ` Patrick Ale
2007-02-26  8:18                                                             ` Patrick Ale

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=45D574B1.8080109@tw.ibm.com \
    --to=albertcc@tw.ibm.com \
    --cc=albertl@mail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=patrick.ale@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.