Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2002 16:23:00 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        FreeBSD current users <current@FreeBSD.ORG>
Subject:   Very important bug..
Message-ID:  <Pine.BSF.4.21.0209141615070.82711-100000@InterJet.elischer.org>

next in thread | raw e-mail | index | archive | help

Well to all 2 of you that would ever considering running
FreeBSD 1.1 binaries on -current anyhow...


Everything goes along great until you hit a pid > 32768
then everything stops

apparently the code in libc in FreeBSD1.1  assumes that pids are < 32k
and CHECKS it.. :-)

My aim was to time a "make world" in a 1.1 jail under -current with
a modern machine. (just to see how much slower we've made everything)

so Everything was screaming past at a very fast rate until:
cc -O -I/usr/src/gnu/libexec/uucp/libuuconf/../common_sources
-DNEWCONFIGLIB=\"
/etc/uucp\" -DOLDCONFIGLIB=\"/etc/uucp\" -c maxuxq.c -o maxuxq.o
cc -O -I/usr/src/gnu/libexec/uucp/libuuconf/../common_sources
-DNEWCONFIGLIB=\"
/etc/uucp\" -DOLDCONFIGLIB=\"/etc/uucp\" -c mrgblk.c -o mrgblk.o
cc -O -I/usr/src/gnu/libexec/uucp/libuuconf/../common_sources
-DNEWCONFIGLIB=\"
/etc/uucp\" -DOLDCONFIGLIB=\"/etc/uucp\" -c paramc.c -o paramc.o
cc -O -I/usr/src/gnu/libexec/uucp/libuuconf/../common_sources
-DNEWCONFIGLIB=\"
/etc/uucp\" -DOLDCONFIGLIB=\"/etc/uucp\" -c port.c -o port.o
error in wait: -1
*** Error code 2

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
86.8u 30.3s 2:05.77 93.1% 640+496k 20+237io 0pf+0w
jules# make
csh: setpgid error.


Does anyone know off the top of their head, what the earliest version
we can actually run correctly is?

I was thinking of adding a hook in the a.out entrypoints to
whack the pid down to a 32K universe just for fun. (flag in fork).

when did we go up to "lots-o-pids"? and how far back did we check?

julian
(not really considering this a real bug)




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0209141615070.82711-100000>