Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Sep 2000 18:18:39 +0200 (CEST)
From:      Michael Reifenberger <root@nihil.plaut.de>
To:        Greg Lehey <grog@lemis.com>
Cc:        FreeBSD-Current <current@FreeBSD.ORG>, FreeBSD-SMP <freebsd-smp@FreeBSD.ORG>
Subject:   Re: Debugging -current SMPNG HANG on heavy disk-io
Message-ID:  <Pine.BSF.4.21.0009171817301.1035-100000@localhost>
In-Reply-To: <20000917102824.C42114@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
if the order of the ps macro is correct, here the backtraces of the procs 35,36,37:

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: Sat Sep 16 19:32:53 CEST 2000
    root@nihil.plaut.de:/usr/obj/usr/src/sys/nihil
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 266615847 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (266.62-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 268369920 (262080K bytes)
config> #flags wdc0 0xa0ffa0ff
Invalid command or syntax.  Type `?' for help.
config> #flags wdc1 0xa0ffa0ff
Invalid command or syntax.  Type `?' for help.
config> #iosiz npx0 196608
Invalid command or syntax.  Type `?' for help.
config> #irq pcic0 11
Invalid command or syntax.  Type `?' for help.
config> quit
avail memory = 257589248 (251552K bytes)
Preloaded elf kernel "kernel.ko" at 0xc03ad000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc03ad0ac.
Preloaded elf module "linux.ko" at 0xc03ad0fc.
Preloaded elf module "linprocfs.ko" at 0xc03ad19c.
Pentium Pro MTRR support enabled
VESA: v2.0, 2496k memory, flags:0x0, mode table:0xc031ee42 (1000022)
VESA: MagicGraph 256 AV 44K PRELIMINARY
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX host to PCI bridge (AGP disabled)> on motherboard
pci0: <PCI bus> on pcib0
pci0: <NeoMagic MagicMedia 256AV SVGA controller> at 4.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 5.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfe60-0xfe6f at device 5.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 5.2 irq 11
pci0: <Intel 82371AB Power management controller> at 5.3
pci0: <Toshiba Fast Infra Red controller> at 9.0 irq 11
pcic-pci0: <Toshiba ToPIC97 PCI-CardBus Bridge> at device 11.0 on pci0
pcic-pci1: <Toshiba ToPIC97 PCI-CardBus Bridge> at device 11.1 on pci0
fdc0: <NEC 765 or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 flags 0x40 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pps0: <Pulse per second Timing Interface> on ppbus0
pcic0: <Intel i82365> at port 0x3e0-0x3e1 on isa0
pcic0: Polling mode
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
unknown: <PNP0303> can't assign resources
unknown: <PNP0f13> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0401> can't assign resources
unknown: <PNP0e03> can't assign resources
pcm0: <Yamaha OPL-SAx> at port 0x220-0x233,0x530-0x537,0x388-0x38f,0x330-0x333,0x538-0x539 irq 5 drq 1,0 on isa0
IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to deny, logging limited to 100 packets/entry by default
IPsec: Initialized Security Association Processing.
ad0: 24207MB <IBM-DARA-225000> [49184/16/63] at ata0-master using UDMA33
ad1: 6194MB <IBM-DADA-26480> [13424/15/63] at ata1-master using UDMA33
Mounting root from ufs:/dev/ad0s1a
pccard: card inserted, slot 0
panic: from debugger

syncing disks... 
done
Uptime: 3h22m40s

dumping to dev #ad/0x20001, offset 2547840
dump ata0: resetting devices .. done
255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 
---
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:475
475		dumppcb.pcb_cr3 = rcr3();
(kgdb) proc 37
(kgdb) bt
#0  mi_switch () at /usr/src/sys/kern/kern_synch.c:953
#1  0xc017e2f0 in msleep (ident=0xc9663f20, mtx=0x0, priority=0x110, wmesg=0xc028b101 "piperd", timo=0x0)
    at /usr/src/sys/kern/kern_synch.c:506
#2  0xc018e5bc in pipe_read (fp=0xc1258cc0, uio=0xc9666ec4, cred=0xc0ea9f80, flags=0x0, p=0xc7874a00)
    at /usr/src/sys/kern/sys_pipe.c:445
#3  0xc018d01e in dofileread (p=0xc7874a00, fp=0xc1258cc0, fd=0x0, buf=0x80ac000, nbyte=0x2800, 
    offset=0xffffffffffffffff, flags=0x0) at /usr/src/sys/sys/file.h:141
#4  0xc018cf47 in read (p=0xc7874a00, uap=0xc9666f80) at /usr/src/sys/kern/sys_generic.c:110
#5  0xc0261aec in syscall2 (frame={tf_fs = 0x2f, tf_es = 0x80b002f, tf_ds = 0xbfbf002f, tf_edi = 0xbfbffd60, 
      tf_esi = 0x1, tf_ebp = 0xbfbffc6c, tf_isp = 0xc9666fd4, tf_ebx = 0x1, tf_edx = 0x2800, tf_ecx = 0x80ae600, 
      tf_eax = 0x3, tf_trapno = 0x7, tf_err = 0x2, tf_eip = 0x8089494, tf_cs = 0x1f, tf_eflags = 0x297, 
      tf_esp = 0xbfbffc40, tf_ss = 0x2f}) at /usr/src/sys/i386/i386/trap.c:1136
#6  0xc0255b0f in Xint0x80_syscall ()
#7  0x80499e5 in ?? ()
#8  0x80481fd in ?? ()
#9  0x8050976 in ?? ()
#10 0x80505db in ?? ()
#11 0x80528f6 in ?? ()
#12 0x8048135 in ?? ()
(kgdb) proc 36
(kgdb) bt
#0  mi_switch () at /usr/src/sys/kern/kern_synch.c:953
#1  0xc017e2f0 in msleep (ident=0xc02f4220, mtx=0xc0322fc0, priority=0x2, wmesg=0xc02a2b00 "FFS node", timo=0x0)
    at /usr/src/sys/kern/kern_synch.c:506
#2  0xc01762bc in malloc (size=0x104, type=0xc02f4220, flags=0x0) at /usr/src/sys/kern/kern_malloc.c:171
#3  0xc021fecb in ffs_vget (mp=0xc1070000, ino=0x1dddba, vpp=0xc960bd40) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1045
#4  0xc0223575 in ufs_lookup (ap=0xc960bd98) at /usr/src/sys/ufs/ufs/ufs_lookup.c:551
#5  0xc0227bd1 in ufs_vnoperate (ap=0xc960bd98) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2263
#6  0xc01a6df3 in vfs_cache_lookup (ap=0xc960bdf0) at vnode_if.h:77
#7  0xc0227bd1 in ufs_vnoperate (ap=0xc960bdf0) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2263
#8  0xc01a9f44 in lookup (ndp=0xc960be6c) at vnode_if.h:52
#9  0xc01a9968 in namei (ndp=0xc960be6c) at /usr/src/sys/kern/vfs_lookup.c:153
#10 0xc01afaa9 in lstat (p=0xc7874bc0, uap=0xc960bf80) at /usr/src/sys/kern/vfs_syscalls.c:1787
#11 0xc0261aec in syscall2 (frame={tf_fs = 0x2f, tf_es = 0x80a002f, tf_ds = 0xbfbf002f, tf_edi = 0x80b8030, 
      tf_esi = 0x80b802c, tf_ebp = 0xbfbffa74, tf_isp = 0xc960bfd4, tf_ebx = 0x14, tf_edx = 0x80af200, 
      tf_ecx = 0x80af200, tf_eax = 0xbe, tf_trapno = 0x7, tf_err = 0x2, tf_eip = 0x805e354, tf_cs = 0x1f, 
      tf_eflags = 0x293, tf_esp = 0xbfbff9e8, tf_ss = 0x2f}) at /usr/src/sys/i386/i386/trap.c:1136
#12 0xc0255b0f in Xint0x80_syscall ()
#13 0x804b0cd in ?? ()
#14 0x804b0cd in ?? ()
#15 0x804b0cd in ?? ()
#16 0x804b0cd in ?? ()
#17 0x804a431 in ?? ()
#18 0x8052801 in ?? ()
#19 0x8048135 in ?? ()
(kgdb) proc 35
(kgdb) bt
#0  mi_switch () at /usr/src/sys/kern/kern_synch.c:953
#1  0xc017e2f0 in msleep (ident=0xc1d2fa00, mtx=0x0, priority=0x8, wmesg=0xc02a2c62 "inode", timo=0x0)
    at /usr/src/sys/kern/kern_synch.c:506
#2  0xc01750f2 in acquire (lkp=0xc1d2fa00, extflags=0x1000040, wanted=0x600) at /usr/src/sys/kern/kern_lock.c:147
#3  0xc017537c in lockmgr (lkp=0xc1d2fa00, flags=0x1010002, interlkp=0xc9b371ec, p=0xc7874d80)
    at /usr/src/sys/kern/kern_lock.c:354
#4  0xc01a8ba8 in vop_stdlock (ap=0xc9608d34) at /usr/src/sys/kern/vfs_default.c:243
#5  0xc0227bd1 in ufs_vnoperate (ap=0xc9608d34) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2263
#6  0xc01b35e3 in vn_lock (vp=0xc9b37180, flags=0x10002, p=0xc7874d80) at vnode_if.h:840
#7  0xc01abc8b in vget (vp=0xc9b37180, flags=0x2, p=0xc7874d80) at /usr/src/sys/kern/vfs_subr.c:1393
#8  0xc01a6d18 in vfs_cache_lookup (ap=0xc9608df0) at /usr/src/sys/kern/vfs_cache.c:470
#9  0xc0227bd1 in ufs_vnoperate (ap=0xc9608df0) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2263
#10 0xc01a9f44 in lookup (ndp=0xc9608e6c) at vnode_if.h:52
#11 0xc01a9968 in namei (ndp=0xc9608e6c) at /usr/src/sys/kern/vfs_lookup.c:153
#12 0xc01afaa9 in lstat (p=0xc7874d80, uap=0xc9608f80) at /usr/src/sys/kern/vfs_syscalls.c:1787
#13 0xc0261aec in syscall2 (frame={tf_fs = 0xc025002f, tf_es = 0x2f, tf_ds = 0x2f, tf_edi = 0x80b8030, 
      tf_esi = 0x80b802c, tf_ebp = 0xbfbffa6c, tf_isp = 0xc9608fd4, tf_ebx = 0x14, tf_edx = 0x80af200, 
      tf_ecx = 0x80af200, tf_eax = 0xbe, tf_trapno = 0x7, tf_err = 0x2, tf_eip = 0x805e354, tf_cs = 0x1f, 
      tf_eflags = 0x283, tf_esp = 0xbfbff9e0, tf_ss = 0x2f}) at /usr/src/sys/i386/i386/trap.c:1136
#14 0xc0255b0f in Xint0x80_syscall ()
#15 0x804b0cd in ?? ()
#16 0x804b0cd in ?? ()
#17 0x804b0cd in ?? ()
#18 0x804b0cd in ?? ()
#19 0x804a431 in ?? ()
#20 0x8052801 in ?? ()
#21 0x8048135 in ?? ()
(kgdb) quit

Bye!
----
Michael Reifenberger
^.*Plaut.*$, IT, R/3 Basis, GPS



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.0009171817301.1035-100000>