Date: Thu, 28 Sep 2000 07:00:21 -0700 From: Nick Sayer <nsayer@quack.kfu.com> To: Neil Hoggarth <njh@kernighan.demon.co.uk> Cc: freebsd-stable@freebsd.org Subject: Re: UP kernel on SMP machine? Message-ID: <39D34EF5.2D4ACF45@quack.kfu.com> References: <Pine.BSF.4.21.0009280934360.314-100000@homebrew.kernighan.demon.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> 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: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82443LX (440 LX) host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <Intel 82443LX (440 LX) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 ATA33 controller> port 0xecd0-0xecdf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xece0-0xecff irq 9 at device 7.2 on pci0 usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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: <Intel 82371AB Power management controller> port 0x9000-0x900f at device 7.3 on pci0 pci0: <VGA-compatible display device> at 9.0 irq 9 pcib2: <DEC 21152 PCI-PCI bridge> at device 13.0 on pci0 pci2: <PCI bus> on pcib2 isp0: <Qlogic ISP 1020/1040 PCI SCSI Adapter> port 0x7800-0x78ff mem 0xfd7fe000-0xfd7fefff irq 11 at device 6.0 on pci2 dc0: <Intel 21143 10/100BaseTX> port 0x7c00-0x7c7f mem 0xfd7ff800-0xfd7ff87f irq 10 at device 7.0 on pci2 dc0: Ethernet address: 00:00:f8:7a:db:ac miibus0: <MII bus> on dc0 dcphy0: <Intel 21143 NWAY media interface> on miibus0 dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: <Intel Pro 10/100B/100+ Ethernet> 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: <DEC 21154 PCI-PCI bridge> at device 14.0 on pci0 pci3: <PCI bus> on pcib3 fdc0: <NEC 72065B or clone> 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: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> 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: <Parallel port> 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: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 pcm0: <CS423x> at port 0x530-0x533,0x388-0x38b,0x220-0x22f irq 5 drq 0,1 on isa0 acd0: CDROM <TOSHIBA CD-ROM XM-6202B> 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: <DEC RZ1CC-BA (C) DEC 883F> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39D34EF5.2D4ACF45>