Re: sh(1) exiting on SIGWINCH

2012-07-05 Thread Pedro Giffuni
Hello;

--- Gio 5/7/12, Peter Jeremy  ha scritto:
...
> 
> pfg@ (who shepherded the libedit update into the tree), David Shao
> (originator of kern/169603) and I have been investigating fixes to
> libedit but do not have a solution yet.

The following partial revert fixes things for me:

http://people.freebsd.org/~pfg/patches/libedit/patch-169603

best regards,

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


Re: sh(1) exiting on SIGWINCH

2012-07-05 Thread Pedro Giffuni
Hello guys;

--- Gio 5/7/12, Peter Jeremy  ha scritto:

> Brandon Gooch  wrote:
> >Seems that the window resize is somehow causing sh(1) to receive an
> >EOF while the shell is sitting at the prompt, which results in the
> >shell exiting; haven't dug too deeply into the source yet, but can you
> >try to run /bin/sh with the '-I' (that's capital letter 'i') and it
> >the shell shouldn't exit (but it will bark at you with a 'Use "exit"
> >to leave shell.' message on each resize.
> 
> Interesting.  I hadn't tried '-I' but now also see
> that.
> 
> >I'm CC'ing jilles@ for any potential insight into the behavior of
> >sh(1) (and perhaps this updated libedit snapshot).
> 
> I would also welcome any insights jilles@ can offer.
> 
> pfg@ (who shepherded the libedit update into the tree), David Shao
> (originator of kern/169603) and I have been investigating
> fixes to libedit but do not have a solution yet.  There is a
> possibility that sh(1) is relying on bugs in the old libedit.
> 
> At this stage, it seems likely that the libedit update
> (r237738) will be reverted for 9.1-RELEASE.
> 

I am trying hard to identify the specific changes from
NetBSD that caused the issue. The problem is known to
happen in the latest version of the upstream sources
too but I don't want to revert all the patch if I can
avoid it because it is becoming increasingly difficult
update libedit and we need some of the new features.

It seems like David Shao's issue is different but so
far I am aware that the issue was introduced in the
changes associated with read.c

http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libedit/read.c

NetBSD fixed the SIGWINCH issue in revisions 1.55, 1.56
and 1.57 of that file but it was caused by revision 1.43

the EOF issue seems to be caused by Revision 1.49 

I still have to play more with this.

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


Re: sh(1) exiting on SIGWINCH

2012-07-05 Thread Peter Jeremy
On 2012-Jul-05 00:22:45 -0500, Brandon Gooch  
wrote:
>Seems that the window resize is somehow causing sh(1) to receive an
>EOF while the shell is sitting at the prompt, which results in the
>shell exiting; haven't dug too deeply into the source yet, but can you
>try to run /bin/sh with the '-I' (that's capital letter 'i') and it
>the shell shouldn't exit (but it will bark at you with a 'Use "exit"
>to leave shell.' message on each resize.

Interesting.  I hadn't tried '-I' but now also see that.

>I'm CC'ing jilles@ for any potential insight into the behavior of
>sh(1) (and perhaps this updated libedit snapshot).

I would also welcome any insights jilles@ can offer.

pfg@ (who shepherded the libedit update into the tree), David Shao
(originator of kern/169603) and I have been investigating fixes to
libedit but do not have a solution yet.  There is a possibility that
sh(1) is relying on bugs in the old libedit.

At this stage, it seems likely that the libedit update (r237738)
will be reverted for 9.1-RELEASE.

-- 
Peter Jeremy


pgpUCwQdtnSJm.pgp
Description: PGP signature


please review my openssl build patch

2012-07-05 Thread Aragon Gouveia

http://www.freebsd.org/cgi/query-pr.cgi?pr=168396
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Recommendation for Hyervisor to host FreeBSD

2012-07-05 Thread Phil Regnauld
Pete French (petefrench) writes:
> So, my work surprise for a Thursday morning is an urgent requirement to
> see if we can run a set of FreeBSD machines under virtualised servers.
> I have not done this before personally, but I notice from post here
> that it doesnt seem uncommon, and I see Xen related commits flowing
> past, so I am guessing it is doable.
> 
> So, for running 8 or 9 STABLE can anyone recommend which hypervisor
> works best, and is 8 or 9 better as the OS to run ? Am doing a bit
> of research myself, but nothing beats persoanl experience in these
> matters!

Have been running FreeBSD in production as a hypervisor and a guest
under VirtualBox for a couple of years now.

Am also running it under Ganeti/XEN and Ganeti/KVM with success.

Note other comments in the thread about virtio. Setting KVM to use
"native" io also helps quite a bit.

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


Re: Recommendation for Hyervisor to host FreeBSD

2012-07-05 Thread Mark Felder
On Thu, 05 Jul 2012 09:52:31 -0500, Adam Strohl  
 wrote:



 but as far as I know it isn't missing anything


I've had vmware engineers tell me it doesn't log to the hypervisor  
correctly so you need to use official tools when they are asking for  
debugging info

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


Re: Recommendation for Hyervisor to host FreeBSD

2012-07-05 Thread Joel Dahl
On 05-07-2012  9:05, Mark Felder wrote:
> On Thu, 05 Jul 2012 06:43:06 -0500, Pete French  
>  wrote:
> 
> > So, my work surprise for a Thursday morning is an urgent requirement to
> > see if we can run a set of FreeBSD machines under virtualised servers.
> > I have not done this before personally, but I notice from post here
> > that it doesnt seem uncommon, and I see Xen related commits flowing
> > past, so I am guessing it is doable.
> >
> > So, for running 8 or 9 STABLE can anyone recommend which hypervisor
> > works best, and is 8 or 9 better as the OS to run ? Am doing a bit
> > of research myself, but nothing beats persoanl experience in these
> > matters!
> >
> 
> I can't recommend ESX at all. We are struggling to keep our FreeBSD  
> servers from crashing. I can make them crash on demand just by stressing  
> I/O and network at the same time. I have a PR regarding the issue, but no  
> known fix yet.
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=168416&cat=

This may also be of interest for people looking at VMware ESX:

http://forums.freebsd.org/showthread.php?t=31929

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


Re: Recommendation for Hyervisor to host FreeBSD

2012-07-05 Thread Adam Strohl

On 7/5/2012 21:27, Rainer Duffner wrote:

They come (or came, last time I looked) with a lot of
run-time dependencies and even more at build-time.
And AFAIK, they don't offer the full functionality either.


There is a number of dependencies, but as far as I know it isn't missing 
anything: memory driver, OS control (ie; shutdown), etc.


I manage dozens of FreeBSD VMs under ESXi 3.5, 4.x and 5.0 ... most of 
them using OpenVM tools (ie; the 9.x hosts), works great.



--
Adam Strohl
http://www.ateamsystems.com/


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


Re: Recommendation for Hyervisor to host FreeBSD

2012-07-05 Thread Rainer Duffner
Am Thu, 5 Jul 2012 08:53:19 -0400
schrieb Mark Saad :

> 
> 
> On Jul 5, 2012, at 8:43 AM, Rainer Duffner 
> wrote:

> > AFAIK, there are no VMware-tools for FreeBSD9 (yet).
> > So, if you need to use ESXi/vSphere, then stay with 8.3 for the time
> > being.
> 
> You can use the open-vmtools package which is in ports .

They come (or came, last time I looked) with a lot of
run-time dependencies and even more at build-time.
And AFAIK, they don't offer the full functionality either.


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


Re: Recommendation for Hyervisor to host FreeBSD

2012-07-05 Thread Pete French
> It helps if you tell people what you are looking for.

Ah, sorry, just dashed that off before I went into a meeting, here's
a bit more info.

> - realtime moving of guests between host-servers?
> - do you really need separate OS'es or would jails serve your purposes?
> - Are you only going to run FreeBSD on FreeBSD or also Linux or Windows on  
> FreeBSD?

Currently we have a nice farm of real machines with exonetric - I
have a pair of machines for a datase, using hast to duplicate the
storage and allow fast flipping from one to the other, a pair of machines
acting as firewalls using carp for failover and nginx to load balance,
and a set of boxes acting as a web farm.

I have a requirement to duplicate this - which I was intending to do
using a 2nd set of physical machines. people who know about money
are rather alarmed at the cost of doing so, and have also noticed that
virtual machines are pretty cheap, hence have asked me if I could
do it using a set of virtual machines.

So, am looking to try and mirror a physical setup, which involves hast
and carp, on a set of virtual machines, bought in from some
extermal supplier (probably one more used to hosting Windows). Thats
the spec :_0

Thanks for all the suggestions so far BTW - the comments on VMWare ESX are
interesting (especially http://www.freebsd.org/cgi/query-pr.cgi?pr=168416)
as I did have one place I could get a set of such machines in a very cost
effective way.

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


Re: Recommendation for Hyervisor to host FreeBSD

2012-07-05 Thread Mark Felder
On Thu, 05 Jul 2012 06:43:06 -0500, Pete French  
 wrote:



So, my work surprise for a Thursday morning is an urgent requirement to
see if we can run a set of FreeBSD machines under virtualised servers.
I have not done this before personally, but I notice from post here
that it doesnt seem uncommon, and I see Xen related commits flowing
past, so I am guessing it is doable.

So, for running 8 or 9 STABLE can anyone recommend which hypervisor
works best, and is 8 or 9 better as the OS to run ? Am doing a bit
of research myself, but nothing beats persoanl experience in these
matters!



I can't recommend ESX at all. We are struggling to keep our FreeBSD  
servers from crashing. I can make them crash on demand just by stressing  
I/O and network at the same time. I have a PR regarding the issue, but no  
known fix yet.


http://www.freebsd.org/cgi/query-pr.cgi?pr=168416&cat=
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Recommendation for Hyervisor to host FreeBSD

2012-07-05 Thread Mark Saad


On Jul 5, 2012, at 8:43 AM, Rainer Duffner  wrote:

> Am Thu, 05 Jul 2012 12:43:06 +0100
> schrieb Pete French :
> 
>> So, my work surprise for a Thursday morning is an urgent requirement
>> to see if we can run a set of FreeBSD machines under virtualised
>> servers. I have not done this before personally, but I notice from
>> post here that it doesnt seem uncommon, and I see Xen related commits
>> flowing past, so I am guessing it is doable.
>> 
>> So, for running 8 or 9 STABLE can anyone recommend which hypervisor
>> works best, and is 8 or 9 better as the OS to run ? Am doing a bit
>> of research myself, but nothing beats persoanl experience in these
>> matters!
> 
> 
> 
> AFAIK, there are no VMware-tools for FreeBSD9 (yet).
> So, if you need to use ESXi/vSphere, then stay with 8.3 for the time
> being.

You can use the open-vmtools package which is in ports .


> There are KVM-drivers for FreeBSD 8.3 and 9.0 in the ports.
> 
> Also, full, native support for MSFT-HyperV is coming to FreeBSD9.
> 
> I wouldn'd bother with the free VMware-server.

Agree here it's very slow compared to all of the others . 

> 
> AFAIK, the latest vcenter has a web-console, so you don't need a
> Windows VM just to manage your virtualized FreeBSD instances.
> Hopefully, someone else will have to do all the heavy-lifting of
> maintaining all the virtualization-infrastructure.
> 

VMware with vsphere server , another product , seperate from esxi, provides a 
web based console but I still use the windows desktop tool , as it works more 
consistently then the web tool.  


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


Re: Recommendation for Hyervisor to host FreeBSD

2012-07-05 Thread Rainer Duffner
Am Thu, 05 Jul 2012 12:43:06 +0100
schrieb Pete French :

> So, my work surprise for a Thursday morning is an urgent requirement
> to see if we can run a set of FreeBSD machines under virtualised
> servers. I have not done this before personally, but I notice from
> post here that it doesnt seem uncommon, and I see Xen related commits
> flowing past, so I am guessing it is doable.
> 
> So, for running 8 or 9 STABLE can anyone recommend which hypervisor
> works best, and is 8 or 9 better as the OS to run ? Am doing a bit
> of research myself, but nothing beats persoanl experience in these
> matters!



AFAIK, there are no VMware-tools for FreeBSD9 (yet).
So, if you need to use ESXi/vSphere, then stay with 8.3 for the time
being.

There are KVM-drivers for FreeBSD 8.3 and 9.0 in the ports.

Also, full, native support for MSFT-HyperV is coming to FreeBSD9.

I wouldn'd bother with the free VMware-server.

AFAIK, the latest vcenter has a web-console, so you don't need a
Windows VM just to manage your virtualized FreeBSD instances.
Hopefully, someone else will have to do all the heavy-lifting of
maintaining all the virtualization-infrastructure.



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


Re: Recommendation for Hyervisor to host FreeBSD

2012-07-05 Thread Ronald Klop
On Thu, 05 Jul 2012 13:43:06 +0200, Pete French  
 wrote:



So, my work surprise for a Thursday morning is an urgent requirement to
see if we can run a set of FreeBSD machines under virtualised servers.
I have not done this before personally, but I notice from post here
that it doesnt seem uncommon, and I see Xen related commits flowing
past, so I am guessing it is doable.

So, for running 8 or 9 STABLE can anyone recommend which hypervisor
works best, and is 8 or 9 better as the OS to run ? Am doing a bit
of research myself, but nothing beats persoanl experience in these
matters!

cheers,

-pete.


Hi,

It helps if you tell people what you are looking for.
- realtime moving of guests between host-servers?
- do you really need separate OS'es or would jails serve your purposes?
- Are you only going to run FreeBSD on FreeBSD or also Linux or Windows on  
FreeBSD?

- ... etc.

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


Re: Recommendation for Hyervisor to host FreeBSD

2012-07-05 Thread Mark Saad

On Jul 5, 2012, at 7:43 AM, Pete French  wrote:

> So, my work surprise for a Thursday morning is an urgent requirement to
> see if we can run a set of FreeBSD machines under virtualised servers.
> I have not done this before personally, but I notice from post here
> that it doesnt seem uncommon, and I see Xen related commits flowing
> past, so I am guessing it is doable.
> 
> So, for running 8 or 9 STABLE can anyone recommend which hypervisor
> works best, and is 8 or 9 better as the OS to run ? Am doing a bit
> of research myself, but nothing beats persoanl experience in these
> matters!
> 
> cheers,
> 
> -pete.
> 

Pete 
  I am using VMware esxi v4.01 with no issues for 6, 7, 8 and 9 . Esxi will 
happily host amd64 installs and i386 provider the underlying hardware supports 
it. The older esx 3.5 works as well on 32bit hardware but I am no longer using 
it. Also I use virtualbox 4 hosted on a Mac and a 9-stable amd64 box with 
little issue .


---
Mark saad | mark.s...@longcount.org

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


Re: Recommendation for Hyervisor to host FreeBSD

2012-07-05 Thread Bas Smeelen

On 07/05/2012 01:43 PM, Pete French wrote:

So, my work surprise for a Thursday morning is an urgent requirement to
see if we can run a set of FreeBSD machines under virtualised servers.
I have not done this before personally, but I notice from post here
that it doesnt seem uncommon, and I see Xen related commits flowing
past, so I am guessing it is doable.

So, for running 8 or 9 STABLE can anyone recommend which hypervisor
works best, and is 8 or 9 better as the OS to run ? Am doing a bit
of research myself, but nothing beats persoanl experience in these
matters!

cheers,

-pete.


I have got some 8 and 9 STABLE servers running under KVM linux which works 
good with either ide or scsi drives and e1000 nics or the virtio drives and 
nics that use the virtio kernel modules from ports. I would recommend this.
Also the free of charge vmware server 2 on linux is doing a good job for 
FreeBSD guests.


But if you are going to choose a hypervisor on bare metal for FreeBSD 
guests, why not just run FreeBSD with jails?





Disclaimer: http://www.ose.nl/email

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


Recommendation for Hyervisor to host FreeBSD

2012-07-05 Thread Pete French
So, my work surprise for a Thursday morning is an urgent requirement to
see if we can run a set of FreeBSD machines under virtualised servers.
I have not done this before personally, but I notice from post here
that it doesnt seem uncommon, and I see Xen related commits flowing
past, so I am guessing it is doable.

So, for running 8 or 9 STABLE can anyone recommend which hypervisor
works best, and is 8 or 9 better as the OS to run ? Am doing a bit
of research myself, but nothing beats persoanl experience in these
matters!

cheers,

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