linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* LifeDrive filsystem probe fails [mjg59@srcf.ucam.org: Re:
@ 2008-11-11 14:29 Matt Behrens
  2008-11-11 15:40 ` LifeDrive filsystem probe fails [mjg59@srcf.ucam.org: Re: LifeDrive and T|X not seen by hal] Kay Sievers
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Matt Behrens @ 2008-11-11 14:29 UTC (permalink / raw)
  To: linux-hotplug

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

Hi there,

The Palm LifeDrive and T|X have a "Drive Mode" functionality that exposes
the onboard FAT32 partitions as USB drives.  However, Palm's idea of what
constitutes a FAT32 partition is a bit... weak. ;)  Below are Matthew
Garrett's insights on the filesystem probe failure from the hal list;
he suggested I get in touch with the udev developers.

I've made an image of a newly-formatted partition and posted it at
http://launchpadlibrarian.net/19129151/sdb1.img.bz2 and the Ubuntu bug
with more info can be found at
https://bugs.launchpad.net/ubuntu/+source/hal/+bug/81219.

It's unfortunately not enough to format the partition with mkdosfs or
fsck it into compliance; the device will "fix" the partition at some
point in the future rendering it unmountable again.  (Thought you can
force-mount it with a -t vfat.)

----- Forwarded message from Matthew Garrett <mjg59@srcf.ucam.org> -----

From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Matt Behrens <matt@zigg.com>
Subject: Re: LifeDrive and T|X not seen by hal

Ok. The following things appear to be causing the failure:

1) The FAT signature in bytes 510 and 511 isn't present. This causes the 
code to bail.

2) The FAT32 signature in the fsinfo block isn't present. This causes 
the code to bail.

3) The loop looking for the root dir appears to jump out past the code 
that sets the filesystem label. This results in it ignoring the UUID 
and filesystem name.

You probably need to get in touch with the udev developers to get this 
fixed - I'm not sure which of these checks could result in false 
positives unless care is taken. Once libvolume_id is fixed hal should 
just work.

-- 
Matthew Garrett | mjg59@srcf.ucam.org
_______________________________________________
hal mailing list
hal@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal

----- End forwarded message -----

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

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

end of thread, other threads:[~2008-11-21  9:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-11 14:29 LifeDrive filsystem probe fails [mjg59@srcf.ucam.org: Matt Behrens
2008-11-11 15:40 ` LifeDrive filsystem probe fails [mjg59@srcf.ucam.org: Re: LifeDrive and T|X not seen by hal] Kay Sievers
2008-11-11 15:47 ` Matthew Garrett
2008-11-13 12:55 ` LifeDrive filsystem probe fails [mjg59@srcf.ucam.org: Karel Zak
2008-11-13 13:40 ` LifeDrive filsystem probe fails [mjg59@srcf.ucam.org: Re: LifeDrive and T|X not seen by hal] Kay Sievers
2008-11-13 15:07 ` Kay Sievers
2008-11-13 19:01 ` Kay Sievers
2008-11-20 13:17 ` LifeDrive filsystem probe fails [mjg59@srcf.ucam.org: Karel Zak
2008-11-20 14:50 ` LifeDrive filsystem probe fails [mjg59@srcf.ucam.org: Re: LifeDrive and T|X not seen by hal] Kay Sievers
2008-11-21  9:55 ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).