Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: more time-1.6 fixes
@ 1996-08-06 14:27 David Mosberger-Tang
  1996-08-06 22:08 ` Strace 3.1 ? David Andrew Bushnell
  0 siblings, 1 reply; 4+ messages in thread
From: David Mosberger-Tang @ 1996-08-06 14:27 UTC (permalink / raw)


>>>>> On Tue, 6 Aug 1996 10:53:21 +0100, "Stephen C. Tweedie" <sct@dcs.ed.ac.uk> said:

  Stephen> Hi, On Sun, 4 Aug 1996 11:39:55 -0700, David Mosberger-Tang
  Stephen> <davidm@AZStarNet.com> said:

  >> The time command as distributed with Red Hat 3.0.3 does not count
  >> page faults properly (they're always zero).  Turns out this is
  >> due to a bug in configure (the same problem exists on the x86).

  Stephen> I posted a working set of time [s]rpms over a month ago
  Stephen> which fixed this; I hope the announcement email didn't get
  Stephen> lost.  I put them up for ftp on
  Stephen> linux.dcs.ed.ac.uk:/pub/linux, but we had a disk crash over
  Stephen> the weekend so it might be a couple of days before they are
  Stephen> back.  I _think_ I put binary rpms onto redhat incoming.

No, I'm pretty sure your announcement made it.  I just didn't
realize/remember that you fixed the configuration bug too, so I never
bothered to download it.  Next time I'll check more carefully.

  Stephen> Anyway, the only fix needed is to explicitly tell the make
  Stephen> process that the kernel supports WAIT3.  The old autoconf
  Stephen> was not detecting this for the very good reason that the
  Stephen> kernel fails to count context switches in the process info
  Stephen> structure.  Compiling with -DHAVE_WAIT3 is sufficient both
  Stephen> to correct the HZ problem and to get page fault accounting
  Stephen> working.

The newer autconf checks a few other variables in the resource
structure, so it will correctly detect the presence of wait3().

	--david

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Strace 3.1 ?
  1996-08-06 14:27 more time-1.6 fixes David Mosberger-Tang
@ 1996-08-06 22:08 ` David Andrew Bushnell
  1996-08-06 22:35   ` Mikael Nykvist
  0 siblings, 1 reply; 4+ messages in thread
From: David Andrew Bushnell @ 1996-08-06 22:08 UTC (permalink / raw)


Hello,
	I am attempting to make strace 3.1 on my UDB but when I
run the make I get an error while compiling time.c

gcc -Wall -DHAVE_CONFIG_H   -I. -Ilinux/alpha -I./linux/alpha -Ilinux -I./linux -g -O -c time.c
time.c:35: linux/version.h: No such file or directory
make: *** [time.o] Error 1

I was wondering if anyone knew how to fix this.

Thanks alot,
Dave Bushnell

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Strace 3.1 ?
  1996-08-06 22:08 ` Strace 3.1 ? David Andrew Bushnell
@ 1996-08-06 22:35   ` Mikael Nykvist
  0 siblings, 0 replies; 4+ messages in thread
From: Mikael Nykvist @ 1996-08-06 22:35 UTC (permalink / raw)


> time.c:35: linux/version.h: No such file or directory
> 
> I was wondering if anyone knew how to fix this.

Do this to fix it:	cd /usr/src/linux
			make Version

			If you haven't configured the kernel, you
			should do that first (edit the Makefile and 
			change ARCH = alpha  , then run make config).

/Mikael

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Strace 3.1 ?
       [not found] <dabushne@leland.Stanford.EDU>
@ 1996-08-10 19:09 ` Bryan W. Headley
  0 siblings, 0 replies; 4+ messages in thread
From: Bryan W. Headley @ 1996-08-10 19:09 UTC (permalink / raw)


On Aug 6,  3:08pm, David Andrew Bushnell wrote:
> Subject: Strace 3.1 ?
> Hello,
> 	I am attempting to make strace 3.1 on my UDB but when I
> run the make I get an error while compiling time.c
>
> gcc -Wall -DHAVE_CONFIG_H   -I. -Ilinux/alpha -I./linux/alpha -Ilinux
-I./linux -g -O -c time.c
> time.c:35: linux/version.h: No such file or directory
> make: *** [time.o] Error 1
>
>
> I was wondering if anyone knew how to fix this.
>
> Thanks alot,
> Dave Bushnell
>
> --
> To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
>
>-- End of excerpt from David Andrew Bushnell

Ah. This guy is automatically built during kernel configuration/building.
Mine, for 2.0.10, looks like:

---
#define UTS_RELEASE "2.0.10"
#define LINUX_VERSION_CODE 131082

---

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

end of thread, other threads:[~1996-08-10 19:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-06 14:27 more time-1.6 fixes David Mosberger-Tang
1996-08-06 22:08 ` Strace 3.1 ? David Andrew Bushnell
1996-08-06 22:35   ` Mikael Nykvist
     [not found] <dabushne@leland.Stanford.EDU>
1996-08-10 19:09 ` Bryan W. Headley

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