From owner-freebsd-amd64@FreeBSD.ORG Sun Aug 29 05:33:43 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A15C16A4CE for ; Sun, 29 Aug 2004 05:33:43 +0000 (GMT) Received: from mail.mcneil.com (rrcs-west-24-199-45-54.biz.rr.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF27843D4C for ; Sun, 29 Aug 2004 05:33:40 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 47DC2FD06A; Sat, 28 Aug 2004 22:33:40 -0700 (PDT) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00642-01; Sat, 28 Aug 2004 22:33:39 -0700 (PDT) Received: from [24.199.45.54] (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 31F7EFD00B; Sat, 28 Aug 2004 22:33:39 -0700 (PDT) From: Sean McNeil To: Ian Dowse In-Reply-To: <200408290526.aa74478@salmon.maths.tcd.ie> References: <200408290526.aa74478@salmon.maths.tcd.ie> Content-Type: text/plain Message-Id: <1093757618.1141.2.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sat, 28 Aug 2004 22:33:38 -0700 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com cc: freebsd-amd64@freebsd.org Subject: Re: turning on kernel modules now? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2004 05:33:43 -0000 On Sat, 2004-08-28 at 21:26, Ian Dowse wrote: > In message <1093752734.69450.2.camel@server.mcneil.com>, Sean McNeil writes: > >I saw the great news about pre-loading kernel modules now working. This > >is fantastic. Does this mean that the sound drivers will become kernel > >loadable modules now? > > I don't know if there's a good reason why sound modules are not > built on amd64 at the moment. They do build fine if enabled, and > at least snd_via8233 works here (both preloaded and kldloaded). I > suppose there might be amd64-specific problems with some of the > other drivers. > > To enable building the sound modules on amd64 by default, just apply > the following patch to /usr/src/sys/modules/Makefile. > > Ian > > Index: Makefile > =================================================================== > RCS file: /dump/FreeBSD-CVS/src/sys/modules/Makefile,v > retrieving revision 1.394 > diff -u -r1.394 Makefile > --- Makefile 18 Aug 2004 11:59:28 -0000 1.394 > +++ Makefile 29 Aug 2004 04:15:30 -0000 > @@ -378,6 +378,7 @@ > _drm= drm > _io= io > #_ndis= ndis > +_sound= sound > .endif > > .if ${MACHINE_ARCH} == "ia64" This sounds like something that should be done by default. If they compile, then they are there for users to try. Otherwise, there would be no telling if anything else besides snd_via8233 works (I have that device too) for the generic user. I can't think of anything harmful in doing this, can you? Can we get it committed? Cheers, Sean