Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jun 1998 08:27:53 -0400 (EDT)
From:      Greg <gpavelcak@philos.umass.edu>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        freebsd-multimedia@FreeBSD.ORG, hasty@rah.star-gate.com
Subject:   Re: Quake2 and bad system call
Message-ID:  <Pine.BSF.3.96.980622080029.8948A-100000@localhost>
In-Reply-To: <199806220232.MAA15728@cain.gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980622080029.8948A-100000>