From owner-freebsd-current Fri Aug 21 17:07:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA17988 for freebsd-current-outgoing; Fri, 21 Aug 1998 17:07:30 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (ppp-d3.dialup.hilink.com.au [203.2.144.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA17938 for ; Fri, 21 Aug 1998 17:07:22 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id RAA10894; Fri, 21 Aug 1998 17:05:07 GMT (envelope-from mike@dingo.cdrom.com) Message-Id: <199808211705.RAA10894@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Alfred Perlstein cc: current@FreeBSD.ORG Subject: Re: PEBCAK with modunload. In-reply-to: Your message of "Fri, 21 Aug 1998 12:00:10 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 21 Aug 1998 17:05:05 +0000 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > this might be fixed but i don't want to test it for obvious reasons. It's not; it demonstrates a flaw in the lkm system that's not trivially fixed. > if you unload the linux emulator while linux programs are running you will > crash your box. (forgot i had x11amp running) The "new lkm" system (kld) provides reference counting for modules, which will help alleviate this problem. You will probably just get EBUSY if you try to unload an "in use" module. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message