From owner-freebsd-stable Thu Sep 28 7: 0:54 2000 Delivered-To: freebsd-stable@freebsd.org Received: from quack.kfu.com (quack.kfu.com [205.178.90.194]) by hub.freebsd.org (Postfix) with ESMTP id 8765F37B43C for ; Thu, 28 Sep 2000 07:00:24 -0700 (PDT) Received: from medusa.kfu.com (medusa.kfu.com [205.178.90.222]) by quack.kfu.com (8.11.0/8.9.3) with ESMTP id e8SE0Me71090; Thu, 28 Sep 2000 07:00:22 -0700 (PDT) (envelope-from nsayer@quack.kfu.com) Received: from icarus.kfu.com (ssmail@localhost) by medusa.kfu.com (8.11.0/8.11.0) with ESMTP id e8SE0LV77954; Thu, 28 Sep 2000 07:00:21 -0700 (PDT) (envelope-from nsayer@quack.kfu.com) Received: from quack.kfu.com by icarus.kfu.com with ESMTP (8.11.0//ident-1.0) id e8SE0Lm49444; Thu, 28 Sep 2000 07:00:21 -0700 (PDT) Message-ID: <39D34EF5.2D4ACF45@quack.kfu.com> Date: Thu, 28 Sep 2000 07:00:21 -0700 From: Nick Sayer X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Neil Hoggarth Cc: freebsd-stable@freebsd.org Subject: Re: UP kernel on SMP machine? References: Content-Type: multipart/mixed; boundary="------------99A8EE58F09BE78855FC7950" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------99A8EE58F09BE78855FC7950 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Neil Hoggarth wrote: > > On Tue, 26 Sep 2000, Nick Sayer wrote: > > > 2. Unless I comment out the psignal(p, SIGPROF); line in kern_clock.c, > > spurious and seemingly random SIGPROFs are delivered as the rc scripts > > are starting, which causes pandemonium. > > Hi Nick, > > This is probably not an SMP issue. Myself and several others have been > having this sort of problem in 4-STABLE recently. Do you, by any chance, > have a Qlogic SCSI card? > > http://www.FreeBSD.org/cgi/search.cgi?words=profiling+and+timer&max=25&sort=score&source=freebsd-stable > > The lastest post from Mark Rowlands suggests that he's had some success > with a very recently CVSuped build, so the problem may be fixed ... > > Regards, Attached is the dmesg.boot from this machine. Note that it includes an attempt at sabotaging itself (the "Delivering SIGPROF!" line -- you replace the psignal(p, SIGPROF) line in kern_clock.c with a printf and the machine runs, albeit with profile timers effectively disabled). --------------99A8EE58F09BE78855FC7950 Content-Type: text/plain; charset=us-ascii; name="dmesg.boot" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.boot" Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.1-STABLE #3: Sun Sep 24 23:15:13 MDT 2000 nsayer@denver.sftw.com:/usr/src/sys/compile/DENVER Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (333.05-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x650 Stepping = 0 Features=0x183fbff real memory = 67108864 (65536K bytes) config> q avail memory = 61739008 (60292K bytes) Preloaded elf kernel "kernel" at 0xc0398000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc039809c. Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xecd0-0xecdf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xece0-0xecff irq 9 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered chip1: port 0x9000-0x900f at device 7.3 on pci0 pci0: at 9.0 irq 9 pcib2: at device 13.0 on pci0 pci2: on pcib2 isp0: port 0x7800-0x78ff mem 0xfd7fe000-0xfd7fefff irq 11 at device 6.0 on pci2 dc0: port 0x7c00-0x7c7f mem 0xfd7ff800-0xfd7ff87f irq 10 at device 7.0 on pci2 dc0: Ethernet address: 00:00:f8:7a:db:ac miibus0: on dc0 dcphy0: on miibus0 dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: port 0x7cc0-0x7cff mem 0xfd600000-0xfd6fffff,0xfd7fd000-0xfd7fdfff irq 9 at device 8.0 on pci2 fxp0: Ethernet address 00:02:b3:07:b3:b9 pcib3: at device 14.0 on pci0 pci3: on pcib3 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 pcm0: at port 0x530-0x533,0x388-0x38b,0x220-0x22f irq 5 drq 0,1 on isa0 acd0: CDROM at ata1-master using PIO4 Waiting 15 seconds for SCSI devices to settle isp0: 0.0 get user period 0xc offset 0x8 flags 0xfd00 isp0: 0.0 get current period 0x19 offset 0x0 flags 0xc5c0 isp0: 0.0 set current period 0xc offset 0x8 flags 0xfd00 Mounting root from ufs:/dev/da0s1a da0 at isp0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device isp0: 0.0 get current period 0xc offset 0x8 flags 0xfd00 da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 4091MB (8380080 512 byte sectors: 255H 63S/T 521C) WARNING: / was not properly dismounted Delivering SIGPROF! --------------99A8EE58F09BE78855FC7950-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message