From owner-freebsd-questions Mon Aug 16 7:59: 1 1999 Delivered-To: freebsd-questions@freebsd.org Received: from golem.easynet.fr (golem.easynet.fr [195.114.64.8]) by hub.freebsd.org (Postfix) with ESMTP id A24B114D3C for ; Mon, 16 Aug 1999 07:58:57 -0700 (PDT) (envelope-from dm@golem.easynet.fr) Received: (from dm@localhost) by golem.easynet.fr (8.8.7/8.8.7) id RAA18537; Mon, 16 Aug 1999 17:05:07 +0200 From: Danaii Maziar MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 16 Aug 1999 17:05:07 +0200 (CEST) To: freebsd-questions@FreeBSD.ORG Subject: FIFO -- Device not configured X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14264.9594.118127.306139@golem.easynet.fr> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I've created a fifo (with mkfifo) and every time I try to open it I get -- Device not configured -- As I know Fifo is standard part of kernel and there is no need to add options. Any suggestion. Thanks. # uname -a 2.2.8-STABLE FreeBSD 2.2.8-STABLE # ls -l prw-rw-rw- 1 root wheel 0 Aug 16 16:25 radfifo # cat xx.c #include #include main() { int pokefd; pokefd=open("radfifo", O_WRONLY|O_NONBLOCK); if (pokefd < 0) { perror("open:"); exit(1); } close(pokefd); } # kdump # kdump 5343 ktrace RET ktrace 0 5343 ktrace CALL execve(0xefbfdcfb,0xefbfdc90,0xefbfdc98) 5343 ktrace NAMI "/tmp/xx" 5343 xx RET execve 0 5343 xx CALL open(0x10c0,0x5,0) 5343 xx NAMI "radfifo" 5343 xx RET open -1 errno 6 Device not configured 5343 xx CALL writev(0x2,0xefbfdc44,0x4) 5343 xx GIO fd 2 wrote 29 bytes "open:: Device not configured " 5343 xx RET writev 29/0x1d 5343 xx CALL exit(0x1) -- Easynet France 33 1.44.54.70.32 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message