From owner-freebsd-current Tue Nov 28 8:19: 3 2000 Delivered-To: freebsd-current@freebsd.org Received: from thelab.hub.org (CDR22-173.accesscable.net [24.138.22.173]) by hub.freebsd.org (Postfix) with ESMTP id 8386237B402 for ; Tue, 28 Nov 2000 08:18:58 -0800 (PST) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.11.1/8.11.1) with ESMTP id eASGIR710400; Tue, 28 Nov 2000 12:18:27 -0400 (AST) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Tue, 28 Nov 2000 12:18:27 -0400 (AST) From: The Hermit Hacker To: Alfred Perlstein Cc: freebsd-current@FreeBSD.ORG Subject: Re: system hangs ... not sure how to debug ... In-Reply-To: <20001127221148.X8051@fw.wintelcom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 27 Nov 2000, Alfred Perlstein wrote: > * Alfred Perlstein [001127 21:56] wrote: > > * The Hermit Hacker [001127 18:12] wrote: > > > > > > Morning all ... > > > > > > Every since the SMPng code went into -current way back when, I've > > > been experiencing hangs ... and am not quite sure how to debug this. I'm > > > in X all the time, so breaking to the debugger to see where its hanging > > > isn't possible ... > > > > > > Some kernels its relatively easy to trigger, some kernels are > > > harder to trigger, but they all do at some point in time ... > > > > > > Can someone suggestion a method of being able to debug this? > > > > Serial console, add BREAK_TO_DEBUGGER (sp?) to your kernel config and > > hook your laptop up to it. > > Marc, I noticed you tried the BREAK_TO_DEBUGGER and whatnot already, > perhaps letting us know what hardware you have in your smp box > might help some, I'm running SMP and doing buildworlds and kernel > compiles without a problem. I'm not however, running X nor > doing any desktop work on it. > > I think I also figured out what makes the box so damn sluggish > when doing lots of IO *bops dillon* :) well, here's a current dmesg .. any more detail then that needed? 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 5.0-CURRENT #0: Sun Nov 26 18:22:52 AST 2000 root@thelab.hub.org:/usr/local/mp3/obj/usr/local/base/src/sys/kernel Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (467.73-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183fbff real memory = 268435456 (262144K bytes) avail memory = 258248704 (252196K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 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 Preloaded elf kernel "kernel" at 0xc0309000. Preloaded elf module "random.ko" at 0xc030909c. Pentium Pro MTRR support enabled Using $PIR table, 8 entries at 0xc00fdef0 npx0: on motherboard npx0: INT 16 interface pcib0: at pcibus 0 on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 16 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 pci0: at 7.2 irq 11 Timecounter "PIIX" frequency 3579545 Hz pci0: at 7.3 ahc0: port 0xc400-0xc4ff mem 0xef000000-0xef000fff irq 19 at device 9.0 on pci0 aic7850: Single Channel A, SCSI Id=7, 3/255 SCBs vx0: <3COM 3C590 Etherlink III PCI> port 0xc800-0xc81f irq 18 at device 11.0 on pci0 utp[*utp*]: disable 'auto select' with DOS util! address 00:20:af:f7:8f:d2 Warning! Defective early revision adapter! ahc1: port 0xcc00-0xccff mem 0xef001000-0xef001fff irq 17 at device 13.0 on pci0 aic7880: Wide Channel A, SCSI Id=7, 16/255 SCBs pci0: (vendor=0x1274, dev=0x5000) at 17.0 irq 19 atapci1: port 0xdc00-0xdcff,0xd800-0xd803,0xd400-0xd407 irq 18 at device 19.0 on pci0 ata2: at 0xd400 on atapci1 atapci2: port 0xe800-0xe8ff,0xe400-0xe403,0xe000-0xe007 irq 18 at device 19.1 on pci0 ata3: at 0xe000 on atapci2 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 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 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources unknown: can't assign resources APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 acd0: CDROM at ata0-master using PIO4 Waiting 15 seconds for SCSI devices to settle sa0 at ahc0 bus 0 target 4 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 5.000MB/s transfers (5.000MHz, offset 15) da0 at ahc1 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled da0: 6208MB (12715920 512 byte sectors: 255H 63S/T 791C) ch0 at ahc0 bus 0 target 4 lun 1 ch0: Removable Changer SCSI-2 device ch0: 5.000MB/s transfers (5.000MHz, offset 15) ch0: 7 slots, 1 drive, 1 picker, 0 portals Mounting root from ufs:/dev/da0s2a da1 at ahc1 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled da1: 8727MB (17873040 512 byte sectors: 255H 63S/T 1112C) SMP: AP CPU #1 Launched! vx0: promiscuous mode enabled To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message