From owner-freebsd-current@FreeBSD.ORG Fri Jun 18 22:12:58 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFDE016A4CE for ; Fri, 18 Jun 2004 22:12:58 +0000 (GMT) Received: from hellhound.ceribus.net (c-24-21-92-61.client.comcast.net [24.21.92.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09E1343D48 for ; Fri, 18 Jun 2004 22:12:56 +0000 (GMT) (envelope-from grover@ceribus.net) Received: (qmail 1402 invoked by uid 1003); 18 Jun 2004 22:12:45 -0000 Received: from grover@ceribus.net by hellhound.ceribus.net by uid 89 with qmail-scanner-1.22 (clamscan: 0.72. spamassassin: 2.63. Clear:RC:1(192.168.200.200):. Processed in 1.526449 secs); 18 Jun 2004 22:12:45 -0000 Received: from unknown (HELO purgatory) (192.168.200.200) by 192.168.200.225 with SMTP; 18 Jun 2004 22:12:43 -0000 From: "Grover Lines" To: Date: Fri, 18 Jun 2004 15:12:36 -0700 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0000_01C45546.B0B0B960" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcRVgVyzvofKtb/YShaT6XNDm7R5Jw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Qmail-Scanner-Message-ID: <10875967636721394@hellhound.ceribus.net> Message-Id: <20040618221256.09E1343D48@mx1.FreeBSD.org> cc: robert@fledge.watson.org Subject: Re: Stack backtrace X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 22:12:58 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C45546.B0B0B960 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I was reinstalling cvsup when the backtraces occurred. It caused a few but it seems it keeps doing them after it was done installing. Iv'e attached my Verbose dmesg and a part of my message log with the errors. Sorry it took so long to get back to you > On Fri, 18 Jun 2004, Grover Lines wrote: > > > I've been having some problems with cvsup corruption and haven't > > been able to trace it to the source so I decided to recompile my > > kernel with all GENERIC options and debugging to see if it was > > something that I had changed that caused the problem. I'm not sure > > what this means but it popped up during the build of cvsup. > > > > Is this a possible source of my problem or is this something not to > > worry about? > > This is unlikely to be the cause of the problem you're experiencing, > but it's also not something to be ignored. Basically, we're grabbing > the inpcb lock over a potentially blocking memory allocation, which is > a Bad Thing (tm). However, it's a non-trivial fix because it requires > some code plumbing. I'll work up a patch and see what I can do, but > it sounds like you need to keep looking to find the problem that's > actually causing it. Also, do you have any idea what application it was you used that triggered this message? > > Robert N M Watson FreeBSD Core Team, TrustedBSD Projects > robert@fledge.watson.org Senior Research Scientist, McAfee Research > > > > > > malloc(M_WAITOK) of "Mbuf", forcing M_NOWAIT with the following > > non-sleepable locks held: > > exclusive sleep mutex inp (tcpinp) r = 0 (0xc1d17bd0) locked @ > > /usr/src/sys/netinet/tcp_usrreq.c:1037 > > Stack backtrace: > > witness_warn(5,0,c08db91d,c08c1095,c08c5805) at witness_warn+0x194 > > uma_zalloc_arg(c1021b00,d6b19c0c,2,c066635e,0) at > > uma_zalloc_arg+0x50 > > ip_ctloutput(c284213c,d6b19cb8,c08ce5cb,40e,c1d17bd0) at > > ip_ctloutput+0x9b > > tcp_ctloutput(c284213c,d6b19cb8,0,0,0) at tcp_ctloutput+0xad > > sosetopt(c284213c,d6b19cb8,d6b19cb4,0,c284213c) at sosetopt+0x48 > > setsockopt(c1d4ddc0,d6b19d14,14,d6b19d48,5) at setsockopt+0xd4 > > syscall(2f,2f,2f,281a6920,3) at syscall+0x12f > > Xint0x80_syscall() at Xint0x80_syscall+0x1f > > --- syscall (105), eip = 0x28108fef, esp = 0xbfbfe91c, ebp = > > 0xbfbfe948 --- ------=_NextPart_000_0000_01C45546.B0B0B960 Content-Type: application/octet-stream; name="messages" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="messages" Jun 18 10:59:08 hellhound kernel: Copyright (c) 1992-2004 The FreeBSD = Project. Jun 18 10:59:08 hellhound kernel: Copyright (c) 1979, 1980, 1983, 1986, = 1988, 1989, 1991, 1992, 1993, 1994 Jun 18 10:59:08 hellhound kernel: The Regents of the University of = California. All rights reserved. Jun 18 10:59:08 hellhound kernel: FreeBSD 5.2-CURRENT #0: Fri Jun 18 = 10:11:08 PDT 2004 Jun 18 10:59:08 hellhound kernel: = root@hellhound.ceribus.net:/usr/obj/usr/src/sys/TEST Jun 18 10:59:08 hellhound kernel: WARNING: WITNESS option enabled, = expect reduced performance. Jun 18 10:59:08 hellhound kernel: Preloaded elf kernel = "/boot/kernel/kernel" at 0xc0afb000. Jun 18 10:59:08 hellhound kernel: Preloaded elf module = "/boot/kernel/acpi.ko" at 0xc0afb26c. Jun 18 10:59:08 hellhound kernel: Timecounter "i8254" frequency 1193182 = Hz quality 0 Jun 18 10:59:08 hellhound kernel: CPU: AMD Duron(tm) Processor = (1194.92-MHz 686-class CPU) Jun 18 10:59:08 hellhound kernel: Origin =3D "AuthenticAMD" Id =3D = 0x671 Stepping =3D 1 Jun 18 10:59:08 hellhound kernel: = Features=3D0x383f9ff Jun 18 10:59:08 hellhound kernel: AMD = Features=3D0xc0480000 Jun 18 10:59:08 hellhound kernel: real memory =3D 536805376 (511 MB) Jun 18 10:59:08 hellhound kernel: avail memory =3D 515616768 (491 MB) Jun 18 10:59:08 hellhound kernel: random: Jun 18 10:59:08 hellhound kernel: Pentium Pro MTRR support enabled Jun 18 10:59:08 hellhound kernel: npx0: [FAST] Jun 18 10:59:08 hellhound kernel: npx0: on motherboard Jun 18 10:59:08 hellhound kernel: npx0: INT 16 interface Jun 18 10:59:08 hellhound kernel: acpi0: on = motherboard Jun 18 10:59:08 hellhound kernel: acpi0: [GIANT-LOCKED] Jun 18 10:59:08 hellhound kernel: pcibios: BIOS version 2.10 Jun 18 10:59:08 hellhound kernel: acpi0: Power Button (fixed) Jun 18 10:59:08 hellhound kernel: Timecounter "ACPI-fast" frequency = 3579545 Hz quality 1000 Jun 18 10:59:08 hellhound kernel: acpi_timer0: <24-bit timer at = 3.579545MHz> port 0x808-0x80b on acpi0 Jun 18 10:59:08 hellhound kernel: cpu0: on = acpi0 Jun 18 10:59:08 hellhound kernel: pcib0: port = 0xcf8-0xcff on acpi0 Jun 18 10:59:08 hellhound kernel: pci0: on pcib0 Jun 18 10:59:08 hellhound kernel: pcib0: slot 3 INTA is routed to irq 10 Jun 18 10:59:08 hellhound kernel: pcib0: slot 9 INTA is routed to irq 11 Jun 18 10:59:08 hellhound kernel: agp0: mem = 0xd0000000-0xd03fffff at device 0.0 on pci0 Jun 18 10:59:08 hellhound kernel: pcib1: at device 1.0 = on pci0 Jun 18 10:59:08 hellhound kernel: pci1: on pcib1 Jun 18 10:59:08 hellhound kernel: isab0: at device 2.0 = on pci0 Jun 18 10:59:08 hellhound kernel: isa0: on isab0 Jun 18 10:59:08 hellhound kernel: atapci0: = port 0xff00-0xff0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.5 on = pci0 Jun 18 10:59:08 hellhound kernel: ata0: at 0x1f0 irq 14 on atapci0 Jun 18 10:59:08 hellhound kernel: ata1: at 0x170 irq 15 on atapci0 Jun 18 10:59:08 hellhound kernel: sis0: port = 0xdc00-0xdcff mem 0xcfddd000-0xcfdddfff irq 10 at device 3.0 on pci0 Jun 18 10:59:08 hellhound kernel: miibus0: on sis0 Jun 18 10:59:08 hellhound kernel: rlphy0: on miibus0 Jun 18 10:59:08 hellhound kernel: rlphy0: 10baseT, 10baseT-FDX, = 100baseTX, 100baseTX-FDX, auto Jun 18 10:59:08 hellhound kernel: sis0: Ethernet address: = 00:07:95:eb:33:bc Jun 18 10:59:08 hellhound kernel: sis0: [GIANT-LOCKED] Jun 18 10:59:08 hellhound kernel: pci0: at device 9.0 (no = driver attached) Jun 18 10:59:08 hellhound kernel: acpi_button0: on acpi0 Jun 18 10:59:08 hellhound kernel: atkbdc0: = port 0x64,0x60 irq 1 on acpi0 Jun 18 10:59:08 hellhound kernel: atkbd0: irq 1 on atkbdc0 Jun 18 10:59:08 hellhound kernel: kbd0 at atkbd0 Jun 18 10:59:08 hellhound kernel: atkbd0: [GIANT-LOCKED] Jun 18 10:59:08 hellhound kernel: ppc0 port 0x378-0x37f irq 7 on acpi0 Jun 18 10:59:08 hellhound kernel: ppc0: Generic chipset (NIBBLE-only) in = COMPATIBLE mode Jun 18 10:59:08 hellhound kernel: ppbus0: on ppc0 Jun 18 10:59:08 hellhound kernel: plip0: on = ppbus0 Jun 18 10:59:08 hellhound kernel: lpt0: on ppbus0 Jun 18 10:59:08 hellhound kernel: lpt0: Interrupt-driven port Jun 18 10:59:08 hellhound kernel: ppi0: on ppbus0 Jun 18 10:59:08 hellhound kernel: orm0: