From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 30431 invoked from network); 6 Jan 1999 18:35:42 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 6 Jan 1999 18:35:42 -0000 Received: from despam.spin.it (down.spin.it [147.123.1.23]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA26687 for ; Wed, 6 Jan 1999 13:16:29 -0500 Received: from noc.spin.it (up.spin.it [147.123.1.22]) by despam.spin.it (8.8.8/8.8.8/Spin-ext-980226) with ESMTP id TAA09847 for ; Wed, 6 Jan 1999 19:16:08 +0100 (MET) Received: (from furio@localhost) by noc.spin.it (8.8.8/8.8.8/Spin-noc-nov1998) id TAA24955 for axp-list@redhat.com; Wed, 6 Jan 1999 19:16:07 +0100 (MET) From: furio ercolessi Message-Id: <199901061816.TAA24955@noc.spin.it> Subject: Re: unimplemented OSF mmap flags To: axp-list@redhat.com Date: Wed, 06 Jan 1999 19:16:07 MET In-Reply-To: ; from "Marcelo Tosatti" at Jan 6, 99 3:21 pm X-Mailer: Elm [revision: 109.19] > I'm getting this messages while running any program who seems to use > gettext and the LC_ALL or LANG variable are exported : > # ls > ls: unimplemented OSF mmap flags 0402 > ls: unimplemented OSF mmap flags 0402 > ls: unimplemented OSF mmap flags 0402 > ls: unimplemented OSF mmap flags 0402 > ... > Note that if the LANG and LC_ALL variables are unsetted, everything goes > fine. > Is a glibc gettext problem? > I'm using RH 5.2. No, it is a kernel header file (include/asm-alpha/mman.h) which declares to be available services which are not supported in glibc. IMHO it is a kernel bug. To suppress the problem you can perhaps try removing the lines #define MAP_HASSEMAPHORE 0x0200 #define MAP_INHERIT 0x0400 #define MAP_UNALIGNED 0x0800 from mman.h, and then removing if (flags & (MAP_HASSEMAPHORE | MAP_INHERIT | MAP_UNALIGNED)) printk("%s: unimplemented OSF mmap flags %04lx\n", current->comm, flags); from arch/alpha/kernel/osf_sys.c and recompile your kernel. Sometimes one can also work around it on the application. See previous discussion: http://www.terran.org/archives/axp-list/0188.html http://www.terran.org/archives/axp-list/0191.html http://www.terran.org/archives/axp-list/0203.html http://www.terran.org/archives/axp-list/0206.html furio ercolessi Spin - Trieste (Italy)