[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SmartMedia y FAT12



Hola

Tengo una tarjeta SmartMedia, metida en un adaptador PCMCIA. Cuando lo
inserto:

# tail -f /var/log/syslog
Apr 17 17:56:40 zubiri cardmgr[5774]: socket 0: ATA/IDE Fixed Disk
Apr 17 17:56:40 zubiri cardmgr[5774]: executing: 'modprobe ide-cs'
Apr 17 17:56:42 zubiri kernel: hde: , ATA DISK drive
Apr 17 17:56:42 zubiri kernel: ide2 at 0x100-0x107,0x10e on irq 9
Apr 17 17:56:42 zubiri kernel: hde: 16000 sectors (8 MB) w/0KiB Cache,
CHS=250/4/16
Apr 17 17:56:43 zubiri kernel:  hde: hde1
Apr 17 17:56:43 zubiri kernel: ide_cs: hde: Vcc = 5.0, Vpp = 0.0
Apr 17 17:56:43 zubiri cardmgr[5774]: executing: './ide start hde'

# fdisk /dev/hde 

Command (m for help): p

Disk /dev/hde: 4 heads, 16 sectors, 250 cylinders
Units = cylinders of 64 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hde1   *         1       250      7987+   1  FAT12

# mount -t msdos -o fat=12 /dev/hde1 /mnt/camera/
mount: wrong fs type, bad option, bad superblock on /dev/hde1,
       or too many mounted file systems

Si lo ejecuto con strace:

# strace -t msdos -o fat=12 /dev/hde1 /mnt/camera/
...
lstat64("/etc/mtab", {st_mode=S_IFREG|0644, st_size=166, ...}) = 0
stat64("/sbin/mount.msdos", 0xbffff6dc) = -1 ENOENT (No such file or
directory)
rt_sigprocmask(SIG_BLOCK, ~[TRAP SEGV], NULL, 8) = 0
mount("/dev/hde1", "/mnt/camera/", "msdos", 0xc0ed0000, 0x805b9f8) = -1
EINVAL (Invalid argument)
rt_sigprocmask(SIG_UNBLOCK, ~[TRAP SEGV], NULL, 8) = 0
write(2, "mount: wrong fs type, bad option"..., 103mount: wrong fs type,
bad option, bad superblock on /dev/hde1,
       or too many mounted file systems
) = 103
stat64("/dev/hde1", {st_mode=S_IFBLK|0660, st_rdev=makedev(33, 1), ...})
= 0
open("/dev/hde1", O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 3
ioctl(3, BLKGETSIZE, 0xbffff80c)        = 0
close(3)                                = 0
_exit(32)                               = ?

o sea, que parece que busca /sbin/mount.msdos, pero yo no tengo eso ni
lo encuentro por ningun lado.

La partición hde1 parece tener un sistema de ficheros correcto, pues
cuando pongo la tarjeta en la cámara, aparece el número de fotos que se
supone hay en la tarjeta.

¿Qué puedo hacer? ¿Qué tengo mal? Tengo compilado todo lo relacionado
con FAT/VFAT/MSDOS como módulos, y estan todos cargados.

saludos
-- 
Rodrigo Moya <rodrigo@gnome-db.org> - <rodrigo@ximian.com>
http://www.gnome-db.org/ - http://www.ximian.com/


--
To UNSUBSCRIBE, email to debian-user-spanish-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: