Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Aug 2004 09:35:36 GMT
From:      Maciej Cetler <airot@mud.pl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/69989: killing process that uses snp + unloading module + listing /dev = page fault
Message-ID:  <200408040935.i749Zaln033282@www.freebsd.org>
Resent-Message-ID: <200408040940.i749eQVW040679@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408040935.i749Zaln033282>