kern/69989: killing process that uses snp + unloading module + listing /dev = page fault

Maciej Cetler airot at mud.pl
Wed Aug 4 02:40:29 PDT 2004


>Number:         69989
>Category:       kern
>Synopsis:       killing process that uses snp + unloading module + listing /dev = page fault
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 04 09:40:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Maciej Cetler
>Release:        4.9-STABLE
>Organization:
Non Profit Organization
>Environment:
FreeBSD security.localnet 4.9-STABLE FreeBSD 4.9-STABLE #1: Tue Feb  3 22:04:21 CET 2004     root@:/usr/obj/usr/src/sys/jenny  i386

>Description:
When you load snp as module, create snp0 node in /dev, start
watch on some tty, kill it, unload the module and then list /dev
you get page fault.
>How-To-Repeat:
kldload snp; (cd /dev;sh MAKEDEV snp0); watch ttyv0
On second terminal: killall -9 watch; kldunload snp; ls -l /dev/snp*
Boom.
>Fix:
Not known, but probably cleaning up would be good idea.      
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list