2003-05-29 11:27:17

by Tomas Szepe

[permalink] [raw]
Subject: 21rc6 serverworks IDE blows even more than is usual :)

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 <[email protected]>


2003-05-29 14:46:54

by Alan

[permalink] [raw]
Subject: Re: 21rc6 serverworks IDE blows even more than is usual :)

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 ?

2003-05-29 14:54:58

by Marc-Christian Petersen

[permalink] [raw]
Subject: Re: 21rc6 serverworks IDE blows even more than is usual :)

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

2003-05-29 15:03:54

by Tomas Szepe

[permalink] [raw]
Subject: Re: 21rc6 serverworks IDE blows even more than is usual :)

> [[email protected]]
>
> > 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 <[email protected]>

2003-05-29 15:11:36

by Tomas Szepe

[permalink] [raw]
Subject: Re: 21rc6 serverworks IDE blows even more than is usual :)

> [[email protected]]
>
> 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 <[email protected]>

2003-05-29 15:39:59

by Tomas Szepe

[permalink] [raw]
Subject: Re: 21rc6 serverworks IDE blows even more than is usual :)

> [[email protected]]
>
> 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 <[email protected]>

2003-05-29 16:43:57

by Kwijibo

[permalink] [raw]
Subject: Re: 21rc6 serverworks IDE blows even more than is usual :)

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 [email protected]
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
>
>
>
>


2003-05-29 16:50:21

by Tomas Szepe

[permalink] [raw]
Subject: Re: 21rc6 serverworks IDE blows even more than is usual :)

> [[email protected]]
>
> 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 <[email protected]>

2003-05-29 22:08:04

by Duncan Laurie

[permalink] [raw]
Subject: Re: 21rc6 serverworks IDE blows even more than is usual :)

On Thu, 29 May 2003 13:40:01 +0200, Tomas Szepe <[email protected]> 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

2003-05-29 22:47:03

by Kwijibo

[permalink] [raw]
Subject: Re: 21rc6 serverworks IDE blows even more than is usual :)

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
> <[email protected]> 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 [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
>


2003-05-30 07:03:50

by Tomas Szepe

[permalink] [raw]
Subject: Re: 21rc6 serverworks IDE blows even more than is usual :)

> [[email protected]]
>
> 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 <[email protected]>

2003-05-30 09:58:12

by Stephan von Krawczynski

[permalink] [raw]
Subject: Re: 21rc6 serverworks IDE blows even more than is usual :)

On Thu, 29 May 2003 13:40:01 +0200
Tomas Szepe <[email protected]> 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


2003-05-30 10:50:12

by Alan

[permalink] [raw]
Subject: Re: 21rc6 serverworks IDE blows even more than is usual :)

On Iau, 2003-05-29 at 17:57, [email protected] 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.


2003-05-30 16:33:36

by Duncan Laurie

[permalink] [raw]
Subject: Re: 21rc6 serverworks IDE blows even more than is usual :)

On Fri, 30 May 2003 12:11:08 +0200, Stephan von Krawczynski <[email protected]> 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

2003-05-30 16:38:58

by Tomas Szepe

[permalink] [raw]
Subject: Re: 21rc6 serverworks IDE blows even more than is usual :)

> [[email protected]]
>
> On Fri, 30 May 2003 12:11:08 +0200, Stephan von Krawczynski
> <[email protected]> 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 <[email protected]>

2003-05-30 23:09:15

by Stephan von Krawczynski

[permalink] [raw]
Subject: Re: 21rc6 serverworks IDE blows even more than is usual :)

On Fri, 30 May 2003 09:51:30 -0700
Duncan Laurie <[email protected]> wrote:

> On Fri, 30 May 2003 12:11:08 +0200, Stephan von Krawczynski <[email protected]> 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