Subject: Re: /dev/mem: Permission denied - what have I done?
To: None <netbsd-help@netbsd.org>
From: David Chapman <dchapman@CS670402-A.gvcl1.bc.wave.home.com>
List: netbsd-help
Date: 01/26/2001 08:57:29
* Matthias Buelow <mkb@mukappabeta.de> [010125 14:46]:
> David Chapman <dchapman@CS670402-A.gvcl1.bc.wave.home.com> writes:
>
> >Still getting Gdk-WARNING **: shmget failed! at times, but it usually is
> >not fatal. Something to do with Gnome, I guess.
>
> process which has them open has exited. Programs normally delete
> them when they are no longer needed but if a program crashes, the
> stuff will hang around and eventually the maximum number of entries
> is exhausted. You can check this with the "ipcs" command, and
> remove corpses manually with "ipcrm".
>
I ran ipcs, and there was no message queues, over 60 items shared
memory, and no semaphores. How do I tell if these are left over? Will
these only show up while under X? I shut down X and reran ipcs, and
all the fields were empty. I restarted X and the above figures were
repeated. The times in ATIME DTIME and CTIME are consistent with the
time that X was started except for some of the DTIME entries which say
no-entry.
> This may be one explanation of the behaviour you observe, there
> might be others, of course. For example, there's the (unlikely,
> with NetBSD's defaults, imho) possibility that there aren't enough
> shmem segments configured in the kernel, in that case you could
> increase the number in your kernel config file and rebuild.
> Apart from that, it could simply be gnome bugs, of course.
>
My source tree kinda got trashed, so I'm unable to make a new kernel.
Perhaps next weekend I'll fdisk the drive and start over. Just for the
exerecise, you know...
Thanks,
Dave Chapman
>
--
Dave Chapman | "tar is not a plaything"
dchapman@canwest.victoria.bc.ca | bsimpson@dt.springfield.edu