From owner-freebsd-multimedia Mon Jan 5 09:32:23 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA21545 for multimedia-outgoing; Mon, 5 Jan 1998 09:32:23 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from rah.star-gate.com ([209.133.7.178]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA21537 for ; Mon, 5 Jan 1998 09:32:17 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id JAA23681; Mon, 5 Jan 1998 09:31:42 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801051731.JAA23681@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Peter Childs cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: help !! - no quake In-reply-to: Your message of "Mon, 05 Jan 1998 22:15:57 +1030." <19980105221557.60911@imforei.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 05 Jan 1998 09:31:42 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, Just use the the linux layer from current if you over wrote them with linux_quake . The sources affected are in /sys/i386/linux so just download them from ftp.freebsd.org:/pub/FreeBSD/FreeBSD-current/src/sys/i386/linux to recompile do: cd /usr/src/lkm/linux mod_unload -i 0 #assuming that the linux layer is the only lkm loaded make make install linux Cheers, Amancio > > Grin! > > Well I totalled my Windoze machine (sook), did a cvs checkout of > 3.0-current a of 5-Jan, installed a stub of 2.2.1-R onto sook, > nfs mounted the checked-out source tree and did "make world". > > I've rebuild my kernel, installed Amancio's svgalib hack, > and gone to fire up ./q2test +set vid_ref soft (no X running) > and I get a ... > > (stuff) > svgalib vc ?? 0 > svgalib: Configuration file /etc/vga/libvga.config not found. > svgalib: Assuming Microsoft mouse. > svgalib: Assuming low end SVGA/8514 monitor (35.5 KHz). > _Linux-emul(1160): ioperm() not supported_ > Bus error (core dumped) > > *groan* > > Now I'm thinking this should work?? > > I did a quick squizz over the sources, and then over the > linux_quake.tar.gz files from Amancio's ftp site.. > > Is it just because in his linux_dummy.c he has.. > > linux_ioperm(struct proc *p, struct linux_ioperm_args *args) > { > p->p_md.md_regs->tf_eflags |= PSL_IOPL; > return 0; /* EINVAL SOS XXX */ > } > > and the -current source tree has... > > linux_ioperm(struct proc *p, struct linux_ioperm_args *args) > { > printf("Linux-emul(%d): ioperm() not supported\n", p->p_pid); > return 0; /* EINVAL SOS XXX */ > } > > or am I missing something completely? > > If I make this one change would I just need to recompile/reload > the lkm, or the whole kernel? > > Ta. > > Peter (dying to play fullscreen quake II on his FreeBSD machine!) >