NetBSD Problem Report #35472

From leo@marco.de  Wed Jan 24 08:40:34 2007
Return-Path: <leo@marco.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 2AB6863B8AD
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 24 Jan 2007 08:40:34 +0000 (UTC)
Message-Id: <m1H9cjp-000jbIC@hera.dachau.marco.de>
Date: Wed, 24 Jan 2007 08:40:09 +0100 (CET)
From: leo@marco.de
Reply-To: leo@marco.de
To: gnats-bugs@NetBSD.org
Subject: linux emulation problem with a nfs v3 mounted /usr/pkg
X-Send-Pr-Version: 3.95

>Number:         35472
>Category:       port-i386
>Synopsis:       linux emulation problem with a nfs v3 mounted /usr/pkg
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 24 08:45:00 +0000 2007
>Last-Modified:  Thu Feb 26 17:35:04 +0000 2009
>Originator:     Matthias Pfaller
>Release:        NetBSD 4.99.9
>Organization:
Matthias Pfaller                            Software Entwicklung
marco Systemanalyse und Entwicklung GmbH    Tel   +49 8131 5161 41
Hans-Böckler-Str. 2, D 85221 Dachau         Fax   +49 8131 5161 66
http://www.marco.de/                        Email leo@marco.de
>Environment:
	<The following information is extracted from your kernel. Please>
	<append output of "ldd", "ident" where relevant (multiple lines).>
System:	NetBSD 4.99.9 (SIN) #0: Mon Jan 22 14:14:52 CET 2007

Architecture: i386
Machine: i386
>Description:
I have a netbooted machine running netbsd-current-20070121. There is no
local harddrive, all filesystems are nfs mounted. Some linux applications
crash:
	openoffice2-bin: missing vcl resource ...
	firefox2-bin: silent death

From ktrace/ktruss with openoffice it looks like something is wrong with
getdents64. 

>How-To-Repeat:
mount /usr/pkg via nfs v3 and try to run soffice.

>Fix:
use a local installation or an nfs v2 mount.

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: leo@marco.de
Cc: gnats-bugs@NetBSD.org
Subject: Re: port-i386/35472: linux emulation problem with a nfs v3 mounted /usr/pkg
Date: Wed, 24 Jan 2007 10:48:42 +0100

 On Wed, Jan 24, 2007 at 08:45:00AM +0000, leo@marco.de wrote:
 > >How-To-Repeat:
 > mount /usr/pkg via nfs v3 and try to run soffice.

 I think you want to look at the -X option of mount_nfs(8).

 Martin

From: Matthias Pfaller <leo@marco.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-i386/35472: linux emulation problem with a nfs v3 mounted
 /usr/pkg
Date: Thu, 25 Jan 2007 11:28:59 +0100

 Martin Husemann wrote:
 > The following reply was made to PR port-i386/35472; it has been noted by GNATS.
 > 
 > From: Martin Husemann <martin@duskware.de>
 > To: leo@marco.de
 > Cc: gnats-bugs@NetBSD.org
 > Subject: Re: port-i386/35472: linux emulation problem with a nfs v3 mounted /usr/pkg
 > Date: Wed, 24 Jan 2007 10:48:42 +0100
 > 
 >  On Wed, Jan 24, 2007 at 08:45:00AM +0000, leo@marco.de wrote:
 >  > >How-To-Repeat:
 >  > mount /usr/pkg via nfs v3 and try to run soffice.
 >  
 >  I think you want to look at the -X option of mount_nfs(8).
 >  
 >  Martin

 Thank's, -X helps to run soffice. But I still have problems with
 firefox2-bin. It runs ok, but it fails when I try to install an addon
 (adblock plus).

 Matthias
 -- 
 Matthias Pfaller                            Software Entwicklung
 marco Systemanalyse und Entwicklung GmbH    Tel   +49 8131 5161 41
 Hans-Böckler-Str. 2, D 85221 Dachau         Fax   +49 8131 5161 66
 http://www.marco.de/                        Email leo@marco.de

From: Matthias Pfaller <leo@marco.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-i386/35472: linux emulation problem with a nfs v3 mounted
 /usr/pkg
Date: Thu, 26 Feb 2009 17:30:47 +0100

 Matthias Pfaller wrote:
 > Martin Husemann wrote:
 >> The following reply was made to PR port-i386/35472; it has been noted by GNATS.
 >>
 >> From: Martin Husemann <martin@duskware.de>
 >> To: leo@marco.de
 >> Cc: gnats-bugs@NetBSD.org
 >> Subject: Re: port-i386/35472: linux emulation problem with a nfs v3 mounted /usr/pkg
 >> Date: Wed, 24 Jan 2007 10:48:42 +0100
 >>
 >>  On Wed, Jan 24, 2007 at 08:45:00AM +0000, leo@marco.de wrote:
 >>  > >How-To-Repeat:
 >>  > mount /usr/pkg via nfs v3 and try to run soffice.
 >>  
 >>  I think you want to look at the -X option of mount_nfs(8).
 >>  
 >>  Martin
 > 
 > Thank's, -X helps to run soffice. But I still have problems with
 > firefox2-bin. It runs ok, but it fails when I try to install an addon
 > (adblock plus).
 > 
 > Matthias

 The problem is still there. I have about 200 diskless netbsd machines 
 (used as X terminals). There are some application I would like to run 
 local on the X terminal). One of these is skype and it's dumping core on 
 me. mounting -o -X,-2 doesn't help. It happens with
 NetBSD xtk103 5.99.7 NetBSD 5.99.7 (XT) #0: Thu Feb 26 15:49:53 CET 2009
 and with
 NetBSD xtk108 5.0_RC2 NetBSD 5.0_RC2 (XT) #7: Mon Feb 16 14:40:47 CET 2009

 I configured vnd0 to 1.5gb file mounted from the nfs-root, filled it, 
 mounted it and chrooted to it. running skype from there did just work 
 fine, but I think this is just insane.

 Next step: I reverted to nfs and it still runs. It looks like  it just 
 needs to create its configuration files and then it will run...

 Next experiment: It is .fonts.cache-1 which I have to remove to provoke 
 the segmentation fault.

 Regards, Matthias
 -- 
 Matthias Pfaller                          Software Entwicklung
 marco Systemanalyse und Entwicklung GmbH  Tel   +49 8131 5161 41
 Hans-Böckler-Str. 2, D 85221 Dachau       Fax   +49 8131 5161 66
 http://www.marco.de/                      Email leo@marco.de
 Geschäftsführer Martin Reuter             HRB 171775 Amtsgericht München

>Unformatted:
 	<Please check that the above is correct for the bug being reported,>
 	<and append source date of snapshot, if applicable (one line).>

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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.