linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Malcolm Gillies <linux-ide@ouabain.org>
To: Mark Lord <liml@rtr.ca>
Cc: linux-ide@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: CompactFlash and HD unhappy together on the same IDE channel
Date: Mon, 20 Aug 2007 17:34:12 +1000	[thread overview]
Message-ID: <46C943F4.1050201@ouabain.org> (raw)
In-Reply-To: <46C85140.9050906@rtr.ca>

Mark Lord wrote:
> Malcolm Gillies wrote:
>> 2) the HD runs error-free at UDMA/33 when I use a different, PIO-only 
>> CF card but otherwise the same cabling, adaptor etc.
> 
> It would be useful to see the boot log for this scenario.
> In particular, I'm curious what timings get chosen for the two devices.
> But since that CF card cannot do DMA, it should not respond at all to
> any HD DMA cycles, even if the timing is too fast for it's decoders to
> work properly.

scsi0 : ata_piix
scsi1 : ata_piix
ata1: PATA max UDMA/100 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x0001ffa0 
irq 14
ata2: PATA max UDMA/100 cmd 0x00010170 ctl 0x00010376 bmdma 0x0001ffa8 
irq 15
ata1.00: CFA: Renesas XX.V.3.5.0.0, Rev 0.00, max PIO4
ata1.00: 1000944 sectors, multi 1: LBA
ata1.01: ATA-7: SAMSUNG HD400LD, WQ100-14, max UDMA/100
ata1.01: 781422768 sectors, multi 0: LBA48
ata1.00: configured for PIO4
ata1.01: configured for UDMA/100
ata2.00: ATAPI: LG CD-ROM CRN-8245B, 1.18, max UDMA/33
ata2.00: configured for UDMA/33
scsi 0:0:0:0: Direct-Access     ATA      Renesas XX.V.3.5 Rev  PQ: 0 ANSI: 5
scsi 0:0:1:0: Direct-Access     ATA      SAMSUNG HD400LD  WQ10 PQ: 0 ANSI: 5
scsi 1:0:0:0: CD-ROM            LG       CD-ROM CRN-8245B 1.18 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 1000944 512-byte hardware sectors (512 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: disabled, read cache: enabled, doesn't 
support DPO or FUA
sd 0:0:0:0: [sda] 1000944 512-byte hardware sectors (512 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: disabled, read cache: enabled, doesn't 
support DPO or FUA
  sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
sd 0:0:1:0: [sdb] 781422768 512-byte hardware sectors (400088 MB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00
sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't 
support DPO or FUA
sd 0:0:1:0: [sdb] 781422768 512-byte hardware sectors (400088 MB)
sd 0:0:1:0: [sdb] Write Protect is off
d 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00
sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't 
support DPO or FUA
  sdb: sdb1
sd 0:0:1:0: [sdb] Attached SCSI disk

  # hdparm -I /dev/sda

/dev/sda:

CompactFlash ATA device, with removable media
         Model Number:       Renesas XX.V.3.5.0.0
         Serial Number:      X0819 20050726050808
         Firmware Revision:  Rev 0.00
Standards:
         Likely used: 4
Configuration:
         Logical         max     current
         cylinders       993     993
         heads           16      16
         sectors/track   63      63
         --
         bytes/track: 0  bytes/sector: 512
         CHS current addressable sectors:    1000944
         LBA    user addressable sectors:    1000944
         device size with M = 1024*1024:         488 MBytes
         device size with M = 1000*1000:         512 MBytes
Capabilities:
         LBA, IORDY(may be)(cannot be disabled)
         Buffer size: 1.0kB      bytes avail on r/w long: 4
         Standby timer values: spec'd by Vendor
         R/W multiple sector transfer: Max = 1   Current = 1
         DMA: not supported
         PIO: pio0 pio1 pio2 pio3 pio4
              Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
         Enabled Supported:
            *    WRITE_BUFFER command
            *    READ_BUFFER command
            *    NOP cmd
            *    CFA feature set


# hdparm --direct -Tt /dev/sdb

/dev/sdb:
  Timing O_DIRECT cached reads:   180 MB in  2.02 seconds =  89.04 MB/sec
  Timing O_DIRECT disk reads:  224 MB in  3.03 seconds =  74.04 MB/sec

# hdparm --direct -Tt /dev/sda

/dev/sda:
  Timing O_DIRECT cached reads:     6 MB in  2.27 seconds =   2.64 MB/sec
  Timing O_DIRECT disk reads:    8 MB in  3.03 seconds =   2.64 MB/sec

  reply	other threads:[~2007-08-20  7:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-18  7:00 CompactFlash and HD unhappy together on the same IDE channel Malcolm Gillies
2007-08-18 20:05 ` Matt Sealey
2007-08-18 22:41 ` Alan Cox
2007-08-19  1:16 ` Mark Lord
2007-08-19 10:43   ` Malcolm Gillies
2007-08-19 14:18     ` Mark Lord
2007-08-20  7:34       ` Malcolm Gillies [this message]
2007-08-19 16:56   ` Alan Cox
2007-09-15 23:54     ` Malcolm Gillies
2007-09-22 18:12       ` Alan Cox
2007-09-23 14:49         ` Matt Sealey
2007-09-23 16:26         ` Mark Lord
2007-09-23 17:40           ` Alan Cox
2007-09-24 22:03             ` Mark Lord
2007-09-24 22:29               ` Alan Cox

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=46C943F4.1050201@ouabain.org \
    --to=linux-ide@ouabain.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=liml@rtr.ca \
    --cc=linux-ide@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 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).