Subject: assertion failure in sys/kern/subr_callback.c
To: None <tech-kern@NetBSD.org>
From: Jeff Rizzo <riz@tastylime.net>
List: tech-kern
Date: 05/26/2006 20:53:09
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig6BE6B7E7FBB99737827DABA5
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I just got a diagnostic panic from what appears to be newly-added code,
while using build.sh to build tools for i386 on an amd64 box - the
object and tools directories are on an LFS filesystem, and the panic
appeared to be via lfs.

Should I send-pr this?  I got a core dump, but I have a 0% success rate
at being able to use core dumps in gdb on amd64 ...


panic: kernel diagnostic assertion "ch->ch_running > 0" failed: file
"/usr/src/sys/kern/subr_callback.c", line 112
Stopped in pid 16.1 (ioflush) at        netbsd:cpu_Debugger+0x5:      =20
leave
db{1}> bt
cpu_Debugger() at netbsd:cpu_Debugger+0x5
panic() at netbsd:panic+0x1f5
__assert() at netbsd:__assert+0x21
callback_run_roundrobin() at netbsd:callback_run_roundrobin+0x187
uvm_map_prepare() at netbsd:uvm_map_prepare+0x305
uvm_map() at netbsd:uvm_map+0xd3
uvm_pagermapin() at netbsd:uvm_pagermapin+0x98
lfs_gop_write() at netbsd:lfs_gop_write+0x61b
genfs_putpages() at netbsd:genfs_putpages+0x809
lfs_putpages() at netbsd:lfs_putpages+0x681
VOP_PUTPAGES() at netbsd:VOP_PUTPAGES+0x2d
lfs_writefile() at netbsd:lfs_writefile+0x1ff
lfs_writevnodes() at netbsd:lfs_writevnodes+0x22d
lfs_segwrite() at netbsd:lfs_segwrite+0x606
lfs_sync() at netbsd:lfs_sync+0xb6
sync_fsync() at netbsd:sync_fsync+0xc7
VOP_FSYNC() at netbsd:VOP_FSYNC+0x35
sched_sync() at netbsd:sched_sync+0x1d5
db{1}>


--------------enig6BE6B7E7FBB99737827DABA5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRHfNJbOuUtxCgar5AQOdBAP+NWS5C0nlJs0+/VbzPEc25wu2w2D1mY6J
e9U17q8jnnqSoxcsb5XNsIaE9HvqPvr00upjKHDGwRPCgAY20im9iWDuELDqzjgt
z9hieY6AcSFEQAjT7yKuAaCxasImhPQmOev0Nvmivyy8JuWq+s+gIm5cCzA547py
jO4KTsAZ4SI=
=MTpA
-----END PGP SIGNATURE-----

--------------enig6BE6B7E7FBB99737827DABA5--