Re: smart media changing problem

Gerry Tool <[email protected]>
Newsgroups gmane.linux.redhat.release.limbo
Message-ID <1032398952.1441.8.camel@gstpc>
On Wed, 2002-09-18 at 13:49, Thomas Dodd wrote:
> 
> 
> Gerry Tool wrote:
> > I have a Camedia USB smart media reader which Null recognizes and allows
> 
> Is that a usb device?

Yes it is.

> 
> > [gerry@gstpc gerry]$ mount /mnt/smedia
> > mount: block device /dev/sda1 is write-protected, mounting read-only
> > [gerry@gstpc gerry]$ umount /mnt/smedia
> > 
> > However, if I want to remove the card after unmounting the device and
> > insert another card and mount the device, I get the following error;
> 
> Any thing in dmesg or  /var/log/messages?

I am attaching the output of dmesg in a text file. I don't know what to
make of it, but will try to look it over more carefully after I send
this.

> > [gerry@gstpc gerry]$ mount /mnt/smedia
> > mount: block device /dev/sda1 is write-protected, mounting read-only
> > mount: wrong fs type, bad option, bad superblock on /dev/sda1,
> >        or too many mounted file systems
> 
> SmartMedia may have the partition table in different places.
> If the kernel/reader don't communicate the card change, it's
> looking at the old information.
> 
> If you unmount, remove, and re-insert the same card,
> can you mount it a second time?
> 
> 	-Thomas

No, I can unmount/mount it as long as I don't remove the card.  The
dmesg output file is the result of unmounting, removing and trying to
mount it again - see the first few lines of the file.

Thanks for the reply.

Gerry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.