From owner-freebsd-hackers Tue Jan 29 2:14:40 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by hub.freebsd.org (Postfix) with ESMTP id 7B18137B419 for ; Tue, 29 Jan 2002 02:14:33 -0800 (PST) Received: from sheldonh (helo=axl.seasidesoftware.co.za) by axl.seasidesoftware.co.za with local-esmtp (Exim 3.33 #1) id 16VVKQ-0005hJ-00 for hackers@FreeBSD.org; Tue, 29 Jan 2002 12:17:26 +0200 From: Sheldon Hearn To: hackers@FreeBSD.org Subject: Kernel modules, SMP and -STABLE Date: Tue, 29 Jan 2002 12:17:26 +0200 Message-ID: <21904.1012299446@axl.seasidesoftware.co.za> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi folks, Boris Popov, the maintainer of smbfs and nwfs in FreeBSD, has mentioned in discussions surrounding PR misc/33985, that there's a problem in -STABLE affecting the building of modules on SMP systems. If anyone could shed some light on this, I'd love to add your comments to the audit trail of the PR. Thanks, Sheldon. ------- Forwarded Message Date: Tue, 29 Jan 2002 12:30:03 +0600 (ALMT) From: Boris Popov To: Sheldon Hearn Cc: kar_alerts@mglorysb.com, bug-followup@freebsd.org Subject: Re: misc/33985: SMP support not compiled to smbfs kernel [...] In-Reply-To: <79258.1012216289@axl.seasidesoftware.co.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 28 Jan 2002, Sheldon Hearn wrote: > Could you refer us to more information about the general problem in > RELENG_4, perhaps in the mailing list archives, the PR database or some > other source? I'm can't dig archives right now, but problem lies in the build process: for an SMP kernel we do additional #define's like SMP and APIC_IO. Since modules do not include kernel configuration files like opt_global.h they aren't SMP aware because compile path is different for SMP and non-SMP case. For simple example see sys/lock.h file around "#if MAXCPU == 1 /* no multiprocessor locking is necessary */" line. - -- Boris Popov http://rbp.euro.ru ------- End of Forwarded Message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message