linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4.21 ServerWorks DMA Bugs
@ 2003-07-05  6:45 Ryan Mack
  2003-07-05  6:49 ` Andre Hedrick
  2003-07-05  7:21 ` Markus Plail
  0 siblings, 2 replies; 19+ messages in thread
From: Ryan Mack @ 2003-07-05  6:45 UTC (permalink / raw)
  To: Linux Kernel Mailing List

I've real the other threads but nothing touches on my specific issue.  I
have a dual P4 Xeon Dell PowerEdge 1600SC with a Fusion MPT SCSI
controller and a ServerWorks CSB5 IDE chipset.  All the HDs are on the
SCSI bus, and only my CD reader and my DVD writer are on the IDE bus (one
on each channel).  Hyperthreading is enabled (4 logical processors).  I am 
using GCC 3.2.2.

The CD readers is the blacklisted 'SAMSUNG CD-ROM SC-148C' and I never use
it so I can remove it if needed.  The DVD writer is a 'SONY DVD RW
DRU-500A'.  Both are going through the ide-scsi driver.  Whenever I
read/write CDs in the DVD writer, I get very high system load (50% on one
CPU), even though DMA seems to be enabled.

In addition, I get horrible clock skew.  After burning a 50 meg audio
track, my clock is 10 seconds off.  Enabled unmasked interrupts and 32 bit
bus IO reduces the clock skew to about .1 seconds, but this adds up.

I've tried everything, even downgrading to 2.4.20, although under 2.4.20 I
can't seem to find an appropriate devfs entry to run hdparm on, so I'm
unable to unmask interrupts and switch bus IO width.  Not compiling the
CSB5 driver doesn't make a difference either.

Anyhow, anybody know what might be going on?  Excerpts from the relevant
files included below.

Thanks, Ryan


dmesg:
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
    ide0: BM-DMA at 0x08b0-0x08b7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x08b8-0x08bf, BIOS settings: hdc:DMA, hdd:pio
hda: SONY DVD RW DRU-500A, ATAPI CD/DVD-ROM drive
hdc: SAMSUNG CD-ROM SC-148C, ATAPI CD/DVD-ROM drive
hdc: Disabling (U)DMA for SAMSUNG CD-ROM SC-148C
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-scsi driver.
hdc: attached ide-scsi driver.
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: SONY      Model: DVD RW DRU-500A   Rev: 2.0c
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: SAMSUNG   Model: CD-ROM SC-148C    Rev: B105
  Type:   CD-ROM                             ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi1, channel 0, id 1, lun 0
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
sr1: scsi3-mmc drive: 1x/48x cd/rw xa/form2 cdda tray


.config:
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDESCSI=m
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_BLK_DEV_SVWKS=y
CONFIG_IDEDMA_AUTO=y
CONFIG_BLK_DEV_IDE_MODES=y

CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_SD_EXTRA_DEVS=40
CONFIG_BLK_DEV_SR=m
CONFIG_SR_EXTRA_DEVS=2
CONFIG_CHR_DEV_SG=m
CONFIG_SCSI_CONSTANTS=y

CONFIG_FUSION=y
CONFIG_FUSION_BOOT=y
CONFIG_FUSION_MAX_SGE=40
CONFIG_FUSION_ISENSE=m


/proc/svwks (note that like others, this is being misidentified as only
UDMA2 capable, when it should be UDMA5):

                             ServerWorks OSB4/CSB5/CSB6

                            ServerWorks CSB5 Chipset (rev 93)
------------------------------- General Status ---------------------------------
--------------- Primary Channel ---------------- Secondary Channel -------------
                 enabled                          enabled
--------------- drive0 --------- drive1 -------- drive0 ---------- drive1 ------
DMA enabled:    yes              no              no                no 
UDMA enabled:   yes              no              no                no 
UDMA enabled:   2                0               0                 0
DMA enabled:    2                2               ?                 2
PIO  enabled:   4                0               4                 0

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

end of thread, other threads:[~2003-07-07  8:35 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-05  6:45 2.4.21 ServerWorks DMA Bugs Ryan Mack
2003-07-05  6:49 ` Andre Hedrick
2003-07-05  7:21 ` Markus Plail
2003-07-05 16:58   ` Ryan Mack
2003-07-05 17:07     ` Jeff Garzik
2003-07-06  7:40     ` Alan Cox
2003-07-06  9:06       ` Tomas Szepe
2003-07-06  9:10         ` Alan Cox
2003-07-06 11:10           ` Tomas Szepe
2003-07-06 11:38             ` Alan Cox
2003-07-06 16:42               ` Vojtech Pavlik
2003-07-06 17:49                 ` Alan Cox
2003-07-07  0:42                 ` Andre Hedrick
2003-07-07  3:42                   ` Tomas Szepe
2003-07-07  6:42                     ` Alan Cox
2003-07-07  8:49                       ` Tomas Szepe
2003-07-07  8:13                     ` Andre Hedrick
2003-07-07  8:17                     ` Andre Hedrick
2003-07-07  8:45                       ` Tomas Szepe

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