linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 21rc6 serverworks IDE blows even more than is usual :)
@ 2003-05-29 11:40 Tomas Szepe
  2003-05-29 14:01 ` Alan Cox
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Tomas Szepe @ 2003-05-29 11:40 UTC (permalink / raw)
  To: marcelo, alan, linux-kernel, B.Zolnierkiewicz

Hi Alan, Bartolomiej, Marcelo,

I can't seem to get the onboard Serverworks CSB5 IDE controller (rev 93)
in a Compaq Proliant ML350 G3 to work (reliably/at all) no matter what
kernel I use:

o  2.4.21-rc6
	intrerrupt timeouts, can't r/w from/to drive reliably in pio, dma hosed

o  2.4.21-rc2-ac3
	r/w in pio ok, dma hosed

o  2.4.20
	intrerrupt timeouts, can't r/w from/to drive reliably in pio, dma hosed

o  2.4.20-pre8-ac3 (has always worked on OSB4 beasts for me)
	intrerrupt timeouts, can't r/w from/to drive reliably in pio, dma hosed

lspci & .config excerpts plus other bits of info follow.
The box is SMP + highmem.

--

00:0f.1 IDE interface: ServerWorks CSB5 IDE Controller (rev 93) (prog-if 8a [Master SecP PriP])
	Subsystem: ServerWorks CSB5 IDE Controller
	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: 64
	Region 0: I/O ports at <ignored>
	Region 1: I/O ports at <ignored>
	Region 2: I/O ports at <unassigned>
	Region 3: I/O ports at <unassigned>
	Region 4: I/O ports at 2000 [size=16]

CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
# CONFIG_IDEDISK_STROKE is not set
# CONFIG_BLK_DEV_IDECS is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
CONFIG_BLK_DEV_IDESCSI=y
# CONFIG_IDE_TASK_IOCTL is not set
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
# CONFIG_BLK_DEV_ISAPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not set
# CONFIG_BLK_DEV_ADMA100 is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_WDC_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_AMD74XX_OVERRIDE is not set
CONFIG_BLK_DEV_CMD64X=y
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_HPT34X_AUTODMA is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_PDC202XX_BURST is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_RZ1000 is not set
# CONFIG_BLK_DEV_SC1200 is not set
CONFIG_BLK_DEV_SVWKS=y
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
# CONFIG_DMA_NONPCI is not set
CONFIG_BLK_DEV_IDE_MODES=y
# CONFIG_BLK_DEV_ATARAID is not set
# CONFIG_BLK_DEV_ATARAID_PDC is not set
# CONFIG_BLK_DEV_ATARAID_HPT is not set
# CONFIG_BLK_DEV_ATARAID_SII is not set

(hdparm -Iv on 2.4.21-rc6)
/dev/hdc:
 multcount    = 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 232581/16/63, sectors = 234441648, start = 0

ATA device, with non-removable media
	Model Number:       WDC WD1200JB-00CRA1                     
	Serial Number:      WD-WCA8C4291018	Firmware Revision:  17.07W17
Standards:
	Supported: 5 4 3 2 
	Likely used: 6
Configuration:
	Logical		max	current
	cylinders	16383	16383
	heads		16	16
	sectors/track	63	63
	--
	CHS current addressable sectors:   16514064
	LBA    user addressable sectors:  234441648
	device size with M = 1024*1024:      114473 MBytes
	device size with M = 1000*1000:      120034 MBytes (120 GB)
Capabilities:
	LBA, IORDY(can be disabled)
	bytes avail on r/w long: 40	Queue depth: 1
	Standby timer values: spec'd by Standard, with device specific minimum
	R/W multiple sector transfer: Max = 16	Current = 16
	Recommended acoustic management value: 128, current value: 254
	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4 
	     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
	Enabled	Supported:
	   *	READ BUFFER cmd
	   *	WRITE BUFFER cmd
	   *	Host Protected Area feature set
	   *	Look-ahead
	   *	Write cache
	   *	Power Management feature set
		Security Mode feature set
	   *	SMART feature set
	   *	Device Configuration Overlay feature set 
		Automatic Acoustic Management feature set 
		SET MAX security extension
	   *	DOWNLOAD MICROCODE cmd
	   *	SMART self-test 
	   *	SMART error logging 
Security: 
		supported
	not	enabled
	not	locked
	not	frozen
	not	expired: security count
	not	supported: enhanced erase
HW reset results:
	CBLID- above Vih
	Device num = 0 determined by CSEL
Checksum: correct

(dmesg on 2.4.21-rc6)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SvrWks CSB5: IDE controller at PCI slot 00:0f.1
SvrWks CSB5: chipset revision 147
SvrWks CSB5: not 100% native mode: will probe irqs later
SvrWks CSB5: simplex device: DMA forced
    ide0: BM-DMA at 0x2000-0x2007, BIOS settings: hda:pio, hdb:pio
SvrWks CSB5: simplex device: DMA forced
    ide1: BM-DMA at 0x2008-0x200f, BIOS settings: hdc:pio, hdd:pio
hda: LTN486S, ATAPI CD/DVD-ROM drive
hda: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
hda: set_drive_speed_status: error=0x04
hdc: WDC WD1200JB-00CRA1, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hdc: attached ide-disk driver.
hdc: lost interrupt
hdc: lost interrupt
hdc: lost interrupt
hdc: host protected area => 1
hdc: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=232581/16/63
hda: attached ide-cdrom driver.
hda: ATAPI 48X CD-ROM drive, 120kB Cache
Uniform CD-ROM driver Revision: 3.12
Partition check:
 hdc:<3>hdc: lost interrupt
hdc: lost interrupt
hdc: lost interrupt
hdc: lost interrupt

-- 
Tomas Szepe <szepe@pinerecords.com>

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

* Re: 21rc6 serverworks IDE blows even more than is usual :)
  2003-05-29 11:40 21rc6 serverworks IDE blows even more than is usual :) Tomas Szepe
@ 2003-05-29 14:01 ` Alan Cox
  2003-05-29 15:07   ` Marc-Christian Petersen
                     ` (3 more replies)
  2003-05-29 22:25 ` Duncan Laurie
  2003-05-30 10:11 ` Stephan von Krawczynski
  2 siblings, 4 replies; 16+ messages in thread
From: Alan Cox @ 2003-05-29 14:01 UTC (permalink / raw)
  To: Tomas Szepe; +Cc: Marcelo Tosatti, Linux Kernel Mailing List, B.Zolnierkiewicz

On Iau, 2003-05-29 at 12:40, Tomas Szepe wrote:
> o  2.4.21-rc6
> 	intrerrupt timeouts, can't r/w from/to drive reliably in pio, dma hosed
> 
> o  2.4.21-rc2-ac3
> 	r/w in pio ok, dma hosed
> 
> o  2.4.20
> 	intrerrupt timeouts, can't r/w from/to drive reliably in pio, dma hosed

The driver basically hasnt changed throughout these. Are you sure you
don't just have a bust Proliant - anyone else runnign 2.4.21-rc on a
proliant ?


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

* Re: 21rc6 serverworks IDE blows even more than is usual :)
  2003-05-29 14:01 ` Alan Cox
@ 2003-05-29 15:07   ` Marc-Christian Petersen
  2003-05-29 15:16     ` Tomas Szepe
  2003-05-29 15:24   ` Tomas Szepe
                     ` (2 subsequent siblings)
  3 siblings, 1 reply; 16+ messages in thread
From: Marc-Christian Petersen @ 2003-05-29 15:07 UTC (permalink / raw)
  To: Alan Cox, Tomas Szepe
  Cc: Marcelo Tosatti, Linux Kernel Mailing List, B.Zolnierkiewicz

On Thursday 29 May 2003 16:01, Alan Cox wrote:

Hi Alan,

> The driver basically hasnt changed throughout these. Are you sure you
> don't just have a bust Proliant - anyone else runnign 2.4.21-rc on a
> proliant ?
I tried it, works w/o problems for that case.

ciao, Marc


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

* Re: 21rc6 serverworks IDE blows even more than is usual :)
  2003-05-29 15:07   ` Marc-Christian Petersen
@ 2003-05-29 15:16     ` Tomas Szepe
  0 siblings, 0 replies; 16+ messages in thread
From: Tomas Szepe @ 2003-05-29 15:16 UTC (permalink / raw)
  To: Marc-Christian Petersen
  Cc: Alan Cox, Marcelo Tosatti, Linux Kernel Mailing List, B.Zolnierkiewicz

> [m.c.p@wolk-project.de]
> 
> > The driver basically hasnt changed throughout these. Are you sure you
> > don't just have a bust Proliant - anyone else runnign 2.4.21-rc on a
> > proliant ?
>
> I tried it, works w/o problems for that case.

What HW?
What chipset revision?

-- 
Tomas Szepe <szepe@pinerecords.com>

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

* Re: 21rc6 serverworks IDE blows even more than is usual :)
  2003-05-29 14:01 ` Alan Cox
  2003-05-29 15:07   ` Marc-Christian Petersen
@ 2003-05-29 15:24   ` Tomas Szepe
  2003-05-29 15:53   ` Tomas Szepe
  2003-05-29 16:57   ` kwijibo
  3 siblings, 0 replies; 16+ messages in thread
From: Tomas Szepe @ 2003-05-29 15:24 UTC (permalink / raw)
  To: Alan Cox; +Cc: Marcelo Tosatti, Linux Kernel Mailing List, B.Zolnierkiewicz

> [alan@lxorguk.ukuu.org.uk]
> 
> On Iau, 2003-05-29 at 12:40, Tomas Szepe wrote:
> > o  2.4.21-rc6
> > 	intrerrupt timeouts, can't r/w from/to drive reliably in pio, dma hosed
> > 
> > o  2.4.21-rc2-ac3
> > 	r/w in pio ok, dma hosed
> > 
> > o  2.4.20
> > 	intrerrupt timeouts, can't r/w from/to drive reliably in pio, dma hosed
> 
> The driver basically hasnt changed throughout these. Are you sure you
> don't just have a bust Proliant - anyone else runnign 2.4.21-rc on a
> proliant?

No, I can't be sure.

Basically I posted the report just in case somebody finds it useful,
for production use I'm sticking in an add-on cmd64x-based controller.

Thanks, Alan.

-- 
Tomas Szepe <szepe@pinerecords.com>

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

* Re: 21rc6 serverworks IDE blows even more than is usual :)
  2003-05-29 14:01 ` Alan Cox
  2003-05-29 15:07   ` Marc-Christian Petersen
  2003-05-29 15:24   ` Tomas Szepe
@ 2003-05-29 15:53   ` Tomas Szepe
  2003-05-29 16:57   ` kwijibo
  3 siblings, 0 replies; 16+ messages in thread
From: Tomas Szepe @ 2003-05-29 15:53 UTC (permalink / raw)
  To: Alan Cox; +Cc: Marcelo Tosatti, Linux Kernel Mailing List, B.Zolnierkiewicz

> [alan@lxorguk.ukuu.org.uk]
> 
> On Iau, 2003-05-29 at 12:40, Tomas Szepe wrote:
> > o  2.4.21-rc6
> > 	intrerrupt timeouts, can't r/w from/to drive reliably in pio, dma hosed
> > 
> > o  2.4.21-rc2-ac3
> > 	r/w in pio ok, dma hosed
> > 
> > o  2.4.20
> > 	intrerrupt timeouts, can't r/w from/to drive reliably in pio, dma hosed
> 
> The driver basically hasnt changed throughout these. Are you sure you
> don't just have a bust Proliant - anyone else runnign 2.4.21-rc on a
> proliant ?

Whoa, guess what -- 2.4.21-rc5-ac1 doesn't see the drive at all.

-- 
Tomas Szepe <szepe@pinerecords.com>

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

* Re: 21rc6 serverworks IDE blows even more than is usual :)
  2003-05-29 14:01 ` Alan Cox
                     ` (2 preceding siblings ...)
  2003-05-29 15:53   ` Tomas Szepe
@ 2003-05-29 16:57   ` kwijibo
  2003-05-29 17:03     ` Tomas Szepe
  2003-05-30 10:05     ` Alan Cox
  3 siblings, 2 replies; 16+ messages in thread
From: kwijibo @ 2003-05-29 16:57 UTC (permalink / raw)
  To: Alan Cox
  Cc: Tomas Szepe, Marcelo Tosatti, Linux Kernel Mailing List,
	B.Zolnierkiewicz

Well if it helps at all I can vouch for the brokeness on the
Proliant ML530.  Granted this is not with a 2.4.21-rc kernel
but a RedHat kernel 2.4.20-13.9smp.  Luckily I don't use IDE
drives in this system but it did force me to do a network install
since the CDROM is now unusable.  Here is the error out of dmesg:

SvrWks CSB5: IDE controller at PCI slot 00:0f.1
SvrWks CSB5: chipset revision 147
SvrWks CSB5: not 100% native mode: will probe irqs later
SvrWks CSB5: simplex device: DMA forced
    ide0: BM-DMA at 0x2000-0x2007, BIOS settings: hda:pio, hdb:pio
SvrWks CSB5: simplex device: DMA forced
    ide1: BM-DMA at 0x2008-0x200f, BIOS settings: hdc:DMA, hdd:DMA
hda: HL-DT-ST CD-ROM GCR-8480B, ATAPI CD/DVD-ROM drive
hda: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
hda: set_drive_speed_status: error=0x04

If any futher info is needed give me a yell.

Steve

Alan Cox wrote:

>On Iau, 2003-05-29 at 12:40, Tomas Szepe wrote:
>  
>
>>o  2.4.21-rc6
>>	intrerrupt timeouts, can't r/w from/to drive reliably in pio, dma hosed
>>
>>o  2.4.21-rc2-ac3
>>	r/w in pio ok, dma hosed
>>
>>o  2.4.20
>>	intrerrupt timeouts, can't r/w from/to drive reliably in pio, dma hosed
>>    
>>
>
>The driver basically hasnt changed throughout these. Are you sure you
>don't just have a bust Proliant - anyone else runnign 2.4.21-rc on a
>proliant ?
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>
>
>  
>



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

* Re: 21rc6 serverworks IDE blows even more than is usual :)
  2003-05-29 16:57   ` kwijibo
@ 2003-05-29 17:03     ` Tomas Szepe
  2003-05-30 10:05     ` Alan Cox
  1 sibling, 0 replies; 16+ messages in thread
From: Tomas Szepe @ 2003-05-29 17:03 UTC (permalink / raw)
  To: kwijibo
  Cc: Alan Cox, Marcelo Tosatti, Linux Kernel Mailing List, B.Zolnierkiewicz

> [kwijibo@zianet.com]
> 
> SvrWks CSB5: IDE controller at PCI slot 00:0f.1
> SvrWks CSB5: chipset revision 147
> SvrWks CSB5: not 100% native mode: will probe irqs later
> SvrWks CSB5: simplex device: DMA forced
>    ide0: BM-DMA at 0x2000-0x2007, BIOS settings: hda:pio, hdb:pio
> SvrWks CSB5: simplex device: DMA forced
>    ide1: BM-DMA at 0x2008-0x200f, BIOS settings: hdc:DMA, hdd:DMA
> hda: HL-DT-ST CD-ROM GCR-8480B, ATAPI CD/DVD-ROM drive
> hda: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
> hda: set_drive_speed_status: error=0x04

This matches my dmesg line-by-line except for the CDROM model of course. ;)

SvrWks CSB5: IDE controller at PCI slot 00:0f.1
SvrWks CSB5: chipset revision 147
SvrWks CSB5: not 100% native mode: will probe irqs later
SvrWks CSB5: simplex device: DMA forced
    ide0: BM-DMA at 0x2000-0x2007, BIOS settings: hda:pio, hdb:pio
SvrWks CSB5: simplex device: DMA forced
    ide1: BM-DMA at 0x2008-0x200f, BIOS settings: hdc:DMA, hdd:DMA
hda: LTN486S, ATAPI CD/DVD-ROM drive
hda: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
hda: set_drive_speed_status: error=0x04

> Luckily I don't use IDE drives in this system but it did force me to do
> a network install since the CDROM is now unusable.

We're using IDE drives for backups -- mostly because it's not even
conceivable to get large SCSI disks for a decent price.

-- 
Tomas Szepe <szepe@pinerecords.com>

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

* Re: 21rc6 serverworks IDE blows even more than is usual :)
  2003-05-29 11:40 21rc6 serverworks IDE blows even more than is usual :) Tomas Szepe
  2003-05-29 14:01 ` Alan Cox
@ 2003-05-29 22:25 ` Duncan Laurie
  2003-05-29 23:00   ` kwijibo
  2003-05-30 10:11 ` Stephan von Krawczynski
  2 siblings, 1 reply; 16+ messages in thread
From: Duncan Laurie @ 2003-05-29 22:25 UTC (permalink / raw)
  To: Tomas Szepe; +Cc: linux-kernel

On Thu, 29 May 2003 13:40:01 +0200, Tomas Szepe <szepe@pinerecords.com> wrote:
>
> I can't seem to get the onboard Serverworks CSB5 IDE controller (rev 93)
> in a Compaq Proliant ML350 G3 to work (reliably/at all) no matter what
> kernel I use:
>

Hi Tomas,

This problem *may* actually be in the hardware...  IIRC the CSB5 rev 93h is
the A2.1 version of the chip which had big problems with DMA.  The workaround
options included a messy rework of the PCB or forcing it into PIO mode, so we
decided instead to just stick with the A2.0 revision. :)

However all of my knowledge about this particular issue is based on >1yr old
information, so if you want to send the output of "lspci -xxx" for pci devices
00:0f.0 and 00:0f.1 I will check them over for any obvious settings the BIOS
may have missed.

-duncan


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

* Re: 21rc6 serverworks IDE blows even more than is usual :)
  2003-05-29 22:25 ` Duncan Laurie
@ 2003-05-29 23:00   ` kwijibo
  2003-05-30  7:17     ` Tomas Szepe
  0 siblings, 1 reply; 16+ messages in thread
From: kwijibo @ 2003-05-29 23:00 UTC (permalink / raw)
  To: Duncan Laurie; +Cc: Tomas Szepe, linux-kernel

Here is mine which doesn't work.

00:0f.0 ISA bridge: ServerWorks CSB5 South Bridge (rev 93)
00: 66 11 01 02 47 00 00 22 93 00 01 06 00 40 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 66 11 01 02
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 00 06 1e 0c 03 00 00 00 07 0f 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 8f c3 d1 15 00 00 00 20 00 00 00 00
70: 0f 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 01 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: a1 0e 00 00 80 00 5d 0f ff 0f 04 10 01 aa 00 ac
b0: 00 07 1c 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 03 58 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:0f.1 IDE interface: ServerWorks CSB5 IDE Controller (rev 93)
00: 66 11 12 02 45 01 00 02 93 82 01 01 08 40 80 00
10: f1 01 00 00 f5 03 00 00 01 00 00 00 01 00 00 00
20: 01 20 00 00 00 00 00 00 00 00 00 00 66 11 12 02
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 5d 20 5d 5d ff 00 ff ff 00 01 04 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 0f 04 03 00 00 00 00 00
60: 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Steve

Duncan Laurie wrote:

> On Thu, 29 May 2003 13:40:01 +0200, Tomas Szepe 
> <szepe@pinerecords.com> wrote:
>
>>
>> I can't seem to get the onboard Serverworks CSB5 IDE controller (rev 93)
>> in a Compaq Proliant ML350 G3 to work (reliably/at all) no matter what
>> kernel I use:
>>
>
> Hi Tomas,
>
> This problem *may* actually be in the hardware...  IIRC the CSB5 rev 
> 93h is
> the A2.1 version of the chip which had big problems with DMA.  The 
> workaround
> options included a messy rework of the PCB or forcing it into PIO 
> mode, so we
> decided instead to just stick with the A2.0 revision. :)
>
> However all of my knowledge about this particular issue is based on 
> >1yr old
> information, so if you want to send the output of "lspci -xxx" for pci 
> devices
> 00:0f.0 and 00:0f.1 I will check them over for any obvious settings 
> the BIOS
> may have missed.
>
> -duncan
>
> -
> To unsubscribe from this list: send the line "unsubscribe 
> linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>
>



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

* Re: 21rc6 serverworks IDE blows even more than is usual :)
  2003-05-29 23:00   ` kwijibo
@ 2003-05-30  7:17     ` Tomas Szepe
  0 siblings, 0 replies; 16+ messages in thread
From: Tomas Szepe @ 2003-05-30  7:17 UTC (permalink / raw)
  To: kwijibo; +Cc: Duncan Laurie, linux-kernel

> [kwijibo@zianet.com]
> 
> Here is mine which doesn't work.

(Thanks for checking the dumps, Duncan.)

Mine are a bit different:

 00:0f.0 ISA bridge: ServerWorks CSB5 South Bridge (rev 93)
-00: 66 11 01 02 47 00 00 22 93 00 01 06 00 40 80 00
+00: 66 11 01 02 47 00 00 22 93 00 01 06 00 20 80 00
 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 20: 00 00 00 00 00 00 00 00 00 00 00 00 66 11 01 02
 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-40: 00 06 1e 0c 03 00 00 00 07 0f 00 00 00 00 00 00
+40: 20 06 3e 0c 01 00 00 00 07 0f 00 00 00 00 00 00
 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-60: 00 00 00 00 8f c3 d1 15 00 00 00 20 00 00 00 00
+60: 00 00 00 00 ef c3 d1 15 00 00 00 20 00 00 00 00
 70: 0f 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00
 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 90: 01 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-a0: a1 0e 00 00 80 00 5d 0f ff 0f 04 10 01 aa 00 ac
-b0: 00 07 1c 00 00 00 00 00 00 00 00 00 00 00 00 00
+a0: a1 0e 00 00 40 00 5f 0f ff 0f 04 10 01 aa 00 ac
+b0: 00 07 0c 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 03 58 00 00 00 00 00 00 00 00 00 00 00 00
 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

 00:0f.1 IDE interface: ServerWorks CSB5 IDE Controller (rev 93)
-00: 66 11 12 02 45 01 00 02 93 82 01 01 08 40 80 00
+00: 66 11 12 02 45 01 00 02 93 82 01 01 00 40 80 00
 10: f1 01 00 00 f5 03 00 00 01 00 00 00 01 00 00 00
 20: 01 20 00 00 00 00 00 00 00 00 00 00 66 11 12 02
 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 40: 5d 20 5d 5d ff 00 ff ff 00 01 04 00 00 00 00 00
 50: 00 00 00 00 00 00 00 00 0f 04 03 00 00 00 00 00
 60: 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00
 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

-- 
Tomas Szepe <szepe@pinerecords.com>

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

* Re: 21rc6 serverworks IDE blows even more than is usual :)
  2003-05-29 16:57   ` kwijibo
  2003-05-29 17:03     ` Tomas Szepe
@ 2003-05-30 10:05     ` Alan Cox
  1 sibling, 0 replies; 16+ messages in thread
From: Alan Cox @ 2003-05-30 10:05 UTC (permalink / raw)
  To: kwijibo
  Cc: Tomas Szepe, Marcelo Tosatti, Linux Kernel Mailing List,
	B.Zolnierkiewicz

On Iau, 2003-05-29 at 17:57, kwijibo@zianet.com wrote:
> Well if it helps at all I can vouch for the brokeness on the
> Proliant ML530.  Granted this is not with a 2.4.21-rc kernel
> but a RedHat kernel 2.4.20-13.9smp.  Luckily I don't use IDE

That may be a different bug with drive tuning in pio mode.



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

* Re: 21rc6 serverworks IDE blows even more than is usual :)
  2003-05-29 11:40 21rc6 serverworks IDE blows even more than is usual :) Tomas Szepe
  2003-05-29 14:01 ` Alan Cox
  2003-05-29 22:25 ` Duncan Laurie
@ 2003-05-30 10:11 ` Stephan von Krawczynski
  2003-05-30 16:51   ` Duncan Laurie
  2 siblings, 1 reply; 16+ messages in thread
From: Stephan von Krawczynski @ 2003-05-30 10:11 UTC (permalink / raw)
  To: Tomas Szepe; +Cc: marcelo, alan, linux-kernel, B.Zolnierkiewicz

On Thu, 29 May 2003 13:40:01 +0200
Tomas Szepe <szepe@pinerecords.com> wrote:

> Hi Alan, Bartolomiej, Marcelo,
> 
> I can't seem to get the onboard Serverworks CSB5 IDE controller (rev 93)
> in a Compaq Proliant ML350 G3 to work (reliably/at all) no matter what
> kernel I use:
> 
> o  2.4.21-rc6
> 	intrerrupt timeouts, can't r/w from/to drive reliably in pio, dma hosed
> 
> o  2.4.21-rc2-ac3
> 	r/w in pio ok, dma hosed
> 
> o  2.4.20
> 	intrerrupt timeouts, can't r/w from/to drive reliably in pio, dma hosed
> 
> o  2.4.20-pre8-ac3 (has always worked on OSB4 beasts for me)
> 	intrerrupt timeouts, can't r/w from/to drive reliably in pio, dma hosed
> 
> lspci & .config excerpts plus other bits of info follow.
> The box is SMP + highmem.
> 
> --
> 
> 00:0f.1 IDE interface: ServerWorks CSB5 IDE Controller (rev 93) (prog-if 8a
> [Master SecP PriP])
> 	Subsystem: ServerWorks CSB5 IDE Controller
> 	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: 64
> 	Region 0: I/O ports at <ignored>
> 	Region 1: I/O ports at <ignored>
> 	Region 2: I/O ports at <unassigned>
> 	Region 3: I/O ports at <unassigned>
> 	Region 4: I/O ports at 2000 [size=16]

I don't know if this is in anyway interesting for you, but I got the same
chipset on an Asus board and been burning GBs of data onto DVDs with it and no
(ide) problem.

Mine:

00:0f.1 IDE interface: ServerWorks CSB5 IDE Controller (rev 93) (prog-if 8a
	[Master SecP PriP])
        Subsystem: ServerWorks CSB5 IDE Controller
        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: 64, cache line size 08
        Region 0: I/O ports at <ignored>
        Region 1: I/O ports at <ignored>
        Region 2: I/O ports at <ignored>
        Region 3: I/O ports at <ignored>
        Region 4: I/O ports at 9400 [size=16]

/dev/hdc:

 Model=SONY DVD RW DRU-500A, FwRev=2.0c, SerialNo=XXXXXXXX
 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=on/off, tPIO={min:180,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 *udma2 
 AdvancedPM=no
 Drive conforms to: device does not report version:  4 5 6



Regards,
Stephan



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

* Re: 21rc6 serverworks IDE blows even more than is usual :)
  2003-05-30 10:11 ` Stephan von Krawczynski
@ 2003-05-30 16:51   ` Duncan Laurie
  2003-05-30 16:52     ` Tomas Szepe
  2003-05-30 23:22     ` Stephan von Krawczynski
  0 siblings, 2 replies; 16+ messages in thread
From: Duncan Laurie @ 2003-05-30 16:51 UTC (permalink / raw)
  To: Stephan von Krawczynski; +Cc: Tomas Szepe, kwijibo, linux-kernel

On Fri, 30 May 2003 12:11:08 +0200, Stephan von Krawczynski <skraw@ithnet.com> wrote:
>
> I don't know if this is in anyway interesting for you, but I got the same
> chipset on an Asus board and been burning GBs of data onto DVDs with it and no
> (ide) problem.
>

Its interesting to me.. It probably means my original diagnosis that this
was a bad chip revision is unfounded and maybe it can be fixed with the
right settings.  Could I get an lspci -xxx for devices 00:0f.0 and 00:0f.1
from your box as well so I can cross-ref it with the broken ones?

-duncan


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

* Re: 21rc6 serverworks IDE blows even more than is usual :)
  2003-05-30 16:51   ` Duncan Laurie
@ 2003-05-30 16:52     ` Tomas Szepe
  2003-05-30 23:22     ` Stephan von Krawczynski
  1 sibling, 0 replies; 16+ messages in thread
From: Tomas Szepe @ 2003-05-30 16:52 UTC (permalink / raw)
  To: Duncan Laurie; +Cc: Stephan von Krawczynski, kwijibo, linux-kernel, alan

> [duncan@sun.com]
> 
> On Fri, 30 May 2003 12:11:08 +0200, Stephan von Krawczynski 
> <skraw@ithnet.com> wrote:
> >
> >I don't know if this is in anyway interesting for you, but I got the same
> >chipset on an Asus board and been burning GBs of data onto DVDs with it 
> >and no
> >(ide) problem.
> >
> 
> Its interesting to me.. It probably means my original diagnosis that this
> was a bad chip revision is unfounded and maybe it can be fixed with the
> right settings.  Could I get an lspci -xxx for devices 00:0f.0 and 00:0f.1
> from your box as well so I can cross-ref it with the broken ones?

Duncan, your assumption is quite correct.  I got the thing working.

Don't even ask.  "/sbin/hdparm -X69 -d1" was the formula.

Oh well.

-- 
Tomas Szepe <szepe@pinerecords.com>

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

* Re: 21rc6 serverworks IDE blows even more than is usual :)
  2003-05-30 16:51   ` Duncan Laurie
  2003-05-30 16:52     ` Tomas Szepe
@ 2003-05-30 23:22     ` Stephan von Krawczynski
  1 sibling, 0 replies; 16+ messages in thread
From: Stephan von Krawczynski @ 2003-05-30 23:22 UTC (permalink / raw)
  To: Duncan Laurie; +Cc: szepe, kwijibo, linux-kernel

On Fri, 30 May 2003 09:51:30 -0700
Duncan Laurie <duncan@sun.com> wrote:

> On Fri, 30 May 2003 12:11:08 +0200, Stephan von Krawczynski <skraw@ithnet.com> wrote:
> >
> > I don't know if this is in anyway interesting for you, but I got the same
> > chipset on an Asus board and been burning GBs of data onto DVDs with it and no
> > (ide) problem.
> >
> 
> Its interesting to me.. It probably means my original diagnosis that this
> was a bad chip revision is unfounded and maybe it can be fixed with the
> right settings.  Could I get an lspci -xxx for devices 00:0f.0 and 00:0f.1
> from your box as well so I can cross-ref it with the broken ones?
> 
> -duncan

Just in case this should be needed:

lspci -xxx

00:0f.0 ISA bridge: ServerWorks CSB5 South Bridge (rev 93)
00: 66 11 01 02 07 00 00 02 93 00 01 06 00 20 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 66 11 01 02
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 00 3a 1a 08 00 00 00 00 07 00 00 02 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 07 cb 53 3d 00 00 00 40 00 00 00 00
70: 0c 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 01 e8 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 80 0e 00 00 88 0e 00 0c ff 0f 04 10 01 00 00 00
b0: 04 00 0c 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:0f.1 IDE interface: ServerWorks CSB5 IDE Controller (rev 93)
00: 66 11 12 02 15 00 00 02 93 8a 01 01 08 40 80 00
10: 01 a8 00 00 01 a4 00 00 01 a0 00 00 01 98 00 00
20: 01 94 00 00 00 00 00 00 00 00 00 00 66 11 12 02
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40: 99 99 99 20 ff ff ff 20 00 00 00 04 00 00 00 00
50: 00 00 00 00 04 00 00 02 0f 04 03 00 00 00 00 00
60: 00 00 00 00 fd ff 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


Regards,
Stephan

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

end of thread, other threads:[~2003-05-30 23:09 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-29 11:40 21rc6 serverworks IDE blows even more than is usual :) Tomas Szepe
2003-05-29 14:01 ` Alan Cox
2003-05-29 15:07   ` Marc-Christian Petersen
2003-05-29 15:16     ` Tomas Szepe
2003-05-29 15:24   ` Tomas Szepe
2003-05-29 15:53   ` Tomas Szepe
2003-05-29 16:57   ` kwijibo
2003-05-29 17:03     ` Tomas Szepe
2003-05-30 10:05     ` Alan Cox
2003-05-29 22:25 ` Duncan Laurie
2003-05-29 23:00   ` kwijibo
2003-05-30  7:17     ` Tomas Szepe
2003-05-30 10:11 ` Stephan von Krawczynski
2003-05-30 16:51   ` Duncan Laurie
2003-05-30 16:52     ` Tomas Szepe
2003-05-30 23:22     ` Stephan von Krawczynski

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).