From owner-freebsd-current Sat Oct 12 6:52:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD64C37B401 for ; Sat, 12 Oct 2002 06:52:24 -0700 (PDT) Received: from dibbler.ne.client2.attbi.com (dibbler.ne.client2.attbi.com [24.61.41.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4608643EB3 for ; Sat, 12 Oct 2002 06:52:24 -0700 (PDT) (envelope-from rodrigc@attbi.com) Received: from dibbler.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1]) by dibbler.ne.client2.attbi.com (8.12.6/8.12.5) with ESMTP id g9CDr2CK022313 for ; Sat, 12 Oct 2002 09:53:03 -0400 (EDT) (envelope-from rodrigc@dibbler.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.ne.client2.attbi.com (8.12.6/8.12.6/Submit) id g9CDr2iA022312 for freebsd-current@freebsd.org; Sat, 12 Oct 2002 09:53:02 -0400 (EDT) Date: Sat, 12 Oct 2002 09:53:02 -0400 From: Craig Rodrigues To: freebsd-current@freebsd.org Subject: Bad system call: aio_read() Message-ID: <20021012095302.A22260@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I just did a cvsup and rebuilt the world on my -CURRENT system. If I try to run the following program, I get a "Bad system call" coredump: #include #include int main(int argc, char *argv[]) { struct aiocb b; aio_read(&b); } ./a.out Bad system call (core dumped) If I do a ktrace, I get: 2660 a.out CALL mprotect(0x28069000,0xb4000,0x5) 2660 a.out RET mprotect 0 2660 a.out CALL sigaction(0x4,0xbfbffb08,0xbfbffae8) 2660 a.out RET sigaction 0 2660 a.out CALL sigprocmask(0x1,0,0x2805fabc) 2660 a.out RET sigprocmask 0 2660 a.out CALL sigaction(0x4,0xbfbffae8,0) 2660 a.out RET sigaction 0 2660 a.out CALL sigprocmask(0x1,0x2805fa80,0xbfbffb38) 2660 a.out RET sigprocmask 0 2660 a.out CALL sigprocmask(0x3,0x2805fa90,0) 2660 a.out RET sigprocmask 0 2660 a.out CALL aio_read(0xbfbffb88) 2660 a.out RET aio_read -1 errno 78 Function not implemented 2660 a.out PSIG SIGSYS SIG_DFL 2660 a.out NAMI "a.out.core" Any idea what I am doing wrong? This doesn't happen on one of my -STABLE systems. -- Craig Rodrigues http://www.gis.net/~craigr rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message