Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2000 00:45:04 +0300 (EEST)
From:      Pekka Savola <pekkas@netcore.fi>
To:        freebsd-questions@freebsd.org
Subject:   bad namelist
Message-ID:  <Pine.LNX.4.21.0007050021240.326-100000@netcore.fi>

next in thread | raw e-mail | index | archive | help
Hello all,

I posted about this previously, like a week back.  I had had similar
problems using 3.[45]-STABLE (at least).  Now I tried upgrading to
4.0-STABLE (via cvsup), just to try how it was.. no luck.

From deja, it seems several other people have had exactly the same
symptoms, but no real solutions (e.g.):

http://x56.deja.com/getdoc.xp?AN=554389098&CONTEXT=962746388.1574764577&hitnum=6

Chief suspect seems to be (usually) kernel/userland mismatch.

Nowever, I CVSup'ed, and make buildworld, made and installed kernel,
etc. just like UPDATING instructions said (just replaced booting into
single user mode w/ multiuser because I was updating over the network).
I would like to discount this.

Kernel configurations from 3.x and 4.0 are below.

----
'ps' and 'w' (at least) don't work.  They just say: 

# ps
ps: bad namelist

# w
w: bad namelist

Stuff like 'who', 'top', 'killall' and so on seem to work just fine
though.

Any ideas?

Please Cc: any relevant follow-up's to me.


-------- Kernel config from 4.0 --------
machine		i386
cpu		I586_CPU
cpu		I686_CPU
ident		GAP
maxusers	64
options 	MATH_EMULATE		#Support for x87 emulation
options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	MFS			#Memory Filesystem
options 	MD_ROOT			#MD is a potential root device
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
options 	UCONSOLE		#Allow users to grab the console
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extensions
options 	_KPOSIX_PRIORITY_SCHEDULING
options		ICMP_BANDLIM		#Rate limit bad replies
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
device		isa
device		pci
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0
device		ata0	at isa? port IO_WD1 irq 14
device		ata1	at isa? port IO_WD2 irq 15
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
options 	ATA_STATIC_ID		#Static device numbering
options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices
				# Allow ncr to attach legacy NCR devices when 
				# both sym and ncr are configured
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1 flags 0x1
device		psm0	at atkbdc? irq 12
device		vga0	at isa?
pseudo-device	splash
device		sc0	at isa? flags 0x100
device		npx0	at nexus? port IO_NPX irq 13
device		apm0    at nexus? disable flags 0x20 # Advanced Power Management
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3
device		ppc0	at isa? irq 7
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
device		miibus		# MII bus support
device		rl		# RealTek 8129/8139
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	tun		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	md		# Memory "disks"
pseudo-device	gif	4	# IPv6 and IPv4 tunneling
pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)
pseudo-device	bpf		#Berkeley packet filter
options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #print information about
                                        # dropped packets
options         IPFIREWALL_FORWARD      #enable transparent proxy support
options         IPFIREWALL_VERBOSE_LIMIT=100    #limit verbosity
options         IPFIREWALL_DEFAULT_TO_ACCEPT    #allow everything by default
options         IPV6FIREWALL            #firewall for IPv6
options         IPV6FIREWALL_VERBOSE
options         IPV6FIREWALL_VERBOSE_LIMIT=100
options         IPV6FIREWALL_DEFAULT_TO_ACCEPT
options         IPDIVERT                #divert sockets
options         IPFILTER                #ipfilter support
options         IPFILTER_LOG            #ipfilter logging
options         IPSTEALTH               #support for stealth forwarding
pseudo-device   bpfilter 4      #Berkeley packet filter
pseudo-device   snp 2
options         IPSEC                   #IP security
options         IPSEC_ESP               #IP security (crypto; define w/ IPSEC)
options         IPSEC_IPV6FWD           #IP security tunnel for IPv6
options         DUMMYNET
options         COMPAT_LINUX
---------------------------------------------

------- Kernel configuration from 3.x -------
machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
cpu		"I686_CPU"
ident		GAP
maxusers	64
options 	MATH_EMULATE		#Support for x87 emulation
options 	INET			#InterNETworking
options IPFILTER
options IPFILTER_LOG
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	MFS			#Memory Filesystem
options 	MFS_ROOT		#MFS usable as root device, "MFS" req'ed
options 	"CD9660"		#ISO 9660 Filesystem
options 	"CD9660_ROOT"		#CD-ROM usable as root. "CD9660" req'ed
options 	PROCFS			#Process filesystem
options 	"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=15000	#Be pessimistic about Joe SCSI device
options 	UCONSOLE		#Allow users to grab the console
options 	FAILSAFE		#Be conservative
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	KTRACE			#ktrace(1) syscall trace support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options		"EXT2FS"
config		kernel	root on wd0
controller	isa0
controller	pnp0			# PnP support for ISA
controller	pci0
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2
disk		fd0	at fdc0 drive 0
controller	wdc0	at isa? port "IO_WD1" bio irq 14
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1
controller	wdc1	at isa? port "IO_WD2" bio irq 15
disk		wd2	at wdc1 drive 0
disk		wd3	at wdc1 drive 1
options		ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM
device		acd0		#IDE CD-ROM
controller	atkbdc0	at isa? port IO_KBD tty
device		atkbd0	at isa? tty irq 1
device		vga0	at isa? port ? conflicts
pseudo-device	splash
device		sc0	at isa? tty
device		npx0	at isa? port IO_NPX irq 13
device		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4
device		sio1	at isa? port "IO_COM2" tty irq 3
device		ppc0	at isa? port? flags 0x40 net irq 7
controller	ppbus0			# Parallel port bus (required)
device		lpt0	at ppbus?	# Printer
device		fxp0		# Intel EtherExpress PRO/100B (82557, 82558)
device		rl0		# RealTek 8129/8139
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	ppp	1	# Kernel PPP
pseudo-device	tun	2	# Packet tunnel
pseudo-device	pty	256	# Pseudo-ttys (telnet etc)
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device	bpfilter 4	#Berkeley packet filter
pseudo-device	snp 2
options IPFIREWALL
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_VERBOSE
---------------------------------------------

Thanks,
-- 
Pekka Savola                    "Tell me of difficulties surmounted, 
Pekka.Savola@netcore.fi          not those you stumble over and fall"





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0007050021240.326-100000>