From owner-freebsd-current Fri May 25 11:24:38 2001 Delivered-To: freebsd-current@freebsd.org Received: from southpass.baynetworks.com (ns2.BayNetworks.COM [134.177.3.16]) by hub.freebsd.org (Postfix) with ESMTP id B851537B423; Fri, 25 May 2001 11:24:30 -0700 (PDT) (envelope-from thomma@BayNetworks.COM) Received: from mailhost.BayNetworks.COM (ns3.baynetworks.com [132.245.204.12]) by southpass.baynetworks.com (8.9.1/8.9.1) with ESMTP id LAA13282; Fri, 25 May 2001 11:14:20 -0700 (PDT) Received: from fedex.engwest.baynetworks.com (fedex.engwest.baynetworks.com [134.177.110.46]) by mailhost.BayNetworks.COM (8.9.1/8.8.8) with ESMTP id OAA13087; Fri, 25 May 2001 14:24:28 -0400 (EDT) Received: from carrera.engwest (carrera [134.177.160.237]) by fedex.engwest.baynetworks.com (8.8.8+Sun/8.8.8) with SMTP id LAA05973; Fri, 25 May 2001 11:23:40 -0700 (PDT) Received: from localhost by carrera.engwest (SMI-8.6/SMI-SVR4) id LAA04160; Fri, 25 May 2001 11:18:44 -0700 To: jhb@freebsd.org Cc: freebsd-current@freebsd.org, alfred@freebsd.org Subject: RE: Panic vm_page_alloc(sendfile) In-Reply-To: Your message of "Fri, 25 May 2001 10:47:51 -0700 (PDT)" References: X-Mailer: Mew version 1.92 on Emacs 19.28 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010525111844N.thomma@baynetworks.com> Date: Fri, 25 May 2001 11:18:44 -0700 From: Tamiji Homma X-Dispatcher: imput version 971024 Lines: 71 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG John, Thank you for quick patch. But I hate to report "The patch didn't work." You need another patch to try ;-) Here is trace back. I omitted details (I still do hand copy) If you need exact trace back, I'll have to setup serial port. panic: mutex vm not owned at ../../vm/vm_page.h:320 Debugger("panic") Stop at Debugger+0x44: pushl %ebx db> trace Debugger panic _mtx_assert vm_page_unwire sf_buf_free sbdrop tcp_input ip_input ipintr swi_net ithread_loop fork_exit fork_trampoline Tammy From: John Baldwin Subject: RE: Panic vm_page_alloc(sendfile) Date: Fri, 25 May 2001 10:47:51 -0700 (PDT) Message-ID: jhb> jhb> On 25-May-01 Tamiji Homma wrote: jhb> > Hi, jhb> > jhb> > I noticed this panic for last few days on my -current jhb> > sandbox laptop. jhb> > jhb> > When I do FTP get file from the machine running jhb> > -current causes panic like below (hand copied). jhb> > jhb> > The machine running ftpd panics not FTP client side. jhb> > I have not tried FTP put yet... It may panic at FTP jhb> > client side as well. jhb> > jhb> > My last cvsup was around 22:00 PDT on May 24 2001. jhb> > jhb> > panic: mutex vm not owned at ../../vm/vm_page.c:755 jhb> > Debugger("panic") jhb> > db> trace jhb> > Debugger(c038865b) at Debugger+0x44 jhb> > panic(c0387828,c03a0554,c03a1eaf,2f3,0) at panic+0x70 jhb> > _mtx_assert(c045ca20,1,c03a1eaf,2f3) at _mtx_assert+0x49 jhb> > vm_page_alloc(c8bcc9c0,0,0,c8b04b9c,c8b04a80) at vm_page_alloc+0x22 jhb> > sendfile(c8b04a80,c8b43f80,0,0,381508) at sendfile+0x31e jhb> > syscall(2f,2f,2f,381508,0) at syscall+0x689 jhb> > syscall_with_err_pushed() at syscall_with_err_pushed+0x1b jhb> > jhb> > PS: I am not subscribed to -current but subscribed to jhb> > current-digest so if it is already reported/fixed, sorry... jhb> jhb> Cool, thanks for the bug report. Please try the patch at jhb> http://www.FreeBSD.org/~jhb/patches/sendfile.patch. jhb> jhb> -- jhb> jhb> John Baldwin -- http://www.FreeBSD.org/~jhb/ jhb> PGP Key: http://www.baldwin.cx/~john/pgpkey.asc jhb> "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message