page fault panic tracked down (selwakeuppri())

Stefan Ehmann shoesoft at
Tue Jan 6 11:49:23 PST 2004

On Tue, 2004-01-06 at 20:05, Don Lewis wrote:
> On  6 Jan, Stefan Ehmann wrote:
> > I'm also still not sure why I got three "bad bufsize" panics in a row
> > all of the sudden instead of page faults. (Most of the previous kernels
> > were built without INVARIANTS - but at least some with).
> I forgot that historially the kernel options were not used when building
> modules.  I think they are used right now, and were used for a while in
> the recent past.

Finally found out in the handbook why debugging of the modules didn't
work and now got it right it seems.

#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc04e5178 in boot (howto=256) at
#2  0xc04e5507 in panic () at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc07eb648 in feed_vchan_s16 (f=0xc3967c00, c=0x0, b=0xc37d0000 "", 
    count=2048, source=0xc3741500) at
#4  0xc07e1c6d in sndbuf_feed (from=0xc3741500, to=0xc3741600, 
    channel=0xc37a8880, feeder=0xc3967c00, count=3279164672) at
#5  0xc07e2225 in chn_wrfeed (c=0xc37a8880)
    at /usr/src/sys/dev/sound/pcm/channel.c:221
#6  0xc07e227c in chn_wrintr (c=0x800)
    at /usr/src/sys/dev/sound/pcm/channel.c:237
#7  0xc07e2990 in chn_intr (c=0x800)
    at /usr/src/sys/dev/sound/pcm/channel.c:483
#8  0xc07fba2f in csa_intr (p=0xc37a8700)
    at /usr/src/sys/dev/sound/pci/csapcm.c:623
#9  0xc07fa724 in csa_intr (arg=0xc37a8600)
    at /usr/src/sys/dev/sound/pci/csa.c:532
#10 0xc04d1612 in ithread_loop (arg=0xc1737b00)
    at /usr/src/sys/kern/kern_intr.c:544
#11 0xc04d0604 in fork_exit (callout=0xc04d1480 <ithread_loop>, arg=0x0,
    frame=0x0) at /usr/src/sys/kern/kern_fork.c:796

More information about the freebsd-current mailing list