Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* unimplemented OSF mmap flags
@ 1999-01-06 17:21 Marcelo Tosatti
  1999-01-06 18:16 ` furio ercolessi
  0 siblings, 1 reply; 3+ messages in thread
From: Marcelo Tosatti @ 1999-01-06 17:21 UTC (permalink / raw)
  To: axp-list

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.

Marcelo Tosatti
Conectiva Informatica


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: unimplemented OSF mmap flags
  1999-01-06 17:21 unimplemented OSF mmap flags Marcelo Tosatti
@ 1999-01-06 18:16 ` furio ercolessi
  0 siblings, 0 replies; 3+ messages in thread
From: furio ercolessi @ 1999-01-06 18:16 UTC (permalink / raw)
  To: axp-list

> 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)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* unimplemented OSF mmap flags
@ 1999-01-29 10:08 Ulrich Frey
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Frey @ 1999-01-29 10:08 UTC (permalink / raw)
  To: AXP Mailingliste

Hi,

I have installed RedHat 5.2 on an Alpha Multia  VX40.
Now I get "unimplemented OSF mmap flags 0402"  every time I do a 'ls' or 'rm' or someting similar.
How can I get rid of that?

Ulrich.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-01-29 10:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-06 17:21 unimplemented OSF mmap flags Marcelo Tosatti
1999-01-06 18:16 ` furio ercolessi
  -- strict thread matches above, loose matches on Subject: below --
1999-01-29 10:08 Ulrich Frey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox