Re: Fwd: [LIBATA] drives not detected

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

 



Patrick Ale wrote:
> On 2/16/07, Albert Lee <albertcc@xxxxxxxxxx> 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);
 }

-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux