From owner-freebsd-hackers Wed Nov 15 11:50:33 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA15024 for hackers-outgoing; Wed, 15 Nov 1995 11:50:33 -0800 Received: from spot.lodgenet.com (lodgenet.iw.net [204.157.148.88]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA14874 for ; Wed, 15 Nov 1995 11:49:08 -0800 Received: from jake.lodgenet.com (jake.lodgenet.com [204.124.120.30]) by spot.lodgenet.com (8.6.12/8.6.12) with ESMTP id NAA20889; Wed, 15 Nov 1995 13:47:36 -0600 Received: from localhost (localhost [127.0.0.1]) by jake.lodgenet.com (8.6.12/8.6.12) with SMTP id OAA06387; Wed, 15 Nov 1995 14:03:40 -0600 Message-Id: <199511152003.OAA06387@jake.lodgenet.com> X-Authentication-Warning: jake.lodgenet.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.2 7/18/95 To: "Amancio Hasty Jr." cc: "Eric L. Hernes" , multimedia@star-gate.com, hackers@freebsd.org Subject: Re: linux' mknod and named pipes. In-reply-to: Your message of "Wed, 15 Nov 1995 10:49:41 PST." <199511151849.KAA01200@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 Nov 1995 14:03:40 -0600 From: "Eric L. Hernes" Sender: owner-hackers@freebsd.org Precedence: bulk "Amancio Hasty Jr." writes: >Sure, turn mknod(arg,arg1,0) into a bsd mkfifo call anything else for now >just pass it thru to mknod 8) > > Let us know if you get it working!! > Tnks! > Amancio > I stumbled across ibcs2_mknod, which is very close to what is needed for linux_mknod, so I sledge-hammered and scotch taped it it. I've now got some sound for abuse, but only the during the opening segment, while it's playing there is nothing, and as an extra bonus, it now core dumps after playing a while. (it doesn't core dump without the sound -- or at least it hasn't yet). the ktrace is littered with stuff like: 27074 abuse.x11R6 CALL open(0xefbfd3dc,0,0x40d7c4) 27074 abuse.x11R6 NAMI "sfx/aslash01.wav" 27074 abuse.x11R6 RET open 11/0xb 27074 abuse.x11R6 CALL old.lseek(0xb,0,0x2) 27074 abuse.x11R6 RET old.lseek 2822/0xb06 27074 abuse.x11R6 CALL old.lseek(0xb,0,0) 27074 abuse.x11R6 RET old.lseek 0 27074 abuse.x11R6 CALL read(0xb,0x45ca8c,0x800) 27074 abuse.x11R6 GIO fd 11 read 2048 bytes <...read data deleted...> 27074 abuse.x11R6 RET read 774/0x306 27074 abuse.x11R6 CALL close(0xb) 27074 abuse.x11R6 RET close 0 27074 abuse.x11R6 CALL getrusage(0x17,0,0xaad,0x3ff) 27074 abuse.x11R6 RET getrusage 4653065/0x470009 27074 abuse.x11R6 CALL getrusage(0x15,0x470009,0,0xefbfd528) 27074 abuse.x11R6 RET getrusage -1 errno 24 Too many open files 27074 abuse.x11R6 CALL getrusage(0x18,0x470009,0,0) 27074 abuse.x11R6 RET getrusage 0 can anyone tell me what is going on with getrusage()? tia, eric. -- erich@lodgenet.com erich@rrnet.com