All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frantisek Hanzlik <franta@hanzlici.cz>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Robert Hancock <hancockr@shaw.ca>, linux-kernel@vger.kernel.org
Subject: Re: serverworks CSB5 IDE: DMA disabled on secondary channel
Date: Sat, 19 Jul 2008 04:45:59 +0200	[thread overview]
Message-ID: <48815567.2080001@hanzlici.cz> (raw)
In-Reply-To: <20080718100607.1589ed2f@the-village.bc.nu>

Alan Cox wrote:
>>> ata2.01: ATAPI: CD-W540E, 1.0D, max UDMA/33
>>> ata2.00: simplex DMA is claimed by other device, disabling DMA
>>> ata2.01: simplex DMA is claimed by other device, disabling DMA
>>> ata2.00: configured for PIO4
>>> ata2.01: configured for PIO4
>
>
> Disable the pata_acpi driver and let me know if it then behaves. We had a
> similar problem with the ATI hardware which lost and messed up its
> internal state if pata_acpi was loaded first.
>
Before I post to lkml I tried disable ata_generic driver, (which was loaded
before pata_serverworks too, my mail already not show it as is blacklisted),
but this not solved problem. YES, problem was in pata_acpi, after disabling
it all works fine (no matter if is ata_generic enabled and loaded before
pata_serverworks or not).
What is the meaning of "simplex DMA is claimed..." I probably must learn in
sources itself ;)
Many thanks, Alan, You are big magicians!

dmesg:
...
libata version 3.00 loaded.
scsi0 : pata_serverworks
scsi1 : pata_serverworks
ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x2440 irq 14
ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x2448 irq 15
ata1.00: ATA-7: ST3400620A, 3.AAE, max UDMA/100
ata1.00: 781422768 sectors, multi 16: LBA48
ata1.01: ATAPI: TOSHIBA DVD-ROM SD-M1612, 1004, max UDMA/33
ata1.00: configured for UDMA/100
ata1.01: configured for UDMA/33
ata2.00: ATA-7: ST3400620A, 3.AAE, max UDMA/100
ata2.00: 781422768 sectors, multi 16: LBA48
ata2.01: ATAPI: CD-W540E, 1.0D, max UDMA/33
ata2.00: configured for UDMA/100
ata2.01: configured for UDMA/33
scsi 0:0:0:0: Direct-Access     ATA      ST3400620A       3.AA PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 781422768 512-byte hardware sectors (400088 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 781422768 512-byte hardware sectors (400088 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: [sda] Attached SCSI disk
scsi 0:0:1:0: CD-ROM            TOSHIBA  DVD-ROM SD-M1612 1004 PQ: 0 ANSI: 5
scsi 1:0:0:0: Direct-Access     ATA      ST3400620A       3.AA PQ: 0 ANSI: 5
sd 1:0:0:0: [sdb] 781422768 512-byte hardware sectors (400088 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 1:0:0:0: [sdb] 781422768 512-byte hardware sectors (400088 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  sdb: sdb1 sdb2 sdb3 sdb4
sd 1:0:0:0: [sdb] Attached SCSI disk
scsi 1:0:1:0: CD-ROM            TEAC     CD-W540E         1.0D PQ: 0 ANSI: 5
md: md0 stopped.
md: bind<sdb1>
md: bind<sda1>
raid1: raid set md0 active with 2 out of 2 mirrors
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
...


# hdparm -Tt /dev/sda
/dev/sda:
  Timing cached reads:   732 MB in  2.00 seconds = 366.18 MB/sec
  Timing buffered disk reads:  206 MB in  3.01 seconds =  68.40 MB/sec

# hdparm -Tt /dev/sdb
/dev/sdb:
  Timing cached reads:   806 MB in  2.00 seconds = 402.65 MB/sec
  Timing buffered disk reads:  202 MB in  3.03 seconds =  66.72 MB/sec




  reply	other threads:[~2008-07-19  2:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.Fmf0CiaCc/J+JAWaZ5FS+ihhhzA@ifi.uio.no>
2008-07-18  1:09 ` serverworks CSB5 IDE: DMA disabled on secondary channel Robert Hancock
2008-07-18  2:29   ` Frantisek Hanzlik
2008-07-18  9:06   ` Alan Cox
2008-07-19  2:45     ` Frantisek Hanzlik [this message]
2008-07-19  8:46       ` Alan Cox
2008-07-17 17:12 Frantisek Hanzlik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48815567.2080001@hanzlici.cz \
    --to=franta@hanzlici.cz \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=hancockr@shaw.ca \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.