From owner-freebsd-ia64@FreeBSD.ORG Mon Mar 29 11:06:57 2010 Return-Path: Delivered-To: freebsd-ia64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB98F106567F for ; Mon, 29 Mar 2010 11:06:57 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9FAE48FC12 for ; Mon, 29 Mar 2010 11:06:57 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2TB6vQP058015 for ; Mon, 29 Mar 2010 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2TB6vCb058013 for freebsd-ia64@FreeBSD.org; Mon, 29 Mar 2010 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 29 Mar 2010 11:06:57 GMT Message-Id: <201003291106.o2TB6vCb058013@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ia64@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-ia64@FreeBSD.org X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2010 11:06:57 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ia64/113102 ia64 [MCA] Multiple records can have the same sequence numb 1 problem total. From owner-freebsd-ia64@FreeBSD.ORG Mon Mar 29 11:40:06 2010 Return-Path: Delivered-To: ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8BC21065670; Mon, 29 Mar 2010 11:40:06 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 783D28FC19; Mon, 29 Mar 2010 11:40:06 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id o2TBe5F1018116; Mon, 29 Mar 2010 07:40:05 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id o2TBe53R018104; Mon, 29 Mar 2010 11:40:05 GMT (envelope-from tinderbox@freebsd.org) Date: Mon, 29 Mar 2010 11:40:05 GMT Message-Id: <201003291140.o2TBe53R018104@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on ia64/ia64 X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2010 11:40:06 -0000 TB --- 2010-03-29 10:34:35 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-03-29 10:34:35 - starting HEAD tinderbox run for ia64/ia64 TB --- 2010-03-29 10:34:35 - cleaning the object tree TB --- 2010-03-29 10:34:54 - cvsupping the source tree TB --- 2010-03-29 10:34:54 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/ia64/ia64/supfile TB --- 2010-03-29 10:35:43 - building world TB --- 2010-03-29 10:35:43 - MAKEOBJDIRPREFIX=/obj TB --- 2010-03-29 10:35:43 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-03-29 10:35:43 - TARGET=ia64 TB --- 2010-03-29 10:35:43 - TARGET_ARCH=ia64 TB --- 2010-03-29 10:35:43 - TZ=UTC TB --- 2010-03-29 10:35:43 - __MAKE_CONF=/dev/null TB --- 2010-03-29 10:35:43 - cd /src TB --- 2010-03-29 10:35:43 - /usr/bin/make -B buildworld >>> World build started on Mon Mar 29 10:35:44 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] /src/usr.bin/calendar/parsedata.c:194: warning: passing argument 2 of 'checkmonth' from incompatible pointer type /src/usr.bin/calendar/parsedata.c:194: warning: passing argument 3 of 'checkmonth' from incompatible pointer type /src/usr.bin/calendar/parsedata.c:195: warning: passing argument 2 of 'checkmonth' from incompatible pointer type /src/usr.bin/calendar/parsedata.c:195: warning: passing argument 3 of 'checkmonth' from incompatible pointer type /src/usr.bin/calendar/parsedata.c:212: warning: passing argument 2 of 'checkdayofweek' from incompatible pointer type /src/usr.bin/calendar/parsedata.c:212: warning: passing argument 3 of 'checkdayofweek' from incompatible pointer type /src/usr.bin/calendar/parsedata.c:242: warning: passing argument 2 of 'checkdayofweek' from incompatible pointer type /src/usr.bin/calendar/parsedata.c:242: warning: passing argument 3 of 'checkdayofweek' from incompatible pointer type *** Error code 1 Stop in /src/usr.bin/calendar. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-03-29 11:40:05 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-03-29 11:40:05 - ERROR: failed to build world TB --- 2010-03-29 11:40:05 - 3044.61 user 499.83 system 3930.58 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-ia64-ia64.full From owner-freebsd-ia64@FreeBSD.ORG Wed Mar 31 19:05:29 2010 Return-Path: Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BB2B1065674; Wed, 31 Mar 2010 19:05:29 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id EC24D8FC0C; Wed, 31 Mar 2010 19:05:28 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1Nx3EF-0001uH-JB; Wed, 31 Mar 2010 20:05:27 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1Nx3EF-0004CK-0C; Wed, 31 Mar 2010 20:05:27 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id o2VJ5QSh061608; Wed, 31 Mar 2010 20:05:26 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id o2VJ5QDo061607; Wed, 31 Mar 2010 20:05:26 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Wed, 31 Mar 2010 20:05:26 +0100 From: Anton Shterenlikht To: Nathaniel W Filardo , freebsd-ia64@freebsd.org Message-ID: <20100331190526.GB55657@mech-cluster241.men.bris.ac.uk> References: <201003311850.o2VIoCE4014962@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201003311850.o2VIoCE4014962@freefall.freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: bug-followup@freebsd.org Subject: Re: kern/145211: Memory modified after free X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2010 19:05:29 -0000 On Wed, Mar 31, 2010 at 06:50:12PM +0000, Nathaniel W Filardo wrote: > The following reply was made to PR sparc64/145211; it has been noted by GNATS. > > From: Nathaniel W Filardo > To: bug-followup@freebsd.org > Cc: > Subject: Re: kern/145211: Memory modified after free > Date: Wed, 31 Mar 2010 14:49:40 -0400 > > It occurs to me to add that at least the second crash was correlated with a > burst of traffic on bge2, which usually sits idle. FWIW, bge0 and bge3 are > typically busy, and bge1 is not connected. Is it possible that this is a > bge bug? I'll be recreating the busy-bge2 scenario to test other things > anyway and will report should it trigger a panic again. FWIW I've had this twice on ia64 -current. It also seems to follow bge activity, but not sure about the "bursts": http://seis.bris.ac.uk/~mexas/freebsd/ia64/rx2600/tzav/messages -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-ia64@FreeBSD.ORG Wed Mar 31 20:56:09 2010 Return-Path: Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C48E106566C; Wed, 31 Mar 2010 20:56:09 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id BFEC68FC16; Wed, 31 Mar 2010 20:56:08 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1Nx4xL-0000er-ER; Wed, 31 Mar 2010 21:56:07 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1Nx4xL-0002Ex-6h; Wed, 31 Mar 2010 21:56:07 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id o2VKu6wH001616; Wed, 31 Mar 2010 21:56:06 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id o2VKu6li001615; Wed, 31 Mar 2010 21:56:06 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Wed, 31 Mar 2010 21:56:06 +0100 From: Anton Shterenlikht To: freebsd-ia64@freebsd.org, freebsd-current@freebsd.org Message-ID: <20100331205606.GA1581@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: ia64 -> panic: ffs_blkfree: freeing free frag X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2010 20:56:09 -0000 on r205976M ia64 with gmirror, see dmesg here: http://seis.bris.ac.uk/~mexas/freebsd/ia64/rx2600/tzav/dmesg.boot I got this panic: ) at syscall+0x3b0 epc_syscall_return() at epc_syscall_return Mar 31 19:51:51 mech-cluster241 su: mexas to root on /dev/pts/9 dev = mirror/usr, block = 15150194, fs = /usr panic: ffs_blkfree: freeing free frag cpuid = 1 KDB: enter: panic [ thread pid 19 tid 100054 ] Stopped at kdb_enter+0x92: [I2] addl r14=0xffffffffffe1e628,gp ;; db> bt Tracing pid 19 tid 100054 td 0xe000000011105880 kdb_enter(0xe000000004783670, 0xe000000004783670, 0xe00000000439bb40, 0x793) at kdb_enter+0x92 panic(0xe0000000047abda8, 0xe0000000115c96e0, 0xe72c72, 0xe0000000115888d4, 0xe0000000046382a0, 0xa1a) at panic+0x2f0 ffs_blkfree(0xe0000000115c9200, 0xe000000011588800, 0xe00000001168e000, 0xe72c72, 0x800, 0xa00000009a952c28) at ffs_blkfree+0xbc0 handle_workitem_freeblocks(0xe00000001c9d6e00, 0x0, 0x800, 0xe00000001c9d6e48, 0x0) at handle_workitem_freeblocks+0x4e0 process_worklist_item(0xe00000001c9d6e1a, 0xe0000000115c92c4, 0xe00000001c9d6e00, 0x0) at process_worklist_item+0x440 softdep_process_worklist(0xe0000000116982f8, 0xe0000000048cbeb8, 0xe0000000048cf030, 0x1, 0x0) at softdep_process_worklist+0xe0 softdep_flush(0xe0000000116982f8, 0xe000000011698000, 0x0, 0xe0000000047acf70) at softdep_flush+0x430 fork_exit(0xe0000000047c41c0, 0x0, 0xa0000000bd435550) at fork_exit+0x110 enter_userland() at enter_userland db> After fixing all filsytem inconsitensies with fsck I got this panic: # shutdown -r now Shutdown NOW! shutdown: [pid 89] # /usr/bin/wall: not found Mar 31 22:47:28 shutdown: reboot by root: System shutdown time has arrived Writing entropy file:/etc/rc.shutdown: WARNING: write failed (read-only fs?) Terminated . GEOM_MIRROR: Device usr: rebuilding provider da0p6 stopped. GEOM_MIRROR: Device tmp: provider mirror/tmp destroyed. GEOM_MIRROR: Device usr: provider mirror/usr destroyed. fatal kernel trap (cpu 1): trap vector = 0x14 (Page Not Present) cr.iip = 0xe000000004380960 cr.ipsr = 0x1210080a6018 (ac,mfl,ic,i,dt,dfh,rt,cpl=0,it,ri=1,bn) cr.isr = 0xa0400000000 (code=0,vector=0,r,ei=1,ed) cr.ifa = 0x98 curthread = 0xe000000010caa380 pid = 3, comm = g_up [ thread pid 3 tid 100009 ] Stopped at _mtx_lock_flags+0x51: [M1] ld8.acq r14=[r14] db> db> bt Tracing pid 3 tid 100009 td 0xe000000010caa380 _mtx_lock_flags(0x80, 0x0, 0xe000000004bb9668, 0x3e3) at _mtx_lock_flags+0x51 g_mirror_sync_done(0xe00000001158d878, 0x0, 0x80, 0xe000000004493190) at g_mirror_sync_done+0xa0 biodone(0xe00000001158d878, 0xe00000001087a810, 0xe0000000048453f0, 0xe0000000047927a8, 0xe0000000042eb530) at biodone+0x130 g_io_schedule_up(0x100, 0xe00000001158d878, 0xe0000000048dd6c8, 0xe0000000048dd700) at g_io_schedule_up+0x280 g_up_procbody(0xe0000000047788f0, 0xe000000010caa380, 0xe00000000434bdd0, 0x40c) at g_up_procbody+0xc0 fork_exit(0xe0000000047c2bf0, 0x0, 0xa0000000bcbf9550) at fork_exit+0x110 enter_userland() at enter_userland db> -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-ia64@FreeBSD.ORG Fri Apr 2 22:55:05 2010 Return-Path: Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E561F1065670; Fri, 2 Apr 2010 22:55:04 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 9C0DE8FC08; Fri, 2 Apr 2010 22:55:04 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NxplX-0005jh-9U; Fri, 02 Apr 2010 23:55:03 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1NxplW-0005To-Uu; Fri, 02 Apr 2010 23:55:03 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id o32Mt2YJ001865; Fri, 2 Apr 2010 23:55:02 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id o32Mt27E001864; Fri, 2 Apr 2010 23:55:02 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 2 Apr 2010 23:55:02 +0100 From: Anton Shterenlikht To: xcllnt@mac.com Message-ID: <20100402225502.GA1835@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-current@freebsd.org, freebsd-ia64@freebsd.org Subject: ia64 -> panic: deadlkres: possible deadlock detected for 0xe00000001187d880, blocked for 1801437 ticks X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2010 22:55:05 -0000 Hi Marcel I got this panic while trying to build some port on -current (csup'ed on 1-APR-2010) panic: deadlkres: possible deadlock detected for 0xe00000001187d880, blocked for 1801437 ticks cpuid = 1 KDB: enter: panic [ thread pid 0 tid 100046 ] Stopped at kdb_enter+0x92: [I2] addl r14=0xffffffffffe1fbf0,gp ;; db> db> bt Tracing pid 0 tid 100046 td 0xe000000010d4f500 kdb_enter(0xe000000004853640, 0xe000000004853640, 0xe00000000439d170, 0x793) at kdb_enter+0x92 panic(0xe00000000484b490, 0xe00000000484b6d0, 0xe00000001187d880, 0x1b7cdd) at panic+0x2f0 deadlkres(0xa00000007ebca2d8, 0xe00000001187d880, 0xe00000000484b410, 0x1b7cdd) at deadlkres+0x470 fork_exit(0xe000000004893250, 0x0, 0xa0000000bd3db550) at fork_exit+0x110 enter_userland() at enter_userland db> The panic followed a long freeze, of a sort that I've seen a lot on ia64 in the last couple of weeks. Do I get the panic (as opposed to a seemingly endless freeze) because of a recently added options DEADLKRES in my kernel config? Anyway, I think a deadlock would explain the freezes I've had recently with "make installworld". Or perhaps also the freeze I get when installing from 9.0 snapshot CD. Below is a fragment of the top(1) output somewhere close to the panic: last pid: 1458; load averages: 0.00, 0.03, 0.06 up 0+00:13:28 00:58:54 92 processes: 3 running, 73 sleeping, 16 waiting CPU 0: 0.0% user, 0.0% nice, 0.1% system, 0.0% interrupt, 99.9% idle CPU 1: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 28M Active, 21M Inact, 160M Wired, 216K Cache, 92M Buf, 9830M Free Swap: 32G Total, 32G Free PID UID THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 10 0 2 171 ki31 0K 64K RUN 0 25:21 200.00% idle 11 0 16 -48 - 0K 512K WAIT 0 0:01 0.00% intr 1452 0 1 47 0 15696K 4320K biowr 0 0:01 0.00% bsdtar 1278 1001 1 44 0 12800K 4016K CPU0 0 0:00 0.00% top 0 0 10 -16 0 0K 320K deadlk 0 0:00 0.00% kernel 4 0 1 -8 - 0K 32K - 1 0:00 0.00% g_down 3 0 1 -8 - 0K 32K - 1 0:00 0.00% g_up 2 0 1 -8 - 0K 32K - 0 0:00 0.00% g_event 1354 0 1 76 0 8392K 2296K wait 0 0:00 0.00% make 12 0 1 -16 - 0K 32K - 1 0:00 0.00% yarrow Not sure if relevant, but some disk operations seem very slow, e.g. "rm -rf /usr/src" or "rm -rf /usr/obj" take over 10 min to complete. Accoding to du(1) there was only ~600M and ~1G data respectively. gstat(8) shows disk writes at about 2MB/s, which is rougly the same as dd(1) writes. But I'd imagine rm(1) should be much faster as it only unlinks inodes? I apologise if I'm talking nonsense here. The disks use mpt(4). I've since updated to the latest -current via svn. Here are the kernel config and dmesg: http://seis.bris.ac.uk/~mexas/freebsd/ia64/rx2600/tzav/TZAV http://seis.bris.ac.uk/~mexas/freebsd/ia64/rx2600/tzav/dmesg.boot many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-ia64@FreeBSD.ORG Fri Apr 2 23:10:58 2010 Return-Path: Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CACE1106564A; Fri, 2 Apr 2010 23:10:58 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout027.mac.com (asmtpout027.mac.com [17.148.16.102]) by mx1.freebsd.org (Postfix) with ESMTP id 0737B8FC0C; Fri, 2 Apr 2010 23:10:57 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from [172.24.241.149] (natint3.juniper.net [66.129.224.36]) by asmtp027.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L09002O6V26J890@asmtp027.mac.com>; Fri, 02 Apr 2010 16:10:57 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1004020238 From: Marcel Moolenaar In-reply-to: <20100402225502.GA1835@mech-cluster241.men.bris.ac.uk> Date: Fri, 02 Apr 2010 16:10:53 -0700 Message-id: <3B66ECFA-2A16-44E2-A94A-0C9AA57B4153@mac.com> References: <20100402225502.GA1835@mech-cluster241.men.bris.ac.uk> To: Anton Shterenlikht X-Mailer: Apple Mail (2.1078) Cc: freebsd-current@freebsd.org, freebsd-ia64@freebsd.org Subject: Re: ia64 -> panic: deadlkres: possible deadlock detected for 0xe00000001187d880, blocked for 1801437 ticks X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2010 23:10:59 -0000 On Apr 2, 2010, at 3:55 PM, Anton Shterenlikht wrote: > Hi Marcel > > I got this panic while trying to build some port > on -current (csup'ed on 1-APR-2010) > > panic: deadlkres: possible deadlock detected for 0xe00000001187d880, blocked for 1801437 ticks > > cpuid = 1 > KDB: enter: panic > [ thread pid 0 tid 100046 ] > Stopped at kdb_enter+0x92: [I2] addl r14=0xffffffffffe1fbf0,gp ;; > db> > db> bt > Tracing pid 0 tid 100046 td 0xe000000010d4f500 > kdb_enter(0xe000000004853640, 0xe000000004853640, 0xe00000000439d170, 0x793) at kdb_enter+0x92 > panic(0xe00000000484b490, 0xe00000000484b6d0, 0xe00000001187d880, 0x1b7cdd) at panic+0x2f0 > deadlkres(0xa00000007ebca2d8, 0xe00000001187d880, 0xe00000000484b410, 0x1b7cdd) at deadlkres+0x470 > fork_exit(0xe000000004893250, 0x0, 0xa0000000bd3db550) at fork_exit+0x110 > enter_userland() at enter_userland > db> > > The panic followed a long freeze, of a sort that > I've seen a lot on ia64 in the last couple of weeks. > Do I get the panic (as opposed to a seemingly endless freeze) > because of a recently added > > options DEADLKRES > > in my kernel config? Yes, exactly. At the db> prompt, can you type: db> show thread 0xe00000001187d880 This should give you something like: Thread 100001 at 0xe00000001187d880: proc (pid 1): 0xe00000301220c000 name: kernel stack: 0xa00000021afd2000-0xa00000021afd9fff flags: 0x10005 pflags: 0 state: RUNNING (CPU 0) priority: 52 container lock: sched lock 0 (0xe000003400ad5080) With the thread ID, 100001 in the example above, type: db> thread 100001 This should give you something like: [ thread pid 1 tid 100001 ] kdb_enter+0x92: [I2] addl r14=0xffffffffffe279b8,gp ;; Then type the following for a backtrace: db> bt FYI, -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-ia64@FreeBSD.ORG Sat Apr 3 04:00:31 2010 Return-Path: Delivered-To: freebsd-ia64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 285EB1065689 for ; Sat, 3 Apr 2010 04:00:31 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 051B08FC1E for ; Sat, 3 Apr 2010 04:00:31 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3340UnD067903 for ; Sat, 3 Apr 2010 04:00:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3340UKk067902; Sat, 3 Apr 2010 04:00:30 GMT (envelope-from gnats) Resent-Date: Sat, 3 Apr 2010 04:00:30 GMT Resent-Message-Id: <201004030400.o3340UKk067902@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ia64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, ygweohne Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0755B1065672 for ; Sat, 3 Apr 2010 03:52:47 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D0C048FC0A for ; Sat, 3 Apr 2010 03:52:46 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o333qk1F040592 for ; Sat, 3 Apr 2010 03:52:46 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o333qkgl040591; Sat, 3 Apr 2010 03:52:46 GMT (envelope-from nobody) Message-Id: <201004030352.o333qkgl040591@www.freebsd.org> Date: Sat, 3 Apr 2010 03:52:46 GMT From: ygweohne To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ia64/145322: ygweohne X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2010 04:00:31 -0000 >Number: 145322 >Category: ia64 >Synopsis: ygweohne >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ia64 >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Apr 03 04:00:30 UTC 2010 >Closed-Date: >Last-Modified: >Originator: ygweohne >Release: ygweohne >Organization: ygweohne >Environment: ygweohne >Description: mrnhoddh http://hzxkyugw.com eizfrtpe vlpohihn ibkautue [URL=http://qgtjakon.com]wgwpeuae[/URL] >How-To-Repeat: ygweohne >Fix: ygweohne >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ia64@FreeBSD.ORG Sat Apr 3 04:17:31 2010 Return-Path: Delivered-To: freebsd-ia64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32B961065673; Sat, 3 Apr 2010 04:17:31 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0ADBB8FC18; Sat, 3 Apr 2010 04:17:31 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o334HUaC085536; Sat, 3 Apr 2010 04:17:30 GMT (envelope-from hrs@freefall.freebsd.org) Received: (from hrs@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o334HUmT085532; Sat, 3 Apr 2010 04:17:30 GMT (envelope-from hrs) Date: Sat, 3 Apr 2010 04:17:30 GMT Message-Id: <201004030417.o334HUmT085532@freefall.freebsd.org> To: vqpmespw@bmflauhc.com, hrs@FreeBSD.org, freebsd-ia64@FreeBSD.org From: hrs@FreeBSD.org Cc: Subject: Re: ia64/145322: ygweohne X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2010 04:17:31 -0000 Synopsis: ygweohne State-Changed-From-To: open->closed State-Changed-By: hrs State-Changed-When: Sat Apr 3 04:17:19 UTC 2010 State-Changed-Why: spam. http://www.freebsd.org/cgi/query-pr.cgi?pr=145322