From owner-freebsd-questions Sun Jul 28 5:59:39 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 9B57937B400 for ; Sun, 28 Jul 2002 05:59:33 -0700 (PDT) Received: from mailhost.nyc1.globix.com (mailhost.nyc1.globix.com [209.10.70.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD1BF43E5E for ; Sun, 28 Jul 2002 05:59:32 -0700 (PDT) (envelope-from nwarren@globix.com) Received: from LHR10051 ([10.4.44.33]) by mailhost.nyc1.globix.com (Netscape Messaging Server 4.15) with SMTP id GZYMR000.Q2U for ; Sun, 28 Jul 2002 08:59:24 -0400 From: "Nathan Warren" To: Subject: SMP problems with recompiled kernel Date: Sun, 28 Jul 2002 13:59:23 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 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