From nobody@FreeBSD.org  Fri May 25 07:40:12 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id F0C0437B616
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 May 2001 07:40:11 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f4PEeBx29430;
	Fri, 25 May 2001 07:40:11 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200105251440.f4PEeBx29430@freefall.freebsd.org>
Date: Fri, 25 May 2001 07:40:11 -0700 (PDT)
From: bd8ga@hellocq.net
To: freebsd-gnats-submit@FreeBSD.org
Subject: "bad namelist" when ps/w/
X-Send-Pr-Version: www-1.0

>Number:         27639
>Category:       bin
>Synopsis:       "bad namelist" when ps/w/
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 25 07:50:00 PDT 2001
>Closed-Date:    Fri May 25 07:58:29 PDT 2001
>Last-Modified:  Sat May 26 03:20:01 PDT 2001
>Originator:     Chou Yu
>Release:        FreeBSD 4.3-STABLE #0: Fri May 25 16:42:02 CST 2001
>Organization:
Circumnavigation BBS
>Environment:
FreeBSD www.hellocq.net 4.3-STABLE FreeBSD 4.3-STABLE #0: Fri May 25 16:42:02 CST 2001     chouyu@www.hellocq.net:/usr/src/sys/compile/HELLOCQ  i386

>Description:
After I update my system by:
make update;make world
when I run :
chouyu@www:/usr/bin$ w
w: bad namelist
chouyu@www:/usr/bin$ ps
ps: bad namelist

>How-To-Repeat:
I don't know
>Fix:
I don't know
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dwmalone 
State-Changed-When: Fri May 25 07:58:29 PDT 2001 
State-Changed-Why:  
This is almost always forgetting to upgrade your kernel when you 
upgrade the rest of the world (or vice versa). From the look of 
what you did to upgrade you may have forgotten to build a kernel. 

Have a look at: 

http://www.freebsd.org/doc/en_US.ISO_8859-1/books/faq/troubleshoot.html#NLIST-FAILED 

and check the handbook for details of how to upgrade your kernel. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27639 

From: Peter Pentchev <roam@orbitel.bg>
To: dwmalone@FreeBSD.org
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: bin/27639: "bad namelist" when ps/w/
Date: Fri, 25 May 2001 18:08:57 +0300

 On Fri, May 25, 2001 at 08:02:14AM -0700, dwmalone@FreeBSD.org wrote:
 > Synopsis: "bad namelist" when ps/w/
 > 
 > State-Changed-From-To: open->closed
 > State-Changed-By: dwmalone
 > State-Changed-When: Fri May 25 07:58:29 PDT 2001
 > State-Changed-Why: 
 > This is almost always forgetting to upgrade your kernel when you
 > upgrade the rest of the world (or vice versa). From the look of
 > what you did to upgrade you may have forgotten to build a kernel.
 > 
 > Have a look at:
 > 
 > http://www.freebsd.org/doc/en_US.ISO_8859-1/books/faq/troubleshoot.html#NLIST-FAILED
 > 
 > and check the handbook for details of how to upgrade your kernel.
 > 
 > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27639
 
 ..or it is possible that the 'make world' has built and installed
 a kernel along with the rest, but the submitter has 'forgotten'
 to reboot the machine, so that the new kernel takes effect :)
 
 G'luck,
 Peter
 
 -- 
 You have, of course, just begun reading the sentence that you have just finished reading.

From: Peter Pentchev <roam@orbitel.bg>
To: BD8GA / Chou Yu <bd8ga@hellocq.net>
Cc: freebsd-gnats-submit@FreeBSD.org, dwmalone@FreeBSD.org
Subject: Re: bin/27639: bad namelist when ps/w/
Date: Sat, 26 May 2001 13:17:10 +0300

 On Sat, May 26, 2001 at 10:14:46AM +0800, BD8GA / Chou Yu wrote:
 > > This is almost always forgetting to upgrade your kernel when you 
 > > upgrade the rest of the world (or vice versa). From the look of 
 > > what you did to upgrade you may have forgotten to build a kernel. 
 > 
 > 
 > > ..or it is possible that the 'make world' has built and installed
 > > a kernel along with the rest, but the submitter has 'forgotten'
 > > to reboot the machine, so that the new kernel takes effect :)
 >  
 > Sorry for I didn't submit all information.
 > 
 > I do this step by step again:
 > cd /usr/src
 > make update
 > cd /usr/src/sys/i386/conf
 > cp GENERIC HELLOCQ
 > vi HELLOCQ
 > <delete some line of unuseful hardware configure>
 > config HELLOCQ
 > cd ../../compile/HELLOCQ
 > make clean depend
 > make 
 > make install
 > cd /usr/src
 > make world
 > reboot
 > I got the error message too.
 
 OK, why don't you try something else - the recommended procedure
 for rebuilding the FreeBSD userland and kernel since at least 4.1
 (as documented in /usr/src/UPDATING):
 
   cd /usr/src/sys/i386/conf
   cp GENERIC HELLOCQ
   # edit the HELLOCQ file
   cd /usr/src
   make buildworld buildkernel KERNCONF=HELLOCQ
   shutdown now  # drop to single-user mode
   make installkernel installworld KERNCONF=HELLOCQ
   mergemaster
   shutdown -r now  # a bit better than just 'reboot'
 
 ..then see if the problem persists.
 
 The drop to single-user mode may be skipped, if there are no important
 servers running on your system - some of them might croak when the system
 libraries are replaced.  If you want to skip that drop to single-user
 mode, then after editing the kernel config file, just do:
 
   cd /usr/src
   make buildworld buildkernel installkernel installworld KERNCONF=HELLOCQ
   mergemaster
   shutdown -r now
 
 Hope this helps.
   
 G'luck,
 Peter
 
 -- 
 If the meanings of 'true' and 'false' were switched, then this sentence wouldn't be false.
>Unformatted:
