Alpha arch development list
 help / color / mirror / Atom feed
* dbus-daemon unaligned accesses
@ 2020-01-18 16:06 Bob Tracy
  2020-01-18 16:36 ` John Paul Adrian Glaubitz
  0 siblings, 1 reply; 6+ messages in thread
From: Bob Tracy @ 2020-01-18 16:06 UTC (permalink / raw)
  To: debian-alpha; +Cc: linux-alpha

On my alpha, the system logs are getting spammed with unaligned trap
errors as follows:

[34656.586748] dbus-daemon(700): unaligned trap at 00000200000a9720: 00000000d68c7222 28 18
[34656.599443] dbus-daemon(700): unaligned trap at 00000200000a9720: 00000000d68c7222 28 18
[34656.612138] dbus-daemon(700): unaligned trap at 00000200000a9720: 00000000d68c7222 28 18
[34656.617021] dbus-daemon(700): unaligned trap at 00000200000a9720: 00000000d68c7222 28 18
[34656.624833] dbus-daemon(700): unaligned trap at 00000200000a9720: 00000000d68c7222 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: dbus-daemon unaligned accesses
  2020-01-18 16:06 dbus-daemon unaligned accesses Bob Tracy
@ 2020-01-18 16:36 ` John Paul Adrian Glaubitz
  2020-01-18 17:33   ` Witold Baryluk
  0 siblings, 1 reply; 6+ messages in thread
From: John Paul Adrian Glaubitz @ 2020-01-18 16:36 UTC (permalink / raw)
  To: Bob Tracy, debian-alpha; +Cc: linux-alpha

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 - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: dbus-daemon unaligned accesses
  2020-01-18 16:36 ` John Paul Adrian Glaubitz
@ 2020-01-18 17:33   ` Witold Baryluk
  2020-01-19  5:49     ` Bob Tracy
  0 siblings, 1 reply; 6+ messages in thread
From: Witold Baryluk @ 2020-01-18 17:33 UTC (permalink / raw)
  To: John Paul Adrian Glaubitz; +Cc: Bob Tracy, debian-alpha, linux-alpha

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932381


On Sat, 18 Jan 2020 at 16:36, John Paul Adrian Glaubitz
<glaubitz@physik.fu-berlin.de> 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 - glaubitz@debian.org
> `. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
>   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: dbus-daemon unaligned accesses
  2020-01-18 17:33   ` Witold Baryluk
@ 2020-01-19  5:49     ` Bob Tracy
  2020-01-19 15:02       ` Witold Baryluk
  2020-01-19 22:42       ` Witold Baryluk
  0 siblings, 2 replies; 6+ messages in thread
From: Bob Tracy @ 2020-01-19  5:49 UTC (permalink / raw)
  To: Witold Baryluk; +Cc: John Paul Adrian Glaubitz, debian-alpha, linux-alpha

On Sat, Jan 18, 2020 at 05:33:31PM +0000, 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: dbus-daemon unaligned accesses
  2020-01-19  5:49     ` Bob Tracy
@ 2020-01-19 15:02       ` Witold Baryluk
  2020-01-19 22:42       ` Witold Baryluk
  1 sibling, 0 replies; 6+ messages in thread
From: Witold Baryluk @ 2020-01-19 15:02 UTC (permalink / raw)
  To: Bob Tracy; +Cc: John Paul Adrian Glaubitz, debian-alpha, linux-alpha

[-- Attachment #1: Type: text/plain, Size: 598 bytes --]

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, <rct@frus.com> wrote:

> On Sat, Jan 18, 2020 at 05:33:31PM +0000, 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
>

[-- Attachment #2: Type: text/html, Size: 1144 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: dbus-daemon unaligned accesses
  2020-01-19  5:49     ` Bob Tracy
  2020-01-19 15:02       ` Witold Baryluk
@ 2020-01-19 22:42       ` Witold Baryluk
  1 sibling, 0 replies; 6+ messages in thread
From: Witold Baryluk @ 2020-01-19 22:42 UTC (permalink / raw)
  To: Bob Tracy; +Cc: John Paul Adrian Glaubitz, debian-alpha, linux-alpha

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, <rct@frus.com> wrote:
>
> On Sat, Jan 18, 2020 at 05:33:31PM +0000, 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-19 22:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-18 16:06 dbus-daemon unaligned accesses Bob Tracy
2020-01-18 16:36 ` John Paul Adrian Glaubitz
2020-01-18 17:33   ` Witold Baryluk
2020-01-19  5:49     ` Bob Tracy
2020-01-19 15:02       ` Witold Baryluk
2020-01-19 22:42       ` Witold Baryluk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox