Re: dbus-daemon unaligned accesses

2020-01-19 Thread Witold Baryluk
Yes, it works.

The suggested one line change did work and fixed the issue for me.

I didn't have time to ask for it to be merged.

On Sun, 19 Jan 2020, 06:49 Bob Tracy,  wrote:
>
> On Sat, Jan 18, 2020 at 05:33:31PM +, Witold Baryluk wrote:
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932381
>
> At first glance, that certainly appears to be the issue.  The
> conversation seems to have stalled-out as of July 2019.
>
> memcpy() looks to be a good way of handling the problem, for the
> reasons mentioned.  Did you try that fix?  If so, did it work for you?
>
> --Bob



Re: dbus-daemon unaligned accesses

2020-01-19 Thread Witold Baryluk
Yes, it works.

The suggested one line change did work and fixed the issue for me.

I didn't have time to ask for it to be merged.

On Sun, 19 Jan 2020, 06:49 Bob Tracy,  wrote:

> On Sat, Jan 18, 2020 at 05:33:31PM +, Witold Baryluk wrote:
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932381
>
> At first glance, that certainly appears to be the issue.  The
> conversation seems to have stalled-out as of July 2019.
>
> memcpy() looks to be a good way of handling the problem, for the
> reasons mentioned.  Did you try that fix?  If so, did it work for you?
>
> --Bob
>


Re: dbus-daemon unaligned accesses

2020-01-18 Thread Bob Tracy
On Sat, Jan 18, 2020 at 05:33:31PM +, Witold Baryluk wrote:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932381

At first glance, that certainly appears to be the issue.  The
conversation seems to have stalled-out as of July 2019.

memcpy() looks to be a good way of handling the problem, for the
reasons mentioned.  Did you try that fix?  If so, did it work for you?

--Bob



Re: dbus-daemon unaligned accesses

2020-01-18 Thread Witold Baryluk
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932381


On Sat, 18 Jan 2020 at 16:36, John Paul Adrian Glaubitz
 wrote:
>
> Hi Bob!
>
> On 1/18/20 5:06 PM, Bob Tracy wrote:
> > If no one else is actively working to fix this annoyance, I'll see what
> > I can do.  For me, it's mostly a matter of finding the time to download
> > the source package and its dependencies, build a debug version with
> > symbols in it that "gdb" can use, and then *maybe* figure out the best
> > way to code around the unaligned access.
>
> I'm busy with a lot of other things but I am well aware of this issue. You
> can silence the noise with "dmesg -n1".
>
> Otherwise, it would be greatly appreciated if you could work on a patch to
> fix this issue.
>
> Adrian
>
> --
>  .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaub...@debian.org
> `. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
>   `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>



Re: dbus-daemon unaligned accesses

2020-01-18 Thread John Paul Adrian Glaubitz
Hi Bob!

On 1/18/20 5:06 PM, Bob Tracy wrote:
> If no one else is actively working to fix this annoyance, I'll see what
> I can do.  For me, it's mostly a matter of finding the time to download
> the source package and its dependencies, build a debug version with
> symbols in it that "gdb" can use, and then *maybe* figure out the best
> way to code around the unaligned access.

I'm busy with a lot of other things but I am well aware of this issue. You
can silence the noise with "dmesg -n1".

Otherwise, it would be greatly appreciated if you could work on a patch to
fix this issue.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



dbus-daemon unaligned accesses

2020-01-18 Thread Bob Tracy
On my alpha, the system logs are getting spammed with unaligned trap
errors as follows:

[34656.586748] dbus-daemon(700): unaligned trap at 020a9720: 
d68c7222 28 18
[34656.599443] dbus-daemon(700): unaligned trap at 020a9720: 
d68c7222 28 18
[34656.612138] dbus-daemon(700): unaligned trap at 020a9720: 
d68c7222 28 18
[34656.617021] dbus-daemon(700): unaligned trap at 020a9720: 
d68c7222 28 18
[34656.624833] dbus-daemon(700): unaligned trap at 020a9720: 
d68c7222 28 18

The current "dbus" package version is 1.12.16-2.

If no one else is actively working to fix this annoyance, I'll see what
I can do.  For me, it's mostly a matter of finding the time to download
the source package and its dependencies, build a debug version with
symbols in it that "gdb" can use, and then *maybe* figure out the best
way to code around the unaligned access.

If anyone else has the time and would like to have a go at it, the
following two links might be useful:

https://wiki.gentoo.org/wiki/Project:Alpha/Porting_guide#Unaligned_accesses

https://www.redhat.com/archives/axp-list/2000-May/msg00151.html

(Yes, the problem has been around at least as long as the alpha
architecture :-) ).

Michael Cree et al.: do we have a working "gdb" on alpha these days?
I seem to recall brokenness there in the not-too-distant past.

--Bob