Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Bob Taylor <brtaylor@inreach.com>
To: axp-list@redhat.com
Subject: Re: diald-0.16.5 and unalighed naligned traps
Date: Wed, 11 Nov 1998 12:54:29 -0800	[thread overview]
Message-ID: <199811112054.MAA03017@ann.qtpi.lakewood.ca.us> (raw)
In-Reply-To: Your message of "Wed, 11 Nov 1998 11:20:07 EST." <9811111620.AA50214@hellfire.dusers.drexel.edu>

In message <9811111620.AA50214@hellfire.dusers.drexel.edu>, J writes:
> 
> I've compiled and installed diald-0.16.5 under Redhat 5.1. It works fine,
> except that it generates a good number of unaligned traps. Enough that my
> log files are getting pretty big.
> 
> Does anyone have a patch for this? I know where the problem is (line 698 in
> firewall.c), but its not obivous to me whats going on, and unfortunately I 
> can't really experiment. The system is used by a fair number of people, all 
> comming in through the ppp link maintained by diald, and I don't have
> a second alpha system I can test on.

I too have been running 0.16.5 for several weeks with the same problem.
However, diald has yet to fall over on me. Is this the line?

        v = (ntohl(*(int *)(&(FW_IN_DATA(term->offset)?data:pkt)
                          [FW_OFFSET(term->offset)]))
                  >> term->shift) & term->mask;

Is the problem in the struct term?

I am totally unfamiliar with the Alpha. However, I made this small change
in diald.c:

#ifdef __alpha
    SIGNAL(SIGSYS, stray_signal);    /* Don't know what this is */
#else
    SIGNAL(SIGSTKFLT, stray_signal);
#endif

SIGSTKFLT is not defined in the Alpha of course. Any comment?

Bob

-- 
+---------------------------------------------------------------+
| Bob Taylor             Email: brtaylor@inreach.com            |
|---------------------------------------------------------------|
| Like the ad says, at 300 dpi you can tell she's wearing a     |
| swimsuit. At 600 dpi you can tell it's wet. At 1200 dpi you   |
| can tell it's painted on. I suppose at 2400 dpi you can tell  |
| if the paint is giving her a rash. (So says Joshua R. Poulson)|
+---------------------------------------------------------------+



  reply	other threads:[~1998-11-11 21:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-11 16:20 diald-0.16.5 and unalighed\x7f\x7fnaligned traps J
1998-11-11 20:54 ` Bob Taylor [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-11-11 17:54 Miesse, Terry L.
read-only archive

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