Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2002 04:01:06 -0400 (AST)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        freebsd-stable@FreeBSD.ORG, <alc@cs.rice.edu>, <Tor.Egge@cvsup.no.freebsd.org>
Subject:   Re: SMP kernel with latest hangs on boot ...
Message-ID:  <20021109035500.T12539-100000@hub.org>
In-Reply-To: <200211090510.gA95At6p005585@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 8 Nov 2002, Matthew Dillon wrote:

> :Evening all ...
> :
> :Just upgraded my system to the latest STABLE and had to get Rackspace to
> :backtrack to my GENERIC kernel ... they report:
> :
> :"The kernel you just upgraded will not boot. I attempted to boot off the
> :kernel and it hangs after launching CPU #1."
> :
> :would that have anything to do with having INVARIANTS enabled?  anyone
> :else having a problem with the STABLE kernel under SMP?
>
>     It could be running out of KVM trying to set up all your resource
>     overrides.  I just helped another guy who had a similar problem.
>     It can occur when certain resources are really bumped up, like
>     NMBCLUSTERS and MBUFS and so forth.

Ack ... why would this have changed all of a sudden?  I haven't changed
any settings in my kernel config file since the last kernel upgrade ...

as for any overrides, the only thing I'm overriding in the kernel config
is NMBCLUSTERS (kernel config included below), and in /boot/loader.conf, I
have:

venus# cat /boot/loader.conf
# -- sysinstall generated deltas -- #
kern.maxswzone="32m"
userconfig_script_load="YES"

and my /etc/sysctl.conf contains:

kern.maxvnodes=150000
kern.maxfiles=65534
jail.sysvipc_allowed=1
vm.swap_idle_enabled=1
vfs.vmiodirenable=1
kern.ipc.somaxconn=4096
kern.ipc.shm_use_phys=1

and none of this has been changed since last upgrade ...



machine		i386
cpu		I686_CPU
ident		kernel
maxusers	0

options     INVARIANTS
options     INVARIANT_SUPPORT

options         NMBCLUSTERS=15360

options         NSWAPDEV=1
makeoptions     DEBUG=-g                #Build kernel with gdb(1) debug symbols

options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_DIRHASH		#Improve performance on big directories
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
options 	KTRACE			#ktrace(1) support

options         SYSVSHM
options         SHMMAXPGS=199608
options         SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)

options         SYSVSEM
options         SEMMNI=4096
options         SEMMNS=8192

options         SYSVMSG                 #SYSV-style message queues

options 	P1003_1B		#Posix P1003_1B real-time extensions
options 	_KPOSIX_PRIORITY_SCHEDULING
options		ICMP_BANDLIM		#Rate limit bad replies

options 	SMP			# Symmetric MultiProcessor Kernel
options 	APIC_IO			# Symmetric (APIC) I/O

device		isa
device		pci

device		scbus		# SCSI bus (required)
device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
device		pass		# Passthrough device (direct SCSI access)

device		amr		# AMI MegaRAID
device		sym		# NCR/Symbios Logic (newer chipsets)

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

pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	pty	256	# Pseudo-ttys (telnet etc)

pseudo-device	bpf		#Berkeley packet filter

options         IPFIREWALL                      #firewall
options         IPFIREWALL_FORWARD              #enable transparent proxy support
options         IPFIREWALL_DEFAULT_TO_ACCEPT    #allow everything by default

options    DDB
options    DDB_UNATTENDED



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




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