Date: Tue, 28 Nov 2000 12:18:27 -0400 (AST) From: The Hermit Hacker <scrappy@hub.org> To: Alfred Perlstein <bright@wintelcom.net> Cc: freebsd-current@FreeBSD.ORG Subject: Re: system hangs ... not sure how to debug ... Message-ID: <Pine.BSF.4.21.0011281217550.323-100000@thelab.hub.org> In-Reply-To: <20001127221148.X8051@fw.wintelcom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 27 Nov 2000, Alfred Perlstein wrote: > * Alfred Perlstein <bright@wintelcom.net> [001127 21:56] wrote: > > * The Hermit Hacker <scrappy@hub.org> [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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> 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: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard pci0: <PCI bus> on pcib0 pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <NVidia GeForce 256 graphics accelerator> at 0.0 irq 16 isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 11 Timecounter "PIIX" frequency 3579545 Hz pci0: <Intel 82371AB Power management controller> at 7.3 ahc0: <Adaptec 2910/15/20/30C SCSI adapter> 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: <Adaptec 2940 Ultra SCSI adapter> 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: <unknown card> (vendor=0x1274, dev=0x5000) at 17.0 irq 19 atapci1: <HighPoint HPT366 ATA66 controller> port 0xdc00-0xdcff,0xd800-0xd803,0xd400-0xd407 irq 18 at device 19.0 on pci0 ata2: at 0xd400 on atapci1 atapci2: <HighPoint HPT366 ATA66 controller> port 0xe800-0xe8ff,0xe400-0xe403,0xe000-0xe007 irq 18 at device 19.1 on pci0 ata3: at 0xe000 on atapci2 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 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 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: <PNP0303> can't assign resources unknown: <PNP0501> can't assign resources unknown: <PNP0400> can't assign resources unknown: <PNP0501> can't assign resources APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 acd0: CDROM <CD-ROM 32X/AKU> at ata0-master using PIO4 Waiting 15 seconds for SCSI devices to settle sa0 at ahc0 bus 0 target 4 lun 0 sa0: <DEC DLT2700 851A> 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: <SEAGATE ST36530N 1281> 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: <DEC TZ Media Changer 851A> 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: <WDIGTL WD91 ULTRA2 1.00> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011281217550.323-100000>