Subject: Re: port-vax/7782: reboot or halt dump core if envoked from shutdown
To: None <>
From: Matthias Pfaller <>
List: netbsd-bugs
Date: 06/26/1999 10:38:38
In article <>, writes:
> Done running shutdown hooks.
> Trace/BPT trap (core dumped)
> 	The same happends with option -h and halt

The pc532 port had the same problem. This is because shutdown uses exect
to run halt/reboot. exect on the pc532 did (just like the vax version)
set the the tracebit in the psr before issueing the system call. This
causes the "Trace/BPT trap". When I "fixed" this for the pc532 about a
year ago and made exect an alias for execve. That's what most of the
other ports do too. The only remaining ports that set the tracebit in
the psr are the vax and the i386. When I asked

  - Why does shutdown use exect?
  - Why does this work on the i386? 

I got no answer...

If that's a new problem for the vax problem I'd really like to know why
it did work before. And I'd still like to know why this works for the
i386 port.

Matthias Pfaller                            Software Entwicklung
marco Systemanalyse und Entwicklung GmbH    Tel   +49 8131 5161-41
Hans-Böckler-Str. 2, D 85221 Dachau         Fax   +49 8131 5161-66                        Email