NetBSD Problem Report #49914

From www@NetBSD.org  Tue May 19 19:32:05 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B3700A65B7
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 19 May 2015 19:32:05 +0000 (UTC)
Message-Id: <20150519193204.8D2C3A65B9@mollari.NetBSD.org>
Date: Tue, 19 May 2015 19:32:04 +0000 (UTC)
From: omniacet@gmail.com
Reply-To: omniacet@gmail.com
To: gnats-bugs@NetBSD.org
Subject: NetBSD reboots after connecting to NFS
X-Send-Pr-Version: www-1.0

>Number:         49914
>Category:       kern
>Synopsis:       NetBSD reboots after connecting to NFS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 19 19:35:00 +0000 2015
>Last-Modified:  Sun Oct 18 09:55:00 +0000 2015
>Originator:     Olga Ivanova
>Release:        6.1
>Organization:
>Environment:
NetBSD omniacet.local 6.1 NetBSD 6.1 (GENERIC) i386

>Description:
I was following NetBSD NFS guide for connecting to kubuntu(trusty) nfs server. When mounting a directory, kernel crashes with dumps saved in /var/crash.


>How-To-Repeat:
Server configuration:
/etc/export:
/export       192.168.1.0/24(rw,fsid=0,insecure,no_subtree_check,async)
/export/users 192.168.1.0/24(rw,fsid=0,nohide,insecure,no_subtree_check,async)

/export/users directory is a mounted (-o bind) /tmp/export directory.

Client configuration:
/etc/rc.conf:

rpcbind=yes
nfs_client=yes
lockd=yes
statd=yes

Then I use 
mount -t nfs 192.168.1.4:/export /mnt
Fs is mounted correctly, but when I cd into it, kernel reboots and crash files are generated.
>Fix:
I changed server configuration (/etc/export) to 
/tmp       192.168.1.0/24(rw,fsid=0,insecure,no_subtree_check,async)

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: security-officer->kern-bug-people
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Sun, 18 Oct 2015 09:49:19 +0000
Responsible-Changed-Why:
a miscellaneous crash is not a security-officer issue


From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/49914 (NetBSD reboots after connecting to NFS)
Date: Sun, 18 Oct 2015 09:52:43 +0000

  > I was following NetBSD NFS guide for connecting to kubuntu(trusty) nfs
  > server. When mounting a directory, kernel crashes with dumps saved in
  > /var/crash.

 Please let us know (1) the panic message, and if possible (2) the
 backtrace saved in the crash dump.

 Without further information there is really nothing we can do.

 Also:

  > /export 192.168.1.0/24(rw,fsid=0,insecure,no_subtree_check,async)
  > /tmp    192.168.1.0/24(rw,fsid=0,insecure,no_subtree_check,async)

 Do you mean that you changed which directory is exported and it no
 longer dies? Because nothing else in there seems to be different.

 -- 
 David A. Holland
 dholland@netbsd.org

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.