From owner-freebsd-current Mon Jun 1 05:16:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA24847 for freebsd-current-outgoing; Mon, 1 Jun 1998 05:16:21 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.175.134.209]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA24842 for ; Mon, 1 Jun 1998 05:16:19 -0700 (PDT) (envelope-from schilling@fokus.gmd.de) Received: from sherwood.gmd.de (sherwood [193.175.133.102]) by mailhub.fokus.gmd.de (8.8.8/8.8.8) with ESMTP id OAA21057; Mon, 1 Jun 1998 14:16:10 +0200 (MET DST) Received: (from jes@localhost) by sherwood.gmd.de (8.8.8+Sun/8.8.8) id OAA16994; Mon, 1 Jun 1998 14:15:43 +0200 (MET DST) Date: Mon, 1 Jun 1998 14:15:43 +0200 (MET DST) From: Joerg Schilling Message-Id: <199806011215.OAA16994@sherwood.gmd.de> To: mike@smith.net.au, schilling@fokus.gmd.de Cc: freebsd-current@FreeBSD.ORG Subject: Re: cdrecord trouble on currnet Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >From mike@dingo.cdrom.com Fri May 29 22:41:20 1998 >It's due to not checking the return value from the sysconf(_SC_PAGESIZE) >in fifo.c. Once you get past that, there's a timing failure between the >writer and reader processes due to a similar omission a little further >down the file. >Having dealt with these, I seem to be dummy-burning quite happily. = >I'll cut a disc for real to be sure, and then send you my patches for = >discussion. This seems to be the real problem with freebsd-current. You cannot deal with this problem: Systems that define _SC_PAGESIZE or _SC_PAGE_SIZE (HP-UX) don't support getpagesize() so there is no way to fix this in runtime except if you introduce an additional HAVE_GETPAGESIZE in the autoconfiguration. But even then the code would be badly readable. I would prefer if the sysconf code would call getpagesize() in userland. Jörg EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin js@cs.tu-berlin.de (uni) If you don't have iso-8859-1 schilling@fokus.gmd.de (work) chars I am J"org Schilling URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message