Skip to contentSkip to conversation

1G Microdrive problems

DISCUSSION Avi Schwartz 2 participants 2 messages Mar 26, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

I am looking for a pointer on where I can find help with a problem I am having with the IBM 1G Microdrive and Linux. The problem I am having is not distribution specific.

The problem is that when I connect my digital camera (Olympus E-20) to my computer via USB (or the microdrive directly to my laptop via the PCMCIA adapter), trying to list the files on the disk displays a corrupt directory structure:

Quoted 1 line

ls /mnt/camera

dcim

Quoted 1 line

ls /mnt/camera/dcim

100olymp

Quoted 1 line

ls -l /mnt/dcim/100olymp/

dr-xr-xr-x    0 root     root        32768 Aug 10  1996 j4???h?".j?k
-r-xr-xr-x    1 root     root     3547043402 Jun 20  2020 j{?e?8^?.c{?
drwxr-xr-x  50768 root     root      3145728 Jan  1  2022 j?+?????.???
drwxr-xr-x    0 root     root        32768 Dec 15  1911 kg?}?hv".???
drwxr-xr-x    0 root     root        32768 Jan 14  1987 lt??????.???
-r-xr-xr-x    1 root     root     290476329 Jan  4  1918 o?a?=??e.?8?
-rwxr-xr-x    1 root     root      3650885 Dec 21 09:14 pc210028.jpg
-rwxr-xr-x    1 root     root      3513694 Dec 21 09:16 pc210029.jpg
-rwxr-xr-x    1 root     root      3653888 Dec 21 09:17 pc210030.jpg
-rwxr-xr-x    1 root     root      3850982 Dec 23 19:50 pc230031.jpg

...

I tried it with different units, all had the same problem.

I formatted it more then once to make sure that the directory stucture is not corrupt and even then it displayed what seems to be a broken directory structure (i.e. when empty).

One thing to note is that the disk is formatted as fat, i.e. it is not ext2/3.

It is not machine specific since I tried it with my desktop (via USB) as well as my laptop (via PCMCIA adapter).

The laptop is IDE based. The desktop is SCSI.

The 'other' OS has no problem with these drives.

$ uname -a (on laptop)
Linux seahorse 2.4.18 #3 Wed Feb 27 19:09:37 CST 2002 i686 GenuineIntel

Desktop is running kernel 2.4.7-SMP on a dual processor Athlon machine.

I can only think it might be a problem with the fat driver, any idea what may be the problem?

Thanks,
Avi

Signature · 2 lines
Avi Schwartz
[email protected]
#1 lore raw

Check to see of your drive has meta-data cache.
This is a solution to reduce power consumption in portable devices. You may have problems with some inital data but some of the things which these devices do is voodoo.

Also one set of images could be put to platter as memory and not disk.

Cheers,

Andre Hedrick
LAD Storage Consulting Group

Quoted 67 lines · Avi Schwartz

Hi,

I am looking for a pointer on where I can find help with a problem I am having with the IBM 1G Microdrive and Linux. The problem I am having is not distribution specific.

The problem is that when I connect my digital camera (Olympus E-20) to my computer via USB (or the microdrive directly to my laptop via the PCMCIA adapter), trying to list the files on the disk displays a corrupt directory structure:

Quoted 1 line

ls /mnt/camera

dcim

Quoted 1 line

ls /mnt/camera/dcim

100olymp

Quoted 1 line

ls -l /mnt/dcim/100olymp/

dr-xr-xr-x    0 root     root        32768 Aug 10  1996 j4???h?".j?k
-r-xr-xr-x    1 root     root     3547043402 Jun 20  2020 j{?e?8^?.c{?
drwxr-xr-x  50768 root     root      3145728 Jan  1  2022 j?+?????.???
drwxr-xr-x    0 root     root        32768 Dec 15  1911 kg?}?hv".???
drwxr-xr-x    0 root     root        32768 Jan 14  1987 lt??????.???
(quoted diff) +0 -5
-r-xr-xr-x    1 root     root     290476329 Jan  4  1918 o?a?=??e.?8?
-rwxr-xr-x    1 root     root      3650885 Dec 21 09:14 pc210028.jpg
-rwxr-xr-x    1 root     root      3513694 Dec 21 09:16 pc210029.jpg
-rwxr-xr-x    1 root     root      3653888 Dec 21 09:17 pc210030.jpg
-rwxr-xr-x    1 root     root      3850982 Dec 23 19:50 pc230031.jpg
...

I tried it with different units, all had the same problem.

I formatted it more then once to make sure that the directory stucture is not corrupt and even then it displayed what seems to be a broken directory structure (i.e. when empty).

One thing to note is that the disk is formatted as fat, i.e. it is not ext2/3.

It is not machine specific since I tried it with my desktop (via USB) as well as my laptop (via PCMCIA adapter).

The laptop is IDE based. The desktop is SCSI.

The 'other' OS has no problem with these drives.

$ uname -a (on laptop)
Linux seahorse 2.4.18 #3 Wed Feb 27 19:09:37 CST 2002 i686 GenuineIntel

Desktop is running kernel 2.4.7-SMP on a dual processor Athlon machine.

I can only think it might be a problem with the fat driver, any idea what may be the problem?

Thanks,
Avi

Signature · 8 lines
Avi Schwartz
[email protected]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/