Re: Linux-foldingathome

2020-04-07 Thread Yuri Pankov

@lbutlr wrote:

On 07 Apr 2020, at 06:36, Yuri Pankov  wrote:

@lbutlr wrote:



# service fahclient start
Starting fahclient.
13:33:52:WARNING:Exception: Failed to open '/proc/bus/pci/devices': Failed to 
open '/proc/bus/pci/devices': No such file or directory: No such file or 
directory
13:33:52:ERROR:Exception: Could not read link /proc/self/exe



It is looking for /compat/linux/proc -- if it isn't mounted and you aren't on 
recentish -current


12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC  amd64

Isn’t recent enough, I guess?


Correct, I mean the following commit in HEAD (so 13.0-CURRENT only, at 
the moment):


https://svnweb.freebsd.org/base?view=revision=354458


where all required mounts are done by rc script, you should follow the 
pkg-message for linux_base-c7 port.


Thank you, that solved the issue and the client is running now.

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Linux-foldingathome

2020-04-07 Thread @lbutlr
On 07 Apr 2020, at 06:36, Yuri Pankov  wrote:
> @lbutlr wrote:

>> # service fahclient start
>> Starting fahclient.
>> 13:33:52:WARNING:Exception: Failed to open '/proc/bus/pci/devices': Failed 
>> to open '/proc/bus/pci/devices': No such file or directory: No such file or 
>> directory
>> 13:33:52:ERROR:Exception: Could not read link /proc/self/exe

> It is looking for /compat/linux/proc -- if it isn't mounted and you aren't on 
> recentish -current

12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC  amd64

Isn’t recent enough, I guess?

> where all required mounts are done by rc script, you should follow the 
> pkg-message for linux_base-c7 port.

Thank you, that solved the issue and the client is running now.



-- 
Support bacteria - they're the only culture some people have.


___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Linux-foldingathome

2020-04-07 Thread Michael Gmelin
Based on the error message I assume you have to mount procfs (and maybe 
linprocfs), See the respective man pages.

You also have to enable Linux support (sysrc linux_enable=YES ; service linux 
start).

-m

> On 7. Apr 2020, at 14:33, @lbutlr  wrote:
> 
> Has anyone had any experience with installing the port 
> biology/linux-foldingathome?
> 
> After installing it and editing the configuration file I try to start it and 
> get the following:
> 
> # service fahclient start
> Starting fahclient.
> 13:33:52:WARNING:Exception: Failed to open '/proc/bus/pci/devices': Failed to 
> open '/proc/bus/pci/devices': No such file or directory: No such file or 
> directory
> 13:33:52:ERROR:Exception: Could not read link /proc/self/exe
> /usr/local/etc/rc.d/fahclient: WARNING: failed to start fahclient
> 
> /proc/ is empty.
> 
> There were no errors when installing the port.
> 
> # kldstat
> Id Refs AddressSize Name
> 1   57 0x8020  2448d90 kernel
> 21 0x82649000   3a99a8 zfs.ko
> 32 0x829f3000 a5b8 opensolaris.ko
> 41 0x82f11000 4260 ng_ubt.ko
> 56 0x82f16000 9e30 netgraph.ko
> 62 0x82f2 91b8 ng_hci.ko
> 73 0x82f2a000  9c0 ng_bluetooth.ko
> 81 0x82f2b000 cad0 ng_l2cap.ko
> 91 0x82f380001ba00 ng_btsocket.ko
> 101 0x82f54000 21c0 ng_socket.ko
> 111 0x82f57000  acf mac_ntpd.ko
> 121 0x82f58000 18a0 uhid.ko
> 131 0x82f5a000 1aa0 wmt.ko
> 141 0x82f5c000 2928 ums.ko
> 151 0x82f5f00035b20 linux64.ko
> 163 0x82f95000 3178 linux_common.ko
> 171 0x82f99000 494c linprocfs.ko
> 181 0x82f9e000 1eae linsysfs.ko
> 
> 
> -- 
> Traveling through hyperspace ain't like dusting crops, boy.
> 
> 
> ___
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Linux-foldingathome

2020-04-07 Thread Yuri Pankov

@lbutlr wrote:

Has anyone had any experience with installing the port 
biology/linux-foldingathome?

After installing it and editing the configuration file I try to start it and 
get the following:

# service fahclient start
Starting fahclient.
13:33:52:WARNING:Exception: Failed to open '/proc/bus/pci/devices': Failed to 
open '/proc/bus/pci/devices': No such file or directory: No such file or 
directory
13:33:52:ERROR:Exception: Could not read link /proc/self/exe
/usr/local/etc/rc.d/fahclient: WARNING: failed to start fahclient

/proc/ is empty.

There were no errors when installing the port.

# kldstat
Id Refs AddressSize Name
  1   57 0x8020  2448d90 kernel
  21 0x82649000   3a99a8 zfs.ko
  32 0x829f3000 a5b8 opensolaris.ko
  41 0x82f11000 4260 ng_ubt.ko
  56 0x82f16000 9e30 netgraph.ko
  62 0x82f2 91b8 ng_hci.ko
  73 0x82f2a000  9c0 ng_bluetooth.ko
  81 0x82f2b000 cad0 ng_l2cap.ko
  91 0x82f380001ba00 ng_btsocket.ko
101 0x82f54000 21c0 ng_socket.ko
111 0x82f57000  acf mac_ntpd.ko
121 0x82f58000 18a0 uhid.ko
131 0x82f5a000 1aa0 wmt.ko
141 0x82f5c000 2928 ums.ko
151 0x82f5f00035b20 linux64.ko
163 0x82f95000 3178 linux_common.ko
171 0x82f99000 494c linprocfs.ko
181 0x82f9e000 1eae linsysfs.ko


It is looking for /compat/linux/proc -- if it isn't mounted and you 
aren't on recentish -current where all required mounts are done by rc 
script, you should follow the pkg-message for linux_base-c7 port.

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Linux-foldingathome

2020-04-07 Thread @lbutlr
Has anyone had any experience with installing the port 
biology/linux-foldingathome?

After installing it and editing the configuration file I try to start it and 
get the following:

# service fahclient start
Starting fahclient.
13:33:52:WARNING:Exception: Failed to open '/proc/bus/pci/devices': Failed to 
open '/proc/bus/pci/devices': No such file or directory: No such file or 
directory
13:33:52:ERROR:Exception: Could not read link /proc/self/exe
/usr/local/etc/rc.d/fahclient: WARNING: failed to start fahclient

/proc/ is empty.

There were no errors when installing the port.

# kldstat
Id Refs AddressSize Name
 1   57 0x8020  2448d90 kernel
 21 0x82649000   3a99a8 zfs.ko
 32 0x829f3000 a5b8 opensolaris.ko
 41 0x82f11000 4260 ng_ubt.ko
 56 0x82f16000 9e30 netgraph.ko
 62 0x82f2 91b8 ng_hci.ko
 73 0x82f2a000  9c0 ng_bluetooth.ko
 81 0x82f2b000 cad0 ng_l2cap.ko
 91 0x82f380001ba00 ng_btsocket.ko
101 0x82f54000 21c0 ng_socket.ko
111 0x82f57000  acf mac_ntpd.ko
121 0x82f58000 18a0 uhid.ko
131 0x82f5a000 1aa0 wmt.ko
141 0x82f5c000 2928 ums.ko
151 0x82f5f00035b20 linux64.ko
163 0x82f95000 3178 linux_common.ko
171 0x82f99000 494c linprocfs.ko
181 0x82f9e000 1eae linsysfs.ko


-- 
Traveling through hyperspace ain't like dusting crops, boy.


___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: FreeBSD Port: linux-foldingathome-5.04

2008-08-18 Thread Gerard
On Mon, 18 Aug 2008 01:08:47 +0200
Sebastian Holmqvist [EMAIL PROTECTED] wrote:

I took an interest in installing [EMAIL PROTECTED] earlier today, but I  
couldn't get it started up properly. Some friends of mine enlightened  
me that the current FBSD-version (5.04) is way outdated and may not  
work. The most recent version is 6.02, and I would feel much better
if it was in the ports-tree under watch rather than manually
installing it :)

Is this something you might take a look at? Let me know if there's  
something I can assist with!

Did you notify the port maintainer: [EMAIL PROTECTED] regarding updating
the port. Port maintainers are often quite busy and may not always be
aware that a port needs to be updated.


-- 
Gerard
[EMAIL PROTECTED]

40 isn't old.  If you're a tree.


signature.asc
Description: PGP signature


FreeBSD Port: linux-foldingathome-5.04

2008-08-17 Thread Sebastian Holmqvist

Hi!

I took an interest in installing [EMAIL PROTECTED] earlier today, but I  
couldn't get it started up properly. Some friends of mine enlightened  
me that the current FBSD-version (5.04) is way outdated and may not  
work. The most recent version is 6.02, and I would feel much better if  
it was in the ports-tree under watch rather than manually installing  
it :)


Is this something you might take a look at? Let me know if there's  
something I can assist with!


Thanks!
Sebastian Holmqvist
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD Port: linux-foldingathome-5.04

2008-07-06 Thread PryMaL
I'm having problems with this port running.
I am hopeful someone can help, once I have installed this port and run
/usr/local/bin/FoldingAtHome 
to execute the file, I have syntax errors as below.

[mini-prymal 18:51] / /usr/local/bin/FoldingAtHome
mkdir: /home/prymal/.fah: File exists
ELF binary type 3 not known.
//usr/local/share/foldingathome/FAH504-Linux.exe: 1: Syntax error: ( 
unexpected

Is anyone able to assist with this please?
-- 
Phil Tann (PryMaL)
GamingSA TF2 Admin- http://www.gamingsa.com
Email: [EMAIL PROTECTED]
Mobile: +61 404 098 268
MSN: [EMAIL PROTECTED]

The Dream Team : {~DT~}
http://www.tf2dreamteam.com 
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Port: linux-foldingathome-5.04

2008-07-06 Thread Gary Jennejohn
On Sun, 6 Jul 2008 19:03:54 +
PryMaL [EMAIL PROTECTED] wrote:

 I'm having problems with this port running.
 I am hopeful someone can help, once I have installed this port and run
 /usr/local/bin/FoldingAtHome 
 to execute the file, I have syntax errors as below.
 
 [mini-prymal 18:51] / /usr/local/bin/FoldingAtHome
 mkdir: /home/prymal/.fah: File exists


This is normal when the directory already exists.  Actually, the script
should probably use mkdir -p.

 ELF binary type 3 not known.
 //usr/local/share/foldingathome/FAH504-Linux.exe: 1: Syntax error: ( 
 unexpected


This means that the kernel didn't recognize this as a Linux binary and
tried to run it as a shell script.

 Is anyone able to assist with this please?


I installed this port and it runs without any errors on my 8-current
system with compat.linux.osrelease set to 2.6.16 and linux_base-f8-8.

Some questions - do you have Linux support enabled in your kernel
and in /etc/rc.conf?  Which Linux base port are you using?  Is linprocfs
mounted?

It might also be useful to know just which version of FreeBSd you're
using.

---
Gary Jennejohn
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD Port: linux-foldingathome-5.02, rc.d script

2007-04-29 Thread Tobias Brink
Hello.

I use the [EMAIL PROTECTED] client on a machine which runs mostly
unattended so it would be a hassle to start it manually after each
boot.  Therefor I went ahead and created a rc.d script for it.  It is
attached to this mail.  I thought it could be useful enough to be
included in the port.

You can set a user under which the program will run and a directory
where it will be run and store its files.  These are currently set to
user: root and working dir: /usr/local/share/foldingathome which is
like running /usr/local/bin/FoldingAtHome as root.

Feel free to contact me for any questions/corrections, I'd be happy to
hear any constructive criticism because this is my first rc.d script.
Feel also free to use this script in any way you see fit.

Regards,
Tobias

#!/bin/sh

# PROVIDE: fah
# REQUIRE: networking

. /etc/rc.subr

name=fah
rcvar=`set_rcvar`

command=/usr/local/share/foldingathome/FAH502-Linux.exe
#procname=
command_args= /dev/null 21 
fah_flags=-freeBSD $fah_flags

start_precmd=${name}_prestart
start_postcmd=${name}_poststart

start_cmd=${name}_start

load_rc_config $name
eval ${rcvar}=\${${rcvar}:-'NO'}
fah_workdir=${fah_workdir:-/usr/local/share/foldingathome/}
fah_user=${fah_user:-root}

required_dirs=$fah_workdir

fah_prestart()
{
fah_CURRDIR=`pwd`
cd $fah_workdir
}

fah_poststart()
{
cd $fah_CURRDIR
}

fah_start()
{
su $fah_user -c nice -n 20 $command $fah_flags $command_args
}

run_rc_command $1
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

FreeBSD Port: linux-foldingathome-5.02, rc.d script

2007-04-29 Thread Tobias Brink
Hello.

I use the [EMAIL PROTECTED] client on a machine which runs mostly
unattended so it would be a hassle to start it manually after each
boot.  Therefor I went ahead and created a rc.d script for it.  It is
attached to this mail.  I thought it could be useful enough to be
included in the port.

You can set a user under which the program will run and a directory
where it will be run and store its files.  These are currently set to
user: root and working dir: /usr/local/share/foldingathome which is
like running /usr/local/bin/FoldingAtHome as root.

Feel free to contact me for any questions/corrections, I'd be happy to
hear any constructive criticism because this is my first rc.d script.
Feel also free to use this script in any way you see fit.

Regards,
Tobias

#!/bin/sh

# PROVIDE: fah
# REQUIRE: networking

. /etc/rc.subr

name=fah
rcvar=`set_rcvar`

command=/usr/local/share/foldingathome/FAH502-Linux.exe
#procname=
command_args= /dev/null 21 
fah_flags=-freeBSD $fah_flags

start_precmd=${name}_prestart
start_postcmd=${name}_poststart

start_cmd=${name}_start

load_rc_config $name
eval ${rcvar}=\${${rcvar}:-'NO'}
fah_workdir=${fah_workdir:-/usr/local/share/foldingathome/}
fah_user=${fah_user:-root}

required_dirs=$fah_workdir

fah_prestart()
{
fah_CURRDIR=`pwd`
cd $fah_workdir
}

fah_poststart()
{
cd $fah_CURRDIR
}

fah_start()
{
su $fah_user -c nice -n 20 $command $fah_flags $command_args
}

run_rc_command $1
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

FreeBSD Port: linux-foldingathome-5.02, rc.d script

2007-04-29 Thread Tobias Brink
Hello.

I use the [EMAIL PROTECTED] client on a machine which runs mostly
unattended so it would be a hassle to start it manually after each
boot.  Therefor I went ahead and created a rc.d script for it.  It is
attached to this mail.  I thought it could be useful enough to be
included in the port.

You can set a user under which the program will run and a directory
where it will be run and store its files.  These are currently set to
user: root and working dir: /usr/local/share/foldingathome which is
like running /usr/local/bin/FoldingAtHome as root.

Feel free to contact me for any questions/corrections, I'd be happy to
hear any constructive criticism because this is my first rc.d script.
Feel also free to use this script in any way you see fit.

Regards,
Tobias

#!/bin/sh

# PROVIDE: fah
# REQUIRE: networking

. /etc/rc.subr

name=fah
rcvar=`set_rcvar`

command=/usr/local/share/foldingathome/FAH502-Linux.exe
#procname=
command_args= /dev/null 21 
fah_flags=-freeBSD $fah_flags

start_precmd=${name}_prestart
start_postcmd=${name}_poststart

start_cmd=${name}_start

load_rc_config $name
eval ${rcvar}=\${${rcvar}:-'NO'}
fah_workdir=${fah_workdir:-/usr/local/share/foldingathome/}
fah_user=${fah_user:-root}

required_dirs=$fah_workdir

fah_prestart()
{
fah_CURRDIR=`pwd`
cd $fah_workdir
}

fah_poststart()
{
cd $fah_CURRDIR
}

fah_start()
{
su $fah_user -c nice -n 20 $command $fah_flags $command_args
}

run_rc_command $1
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]