From owner-freebsd-smp Sun Feb 21 19:41:41 1999 Delivered-To: freebsd-smp@freebsd.org Received: from dg.163mail.net (unknown [202.103.164.26]) by hub.freebsd.org (Postfix) with SMTP id DE82E11C45 for ; Sun, 21 Feb 1999 19:41:30 -0800 (PST) (envelope-from ding@mail.netease.com) Received: (fmail 27666 invoked from network); 22 Feb 1999 03:32:44 -0000 Received: from unknown (HELO ding.lei) (202.103.136.178) by 202.103.164.26 with SMTP; 22 Feb 1999 03:32:44 -0000 Message-Id: <3.0.3.32.19990222114109.0094ce44@mail.netease.com> X-Sender: ding@mail.netease.com (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Mon, 22 Feb 1999 11:41:09 +0800 To: freebsd-smp@freebsd.org From: ding@mail.netease.com Subject: FreeBSD 3.1-Release run on SMP mainboard always crash Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi All: We just download FreeBSD 3.1-Release from ftp.freebsd.org ,but we find that the 3.1 Release is not stable ,When we install it on our SMP mainboard ,it always crash, but same machine if we install Release 3.0 is no problem ,could any body tell me why 3.1 have problem William ding ____________________________________________________________________ Netease Systems , Inc. http://www.netease.com Addr: 17F/B,108 heng fu Rd Email: ding@netease.com Guangzhou, 510095 Tel: +86-20-83577679 P.R.C Fax: +86-20-83593989 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Feb 22 12:35:25 1999 Delivered-To: freebsd-smp@freebsd.org Received: from mail.intercom.com (mail.intercom.com [206.98.165.10]) by hub.freebsd.org (Postfix) with ESMTP id 07E94119F8; Mon, 22 Feb 1999 12:35:06 -0800 (PST) (envelope-from jason@intercom.com) Received: from mail.intercom.com (mail.intercom.com [206.98.165.10]) by mail.intercom.com (8.9.0/8.9.0) with SMTP id PAA14806; Mon, 22 Feb 1999 15:38:00 -0500 (EST) Date: Mon, 22 Feb 1999 15:38:00 -0500 (EST) From: "Jason J. Horton" To: smp@freebsd.org, hardware@freebsd.org Subject: SMP problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I am running a dual PPRO system based on a Micronics W6LI. I build a SMP kernel, and I get this error on startup: panic: pmap_bootstrap: no local apic! any ideas? Also, I know some people out there use the W6LI for thier SMP system, anyone have problems getting thier boards to recognize all thier RAM? My machine has a 128Meg DIMM, and the board only sees 64Meg. Please email me directly, since I am not sure if I am subscribed to these lists. -J To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Feb 22 12:53:30 1999 Delivered-To: freebsd-smp@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id C6E1111721; Mon, 22 Feb 1999 12:52:52 -0800 (PST) (envelope-from chuckr@mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.3/8.8.5) with ESMTP id PAA14970; Mon, 22 Feb 1999 15:49:19 -0500 (EST) Date: Mon, 22 Feb 1999 15:49:18 -0500 (EST) From: Chuck Robey To: "Jason J. Horton" Cc: smp@FreeBSD.ORG, hardware@FreeBSD.ORG Subject: Re: SMP problems In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 22 Feb 1999, Jason J. Horton wrote: > I am running a dual PPRO system based on a Micronics W6LI. > I build a SMP kernel, and I get this error on startup: > panic: pmap_bootstrap: no local apic! > > any ideas? Also, I know some people out there use the W6LI > for thier SMP system, anyone have problems getting thier > boards to recognize all thier RAM? My machine has a 128Meg DIMM, > and the board only sees 64Meg. This uses Intel PPros ? No cheating now ... not for SMP, you know, you can't. > > Please email me directly, since I am not sure if I am subscribed > to these lists. > > -J > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-smp" in the body of the message > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run picnic (FreeBSD-current) (301) 220-2114 | and jaunt (Solaris7). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Feb 22 13: 0:29 1999 Delivered-To: freebsd-smp@freebsd.org Received: from mail.intercom.com (mail.intercom.com [206.98.165.10]) by hub.freebsd.org (Postfix) with ESMTP id 4089611B86; Mon, 22 Feb 1999 13:00:04 -0800 (PST) (envelope-from jason@intercom.com) Received: from mail.intercom.com (mail.intercom.com [206.98.165.10]) by mail.intercom.com (8.9.0/8.9.0) with SMTP id QAA23642; Mon, 22 Feb 1999 16:02:08 -0500 (EST) Date: Mon, 22 Feb 1999 16:02:08 -0500 (EST) From: "Jason J. Horton" To: Chuck Robey Cc: smp@FreeBSD.ORG, hardware@FreeBSD.ORG Subject: Re: SMP problems In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > This uses Intel PPros ? No cheating now ... not for SMP, you know, you > can't. Uses genuine Intel Pentium Pro's... didn't know there was any other cpu that fit in a socket 8 zif slot. -J To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Feb 22 13:19:35 1999 Delivered-To: freebsd-smp@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id 4129010FB8; Mon, 22 Feb 1999 13:19:31 -0800 (PST) (envelope-from chuckr@mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.3/8.8.5) with ESMTP id QAA15091; Mon, 22 Feb 1999 16:17:51 -0500 (EST) Date: Mon, 22 Feb 1999 16:17:51 -0500 (EST) From: Chuck Robey To: "Jason J. Horton" Cc: smp@FreeBSD.ORG, hardware@FreeBSD.ORG Subject: Re: SMP problems In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 22 Feb 1999, Jason J. Horton wrote: > > This uses Intel PPros ? No cheating now ... not for SMP, you know, you > > can't. > > Uses genuine Intel Pentium Pro's... didn't know there was any other > cpu that fit in a socket 8 zif slot. Then you better post your dmesg and config file. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run picnic (FreeBSD-current) (301) 220-2114 | and jaunt (Solaris7). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Feb 22 15:11: 7 1999 Delivered-To: freebsd-smp@freebsd.org Received: from seg.fault.net (seg.fault.net [207.96.19.192]) by hub.freebsd.org (Postfix) with ESMTP id 54A9A11B54; Mon, 22 Feb 1999 15:10:29 -0800 (PST) (envelope-from awood@fault.net) Received: from localhost (awood@localhost) by seg.fault.net (8.9.2/8.8.7) with SMTP id SAA08128; Mon, 22 Feb 1999 18:09:51 -0500 (EST) (envelope-from awood@fault.net) X-Authentication-Warning: seg.fault.net: awood owned process doing -bs Date: Mon, 22 Feb 1999 18:09:50 -0500 (EST) From: austin wood To: "Jason J. Horton" Cc: smp@freebsd.org, hardware@freebsd.org Subject: Re: SMP problems In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I was quite sure that Intel PPro motherboards do not have DIMM slots. I thought they only had SIMM slots. On Mon, 22 Feb 1999, Jason J. Horton wrote: > I am running a dual PPRO system based on a Micronics W6LI. > I build a SMP kernel, and I get this error on startup: > panic: pmap_bootstrap: no local apic! > > any ideas? Also, I know some people out there use the W6LI > for thier SMP system, anyone have problems getting thier > boards to recognize all thier RAM? My machine has a 128Meg DIMM, > and the board only sees 64Meg. > > Please email me directly, since I am not sure if I am subscribed > to these lists. > > -J > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hardware" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Feb 22 15:19:35 1999 Delivered-To: freebsd-smp@freebsd.org Received: from mail.intercom.com (mail.intercom.com [206.98.165.10]) by hub.freebsd.org (Postfix) with ESMTP id B78E51107D; Mon, 22 Feb 1999 15:19:21 -0800 (PST) (envelope-from jason@intercom.com) Received: from mail.intercom.com (mail.intercom.com [206.98.165.10]) by mail.intercom.com (8.9.0/8.9.0) with SMTP id SAA06592; Mon, 22 Feb 1999 18:18:16 -0500 (EST) Date: Mon, 22 Feb 1999 18:18:16 -0500 (EST) From: "Jason J. Horton" To: austin wood Cc: smp@freebsd.org, hardware@freebsd.org Subject: Re: SMP problems In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I was quite sure that Intel PPro motherboards do not have DIMM slots. I > thought they only had SIMM slots. The W6LI has 4 DIMM (Yes, 168 pin dimms) slots. Buffered EDO ECC 3.3v DIMMs. In fact, if you go on pricewatch and look for that kind of DIMM, most of the ads say "For dual ppro systems". -J "I hate it when conversations get sidetracked" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Mon Feb 22 22:20:56 1999 Delivered-To: freebsd-smp@freebsd.org Received: from shell7.ba.best.com (shell7.ba.best.com [206.184.139.138]) by hub.freebsd.org (Postfix) with ESMTP id 2ACF511404 for ; Mon, 22 Feb 1999 22:20:27 -0800 (PST) (envelope-from spadger@shell7.ba.best.com) Received: (from spadger@localhost) by shell7.ba.best.com (8.9.3/8.9.2/best.sh) id WAA18621; Mon, 22 Feb 1999 22:19:14 -0800 (PST) From: Andrew Sparrow Message-Id: <199902230619.WAA18621@shell7.ba.best.com> Subject: Re: SMP problems To: smp@freebsd.org Date: Mon, 22 Feb 1999 22:19:14 -0800 (PST) Cc: chuckr@mat.net, jason@intercom.com X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > This uses Intel PPros ? No cheating now ... not for SMP, you know, you > > can't. Really? Since when? I've been running SMP on a Micron W6Li dual-CPU 440-FX socket 8 P6 board (fitted with 2x PPro166/512 o/clocked to 233Mhz) since last March: Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #1: Fri Jul 31 19:57:26 PDT 1998 spadger@best.com:/fs0/3.0-current/src/sys/compile/mega-SMP Timecounter "i8254" frequency 1193182 Hz cost 3378 ns CPU: Pentium Pro (686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping=9 Features=0xfbff real memory = 134217728 (131072K bytes) avail memory = 127340544 (124356K bytes) FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x01 on pci0.7.0 ide_pci0: rev 0x00 on pci0.7.1 chip2: rev 0x01 int d irq 19 on pci0.7.2 ahc0: rev 0x00 int a irq 18 on pci0.8. 0 ahc0: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs <...> APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via pin 2 changing root device to sd0s2a SMP: AP CPU #1 Launched! If you check the list archives, I believe that you'll see my post there that said 'W6Li works for me!' - because I couldn't see any reference to these boards before I bought one and tried it myself... :=) Incidentally, this board has a single 128Mb ECC EDO DIMM fitted. Which was recognised by FreeBSD from the word go, IIRC. > Uses genuine Intel Pentium Pro's... didn't know there was any other > cpu that fit in a socket 8 zif slot. Well, apart from a Pentium II Overdrive, there isn't :-) Jason, what BIOS version do you have? The 4.05 and 4.06 have an option to switch between versions 1.1 and 1.4 of the Intel Multi-Processor spec. The "Getting Started with SMP" web page (http://www.freebsd.org/~fsmp/SMP/getstarted.html) advised to use v1.4 in preference to 1.1. If you've got a really old BIOS, you might want/need to flash in a newer image. (My board came with a 4.06 BIOS installed). Certainly with 3.0-CURRENT, I never had a moment's problem, just installed a snap, CVSsup'd -current and kept doing that until there weren't any problems that bothered me. It's been rock-solid for me since July (keep meaning to do the ELF conversion etc, but everything works sooo nicely ;-) Let me know if you still have trouble, I might get around to installing a 2nd drive and checking out the latest OS sometime soon - if nothing else, I can send you BIOS settings etc. that work for me. Cheers, AS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue Feb 23 0: 7:49 1999 Delivered-To: freebsd-smp@freebsd.org Received: from helen.CS.Berkeley.EDU (helen.CS.Berkeley.EDU [128.32.131.251]) by hub.freebsd.org (Postfix) with ESMTP id 8900611E4F; Tue, 23 Feb 1999 00:07:43 -0800 (PST) (envelope-from jmacd@helen.CS.Berkeley.EDU) Received: (from jmacd@localhost) by helen.CS.Berkeley.EDU (8.9.1a/8.9.1) id AAA27379; Tue, 23 Feb 1999 00:07:41 -0800 (PST) Message-ID: <19990223000741.18200@helen.CS.Berkeley.EDU> Date: Tue, 23 Feb 1999 00:07:41 -0800 From: Josh MacDonald To: smp@FreeBSD.ORG, hardware@FreeBSD.ORG Subject: Dell Precision Workstation 410 SMP Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I was recently loaned a new Dell and booted 3.1-RELEASE. It is a dual PII-450 with the 440BX chipset. I am having some hardware trouble, and the SMP kernel has paniced in about 2 of 6 or 7 startups, shortly after the second processor launches. I do not know how to debug, or help debug this sort of thing. I think there may be some hardware incompatibilities with this machine. The ATAPI CD-R drive had some trouble under Windows NT4 playing audio CDs, there was something too new about it (NEC 16x). Dell has released an updated driver. I am unable to mount a CD, it reports: cd9660: Device not configured I have been unable to use the on-board sound card, but I didn't try very hard because I don't know what is wrong. It has a ZIP drive, and though I boot with a disk inserted the device reports something about it being buggy and having no media present. The graphics device is some crazy 2D and 3D card: E&S AccelGALAXY 31 video card offers 16Mb of frame buffer and 15Mb of texture memory with full OpenGL support. Supports 1280x1024, double buffered with 24-bit Z-buffer. I doubt this card is supported. Does anyone know what I can do about any of the above issues, or how I can help determine if a solution exists? -josh dmesg reports: Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.1-RELEASE #0: Mon Feb 22 13:37:13 PST 1999 jmacd@spin.dsl.pacbell.net:/usr/src/sys/compile/SPIN Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Xeon/Celeron (686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping=2 Features=0x183fbff> real memory = 268435456 (262144K bytes) avail memory = 258641920 (252580K bytes) Programming 24 pins in IOAPIC #0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x02 on pci0.1.0 chip2: rev 0x02 on pci0.7.0 ide_pci0: rev 0x01 on pci0.7.1 chip3: rev 0x02 on pci0.7.3 xl0: <3Com 3c905B Fast Etherlink XL 10/100BaseTX> rev 0x00 int a irq 19 on pci0. 17.0 xl0: Ethernet address: 00:c0:4f:6b:c5:eb xl0: autoneg complete, link status good (half-duplex, 10Mbps) chip4: rev 0x03 on pci0.19.0 Probing for devices on PCI bus 1: vga0: rev 0x00 int a irq 16 on pci1.0.0 Probing for devices on PCI bus 2: ahc0: rev 0x00 int a irq 18 on pci2.10. 0 ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs ahc1: rev 0x01 int a irq 18 on pci2.14.0 ahc1: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (atapi): , removable, dm a, iordy acd0: drive speed 2412 - 5512KB/sec, 128KB cache acd0: supported read types: CD-R, CD-RW, CD-DA acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-ROM unknown medium, unlocked wdc1: unit 1 (atapi): , removable, intr, iordi s wfd0: medium type unknown (no disk) wfd0: buggy Zip drive, 64-block transfer limit set vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface sb0 at 0x220 irq 5 drq 1 on isa snd0: sbxvi0 not found sbmidi0 not found at 0x388 APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via pin 2 Waiting 2 seconds for SCSI devices to settle SMP: AP CPU #1 Launched! changing root device to da1s1a da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 80.0MB/s transfers (40.0MHz, offset 31, 16bit), Tagged Queueing Enabled da0: 8709MB (17836668 512 byte sectors: 255H 63S/T 1110C) da1 at ahc0 bus 0 target 6 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 80.0MB/s transfers (40.0MHz, offset 15, 16bit), Tagged Queueing Enabled da1: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C) PCM device 1 not installed. PCM device 1 not installed. (da1:ahc0:0:6:0): tagged openings now 64 My kernel config: # $Id: GENERIC,v 1.143.2.2 1999/02/15 02:50:07 des Exp $ machine "i386" cpu "I386_CPU" cpu "I486_CPU" cpu "I586_CPU" cpu "I686_CPU" ident SPIN maxusers 32 options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MFS #Memory Filesystem options MFS_ROOT #MFS usable as root device, "MFS" req'ed options NFS #Network Filesystem options NFS_ROOT #NFS usable as root device, "NFS" req'ed options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=2000 #Be pessimistic about Joe SCSI device options UCONSOLE #Allow users to grab the console options FAILSAFE #Be conservative options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor config kernel root on da1 options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O controller isa0 controller eisa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 options "CMD640" # work around CMD640 chip deficiency controller wdc1 at isa? port "IO_WD2" bio irq 15 disk wd2 at wdc1 drive 0 options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC #Don't do it as an LKM device acd0 #IDE CD-ROM device wfd0 #IDE Floppy (e.g. LS-120) controller ahc0 controller scbus0 device da0 device sa0 device pass0 device cd0 #Only need one of these, the code dynamically grows controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 device psm0 at isa? tty irq 12 device vga0 at isa? port ? conflicts pseudo-device splash device sc0 at isa? tty device npx0 at isa? port IO_NPX irq 13 device xl0 controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 device sbxvi0 at isa? drq 0 device sbmidi0 at isa? port 0x388 pseudo-device loop pseudo-device ether pseudo-device sl 1 pseudo-device ppp 1 pseudo-device tun 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's options KTRACE #kernel tracing options SYSVSHM options SYSVMSG pseudo-device bpfilter 4 #Berkeley packet filter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue Feb 23 4:18:52 1999 Delivered-To: freebsd-smp@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id E885A1112B for ; Tue, 23 Feb 1999 04:18:46 -0800 (PST) (envelope-from chuckr@mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.3/8.8.5) with ESMTP id HAA17151; Tue, 23 Feb 1999 07:16:58 -0500 (EST) Date: Tue, 23 Feb 1999 07:16:58 -0500 (EST) From: Chuck Robey To: Andrew Sparrow Cc: smp@freebsd.org, jason@intercom.com Subject: Re: SMP problems In-Reply-To: <199902230619.WAA18621@shell7.ba.best.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 22 Feb 1999, Andrew Sparrow wrote: > > > > This uses Intel PPros ? No cheating now ... not for SMP, you know, you > > > can't. > > Really? > > > > > Since when? I've been running SMP on a Micron W6Li dual-CPU 440-FX > socket 8 P6 board (fitted with 2x PPro166/512 o/clocked to 233Mhz) > since last March: OK, so where's the conflict? I said you have to run *Intel* Ppros, your listing shows you *do* run them. They're the only ones that have the correct APIC design for FreeBSD-smp. I was reminding ... you seem to be disagreeing, but I don't see where ?? I didn't say anything about the motherboard ... I personally run a Tyan mobo (same processors as you). Was that your misunderstanding? ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run picnic (FreeBSD-current) (301) 220-2114 | and jaunt (Solaris7). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Tue Feb 23 5:26:10 1999 Delivered-To: freebsd-smp@freebsd.org Received: from mail-out.visi.com (tele.visi.com [209.98.98.17]) by hub.freebsd.org (Postfix) with ESMTP id 5504611038 for ; Tue, 23 Feb 1999 05:26:06 -0800 (PST) (envelope-from mestery@visi.com) Received: from isis.visi.com (isis.visi.com [209.98.98.8]) by mail-out.visi.com (Postfix) with ESMTP id 4E28A1F80B; Tue, 23 Feb 1999 07:26:06 -0600 (CST) Received: from localhost (mestery@localhost) by isis.visi.com (8.8.8/8.8.8) with SMTP id HAA07137; Tue, 23 Feb 1999 07:26:06 -0600 (CST) X-Authentication-Warning: isis.visi.com: mestery owned process doing -bs Date: Tue, 23 Feb 1999 07:26:06 -0600 (CST) From: To: austin wood Cc: "Jason J. Horton" , smp@FreeBSD.ORG Subject: Re: SMP problems In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 22 Feb 1999, austin wood wrote: > I was quite sure that Intel PPro motherboards do not have DIMM slots. I > thought they only had SIMM slots. > I have been happily running a Micronics W6LI for a year now, and it does have DIMM slots. -- Kyle Mestery StorageTek's Storage Networking Group Protect your right to privacy: www.freecrypto.org > On Mon, 22 Feb 1999, Jason J. Horton wrote: > > > I am running a dual PPRO system based on a Micronics W6LI. > > I build a SMP kernel, and I get this error on startup: > > panic: pmap_bootstrap: no local apic! > > > > any ideas? Also, I know some people out there use the W6LI > > for thier SMP system, anyone have problems getting thier > > boards to recognize all thier RAM? My machine has a 128Meg DIMM, > > and the board only sees 64Meg. > > > > Please email me directly, since I am not sure if I am subscribed > > to these lists. > > > > -J > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hardware" in the body of the message > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hardware" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Feb 24 13:53:58 1999 Delivered-To: freebsd-smp@freebsd.org Received: from islandia.is (hummvee.islandia.is [194.144.156.3]) by hub.freebsd.org (Postfix) with ESMTP id 0379111ADA for ; Wed, 24 Feb 1999 13:40:14 -0800 (PST) (envelope-from sigpet@islandia.is) Received: from exch.islandia.is (exchange.islandia.is [194.144.156.201]) by islandia.is (8.8.8/8.8.8) with SMTP id OAA08709 for ; Wed, 24 Feb 1999 14:21:13 GMT Received: by exch.islandia.is(Lotus SMTP MTA Internal build v4.6.2 (651.2 6-10-1998)) id 00256722.004F418A ; Wed, 24 Feb 1999 14:25:41 +0000 X-Lotus-FromDomain: ISLANDIA From: sigpet@islandia.is To: freebsd-smp@freebsd.org Message-ID: <00256722.004F40F3.00@exch.islandia.is> Date: Wed, 24 Feb 1999 14:25:38 +0000 Subject: Problem - Compaq Proliant 2500 and SMP Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi. I've bean scrolling throug the archives and I cant find any solution to my problem. I have Compaq Proliant 2500 with 2x200 Mhz Pentium Pro CPUs. 128 Mb RAM I have configured the APIC option in System Configuration ( BIOS ) to FULL TABLE but still it crashes on boot up with this: assign_apic_irq:inconsistent table MP_LOCK=0000001 ; CPUID=0 ; lapic=01000000 here is the mptable output: =========================================================================== ==== MPTable, version 2.0.15 --------------------------------------------------------------------------- ---- MP Floating Pointer Structure: location: BIOS physical address: 0x000f4ff0 signature: '_MP_' length: 16 bytes version: 1.4 checksum: 0x83 mode: Virtual Wire --------------------------------------------------------------------------- ---- MP Config Table Header: physical address: 0x000f9c72 signature: 'PCMP' base table length: 436 version: 1.4 checksum: 0xc7 OEM ID: 'COMPAQ ' Product ID: 'PROLIANT ' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 46 local APIC address: 0xfee00000 extended table length: 0 extended table checksum: 0 --------------------------------------------------------------------------- ---- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model Step Flags 1 0x10 BSP, usable 6 1 9 0xfbff 0 0x10 AP, usable 6 1 7 0xfbff -- Bus: Bus ID Type 0 PCI 1 PCI 9 EISA -- I/O APICs: APIC ID Version State Address 2 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# INT active-lo level 1 9:A 2 16 INT active-lo level 1 7:A 2 17 INT active-lo level 1 13:A 2 21 INT active-lo level 1 13:C 2 21 INT active-lo level 1 13:B 2 21 INT active-lo level 1 13:D 2 21 INT active-lo level 1 11:A 2 22 INT active-lo level 1 11:C 2 22 INT active-lo level 1 11:B 2 22 INT active-lo level 1 11:D 2 22 INT active-lo level 1 10:A 2 23 INT active-lo level 1 10:C 2 23 INT active-lo level 1 10:B 2 23 INT active-lo level 1 10:D 2 23 INT active-lo level 0 18:A 2 18 INT active-lo level 0 18:C 2 18 INT active-lo level 0 18:B 2 18 INT active-lo level 0 18:D 2 18 INT active-lo level 0 16:A 2 19 INT active-lo level 0 16:C 2 19 INT active-lo level 0 16:B 2 19 INT active-lo level 0 16:D 2 19 INT active-lo level 0 15:A 2 20 INT active-lo level 0 15:C 2 20 INT active-lo level 0 15:B 2 20 INT active-lo level 0 15:D 2 20 INT conforms conforms 9 1 2 1 INT conforms conforms 9 0 2 2 INT conforms conforms 9 4 2 4 INT conforms conforms 9 5 2 5 INT conforms conforms 9 6 2 6 INT conforms conforms 9 7 2 7 INT conforms conforms 9 8 2 8 INT conforms conforms 9 10 2 10 INT conforms conforms 9 12 2 12 INT conforms conforms 9 13 2 24 INT conforms conforms 9 14 2 14 INT conforms conforms 9 15 2 15 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# NMI conforms conforms 9 0 0 1 --------------------------------------------------------------------------- ---- # SMP kernel config file options: # Required: options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O # Optional (built-in defaults will work in most cases): #options NCPU=2 # number of CPUs #options NBUS=3 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=38 # number of INTs =========================================================================== ==== Here is kernel config file : ( I figured, get this to work before excluding things ) # # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks # # For more information read the handbook part System Administration -> # Configuring the FreeBSD Kernel -> The Configuration File. # The handbook is available in /usr/share/doc/handbook or online as # latest version from the FreeBSD World Wide Web server # # # An exhaustive list of options and more detailed explanations of the # device lines is present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $Id: GENERIC,v 1.143.2.2 1999/02/15 02:50:07 des Exp $ machine "i386" cpu "I686_CPU" ident OXYGEN maxusers 32 #options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MFS #Memory Filesystem options MFS_ROOT #MFS usable as root device, "MFS" req'ed options NFS #Network Filesystem options NFS_ROOT #NFS usable as root device, "NFS" req'ed options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device options UCONSOLE #Allow users to grab the console options FAILSAFE #Be conservative options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor config kernel root on wd0 # To make an SMP kernel, the next two are needed options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O snip------------------------------------------------------- I have tried to enable these like: NCPU=2 NBUS=3 NAPIC=1 NINTR=39 it does not work ! endsnip ------------------------------------------------- # 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 controller isa0 controller eisa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 options "CMD640" # work around CMD640 chip deficiency controller wdc0 at isa? port "IO_WD1" bio irq 14 disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 controller wdc1 at isa? port "IO_WD2" bio irq 15 disk wd2 at wdc1 drive 0 disk wd3 at wdc1 drive 1 options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC #Don't do it as an LKM device acd0 #IDE CD-ROM device wfd0 #IDE Floppy (e.g. LS-120) # A single entry for any of these controllers (ncr, ahb, ahc) is # sufficient for any number of installed devices. controller ncr0 controller ahb0 controller ahc0 controller isp0 # This controller offers a number of configuration options, too many to # document here - see the LINT file in this directory and look up the # dpt0 entry there for much fuller documentation on this. controller dpt0 controller adv0 at isa? port ? cam irq ? controller adw0 controller bt0 at isa? port ? cam irq ? controller aha0 at isa? port ? cam irq ? #controller aic0 at isa? port 0x340 bio irq 11 controller scbus0 device da0 device sa0 device pass0 device cd0 #Only need one of these, the code dynamically grows device wt0 at isa? port 0x300 bio irq 5 drq 1 device mcd0 at isa? port 0x300 bio irq 10 controller matcd0 at isa? port 0x230 bio device scd0 at isa? port 0x230 bio # atkbdc0 controlls both the keyboard and the PS/2 mouse controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 device psm0 at isa? tty irq 12 device vga0 at isa? port ? conflicts # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? tty # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? tty #options XSERVER # support for X server #options FAT_CURSOR # start with block cursor # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std device npx0 at isa? port IO_NPX irq 13 # # Laptop support (see LINT for more options) # device apm0 at isa? disable flags 0x31 # Advanced Power Management # PCCARD (PCMCIA) support #controller card0 #device pcic0 at card? #device pcic1 at card? device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 device sio1 at isa? port "IO_COM2" tty irq 3 device sio2 at isa? disable port "IO_COM3" tty irq 5 device sio3 at isa? disable port "IO_COM4" tty irq 9 # Parallel port device ppc0 at isa? port? net irq 7 controller ppbus0 device nlpt0 at ppbus? device plip0 at ppbus? device ppi0 at ppbus? #controller vpo0 at ppbus? # Order is important here due to intrusive probes, do *not* alphabetize # this list of network interfaces until the probes have been fixed. # Right now it appears that the ie0 must be probed before ep0. See # revision 1.20 of this file. device ax0 device de0 device fxp0 device mx0 device pn0 device rl0 device tl0 device tx0 device vr0 device vx0 device wb0 device xl0 device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 device ep0 at isa? port 0x300 net irq 10 device ex0 at isa? port? net irq? device fe0 at isa? port 0x300 net irq ? device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 device lnc0 at isa? port 0x280 net irq 10 drq 0 device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 device cs0 at isa? port 0x300 net irq ? pseudo-device loop pseudo-device ether pseudo-device sl 1 pseudo-device ppp 1 pseudo-device tun 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's # KTRACE enables the system-call tracing facility ktrace(2). # This adds 4 KB bloat to your kernel, and slightly increases # the costs of each syscall. options KTRACE #kernel tracing # This provides support for System V shared memory and message queues. # options SYSVSHM options SYSVMSG # The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be # aware of the legal and administrative consequences of enabling this # option. The number of devices determines the maximum number of # simultaneous BPF clients programs runnable. #pseudo-device bpfilter 4 #Berkeley packet filter # USB support #controller uhci0 #controller ohci0 #controller usb0 # # for the moment we have to specify the priorities of the device # drivers explicitly by the ordering in the list below. This will # be changed in the future. # #device ums0 #device ukbd0 #device ulpt0 #device uhub0 #device ucom0 #device umodem0 #device hid0 #device ugen0 # #options USB_DEBUG #options USBVERBOSE Can anyone help me with this ? thanx Sigurdur Petursson System Administrator Islandia Internet efh ISP Iceland To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Wed Feb 24 18:59:57 1999 Delivered-To: freebsd-smp@freebsd.org Received: from chuq.com (unknown [209.220.44.130]) by hub.freebsd.org (Postfix) with ESMTP id 5BE4614C2F for ; Wed, 24 Feb 1999 18:59:55 -0800 (PST) (envelope-from chuq@chuq.com) Received: from chuq.com (localhost [127.0.0.1]) by chuq.com (8.8.8/8.8.8) with ESMTP id SAA17671 for ; Wed, 24 Feb 1999 18:59:36 -0800 (PST) From: Chuck Silvers To: freebsd-smp@freebsd.org Subject: smp on intel DK440LX Date: Wed, 24 Feb 1999 18:59:36 -0800 Message-ID: <17669.919911576@chuq.com> Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hello smp'ers, I've got an intel DK440LX motherboard that I'm trying to run freebsd/smp on, but it's not getting very far. when I boot an smp-enabled kernel, it hangs right after printing "APIC_IO: Testing 8254 interrupt delivery". here's my "mptable -dmesg" and config file. any ideas what it would take to get this working? -Chuck =============================================================================== MPTable, version 2.0.15 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000f7080 signature: '_MP_' length: 16 bytes version: 1.4 checksum: 0x3e mode: Virtual Wire ------------------------------------------------------------------------------- MP Config Table Header: physical address: 0x0009f960 signature: 'PCMP' base table length: 300 version: 1.4 checksum: 0x15 OEM ID: 'INTEL ' Product ID: 'DK440LX ' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 29 local APIC address: 0xfee00000 extended table length: 144 extended table checksum: 55 ------------------------------------------------------------------------------- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model Step Flags 1 0x11 BSP, usable 6 5 0 0x183fbff 0 0x11 AP, usable 6 5 0 0x183fbff -- Bus: Bus ID Type 0 PCI 1 PCI 2 ISA -- I/O APICs: APIC ID Version State Address 2 0x11 usable 0xfec00000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT active-hi edge 2 0 2 0 INT active-hi edge 2 1 2 1 INT active-hi edge 2 0 2 2 INT active-hi edge 2 3 2 3 INT active-hi edge 2 4 2 4 INT active-hi edge 2 5 2 5 INT active-hi edge 2 6 2 6 INT active-hi edge 2 7 2 7 INT active-hi edge 2 8 2 8 INT active-lo level 2 9 2 9 INT active-hi edge 2 10 2 10 INT active-hi edge 2 11 2 11 INT active-hi edge 2 12 2 12 INT active-hi edge 2 13 2 13 INT active-hi edge 2 14 2 14 INT active-hi edge 2 15 2 15 INT active-lo level 0 2:D 2 19 INT active-lo level 0 3:A 2 19 INT active-lo level 0 9:A 2 17 INT active-lo level 0 9:B 2 17 INT active-lo level 0 13:A 2 17 -- Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT active-hi edge 2 0 255 0 NMI active-hi edge 0 0:A 255 1 ------------------------------------------------------------------------------- MP Config Extended Table Entries: -- bus ID: 0 address type: I/O address address base: 0x0 address range: 0x10000 -- bus ID: 0 address type: memory address address base: 0x4000000 address range: 0xf0000000 -- bus ID: 0 address type: prefetch address address base: 0xf4000000 address range: 0xacfd000 -- bus ID: 0 address type: memory address address base: 0xfecfd000 address range: 0x1303000 -- bus ID: 0 address type: memory address address base: 0xa0000 address range: 0x20000 -- bus ID: 0 address type: memory address address base: 0xd0000 address range: 0x10000 -- bus ID: 2 bus info: 0x01 parent bus ID: 0-- bus ID: 0 address modifier: add predefined range: 0x00000000-- bus ID: 0 address modifier: add predefined range: 0x00000001 ------------------------------------------------------------------------------- # SMP kernel config file options: # Required: options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O # Optional (built-in defaults will work in most cases): #options NCPU=2 # number of CPUs #options NBUS=3 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs ------------------------------------------------------------------------------- dmesg output: Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.1-RELEASE #0: Mon Feb 15 11:08:08 GMT 1999 jkh@usw3.freebsd.org:/usr/src/sys/compile/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Xeon/Celeron (333.05-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x650 Stepping=0 Features=0x183fbff> real memory = 67108864 (65536K bytes) avail memory = 61874176 (60424K bytes) Preloaded elf kernel "kernel" at 0xf0340000. Probing for devices on PCI bus 0: chip0: rev 0x03 on pci0.0.0 chip1: rev 0x03 on pci0.1.0 chip2: rev 0x01 on pci0.2.0 ide_pci0: rev 0x01 on pci0.2.1 chip3: rev 0x01 on pci0.2.3 fxp0: rev 0x02 int a irq 9 on pci0.3.0 fxp0: Ethernet address 00:a0:c9:82:ca:07 ahc0: rev 0x03 int a irq 9 on pci0.9.0 ahc0: aic7895 Wide Channel A, SCSI Id=7, 16/255 SCBs ahc1: rev 0x03 int b irq 9 on pci0.9.1 ahc1: aic7895 Wide Channel B, SCSI Id=7, 16/255 SCBs vga0: rev 0x16 int a irq 9 on pci0.13.0 Probing for devices on PCI bus 1: Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> ed0 not found at 0x280 fe0 not found at 0x300 atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 not found sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 not found at 0x1f0 wdc1 not found at 0x170 wt0 not found at 0x300 mcd0 not found at 0x300 matcdc0 not found at 0x230 scd0 not found at 0x230 ppc0 at 0x378 irq 7 on isa ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold nlpt0: on ppbus 0 nlpt0: Interrupt-driven port ppi0: on ppbus 0 plip0: on ppbus 0 ie0: unknown board_id: f000 ie0 not found at 0x300 ep0 not found at 0x300 ex0 not found le0 not found at 0x300 lnc0 not found at 0x280 ze0 not found at 0x300 zp0 not found at 0x300 cs0 not found at 0x300 adv0 not found at 0x330 bt0 not found at 0x134 aha0 not found at 0x134 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface Waiting 15 seconds for SCSI devices to settle changing root device to da0s1a da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 4350MB (8910423 512 byte sectors: 255H 63S/T 554C) (da0:ahc0:0:0:0): tagged openings now 63 =============================================================================== # # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks # # For more information read the handbook part System Administration -> # Configuring the FreeBSD Kernel -> The Configuration File. # The handbook is available in /usr/share/doc/handbook or online as # latest version from the FreeBSD World Wide Web server # # # An exhaustive list of options and more detailed explanations of the # device lines is present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $Id: GENERIC,v 1.150 1999/02/14 20:28:38 jkh Exp $ machine "i386" cpu "I686_CPU" ident GENERIC maxusers 32 options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MFS #Memory Filesystem options MFS_ROOT #MFS usable as root device, "MFS" req'ed options NFS #Network Filesystem options NFS_ROOT #NFS usable as root device, "NFS" req'ed options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=1000 #Be pessimistic about Joe SCSI device options UCONSOLE #Allow users to grab the console config kernel root on da0 # 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 controller isa0 controller pnp0 # PnP support for ISA controller eisa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 controller ahc0 # This controller offers a number of configuration options, too many to # document here - see the LINT file in this directory and look up the # dpt0 entry there for much fuller documentation on this. controller dpt0 controller scbus0 device da0 device sa0 device pass0 device cd0 #Only need one of these, the code dynamically grows # atkbdc0 controlls both the keyboard and the PS/2 mouse controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 device psm0 at isa? tty irq 12 device vga0 at isa? port ? conflicts # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? tty # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? tty #options XSERVER # support for X server #options FAT_CURSOR # start with block cursor # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std device npx0 at isa? port IO_NPX irq 13 # # Laptop support (see LINT for more options) # device apm0 at isa? disable flags 0x31 # Advanced Power Management # PCCARD (PCMCIA) support #controller card0 #device pcic0 at card? #device pcic1 at card? device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 device sio1 at isa? port "IO_COM2" tty irq 3 device sio2 at isa? disable port "IO_COM3" tty irq 5 device sio3 at isa? disable port "IO_COM4" tty irq 9 # Parallel port device ppc0 at isa? port? tty irq 7 controller ppbus0 device nlpt0 at ppbus? device plip0 at ppbus? device ppi0 at ppbus? #controller vpo0 at ppbus? # Order is important here due to intrusive probes, do *not* alphabetize # this list of network interfaces until the probes have been fixed. # Right now it appears that the ie0 must be probed before ep0. See # revision 1.20 of this file. device fxp0 pseudo-device loop pseudo-device ether pseudo-device sl 1 pseudo-device ppp 1 pseudo-device tun 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's # KTRACE enables the system-call tracing facility ktrace(2). # This adds 4 KB bloat to your kernel, and slightly increases # the costs of each syscall. options KTRACE #kernel tracing # This provides support for System V shared memory and message queues. # options SYSVSHM options SYSVMSG # The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be # aware of the legal and administrative consequences of enabling this # option. The number of devices determines the maximum number of # simultaneous BPF clients programs runnable. #pseudo-device bpfilter 4 #Berkeley packet filter # USB support #controller uhci0 #controller ohci0 #controller usb0 # # for the moment we have to specify the priorities of the device # drivers explicitly by the ordering in the list below. This will # be changed in the future. # #device ums0 #device ukbd0 #device ulpt0 #device uhub0 #device ucom0 #device umodem0 #device hid0 #device ugen0 # #options USB_DEBUG #options USBVERBOSE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Thu Feb 25 10:37:39 1999 Delivered-To: freebsd-smp@freebsd.org Received: from fleming.cs.strath.ac.uk (fleming.cs.strath.ac.uk [130.159.196.126]) by hub.freebsd.org (Postfix) with ESMTP id 5DCCF14E0A for ; Thu, 25 Feb 1999 10:34:57 -0800 (PST) (envelope-from roger@cs.strath.ac.uk) Received: from muir-10 (roger@muir-10.cs.strath.ac.uk [130.159.148.10]) by fleming.cs.strath.ac.uk (8.8.8/8.8.8) with SMTP id SAA01923 Thu, 25 Feb 1999 18:34:40 GMT Message-ID: <36D597C2.446B@cs.strath.ac.uk> Date: Thu, 25 Feb 1999 18:34:42 +0000 From: Roger Hardiman Organization: University of Strathclyde X-Mailer: Mozilla 3.04Gold (X11; I; OSF1 V4.0 alpha) MIME-Version: 1.0 To: smp@freebsd.org Subject: Run time detection of APIC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I'm reworking the pccard / pcmcia adapter code to work with SMP kernels. It currently causes a Panic. The fix is simple, the current code tries to allocate IRQs but does not know about APIC. I can change the driver to be of the form #ifdef APIC_IO .. do apic specific stuff #else .. do original code #endif But if you make a KLD module on a uni-processor kernel and then make a MSP kernel but load the uni-processor PCCARD module, the module will cause a panic as it does not contain the APIC specific code. Can the module detect if we are in APIC mode at run time. I want something like #ifdef APIC_IO .. do apic code #else .. if runtime says we are in APIC mode, panic this code has been compiled for .. a uni-processor kernel. .. else do original code #endif Thanks Roger Hardiman roger@cs.strath.ac.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Thu Feb 25 13:11:23 1999 Delivered-To: freebsd-smp@freebsd.org Received: from trinity.radio-do.de (trinity.Radio-do.de [193.101.164.3]) by hub.freebsd.org (Postfix) with ESMTP id 882A114C8B for ; Thu, 25 Feb 1999 13:11:10 -0800 (PST) (envelope-from fn@trinity.radio-do.de) Received: (from fn@localhost) by trinity.radio-do.de (8.9.3/8.9.1) id WAA02259; Thu, 25 Feb 1999 22:10:50 +0100 (CET) (envelope-from fn) Message-ID: <19990225221049.C347@radio-do.de> Date: Thu, 25 Feb 1999 22:10:49 +0100 From: Frank Nobis To: Roger Hardiman , smp@FreeBSD.ORG Subject: Re: Run time detection of APIC References: <36D597C2.446B@cs.strath.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <36D597C2.446B@cs.strath.ac.uk>; from Roger Hardiman on Thu, Feb 25, 1999 at 06:34:42PM +0000 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Feb 25, 1999 at 06:34:42PM +0000, Roger Hardiman wrote: > > Can the module detect if we are in APIC mode at run time. I want > something like > #ifdef APIC_IO > .. do apic code > #else > .. if runtime says we are in APIC mode, panic this code has been > compiled for > .. a uni-processor kernel. > .. else do original code > #endif hw.ncpu: 2 or machdep.smp_active: 1 machdep.smp_cpus: 2 Would that do the job ? I never tried what happened, when running a SMP kernel on just one cpu. Frank -- Frank Nobis Email: PGP AVAILABLE Landgrafenstr. 130 dg3dcn http://www.radio-do.de/~fn/ 44139 Dortmund Powered by SMP FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Thu Feb 25 18:46: 1 1999 Delivered-To: freebsd-smp@freebsd.org Received: from midten.fast.no (midten.fast.no [195.139.251.11]) by hub.freebsd.org (Postfix) with ESMTP id 761DF14E8E for ; Thu, 25 Feb 1999 18:45:58 -0800 (PST) (envelope-from tegge@fast.no) Received: from fast.no (IDENT:tegge@midten.fast.no [195.139.251.11]) by midten.fast.no (8.9.1/8.9.1) with ESMTP id DAA08303; Fri, 26 Feb 1999 03:45:29 +0100 (CET) Message-Id: <199902260245.DAA08303@midten.fast.no> To: sigpet@islandia.is Cc: freebsd-smp@FreeBSD.ORG Subject: Re: Problem - Compaq Proliant 2500 and SMP From: Tor.Egge@fast.no In-Reply-To: Your message of "Wed, 24 Feb 1999 14:25:38 +0000" References: <00256722.004F40F3.00@exch.islandia.is> X-Mailer: Mew version 1.70 on Emacs 19.34.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 26 Feb 1999 03:45:29 +0100 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi. > I've bean scrolling throug the archives and I cant find any solution to my > problem. > > I have Compaq Proliant 2500 with 2x200 Mhz Pentium Pro CPUs. 128 Mb RAM > I have configured the APIC option in System Configuration ( BIOS ) to FULL > TABLE but still it crashes on boot up with this: > > assign_apic_irq:inconsistent table > MP_LOCK=0000001 ; CPUID=0 ; lapic=01000000 Try this patch: Index: mp_machdep.c =================================================================== RCS file: /home/ncvs/src/sys/i386/i386/mp_machdep.c,v retrieving revision 1.89 diff -u -r1.89 mp_machdep.c --- mp_machdep.c 1999/01/28 01:59:50 1.89 +++ mp_machdep.c 1999/02/26 02:43:04 @@ -1090,7 +1090,7 @@ int_to_apicintpin[x].redirindex = 0; } for (x = 0; x < nintrs; x++) { - if (io_apic_ints[x].dst_apic_int <= APIC_INTMAPSIZE && + if (io_apic_ints[x].dst_apic_int < APIC_INTMAPSIZE && io_apic_ints[x].dst_apic_id == IO_TO_ID(0) && io_apic_ints[x].int_vector == 0xff && (io_apic_ints[x].int_type == 0 || - Tor Egge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Feb 26 2:50:13 1999 Delivered-To: freebsd-smp@freebsd.org Received: from islandia.is (hummvee.islandia.is [194.144.156.3]) by hub.freebsd.org (Postfix) with ESMTP id 1621114F15 for ; Fri, 26 Feb 1999 02:50:06 -0800 (PST) (envelope-from sigpet@islandia.is) Received: from exch.islandia.is (exchange.islandia.is [194.144.156.201]) by islandia.is (8.8.8/8.8.8) with SMTP id KAA25708; Fri, 26 Feb 1999 10:49:37 GMT Received: by exch.islandia.is(Lotus SMTP MTA Internal build v4.6.2 (651.2 6-10-1998)) id 00256724.003BE798 ; Fri, 26 Feb 1999 10:54:19 +0000 X-Lotus-FromDomain: ISLANDIA From: sigpet@islandia.is To: Tor.Egge@fast.no Cc: freebsd-smp@FreeBSD.ORG Message-ID: <00256724.003BE5F2.00@exch.islandia.is> Date: Fri, 26 Feb 1999 10:54:13 +0000 Subject: Re: Problem - Compaq Proliant 2500 and SMP Mime-Version: 1.0 Content-type: multipart/mixed; Boundary="0__=9o1OBf49BFCGbGYqjMJo5mYG3i3v1aaDtUev5EcSej96fGvFgsRF8p8w" Content-Disposition: inline Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --0__=9o1OBf49BFCGbGYqjMJo5mYG3i3v1aaDtUev5EcSej96fGvFgsRF8p8w Content-type: text/plain; charset=iso-8859-1 Content-Disposition: inline Hi. Thanks very much. This works ( I think ) with few errors. here is dmesg output: Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.1-RELEASE #4: Fri Feb 26 10:22:47 GMT 1999 root@oxygen.islandia.is:/usr/src/sys/compile/OXYGEN Timecounter "i8254" frequency 1193182 Hz CPU: Pentium Pro (686-class CPU) Origin = "GenuineIntel" Id = 0x619 Stepping=9 Features=0xfbff real memory = 16777216 (16384K bytes) avail memory = 13402112 (13088K bytes) Programming 28 pins in IOAPIC #0 EISA INTCONTROL = 0000c800 IOAPIC #0 intpint 24 -> irq 13 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x001b0011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xf0301000. eisa0: Probing for devices on the EISA bus Probing for devices on PCI bus 0: chip0: rev 0x02 on pci0.0.0 chip1: rev 0x01 on pci0.13.0 ncr0: rev 0x03 int a irq 15 on pci0.18.0 chip2: rev 0x07 on pci0.20.0 Probing for devices on PCI bus 1: vga0: rev 0x22 int a irq 255 on pci1.6.0 tl0: rev 0x10 int a irq 11 on pci1.7.0 tl0: Ethernet address: 00:80:5f:a6:04:e2 tl0: autoneg not complete, no carrier ncr1: rev 0x03 int a irq 14 on pci1.9.0 Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface APIC_IO: Testing 8254 interrupt delivery APIC_IO: Broken MP table detected: 8254 is not connected to IO APIC int pin 2 APIC_IO: routing 8254 via 8259 on pin 0 Waiting 15 seconds for SCSI devices to settle SMP: AP CPU #1 Launched! changing root device to da0s2a Am I right, does it correct the errors it self ?? how can I be sure it's using both CPUs ? Is there a program to see separated use of the CPUs ? Thanks Sigurdur Petursson System administrator Islandia Internet ehf. Iceland Tor.Egge@fast.no on 26.02.99 02:45:29 To: Sigurđur Pétursson/Islandia/IS cc: freebsd-smp@FreeBSD.ORG Subject: Re: Problem - Compaq Proliant 2500 and SMP --0__=9o1OBf49BFCGbGYqjMJo5mYG3i3v1aaDtUev5EcSej96fGvFgsRF8p8w Content-type: text/plain; charset=us-ascii Content-Disposition: inline > Hi. > I've bean scrolling throug the archives and I cant find any solution to my > problem. > > I have Compaq Proliant 2500 with 2x200 Mhz Pentium Pro CPUs. 128 Mb RAM > I have configured the APIC option in System Configuration ( BIOS ) to FULL > TABLE but still it crashes on boot up with this: > > assign_apic_irq:inconsistent table > MP_LOCK=0000001 ; CPUID=0 ; lapic=01000000 Try this patch: Index: mp_machdep.c =================================================================== RCS file: /home/ncvs/src/sys/i386/i386/mp_machdep.c,v retrieving revision 1.89 diff -u -r1.89 mp_machdep.c --- mp_machdep.c 1999/01/28 01:59:50 1.89 +++ mp_machdep.c 1999/02/26 02:43:04 @@ -1090,7 +1090,7 @@ int_to_apicintpin[x].redirindex = 0; } for (x = 0; x < nintrs; x++) { - if (io_apic_ints[x].dst_apic_int <= APIC_INTMAPSIZE && + if (io_apic_ints[x].dst_apic_int < APIC_INTMAPSIZE && io_apic_ints[x].dst_apic_id == IO_TO_ID(0) && io_apic_ints[x].int_vector == 0xff && (io_apic_ints[x].int_type == 0 || - Tor Egge --0__=9o1OBf49BFCGbGYqjMJo5mYG3i3v1aaDtUev5EcSej96fGvFgsRF8p8w-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Feb 26 2:53: 6 1999 Delivered-To: freebsd-smp@freebsd.org Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (Postfix) with SMTP id 0D17B14F1D for ; Fri, 26 Feb 1999 02:52:26 -0800 (PST) (envelope-from sthaug@nethelp.no) Received: (qmail 21818 invoked by uid 1001); 26 Feb 1999 10:52:08 +0000 (GMT) To: sigpet@islandia.is Cc: Tor.Egge@fast.no, freebsd-smp@FreeBSD.ORG Subject: Re: Problem - Compaq Proliant 2500 and SMP From: sthaug@nethelp.no In-Reply-To: Your message of "Fri, 26 Feb 1999 10:54:13 +0000" References: <00256724.003BE5F2.00@exch.islandia.is> X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Fri, 26 Feb 1999 11:52:08 +0100 Message-ID: <21816.920026328@verdi.nethelp.no> Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Is there a program to see separated use of the CPUs ? top. Steinar Haug, Nethelp consulting, sthaug@nethelp.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Feb 26 5: 8:30 1999 Delivered-To: freebsd-smp@freebsd.org Received: from execpro.gsm.adelaide.edu.au (execpro.gsm.adelaide.edu.au [129.127.220.40]) by hub.freebsd.org (Postfix) with ESMTP id F334814F15 for ; Fri, 26 Feb 1999 05:08:25 -0800 (PST) (envelope-from alex@execpro.gsm.adelaide.edu.au) Received: (from alex@localhost) by execpro.gsm.adelaide.edu.au (8.9.1/8.9.1) id XAA36573 for freebsd-smp@freebsd.org; Fri, 26 Feb 1999 23:42:10 +1030 (CST) (envelope-from alex) Date: Fri, 26 Feb 1999 23:42:10 +1030 From: Alex Ardalich To: freebsd-smp@freebsd.org Subject: Do I have a problem? Message-ID: <19990226234210.A36547@gsm.adelaide.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Machine runs faultlessly even with the following at boot. Is it something I should worry about? Supermicro P6DNF (forgive me if I haven't remembered the exact model no) 2 x 180Mhz PPros ===== Feb 7 16:20:18 execpro /kernel: APIC_IO: Testing 8254 interrupt delivery Feb 7 16:20:18 execpro /kernel: APIC_IO: Broken MP table detected: 8254 is not connected to IO APIC int pin 2 Feb 7 16:20:18 execpro /kernel: APIC_IO: routing 8254 via 8259 on pin 0 ===== Thanks, Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Feb 26 5:14:40 1999 Delivered-To: freebsd-smp@freebsd.org Received: from fleming.cs.strath.ac.uk (fleming.cs.strath.ac.uk [130.159.196.126]) by hub.freebsd.org (Postfix) with ESMTP id 1D68514F43; Fri, 26 Feb 1999 05:14:04 -0800 (PST) (envelope-from roger@cs.strath.ac.uk) Received: from muir-10 (roger@muir-10.cs.strath.ac.uk [130.159.148.10]) by fleming.cs.strath.ac.uk (8.8.8/8.8.8) with SMTP id NAA21745 Fri, 26 Feb 1999 13:09:12 GMT Message-ID: <36D69CF9.794B@cs.strath.ac.uk> Date: Fri, 26 Feb 1999 13:09:14 +0000 From: Roger Hardiman Organization: University of Strathclyde X-Mailer: Mozilla 3.04Gold (X11; I; OSF1 V4.0 alpha) MIME-Version: 1.0 To: Warner Losh , Nate Williams , Steve Passe Cc: mobile@freebsd.org, smp@freebsd.org Subject: SMP and PCCARD. Patch for review. References: <36D64CA3.A619A9D4@cs.strath.ac.uk> <36D58ECA.41C6@cs.strath.ac.uk> <199902251807.LAA18344@mt.sri.com> <36D5A752.41C6@cs.strath.ac.uk> <199902252003.NAA18777@mt.sri.com> <199902260820.BAA08628@harmony.village.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Warner, Steve, Nate, Mobile, SMP, I have produced updates to the PCCARD (PCMCIA) code to support my ISA pccard adapter on my SMP machine with APIC_IO. I am putting my code up for review and would like comments/feedback before I commit. Based on 3.1-RELEASE code, the original files and the changes to pcic.c and pccard.c can be found in ftp://telepresence.dmem.strath.ac.uk/pub/pcic/3.1-release Please send comments/feedback to roger@cs.strath.ac.uk Thanks Roger -- Roger Hardiman Strathclyde University Telepresence Group, Glasgow, Scotland, UK. roger@cs.strath.ac.uk roger@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Feb 26 6:11:11 1999 Delivered-To: freebsd-smp@freebsd.org Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (Postfix) with SMTP id 4B78214F4A for ; Fri, 26 Feb 1999 06:11:07 -0800 (PST) (envelope-from sthaug@nethelp.no) Received: (qmail 23897 invoked by uid 1001); 26 Feb 1999 14:10:50 +0000 (GMT) To: Tor.Egge@fast.no Cc: sigpet@islandia.is, freebsd-smp@FreeBSD.ORG Subject: Re: Problem - Compaq Proliant 2500 and SMP From: sthaug@nethelp.no In-Reply-To: Your message of "Fri, 26 Feb 1999 03:45:29 +0100" References: <199902260245.DAA08303@midten.fast.no> X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Fri, 26 Feb 1999 15:10:49 +0100 Message-ID: <23895.920038249@verdi.nethelp.no> Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I have Compaq Proliant 2500 with 2x200 Mhz Pentium Pro CPUs. 128 Mb RAM > > I have configured the APIC option in System Configuration ( BIOS ) to FULL > > TABLE but still it crashes on boot up with this: > > > > assign_apic_irq:inconsistent table > > MP_LOCK=0000001 ; CPUID=0 ; lapic=01000000 > > Try this patch: With this patch to mp_machdep.c, and Doug Rabson's patch for pcisupport.c (the fixbushigh_Ross() routine), we're now happily running SMP on a two processor Compaq Proliant 3000. Great work, guys! Steinar Haug, Nethelp consulting, sthaug@nethelp.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Fri Feb 26 8:15:58 1999 Delivered-To: freebsd-smp@freebsd.org Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (Postfix) with ESMTP id AEBEC14FA3; Fri, 26 Feb 1999 08:14:39 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id JAA24206; Fri, 26 Feb 1999 09:14:12 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA22287; Fri, 26 Feb 1999 09:14:04 -0700 Date: Fri, 26 Feb 1999 09:14:04 -0700 Message-Id: <199902261614.JAA22287@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Roger Hardiman Cc: Warner Losh , Nate Williams , Steve Passe , mobile@freebsd.org, smp@freebsd.org Subject: Re: SMP and PCCARD. Patch for review. In-Reply-To: <36D69CF9.794B@cs.strath.ac.uk> References: <36D64CA3.A619A9D4@cs.strath.ac.uk> <36D58ECA.41C6@cs.strath.ac.uk> <199902251807.LAA18344@mt.sri.com> <36D5A752.41C6@cs.strath.ac.uk> <199902252003.NAA18777@mt.sri.com> <199902260820.BAA08628@harmony.village.org> <36D69CF9.794B@cs.strath.ac.uk> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I have produced updates to the PCCARD (PCMCIA) code to support > my ISA pccard adapter on my SMP machine with APIC_IO. > > I am putting my code up for review and would like comments/feedback > before I commit. > > Based on 3.1-RELEASE code, the original files and the changes > to pcic.c and pccard.c can be found in > ftp://telepresence.dmem.strath.ac.uk/pub/pcic/3.1-release pcic.h needs a real copyright. pccard.c looks good pcic.c looks good. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Sat Feb 27 13:32:36 1999 Delivered-To: freebsd-smp@freebsd.org Received: from saturn.spel.com (ip226-39-143.spel.com [208.226.39.143]) by hub.freebsd.org (Postfix) with ESMTP id ABE0B1504A for ; Sat, 27 Feb 1999 13:32:30 -0800 (PST) (envelope-from mturpin@saturn.spel.com) Received: from localhost (mturpin@localhost) by saturn.spel.com (8.9.2/8.9.2) with ESMTP id QAA61885 for ; Sat, 27 Feb 1999 16:27:39 -0500 (EST) (envelope-from mturpin@saturn.spel.com) Date: Sat, 27 Feb 1999 16:27:39 -0500 (EST) From: Mark Turpin To: smp@freebsd.org Subject: Determining the number of processors? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Is there any way, in a program, to find out how many processors a machine has? Thanks Mark ----------------------------------------------------------------------------- Mark Turpin | Consulting - Training - Network Installation Systems Engineer | Main Street Technology Centre | http://www.MainStreetTech.com ----------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Sat Feb 27 13:37:59 1999 Delivered-To: freebsd-smp@freebsd.org Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (Postfix) with ESMTP id 7F44315156 for ; Sat, 27 Feb 1999 13:37:34 -0800 (PST) (envelope-from tlambert@usr09.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id OAA10453; Sat, 27 Feb 1999 14:37:17 -0700 (MST) Received: from usr09.primenet.com(206.165.6.209) via SMTP by smtp02.primenet.com, id smtpd010433; Sat Feb 27 14:37:11 1999 Received: (from tlambert@localhost) by usr09.primenet.com (8.8.5/8.8.5) id OAA16255; Sat, 27 Feb 1999 14:37:09 -0700 (MST) From: Terry Lambert Message-Id: <199902272137.OAA16255@usr09.primenet.com> Subject: Re: Determining the number of processors? To: mturpin@saturn.spel.com (Mark Turpin) Date: Sat, 27 Feb 1999 21:37:02 +0000 (GMT) Cc: smp@FreeBSD.ORG In-Reply-To: from "Mark Turpin" at Feb 27, 99 04:27:39 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Is there any way, in a program, to find out how many processors > a machine has? man 3 sysctlbyname You are looking for the oid "hw.ncpu". Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message From owner-freebsd-smp Sat Feb 27 14: 4:14 1999 Delivered-To: freebsd-smp@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id ADA6F15183 for ; Sat, 27 Feb 1999 14:04:01 -0800 (PST) (envelope-from chuckr@mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.3/8.8.5) with ESMTP id RAA03001; Sat, 27 Feb 1999 17:02:13 -0500 (EST) Date: Sat, 27 Feb 1999 17:02:12 -0500 (EST) From: Chuck Robey To: Mark Turpin Cc: smp@FreeBSD.ORG Subject: Re: Determining the number of processors? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 27 Feb 1999, Mark Turpin wrote: > > Is there any way, in a program, to find out how many processors > a machine has? picnic:/usr2/chuckr:119 >sysctl machdep.smp_cpus machdep.smp_cpus: 2 There is also sysctl(3) for doing it in C ... not really complicated, #include #include #include int main() { int numcpus = 0; int buflen = 4; int mib[2]; int err_ret = 0; mib[0] = CTL_HW; mib[1] = HW_NCPU; if((err_ret = sysctl(mib, 2, &numcpus, &buflen, NULL, 0)) != 0 ) { perror("Error doing sysctl: "); exit(0); } else printf("sysctl returned %d.\n",numcpus); exit(0); } ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run picnic (FreeBSD-current) (301) 220-2114 | and jaunt (Solaris7). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message