linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: John Sigler <linux.kernel@free.fr>
Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: hda: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
Date: Sat, 01 Sep 2007 19:38:23 +0400	[thread overview]
Message-ID: <46D9876F.1070405@ru.mvista.com> (raw)
In-Reply-To: <46D59ED2.4000900@free.fr>

Hello.

John Sigler wrote:

> When my system boots, I get several set_drive_speed_status errors.
> (Please see attached dmesg output.)

> Can someone explain what they mean? How do I get rid of them?

    IDE code attempts to autotune PIO mode and fails at that because your 
device is too old (or its manufacturer was too lazy) to support ATA-2 (or EIDE 
from marketing PoV) is its full glory.

> Is there something I need to set in the config? or something I should 
> not have set?

    No, it just means that the IDE code is *too young* to support such 
pre-EIDE devices. :-D

> Bonus question: is there some way to turn on DMA for hda?

> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> VP_IDE: IDE controller at PCI slot 0000:00:07.1
> VP_IDE: chipset revision 6
> VP_IDE: not 100% native mode: will probe irqs later
> VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
>     ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:pio, hdb:pio
>     ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:pio, hdd:pio
> Probing IDE interface ide0...
> hda: PQI IDE DiskOnModule, ATA DISK drive
> hda: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
> hda: set_drive_speed_status: error=0x04 { DriveStatusError }
> hda: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
> hda: set_drive_speed_status: error=0x04 { DriveStatusError }

   That means that you've managed to find pre-EIDE/ATA hardware which doesn't 
support setting arbitrary PIO modes. What's funny is that resently being 
discussed here, so expect a patch RSN. :-)

> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> Probing IDE interface ide1...
> hda: max request size: 128KiB
> hda: 128000 sectors (65 MB) w/1KiB Cache, CHS=500/8/32
>  hda: hda1 hda2

> # hdparm -v /dev/hda
> 
> /dev/hda:
>  multcount     =  0 (off)
>  IO_support    =  1 (32-bit)
>  unmaskirq     =  1 (on)
>  using_dma     =  0 (off)
>  keepsettings  =  0 (off)
>  readonly      =  0 (off)
>  readahead     = 256 (on)
>  geometry      = 500/8/32, sectors = 128000, start = 0

    Oh, interesting geometery, and the size too. :-)

> # hdparm -I /dev/hda
> 
> /dev/hda:
> 
> ATA device, with non-removable media
>         Model Number:       PQI IDE DiskOnModule

    That explains it. :-)

>         Serial Number:      DOM6B00011677
>         Firmware Revision:  ra03.00e
> Standards:
>         Likely used: 1
> Configuration:
>         hard sectored
>         not MFM encoded
>         head switch time > 15us
>         fixed drive
>         disk xfer rate > 5Mbs
>         Logical         max     current
>         cylinders       500     500
>         heads           8       8
>         sectors/track   32      32
>         --
>         bytes/track: 0  bytes/sector: 528
>         CHS current addressable sectors:     128000
>         LBA    user addressable sectors:     128000
>         device size with M = 1024*1024:          62 MBytes
>         device size with M = 1000*1000:          65 MBytes
> Capabilities:
>         LBA, IORDY not likely
>         Buffer type: 0002: dual port, multi-sector
>         Buffer size: 1.0kB      bytes avail on r/w long: 4
>         Cannot perform double-word IO

    That's generally not the device task (although there probably were IDE 
devices with 32-bit data bus?.. :-O

>         R/W multiple sector transfer: Max = 1   Current = 0
>         DMA: not supported
>         PIO: pio0 pio1 pio2

[the rest of logs didn't show anything particurarly interesting]

MBR, Sergei

  parent reply	other threads:[~2007-09-01 15:35 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-29 16:29 hda: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error } John Sigler
2007-08-29 16:46 ` Alan Cox
2007-08-30  8:17   ` John Sigler
     [not found]     ` <46D69E03.9080403@vc.cvut.cz>
2007-08-30 12:30       ` John Sigler
2007-08-30 15:10         ` John Sigler
2007-08-30 23:31           ` Alan Cox
2007-08-31  8:22             ` John Sigler
2007-08-31  9:04               ` PROBLEM: kernel 2.6.22.6 pata_pdc202xx_old.c limiting to UDMA/33 instead of UDMA/100 (UPDATED 2.6.22.6) n
2007-09-01 14:58                 ` Sergei Shtylyov
2007-08-31  9:04               ` n
2007-08-31 11:49               ` hda: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error } Alan Cox
     [not found]           ` <311601c90708301534g47b2bca7t77debde058781572@mail.gmail.com>
2007-08-31  8:41             ` John Sigler
2007-09-01 15:48         ` Sergei Shtylyov
2007-08-30 14:05     ` Alan Cox
2007-08-31 20:22   ` Sergei Shtylyov
2007-09-01 15:38 ` Sergei Shtylyov [this message]
2007-09-03 13:17   ` John Sigler
2007-09-03 13:40     ` Sergei Shtylyov

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=46D9876F.1070405@ru.mvista.com \
    --to=sshtylyov@ru.mvista.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux.kernel@free.fr \
    /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).