From owner-freebsd-current@FreeBSD.ORG Fri Jul 30 21:44:20 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 656C616A4CE for ; Fri, 30 Jul 2004 21:44:20 +0000 (GMT) Received: from lnxc-641.srv.mediaways.net (smtp.compuserve.de [62.52.27.101]) by mx1.FreeBSD.org (Postfix) with SMTP id 39BF343D5D for ; Fri, 30 Jul 2004 21:44:19 +0000 (GMT) (envelope-from Hilko.Meyer@gmx.de) Received: (qmail 18482 invoked by uid 501); 30 Jul 2004 21:44:04 -0000 Received: from dialin-145-254-143-051.arcor-ip.net (dialin-145-254-143-051.arcor-ip.net [145.254.143.51]) by compuserve.de ([10.228.3.105]) with ESMTP via TCP; 30 Jul 2004 21:44:04 -0000 From: Hilko Meyer To: current@freebsd.org Date: Fri, 30 Jul 2004 23:44:21 +0200 Message-ID: <9aelg0hcun921p4nodocaik1mco22idnnu@smtp.compuserve.de> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: 5.2.1 not able to boot and panics sometimes with rpcbind_flags="-l" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jul 2004 21:44:20 -0000 Hi, if I set rpcbind_flags=3D"-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=3D10000 I reached another limit. It was something like= =20 "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=3D"YES" nis_server_enable=3D"YES" rpcbind_enable=3D"YES" #rpcbind_flags=3D"-l" rpc_lockd_enable=3D"YES" rpc_statd_enable=3D"YES" nisdomainname=3D"hochpass" nfs_reserved_port_only=3D"NO" portmap_enable=3D"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: --- =46atal trap 12: page fault while in kernel mode fault virtual address =3D 0x40 fault code =3D supervisor read, page not present instruction pointer =3D 0x8:0xc04bc108 stack pointer =3D 0x10:0xce32dbb8 frame pointer =3D 0x10:0xce32dbc0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 965 (rpcbind) trap number =3D 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=3D559359 562 562 562 562 562=20 giving up on 540 buffers Uptime: 1m18s ad0: WARNING - WRITE_MUL interrupt was seen but timeout fired = LBA=3D559359 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=09 486 if (dev->si_name[0] =3D=3D '#' || dev->si_name[0] =3D=3D '\0') { 487 p =3D dev->si_name; 488 if (devsw(dev)) 489 sprintf(p, "#%s/", devsw(dev)->d_name); 490 else (kgdb) backtrace=20 #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 #1 0xc04db510 in boot (howto=3D256) 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=3D0xce32db78, eva=3D64) at /usr/src/sys/i386/i386/trap.c:821 #4 0xc061c18b in trap_pfault (frame=3D0xce32db78, usermode=3D0, = eva=3D64) at /usr/src/sys/i386/i386/trap.c:735 #5 0xc061bdc4 in trap (frame=3D {tf_fs =3D 24, tf_es =3D 16, tf_ds =3D 16, tf_edi =3D 0, tf_esi =3D= 0, tf_ebp =3D -835527744, tf_isp =3D -835527772, tf_ebx =3D 2, tf_edx =3D -1035988032, tf_ecx =3D -1002449072, tf_eax =3D 35, tf_trapno =3D 12, = tf_err =3D 0, tf_eip =3D -1068777208, tf_cs =3D 8, tf_eflags =3D 66050, tf_esp =3D = 2, tf_ss =3D -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=3D0xc1d48ef4, = m=3D0xce32dc94, count=3D2, reqpage=3D0) at /usr/src/sys/vm/swap_pager.c:1144 #8 0xc05d7035 in vm_fault (map=3D0xc2410938, vaddr=3D134619136, fault_type=3D2 '\002', fault_flags=3D8) at /usr/src/sys/vm/vm_pager.h:129 #9 0xc061c0b7 in trap_pfault (frame=3D0xce32dd48, usermode=3D1, eva=3D134619136) at /usr/src/sys/i386/i386/trap.c:711 #10 0xc061bcd7 in trap (frame=3D {tf_fs =3D 47, tf_es =3D 47, tf_ds =3D 47, tf_edi =3D 134619136, = tf_esi =3D 1200, tf_ebp =3D -1077952776, tf_isp =3D -835527308, tf_ebx =3D 1200, = tf_edx =3D 0, tf_ecx =3D 300, tf_eax =3D 0, tf_trapno =3D 12, tf_err =3D 6, tf_eip =3D 672387291, tf_cs =3D 31, tf_eflags =3D 66066, tf_esp =3D -1077952832, = tf_ss =3D 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