* Promise 20378
@ 2005-07-03 9:53 Phil Dibowitz
2005-07-05 2:48 ` Jeff Garzik
0 siblings, 1 reply; 8+ messages in thread
From: Phil Dibowitz @ 2005-07-03 9:53 UTC (permalink / raw)
To: linux-ide
[-- Attachment #1: Type: text/plain, Size: 2011 bytes --]
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,
--
Phil Dibowitz phil@ipom.com
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Promise 20378
2005-07-03 9:53 Promise 20378 Phil Dibowitz
@ 2005-07-05 2:48 ` Jeff Garzik
2005-07-05 5:50 ` Phil Dibowitz
2005-07-23 20:38 ` Phil Dibowitz
0 siblings, 2 replies; 8+ messages in thread
From: Jeff Garzik @ 2005-07-05 2:48 UTC (permalink / raw)
To: Phil Dibowitz; +Cc: linux-ide
Phil Dibowitz wrote:
> 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Promise 20378
2005-07-05 2:48 ` Jeff Garzik
@ 2005-07-05 5:50 ` Phil Dibowitz
2005-07-23 20:38 ` Phil Dibowitz
1 sibling, 0 replies; 8+ messages in thread
From: Phil Dibowitz @ 2005-07-05 5:50 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-ide
[-- Attachment #1: Type: text/plain, Size: 1199 bytes --]
Jeff Garzik wrote:
> Phil Dibowitz wrote:
>
>> 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...
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.
--
Phil Dibowitz phil@ipom.com
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Promise 20378
2005-07-05 2:48 ` Jeff Garzik
2005-07-05 5:50 ` Phil Dibowitz
@ 2005-07-23 20:38 ` Phil Dibowitz
2005-09-04 7:54 ` Phil Dibowitz
1 sibling, 1 reply; 8+ messages in thread
From: Phil Dibowitz @ 2005-07-23 20:38 UTC (permalink / raw)
To: linux-ide
[-- Attachment #1: Type: text/plain, Size: 1387 bytes --]
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,
--
Phil Dibowitz phil@ipom.com
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Promise 20378
2005-07-23 20:38 ` Phil Dibowitz
@ 2005-09-04 7:54 ` Phil Dibowitz
0 siblings, 0 replies; 8+ messages in thread
From: Phil Dibowitz @ 2005-09-04 7:54 UTC (permalink / raw)
To: Phil Dibowitz; +Cc: linux-ide
[-- Attachment #1: Type: text/plain, Size: 1665 bytes --]
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.
Phil Dibowitz wrote:
> 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,
--
Phil Dibowitz phil@ipom.com
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Promise 20378
@ 2005-09-09 19:21 mreuther
2006-04-10 2:50 ` Phil Dibowitz
0 siblings, 1 reply; 8+ messages in thread
From: mreuther @ 2005-09-09 19:21 UTC (permalink / raw)
To: Phil Dibowitz; +Cc: linux-ide
Phil, there is a patch in Jeff Garzik's libata-dev patch queue to support PATA
on Promise SATA hosts. I haven't tried it out myself, but it may cover your
case.
Go to http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/ and grab the
latest patch for 2.4 or 2.6. If you grab 2.6.13-rc7-libata1.patch.bz2, it
applies cleanly to 2.6.13.
Please report back the results!
Best regards,
Matt
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Promise 20378
2005-09-09 19:21 mreuther
@ 2006-04-10 2:50 ` Phil Dibowitz
2006-04-16 21:32 ` Phil Dibowitz
0 siblings, 1 reply; 8+ messages in thread
From: Phil Dibowitz @ 2006-04-10 2:50 UTC (permalink / raw)
To: mreuther; +Cc: linux-ide
[-- Attachment #1: Type: text/plain, Size: 1679 bytes --]
mreuther@umich.edu wrote:
> Phil, there is a patch in Jeff Garzik's libata-dev patch queue to support PATA
> on Promise SATA hosts. I haven't tried it out myself, but it may cover your
> case.
>
> Go to http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/ and grab the
> latest patch for 2.4 or 2.6. If you grab 2.6.13-rc7-libata1.patch.bz2, it
> applies cleanly to 2.6.13.
>
> Please report back the results!
Finally got around to trying this. It works great! I patched 2.6.15.6
with this patch, and everything seems to be fully functional as far as
the PATA drive on that controller is concerned.
However, a few concerns:
1. The kernel raid autodetection doesn't work here. Though I'm not clear
if it supports going across controllers. I set up a raid-1 array wtih a
drive on my other controller, set the partition type to autodetect, but
a reboot left my array with just the drive not on the promise card.
2. Currently my BIOS's ATA settings are "SATA mode" - I also have "PATA
mode" "SATA+PATA mode". I tried SATA+PATA and I get a bunch of IRQ16
ignored messages, a few tracebacks, and a LOT of slowness. I also get 3
scsiI haven't tried the PATA mode.
Note that my box has 82801EB/ER controller which is currently my primary
contoller as well as the Promise PDC20378 which is what I'm using this
patch for.
Any help would be appreciated.
--
Phil Dibowitz phil@ipom.com
Freeware and Technical Pages Insanity Palace of Metallica
http://www.phildev.net/ http://www.ipom.com/
"Be who you are and say what you feel, because those who mind don't
matter and those who matter don't mind."
- Dr. Suess
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Promise 20378
2006-04-10 2:50 ` Phil Dibowitz
@ 2006-04-16 21:32 ` Phil Dibowitz
0 siblings, 0 replies; 8+ messages in thread
From: Phil Dibowitz @ 2006-04-16 21:32 UTC (permalink / raw)
To: linux-ide
[-- Attachment #1: Type: text/plain, Size: 1829 bytes --]
I never saw a response to my email below. Any thoughts on this? Thanks.
Phil Dibowitz wrote:
> mreuther@umich.edu wrote:
>
>>Phil, there is a patch in Jeff Garzik's libata-dev patch queue to support PATA
>>on Promise SATA hosts. I haven't tried it out myself, but it may cover your
>>case.
>>
>>Go to http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/ and grab the
>>latest patch for 2.4 or 2.6. If you grab 2.6.13-rc7-libata1.patch.bz2, it
>>applies cleanly to 2.6.13.
>>
>>Please report back the results!
>
>
> Finally got around to trying this. It works great! I patched 2.6.15.6
> with this patch, and everything seems to be fully functional as far as
> the PATA drive on that controller is concerned.
>
> However, a few concerns:
>
> 1. The kernel raid autodetection doesn't work here. Though I'm not clear
> if it supports going across controllers. I set up a raid-1 array wtih a
> drive on my other controller, set the partition type to autodetect, but
> a reboot left my array with just the drive not on the promise card.
>
> 2. Currently my BIOS's ATA settings are "SATA mode" - I also have "PATA
> mode" "SATA+PATA mode". I tried SATA+PATA and I get a bunch of IRQ16
> ignored messages, a few tracebacks, and a LOT of slowness. I also get 3
> scsiI haven't tried the PATA mode.
>
> Note that my box has 82801EB/ER controller which is currently my primary
> contoller as well as the Promise PDC20378 which is what I'm using this
> patch for.
>
> Any help would be appreciated.
>
--
Phil Dibowitz phil@ipom.com
Freeware and Technical Pages Insanity Palace of Metallica
http://www.phildev.net/ http://www.ipom.com/
"Be who you are and say what you feel, because those who mind don't
matter and those who matter don't mind."
- Dr. Suess
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-04-16 21:32 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-03 9:53 Promise 20378 Phil Dibowitz
2005-07-05 2:48 ` Jeff Garzik
2005-07-05 5:50 ` Phil Dibowitz
2005-07-23 20:38 ` Phil Dibowitz
2005-09-04 7:54 ` Phil Dibowitz
-- strict thread matches above, loose matches on Subject: below --
2005-09-09 19:21 mreuther
2006-04-10 2:50 ` Phil Dibowitz
2006-04-16 21:32 ` Phil Dibowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).