From owner-freebsd-current Mon Jul 15 08:21:12 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA17154 for current-outgoing; Mon, 15 Jul 1996 08:21:12 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA17142 for ; Mon, 15 Jul 1996 08:21:00 -0700 (PDT) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id RAA21718 for ; Mon, 15 Jul 1996 17:20:46 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id RAA05445 for freebsd-current@FreeBSD.org; Mon, 15 Jul 1996 17:20:46 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id RAA16886 for freebsd-current@FreeBSD.org; Mon, 15 Jul 1996 17:19:17 +0200 (MET DST) From: J Wunsch Message-Id: <199607151519.RAA16886@uriah.heep.sax.de> Subject: Question regarding device mmap()ing To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Mon, 15 Jul 1996 17:19:17 +0200 (MET DST) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk While writing a device driver, i've included a foommap() function, since i thought this was an ideal test environment. (The device communicates with the driver using a shared memory region in the ISA hole anyway.) Well, everything works fine, the stub that's required in the driver is funny small. The only thing that doesn't work is to mmap() the memory region into a user program, and then try accessing it with a debugger. The entire system stalls with a quickly growing number of processes sleeping on "lockrd". Is this the way it is supposed to be? -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)