Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SMP kernel with single processor

5 views
Skip to first unread message

Kyoskyu

unread,
Apr 5, 2003, 4:45:18 AM4/5/03
to
I plan on putting in another processor soon so I compiled a SMP kernel to
use with my single processor system. With the SMP kernel, the boot
process hangs after my SCSI drives are detected. I go in and use the
non-SMP kernel and the system boots perfectly. Besides for the SMP
options, the SMP and non-SMP kernels are identical.

I'm a little new to the SMP world so if this question is basic, please
forgive me. Should I be able to run a uniprocessor system on a SMP kernel
or does a SMP kernel require 2+ processors? (Since the processor is a
Xeon with hyperthreading, I was hoping having a SMP kernel might take
advantage of that.)

The system is a Dell Poweredge 1600SC running FreeBSD 5.0. Thanks for
your help.

Thierry Herbelot

unread,
Apr 5, 2003, 5:41:23 AM4/5/03
to
Kyoskyu wrote:

> I plan on putting in another processor soon so I compiled a SMP kernel to
> use with my single processor system. With the SMP kernel, the boot
> process hangs after my SCSI drives are detected. I go in and use the
> non-SMP kernel and the system boots perfectly. Besides for the SMP
> options, the SMP and non-SMP kernels are identical.

in the Intel architecture, you simply cannot boot an SMP kernel on a UP
machine (Alpha machines have a single SMP and UP kernel). jhb may be
working on merging the SMP and UP kernels also for i368 machines.

The more recent P-IV machines, with an adequate BIOS, may be running an SMP
kernel on a UP machine, after selecting also the HTT kernel config option.

>
> I'm a little new to the SMP world so if this question is basic, please
> forgive me. Should I be able to run a uniprocessor system on a SMP kernel
> or does a SMP kernel require 2+ processors? (Since the processor is a
> Xeon with hyperthreading, I was hoping having a SMP kernel might take
> advantage of that.)
>
> The system is a Dell Poweredge 1600SC running FreeBSD 5.0. Thanks for
> your help.

If you are a beginnner, you may have more success running FreeBSD 4.8 (this
version is generally more stable, wih almost no crashes, and all SMP/HTT
options of 5.0 also exist in 4.8)

TfH

Eric P. McCoy

unread,
Apr 5, 2003, 1:39:01 PM4/5/03
to
Thierry Herbelot <thi...@herbelot.com> writes:

> in the Intel architecture, you simply cannot boot an SMP kernel on a UP
> machine (Alpha machines have a single SMP and UP kernel).

If true, this would be a limitation of FreeBSD, not the architecture.
You may know that, but you seem to be suggesting it's a limitation of
IA32.

--
Eric McCoy (reverse "ten.xoc@mpe", mail to "ctr2sprt" is filtered)

"Last I checked, it wasn't the power cord for the Clue Generator that
was sticking up your ass." - John Novak, rasfwrj

Donn Miller

unread,
Apr 5, 2003, 2:12:52 PM4/5/03
to
Thierry Herbelot wrote:

> in the Intel architecture, you simply cannot boot an SMP kernel on a UP
> machine (Alpha machines have a single SMP and UP kernel). jhb may be
> working on merging the SMP and UP kernels also for i368 machines.
>
> The more recent P-IV machines, with an adequate BIOS, may be running an SMP
> kernel on a UP machine, after selecting also the HTT kernel config option.

I think that on Linux, one can boot an SMP kernel. I've done it already
on Linux, in fact.

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----

Kyoskyu

unread,
Apr 6, 2003, 1:09:06 PM4/6/03
to
On Sun, 06 Apr 2003 12:50:30 +0530, Michael Giegerich wrote:

> Kyoskyu:


>> I plan on putting in another processor soon so I compiled a SMP kernel
>> to use with my single processor system. With the SMP kernel, the boot
>> process hangs after my SCSI drives are detected. I go in and use the
>> non-SMP kernel and the system boots perfectly. Besides for the SMP
>> options, the SMP and non-SMP kernels are identical.
>

> Why not build 2 kernels (one /kernel and another /kernel.SMP) which
> gives you the freedom of choosing the correct one at boot time...
>
> (During boot hit space, unload kernel1, load kernel2, boot).

That's certainly an option. At this point, this question is largely
academic. I want to know whether this is strictly a no-no in terms of
operational use in FreeBSD. Like one person mentioned in this post, a
Linux SMP kernel can boot a uniprocessor system; I want to know whether
that's possible in FreeBSD.

Adam K Kirchhoff

unread,
Apr 6, 2003, 1:18:46 PM4/6/03
to

On some motherboards, not all.

> I want to know whether that's possible in FreeBSD.

No.

Adam

William Clardy

unread,
Apr 6, 2003, 7:27:04 PM4/6/03
to
On Sun, 06 Apr 2003 13:18:46 -0400, "Adam K Kirchhoff"
<ad...@voicenet.com> wrote:

>> At this point, this question is largely
>> academic. I want to know whether this is strictly a no-no in terms of
>> operational use in FreeBSD. Like one person mentioned in this post, a
>> Linux SMP kernel can boot a uniprocessor system;
>
>On some motherboards, not all.
>
>> I want to know whether that's possible in FreeBSD.
>
>No.

FWIW, Windows NT and its spawn suffer the same limitaion. It's
blue-screen city when you attempt to boot an SMP-enabled Windows
installation on a single-processor box.

Bill Clardy

D. Jackson

unread,
Apr 7, 2003, 7:57:52 AM4/7/03
to
"Adam K Kirchhoff" <ad...@voicenet.com> wrote in message news:<pan.2003.04.06....@voicenet.com>...

I doubt Knoppix would boot an SMP-enabled kernel by default if it
didn't work on the vast majority of systems out there. It certainly
works and the few that I've tested it on.

Adam K Kirchhoff

unread,
Apr 7, 2003, 8:07:40 AM4/7/03
to

Consider yourself lucky.

The help screen for CONFIG_SMP even says:

"If you say Y here, the kernel will run on many, but not all, single
machines"

Adam

ta...@lpthe.jussieu.fr

unread,
Apr 7, 2003, 1:32:09 PM4/7/03
to
D. Jackson <dimja...@yahoo.com.au> wrote:

: "Adam K Kirchhoff" <ad...@voicenet.com> wrote in message news:<pan.2003.04.06.17.18.43.796350@voicen
: et.com>...


:> On Sun, 06 Apr 2003 10:09:06 -0700, Kyoskyu wrote:

:>>Like one person mentioned in this post, a Linux SMP kernel can boot
: a >>uniprocessor system;
:>
:> On some motherboards, not all.

: I doubt Knoppix would boot an SMP-enabled kernel by default if it
: didn't work on the vast majority of systems out there. It certainly
: works and the few that I've tested it on.

I have just checked Knoppix works extremely nicely today. I have just
used it to reorganize my home machine which had Win98, Linux and FreeBSD
on a bigger disk, and to do that Gnu parted has been extremely useful.
Wonderful to get a Linux with all functionality and quite fast running out
of a cdrom. By the way there is however a bug in Knoppix, i tried to install
it on an xfs filesystem and it hang (i have seen another message saying the
same, so it is not just me), so i finally used reiserfs which worked OK.

--

Michel TALON

0 new messages