From owner-freebsd-questions Tue Nov 4 02:10:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA00694 for questions-outgoing; Tue, 4 Nov 1997 02:10:14 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from nectech.nectech.co.uk (nectech.nectech.co.uk [194.129.183.2]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id CAA00621 for ; Tue, 4 Nov 1997 02:09:53 -0800 (PST) (envelope-from <@host200-253.neceur.com:Jeff.Bond@nectech.co.uk>) Received: from host200-253.neceur.com by nectech.nectech.co.uk id aa12078; 4 Nov 97 10:17 GMT Received: by exchange with Internet Mail Service (5.0.1458.49) id ; Tue, 4 Nov 1997 10:06:35 -0000 Message-ID: <014CB6ADC0BCD0118B1B006097827D5B022D06@exchange> From: "Bond, Jeffery" To: "'questions@freebsd.org'" Cc: "'phbrown@gte.net'" Subject: RE: Cleaning up wierd system messages to root Date: Tue, 4 Nov 1997 10:06:34 -0000 X-Priority: 3 X-Mailer: Internet Mail Service (5.0.1458.49) Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Parker Brown wrote: >From: Parker Brown >Date: Mon, 03 Nov 1997 21:06:48 -0800 >Subject: Cleaning up wierd system messages to root > >This could conceivably (that doesn't look right!) be an XFree86 >question, but I don't think so. >When I bring FreeBSD up, I usually login as root on console 1, then as a >regular user on console 2 () and use the system there without >worrying about a global wipeout. Also, just to monitor the efficiency >of the system, I usually run systat -vmstat as root. Anyway, after >using startx to use X-windows as a regular user, error messages >something like "/kernel: cmd XF86-SVGA --- tried to use non-present >SYSVSHM" show up on root's screen. That blow's systat's whole screen >(ok, no biggie) but I'm enough of a perfectionist to want to know what's >wrong. SYSVSHM refers to System V Shared Memory, I guess. I think this >only happens with my reconfigured kernel, and I know of nothing that >I've omitted there. > >Please give jme some suggestions where to look so I can clean my system >up. You need to recompile your kernel with the SYSVSHM option. I had the same problem too a while ago, even so, X still seemed to run fine. I assume you have the kernel sources and gcc installed? 1. go to /usr/src/sys/i386/conf and make a copy of your current kernel ('GENERIC' probably), check bootup messages if your not sure. 2. have a look in the file (don't edit!) 'LINT' until you find a line like 'option SYSVSHM'. There will probably be two more option lines nearby looking very similar, (like 'option SYSVSEM' I think). 3. Copy these three option lines into the copy of your kernel config file 'NEW_KERNEL' or whatever. 4. run 'config NEW_KERNEL' or whatever you called it. 5. cd ../../compile/NEW_KERNEL and do a 'make clean', 'make depend', 'make all' and finally 'make install'. 6. Reboot and keep your fingers crossed. These instructions are from memory so there might be some errors, check out the FAQ that came with your distribution, usually in /usr/share/docs/FAQ I think. Jeff Bond --------------------------------------------------- Jeffery Bond ---------------------------------------------------