Subject: Kernel panic running COMPAT_OSF1 binary
To: None <port-alpha@netbsd.org>
From: Paul Mather <paul@gromit.dlib.vt.edu>
List: port-alpha
Date: 10/16/2003 18:32:23
I recently got a kernel panic running a binary under COMPAT_OSF1
emulation.  (It is the Tivoli Tru64 TSM 5.1 client.  I wanted to see
if it would run under NetBSD via OSF1 compatibility mode.)

I don't know if this is something specifically within the COMPAT_OSF1
subsystem, or whether it is just tickling something else within the
NetBSD kernel.  Here is what I have in my logs:

>>>>>
Oct 13 21:48:36 chumby /netbsd: vrele: bad ref count: tag 1 type VREG, usecount -1, writecount 0, refcount 1,
Oct 13 21:48:36 chumby /netbsd:         tag VT_UFS, ino 20388, on dev 16, 19 flags 0x0, effnlink 1, nlink 1
Oct 13 21:48:36 chumby /netbsd:         mode 0100555, owner 0, group 0, size 2973696 not locked
Oct 13 21:48:36 chumby /netbsd: panic: vrele: ref cnt vp 0xfffffc00048c0358
Oct 13 21:48:36 chumby /netbsd: syncing disks... vget: tag 1 type VREG, usecount 0, writecount 0, refcount 1,
Oct 13 21:48:36 chumby /netbsd:         tag VT_UFS, ino 20388, on dev 16, 19 flags 0x0, effnlink 1, nlink 1
Oct 13 21:48:36 chumby /netbsd:         mode 0100555, owner 0, group 0, size 2973696 not locked
Oct 13 21:48:36 chumby /netbsd: panic: vget: usecount overflow, vp 0xfffffc00048c0358
Oct 13 21:48:36 chumby /netbsd: 
Oct 13 21:48:36 chumby /netbsd: dumping to dev 16,9 offset 262015
Oct 13 21:48:36 chumby /netbsd: dump device bad
Oct 13 21:48:36 chumby /netbsd: 
Oct 13 21:48:36 chumby /netbsd: 
Oct 13 21:48:36 chumby /netbsd: rebooting...
Oct 13 21:48:36 chumby /netbsd: 
Oct 13 21:48:36 chumby /netbsd: Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
Oct 13 21:48:37 chumby /netbsd:     The NetBSD Foundation, Inc.  All rights reserved.
Oct 13 21:48:37 chumby /netbsd: Copyright (c) 1982, 1986, 1989, 1991, 1993
Oct 13 21:48:37 chumby /netbsd:     The Regents of the University of California.  All rights reserved.
Oct 13 21:48:37 chumby /netbsd: 
Oct 13 21:48:37 chumby /netbsd: NetBSD 1.6ZC (CHUMBY) #0: Sat Oct 11 14:39:54 EDT 2003
[[etc...]]
<<<<<

Does anyone have any ideas from the above?  (Has anyone else tried to
run the Tru64 TSM client?)

Cheers,

Paul.

e-mail: paul@gromit.dlib.vt.edu

"Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid."
        --- Frank Vincent Zappa