mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthew Dharm <mdharm-kernel@one-eyed-alien.net>
To: Rogier Wolff <R.E.Wolff@BitWizard.nl>
Cc: "H. Peter Anvin" <hpa@transmeta.com>,
	Gregory Maxwell <greg@linuxpower.cx>,
	"H. Peter Anvin" <hpa@zytor.com>,
	linux-kernel@vger.kernel.org
Subject: Re: Sony Memory stick format funnies...
Date: Sun, 29 Apr 2001 21:24:43 -0700	[thread overview]
Message-ID: <20010429212443.D8349@one-eyed-alien.net> (raw)
In-Reply-To: <3AEC7A9F.17EBEE57@transmeta.com> <200104292045.WAA25392@cave.bitwizard.nl>
In-Reply-To: <200104292045.WAA25392@cave.bitwizard.nl>; from R.E.Wolff@BitWizard.nl on Sun, Apr 29, 2001 at 10:45:41PM +0200

[-- Attachment #1: Type: text/plain, Size: 2494 bytes --]

I've seen something similar with USB memory stick devices... they don't
seem to report a media change in a way that the VFS layer will understand.

I think this deserves some _serious_ debugging, personally, as this is
going to come back to haunt us over and over again with some types of
memory stick (and possibly other) media devices.

I'd do it, but I don't have a memory stick reader.  Rogier, can you
volunteer some time for this?

Matt

On Sun, Apr 29, 2001 at 10:45:41PM +0200, Rogier Wolff wrote:
> H. Peter Anvin wrote:
> 
> > Rogier Wolff wrote:
> 
> > > The image of the disk (including partition table) is at:
> > > 
> > >         ftp://ftp.bitwizard.nl/misc_junk/formatted.img.gz
> > > 
> > > It's 63kb and uncompresses to the 64Mb (almost) that it's sold as.
> > > 
> > 
> > And on at least this kernel (2.4.0) there is nothing funny about it:
> > 
> > : tazenda 13 ; ls -l /mnt
> > total 0
> > -r-xr-xr-x    1 root     root            0 May 23  2000 memstick.ind*
> > : tazenda 14 ; 
> > 
> > Mounting msdos, vfat or umsdos, no change.
> 
> OK. I rebooted the laptop: 
> 
>   Linux version 2.2.13 (root@Mandelbrot.suse.de) (gcc version
>   egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Mon Nov 8
>   15:37:25 CET 1999
> 
> which seems to have cleared it. Somehow that directory was still
> cached somewhere (not in the buffer cache) from when there were images
> on the memory stick.
> 
> So, I'm suspecting a dcache bug, that allows something to stay over
> after swapping a removable media device.... And all this is irrelevant
> as this was on a very old kernel. Sorry to have been wasting your
> time.
> 
> 			Roger.
> 
> -- 
> ** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
> *-- BitWizard writes Linux device drivers for any device you may have! --*
> * There are old pilots, and there are bold pilots. 
> * There are also old, bald pilots. 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
Matthew Dharm                              Home: mdharm-usb@one-eyed-alien.net 
Maintainer, Linux USB Mass Storage Driver

S:  Another stupid question?
G:  There's no such thing as a stupid question, only stupid people.
					-- Stef and Greg
User Friendly, 7/15/1998

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

  reply	other threads:[~2001-04-30  4:25 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-28 22:36 Rogier Wolff
2001-04-28 23:06 ` mirabilos
2001-04-29  0:03 ` H. Peter Anvin
2001-04-29  3:11   ` Michael Rothwell
2001-04-29  2:18     ` H. Peter Anvin
2001-04-29 20:03   ` Rogier Wolff
2001-04-29 20:09     ` H. Peter Anvin
2001-04-29 20:15       ` Gregory Maxwell
2001-04-29 20:17         ` H. Peter Anvin
2001-04-29 20:27           ` Rogier Wolff
2001-04-29 20:33             ` H. Peter Anvin
2001-04-29 20:45               ` Rogier Wolff
2001-04-30  4:24                 ` Matthew Dharm [this message]
2001-04-29 20:37             ` mirabilos
2001-04-29 20:39               ` Rogier Wolff
2001-04-29 20:23         ` Rogier Wolff
2001-04-29 20:18       ` Rogier Wolff
2001-04-29 20:23         ` H. Peter Anvin
2001-04-30  6:31 Antwerpen, Oliver

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=20010429212443.D8349@one-eyed-alien.net \
    --to=mdharm-kernel@one-eyed-alien.net \
    --cc=R.E.Wolff@BitWizard.nl \
    --cc=greg@linuxpower.cx \
    --cc=hpa@transmeta.com \
    --cc=hpa@zytor.com \
    --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 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®