Date: Wed, 19 May 1999 05:39:06 -0700 (PDT) From: lha@stacken.kth.se To: freebsd-gnats-submit@freebsd.org Subject: kern/11779: kernel panic in module_release Message-ID: <19990519123906.1E72814EA6@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 11779 >Category: kern >Synopsis: kernel panic in module_release >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 19 05:40:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Love >Release: current >Organization: Stacken >Environment: FreeBSD mulet.e.kth.se 4.0-CURRENT FreeBSD 4.0-CURRENT #2: Wed May 19 14:26:24 CEST 1999 root@mulet.e.kth.se:/usr/src/sys/compile/MULET i386 >Description: page fault in module_release when doing a kld_unload The pagefault is in the last TAILQ_REMOVE in module_release (kern/kern_module.c:1.17) stacktrace: module_release linker_file_unload kld_unload syscall >How-To-Repeat: load and unload a kld >Fix: The following patch seams to fix the bug, and this code was remove in patch kern/kern_module.c: 1.16 to 1.17 by peter --- kern_module.c.old Wed May 19 14:08:25 1999 +++ kern_module.c Wed May 19 14:16:08 1999 @@ -136,6 +136,7 @@ container = linker_current_file; if (container) TAILQ_INSERT_TAIL(&container->modules, newmod, flink); + newmod->file = container; return 0; } >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?19990519123906.1E72814EA6>