Re: [2.3.99-pre4-4,dget fixed] "Unlink of SHM id 8356095 failed (-13)."

From: Joerg Stroettchen (joerg.stroettchen@arcormail.de)
Date: Fri Apr 07 2000 - 13:52:48 EST


Benjamin Redelings wrote:
>
> Hi,
> On my UP PII, the kernel complains a lot:
>
> Unlink of SHM id 7897329 failed (-13).
> Unlink of SHM id 7930098 failed (-13).
> Unlink of SHM id 7078104 failed (-13).
> Unlink of SHM id 7110873 failed (-13).
> Unlink of SHM id 7143642 failed (-13).
> Unlink of SHM id 7176411 failed (-13).
> Unlink of SHM id 7209180 failed (-13).
> Unlink of SHM id 7241949 failed (-13).
> Unlink of SHM id 7274718 failed (-13).
> Unlink of SHM id 7307487 failed (-13).
> Unlink of SHM id 7405794 failed (-13).
> Unlink of SHM id 7438563 failed (-13).
> Unlink of SHM id 7471332 failed (-13).
> Unlink of SHM id 7504101 failed (-13).
> Unlink of SHM id 7536870 failed (-13).
> Unlink of SHM id 7569639 failed (-13).
> Unlink of SHM id 7602408 failed (-13).
> Unlink of SHM id 7635177 failed (-13).
> Unlink of SHM id 7667946 failed (-13).
> Unlink of SHM id 7700715 failed (-13).
> Unlink of SHM id 7733484 failed (-13).
> etc, etc.
>
> It seems to work OK though (uptime 12minutes). Quake works. I've got a
> lot of memory.
>
> The fixes that I have used are
> 1. put dget around BOTH arguments to lookup_one in ipc/shm.c
> 2. revert move of task_lock in exit.c
>
> -BenRI
>
hello,

I get this message when mounting shmfs with mode=511. mode=777 seems to
work. What is the significance/advantage of putting dget around both
args? The "second-arg"-approach seems to work fine.

joerg

-
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 Apr 07 2000 - 21:00:18 EST