Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233187 - sys-apps/hal-0.5.11-r1 fails to automount some media devices (Sony)
Summary: sys-apps/hal-0.5.11-r1 fails to automount some media devices (Sony)
Status: RESOLVED DUPLICATE of bug 253815
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-28 19:18 UTC by Rafael
Modified: 2009-02-03 14:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael 2008-07-28 19:18:30 UTC
There's a bug in hal which makes it fail to mount some media devices (Specially Sony manufactured ones). I don't know if I understood it well but it seem to be caused by the size of one variable used to store some value related to the capacity of the device being to small. Because of this the value read from the device is detected as being negative.

I've had this problem before in ubuntu which already used hal-0.5.11. It seems that the problem already existed in previous versions but it was ignored because there was no test if the value reported where negative and now the test has been added to hal.

The bug from Ubuntu and a proposed solution is in:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/209483

Thanks in advance.


Reproducible: Always
Comment 1 Rafael 2008-07-29 06:34:10 UTC
Hi!
Perhaps you already noticed it, but I want to add that I've tested it in Gentoo amd64 also, and this bug doesn't happen in that architecture. It must be already using a 64 bit sized variable to store the value. It seems to me that something like uint64 should have been used to avoid this difference of behavior.

Waiting for it to be fixed in x86!

Thanks in advance!
Comment 2 Rafael 2008-08-15 18:00:53 UTC
Hi!
The problem seems to be fixed in the git repository:

http://gitweb.freedesktop.org/?p=hal.git;a=commit;h=f7d7779d0fd2438479c9de4b8dd76f986941f0a4

Can you please add this change to the portage tree or should I wait for a new release of Hal?

Thanks!
Comment 3 Rafael 2008-11-18 16:03:28 UTC
Bump!
Can I get some feedback on this?
Almost 4 months have passed and this has not yet been fixed in Gentoo.

Thanks!
Comment 4 Rafael 2009-01-15 21:21:16 UTC
Please see also the related bug 253815
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2009-02-03 14:56:37 UTC
Rafael, now that you've posted the upstream commit in the other bug I'll close this one. No use having two bugs open for the same underlying issue.

*** This bug has been marked as a duplicate of bug 253815 ***