Bug#839590: Bus error when accessing MBR partition records
James Clarke
jrtc27 at jrtc27.com
Sun Oct 2 14:12:19 UTC 2016
Package: mdadm
Version: 3.4-4
Tags: patch
Control: -1 forwarded http://marc.info/?l=linux-raid&m=147515212602202
X-Debbugs-Cc: debian-sparc at lists.debian.org
User: debian-sparc at lists.debian.org
Usertags: sparc64
Hi,
When mdadm tries to examine MBR partition records (such as when creating
an array using already-formatted disks), it does so with an unaligned
pointer, which leads to a bus error (SIGBUS) on sparc64. Please see the
patch I have submitted upstream, which makes sure the accesses always go
through boot_sect, since it is of type `struct MBR', which is the packed
containing struct, and so the compiler will generate the correct code to
perform the unaligned accesses when needed.
Regards,
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20161002/271fdee0/attachment.sig>
More information about the pkg-mdadm-devel
mailing list