Date: Wed, 30 Jun 1999 22:25:27 +0700 From: bp@butya.kz To: FreeBSD-gnats-submit@freebsd.org Subject: kern/12464: bad reference in struct vm_zone Message-ID: <E10zMEp-000C98-00@lion.butya.kz>
next in thread | raw e-mail | index | archive | help
>Number: 12464 >Category: kern >Synopsis: bad reference in struct vm_zone >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 30 08:30:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Boris Popov >Release: FreeBSD 3.2-STABLE i386 >Organization: none >Environment: 3.x and 4.x >Description: Name of vm-zone passed to zinit(). In 'nfs.ko' module zone name located in static KLD's memory. This causes problems after KLD is unloaded because 'zname' now points to an invalid memory region. >How-To-Repeat: kldload nfs.ko sysctl vm.zone /* that works now */ kldunload nfs.ko sysctl vm.zone /* and now we got a panic */ >Fix: Not sure, but probably pointer to zname should be allocated dynamically or, better have something like zuninit() function. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E10zMEp-000C98-00>