From owner-freebsd-current Mon May 11 21:47:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA00406 for freebsd-current-outgoing; Mon, 11 May 1998 21:47:23 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from lamb.sas.com (root@lamb.sas.com [192.35.83.8]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA00396 for ; Mon, 11 May 1998 21:47:21 -0700 (PDT) (envelope-from jwd@unx.sas.com) Received: from mozart (mozart.unx.sas.com [192.58.184.8]) by lamb.sas.com (8.8.7/8.8.7) with SMTP id AAA00251 for ; Tue, 12 May 1998 00:47:22 -0400 (EDT) Received: by mozart (5.65c/SAS/Domains/5-6-90) id AA02335; Tue, 12 May 1998 00:47:21 -0400 From: "John W. DeBoskey" Message-Id: <199805120447.AA02335@mozart> Subject: sysconf(_SC_PAGESIZE) broken ?? To: freebsd-current@FreeBSD.ORG Date: Tue, 12 May 1998 00:47:21 -0400 (EDT) X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I'm running 3.0 current on my machine: FreeBSD FreeBSD.pc.sas.com 3.0-CURRENT FreeBSD 3.0-CURRENT #1: Mon May 11 23:04:43 EDT 1998 root@FreeBSD.pc.sas.com:/usr/src/sys/compile/FreeBSD i386 The following program gives a rather bogus result which causes cdrecord to fail rather miserably: main() { int rc; rc = sysconf(_SC_PAGESIZE); printf("_SC_PAGESIZE == %d\n",rc); return(0); } $ make sysconftst cc -O -pipe sysconf.c -o sysconf $ ./sysconftst _SC_PAGESIZE == -1 $ I'm wondering whether or not this is due to my adding the Posix scheduling options to the kernel for cdrecord (ie: enable the sched_get_priority_max(SCHED_RR) code). # # Enable Posix priority scheduling # options "P1003_1B" options "_KPOSIX_PRIORITY_SCHEDULING" options "_KPOSIX_VERSION=199309L" Well, now I guess I'll start building a kernel without all three options and see what happens. Comments? Critiques? They're all welcome! Thanks, John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message