If you change the device in the drive you need to use "eject" to tell the system the device has changed.
On Thu, 14 Nov 2002 [EMAIL PROTECTED] wrote: > > Hello, > > I bought Datafab USB memory card drive and two memory card with > it. The first one is 8MB SD card made by Panasonic and the other one > is a 64MB MultiMediaCard by Verbatim. The SD card seems to work ok, > but I'm having some trouble mounting the MMC. Curiously, running > sfdisk on the related scsi device seems to temporarily fix the thing, > but I have to redo it every time I insert the drive. I'm using the > card with my Minolta Dimage X camera. Please, see below for system > information. > > [root@teppo root]# mount /mnt/sda1 > mount: wrong fs type, bad option, bad superblock on /dev/sda1, > or too many mounted file systems > [root@teppo root]# sfdisk /dev/sda > Checking that no-one is using this disk right now ... > OK > > Disk /dev/sda: 490 cylinders, 8 heads, 32 sectors/track > Old situation: > Units = cylinders of 131072 bytes, blocks of 1024 bytes, counting from 0 > > Device Boot Start End #cyls #blocks Id System > /dev/sda1 * 0+ 488 489- 62576 6 FAT16 > /dev/sda2 0 - 0 0 0 Empty > /dev/sda3 0 - 0 0 0 Empty > /dev/sda4 0 - 0 0 0 Empty > Input in the following format; absent fields get a default value. > <start> <size> <type [E,S,L,X,hex]> <bootable [-,*]> <c,h,s> <c,h,s> > Usually you only need to specify <start> and <size> (and perhaps <type>). > > /dev/sda1 :New situation: > No partitions found > > sfdisk: no partition table present. > [root@teppo root]# mount /mnt/sda1 > [root@teppo root]# ls /mnt/sda1/ > dcim > [root@teppo root]# > > [root@teppo root]# uname -a > Linux teppo 2.4.20-rc1 #3 Thu Nov 14 00:09:29 EET 2002 i686 unknown > > > [root@teppo root]# cat /proc/bus/usb/ > 001 devices drivers > [root@teppo root]# cat /proc/bus/usb/devices > T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > P: Vendor=0000 ProdID=0000 Rev= 0.00 > S: Product=USB UHCI Root Hub > S: SerialNumber=fce0 > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms > T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > P: Vendor=07c4 ProdID=ac01 Rev= 1.00 > S: Manufacturer=Datafab > S: Product=Mass Storage Device > C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 50mA > I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage > E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > > > [root@teppo root]# cat /proc/scsi/usb-storage-0/0 > Host scsi0: usb-storage > Vendor: Datafab > Product: Mass Storage Device > Serial Number: None > Protocol: Transparent SCSI > Transport: Bulk > GUID: 07c4ac010000000000000000 > Attached: Yes > [root@teppo root]# > > > [root@teppo root]# cat /proc/modules > cisco_ipsec 342448 0 (unused) > fvnetr_cs 61024 1 > cs4281 44560 1 (autoclean) > soundcore 3568 3 (autoclean) [cs4281] > sd_mod 10272 0 (autoclean) > ipt_MASQUERADE 1280 1 (autoclean) > iptable_nat 14736 1 (autoclean) [ipt_MASQUERADE] > ipt_state 576 3 (autoclean) > iptable_filter 1680 1 (autoclean) > ip_tables 10976 6 [ipt_MASQUERADE iptable_nat ipt_state >iptable_filter] > ip_conntrack_ftp 3824 0 (unused) > ip_conntrack 17392 3 [ipt_MASQUERADE iptable_nat ipt_state >ip_conntrack_ftp] > autofs 9152 0 (autoclean) (unused) > apm 9520 2 > 3c59x 25536 0 > nls_iso8859-1 2832 1 (autoclean) > nls_cp437 4352 1 (autoclean) > vfat 9776 1 (autoclean) > fat 30464 0 (autoclean) [vfat] > reiserfs 164560 3 (autoclean) > usb-storage 78272 0 > scsi_mod 85152 2 [sd_mod usb-storage] > usb-uhci 21568 0 (unused) > usbcore 63488 1 [usb-storage usb-uhci] > rtc 6048 0 (autoclean) > > Any ideas? Thank you very much, > > Teppo > -- /------------------------------------+-------------------------\ |Stephen J. Gowdy | SLAC, MailStop 34, | |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road, | |http://calendar.yahoo.com/gowdy | Menlo Park CA 94025, USA | |EMail: [EMAIL PROTECTED] | Tel: +1 650 926 3144 | \------------------------------------+-------------------------/ ------------------------------------------------------- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
