From owner-freebsd-multimedia Mon Jun 22 05:25:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA20911 for freebsd-multimedia-outgoing; Mon, 22 Jun 1998 05:25:35 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from pobox1.oit.umass.edu (mailhub.oit.umass.edu [128.119.166.151]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA20905 for ; Mon, 22 Jun 1998 05:25:33 -0700 (PDT) (envelope-from gpavelcak@philos.umass.edu) Received: from localhost (nscs23p9.remote.umass.edu) by pobox1.oit.umass.edu (PMDF V5.1-10 #29083) with SMTP id <0EUY003RPD66YY@pobox1.oit.umass.edu> for freebsd-multimedia@freebsd.org; Mon, 22 Jun 1998 08:25:20 -0400 (EDT) Date: Mon, 22 Jun 1998 08:27:53 -0400 (EDT) From: Greg Subject: Re: Quake2 and bad system call In-reply-to: <199806220232.MAA15728@cain.gsoft.com.au> X-Sender: gp@localhost To: "Daniel O'Connor" Cc: freebsd-multimedia@FreeBSD.ORG, hasty@rah.star-gate.com Reply-to: Greg Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've edited and combined the correspondence on this. On Mon, 22 Jun 1998, Daniel O'Connor wrote: [Snip] > OK... Do you have a sound card in your computer? If you don't, then Q2 won't > work (!) The q2test works fine, but the full game doesn't.. Yup, Soundblaster. dmesg and some audio ports (splay, timidity, auplay..) indicate it works. >Hmm.. another thing.. My Linux emulator was compiled from source checked out >on the 28th of April 1998, so you might want to try that (ie just recompile >the Linux LKM - tho that might break, I'm not sure) OK, thanks. I'm on my way to work now but could try that tonight. On Mon, 22 Jun 1998, Amancio Hasty wrote: > >Hi, > >Here is a nice web page explaining how to get Quake and Quake 2 going >on FreeBSD: >http://www.schrade.com/sanctum/freebsd/ > >My original notes on how to get Quake2 going: > >ftp://rah.star-gate.com/pub/README.GLQUAKE > >The web site supercedes my notes. > > Have Fun, > Amancio Same as above. Will have to wait. >Can you run ktrace ./quake2 >kdump -m 80 >quake.trace > >and towards the end of the file try to find the offending system call. > > Tnks, > Amancio kdump produces a 2.5 MB file, so I'm hoping this is all you need. I guess the last two lines of the file are the ones. Here's 10 (out of 50,000) for context. 7999 quake2 RET read 8192/0x2000 7999 quake2 CALL read(0xa,0x285f6000,0x2000) 7999 quake2 GIO fd 10 read 8192 bytes "\^[\^_\M^M\M^_\^[\M-u\^[-\^\//\^[\^B\^\//\^[-\M-v\^\/\M-u\\.\^]/\M-u\\\ //\^\]-\^]/\M^^\^[\^[].\M^M\^A\^]\M^^/\^]\^]\^^/\M^L\^A\^^\M^M.\\\^A\ \^]\M^_\^\.\M^M\M^_\M^M\M-v]\^A\^A\M^M]]]\^B/\M^^/\M-u\^[\M^L\M-v\^]" 7999 quake2 RET read 8192/0x2000 7999 quake2 CALL close(0xa) 7999 quake2 RET close 0 7999 quake2 CALL #91(0x285f6000,0x2000) 7999 quake2 RET #91 0 7999 quake2 CALL setdomainname 7999 quake2 PSIG SIGSYS SIG_DFL Thanks again, both of you. Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message