5.2.1 not able to boot and panics sometimes with rpcbind_flags="-l"

From: Hilko Meyer <Hilko.Meyer_at_gmx.de>
Date: Fri, 30 Jul 2004 23:44:21 +0200
Hi,

if I set rpcbind_flags="-l" in my rc.conf the machine boots only until
the start of mountd. Then there is a massive worload off the HDD and
after a lite time the console ist spammed with the following message:
"kirk kernel: kern.maxfiles limit exceeded by uid 0, please see
tuning(7)."

I tried to raise kern.maxfiles in single user mode without success. At
19920 mountd and nfsd were able to start, but then i got a panic. See
below for the backtrace.
With kern.maxfiles=10000 I reached another limit. It was something like 
"maxprocs exceeded, please see tuning(7)."

I got another panic as I booted in safe mode. The backtrace is nearly
identical to the form the other panic.

The System is 5.2.1-RELEASE-p9.

Excerpt from my rc.conf:
nfs_server_enable="YES"
nis_server_enable="YES"
rpcbind_enable="YES"
#rpcbind_flags="-l"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
nisdomainname="hochpass"
nfs_reserved_port_only="NO"
portmap_enable="YES"

And finally the backtrace:
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-unknown-freebsd"...
panic: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x40
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc04bc108
stack pointer	        = 0x10:0xce32dbb8
frame pointer	        = 0x10:0xce32dbc0
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 965 (rpcbind)
trap number		= 12
panic: page fault

syncing disks, buffers remaining... 562 562 562 562 562 562 562 562 562
562 562 562 562 562 562 ad0: WARNING - WRITE_MUL interrupt was seen but
timeout fired LBA=559359
562 562 562 562 562 
giving up on 540 buffers
Uptime: 1m18s
ad0: WARNING - WRITE_MUL interrupt was seen but timeout fired LBA=559359
Dumping 128 MB
 16 32 48 64 80 96 112
---
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240		dumping++;
(kgdb) list *0xc04bc108
0xc04bc108 is in devtoname (/usr/src/sys/kern/kern_conf.c:486).
481	devtoname(dev_t dev)
482	{
483		char *p;
484		int mynor;
485	
486		if (dev->si_name[0] == '#' || dev->si_name[0] == '\0') {
487			p = dev->si_name;
488			if (devsw(dev))
489				sprintf(p, "#%s/", devsw(dev)->d_name);
490			else
(kgdb) backtrace 
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc04db510 in boot (howto=256) at
/usr/src/sys/kern/kern_shutdown.c:372
#2  0xc04db845 in panic () at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc061c431 in trap_fatal (frame=0xce32db78, eva=64) at
/usr/src/sys/i386/i386/trap.c:821
#4  0xc061c18b in trap_pfault (frame=0xce32db78, usermode=0, eva=64) at
/usr/src/sys/i386/i386/trap.c:735
#5  0xc061bdc4 in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 0, tf_esi = 0,
tf_ebp = -835527744, tf_isp = -835527772, tf_ebx = 2, tf_edx =
-1035988032, tf_ecx = -1002449072, tf_eax = 35, tf_trapno = 12, tf_err =
0, tf_eip = -1068777208, tf_cs = 8, tf_eflags = 66050, tf_esp = 2, tf_ss
= -1059906520}) at /usr/src/sys/i386/i386/trap.c:420
#6  0xc060c9d8 in calltrap () at {standard input}:94
#7  0xc05d3fea in swap_pager_getpages (object=0xc1d48ef4, m=0xce32dc94,
count=2, reqpage=0) at /usr/src/sys/vm/swap_pager.c:1144
#8  0xc05d7035 in vm_fault (map=0xc2410938, vaddr=134619136,
fault_type=2 '\002', fault_flags=8)
    at /usr/src/sys/vm/vm_pager.h:129
#9  0xc061c0b7 in trap_pfault (frame=0xce32dd48, usermode=1,
eva=134619136) at /usr/src/sys/i386/i386/trap.c:711
#10 0xc061bcd7 in trap (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134619136, tf_esi =
1200, tf_ebp = -1077952776, tf_isp = -835527308, tf_ebx = 1200, tf_edx =
0, tf_ecx = 300, tf_eax = 0, tf_trapno = 12, tf_err = 6, tf_eip =
672387291, tf_cs = 31, tf_eflags = 66066, tf_esp = -1077952832, tf_ss =
47}) at /usr/src/sys/i386/i386/trap.c:319
#11 0xc060c9d8 in calltrap () at {standard input}:94
---Can't read userspace from dump, or kernel process---

(kgdb) quit


tschau,
Hilko
Received on Fri Jul 30 2004 - 19:44:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC