Bug 388248 - hal: nothing visible happens after inserting of flash disc
Summary: hal: nothing visible happens after inserting of flash disc
Status: RESOLVED WONTFIX
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Final
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Kay Sievers
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-08 14:47 UTC by Stanislav Brabec
Modified: 2008-05-16 12:57 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
empty_adata_myflash_small.lshal (115.33 KB, text/plain)
2008-05-08 14:48 UTC, Stanislav Brabec
Details
empty_adata_myflash_small.img.bz2 (3.60 MB, application/x-bzip2)
2008-05-08 14:50 UTC, Stanislav Brabec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stanislav Brabec 2008-05-08 14:47:26 UTC
I connected to the computer a brand new A-DATA 4GB MyFlash PD15 FlashDrive USB2.0.

It was preformatted with one partition and FAT file system in the partition 1.

Partition was correctly recognized by the kernel, but GNOME volume manager did not mount it. Manual mount as vfat works.

Attaching the disc image and lshal output for your furter analysis.
Comment 1 Stanislav Brabec 2008-05-08 14:48:24 UTC
Created attachment 213576 [details]
empty_adata_myflash_small.lshal
Comment 2 Stanislav Brabec 2008-05-08 14:50:30 UTC
Created attachment 213581 [details]
empty_adata_myflash_small.img.bz2

Warning: File size after decompression is 4GB.
Comment 3 Stanislav Brabec 2008-05-13 11:36:37 UTC
Reported upstream: https://bugs.freedesktop.org/show_bug.cgi?id=15921
Comment 4 Danny Al-Gaaf 2008-05-15 11:30:37 UTC
@Kay: can you take a look at this bug. You are the maintainer of libvolume_id and more familiar with fs-type detection.
Comment 5 Stanislav Brabec 2008-05-15 15:28:04 UTC
Jan Kara inspected the file system a bit as part of the bug 91189.

The files system is not fully conforming FAT specification. When mounted, it is corrupted by write up to 10.3.

But on the other hand, exactly this image is present on some flash from factory.
Comment 6 Kay Sievers 2008-05-15 18:36:58 UTC
While the device is connected, what does:
  /lib/udev/vol_id /dev/<device name>
print?
Comment 7 Stanislav Brabec 2008-05-16 09:29:54 UTC
/lib/udev/vol_id /dev/sdb1
/dev/sdb1: unknown volume type

/lib/udev/vol_id /dev/sdb
/dev/sdb: unknown volume type

file -s /dev/sdb
/dev/sdb: x86 boot sector, Microsoft Windows XP mbr,Serial 0x91f72d24; partition 1: ID=0xb, active, starthead 1, startsector 63, 7897024 sectors

file -s /dev/sdb1
/dev/sdb1: x86 boot sector
Comment 8 Kay Sievers 2008-05-16 12:57:00 UTC
The partition looks like a FAT32 volume, but it misses the signature to identify the volume. It is defined by the FAT filesystem:
  LeadSig: 0x41615252
  "The signature is used to validate that this is a Info sector"

We can not relax that check, because we will very likely wrongly identify volumes which are not FAT32. Sorry, you have to reformat the volume, if you want autodetection.