From owner-freebsd-current Fri Nov 8 15:52:24 2002 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 4E5F037B401 for ; Fri, 8 Nov 2002 15:52:22 -0800 (PST) Received: from grasshopper.iavmb.pl (grasshopper.iavmb.pl [217.153.79.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77FC043E6E for ; Fri, 8 Nov 2002 15:50:58 -0800 (PST) (envelope-from beaker@iavision.com) Received: from localhost (localhost.iavmb.pl [127.0.0.1]) by grasshopper.iavmb.pl (Postfix) with ESMTP id 131BA3284D55; Sat, 9 Nov 2002 00:50:32 +0100 (CET) Received: by grasshopper.iavmb.pl (Postfix, from userid 1001) id 032B23284D4E; Sat, 9 Nov 2002 00:50:30 +0100 (CET) To: current@freebsd.org Subject: fetch hates me! (panic) From: Krzysztof =?iso-8859-2?q?J=EAdruczyk?= Date: 09 Nov 2002 00:50:30 +0100 Message-ID: <86n0ojbozd.fsf@grasshopper.iavmb.pl> Lines: 47 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by AMaViS perl-11 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 I was trying to do 'portupgrade portupgrade' today and my -CURRENT system rebooted. Strange - I haven't seen such behaviour before. I believe it wouldn't happen before my last upgrade (it was 30-10-2002 -CURRENT system, and I cvsup'ed it on 6-11-2002) After reboot I retried portupgrade - samre result. During next few reboot cycles I managed to narrow the problem a little - I am getting 100% reproducible panics when running this script as root: #!/bin/sh export FTP_PASSIVE_MODE=3Dno fetch -v ftp://ftp.iDaemons.org/pub/distfiles/pkgtools-20021103-20021106.di= ff.bz2 So I've compiled in DDB, INVARIANTS and WITNESS stuff I have previously removed from kernel. Here is the information I gathered: 1. First - I think this might be important (kernel message after samba has started): Local package initialization: apache2 proftpd rtc Sambaacquiring duplicate lock of same type: "inp" 1st inp @ /usr/src/sys/netinet/udp_usrreq.c:290 2nd inp @ /usr/src/sys/netinet/udp_usrreq.c:290 2. The crash (result of running the script). This is hand-copied, I don't even have swap-space for crash dumps... panic: process 657(fetch):32 holds inp but isn't blocked on a mutex Debugger("panic") Stopped at Debugger+0x4d: xchgl %ebx,in_Debugger.0 db> trace Debugger(c03906fb,c0405100,c038f900,d68bdc30,1) at ... panic ... propagate_priority(c152ea90,2,c038f82d23b,c4522c7c) at propagate_priority+0= x1bf _mtx_lock_sleep(c4522c7c,0,c03968a9,182,c4524ee0) at _mtx_lock_sleep+0x217 _mtx_lock_flags(c4522c72,0,c039b8a9,182,c03913eb) at _mtx_lock_flags+0x97 syncache_timer(2,0,c03913eb,bf,39a5) at syncache_timer+0xa4 softclock(0,0,c038e13c,230,c152da80) at softclock+0x18c ithread_loop(c151c600,d68bdd48,c038de9b,354,c152ea90) at ithread_loop+0x16c fork_exit(c01efef0,c151c600,a68bdd48) at fork_exit+0xa5 fork_trampoline() at fork_trampoline+0x1a ---trap 0x1, eip=3D0, esp=3D0xd68bdd7c, ebp=3D0 --- -- Krzysztof J=EAdruczyk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message