Skip to contentSkip to conversation

Promise 20378

DISCUSSION Phil Dibowitz 2 participants 5 messages Jul 3, 2005 – Sep 4, 2005 libata

lore
Share & tools
lore
#0 lore raw

So, there doesn't appear to be a driver for the 20378 in the kernel... though google showed a few people using some proprietary drivers with varying luck. Ew.

I noticed there are a lot of other Promise drivers in the kernel for the same general line, which leads me to believe there may be some interest in getting a 20378 driver in the kernel.

So, since I now own a machine with one, I thought I'd drop this list a line and say "I can test stuff and provide info on the chipset"...

Specifically, I have a:

0000:02:04.0 RAID bus controller: Promise Technology, Inc. PDC20378 (FastTrak 378/SATA 378) (rev 02)
Subsystem: Asustek Computer, Inc. PC-DL Deluxe motherboard
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-

        Latency: 96 (1000ns min, 4500ns max), Cache Line Size: 0x91 (580

bytes)
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at df00 [size=64]
Region 1: I/O ports at dfa0 [size=16]
Region 2: I/O ports at d880 [size=128]
Region 3: Memory at feafe000 (32-bit, non-prefetchable) [size=4K] Region 4: Memory at feac0000 (32-bit, non-prefetchable) [size=128K]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Anyway, I don't know if that's any help, or if there is any interest, but I thought I'd throw it out there.

PS, I'm not on the list, so please CC me on replies.

Thanks,

Signature · 7 lines
Phil Dibowitz                             [email protected]
Freeware and Technical Pages              Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
 - Benjamin Franklin, 1759
#1 lore raw
Quoted 10 lines · Phil Dibowitz

So, there doesn't appear to be a driver for the 20378 in the kernel... though google showed a few people using some proprietary drivers with varying luck. Ew.

I noticed there are a lot of other Promise drivers in the kernel for the same general line, which leads me to believe there may be some interest in getting a 20378 driver in the kernel.

So, since I now own a machine with one, I thought I'd drop this list a line and say "I can test stuff and provide info on the chipset"...

Just add the PCI ID to drivers/scsi/sata_promise.c...

Jeff

#2 lore raw
Quoted 10 lines · Jeff Garzik
Quoted 8 lines · Phil Dibowitz

So, there doesn't appear to be a driver for the 20378 in the kernel... though google showed a few people using some proprietary drivers with varying luck. Ew.

I noticed there are a lot of other Promise drivers in the kernel for the same general line, which leads me to believe there may be some interest in getting a 20378 driver in the kernel.

Quoted 5 lines
Quoted 2 lines

So, since I now own a machine with one, I thought I'd drop this list a line and say "I can test stuff and provide info on the chipset"...

Just add the PCI ID to drivers/scsi/sata_promise.c...

Markus K. emailed me to let me know about sata_promise, which already binds to my controller with no errors. I'm wondering if it'll support the PATA controller on there as well - we'll see. I'll play around with it and report back. Thanks.

Signature · 7 lines
Phil Dibowitz                             [email protected]
Freeware and Technical Pages              Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
 - Benjamin Franklin, 1759
#3 lore raw
In reply to Jeff Garzik

I finally got a chance to test this.

So, the sata_promise driver seems to support the Promise 20378 controller, but it doesn't see PATA drives (the controller supports both SATA and PATA drives).

I plugged a single PATA drive in - then in the promise BIOS I configured a single "array" on the drive, and booted. This sata_promise sees the PATA and SATA controller, but doesn't see the drives:

Jul 23 13:31:47 rider kernel: ata1: SATA max UDMA/133 cmd 0xF89E4200 ctl
0xF89E4238 bmdma 0x0 irq 23
Jul 23 13:31:47 rider kernel: ata2: SATA max UDMA/133 cmd 0xF89E4280 ctl
0xF89E42B8 bmdma 0x0 irq 23
Jul 23 13:31:47 rider kernel: ata1: no device found (phy stat 00000000)
Jul 23 13:31:47 rider kernel: scsi0 : sata_promise
Jul 23 13:31:47 rider kernel: ata2: no device found (phy stat 00000000)
Jul 23 13:31:47 rider kernel: scsi1 : sata_promise

It sees no drives there period. Further, while it the device has 2 SATA chains, it only has 1 PATA, but as you can see, it seems to see 2.

Any ideas?

(PS. I'm not on the list, so please CC me).

Thanks,

Signature · 7 lines
Phil Dibowitz                             [email protected]
Freeware and Technical Pages              Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
 - Benjamin Franklin, 1759
#4 lore raw

I never did get a response to this - is this the known status (if so, that's fine I have a work around, but if I'm doing something stupid, i'd also like to know so I can start using this)...

Thanks.

Quoted 27 lines · Phil Dibowitz

I finally got a chance to test this.

So, the sata_promise driver seems to support the Promise 20378 controller, but it doesn't see PATA drives (the controller supports both SATA and PATA drives).

I plugged a single PATA drive in - then in the promise BIOS I configured a single "array" on the drive, and booted. This sata_promise sees the PATA and SATA controller, but doesn't see the drives:

Jul 23 13:31:47 rider kernel: ata1: SATA max UDMA/133 cmd 0xF89E4200 ctl
0xF89E4238 bmdma 0x0 irq 23
Jul 23 13:31:47 rider kernel: ata2: SATA max UDMA/133 cmd 0xF89E4280 ctl
0xF89E42B8 bmdma 0x0 irq 23
Jul 23 13:31:47 rider kernel: ata1: no device found (phy stat 00000000)
Jul 23 13:31:47 rider kernel: scsi0 : sata_promise
Jul 23 13:31:47 rider kernel: ata2: no device found (phy stat 00000000)
Jul 23 13:31:47 rider kernel: scsi1 : sata_promise

It sees no drives there period. Further, while it the device has 2 SATA chains, it only has 1 PATA, but as you can see, it seems to see 2.

Any ideas?

(PS. I'm not on the list, so please CC me).

Thanks,

Signature · 7 lines
Phil Dibowitz                             [email protected]
Freeware and Technical Pages              Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
 - Benjamin Franklin, 1759