Your message dated Sun, 21 Jun 2015 15:47:18 +0000
with message-id <[email protected]>
and subject line Bug#7: Removed package(s) from unstable
has caused the Debian Bug report #708286,
regarding fix unaligned access warnings on big endian machines
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
708286: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708286
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: udisks
Version: 1.0.4-7
On big endian machines (in my case parisc) unaligned accesses to 32bit
integers gives warnings during boot like this:
udisks-part-id(3035): unaligned access to 0xc06d29ce at ip=0x00012a03
udisks-part-id(3035): unaligned access to 0xc06d29d2 at ip=0x00012a3b
udisks-part-id(3035): unaligned access to 0xc06d29de at ip=0x00012a03
udisks-part-id(3035): unaligned access to 0xc06d29e2 at ip=0x00012a3b
udisks-part-id(3035): unaligned access to 0xc06d29ee at ip=0x00012a03
Fix this by copying the 4 bytes to an aligned address and then access it.
Patch attached.
I did reported the bug upstream as well:
https://bugs.freedesktop.org/show_bug.cgi?id=64601
Description: fix unaligned access warnings on big endian machines
On big endian machines (in my case parisc) unaligned accesses to 32bit
integers gives warnings during boot like this:
udisks-part-id(3035): unaligned access to 0xc06d29ce at ip=0x00012a03
udisks-part-id(3035): unaligned access to 0xc06d29d2 at ip=0x00012a3b
udisks-part-id(3035): unaligned access to 0xc06d29de at ip=0x00012a03
udisks-part-id(3035): unaligned access to 0xc06d29e2 at ip=0x00012a3b
udisks-part-id(3035): unaligned access to 0xc06d29ee at ip=0x00012a03
Fix this by copying the 4 bytes to an aligned address and then access
it.
Author: Helge Deller <[email protected]>
--- udisks-1.0.4.orig/src/helpers/partutil.c
+++ udisks-1.0.4/src/helpers/partutil.c
@@ -181,7 +181,9 @@ get_le16 (const void *buf)
static guint32
get_le32 (const void *buf)
{
- return GUINT32_FROM_LE (*((guint32 *) buf));
+ guint32 le32;
+ memcpy(&le32, buf, sizeof(le32));
+ return GUINT32_FROM_LE (le32);
}
static guint64
--- End Message ---
--- Begin Message ---
Version: 1.0.5-1+rm
Dear submitter,
as the package udisks has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/7
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Luca Falavigna (the ftpmaster behind the curtain)
--- End Message ---
_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-utopia-maintainers