Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Matti Aarnio <matti.aarnio@sonera.fi>
To: support@quant-x.com
Cc: axp-list@redhat.com
Subject: unimplemented syscalls (was: runaway klogd/syslogd ...)
Date: Wed, 7 Oct 1998 00:03:01 +0300 (EEST)	[thread overview]
Message-ID: <19981006210317Z92260-463+14@mea.tmt.tele.fi> (raw)
In-Reply-To: <199810061953.VAA00913@kotter.atko.at> from Quant-X Alpha Linux Support at "Oct 6, 98 09:53:39 pm"

(attribution truncated away)
...
> > You can probably generate it by just intentionally making a lot of
> > unimplemented system calls. Remember that folks are reporting that
> > under unknown circumstances, normal binaries start producing lots of
> > those messages about unimplemented system calls.
> 
> I bet you mean only the locale bug. Here related stuff out of my
> .bashrc

Yeah sure...  In my opinnion of not having locale datas is not any
solution, fixing the nuisance reports is.

Glibc seems to have humongous problems at this, and it insists on using
_MAP_INHERIT flags at Locale code.  Linus finally accepted following
(a bit oversized in retrospect) change recently:

diff -u --recursive --new-file v2.1.121/linux/arch/alpha/kernel/osf_sys.c linux/arch/alpha/kernel/osf_sys.c
@@ -253,9 +253,11 @@
        unsigned long ret = -EBADF;
 
        lock_kernel();
+#if 0
        if (flags & (_MAP_HASSEMAPHORE | _MAP_INHERIT | _MAP_UNALIGNED))
                printk("%s: unimplemented OSF mmap flags %04lx\n", 
                        current->comm, flags);
+#endif
        if (!(flags & MAP_ANONYMOUS)) {
                file = fget(fd);
                if (!file)

I really haven't looked at glibc that deeply to know why compiling
it at 2.1 kernel STILL uses (_)MAP_INHERIT flag.
  (... rpm -bb begun ... joys of having a lot of diskspace ...)
Hmm...  Ok,  linux-include-2.1.76.tar.gz  supplies the 'MAP_INHERIT'
flag instead of the current '_MAP_INHERIT' of 2.1.90+something.
Blaah...

Which is easier way to silence this "bug", fix the headers which
glibc 2.0 uses, or to patch your kernel to be silent about it ?

>   ciao -
>     Stefan
> -- 
> http://www.quant-x.com                    Email: support@quant-x.com

/Matti Aarnio <matti.aarnio@sonera.fi>


      reply	other threads:[~1998-10-06 21:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-06 15:47 runaway klogd/syslogd happening now Greg Lindahl
1998-10-06 16:05 ` Michal Jaegermann
1998-10-06 19:53 ` Quant-X Alpha Linux Support
1998-10-06 21:03   ` Matti Aarnio [this message]
read-only archive

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