From owner-freebsd-smp Mon Aug 30 10:43:18 1999 Delivered-To: freebsd-smp@freebsd.org Received: from tahoe.cinenet.net (ns1.cinenet.net [198.147.76.65]) by hub.freebsd.org (Postfix) with ESMTP id A95AE1515F for ; Mon, 30 Aug 1999 10:43:13 -0700 (PDT) (envelope-from sraja@cinenet.net) Received: from hermosa.cinenet.net (hermosa.cinenet.net [198.147.76.90]) by tahoe.cinenet.net (8.8.6/8.8.6) with SMTP id KAA29948; Mon, 30 Aug 1999 10:43:05 -0700 (PDT) Date: Mon, 30 Aug 1999 10:43:03 -0700 (PDT) From: Suresh Rajagopalan To: Matthew Dillon Cc: freebsd-smp@FreeBSD.ORG Subject: Re: SMP freezes on 3.2-STABLE In-Reply-To: <199908291614.JAA06121@apollo.backplane.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 > If when a machine freezes up you are able to escape into DDB, run the > 'trace' command and the 'ps' command prio to 'panic'ing the machine. > Hi: a) This time I was able to break into DDB. Here's the output (BTW, I had to transcribe this, is there any way to dump the output to a file?) ----------------------- panic rslock cpu #0 addr 0xcc848cb0 lock=0x00000001 mp_lock=0000000x, cpuid=0, lapic.id=010000000 Debugger panic, stopped at debugger 0x37, movl, $0_in debugger ---- b) trace shows the following: panic (c0241d25,0,cc848cb0,1,c01769d4) at panic 0xa4 bsl1 (cc848c40, 2, cbbe6860, cbe3043f, cc848d00) at bs1 nfs_lookup (cbf3de30, cbafce00, cbf3dedc, cbf3deb80) at nfs_lookup 0x22f lookup(cbf3deb8,cbbe6860,cbbe6860,cbf3df94,cbf3de74) at lookup 0x2c1 namei(cbf3deb8,cbbe6860,c0292740,0,8162ce4) at namei 0x133 stat(cbbe6860,cbf3df94,13,5,bfbfdd50) at stat 0x44 syscall(27,bfbf0027,bfbfdd50,5,bfbfdb28) at syscall 0x107 Xint0x80_syscall() at Xint)x80_syscall + 0x4c --- c) ps shows a few http and perl processes, some in nfsrecv state. The output was too long to copy by hand. Hope this helps. -- d) On one of the machines, I now also see this message in the syslog: xl0: command never completed (at random intervals) e) Also here is the output of /var/run/dmesg.boot 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.2-STABLE #0: Thu Aug 26 10:40:37 PDT 1999 root@web2.mediasc.com:/usr/src/sys/compile/STABLE1 Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III (686-class CPU) Origin = "GenuineIntel" Id = 0x672 Stepping = 2 Features=0x387fbff,MMX,FXSR,> real memory = 268435456 (262144K bytes) avail memory = 257658880 (251620K bytes) Programming 24 pins in IOAPIC #0 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 Preloaded elf kernel "kernel" at 0xc0314000. Probing for devices on PCI bus 0: chip0: rev 0x03 on pci0.0.0 chip1: rev 0x03 on pci0.1.0 chip2: rev 0x02 on pci0.4.0 ide_pci0: rev 0x01 on pci0.4.1 chip3: rev 0x02 on pci0.4.3 xl0: <3Com 3c905B-TX Fast Etherlink XL> rev 0x30 int a irq 18 on pci0.10.0 xl0: Ethernet address: 00:50:04:7d:08:1b xl0: autoneg complete, link status good (half-duplex, 10Mbps) Probing for devices on PCI bus 1: vga0: rev 0x7a int a irq 16 on pci1.0.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 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 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 8011MB (16408224 sectors), 16278 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (atapi): , removable, intr, dma, iordis acd0: drive speed 0 - 5500KB/sec, 128KB cache acd0: supported read types: CD-R, CD-RW, CD-DA, packet track acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked wdc1 not found at 0x170 wt0 not found at 0x300 mcd0 not found at 0x300 scd0 not found at 0x230 ppc0 at 0x378 irq 7 on isa ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppi0: on ppbus 0 plip0: on ppbus 0 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: routing 8254 via pin 2 changing root device to wd0s1a SMP: AP CPU #1 Launched! WARNING: / was not properly dismounted Thanks for your help. Suresh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message