public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Smartmedia 2.6.0-test9 problem.
@ 2003-11-18 11:11 Patrick Beard
  2003-11-18 11:31 ` Patrick Beard
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Patrick Beard @ 2003-11-18 11:11 UTC (permalink / raw)
  To: linux-kernel

Hi,
I have two smartmedia cards 16mb and 64mb. I have recently compiled the
Debian source for Kernel 2.6.0-test9.
I normally only use my 64mb card together with a usb reader. The problem I
have led me to the wrong conclusion which I reported to this group. For this
I apologise.

I have now clearly identified the problem and have repeated it and doubled
checked to ensure that this post is accurate.
The problem is;
I can mount both the 16mb and 64mb cards if I use my camera. If I use my
reader, the 16mb card mounts ok but, the 64mb card returns no media found.
When I used the 2.4.19 kernel the 64mb card worked fine with the reader. A
new addition to my setup (apart from 2.6-test) is a usb to serial adapter. I
connect all these to a usb hub running in passive mode. In case the addition
of the usb/serial adapter was not leaving enough power for the larger
capacity SM card I attached the power adapter to the hub and switched it to
'powered'. This made not difference to the problem.
my fstab entry is;
/dev/sda1    /mnt/smedia    vfat    rw,user,noauto    0,0

when the 64mb card is mounted in the camera fdisk -l returns;

/dev/sda1 * 1 500 63972+ 1 FAT12

Any help on this would be appreciated.

__
Patrick




^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Smartmedia 2.6.0-test9 problem.
@ 2003-11-19  8:29 Vid Strpic
  0 siblings, 0 replies; 11+ messages in thread
From: Vid Strpic @ 2003-11-19  8:29 UTC (permalink / raw)
  To: Nick Craig-Wood; +Cc: Patrick Beard, linux-kernel

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

On Tue, Nov 18, 2003 at 05:48:28PM +0000, Nick Craig-Wood wrote:
> On Tue, Nov 18, 2003 at 11:11:26AM -0000, Patrick Beard wrote:
> > I have two smartmedia cards 16mb and 64mb. I have recently compiled
> > the Debian source for Kernel 2.6.0-test9.  I normally only use my
> > 64mb card together with a usb reader. The problem I have led me to
> > the wrong conclusion which I reported to this group. For this I
> > apologise.
> I wonder if you are seeing the same thing I see...
> I have several different sized memory cards which I use using a usb
> adaptor.  The kernel (I've only tried 2.4 not 2.6) recognises the
> first one fine, but refuses to update its internal knowledge of the
> size of the card so if I insert a different sized one it doesn't mount
> properly.

I don't have that problem, luckily, but a different one...

> The work-around I use is to "rmmod usb-storage ; modprobe usb-storage"
> whenever I change memory card - this kicks the kernel into re-reading
> the size of the media (or maybe the partition table) and it all works
> fine after that.
> This obviously isn't ideal but I haven't found a better solution.

Sometimes kernel doesn't want to recognize the SM card in reader, and I
have to reinsert it, sometimes several times.  In 2.4, one `eject
/dev/sda` fixes the problem, in 2.6 not any more.  But reinserting
always helps... obviously, not ideal too, but it works for me.

-- 
           vms@bofhlet.net, IRC:*@Martin, /bin/zsh. C|N>K
Linux moria 2.6.0-test9 #1 Sat Oct 25 23:00:37 CEST 2003 i686
 09:26:41 up 13 days, 18:43,  1 user,  load average: 0.25, 0.30, 0.27

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-11-21 10:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-18 11:11 Smartmedia 2.6.0-test9 problem Patrick Beard
2003-11-18 11:31 ` Patrick Beard
2003-11-18 17:48 ` Nick Craig-Wood
2003-11-18 21:51   ` Parick Beard
2003-11-20 22:52     ` Andries Brouwer
2003-11-21 10:59       ` Parick Beard
2003-11-18 22:17   ` Eli Carter
2003-11-18 23:08     ` Eli Carter
2003-11-20 22:56     ` Andries Brouwer
2003-11-19 11:42 ` Patrick Beard
  -- strict thread matches above, loose matches on Subject: below --
2003-11-19  8:29 Vid Strpic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox