Re: v2.3.99p3: SHM probs

From: Joerg Stroettchen (joerg.stroettchen@arcormail.de)
Date: Sun Mar 26 2000 - 08:59:49 EST


hi,

I found just the same, in addition it turned out that unlinking fails
exactly when I logout from a kde-session (non-root) with netscape
running. We observe an application-specific effect?

joerg

Meino Christian Cramer wrote:
>
> From: Christoph Rohland <hans-christoph.rohland@sap.com>
> Subject: Re: v2.3.99p3: SHM probs
> Date: 25 Mar 2000 09:47:39 +0100
> Message-ID: <qww8zz7h1w4.fsf@sap.com>
>
> Hi Christoph!
>
> After mounting (via fstab at bootime) shm with mode=511 I found dozens of
> entries in /var/log/message of this pattern:
>
> Mar 26 14:36:40 solfire kernel: Unlink of SHM id 67338347 failed (-13).
> Mar 26 14:36:40 solfire kernel: Unlink of SHM id 67174538 failed (-13).
> Mar 26 14:36:40 solfire kernel: Unlink of SHM id 67338347 failed (-13).
> Mar 26 14:36:40 solfire kernel: Unlink of SHM id 67174538 failed (-13).
>
> ???
>
>
>
> > Meino Christian Cramer <mccramer@s.netic.de> writes:
> > > got this in my /var/log/messages after trying to
> > > access my scanner (scsi generic, used newest sg-code
> > > by Douglas Gilbert):
> > >
> > > Mar 24 20:18:42 solfire sudo: mccramer : TTY=pts/0 ; PWD=/proc/scsi ; USER=root ; COMMAND=/home/mccramer/bin/find-scanner
> > > Mar 24 20:18:53 solfire kernel: Unlink of SHM id 5472271 failed (-1).
> > > Mar 24 20:19:06 solfire kernel: Unlink of SHM id 5570576 failed (-1).
> > > Mar 24 20:19:18 solfire kernel: Unlink of SHM id 5668881 failed (-1).
> >
> > -1 is -EPERM. I will look into the code. Could you try this with mount
> > option "mode=511" for the shm fs?
> >
> > Greetings
> > Christoph
> >
>
> KEEP HACKING!
> Meino
>
> --

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:17 EST