mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andre Hedrick <andre@linuxdiskcert.org>
To: Joerg Pommnitz <pommnitz@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: RE: false positives on disk change checks
Date: Fri, 1 Feb 2002 03:12:13 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.10.10202010309090.22985-100000@master.linux-ide.org> (raw)
In-Reply-To: <20020201102753.90799.qmail@web13308.mail.yahoo.com>

On Fri, 1 Feb 2002, Joerg Pommnitz wrote:

> I wrote:
> 
> > I don't know the original posters problem, but I suspect I see something
> > similar. On a to be embedded system with a Geode (Cyrix) CPU and with a
> > ATA compatible CompactFlash drive I get the following messages on 
> > bootup:
> > 
> > invalidate: busy buffer
> > VFS: busy inodes on changed media.
> > 
> > This seems to happen while the system tries to remount the root fs rw.
> 
> The following patch works around the problem for me:
> 
> diff -ruN linux/drivers/ide/ide-probe.c
> linux-scorpio/drivers/ide/ide-probe.c
> --- linux/drivers/ide/ide-probe.c       Mon Nov 26 14:29:17 2001
> +++ linux-scorpio/drivers/ide/ide-probe.c       Fri Feb  1 12:06:59 2002
> @@ -154,11 +154,14 @@
>                 return;
>         }
> 
> +#if 0
>         /*
>          * Not an ATAPI device: looks like a "regular" hard disk
>          */
>         if (id->config & (1<<7))
>                 drive->removable = 1;
> +#endif
> +
>         /*
>          * Prevent long system lockup probing later for non-existant
>          * slave drive if the hwif is actually a flash memory card of some
> variety:
> 
> It's obviously not a general solution but I know for sure that
> the flashdisk is not removable in our setup.

REGARDLESS, it is removable media and this it reports so.
The driver will not change to create false reports, because CFA has its
own rules, and if you can figure them out great.

Removable media shall always report as Removable media.

If you purchase enough of the media, the OEM will allow you to alter the
identify page and this it will not longer report "Removable".

Regards,


Andre Hedrick
Linux Disk Certification Project                Linux ATA Development


  reply	other threads:[~2002-02-01 11:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-01 10:27 Joerg Pommnitz
2002-02-01 11:12 ` Andre Hedrick [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-02-01 17:33 Kris Urquhart
2002-02-01  9:33 Joerg Pommnitz
2002-01-31 23:46 PROBLEM: ext2/mount - multiple mounts corrupts inodes Kris Urquhart
2002-02-01  2:14 ` false positives on disk change checks Alexander Viro
2002-02-01 11:06   ` Andre Hedrick

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=Pine.LNX.4.10.10202010309090.22985-100000@master.linux-ide.org \
    --to=andre@linuxdiskcert.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pommnitz@yahoo.com \
    /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

all inboxes | Powered by JetHome®