Re: Sharing COM ports to Windows hosts

2012-09-14 Thread Peter Vereshagin
Hello.

2012/09/05 09:06:36 +0700 Victor Sudakov v...@mpeks.tomsk.su = To 
freebsd-questions@freebsd.org :
VS  Depending on a task I think the most interactive user-friendly solution 
here is
VS  a minicom(s) each in its own ssh'ed jail(s).
VS 
VS There is special Windows software for managing Natex MUXes. It works

[..]

VS Solution 2. Using an existing networked FreeBSD box sitting next to
VS the MUX, it already has COM ports. Advantage: cheap, no additional

ok. no interactivity. But I'm still optimistic about virtualization.

emulators/qemu at the least should be able to run that software and use
com-ports from the master freebsd system at the same time. Then you can you can
use remote access features for workstation access to the software.

VS doubts ... English is so poor

coffee is your friend (c)

--
Peter Vereshagin pe...@vereshagin.org (http://vereshagin.org) pgp: A0E26627 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Swapped memory limited to about 500MB for a process ?

2012-09-14 Thread Mickaël Canévet
On Fri, 2012-09-14 at 08:36 +0530, Sriram Gorti wrote:
 On Wed, Sep 12, 2012 at 7:33 PM, Mickaël Canévet cane...@embl.fr wrote:
  On Wed, 2012-09-12 at 10:03 -0400, Lowell Gilbert wrote:
  Mickaël Canévet cane...@embl.fr writes:
 
   On Tue, 2012-09-11 at 13:05 -0400, Lowell Gilbert wrote:
   Mickaël Canévet cane...@embl.fr writes:
  
I was impacted by a memory leak that has been fixed by this patch:
http://people.freebsd.org/~rmacklem/namei-leak.patch
   
What I noticed when the server was paging is that it seems that only
about 500MB of my 4GB swap partition was used before crashing. I was
wondering why it didn't take the whole 4GB up to the crash of the 
server
because of lake of memory (that would let me more time to react).
   
Is there such king of setting that prevent a process to put more then
500MB of data in swap ?
  
   limits(1)?
  
   Thank you for your answer.
  
   Here is the result of limits:
  
   limits
   Resource limits (current):
 cputime  infinity secs
 filesize infinity kB
 datasize 33554432 kB
 stacksize  524288 kB
 coredumpsize infinity kB
 memoryuseinfinity kB
 memorylocked infinity kB
 maxprocesses 5547
 openfiles   11095
 sbsize   infinity bytes
 vmemoryuse   infinity kB
 pseudo-terminals infinity
 swapuse  infinity kB
  
   swapuse is set to unlimited, but stacksize is set to 512MB.
   Is it the stacksize setting that prevent my kernel to swap more then
   512MB ?
 
  No, I don't think so. datasize was the parameter I was most
  suspecting; and it assumes that a particular process was causing the
  crash (which is unlikely; the OS is supposed to protect you against
  it).
 
  Most likely, the crash was not directly caused by a shortage of virtual
  memory. You would have to diagnose through crash dumps, but it could be
  that some more specific resource was exhausted. Or perhaps the memory
  leak left dangling references in a vnode.
 
 
 We also had a some what similar experience - swap partition was not
 being fully utilized (but no NFS in use). Found that the size of
 SWAPMETA limits the total usable swap space. This is more likely with
 a custom config and tweaked limits.
 
 vmstat -z | egrep LIMIT|SWAPMETA
 
 --- sriram
 
 
 
  OK,
 
  Thanks a lot for your explanations.
 
  Cheers,
  Mickaël
 

I have this:

# vmstat -z | egrep LIMIT|SWAPMETA
ITEM   SIZE  LIMIT USED FREE  REQ FAIL SLEEP
SWAPMETA:   288, 116519,1610,6437,  559839,   0,   0

If this number (116519) correspond to the number of memory pages and as
I have 4k page size (pagesize command reports 4096), SWAPMETA is limited
to 466076 kB which is pretty close to the about 500MB I can see on my
monitoring graphs.

If this is the explanation of what happens, how can I tune this ? Should
I use larger pages (superpages seems to be enable by default on
FreeBSD9-amd64) ? Is there a way to increase the limit of swapmeta ?

Thanks,
Mickaël


signature.asc
Description: This is a digitally signed message part


kinternet alternative in FreeBSD

2012-09-14 Thread suseuser04
Matthias, Polytropon:

I have answered to your messages using reply to but my messages
haven't reached the mailing list. I am posting now my answer in a
new (not reply to) mail.

Thank you for your answers.
I am using KDE 3.5.10. I would like to use FreeBSD as a desktop machine
for replacing openSUSE if it is possible at all.

For clarity, I do not need exactly kinternet, I want only an GUI frontend
for pppdial which possibly resides in system tray and can be used to control
network connections.

In openSUSE kinternet is a frontend for smpppd package.
smpppd requires ppp. I will try to look into it whether  smpppd  can
work with FreeBSD's ppp.

Thanks,

Istvan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kinternet alternative in FreeBSD

2012-09-14 Thread Polytropon
On Fri, 14 Sep 2012 11:05:03 +0200, suseuse...@lajt.hu wrote:
 Matthias, Polytropon:
 
 I have answered to your messages using reply to but my messages
 haven't reached the mailing list. I am posting now my answer in a
 new (not reply to) mail.

Check your mail client for reply options. I'm using Sylpheed
here and have:
- Reply
- Reply to all
- Reply to sender
- Reply to mailing list
I assume this is decided upon the headers From:, Reply-To:,
and Cc:. I don't see a MUA declared in your mail headers,
so whatever you use, check for such reply options. Even
old-fashioned tools like (al)pine have then. :-)



 Thank you for your answers.
 I am using KDE 3.5.10. I would like to use FreeBSD as a desktop machine
 for replacing openSUSE if it is possible at all.

I don't see a reason why this shouldn't be possible. Many years
ago, FreeBSD 4 obsoleted Linux as my home desktop, and I do not
regret the choice. Depending on what _you_ actually *do* with
your computer, there _may_ be certain obstacles.



 For clarity, I do not need exactly kinternet, I want only an GUI frontend
 for pppdial which possibly resides in system tray and can be used to control
 network connections.

As I said, I've heared of a tool named kppp, and according to
the traditional naming convention in KDE (of _that_ time), I
assume this is a KDE program for dealing with ppp. Even though
networking is done at OS level which doesn't have such a tight
integration with desktop environments as this is done in
Linux (as the big three desktop environments are quite
Linux-centric), ppp can be invoked by the user (if he has
been granted the required permissions by the system administrator).
If a KDE program can communicate with the ppp command line
tool, it should work.



 In openSUSE kinternet is a frontend for smpppd package.
 smpppd requires ppp. I will try to look into it whether  smpppd  can
 work with FreeBSD's ppp.

That sounds like an interesting approach. Good luck!

I know that's basically possible. Many years ago, I wrote
a Tcl/Tk-based frontend with buttons to enable / disable
the connection, see the status and the elapsed time. If
that has been possible, chances are good that KDE in its
much advanced manner has something comparable.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kinternet alternative in FreeBSD

2012-09-14 Thread Jamie Paul Griffin
[ suseuse...@lajt.hu wrote on Fri 14.Sep'12 at 11:05:03 +0200 ]

 Matthias, Polytropon:
 
 I have answered to your messages using reply to but my messages
 haven't reached the mailing list. I am posting now my answer in a
 new (not reply to) mail.
 
 Thank you for your answers.
 I am using KDE 3.5.10. I would like to use FreeBSD as a desktop machine
 for replacing openSUSE if it is possible at all.
 
May I just say, that some years ago I did just as you are doing now and started 
to use FreeBSD 6.x in place of Linux. I was used to KDE3 and so naturally tried 
to get that up and running. Since then, my needs have changed and discovered it 
was so much better to do away with these GUI tools such as the one(s) you refer 
to. Working from the command line in FreeBSD is SO much better, more flexible 
and powerful, and so ditched KDE altogether and now use a simple tiling window 
manager. You really don't need KDE or Gnome, ... , you can benefit much more 
from a BSD UNIX system without that crap. 

It's your choice naturally but IMO you will have a much nicer experience 
without KDE. All of your networking needs can be achieved from the command line 
and you won't fill your system with thousands of libraries and other code that 
you simply just don't need. 

Of course I'm biased but my experience since I changed to FreeBSD will no doubt 
be similar to yours should you choose to stick with it so I hope my comments 
have been of some use.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: kinternet alternative in FreeBSD

2012-09-14 Thread Istvan Gabor
2012. szeptember 11. 15:26 napon Matthias Apitz g...@unixarea.de írta:

 El día Tuesday, September 11, 2012 a las 02:56:07PM +0200, Polytropon 
 escribió:
 
  On Tue, 11 Sep 2012 11:15:50 +0200, suseuse...@lajt.hu wrote:
   Hello FreeBSD users:
   
   I am new to FreeBSD. I've been using openSUSE for 8 years but would
   like to try something different.
   I have installed FreeBSD 9.0-RELEASE from DVD and configured
   KDE3. I also configured DSL (pppoe) connection that automatically
   connects the computer to the network.
   In openSUSE I have kinternet (and its alternative qinternet), an 
   application
   which incorporates into KDE system tray and indicates whether network
   connection is active or not. It can also be used by the desktop user to
   disconnect and connect from/to the network (eg. for getting new dynamic
   IP address or test downloaded web pages offline).
   Is there a similar program in FreeBSD? I could not find kinternet or 
   qinternet
   in ports database or by googling.
  
  I'm not aware of a tool that integrates both with KDE _and_
  the FreeBSD operating system. KDE is quite Linux-centric,
  and FreeBSD is a different operating system. ...
 
 FreeBSD (as Linux) is a OS, while KDE is just a desktop which works fine
 on FreeBSD and SuSE; I'm using kde-3.5.10 and tested kde-4.x (which
 did not do what I expected; that's why I stay with 3.5.10 which is now
 unmaintained, but still compiling as a port;
 
 the OP did not say in which KDE version he used 'kinternet',  but it
 seems that the component is not in the port; the best way would be to
 check in openSUSE what 'kinternet' is (i.e. where the sources come from)
 and check in the FreeBSD KDE project the status of a port;
 
   matthias
 

Matthias, Polytropon:

Thank you for your answers.
I am using KDE 3.5.10. I would like to use FreeBSD as a desktop machine
for replacing openSUSE if it's possible at all.

For clarity, I do not need exactly kinternet, I want only an GUI frontend
for pppdial which possibly resides in system tray and can be used to
control network connections.

In openSUSE kinternet is a frontend for smpppd package, and
smpppd requires ppp. I will try to look into it whether smpppd  can
work with FreeBSD ppp.

Thanks,

Istvan

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


Re: kinternet alternative in FreeBSD

2012-09-14 Thread Istvan Gabor
2012. szeptember 11. 15:26 napon Matthias Apitz g...@unixarea.de írta:

 El día Tuesday, September 11, 2012 a las 02:56:07PM +0200, Polytropon 
 escribió:
 
  On Tue, 11 Sep 2012 11:15:50 +0200, suseuse...@lajt.hu wrote:
   Hello FreeBSD users:
   
   I am new to FreeBSD. I've been using openSUSE for 8 years but would
   like to try something different.
   I have installed FreeBSD 9.0-RELEASE from DVD and configured
   KDE3. I also configured DSL (pppoe) connection that automatically
   connects the computer to the network.
   In openSUSE I have kinternet (and its alternative qinternet), an 
   application
   which incorporates into KDE system tray and indicates whether network
   connection is active or not. It can also be used by the desktop user to
   disconnect and connect from/to the network (eg. for getting new dynamic
   IP address or test downloaded web pages offline).
   Is there a similar program in FreeBSD? I could not find kinternet or 
   qinternet
   in ports database or by googling.
  
  I'm not aware of a tool that integrates both with KDE _and_
  the FreeBSD operating system. KDE is quite Linux-centric,
  and FreeBSD is a different operating system. ...
 
 FreeBSD (as Linux) is a OS, while KDE is just a desktop which works fine
 on FreeBSD and SuSE; I'm using kde-3.5.10 and tested kde-4.x (which
 did not do what I expected; that's why I stay with 3.5.10 which is now
 unmaintained, but still compiling as a port;
 
 the OP did not say in which KDE version he used 'kinternet',  but it
 seems that the component is not in the port; the best way would be to
 check in openSUSE what 'kinternet' is (i.e. where the sources come from)
 and check in the FreeBSD KDE project the status of a port;
 
   matthias

Matthias, Polytropon:

Thank you for your answers.
I am using KDE 3.5.10. I would like to use FreeBSD as a desktop machine 
replacing
openSUSE if it possible at all.

For clarity I do not need exactly kinternet, I want only an GUI frontend for 
pppdial which
possibly resides in system tray and can be used to control network connections.

In openSUSE kinternet is a frontend for smpppd package.
smpppd requires ppp. I will try to look into it whether  and smpppd  can work 
with
FreeBSD ppp.

Thanks,

Istvan


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


legal question on licence terms

2012-09-14 Thread Martyn Jansen
Sirs,



I'm looking at your licence terms and conditions and particularly the section 
on redistribution restriction on a number of ports.



The restriction is stated as being applicable to redistribution on mass 
media. Could you please elaborate on what this means - clearly a number of 
leading solutions use FreeBSD so I'm trying to properly understand when and how 
the redistribution restrictions apply.



In our own case we would be using FreeBSD as a component of managed services 
that we would be providing to our customers. The software would remain on our 
own server and would not be separately available to our customers. We assume 
therefore that this in any case does not constitute redistribution.



Many thanks.


Regards,
Martyn
Martyn Jansen
Contracts  Legal
Phone: +44 (0)1225 388685
[Description: Description: Description: Twitter] 
http://www.twitter.com/zynstra [Description: Description: Description: 
LinkedIn]  http://www.linkedin.com/company/zynstra [Description: Description: 
Description: zynstra]  http://www.zynstra.com/
Zynstra is a private limited company registered in England and Wales 
(registered number 07864369). Our registered office is 5 New Street Square, 
London, EC4A 3TW and our headquarters are at Bath Ventures, Broad Quay, Bath, 
BA1 1UD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Minecraft sound (ALSA)

2012-09-14 Thread Stephan Schindel

Hey guys!
I would like to play Minecraft on my FreeBSD box, so I installed 
games/minecraft-client. It starts, but I do not have any sound. The 
reason for that is that Minecraft uses ALSA and ALSA does not find any 
soundcards:


   Starting up SoundSystem...
   Initializing LWJGL OpenAL
(The LWJGL binding of OpenAL.  For more information, see
   http://www.lwjgl.org)
   AL lib: alsa.c:960: no playback cards found...
   AL lib: alsa.c:1017: no capture cards found...
   ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
   ALSA lib conf.c:4154:(_snd_config_evaluate) function
   snd_func_card_driver returned error: No such file or directory

I am not sure what to do here and how to wrap my OSS system in an ALSA 
system. I installed audio/alsa-lib, audio/alsa-plugins and 
audio/alsa-utils. My asoundrc looks like this at the moment:


   pcm.oss {
type oss
device /dev/dsp
   }


However I cannot play any MP3s via aplay. Do you have any ideas?

Stephan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cksum entire dir??

2012-09-14 Thread C. P. Ghost
On Thu, Sep 13, 2012 at 9:18 PM, Karl Vogel vogelke+free...@pobox.com wrote:
 Here's a simple, system-independent way to find duplicate files.  All you

There's also sysutils/samefile:

http://www.schweikhardt.net/samefile/index.html

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cksum entire dir??

2012-09-14 Thread Karl Vogel
 On Thu, 13 Sep 2012 23:35:22 -0400, kpn...@pobox.com said:

K But in both your and my code the uniq will frequently fail because the
K input is not sorted.

   No, check the first command:

 me% find . -type f -print0 | xargs -0 md5 -r | sort  /tmp/sig1


-- 
Karl Vogel  I don't speak for the USAF or my company

When I'm feeling down, I like to whistle.  It makes the neighbor's dog
run to the end of his chain and gag himself.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


8.3 stable or 9.0 stable amd64 iso with mfi driver changes of May 18, 2012

2012-09-14 Thread Jean Christofferson
I am trying to install FreeBSD stable - either 8.3 or 9.0  - on a Dell  
420 with Perc H310 LSI PCI Express SAS Rain controllers.


Although the physical disks are present and recognized by the BIOS the  
sysinstall does not see the disks.  I think the issue is mfi driver  
and was added to the stable release May 18, 2012.


http://www.FreeBSD.org/cgi/man.cgi?query=mfisektion=4manpath=FreeBSD+8.3-RELEASE

I do not have an environment to download the source and make my own  
installation disk.  The 8.3 image on the ftp site is dated April 9,  
2012 and the 9.0 is Jan 2012.


Is there some place I can download an amd63 iso that was includes the  
mfi driver update done on May 18, 2012?


Or perhaps that is not really the issue at all - any help that anyone  
can provide will be welcome!


Thanks,

Jean


Jean Christofferson
je...@relevantpower.com
Relevant Power, Inc.
www.relevanttools.com
415-472-8400 
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8.3 stable or 9.0 stable amd64 iso with mfi driver changes of May 18, 2012

2012-09-14 Thread Jean Christofferson

Kevin,

Thank you for your response.  It is great to get confirmation and I  
will try with 9.1-RC1


I DO have on board Broadcom 5720 NIC.  Nice to know what my next  
problem is likely to be.  Hopefully that will be easy to solve if I  
install another NIC card.


Thanks!

Jean


Jean Christofferson
je...@relevantpower.com
Relevant Power, Inc.
www.relevanttools.com

On Sep 14, 2012, at 6:14 PM, kpn...@pobox.com wrote:


On Fri, Sep 14, 2012 at 04:45:49PM -0700, Jean Christofferson wrote:
I am trying to install FreeBSD stable - either 8.3 or 9.0  - on a  
Dell

420 with Perc H310 LSI PCI Express SAS Raid controllers.

Although the physical disks are present and recognized by the BIOS  
the

sysinstall does not see the disks.  I think the issue is mfi driver
and was added to the stable release May 18, 2012.


Yup, the 12G machines came out when the paint was drying on 8.3. So  
there

isn't a -stable release with the updated driver.

The new mfi driver is in 9.1-RC1 if you are OK with a pre-release.

I hope you don't have the Broadcom 5720 NIC like the R620. The FreeBSD
driver (bge) isn't finished yet. At least, I don't remember seeing  
it go
into the tree. It's known to _not_ work on the R620 and I believe  
R720.

--
Kevin P. Nealhttp://www.pobox.com/ 
~kpn/


Nonbelievers found it difficult to defend their position in \
   the presense of a working computer. -- a DEC Jensen paper



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