From owner-freebsd-smp Tue Jul 6 22:41: 3 1999 Delivered-To: freebsd-smp@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (Postfix) with ESMTP id C115314BD2 for ; Tue, 6 Jul 1999 22:41:01 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id WAA88039; Tue, 6 Jul 1999 22:41:00 -0700 (PDT) (envelope-from dillon) Date: Tue, 6 Jul 1999 22:41:00 -0700 (PDT) From: Matthew Dillon Message-Id: <199907070541.WAA88039@apollo.backplane.com> To: Cosmic 665 Cc: freebsd-smp@FreeBSD.ORG Subject: Re: "Kernel" SYSTEM HANGS and halts References: <19990707053253.76440.qmail@hotmail.com> Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org :Hello Fellow FreeBSD Users; : : I'm somewhat new to FreeBSD. I've been having trouble setting up "SMP" :under FreeBSD. I compile my kernel with all the Default settings for SMP, :and when I do so, my machine freezes at "switching to wd0s1 or wd0s2" :everytime I load the kernel. when I use a generic kernel i'm fine, but when :I use the kernel with SMP and APIC it freezes. Once a "blue moon" it will :load and when it does, if I switch to a VC in Xfree86, my computer freezes :every time. : Could someone please tell me what to do to stop this.?? : :Here are my system specs; : :FreeBSD 3.2 (this also happens to me on 3.0) :MotherBoard: PCCHIPS dual PII Motherboard 233-333MHZ :CPU's: INtel 333Mhz x2 :.. :note: whenever I set my CPU_type for only "I586_cpu" I get a kernel panic. :could someone plz tell my why?? Also, if I do get a kernel panic, how do I :"switch Back" to the GENERIC kernel without a bootdisk?? In 3.2 I'm :clueless?? A pentium-II cpu uses a Pentium-PRO core, not a pentium core. In otherwords, those are I686_cpu's you have, not 586's, so you should specify both the I586_cpu and the I686_cpu options. :# To make an SMP kernel, the next two are needed :options SMP # Symmetric MultiProcessor Kernel :options APIC_IO # Symmetric (APIC) I/O :# Optionally these may need tweaked, (defaults shown): :#options NCPU=2 # number of CPUs :#options NBUS=4 # number of busses :#options NAPIC=1 # number of IO APICs :#options NINTR=24 # number of INTs Try specifying the NCPU option specifically. That's all I can think of right offhand. options SMP options APIC_IO options NCP=2 : :thanks :) : : -Cosmic-665 -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message