All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thanos Kyritsis <djart@linux.gr>
To: Mark Lord <liml@rtr.ca>
Cc: linux-ide@vger.kernel.org,
	Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Subject: Re: [PROBLEM]: hdparm strange behaviour for 2.6.21 and later
Date: Wed, 20 Jun 2007 18:07:41 +0300	[thread overview]
Message-ID: <200706201807.41646.djart@linux.gr> (raw)
In-Reply-To: <4676E47E.5050209@rtr.ca>

On Monday 18 June 2007, Mark Lord wrote:
> Thanos Kyritsis wrote:
[snip]
> > /etc/rc.d/rc.local contains the following:
> > /usr/sbin/hdparm -q -d1 -q -u1 -q -c1 -q -k1 /dev/hda
> > /usr/sbin/hdparm -q -d1 -q -u1 -q -c1 -q -k1 /dev/hdb
[snip]

> Sounds like a (kernel) timing issue.
> The "-q" option gets rid of some intermediary printf's,
> and nothing else.  So with -q, the ioctl() calls happen
> much closer together in time.  Without -q, the intermediary
> printf's likely cause a resched, giving the kernel more time
> to complete anything left over from the earlier call.
>
> ????
>
> Any difference with a modern version of hdparm?

The same issue happens when using hdparm 7.4 as well as 7.5.


> -ml



-- 
Thanos Kyritsis <djart at linux.gr>

- What's your ONE purpose in life ?
- To explode, of course! ;-)

  reply	other threads:[~2007-06-20 15:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-16 16:58 [PROBLEM]: hdparm strange behaviour for 2.6.21 and later Thanos Kyritsis
2007-06-18 20:01 ` Mark Lord
2007-06-20 15:07   ` Thanos Kyritsis [this message]
2007-06-23 18:28     ` Bartlomiej Zolnierkiewicz
2007-06-24 17:47       ` Thanos Kyritsis
2007-06-27 19:46         ` PREEMPT bug? (was: Re: [PROBLEM]: hdparm strange behaviour for 2.6.21 and later) Bartlomiej Zolnierkiewicz

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=200706201807.41646.djart@linux.gr \
    --to=djart@linux.gr \
    --cc=bzolnier@gmail.com \
    --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 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.