public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* can't see drive on promise 20375 ATA card
@ 2004-05-08  2:32 sean
  2004-05-08 15:53 ` sean
  2004-05-10 16:17 ` Jeff Garzik
  0 siblings, 2 replies; 6+ messages in thread
From: sean @ 2004-05-08  2:32 UTC (permalink / raw)
  To: linux-kernel

got a maxtor sata/i50 combo card today. It uses the promise 20375 chip 
with 2 SATA ports and one ATA port.

Using 2.6.6-rc3-bk8.

grep SATA .config
CONFIG_SCSI_SATA=y
# CONFIG_SCSI_SATA_SVW is not set
CONFIG_SCSI_SATA_PROMISE=y

Also:

# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set

should they be?

dmesg has:

libata version 1.02 loaded.
sata_promise version 0.92
ata1: SATA max UDMA/133 cmd 0xE1863200 ctl 0xE1863238 bmdma 0x0 irq 19
ata2: SATA max UDMA/133 cmd 0xE1863280 ctl 0xE18632B8 bmdma 0x0 irq 19
ata1: no device found (phy stat 00000000)
ata1: thread exiting
scsi0 : sata_promise
ata2: no device found (phy stat 00000000)
ata2: thread exiting
scsi1 : sata_promise


So it can see the SATA ports.

How do I get the kernel to see the ATA port on the card?

thanks

sean


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: can't see drive on promise 20375 ATA card
  2004-05-08  2:32 can't see drive on promise 20375 ATA card sean
@ 2004-05-08 15:53 ` sean
  2004-05-08 17:20   ` sean
  2004-05-10 16:17 ` Jeff Garzik
  1 sibling, 1 reply; 6+ messages in thread
From: sean @ 2004-05-08 15:53 UTC (permalink / raw)
  To: linux-kernel

Also, on boot, the SATA card bios is loaded and sees the PATA drive.

sean


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: can't see drive on promise 20375 ATA card
  2004-05-08 15:53 ` sean
@ 2004-05-08 17:20   ` sean
  0 siblings, 0 replies; 6+ messages in thread
From: sean @ 2004-05-08 17:20 UTC (permalink / raw)
  To: linux-kernel

Looking at the source - usually foolhardy at least for me, I find this 
at lines 1806-1808 of sata_promise.c:

               case board_2037x:
        		probe_ent->n_ports = 2;
		break;

Is the solution here as simple as changing two to three? Does this break 
somethng else?

Has anyone else got this board to work? It's been out over a year.

sean


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: can't see drive on promise 20375 ATA card
  2004-05-08  2:32 can't see drive on promise 20375 ATA card sean
  2004-05-08 15:53 ` sean
@ 2004-05-10 16:17 ` Jeff Garzik
  2004-05-10 18:03   ` Marc Singer
  1 sibling, 1 reply; 6+ messages in thread
From: Jeff Garzik @ 2004-05-10 16:17 UTC (permalink / raw)
  To: sean; +Cc: linux-kernel

sean wrote:
> libata version 1.02 loaded.
> sata_promise version 0.92
> ata1: SATA max UDMA/133 cmd 0xE1863200 ctl 0xE1863238 bmdma 0x0 irq 19
> ata2: SATA max UDMA/133 cmd 0xE1863280 ctl 0xE18632B8 bmdma 0x0 irq 19
> ata1: no device found (phy stat 00000000)
> ata1: thread exiting
> scsi0 : sata_promise
> ata2: no device found (phy stat 00000000)
> ata2: thread exiting
> scsi1 : sata_promise
> 
> 
> So it can see the SATA ports.
> 
> How do I get the kernel to see the ATA port on the card?


The driver does not support the PATA ports.

	Jeff




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: can't see drive on promise 20375 ATA card
  2004-05-10 16:17 ` Jeff Garzik
@ 2004-05-10 18:03   ` Marc Singer
  2004-05-10 18:11     ` Jeff Garzik
  0 siblings, 1 reply; 6+ messages in thread
From: Marc Singer @ 2004-05-10 18:03 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: sean, linux-kernel

On Mon, May 10, 2004 at 12:17:08PM -0400, Jeff Garzik wrote:
> sean wrote:
> >libata version 1.02 loaded.
> >sata_promise version 0.92
> >ata1: SATA max UDMA/133 cmd 0xE1863200 ctl 0xE1863238 bmdma 0x0 irq 19
> >ata2: SATA max UDMA/133 cmd 0xE1863280 ctl 0xE18632B8 bmdma 0x0 irq 19
> >ata1: no device found (phy stat 00000000)
> >ata1: thread exiting
> >scsi0 : sata_promise
> >ata2: no device found (phy stat 00000000)
> >ata2: thread exiting
> >scsi1 : sata_promise
> >
> >
> >So it can see the SATA ports.
> >
> >How do I get the kernel to see the ATA port on the card?
> 
> 
> The driver does not support the PATA ports.

Do you think it is reasonable to include support for PATA ports in
your code?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: can't see drive on promise 20375 ATA card
  2004-05-10 18:03   ` Marc Singer
@ 2004-05-10 18:11     ` Jeff Garzik
  0 siblings, 0 replies; 6+ messages in thread
From: Jeff Garzik @ 2004-05-10 18:11 UTC (permalink / raw)
  To: Marc Singer; +Cc: sean, linux-kernel

Marc Singer wrote:
> On Mon, May 10, 2004 at 12:17:08PM -0400, Jeff Garzik wrote:
> 
>>sean wrote:
>>
>>>libata version 1.02 loaded.
>>>sata_promise version 0.92
>>>ata1: SATA max UDMA/133 cmd 0xE1863200 ctl 0xE1863238 bmdma 0x0 irq 19
>>>ata2: SATA max UDMA/133 cmd 0xE1863280 ctl 0xE18632B8 bmdma 0x0 irq 19
>>>ata1: no device found (phy stat 00000000)
>>>ata1: thread exiting
>>>scsi0 : sata_promise
>>>ata2: no device found (phy stat 00000000)
>>>ata2: thread exiting
>>>scsi1 : sata_promise
>>>
>>>
>>>So it can see the SATA ports.
>>>
>>>How do I get the kernel to see the ATA port on the card?
>>
>>
>>The driver does not support the PATA ports.
> 
> 
> Do you think it is reasonable to include support for PATA ports in
> your code?


It is very reasonable :)  I just haven't had the time to do it yet.

	Jeff




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-05-10 18:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-08  2:32 can't see drive on promise 20375 ATA card sean
2004-05-08 15:53 ` sean
2004-05-08 17:20   ` sean
2004-05-10 16:17 ` Jeff Garzik
2004-05-10 18:03   ` Marc Singer
2004-05-10 18:11     ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox