Date: Wed, 15 Nov 1995 14:03:40 -0600 From: "Eric L. Hernes" <erich@lodgenet.com> To: "Amancio Hasty Jr." <hasty@rah.star-gate.com> Cc: "Eric L. Hernes" <erich@lodgenet.com>, multimedia@star-gate.com, hackers@freebsd.org Subject: Re: linux' mknod and named pipes. Message-ID: <199511152003.OAA06387@jake.lodgenet.com> In-Reply-To: Your message of "Wed, 15 Nov 1995 10:49:41 PST." <199511151849.KAA01200@rah.star-gate.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511152003.OAA06387>