Skip to contentSkip to conversation

dma problems with Serverworks CSB5 chipset

DISCUSSION Richard Wohlstadter 4 participants 6 messages Jul 28, 2004 – Aug 23, 2004

lore
Share & tools
lore
#0 lore raw

Hello,

I have 200 servers in a cluster running vanilla kernel 2.4.26(not tainted). Under heavy I/O activity I have various servers completely lose access to their IDE bus. Logs show the same error every time:

hda: dma_timer_expiry: dma status == 0x61

The kernel resets the IDE bus at this point. Sometimes things start working again but mostly all ide access is lost and I have to reboot the server. The chipset is:

00:0f.1 IDE interface: ServerWorks CSB5 IDE Controller (rev 93)

I have searched archives for problems with this chipset and I have seen other users with this same issue, but no resolution to the problem. Is there a known problem with this chipset version or could there be some issues still with the serverworks driver? Any help would be much appreciated. Thanks.

Rich Wohlstadter
[email protected]

#1 lore raw
Quoted 12 lines · Richard Wohlstadter

Hello,

I have 200 servers in a cluster running vanilla kernel 2.4.26(not tainted). Under heavy I/O activity I have various servers completely lose access to their IDE bus. Logs show the same error every time:

hda: dma_timer_expiry: dma status == 0x61

The kernel resets the IDE bus at this point. Sometimes things start working again but mostly all ide access is lost and I have to reboot the server. The chipset is:

Quoted 7 lines

00:0f.1 IDE interface: ServerWorks CSB5 IDE Controller (rev 93)

I have searched archives for problems with this chipset and I have seen other users with this same issue, but no resolution to the problem. Is there a known problem with this chipset version or could there be some issues still with the serverworks driver? Any help would be much appreciated. Thanks.

Richard,

ServerWorks OSB4/5 chipsets are known to not work reliably with the Linux IDE code. AFAIK its a hardware problem which we dont correctly work around.

Have you tried disabling DMA?

Bart and Alan are IDE experts, they can probably give you more useful information.

#2 lore raw
Quoted 7 lines · Marcelo Tosatti

ServerWorks OSB4/5 chipsets are known to not work reliably with the Linux IDE code. AFAIK its a hardware problem which we dont correctly work around.

Have you tried disabling DMA?

Bart and Alan are IDE experts, they can probably give you more useful information.

CSB5 is reliable, rock solidly so in my experience. OSB4 was the older interface with problems. Are these systems SMP, what disks are you using and in what IDE mode ?

#3 lore raw
Quoted 6 lines · Marcelo Tosatti
Quoted 5 lines

ServerWorks OSB4/5 chipsets are known to not work reliably with the Linux
IDE code. AFAIK its a hardware problem which we dont correctly work around.

Quoted 9 lines
Quoted 4 lines

Have you tried disabling DMA?

Bart and Alan are IDE experts, they can probably give you more useful information.

CSB5 is reliable, rock solidly so in my experience. OSB4 was the older interface with problems. Are these systems SMP, what disks are you using and in what IDE mode ?

Yep, they are SMP(IBM blades with 2 Xeon 2.4Ghz). The blades use 1 little 40g laptop drive( TOSHIBA MK4019GAXB ). The drive is running UDMA mode 4. Here is the output of /proc/ide/svwks:

ServerWorks OSB4/CSB5/CSB6

ServerWorks CSB5 Chipset (rev 93)
------------------------------- General Status
---------------------------------
--------------- Primary Channel ---------------- Secondary Channel
-------------
enabled enabled
--------------- drive0 --------- drive1 -------- drive0 ---------- drive1
------

DMA enabled:    yes              yes             no                no
UDMA enabled:   yes              yes             no                no
UDMA enabled:   4                4               0                 0
DMA enabled:    2                2               2                 2
PIO  enabled:   4                4               ?                 ?

Let me know if you need any other specifics and thanks in advance for any advice.

Rich

#4 lore raw
In reply to Alan Cox

I'm having the same problems here with linux 2.6.8-rc2 kernel here with an Intel SAI2 dual SMP P3 motherboard with Serverworks Serverset III LE chipset and CSB5 southbridge.

I run one WDC WD400BB-00DEA0 as master on each channel with SW RAID1 for system. To even get DMA working I had to add append="ide0=ata66 ide1=ata66"
in my lilo config. The system works fine with low load on the disks, but if I copy greater amounts of data from a local SW RAID5 array I get the same DMA timeout error and often it locks up completely.

If i disable DMA with hdparm the system works fine.

/proc/ide/svwks output:
(DMA disabled with hdparm)

ServerWorks OSB4/CSB5/CSB6

ServerWorks CSB5 Chipset (rev 93)
------------------------------- General Status
---------------------------------
--------------- Primary Channel ---------------- Secondary Channel
-------------
enabled enabled
--------------- drive0 --------- drive1 -------- drive0 ---------- drive1 ------

DMA enabled:    no               no              no                no 
UDMA enabled:   yes              no              yes               no 
UDMA enabled:   2                0               2                 0
DMA enabled:    2                2               2                 2
PIO  enabled:   4                0               4                 0
Quoted 18 lines · Alan Cox
Quoted 7 lines · Marcelo Tosatti

ServerWorks OSB4/5 chipsets are known to not work reliably with the Linux IDE code. AFAIK its a hardware problem which we dont correctly work around.

Have you tried disabling DMA?

Bart and Alan are IDE experts, they can probably give you more useful information.

CSB5 is reliable, rock solidly so in my experience. OSB4 was the older interface with problems. Are these systems SMP, what disks are you using and in what IDE mode ?

-
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/

Signature · 3 lines
Med vänliga hälsningar / Best regards
Torbjörn Olander
[email protected]
#5 lore raw

Just want to report that after changing the disks to two Maxtor 6Y160P0 drives it works fine so the problem must be something in the combination of CSB5 + WD400BB.

Quoted 53 lines · Torbjörn Olander

I'm having the same problems here with linux 2.6.8-rc2 kernel here with an Intel SAI2 dual SMP P3 motherboard with Serverworks Serverset III LE chipset and CSB5 southbridge.

I run one WDC WD400BB-00DEA0 as master on each channel with SW RAID1 for system. To even get DMA working I had to add append="ide0=ata66 ide1=ata66"
in my lilo config. The system works fine with low load on the disks, but if I copy greater amounts of data from a local SW RAID5 array I get the same DMA timeout error and often it locks up completely.

If i disable DMA with hdparm the system works fine.

/proc/ide/svwks output:
(DMA disabled with hdparm)

ServerWorks OSB4/CSB5/CSB6

ServerWorks CSB5 Chipset (rev 93)
------------------------------- General Status
---------------------------------
--------------- Primary Channel ---------------- Secondary Channel
-------------
enabled enabled
--------------- drive0 --------- drive1 -------- drive0 ---------- drive1 ------

DMA enabled:    no               no              no                no 
UDMA enabled:   yes              no              yes               no 
UDMA enabled:   2                0               2                 0
DMA enabled:    2                2               2                 2
PIO  enabled:   4                0               4                 0
Quoted 18 lines · Alan Cox
Quoted 7 lines · Marcelo Tosatti

ServerWorks OSB4/5 chipsets are known to not work reliably with the Linux IDE code. AFAIK its a hardware problem which we dont correctly work around.

Have you tried disabling DMA?

Bart and Alan are IDE experts, they can probably give you more useful information.

CSB5 is reliable, rock solidly so in my experience. OSB4 was the older interface with problems. Are these systems SMP, what disks are you using and in what IDE mode ?

-
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/

Signature · 3 lines
Med vänliga hälsningar / Best regards
Torbjörn Olander
[email protected]