Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 1995 14:20:00 -0800 (PST)
From:      -Vince- <vince@apollo.COSC.GOV>
To:        hackers@FreeBSD.ORG
Subject:   machine reboot & kernel maxusers option
Message-ID:  <Pine.BSF.3.91.951031141919.944S-100000@apollo.COSC.GOV>

next in thread | raw e-mail | index | archive | help
Hi everyone,

	I am experiencing the following problem and the machine just 
reboots under FreeBSD-current, anyone have any ideas?

MAND FAILED (4 28) @f0b4aa00.
assertion "cp" failed: file "../../pci/ncr.c", line 5560
sd0(ncr0:0:0): COMMAND FAILED (4 28) @f0b4aa00.
assertion "cp" failed: file "../../pci/ncr.c", line 5560
sd0(ncr0:0:0): COMMAND FAILED (4 28) @f0b4aa00.
assertion "cp" failed: file "../../pci/ncr.c", line 5560
sd0(ncr0:0:0): COMMAND FAILED (4 28) @f0b4aa00.
assertion "cp" failed: file "../../pci/ncr.c", line 5560
sd0(ncr0:0:0): COMMAND FAILED (4 28) @f0b4aa00.
assertion "cp" failed: file "../../pci/ncr.c", line 5560
sd0(ncr0:0:0): COMMAND FAILED (4 28) @f0b4aa00.
assertion "cp" failed: file "../../pci/ncr.c", line 5560
sd0(ncr0:0:0): COMMAND FAILED (4 28) @f0b4aa00.
assertion "cp" failed: file "../../pci/ncr.c", line 5560
sd0(ncr0:0:0): COMMAND FAILED (4 28) @f0b4aa00.
assertion "cp" failed: file "../../pci/ncr.c", line 5560
sd0(ncr0:0:0): COMMAND FAILED (4 28) @f0b4aa00.
assertion "cp" failed: file "../../pci/ncr.c", line 5560
sd0(ncr0:0:0): COMMAND FAILED (4 28) @f0b4aa00.
assertion "cp" failed: file "../../pci/ncr.c", line 5560
sd0(ncr0:0:0): COMMAND FAILED (4 28) @f0b4aa00.
assertion "cp" failed: file "../../pci/ncr.c", line 5560
sd0(ncr0:0:0): COMMAND FAILED (4 28) @f0b4aa00.
5 5 5 5 5 5 5 5 5 5 5 5 5 assertion "cp" failed: file "../../pci/ncr.c", line 5560
sd0(ncr0:0:0): COMMAND FAILED (4 28) @f0b4aa00.
assertion "cp" failed: file "../../pci/ncr.c", line 5560
sd0(ncr0:0:0): COMMAND FAILED (4 28) @f0b4aa00.
5 5 5 5 5 5 5 giving up
Automatic reboot in 15 seconds\^?\^A a key on the console to abort
Rebooting...

	I am running several mailing lists with majordomo and I 
understand that the kernel complains that there is too many files opened 
when my limit is set to 1024 per user since here is the output of limit:

cputime 	unlimited
filesize 	unlimited
datasize 	65536 kbytes
stacksize 	8192 kbytes
coredumpsize 	unlimited
memoryuse 	19472 kbytes
descriptors 	1024 
memorylocked 	6492 kbytes
maxproc 	1024 

sysctl -a output:

kern.ostype = FreeBSD
kern.osrelease = 2.2-CURRENT
kern.osrevision = 199306
kern.version = FreeBSD 2.2-CURRENT #0: Fri Oct 27 19:57:05 PDT 1995
    vince@apollo.COSC.GOV:/usr/src/sys/compile/ASTRO

kern.maxvnodes = 2726
kern.maxproc = 1620
kern.maxfiles = 3240
kern.argmax = 65536
kern.securelevel = -1
kern.hostname = apollo.COSC.GOV
kern.hostid = 0
kern.clockrate: hz = 100, tick = 10000, profhz = 1024, stathz = 128
kern.posix1version = 198808
kern.ngroups = 16
kern.job_control = 1
kern.saved_ids = 1
kern.boottime = Tue Oct 31 11:47:07 1995
kern.domainname = COSC.GOV
kern.update = 30
kern.osreldate = 199508
kern.bootfile = /kernel
kern.maxfilesperproc = 3240
kern.maxprocperuid = 1619
kern.dumpdev = disabled
vm.loadavg: 0.00 0.03 0.01
net.inet.ip.forwarding = 1
net.inet.ip.redirect = 1
net.inet.ip.ttl = 64
net.inet.ip.rtexpire = 210
net.inet.ip.rtminexpire = 10
net.inet.ip.rtmaxcache = 128
net.inet.ip.sourceroute = 0
net.inet.ip.directed-broadcast = 0
net.inet.icmp.maskrepl = 0
net.inet.tcp.rfc1323 = 0
net.inet.tcp.rfc1644 = 0
net.inet.tcp.mssdflt = 512
net.inet.tcp.rttdflt = 3
net.inet.tcp.keepidle = 14400
net.inet.tcp.keepintvl = 150
net.inet.tcp.sendspace = 16384
net.inet.tcp.recvspace = 16384
net.inet.udp.checksum = 1
net.inet.udp.maxdgram = 9216
net.inet.udp.recvspace = 41600
hw.machine = i386
hw.model = Pentium 735\90
hw.ncpu = 1
hw.byteorder = 1234
hw.physmem = 21250048
hw.usermem = 17403904
hw.pagesize = 4096
hw.floatingpoint = 1
machdep.console_device = ??
machdep.adjkerntz = 28800
machdep.disable_rtc_set = 0
user.cs_path = /usr/bin:/bin:/usr/sbin:/sbin:
user.bc_base_max = 99
user.bc_dim_max = 2048
user.bc_scale_max = 99
user.bc_string_max = 1000
user.coll_weights_max = 0
user.expr_nest_max = 32
user.line_max = 2048
user.re_dup_max = 255
user.posix2_version = 199212
user.posix2_c_bind = 0
user.posix2_c_dev = 0
user.posix2_char_term = 0
user.posix2_fort_dev = 0
user.posix2_fort_run = 0
user.posix2_localedef = 0
user.posix2_sw_dev = 0
user.posix2_upe = 0
user.stream_max = 20
user.tzname_max = 255

dmesg produces the following:

FreeBSD 2.2-CURRENT #0: Fri Oct 27 19:57:05 PDT 1995
    vince@apollo.COSC.GOV:/usr/src/sys/compile/ASTRO
CPU: 90-MHz Pentium 735\\90 (Pentium-class CPU)
  Origin = "GenuineIntel"  Id = 0x525  Stepping=5
  Features=0x1bf<FPU,VME,PSE,MCE,CX8,APIC>
real memory  = 25165824 (24576K bytes)
avail memory = 20107264 (19636K bytes)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x260-0x27f irq 5 on isa
ed0: address 00:40:05:16:77:85, type NE2000 (16 bit) 
ed1 not found at 0x300
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2 not found at 0x3e8
sio3 not found at 0x2e8
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
lpt1 not found at 0xffffffff
lpt2 not found at 0xffffffff
pca0 on motherboard
pca0: PC speaker audio driver
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc1 not found at 0x170
bt0 not found at 0x330
uha0 not found at 0x330
ahc1 not found
ahb0 not found
aha0 not found at 0x330
aic0 not found at 0x340
nca0 not found at 0x1f88
nca1 not found at 0x350
sea0 not found
wt0 not found at 0x300
mcd0: timeout getting status
mcd0 not found at 0x300
mcd1: timeout getting status
mcd1 not found at 0x340
matcdc0 not found at 0xffffffff
scd0 not found at 0x230
ie0 not found at 0x360
ep0 not found at 0x300
ix0 not found at 0x300
le0: no board found at 0x300
le0 not found at 0x300
lnc0 not found at 0x280
lnc1 not found at 0x300
ze0 not found at 0x300
zp0 not found at 0x300
npx0 on motherboard
npx0: INT 16 interface
gus0 at 0x220 irq 11 drq 1 on isa
gus0: <Gravis UltraSound 2.4 (1024k)>
Probing for devices on the PCI bus:
chip0 <Intel 82437 (Triton)> rev 2 on pci0:0
chip1 <Intel 82371 (Triton)> rev 2 on pci0:7
ncr0 <ncr 53c810 scsi> rev 2 int a irq 10 on pci0:11
ncr0 waiting for scsi devices to settle
(ncr0:0:0): "DEC DSP5400S 427L" type 0 fixed SCSI 2
sd0(ncr0:0:0): Direct-Access 
sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
3814MB (7812870 512 byte sectors)
vga0 <Display device> rev 0 on pci0:12
changing root device to sd0a
in_rtqtimo: adjusted rtq_reallyold to 2400
uid 10 on /: file system full
in_rtqtimo: adjusted rtq_reallyold to 1600
in_rtqtimo: adjusted rtq_reallyold to 1066
in_rtqtimo: adjusted rtq_reallyold to 710
in_rtqtimo: adjusted rtq_reallyold to 473
in_rtqtimo: adjusted rtq_reallyold to 315
in_rtqtimo: adjusted rtq_reallyold to 210

	Here is the kernel configuration:

#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
#	$Id: GENERIC,v 1.46 1995/06/11 19:31:11 rgrimes Exp $
#	1995/10/25 14:53:33 vince ASTRO
#

machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
ident		ASTRO
maxusers	100

#options		MATH_EMULATE		#Support for x87 emulation
options		"CHILD_MAX=1024"
options		"OPEN_MAX=1024"
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG
options		GATEWAY
options		MROUTING
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3
options		"SCSI_DELAY=15"		#Be pessimistic about Joe SCSI device
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options		UCONSOLE		#Allow users to grab the console

config		kernel	root on wd0 

controller	isa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1
tape		ft0	at fdc0 drive 2

controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
disk		wd2	at wdc1 drive 0
disk		wd3	at wdc1 drive 1

controller	ncr0
controller	ahc0

controller	bt0	at isa? port "IO_BT0" bio irq ? vector btintr
controller	uha0	at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
controller	ahc1	at isa? bio irq ? vector ahcintr
controller	ahb0	at isa? bio irq ? vector ahbintr
controller	aha0	at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
controller	aic0    at isa? port 0x340 bio irq 11 vector aicintr
controller	nca0	at isa? port 0x1f88 bio irq 10 vector ncaintr
controller	nca1	at isa? port 0x350 bio irq 5 vector ncaintr
controller	sea0	at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr

controller	scbus0

device		sd0

device		st0

device		cd0	#Only need one of these, the code dynamically grows

device		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr
device		mcd0	at isa? port 0x300 bio irq 10 vector mcdintr
device		mcd1	at isa? port 0x340 bio irq 11 vector mcdintr

controller	matcd0	at isa? port ? bio

device		scd0	at isa? port 0x230 bio

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
#options		"PCVT_FREEBSD=210"	# pcvt running on FreeBSD 2.1
#options		XSERVER			# include code for XFree86

device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio2	at isa? port "IO_COM3" tty irq 5 vector siointr
device		sio3	at isa? port "IO_COM4" tty irq 9 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr
device		lpt1	at isa? port? tty
device		lpt2	at isa? port? tty

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device de0
device ed0 at isa? port 0x260 net irq  5 iomem 0xd8000 vector edintr
device ed1 at isa? port 0x300 net irq  5 iomem 0xd8000 vector edintr
device ie0 at isa? port 0x360 net irq  7 iomem 0xd0000 vector ieintr
device ep0 at isa? port 0x300 net irq 10 vector epintr
device ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr
device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
device lnc1 at isa? port 0x300 net irq 10 drq 0 vector lncintr
device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	fddi
pseudo-device	log
pseudo-device	sl	256
# ijppp uses tun instead of ppp device
pseudo-device	ppp	256
pseudo-device	tun	256
pseudo-device	pty	256
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device	speaker
pseudo-device	snp	10

# Controls all sound devices
controller	snd0
device gus0 at isa? port 0x220 irq 11 drq 1 vector gusintr
device pca0 at isa? port IO_TIMER1 tty
# Options for `wdc':
#
# ATAPI enables the support for ATAPI-compatible IDE devices
#
options         ATAPI   #Enable ATAPI support for IDE bus

# IDE CD-ROM driver - requires wdc controller and ATAPI option
device          wcd0

	Also, another thing is we have 24 megs of physical memory and 240 
megs of swap space.  The machine sometimes just locks up instead of 
rebooting...  Any help would be appreciated.

Cheers,
-Vince- vince@COSC.GOV - GUS Mailing Lists Admin
UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.)
Chabot Observatory & Science Center - Board of Advisors
Running FreeBSD - Real UN*X for Free!
Linda Wong/Vivian Chow/Hacken Lee/Danny Chan Fan Club Mailiing Lists Admin




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