From owner-freebsd-questions Sun Jul 28 6:41:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8540437B400 for ; Sun, 28 Jul 2002 06:41:12 -0700 (PDT) Received: from malu.edz.org (edpaquette.mv.com [199.125.75.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8263A43E3B for ; Sun, 28 Jul 2002 06:41:11 -0700 (PDT) (envelope-from ed@malu.edz.org) Received: (from ed@localhost) by malu.edz.org (8.11.6/8.11.6) id g6SE5WW63514; Sun, 28 Jul 2002 10:05:32 -0400 (EDT) (envelope-from ed) Date: Sun, 28 Jul 2002 10:05:32 -0400 From: Ed Paquette To: Nathan Warren Cc: questions@FreeBSD.ORG Subject: Re: SMP problems with recompiled kernel Message-ID: <20020728100532.A63494@malu.edz.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from nwarren@globix.com on Sun, Jul 28, 2002 at 01:59:23PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Howdy. This may be because the APIC table on Compaq isn't configured to be "Full". Run the configuration utility for the box. (You should be able to download a bootable disk image / config utility from Compaq). When the menu appears, press CTRL-A to enter "Advanced Mode". Here a new option for "APIC Full Table Mode" appears. Select this, and try your SMP kernel again. Good Luck -ed On Sun, Jul 28, 2002 at 01:59:23PM +0100, Nathan Warren wrote: > Hi all, I have another little issue that I could use some help with. I have > recompiled my kernel to take advantage of SMP hardware. (Compaq Proliant > DL360) > > Kernel compiles all OK with no warnings, however when I reboot the box I get > the standard boot text and then the following which hangs the box : > > real memory = 536854528 (524272K bytes) > config> di sn0 > No such device: sn0 > Invalid command or syntax. Type `?' for help. > config> di lnc0 > No such device: lnc0 > Invalid command or syntax. Type `?' for help. > config> di ie0 > No such device: ie0 > Invalid command or syntax. Type `?' for help. > config> di fe0 > No such device: fe0 > Invalid command or syntax. Type `?' for help. > config> di ed0 > No such device: ed0 > Invalid command or syntax. Type `?' for help. > config> di cs0 > No such device: cs0 > Invalid command or syntax. Type `?' for help. > config> q > avail memory = 518909952 (506748K bytes) > changing APIC ID for IO APIC #0 from 0 to 8 on chip > programming 35 pins in IOAPIC #0 > IOAPIC #0 intpin 2 -> irq 0 > > Firstly, why are the 'config' prompts there ? I have searched through my > kernel config file and I can find no reference to any of the devices as > above i.e. i don't want/need them > > Secondly this is what the big problem is and what appears to be hanging the > box.... > > changing APIC ID for IO APIC #0 from 0 to 8 on chip > programming 35 pins in IOAPIC #0 > IOAPIC #0 intpin 2 -> irq 0 > > As you can see from the kernel config file, I have added the 2 lines as > advised by GENERIC and the support handbook. I am running 4.6-RELEASE. I > have used the same config (minus the SMP lines) on a box with only 1 > processor and all is ok too. > > Does anyone have any ideas ??? If there is any information I can supply > please let me know.... > > Thanks as always > > Nathan Warren > > > **************************************************************************** > *************************** > [nwarren@nocxserver] ~ $ cat FBSDMPDL360 > # FBSD -- Kernel configuration file for FreeBSD/i386 by Nathan Warren > # 15/04/01 -- Configuration file for Compaq Proliant DL360 > # 31/1/02 -- Updated removing LOTS of crap for SMP Compaq Proliant DL360's > # > # For more information on this file, please read the handbook section on > # Kernel Configuration Files: > # > # http://www.FreeBSD.org/handbook/kernelconfig-config.html > # > # $FreeBSD: src/sys/i386/conf/FBSD,v 1.246.2.8 2000/07/20 02:51:02 msmith > Exp $ > > machine i386 > cpu I686_CPU > ident FBSDMPDL360 > maxusers 1500 > > options INET #InterNETworking > options FFS #Berkeley Fast Filesystem > options FFS_ROOT #FFS usable as root device [keep > this!] > options SOFTUPDATES #Enable FFS soft updates support > options MFS #Memory Filesystem > options MD_ROOT #MD is a potential root device > options CD9660 #ISO 9660 Filesystem > options CD9660_ROOT #CD-ROM usable as root, CD9660 > required > options PROCFS #Process filesystem > options COMPAT_43 #Compatible with BSD 4.3 [KEEP > THIS!] > options SCSI_DELAY=10000 #Delay (in ms) before probing SCSI > options UCONSOLE #Allow users to grab the console > options USERCONFIG #boot -c editor > options VISUAL_USERCONFIG #visual boot -c editor > options KTRACE #ktrace(1) support > options SYSVSHM #SYSV-style shared memory > options SYSVMSG #SYSV-style message queues > options SYSVSEM #SYSV-style semaphores > options P1003_1B #Posix P1003_1B real-time extensions > options _KPOSIX_PRIORITY_SCHEDULING > options ICMP_BANDLIM #Rate limit bad replies > options KBD_INSTALL_CDEV # install a CDEV entry in /dev > options IPFIREWALL > options IPFIREWALL_VERBOSE > options IPFIREWALL_VERBOSE_LIMIT=50 > options IPFIREWALL_DEFAULT_TO_ACCEPT > > # To make an SMP kernel, the next two are needed > options SMP # Symmetric MultiProcessor Kernel > options APIC_IO # Symmetric (APIC) I/O > > device isa > device pci > > # SCSI peripherals > device scbus # SCSI bus (required) > device da # Direct Access (disks) > device cd # CD > > # RAID controllers > device ida # Compaq Smart RAID > > # atkbdc0 controls both the keyboard and the PS/2 mouse > device atkbdc0 at isa? port IO_KBD > device atkbd0 at atkbdc? irq 1 flags 0x1 > device psm0 at atkbdc? irq 12 > > #VGA driver for monitor > device vga0 at isa? > > # splash screen/screen saver > pseudo-device splash > > # syscons is the default 'syscons' console driver, resembling an SCO console > device sc0 at isa? flags 0x100 > > # Floating point support - do not disable. > device npx0 at nexus? port IO_NPX irq 13 > > # Parallel port > device ppbus # Parallel port bus (required) > > # PCI Ethernet NICs. > #NOTE:Be sure to keep the 'device miibus' line in order to use these NICs! > device miibus # MII bus support > device fxp # Intel EtherExpress PRO/100B (82557, 82558) > > # Pseudo devices - the number indicates how many units to allocated. > pseudo-device loop # Network loopback > pseudo-device ether # Ethernet support > pseudo-device pty 10 # Pseudo-ttys (telnet etc) > pseudo-device md # Memory "disks" > > # The `bpf' pseudo-device enables the Berkeley Packet Filter. > # Be aware of the administrative consequences of enabling this! > pseudo-device bpf 4 #Berkeley packet filter > pseudo-device snp 5 #Snoop device > [nwarren@nocxserver] ~ $ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message