From owner-freebsd-current Wed Aug 11 11:52:19 1999 Delivered-To: freebsd-current@freebsd.org Received: from uni-sb.de (uni-sb.de [134.96.252.33]) by hub.freebsd.org (Postfix) with ESMTP id 66199155E3 for ; Wed, 11 Aug 1999 11:52:02 -0700 (PDT) (envelope-from netchild@Vodix.CS.Uni-SB.de) Received: from work.net.local (maxtnt-067.telip.uni-sb.de [134.96.70.194]) by uni-sb.de (8.9.3/1999070600) with ESMTP id UAA27683 for ; Wed, 11 Aug 1999 20:51:20 +0200 (CEST) X-Authentication-Warning: uni-sb.de: Host maxtnt-067.telip.uni-sb.de [134.96.70.194] claimed to be work.net.local Received: from Vodix.CS.Uni-SB.de (localhost.net.local [127.0.0.1]) by work.net.local (8.9.3/8.9.3) with ESMTP id UAA00795 for ; Wed, 11 Aug 1999 20:50:56 +0200 (CEST) (envelope-from netchild@Vodix.CS.Uni-SB.de) Message-Id: <199908111850.UAA00795@work.net.local> Date: Wed, 11 Aug 1999 20:50:54 +0200 (CEST) From: A.Leidinger@WJPServer.CS.Uni-SB.de Subject: Crash with NFS V2 To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have a program which does something like userland-nfs (nfs v2 client). It is able to crash the machine. After compiling a debug kernel the only output I get after the crashdump is: ---snip--- (100) root@ttyp3 # gdb -kernel -se /sys/compile/WORK/kernel.debug -c /var/crash/vmcore.1 IdlePTD 3743744 initial pcb at 2cb960 panic messages: --- dmesg: kvm_read: invalid address (c02bcb50) --- #0 boot (howto=Cannot access memory at address 0xc62e6b54. ) at ../../kern/kern_shutdown.c:291 291 dumppcb.pcb_cr3 = rcr3(); (kgdb) bt #0 boot (howto=Cannot access memory at address 0xc62e6b54. ) at ../../kern/kern_shutdown.c:291 Cannot access memory at address 0xc62e6b4c. ---snip--- - System is -current from august 5th. - "mountd -2 -n" - "nfsd -u" My program does a nfs read call and wants a buffer (readres.readres_u.reply.data.data_val) of 32k to be filled. -> crashed from userland (the program and the nfs server are running on the same machine) The core and the debug kernel are available, feel free to give me some advice how to get more information out of it. ----- There is also a strange behavior in nfs_readdir: I get a segfault with readdir (in libc, something xdr relatet if I remember correctly) if the buffer (readdirres.readdirres_u.reply.entries) is less than 8k+1 [NFS_MAXDATA+1] (on Solaris 2.4 this buffer has to be 257 [NFS_MAXNAMLEN+1] or greater). This one is testet with: - NFS-Server: FreeBSD 3.x, Userland-NFS-Client: Solaris 2.4 - NFS-Server + Userland-NFS-Client (on the same machine): FreeBSD 4-current (some months ago) Bye, Alexander. -- Can I trade this job for what's behind door #2? http://netchild.home.pages.de A.Leidinger+Home @ WJPServer.CS.Uni-SB.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message