From owner-freebsd-hackers Mon Nov 2 02:46:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA18353 for freebsd-hackers-outgoing; Mon, 2 Nov 1998 02:46:34 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from penguin.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA18347 for ; Mon, 2 Nov 1998 02:46:32 -0800 (PST) (envelope-from martti.kuparinen@lmf.ericsson.se) Received: from lmf.lmf.ericsson.se (umail.lmf.ericsson.se [131.160.11.2]) by penguin.wise.edt.ericsson.se (8.9.0/8.9.0/WIREfire-1.2) with ESMTP id LAA03232 for ; Mon, 2 Nov 1998 11:46:27 +0100 (MET) Received: from tosb0323 by lmf.lmf.ericsson.se (8.8.8+Sun/SMI-SVR4) id MAA19950; Mon, 2 Nov 1998 12:46:24 +0200 (EET) Message-Id: <3.0.6.32.19981102124453.02ce8b30@openmail.lmf.ericsson.se> X-Sender: lmfmara@openmail.lmf.ericsson.se X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Mon, 02 Nov 1998 12:44:53 +0200 To: hackers@FreeBSD.ORG From: Martti Kuparinen Subject: Pseudo-device as a LKM Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I want to implement a pseudo-device as LKM. But the question is where to find a working example? I've looked at e.g. the if_tun device, but the unload is not successful: # modload /lkm/if_tun_mod.o # modunload -n if_tun_mod modunload: LMUNLOAD: Device busy So please give any pointers. I'm using 2.2.7-R but I could jump into 3.0 if that's what needed. Martti To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message