[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Kernel modules, SMP and -STABLE
From:       Sheldon Hearn <sheldonh () starjuice ! net>
Date:       2002-01-29 10:17:26
[Download RAW message or body]


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 <bp@freebsd.org>
To: Sheldon Hearn <sheldonh@starjuice.net>
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: <Pine.BSF.4.21.0201291211060.67199-100000@lion.butya.kz>
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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic