From owner-freebsd-multimedia Fri Nov 24 2:47:49 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from grok.example.net (cr479972-a.rct1.bc.wave.home.com [24.113.37.168]) by hub.freebsd.org (Postfix) with ESMTP id 295EC37B4C5 for ; Fri, 24 Nov 2000 02:47:47 -0800 (PST) Received: by grok.example.net (Postfix, from userid 1000) id 18768212E29; Fri, 24 Nov 2000 02:47:42 -0800 (PST) Date: Fri, 24 Nov 2000 02:47:42 -0800 From: Steve Reid To: Stephen Hocking Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: XF86-4, Linux binaries, DRI? Message-ID: <20001124024742.A355@grok> References: <200011230505.eAN553G15445@bloop.craftncomp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <200011230505.eAN553G15445@bloop.craftncomp.com>; from Stephen Hocking on Wed, Nov 22, 2000 at 11:05:02PM -0600 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Nov 22, 2000 at 11:05:02PM -0600, Stephen Hocking wrote: > OK, I've been there and done that. I'm sending you my linux_ioctl.c and > linux_ioctl.h which should help out. Hmm... System halts at kldload. This is really odd, because looking at diffs (between 4.1-R and yours) I don't see anything that should cause that. The _only_ things that have changed are the path names for the #include files and the addition of the linux_ioctl_drm() (with the required declarations to plug it in just like the rest). linux_ioctl_drm() is not rocket science, and does it even get called at kldload time? This really looks like it should work. By "halt", I mean the machine goes through the "shutting down processes" thing and prints "the system has been halted". No "automatic reboot in 15 seconds", no panic message, and no debugger appears. The disks are not unmounted either. Maybe I just don't remember what a panic message looks like (it's been a while :) but this feels very odd. To satisfy #includes I needed some *drm.h files, which I grabbed from /usr/ports/x11/XFree86-4/work/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/ (say that ten times fast :). mtime on them is "Jun 16 17:03". Does this match yours? I don't think this should matter until an ioctl is performed, but I'm not really familiar with kernel stuff. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message