USB Question...

Jarod Wilson jarod at wilsonet.com
Thu Mar 5 11:24:08 EST 2009


On Thursday 05 March 2009 11:07:26 Thomas Charron wrote:
> On Thu, Mar 5, 2009 at 10:53 AM, Brian Chabot <brian at datasquire.net> wrote:
> > Thomas Charron wrote:
> >>   There where fixes in both in newer versions.  2.6.24 included USB
> >> fixes size issues, as well as hal 0.5.11.
> > I'm trying to keep this system as close to "stock" as possible, so I'll
> > integrate those as soon as Mandriva's normal update repositories have
> > them...
> >>   What does this command show:
> >> cat /sys/block/sdb/size /sys/block/sdb/sdb1/size
> > $ cat /sys/block/sdb/size
> > 246864
> > $ cat /sys/block/sdb/sdb1/size
> > 251937
> > $
> > Jives with /var/log/messages and fdisk just like it should, and shows
> > the same error.
> 
>   Wait, fdisk reports that as well?  That fugged up.  The size of the
> partition is *bigger* then the disk size.  The fixes to the kernel and
> hal are fixes for disks larger then 2 gig, but if fdisk itself when
> reading the disk information shows information like that..
> 
>   That sounds like bad partition information.

There are a number of devices known to do stupid crap like this, and the
usb storage subsystem actually has a reasonably extensive workarounds list
that it sounds like this device probably needs to have an entry for.

-- 
Jarod Wilson
jarod at wilsonet.com


More information about the gnhlug-discuss mailing list