Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Apr 2016 16:51:49 +0300
From:      abi@abinet.ru
To:        freebsd-ports@freebsd.org
Subject:   Re: Create directory for www:www
Message-ID:  <a18fb0ef7dcf3972511322add1aca954@abinet.ru>
In-Reply-To: <20160401103110.GG1128@ivaldir.etoilebsd.net>
References:  <b3e7bff077fa645f5a7a29fc78e13ab2@abinet.ru> <20160401103110.GG1128@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
 

Great! Looks like I missed certain parts of Porter's Handbook 

Baptiste Daroussin писал 2016-04-01 13:31: 

> On Fri, Apr 01, 2016 at 01:12:10PM +0300, abi@abinet.ru wrote: 
> 
>> Hello! 
>> 
>> I'm porting ZoneMinder, it needs folder, writable under web server user.
>> 
>> I wrote in post-install something like this 
>> 
>> ${INSTALL} -d -g ${WWWGRP} -o ${WWWOWN} ${STAGEDIR}${WWWDIR}/images 
>> 
>> I can see right permissions in a stage directory, however, after
>> installation a destination folder has root:wheel owner. 
>> 
>> How can create directory in a proper way?
> 
> Do not set the credential in the stage a simple mkdir is enough
> 
> In the plist
> @dir(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/images
> 
> Best regards,
> Bapt

  
From owner-freebsd-ports@freebsd.org  Fri Apr  1 15:23:50 2016
Return-Path: <owner-freebsd-ports@freebsd.org>
Delivered-To: freebsd-ports@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45F52AECDA0;
 Fri,  1 Apr 2016 15:23:50 +0000 (UTC)
 (envelope-from papowell@astart.com)
Received: from astart2.astart.com (wsip-72-214-30-30.sd.sd.cox.net
 [72.214.30.30])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 3275B1313;
 Fri,  1 Apr 2016 15:23:49 +0000 (UTC)
 (envelope-from papowell@astart.com)
Received: from laptop_93.private (localhost [127.0.0.1])
 by astart2.astart.com (8.14.9/8.14.9) with ESMTP id u31FNgmd084212;
 Fri, 1 Apr 2016 08:23:42 -0700 (PDT)
 (envelope-from papowell@astart.com)
Reply-To: papowell@astart.com
Subject: Re: HTML5 videos crashes Firefox
References: <56F804E9.8050506@netfence.it> <56FAAB3D.10906@netfence.it>
 <56FD9728.1050505@netfence.it>
To: Andrea Venturoli <ml@netfence.it>, c.brinkhaus@t-online.de
Cc: gecko@FreeBSD.org, freebsd-ports@FreeBSD.org
From: Patrick Powell <papowell@astart.com>
Organization: Astart Technologies
Message-ID: <56FE927E.3020809@astart.com>
Date: Fri, 1 Apr 2016 08:23:42 -0700
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101
 Thunderbird/38.7.0
MIME-Version: 1.0
In-Reply-To: <56FD9728.1050505@netfence.it>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/>;
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Apr 2016 15:23:50 -0000

My setup is a little different.  I have a Dell M6800 with NVIDEA:

vgapci0: <VGA-compatible display> port 0xe000-0xe07f mem 
0xf4000000-0xf4ffffff,0xe0000000-0xefffffff,0xf0000000-0xf1ffffff irq 16 
at device 0.0 on pci1
nvidia0: <Quadro K3100M> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: Boot video device

 From /var/log/Xorg.0.log:

[ 12870.311] (II) LoadModule: "glx"
[ 12870.311] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 12870.319] (II) Module glx: vendor="NVIDIA Corporation"
[ 12870.319]    compiled for 4.0.2, module version = 1.0.0
[ 12870.319]    Module class: X.Org Server Extension
[ 12870.319] (II) NVIDIA GLX Module  346.96  Sun Aug 23 21:29:48 PDT 2015
[ 12870.319] (II) LoadModule: "dbe"
[ 12870.319] (II) Module "dbe" already built-in
[ 12870.319] (II) LoadModule: "dri"
[ 12870.319] (II) Module "dri" already built-in
[ 12870.319] (II) LoadModule: "dri2"
[ 12870.319] (II) Module "dri2" already built-in
[ 12870.319] (II) LoadModule: "extmod"
[ 12870.319] (II) Module "extmod" already built-in
[ 12870.319] (II) LoadModule: "record"
[ 12870.319] (II) Module "record" already built-in
[ 12870.319] (II) LoadModule: "vnc"
[ 12870.319] (II) Loading /usr/local/lib/xorg/modules/extensions/libvnc.so
[ 12870.453] (II) Module vnc: vendor="Constantin Kaplinsky"
[ 12870.453]    compiled for 1.17.4, module version = 1.0.0
[ 12870.453]    Module class: X.Org Server Extension
[ 12870.453]    ABI class: X.Org Server Extension, version 9.0
[ 12870.453] (II) LoadModule: "nvidia"
[ 12870.463] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[ 12870.463] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 12870.463]    compiled for 4.0.2, module version = 1.0.0
[ 12870.463]    Module class: X.Org Video Driver
[ 12870.463] (II) NVIDIA dlloader X Driver  346.96  Sun Aug 23 21:08:26 
PDT 2015
[ 12870.463] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 12870.463] (--) Using syscons driver with X support (version 16777218.0)
[ 12870.463] (--) using VT number 9

When I run firefox and try to view a video from youtube I get:
laptop_93: {10} % firefox |&tee /tmp/f
Bus error (core dumped)

I updated to the latest pkg versions of firefox.

Side Note:   I set up a couple of VirtualBox VMs, one for 10.3 RC3 and 
one for 9.3.  Just out of
curiousity I ran firefox on them and I was able to view the videos.  I 
am wondering if the
issue is related to the NVIDIA driver on my laptop.   I wonder if the 
issue is related to the NVIDIA
driver/GPU support.

On 03/31/16 14:31, Andrea Venturoli wrote:
>> On Tue, 29 Mar 2016 10:37:47 -0700, Christoph Brinkhaus wrote:
>
>> The only thing I get are error messages as below:
>> $ ssh fox firefox
>> libGL error: failed to open drm device: No such file or directory
>> libGL error: failed to load driver: i965
>> libGL error: unable to load driver: swrast_dri.so
>> libGL error: failed to load driver: swrast
>> 1459272168729   addons.xpi      WARN    Bootstrap state is invalid 
>> (missing
>> add-ons:
>
> Guess you have an Intel GPU (mine is a Radeon).
>
>
>
> I got another machine, which runs 10.1/amd64 with an Intel GPU and 
> that works fine (btw, not even those warnings).
> I also saw you tried ssh to another box and I did that too.
>
> Just to summarize:
> _ 10.2/i386/Radeon -> crash;
> _ 10.1/amd64/Intel -> fine;
> _ ssh from 10.2/i386/Radeon to 10.1/amd64/Intel -> fine.
>
> Patrick, could you please tell us what GPU you have? Configured options?
>
>
>
> Just wish I could get some info out of that core :(
>
>  bye & Thanks
>     av.
>


-- 
Patrick Powell                 Astart Technologies
papowell@astart.com            1530 Jamacha Rd, Suite X
Network and System             San Diego, CA 92019
   Consulting                   858-874-6543 FAX 858-751-2435
Web: www.astart.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a18fb0ef7dcf3972511322add1aca954>