Freeze when running freebsd-update

2012-06-26 Thread Robert Simmons
I've run into a totally reproducible freeze in 9.0.  There are a
number of variables involved, but I'm able to reproduce this freeze
100% of the time.

I'm installing very small servers in a Xen HVM virtualization
environment.  Each instance has 128M memory and 4G of disk space.
There is 384M of swap encrypted using geli_swap_flags="-d -l 256 -s 4096".

The rest of the disk space is encrypted with "geli init -b -v -a
hmac/sha256 -l 256 -s 4096 /dev/ada0p4".

After I've installed a VPS in this way, I run the freebsd-update fetch
command and it freezes at:
Applying patches...

I've been trying to diagnose the problem by running top and watching
what happens during this stage.  I noticed the following:

1) the box runs out of physical memory at this stage (totally
expected, that's why there is sufficient swap space).
2) All the processes except 2 sleep:
31 processes:  1 running, 29 sleeping, 1 waiting
3) the box is responsive to hitting enter at the console (it produces
another login: prompt)
4) sshd is asleep, so I can't ssh into the box
5) if I try to login to the console, it lets me enter a username then
locks up totally, it does not present me with a password: prompt.
6) it has not run out of swap, nowhere close:
Mem: 54M Active, 9524K Inact, 41M Wired, 24K Cache, 21M Buf, 32K Free
Swap: 384M Total, 6452K Used, 378M Free, 1% Inuse
7) the moment it runs out of physical memory it begins being unresponsive

Any idea what might be going on here?
___
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"


llvm/clang 3.1

2012-06-26 Thread ajtiM
Hi!

Today was upadate for llvm and clang 3.1.
My system is FreeBSD 9.0-RELEASE-p3. 
I update the system with pormaster and llvm was updated to 3.1 but clang shows 
clang version 3.0 (branches/release_30 142614) 20111021
I installed lang/clang which is 3.1 and I have it in /usr/local/bin:
clang version 3.1 (branches/release_31)
Target: i386-portbld-freebsd9.0

In /etc/make.conf I have:
CC=clang
CXX=clang++
CPP=clang-cpp

Today I try to build with /usr/local/bin/clang which is 3.1 and it works for 
graphics/opengtl but it didn't work for multimedia/cuse4bsd-kmod 0.1.24 and 
than I change back as I wrote above in make.conf and everythink works and I 
rebuilt opengtl whith clang 3.0 and it works.

Is it important just update llvm to 3.1 on FreeBSD 9.0 Rel;ease, please? Do I 
need to pkg_delete lang/clang?

Thank in advance.

Mitja

http://jpgmag.com/people/lumiwa
___
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: files need

2012-06-26 Thread Jerry McAllister
On Mon, Jun 25, 2012 at 09:53:37PM -0700, j wrote:

> I am a newbie to linux and unix. I want to install freebsd 8.3 and 
> want to know what files I need to download.

Go to:  http://www.freebsd.org/   and study the handbook.  It has 
complete sections on getting ISO files and doing the installation.

By the way, you will not want Linux files for a FreeBSD install.
FreeBSD is not Linux.  It is BSD UNIX.   Although it does have a
Lunix compatibility mode and libraries, it is a completely different
thing with somewhat different philosophy and quite a different structure
from Lunix.

jerry 
  
> ___
> 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"
> 
___
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: IPNAT seems to affect network performance? of jails on lo0 (10.0.0.0/24) - why?

2012-06-26 Thread Christopher J. Ruwe
On Mon, 25 Jun 2012 18:23:56 -0400
Robert Huff  wrote:

> 
> Christopher J. Ruwe writes:
> 
> >  On a KVM virtualized host, I run FreeBSD 8.3-RELEASE-p3 and some
> >  qjails, 8.3-RELEASE. The jails are connected all via lo0 on
> >  10.0.0.0.
> >  
> >  While by the large working as expected, I have noticed one
> >  pecularity I have failed to pinpoint: When launching processes
> >  with some network interaction, like sshing into one of the jails
> >  from the platform or launching emacs, the command spends ages (
> >  ~(1-2) minutes) idling?  (nothing happens) before becoming
> >  interactive.
> 
>   If the number is very close to 90 seconds, my first guess
> would be you have a DNS problem.
> 
> 
>   Robert Huff
> 
> ___
> 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"

Thanks for the hint. It was DNS ... I have copied a resolv.conf into the
jails for future use, but did not enable NAT from the start. 

The issue disappeared when I commented out the nameserver entries and
switched NAT off again, i.e., I could login using ssh in a matter of
seconds, not minutes.

Now to the followup: Why does ssh and emacs! require DNS for entirely local
connections or just to be started?

Anyway, thanks for that hint, cheers,
-- 
Christopher
TZ: GMT + 2h


signature.asc
Description: PGP signature


sysinstall diskPartitionEditor Question

2012-06-26 Thread Rick Miller
Hi All,

I'd like to set the offset/starting cylinder in install.cfg so that
partitions begin on appropriate boundaries.  The applicable section of
install.cfg looks like the following.  My assumption is that I need to
make the changes in the "partition" section.  Is this correct?  Is the
format of this value the same as a typical fdisk config file?

### Begin install.cfg snippet

disk=\${disk}
partition=all
bootManager=standard
diskPartitionEditor

# root
\${disk}s1-1=ufs 12582912 /

# swap
\${disk}s1-2=swap ${swap} none

# tmp
\${disk}s1-3=ufs 2097152 /tmp 1

# 2 GB var
\${disk}s1-4=ufs 4194304 /var 1

# 2 GB home
\${disk}s1-5=ufs 4194304 /home 1

diskLabelEditor
### End snippet

-- 
Take care
Rick Miller
___
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: SOLVED: Xorg listening on the WAN? (was Xorg listening on the WAN?)

2012-06-26 Thread Wojciech Puchar

# look like:
#   XTerminalName:0 foreign
#
:0 local /usr/local/bin/X -nolisten tcp :0

If there's batter way of doing this, please would someone let me know.


this is the right way if you use xdm.
similar settings are in kdm and gdm possible.
___
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"


Wine-fbsd64 updated to 1.5.7 (32bit Wine for 64bit FreeBSD)

2012-06-26 Thread David Naylor
Hi,

Packages [1] for wine-fbsd64-1.5.7 have been uploaded to mediafire [2].  The 
packages for FreeBSD 10 use the pkgng* [3] format.  

There are many reports that wine does not work with a clang compiled world
(help in fixing this problem is appreciated as it affects quite a few users).

The patch [4] for nVidia users is now included in the package and is run on
installation (if the relevant files are accessible).  Please read the
installation messages for further information.

Regards,

David

[1]
 MD5 (wine-1.5.x-freebsd8/wine-fbsd64-1.5.7,1.tbz) = 
0178e90ad6cdcdf61d22324c8ccdeab5
 MD5 (wine-1.5.x-freebsd9/wine-fbsd64-1.5.7,1.txz) = 
c658144284981dbc1543365f7d644534
 MD5 (wine-1.5.x-freebsd10/wine-fbsd64-1.5.7,1.txz) = 
921a5a114cc4feb75446ff491168dca5
[2] http://www.mediafire.com/wine_fbsd64
[3] http://wiki.freebsd.org/pkgng
[4] The patch is located at /usr/local/share/wine/patch-nvidia.sh
* pkgng support for nVidia patching should be working properly and using a 
mixed mode between pkgng and pkg also works


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