mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Wish for 2006 to Alan Cox and Jeff Garzik: A functional Driver for PDC202XX
@ 2006-01-01 17:39 1qay beer
  2006-01-01 17:56 ` Alistair John Strachan
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: 1qay beer @ 2006-01-01 17:39 UTC (permalink / raw)
  To: linux-kernel

Hello,
Dear Alan Cox,
Dear Jeff Garzik,

Everyone a happy new year!

We are in stable Kernel 2.6.14.5, year 2006.
Since 1997 people asking on several list for a functional PDC202XX Driver.
Since some years I spend hours and hours finding a solution for a stable driver. 
(PDC20269/Promise Ultra133 TX2)
There seem to be none.

There are two Solution:
-The IDE Driver (pdc202xx_new) has still problems with "DMA Timeout".
-The Libata Driver (pata_pdc2027x) seems to be still somewhat experimental.

Unfortunatly I'am not a kernel developper else there would be probably already
a solution ;-)

So what is the Solution for the PDC20269 Ultra ATA Controller?
I would mark this bold on the wishlist for 2006 ;-)

Thanx


=========================================================
Anyone wants a small summary of the halfworking solutions

Way 1 - IDE pdc202xx_new  --> /dev/hdxx )
------------------------------------------
  Just compile your kernel with a module (or built in):
  $make menuconfig
       -> Device Drivers                                                                                 
         -> ATA/ATAPI/MFM/RLL support                                                                     
           -> ATA/ATAPI/MFM/RLL support (IDE [=y])                                                       
             -> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support (BLK_DEV_IDE [=y])                    
               -> PCI IDE chipset support (BLK_DEV_IDEPCI [=y])                                           
                 -> Generic PCI bus-master DMA support (BLK_DEV_IDEDMA_PCI
		   ->PROMISE PDC202{68|69|70|71|75|76|77} support
   $make-kpkg kernel_image
Problems:)
hde: dma_timer_expiry: dma status == 0x60
 hde: DMA timeout retry
 PDC202XX: Primary channel reset.
 hde: timeout waiting for DMA
 hde: status error: status=0x58 { DriveReady SeekComplete DataRequest }
 ide: failed opcode was: unknown
 hde: drive not ready for command
 hde: status error: status=0x50 { DriveReady SeekComplete }
 ide: failed opcode was: unknown
 hde: no DRQ after issuing MULTWRITE_EXT
 hde: status error: status=0x50 { DriveReady SeekComplete }
 ide: failed opcode was: unknown
 hde: no DRQ after issuing MULTWRITE_EXT
 hde: status error: status=0x50 { DriveReady SeekComplete }
 ide: failed opcode was: unknown
 hdf: DMA disabled
 PDC202XX: Primary channel reset.
 hde: no DRQ after issuing MULTWRITE_EXT
 ide2: reset: success
 hde: dma_timer_expiry: dma status == 0x20
 hde: DMA timeout retry
 PDC202XX: Primary channel reset.
 hde: timeout waiting for DMA

or similar


Way 2 - libata  (emulates SCSI device) --> /dev/sdxx  )
-------------------------------------------------------
     Get the latest libata patch/kernel
          http://www.kernel.org/pub/linux/kernel/people/jgarzik/patchkits/2.6/2.6.15-rc4-libata1.patch.bz2
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.15-rc5.tar.bz2
       ....(untar)...
       $make menuconfig
        -> Device Drivers                                                                                  
         -> SCSI device support                                                                           
           -> SCSI device support (SCSI [=m])                                                             
             -> SCSI low-level drivers                                                                    
               -> Serial ATA (SATA) support (SCSI_SATA [=m])  
                  ->SCSI_PATA_PDC2027X
  
        Enable PATA as suggested here:
        -http://lkml.org/lkml/2004/8/1/100
        -http://seclists.org/lists/linux-kernel/2005/May/0503.html
           In include/linux/libata.h
              #define ATA_ENABLE_ATAPI /* undefine to disable ATAPI support */
              #define ATA_ENABLE_PATA /* define to enable PATA support in some
                                       * low-level drivers */ 
         
        Compile and pray!

        With some harddisk it works without problem (seagate 7200.8)
        With others Maxtor Maxline III it's not working at all:
        Kernel Panics even at boottime:
         ATA1: Abnormal status 0x8 on port 0xD...........
         or Lost Interrupts...
         or the drivers seems to be loaded (lsmod) but there are no
            harddiscs under /prov/scsi/... /dev/sdxx



-- 
_______________________________________________
The coolest e-mail address on the web and it’s FREE!  Sign-up today for Beer Mail @ beer.com.


^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: Wish for 2006 to Alan Cox and Jeff Garzik: A functional Driver for PDC202XX
@ 2006-01-06 11:41 1qay beer
  0 siblings, 0 replies; 19+ messages in thread
From: 1qay beer @ 2006-01-06 11:41 UTC (permalink / raw)
  To: linux-kernel


Thanx to everyone.

The Controller Board is fine.

What i noticed is that if you have the controller in a 
full PCI Bus Master Slot without IRQ sharing - the Controller works better
than in shared slot.

Generally the first PCI Slot is shared with AGP.
The Second is normaly complet "IRQ share free" and the way to go.

Slot 4/5 is mostly shared (as long you have that many slots).
Slot 3 may be shared with onboard stuff like sound, onboard graphic, usb or others.

The Board is now working without Problems.
What I did is Remove the IDE-Driver from the Kernel and use the Libata Driver,
which now even works with S.M.A.R.T. without Problem.

I removed the UDMA-133 Drive and have now only connected UDMA-100 Drives to the Controller. The UDMA-133 is connected to the Motherboard now.

Mostly Maxtor produced UDMA-133 Drives which are going to fail in half a year anyway ;-(.

Now i use only Seagate Drives which have 5 Years warranty and I never had Problem with them. (too bad maxtor is part of seagate now...I hope they will not fail in their good quality)

Cheers

----- Original Message -----
From: "Alan Cox" <alan@lxorguk.ukuu.org.uk>
To: "1qay beer" <1qay@beer.com>
Subject: Re: Wish for 2006 to Alan Cox and Jeff Garzik: A functional Driver	for PDC202XX
Date: Mon, 02 Jan 2006 22:35:51 +0000

> 
> On Sul, 2006-01-01 at 13:39 -0400, 1qay beer wrote:
> > Hello,
> > Dear Alan Cox,
> > Dear Jeff Garzik,
> >
> > Everyone a happy new year!
> 
> Ditto
> 
> > -The IDE Driver (pdc202xx_new) has still problems with "DMA Timeout".
> 
> The legacy IDE layer is handled by Bartlomiej so you should direct your
> enquiries and requests to him and the linux-ide list.
> 
> > -The Libata Driver (pata_pdc2027x) seems to be still somewhat experimental.
> 
> and while I'm working on libata pata a fair bit the pdc202xx driver is
> the excellent work of Albert Lee.
> 
> The 20269 has always shown up as a problem for some users but not for
> most. Nobody ever really got to the bottom of it to be honest. Please
> send Albert your reports about which hardware works and which fails
> (<albertcc@tw.ibm.com>) as it may be very useful. In particular the
> drive that works appears to be UDMA 100 and the failing one UDMA 133
> 
> Alan


-- 
_______________________________________________
The coolest e-mail address on the web and it’s FREE!  Sign-up today for Beer Mail @ beer.com.


^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: [patch 8/8] lock validator: add s390 to supported options
@ 2006-06-19 22:05 Andrew Morton
  2006-06-19 22:18 ` Wish for 2006 to Alan Cox and Jeff Garzik: A functional Driver for PDC202XX Erik Ohrnberger
  0 siblings, 1 reply; 19+ messages in thread
From: Andrew Morton @ 2006-06-19 22:05 UTC (permalink / raw)
  To: Heiko Carstens; +Cc: mingo, arjan, linux-kernel, schwidefsky

Heiko Carstens <heiko.carstens@de.ibm.com> wrote:
>
>  config DEBUG_SPINLOCK_ALLOC
>  	bool "Spinlock debugging: detect incorrect freeing of live spinlocks"
> -	depends on DEBUG_SPINLOCK && X86
> +	depends on DEBUG_SPINLOCK && (X86 || S390)

Can we please stomp this out before it starts to look like
CONFIG_FRAME_POINTER?

We should define CONFIG_ARCH_SUPPORTS_LOCKDEP down in
arch/[i386|x86_64|s390]/Kconfig and use that in lib/Kconfig.debug.


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

end of thread, other threads:[~2006-06-21 17:47 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-01 17:39 Wish for 2006 to Alan Cox and Jeff Garzik: A functional Driver for PDC202XX 1qay beer
2006-01-01 17:56 ` Alistair John Strachan
2006-01-01 21:22 ` Joshua Kwan
2006-01-02  9:04   ` Pasi Kärkkäinen
2006-01-02 14:28 ` Barry K. Nathan
2006-01-02 22:35 ` Alan Cox
2006-01-06 11:41 1qay beer
2006-06-19 22:05 [patch 8/8] lock validator: add s390 to supported options Andrew Morton
2006-06-19 22:18 ` Wish for 2006 to Alan Cox and Jeff Garzik: A functional Driver for PDC202XX Erik Ohrnberger
2006-06-20  8:20   ` Alan Cox
2006-06-20 12:52     ` Erik Ohrnberger
2006-06-21  1:19       ` Erik Ohrnberger
2006-06-21 10:51         ` Alan Cox
2006-06-21 13:09           ` Erik Ohrnberger
2006-06-21 13:34             ` Alan Cox
2006-06-21 13:34               ` Mike Snitzer
2006-06-21 14:07                 ` Alan Cox
2006-06-21 15:20                   ` Mike Snitzer
2006-06-21 16:10                     ` Alan Cox
2006-06-21 17:47                       ` Mike Snitzer

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

Powered by JetHome