Re: FreeBSD-similar build-from-source Linux?

2010-11-10 Thread Mark Blackman

O. Hartmann wrote:

well, my question may sound heretic, but since we use mostly Linux based
systems in our scientific environment and FreeBSD seems to lack in
severe support in GPGPU/CUDA capable graphics boards


Hmm, interesting requirement. Sounds like a nice Google SoC project or
even something funded.

- Mark
___
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: USGS ISIS 3.2.1: build failure on FBSD 8.1/9.0 due to oudated xerxec-c2 ?

2010-11-10 Thread O. Hartmann

On 11/09/10 22:06, O. Hartmann wrote:

On 11/09/10 21:52, Gary Jennejohn wrote:

On Tue, 09 Nov 2010 20:34:48 +0100
O. Hartmannohart...@mail.zedat.fu-berlin.de wrote:


Hello.
Tried to build the newest ISIS 3.2.1 software package for planetary
survey science, but fail. I always get the following error which seems
to be triggered due to an ambiguous overload of a function, but I do not
know how to fix the problem since everything seems clen to me. The USGS
ISIS package uses prebuild libraries, but only for two Linux
distributions and OSX, libxerces is version 3.1 as far as I can see, but
FreeBSD port textproc/xerces-c2 is stuck with 2.7. So far, ISIS 3.2.0
could be build on FreeBSD 8 and 9 with minor problems but working. Is
anybody out here also utilising FreeBSD for scientific purposes and alsi
using ISIS3 3.2.1? Can anybody help or give a hint?

Thanks in advance,



Are you using the standard gcc? You could try installing one of the
gcc versions from ports and see whether that helps. The standard gcc
is a few generations old.

[snip error output]



Hello,

I'm using clang ;-) But I also tried gcc45. After I installed xerces-c
version 3.1.1 from the Apache project in referred ISIS to take libs iand
includes from the new installation path, I had success, but only a
partial one. Xalan-c relies on the older version xerces-c2 2.7..

I also tried with xerces-c2-devel (2.8.0), but it also produces the
error shown prior to this message.

Regards,
Oliver


Some update.

I tried several compilers, all fail due to the wrong xerces-c library. 
The new USGS software package expects version 3.1.1 of xerces-c. Simply 
installing the new xerces-c library by compiling, installing to another 
path and referring to the new lib path etc. doesn't work properly, since 
there are some conflicts with the original installed xerces-c2 2.7 
library. I had to deinstall xerces-c2 package from the ports first, 
compile and install ISIS3, then reinstall xerces-c2 since it is 
neccessary by some other important ports we've installed. Xalan-c is 
also a candidate relying on xerces-c2, and a prerequisite for ISIS3, but 
so far, I did not recognize any conflicts or misbehaviour. But this is 
still a worse situation.


Greetings,
Oliver
___
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-similar build-from-source Linux?

2010-11-10 Thread O. Hartmann

Hello out there,

well, my question may sound heretic, but since we use mostly Linux based 
systems in our scientific environment and FreeBSD seems to lack in 
severe support in GPGPU/CUDA capable graphics boards I need to setup a 
kind of Linux facility to ensure having the software and tools I need 
for my work. I'm looking for a Linux distribution that is similar 
handled like FreeBSD, where I'm able to rebuild the whole system from 
sources, not even the the Linux kernel, also the GNU tools and the 
packages. Maybe there are some people out here having already taken this 
step.

Any suggestion is appreciated,

thanks in advance,

Oliver
___
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: Tips for installing windows and freeBSD both.. anyone??

2010-11-10 Thread Bruce Cran
On Wed, 10 Nov 2010 04:02:34 +0100
Michael Ross michael.r...@gmx.net wrote:

 For Windows OSes there is actually a rather nice tool out there,
 
   http://www.autoitscript.com/autoit3/
 
 which allows you to script the GUI cross-app.

Microsoft also have the UI Automation API to script GUI applications.

-- 
Bruce Cran
___
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


CPIO compatibility with Freebsd 8[.1]

2010-11-10 Thread Pico Geyer
Hi all.

I recently noticed that I could not extract a cpio archive that I have
on my Freebsd 8.0 machine.
I thought that the archive might be corrupt so I compared the md5sum
to a backup that I have and it was fine.

I then tried to extract the archive on Freebsd 7.2 and it extracted
without problems.
I then tried on a Freebsd 8.1 system and I get the errors again.

My archive is actually the output of a nanobsd build that someone
created for me.
So as root I do
 cpio -i  ../_.fsimg

And as the output shows it can't create many files.
usr/local/lib/python2.6/distutils/tests/__init__.py: Can't create
'usr/local/lib/python2.6/distutils/tests/__init__.py'
usr/local/lib/python2.6/distutils/tests/__init__.pyo: Can't create
'usr/local/lib/python2.6/distutils/tests/__init__.pyo'
usr/local/lib/python2.6/distutils/tests/__init__.pyc: Can't create
'usr/local/lib/python2.6/distutils/tests/__init__.pyc'
usr/local/lib/python2.6/distutils/tests/support.py: Can't create
'usr/local/lib/python2.6/distutils/tests/support.py'
usr/local/lib/python2.6/distutils/tests/support.pyo: Can't create
'usr/local/lib/python2.6/distutils/tests/support.pyo'
usr/local/lib/python2.6/distutils/tests/support.pyc: Can't create
'usr/local/lib/python2.6/distutils/tests/support.pyc'
[snip]

Does anyone know why this might be happening?
Are there compatibility changes with cpio?

Any advice would be appreciated.
Thanks,
Pico
___
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: FreeBSD-similar build-from-source Linux?

2010-11-10 Thread Ivan Voras
On 11/10/10 13:24, O. Hartmann wrote:
 Hello out there,
 
 well, my question may sound heretic, but since we use mostly Linux based
 systems in our scientific environment and FreeBSD seems to lack in
 severe support in GPGPU/CUDA capable graphics boards I need to setup a
 kind of Linux facility to ensure having the software and tools I need
 for my work. I'm looking for a Linux distribution that is similar
 handled like FreeBSD, where I'm able to rebuild the whole system from
 sources, not even the the Linux kernel, also the GNU tools and the
 packages. Maybe there are some people out here having already taken this
 step.
 Any suggestion is appreciated,

I think that the general opinion is that Gentoo has the closest thing to
that aspect of FreeBSD. Other than that, IIRC Slackware is also
build-friendly.

___
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: FreeBSD-similar build-from-source Linux?

2010-11-10 Thread C. Bergström

Mark Blackman wrote:

O. Hartmann wrote:

well, my question may sound heretic, but since we use mostly Linux based
systems in our scientific environment and FreeBSD seems to lack in
severe support in GPGPU/CUDA capable graphics boards


Hmm, interesting requirement. Sounds like a nice Google SoC project or
even something funded.
This project is by far too much for a gsoc student not to mention who 
would mentor it...  People throw around the term GPGPU/CUDA too much 
and don't realize that it breaks down into...


1) Kernel drivers (not ported to FreeBSD - see PSCNV.. There has other 
related things like drm, firmware. etc)

2) Runtime (do you need CUDA API, OpenCL.. etc)
3) Assembler
4) Code generation (ptx, direct isa.. which can be nv50, nvc0. etc)
5) Programming model (front-end which is typically CUDA/OpenCL or lesser 
known HMPP)

___
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: FreeBSD-similar build-from-source Linux?

2010-11-10 Thread Mark Blackman

C. Bergström wrote:

This project is by far too much for a gsoc student not to mention who
would mentor it...  People throw around the term GPGPU/CUDA too much
and don't realize that it breaks down into...


fair point, I assumed it was a simple driver question.

- Mark
___
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: FreeBSD-similar build-from-source Linux?

2010-11-10 Thread C. Bergström

Mark Blackman wrote:

C. Bergström wrote:

This project is by far too much for a gsoc student not to mention who
would mentor it...  People throw around the term GPGPU/CUDA too much
and don't realize that it breaks down into...


fair point, I assumed it was a simple driver question.

We (PathScale and some volunteers) are working on this problem and doing 
our best.. (without funding or gsoc).. More help would be great, but 
there's a learning curve few are brave enough to endure.  We have 
published a large amount of documentation [1] and made it as easy as 
possible, but still need help..



./C

#pathscale - irc.freenode.net (All things compiler and GPGPU welcomed)

[1] http://github.com/pathscale/pscnv/wiki
___
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: Tips for installing windows and freeBSD both.. anyone??

2010-11-10 Thread Mario Lobo
On Wednesday 10 November 2010 06:21:18 Bruce Cran wrote:
 On Wed, 10 Nov 2010 04:02:34 +0100
 
 Michael Ross michael.r...@gmx.net wrote:
  For Windows OSes there is actually a rather nice tool out there,
  
  http://www.autoitscript.com/autoit3/
  
  which allows you to script the GUI cross-app.
 
 Microsoft also have the UI Automation API to script GUI applications.

In my humble experience, I think there are 2 distinct aspects to this issue.

I use FBSD both as desktop and as server. In practice, I need a GUI for 
desktop work and none whatsoever for server work. 

The only time I needed some kind of GUI component on a server was when I 
wanted to test a VM on it and I wanted the comodity of running VirtualBox 
console on my desktop. Other than that, the command line is more than enough.

OTOH, for the kind of work that I do, having 4 workspaces is absolutely handy. 
And to be able to switch between these 4 scenarios with the scroll of a middle 
button is definetly a plus.

just my 0,02 cents.
 
-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winfoes FREE)
___
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


kern.smp.topology

2010-11-10 Thread Ivan Klymenko
Hello! People.

Who can explain the purpose of sysctl variable kern.smp.topology?
What does it affect?

It may take such values:
1  -Dual core with no sharing.
2  -No topology, all cpus are equal.
3  -Dual core with shared L2.
4  -quad core, shared l3 among each package, private l2.
5  -quad core,  2 dualcore parts on each package share l2.
6  -Single-core 2xHTT
7  -quad core with a shared l3, 8 threads sharing L2.
default-Default, ask the system what it wants.

Does it make sense to set its value manually, if I know that my CPU Core2Duo?
How to do this, select a value?

I not found this explanation in any of the official guides ...

Thanks!
___
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: Multiple tun loadbalancing question

2010-11-10 Thread Leonardo Santagostini
Ok,

Sorry by the late but yesterday when i went home, 2 of my 3 modems stopped
working.

One of them, provider problem, the other  so strange, i can get
connected in my xp box but no in FreeBSD, lookup deeper i realized that
enumeration of the usb port number has changed.

I change my ppp.conf according to new usr port number but i was not able to
establish de connection, i get NO CARRIER.

It was the time i decided go to sleep.

Well when i get back to my home i will still probing, and let you know how
things are going.

Thank for all your support,

Regards,
Leonardo Santagostini


2010/11/9 Leonardo Santagostini lsantagost...@gmail.com

 Ok,

 Here it comes my ppp.conf

 default:
  set log Phase Chat LCP IPCP CCP tun command
  set timeout 180
  enable dns
  accept dns
  allow users mjl
  add default HISADDR
  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
  disable ipv6cp
  disable mppe
  disable vjcomp
  disable acfcomp
  disable deflate
  disable pred1
  disable protocomp
  disable lqr
  deny chap



 claro:
  set device /dev/cuaU6.2
  set phone *99#
  set authname clarogprs
  set authkey clarogprs999
  set dial ABORT BUSY TIMEOUT 5 \
  \\ \
  ATZ OK-AT-OK \
  ATZ OK-AT-OK \
  AT+CFUN=1 OK-AT-OK \
  AT+CSQ OK \
  AT+CGDCONT=1,\\\IP\\\,\\\igprs.claro.com.ar\\\ OK \
  AT+CGACT? OK-AT-OK \
  AT+CGATT? OK \
  AT+COPS? OK \
  ATDT*99# CONNECT

  set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0
  add! default HISADDR


 movistar:
  set device /dev/cuaU2.0
  set phone *99#
  set authname internet
  set authkey internet
  set dial ABORT BUSY TIMEOUT 5 \
  \\ \
  ATZ OK-AT-OK \
  ATZ OK-AT-OK \
  AT+CFUN=1 OK-AT-OK \
  AT+CSQ OK \
  AT+CGDCONT=1,\\\IP\\\,\\\internet.gprs.unifon.com.ar\\\ OK \
  AT+CGACT? OK-AT-OK \
  AT+CGATT? OK \
  AT+COPS? OK \
  ATDT*99# CONNECT
  set ifaddr 10.0.0.11/0 10.0.0.12/0 0.0.0.0 0.0.0.0
  add! default HISADDR


 personal:
  set device /dev/cuaU0.1
  set phone *99#
  set authname gprs
  set authkey gprs
  set dial ABORT BUSY TIMEOUT 5 \
  \\ \
  ATZ OK-AT-OK \
  ATZ OK-AT-OK \
  ATZ OK-AT-OK \
  AT+CFUN=1 OK-AT-OK \
  AT+CSQ OK \
  AT+CGDCONT=1,\\\IP\\\,\\\gprs.personal.com\\\ OK \
  AT+CGACT? OK-AT-OK \
  AT+CGATT? OK \
  AT+COPS? OK \
  ATDT*99# CONNECT
  set ifaddr 10.0.0.21/0 10.0.0.22/0 0.0.0.0 0.0.0.0
  add! default HISADDR

 First of all i will try with PF

 It seems to me easier than other clues :-)


 C-ya
 Leonardo Santagostini


 2010/11/10 Leonardo Santagostini lsantagost...@gmail.com

 Hello All, in a few moments i will start making some test with the
 suggestions you give me.

 I will tell you how things are going.

 Thanks all for reply!
 Yours,

 Leonardo Santagostini


 2010/11/9 Gary Gatten ggat...@waddell.com

 Seems out of scope to OP, but cool info nonetheless.  I'd like to get my
 web team to ditch a couple ISA servers for this, but sadly I doubt they
 will...

 -Original Message-
 From: bluethundr [mailto:bluethu...@gmail.com]
 Sent: Tuesday, November 09, 2010 5:42 PM
 To: Gary Gatten
 Cc: Leonardo Santagostini; Nathan Vidican; freebsd-questions@freebsd.org
 Subject: Re: Multiple tun loadbalancing question

 This might be worth looking into as well!

 It's an open source load balancer that was originally developed by
 yahoo and released into the open source community. It is now a part of
 the Apache project:

 http://trafficserver.apache.org/



 On Tue, Nov 9, 2010 at 4:06 PM, Gary Gatten ggat...@waddell.com wrote:
  If three different providers, then to my knowledge you are SOL - mlppp
 is not an option - unless someone here knows something I don't - which is
 100% likely :)
 
  Now, that said you can configure your routing to split the traffic
 amongst different connections - so traffic to/from certain hosts use
 connection A, other hosts use B, etc.  You can even get fancy and route
 based on application and host if you wish.  Ci$co calls this Policy Based
 Routing.  I'm not sure if FBSD or another package such as pf allows similar
 functionality.  My guess would be yes - but I don't know anything about
 that.
 
  As for bonding or aggregating your connections to appear as a single
 one - not an option AFAIK.
 
  G
 
  
  From: Leonardo Santagostini [mailto:lsantagost...@gmail.com]
  Sent: Tuesday, November 09, 2010 2:52 PM
  To: Gary Gatten
  Cc: Chuck Swiger; Nathan Vidican; freebsd-questions@freebsd.org
  Subject: Re: Multiple tun loadbalancing question
 
  Hello all,
 
  Im using 3 different providers all from Argentina, Clora, Movistar and
 Personal.
 
  Thank you
  Leonardo Santagostini
 
  2010/11/9 Gary Gatten ggat...@waddell.commailto:ggat...@waddell.com
 
  snip
 
  Also, may be obvious to point out, but all (3) connections must be
 from 

Re: FreeBSD-similar build-from-source Linux?

2010-11-10 Thread C. Bergström

O. Hartmann wrote:

Hello out there,

well, my question may sound heretic, but since we use mostly Linux 
based systems in our scientific environment and FreeBSD seems to lack 
in severe support in GPGPU/CUDA capable graphics boards I need to 
setup a kind of Linux facility to ensure having the software and tools 
I need for my work. I'm looking for a Linux distribution that is 
similar handled like FreeBSD, where I'm able to rebuild the whole 
system from sources, not even the the Linux kernel, also the GNU tools 
and the packages. Maybe there are some people out here having already 
taken this step.

Any suggestion is appreciated,

Hi Oliver,

PathScale will be offering a GPGPU solution for FreeBSD this year.  
Please contact me off list if you'd like to dump your plans to use Linux.


To answer your original question which seems out of context for here... 
You could try Gentoo or ARCH linux.


./C
___
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: Package deinstall woes since new portupgrade arrived

2010-11-10 Thread Tobias
On Tue, Nov 9, 2010 at 11:50 PM, Tobias tobi...@gmail.com wrote:

 Howdy freebsd-questions - almost every day I run a portupgrade --batch
 -rav over my installed packages on my FreeBSD 8.1-RELEASE #0 system. Two
 days ago I noticed that portupgrade itself was updated and that subsequent
 packages had troubles updating.

 Here's a sample for a portupgrade --batch -rav run:
 ...
 ===  Building for p5-Set-IntSpan-1.15
 cp IntSpan.pm blib/lib/Set/IntSpan.pm
 Manifying blib/man3/Set::IntSpan.3
 ---  Build of math/p5-Set-IntSpan ended at: Tue, 09 Nov 2010 23:38:41
 -0700 (consumed 00:00:01)
 ---  Updating dependency info
 ---  Uninstallation of p5-Set-IntSpan-1.14 started at: Tue, 09 Nov 2010
 23:38:45 -0700
 ---  Fixing up dependencies before creating a package
 ---  Backing up the old version
 ---  Uninstalling the old version
 ---  Deinstalling 'p5-Set-IntSpan-1.14'
 ** Listing the failed packages (-:ignored / *:skipped / !:failed)
 ! p5-Set-IntSpan-1.14   (undefined method `nil' for :String)
 ---  Uninstallation of p5-Set-IntSpan-1.14 ended at: Tue, 09 Nov 2010
 23:38:56 -0700 (consumed 00:00:11)
 ---  Upgrade of math/p5-Set-IntSpan ended at: Tue, 09 Nov 2010 23:38:56
 -0700 (consumed 00:00:16)
 ...

 It appears as if the deinstall fails for some (at least to me) unknown
 reason. p5-Set-IntSpan was not updated and we end up with lots of stale
 dependencies that need to be fixed via pkgdb -F. If I manually do a make
 deinstall reinstall in the port-directory then the deinstall does not have
 any issues.

 Does anybody know where I should be looking for a solution to the
 (undefined method `nil' for :String) problem?

 Thanks - Tobias



Just in case somebody faces the same issue. I used portdowngrade to revert
portupgrade back to version 2.4.6_4 and then things worked as before.

Thanks - Tobias
___
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: FreeBSD-similar build-from-source Linux?

2010-11-10 Thread Alejandro Imass
On Wed, Nov 10, 2010 at 7:31 AM, Ivan Voras ivo...@freebsd.org wrote:
 On 11/10/10 13:24, O. Hartmann wrote:
 Hello out there,

[...]

 I think that the general opinion is that Gentoo has the closest thing to
 that aspect of FreeBSD. Other than that, IIRC Slackware is also
 build-friendly.


Slackware is actually the most similar to FBSD IMHO
___
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: FreeBSD-similar build-from-source Linux?

2010-11-10 Thread Chris Brennan
On Wed, Nov 10, 2010 at 10:58 AM, Alejandro Imass a...@p2ee.org wrote:

 On Wed, Nov 10, 2010 at 7:31 AM, Ivan Voras ivo...@freebsd.org wrote:
  On 11/10/10 13:24, O. Hartmann wrote:
  Hello out there,
 
 [...]
 
  I think that the general opinion is that Gentoo has the closest thing to
  that aspect of FreeBSD. Other than that, IIRC Slackware is also
  build-friendly.
 

 Slackware is actually the most similar to FBSD IMHO


I used Slackware for years ... there thing is Vanilla. They don't do things
BSDish all that much although some practices are borrowed from BSD. But on
the other hand they don't follow most GNU Conventions either  to them,
it's a logical order of things, in some ways that's good, but it's hard to
get used to.

Gentoo is probably the closest thing to *BSD on many aspects. Most notable
is portage. It functions just like Ports but doesn't rely on BSD Makefiles
but Gentooized BASH scripts. The fundamental principles are the same though.

In some regards you could relate Slackware's binary packages to FreeBSD's
binary package system but not nearly as well developed. Slackware packages
are almost never up to date and are oft times broke in some way. There is
also no dependency checking in Slackware. Portage at least does that for
you. IIRC Arch Documentation was flaky (or at least it was a few years ago
when I felt the need to play with it).

If your looking for a Binary Base and build your own apps on top of that,
you can check out Slackware. If you want a complete Meta-distribution where
you build everything from source then Gentoo would be your best bet. It's
very well documented and supported. It's also reasonably easy to
use/maintain. Just takes some getting used to.

Did you know...

If you play a Windows 2000 CD backwards, you hear satanic messages,
but what's worse is when you play it forward
  ...it installs Windows 2000

   -- Alfred Perlstein on chat at freebsd.org
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
___
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


Problems Hooking Sudoers into PAM/LDAP

2010-11-10 Thread bluethundr
Hey list!!  I am attempting to solve a rather thorny issue and I was
hoping that someone might have some insight into what is going on
here..

At this point I have an openLDAP  server that is working quite splendidly! :)

I have a working directory with users able to authenticate it and TLS
turned on and it is ALL happening through PAM!! Well almost all of
it..

The one sticking point I am currently having is getting sudoers to
authenticate against LDAP.

The server is FreeBSD 8.1 but the clients are all CentOS 5.4.
Although, knowing this shouldn't make much difference in how this
works AFAIK. On the client I have my /etc/ldap.conf file setup like
this:


URI ldap://ldap.acadaca.net/
BASE dc=acadaca,dc=net
TLS_CACERTDIR /etc/openldap/cacerts
pam_login_attribute uid
pam_lookup_policy   yes
pam_passwordexop
nss_base_passwd ou=staff,dc=acadaca,dc=net
sudoers_debug 2


I have added the user I am testing to a couple of groups (two regular
DNs and one posixGroup)  all of which had the sudoRole objectClass in
the hopes that this might be related to the issue:


46 cn=%sa,ou=sudoers,ou=Services,dc=acadaca,dc=net
objectClass: top
objectClass: sudoRole
cn: %sa
sudoHost: ALL
sudoRunAsUser: ALL
sudoCommand: ALL
sudoOption: !authenticate
sudoUser: %sa
sudoUser: bluethundr


50 cn=role1,ou=sudoers,ou=Services,dc=acadaca,dc=net
objectClass: sudoRole
objectClass: top
cn: role1
sudoUser: bluethundr
sudoHost: ALL
sudoCommand: ALL

51 cn=sa,ou=Group,dc=acadaca,dc=net
objectClass: posixGroup
objectClass: top
cn: sa
userPassword: {crypt}*
gidNumber: 20004


However that didn't seem to do the trick. When I do attempt to sudo
from the client machine this is what I see on the command line:


[bluethu...@vircent03:~]#sudo bash
[sudo] password for bluethundr:
bluethundr is not in the sudoers file.  This incident will be reported.
[bluethu...@vircent03:~]#sudo -l
[sudo] password for bluethundr:
Sorry, user bluethundr may not run sudo on VIRCENT03.


Also I notice that the client can't seem to find it's groups stored in
LDAP even tho I would think that system auth would point sudoers
to them just as it does sshd and su.


[bluethu...@vircent03:~]#groups bluethundr
id: cannot find name for group ID 1002


I am not entirely sure that this is a separate issue, honestly but I
think it may be related.


The other pam services I am working with, su and sshd, trigger events
in the openldap logs on the server. Everything is going smoothly with
these services, apparently:

In the openldap logs on the server here is a sample of what I see:


Nov  9 14:03:56 ldap slapd[31269]: bdb_search_candidates: id=1 first=54 last=54
Nov  9 14:03:56 ldap slapd[31269]: = test_filter
Nov  9 14:03:56 ldap slapd[31269]: AND
Nov  9 14:03:56 ldap slapd[31269]: = test_filter_and
Nov  9 14:03:56 ldap slapd[31269]: = test_filter
Nov  9 14:03:56 ldap slapd[31269]: EQUALITY
Nov  9 14:03:56 ldap slapd[31269]: = access_allowed: search access to
uid=bluethundr,ou=sa,ou=staff,dc=acadaca,dc=net objectClass
requested
Nov  9 14:03:56 ldap slapd[31269]: = acl_get: [1] attr objectClass
Nov  9 14:03:56 ldap slapd[31269]: = acl_mask: access to entry
uid=bluethundr,ou=sa,ou=staff,dc=acadaca,dc=net, attr objectClass
requested
Nov  9 14:03:56 ldap slapd[31269]: = acl_mask: to value by , (=0)
Nov  9 14:03:56 ldap slapd[31269]: = acl_mask: [1] applying read(=rscxd) (stop)
Nov  9 14:03:56 ldap slapd[31269]: = acl_mask: [1] mask: read(=rscxd)
Nov  9 14:03:56 ldap slapd[31269]: = access_allowed: search access
granted by read(=rscxd)

More complete logs that I hope will provide a bit more context can be
found here:

http://ldap.acadaca.net/docs/openldap.txt


What I've done was clear the openldap logs with an echo  
 statement just before sudoing to root on the client.  Honestly, I wish
I was better at parsing these log files but unfortunately I'm not
quite there as of yet. :(

Back on the client side I see this noticeable event, amongst quite a
lot of successful pam events in the secure log:


Nov  9 15:37:39 VIRCENT03 sudo: bluethundr : user NOT in sudoers ;
TTY=pts/3 ; PWD=/home/bluethundr ; USER=root ; COMMAND=/bin/bash

A more complete version of the secure log can be found here:

http://ldap.acadaca.net/docs/securelogs.txt

And lastly a copy of the schema that I am working with can be found here:

http://ldap.acadaca.net/docs/schema.txt


Best regards, and thanks for your help!!

--
Here's my RSA Public key:
gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9

Share and enjoy!!
___
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


Problems Hooking Sudoers into PAM/LDAP (corrected post)

2010-11-10 Thread bluethundr
Hey list!! Sorry for the accidentally truncated post I sent a little
while ago...heh! That was actually the result of a fat-fingered
copy-paste...


 At any rate, I am attempting to solve a rather thorny issue and I was
hoping that someone might have some insight into what is going on
here..

At this point I have an openLDAP  server that is working quite splendidly! :)

I have a working directory with users able to authenticate it and TLS
turned on and it is ALL happening through PAM!! Well almost all of
it..

The one sticking point I am currently having is getting sudoers to
authenticate against LDAP.

The server is FreeBSD 8.1 but the clients are all CentOS 5.4.
Although, knowing this shouldn't make much difference in how this
works AFAIK. On the client I have my /etc/ldap.conf file setup like
this:


URI ldap://ldap.acadaca.net/
BASE dc=acadaca,dc=net
TLS_CACERTDIR /etc/openldap/cacerts
pam_login_attribute uid
pam_lookup_policy   yes
pam_passwordexop
nss_base_passwd ou=staff,dc=acadaca,dc=net
sudoers_debug 2


I have added the user I am testing to a couple of groups (two regular
DNs and one posixGroup)  all of which had the sudoRole objectClass in
the hopes that this might be related to the issue:


46 cn=%sa,ou=sudoers,ou=Services,dc=acadaca,dc=net
objectClass: top
objectClass: sudoRole
cn: %sa
sudoHost: ALL
sudoRunAsUser: ALL
sudoCommand: ALL
sudoOption: !authenticate
sudoUser: %sa
sudoUser: bluethundr


50 cn=role1,ou=sudoers,ou=Services,dc=acadaca,dc=net
objectClass: sudoRole
objectClass: top
cn: role1
sudoUser: bluethundr
sudoHost: ALL
sudoCommand: ALL

51 cn=sa,ou=Group,dc=acadaca,dc=net
objectClass: posixGroup
objectClass: top
cn: sa
userPassword: {crypt}*
gidNumber: 20004


However that didn't seem to do the trick. When I do attempt to sudo
from the client machine this is what I see on the command line:


[bluethu...@vircent03:~]#sudo bash
[sudo] password for bluethundr:
bluethundr is not in the sudoers file.  This incident will be reported.
[bluethu...@vircent03:~]#sudo -l
[sudo] password for bluethundr:
Sorry, user bluethundr may not run sudo on VIRCENT03.


Also I notice that the client can't seem to find it's groups stored in
LDAP even tho I would think that system auth would point sudoers
to them just as it does sshd and su.


[bluethu...@vircent03:~]#groups bluethundr
id: cannot find name for group ID 1002


I am not entirely sure that this is a separate issue, honestly but I
think it may be related.


The other pam services I am working with, su and sshd, trigger events
in the openldap logs on the server. Everything is going smoothly with
these services, apparently:

In the openldap logs on the server here is a sample of what I see:


Nov  9 14:03:56 ldap slapd[31269]: bdb_search_candidates: id=1 first=54 last=54
Nov  9 14:03:56 ldap slapd[31269]: = test_filter
Nov  9 14:03:56 ldap slapd[31269]: AND
Nov  9 14:03:56 ldap slapd[31269]: = test_filter_and
Nov  9 14:03:56 ldap slapd[31269]: = test_filter
Nov  9 14:03:56 ldap slapd[31269]: EQUALITY
Nov  9 14:03:56 ldap slapd[31269]: = access_allowed: search access to
uid=bluethundr,ou=sa,ou=staff,dc=acadaca,dc=net objectClass
requested
Nov  9 14:03:56 ldap slapd[31269]: = acl_get: [1] attr objectClass
Nov  9 14:03:56 ldap slapd[31269]: = acl_mask: access to entry
uid=bluethundr,ou=sa,ou=staff,dc=acadaca,dc=net, attr objectClass
requested
Nov  9 14:03:56 ldap slapd[31269]: = acl_mask: to value by , (=0)
Nov  9 14:03:56 ldap slapd[31269]: = acl_mask: [1] applying read(=rscxd) (stop)
Nov  9 14:03:56 ldap slapd[31269]: = acl_mask: [1] mask: read(=rscxd)
Nov  9 14:03:56 ldap slapd[31269]: = access_allowed: search access
granted by read(=rscxd)

More complete logs that I hope will provide a bit more context can be
found here:

http://ldap.acadaca.net/docs/openldap.txt


What I've done was clear the openldap logs with an echo  
 statement just before sudoing to root on the client.  Honestly, I wish
I was better at parsing these log files but unfortunately I'm not
quite there as of yet. :(

Back on the client side I see this noticeable event, amongst quite a
lot of successful pam events in the secure log:


Nov  9 15:37:39 VIRCENT03 sudo: bluethundr : user NOT in sudoers ;
TTY=pts/3 ; PWD=/home/bluethundr ; USER=root ; COMMAND=/bin/bash

A more complete version of the secure log can be found here:

http://ldap.acadaca.net/docs/securelogs.txt

And here is my (surprisingly verbose) sudo -V output:

http://ldap.acadaca.net/docs/sudov.txt


And lastly a copy of the schema that I am working with can be found here:

http://ldap.acadaca.net/docs/schema.txt


Best regards, and thanks for your help!!

--
Here's my RSA Public key:
gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9

Share and enjoy!!
___
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


How do we like our base kerberos? Will it flee soon?

2010-11-10 Thread Leon Meßner
Hi,

I'm looking for workarounds for this crappy situation which currently
prevents FreeBSD8 from working together with libgssapi (see kern/147454)
and multiple threads on -questions.

What i tried: 

- Use old RELENG_8 and RELENG_8_1 sources where Benjamin's patch still
  applied. (Can't build world then).
- Modify /usr/bin/krb5-config to include -lgssapi_spnego -lgssapi_krb5
  at the right place (works on some machines).

What i didn't try:

- Use the port.

How are you handling this situation. Does anyone know a cvs tag= and
date= combination which lets you build world with Benjamin's patch
(tried RELENG_8 and _8_1 from 24.6 and 19.7 and now)? Actually a
complete base kerberos would be much appreciated.

best regards,
Leon


pgpNaCkW0QB3v.pgp
Description: PGP signature


Re: Tips for installing windows and freeBSD both.. anyone??

2010-11-10 Thread Chip Camden
Quoth Rob Farmer on Tuesday, 09 November 2010:
 On Tue, Nov 9, 2010 at 16:09, Robert Bonomi bon...@mail.r-bonomi.com wrote:
  A GUI provids a  _fixed_ set of predefined operations that it is possible to
  perform.
 
  IF your needs are met =entirely= by the provided operations, great.  If not,
  you're dead in the water, without any way to accomplish the task.
 
 How is this different from the command line? If I have a set of data
 and want to sort it in a way that sort doesn't have an argument for,
 I'm just as dead in the water as with the GUI. In fact, with the GUI I
 am probably better off because I can see that this is not supported
 within the program, without having to use the documentation.

I don't know how anyone who has done much automation could say such a
thing.  Command lines and pipes offer an exponentially greater set of
possibilities than could ever be presented in a GUI.

I don't know about others, but I spent many years being pro-GUI.  I led
the charge for getting software companies to port their applications to
Windows and use IDEs for development.  It is only recently that I have
come to my senses.

I should have known better.  Back in the 80s when I worked on tax
preparation software, the marketing department wanted a more demoable UI.
So we put a ton of time into creating an interface that looked like the
IRS forms, instead of the one we had where the user keyed in a code that
indicated what line on what form they wanted to input, followed by the
input itself.  When we released this, the marketing department loved it,
our customers' higher-ups thought it was nice, but the actual input
operators hated it.  They were evaluated on how much data they could
enter, not on their enjoyment of the task.
 
 
  GUIs are great for the casual user, because they provide a consistent 
  'lookfeel'
  acrross the spectrum of apps available under them, and, _generally_ what you
  learn  from using one application 'generalizes' to any other app that runs 
  under
  the same GUI.
 
  OTOH, a GUI is the worst thing in the world for 'production' use.  It 
  absolutely
  _kills_ productivity for production tasks.  Automation for productivity 
  _REQUIRES_
  a complete/comprehensive command  language.
 
  With a command language, you can 'automate' a series of operations by simply
  listing the commands in a file, and feeding that file to the 
  command-processor
  input.
 
  With a GUI there is no way to describe the series of mouse 
  'motions'/'clicks'/
  'double-clicks'/'drags' and keypresses required to perform an operation.
  'screen coordinates' are meaningless when a window, or icon, or button, may 
  be
  'repositioned' at will.
 
  An _individual_ application may allow scripting via an internal command 
  language,
  but since it is internal to the app, and *not* part of the GUI, it doesn't
  'generalize' (no guarantee that similar capability is present in any other 
  app)
  *AND* is utterly worthless for 'automating' annything that involves more 
  than
  the single app.
 
 The CLI doesn't generalize either. How many ways are there to get
 input into a program?
 
 Some can open files on their own and the file is listed as an argument
 (app input)
 Some have a flag for input, which of course isn't consistent (app -in input)
 Some have multiple flags for input, but which ones work depends on the
 platform/implementation (such as GNU long flags)
 Some need it provided to stdin
 Some can process multiple types of input and are smart enough to
 figure it out on their own while others need to be told what format
 they are being given
 Some can do multiple unrelated things in one instance (file a b) while
 others can't (date +%H +%M)
 Some have historic idiosyncrasies, such as tar defaulting to a tape drive
 Some have other strangeness, like java using aaa.class as input but
 wanting you to list it without the .class extension, whilst javac
 needs the .java extension
 Some are just unusual for no obvious reason, like dd's xx=yy thing
 etc.
 
 On the other hand, 99% of GUI apps that handle files have a File 
 Open dialog that is provided via a toolkit and works the same
 everywhere.
 
 
  Years ago, I worked at a place that, among other things, produced a 
  reference
  manual of statistical data for our cusotmers.  About 800 pages of tabular 
  data,
  practically all of it updated on a staggered, monthly basis.  In the 'early'
  days (MS-DOS vintage, before 'windows'),  each table was kept in a separate
  spreadsheet, which _did_ require the redundant entry of a _small_ amount of
  the data. OTOH two (or more) differnt people could be updatdin different 
  paes
  simultaneously, regardless of whether or not they were 'related'.  And, at
  the end of the week, when it was time to send out the weeks 'updates' to the
  customers,  we had a simple little '.BAT file, each line of which; (a) 
  invoked
  the spreadsheet  (b) specified the spreadsheet file to use, and (c) invoked
  a 'start-up macro' that 

Re: Tips for installing windows and freeBSD both.. anyone??

2010-11-10 Thread Chip Camden
Quoth Michael Ross on Wednesday, 10 November 2010:
 Am 10.11.2010, 01:09 Uhr, schrieb Robert Bonomi bon...@mail.r-bonomi.com:
 
 With a GUI there is no way to describe the series of mouse  
 'motions'/'clicks'/
 'double-clicks'/'drags' and keypresses required to perform an operation.
 'screen coordinates' are meaningless when a window, or icon, or button,  
 may be
 'repositioned' at will.
 
 An _individual_ application may allow scripting via an internal command  
 language,
 but since it is internal to the app, and *not* part of the GUI, it  
 doesn't
 'generalize' (no guarantee that similar capability is present in any  
 other app)
 *AND* is utterly worthless for 'automating' annything that involves more  
 than
 the single app.
 
 For Windows OSes there is actually a rather nice tool out there,
 
   http://www.autoitscript.com/autoit3/
 
 which allows you to script the GUI cross-app.
 
 Regards,
 
 Michael
 
 
 ___
 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

Yes, there are a number of tools that allow one to script a GUI, many of
which do not require knowledge of exactly where Gui element is located.

However, for automating repeated tasks (as distinguished from running
automated tests of the GUI itself), scripting a GUI is the wrong way to
do it.  It's layering on an entirely unnecessary layer of abstraction (the
UI), and then working around it.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpEDviPYbUlX.pgp
Description: PGP signature


Re: FreeBSD-similar build-from-source Linux?

2010-11-10 Thread App Deb
2010/11/10 O. Hartmann ohart...@zedat.fu-berlin.de:
 Hello out there,

 well, my question may sound heretic, but since we use mostly Linux based
 systems in our scientific environment and FreeBSD seems to lack in severe
 support in GPGPU/CUDA capable graphics boards I need to setup a kind of
 Linux facility to ensure having the software and tools I need for my work.
 I'm looking for a Linux distribution that is similar handled like FreeBSD,
 where I'm able to rebuild the whole system from sources, not even the the
 Linux kernel, also the GNU tools and the packages. Maybe there are some
 people out here having already taken this step.
 Any suggestion is appreciated,

The NVIDIA FreeBSD driver provides the cuda libraries for linux compatibilty.

So 32-bit Linux Cuda applications should work on FreeBSD.
___
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: Tips for installing windows and freeBSD both.. anyone??

2010-11-10 Thread Bruce Cran
On Wed, 10 Nov 2010 09:57:17 -0800
Chip Camden sterl...@camdensoftware.com wrote:

 However, for automating repeated tasks (as distinguished from running
 automated tests of the GUI itself), scripting a GUI is the wrong way
 to do it.  It's layering on an entirely unnecessary layer of
 abstraction (the UI), and then working around it.

This is why at least on Windows there's often a C/COM/.NET API that
allows the same level of control that the GUI provides, so that
customers can automate tasks.

-- 
Bruce Cran
___
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: FreeBSD-similar build-from-source Linux?

2010-11-10 Thread C. Bergström

App Deb wrote:

2010/11/10 O. Hartmann ohart...@zedat.fu-berlin.de:
  

Hello out there,

well, my question may sound heretic, but since we use mostly Linux based
systems in our scientific environment and FreeBSD seems to lack in severe
support in GPGPU/CUDA capable graphics boards I need to setup a kind of
Linux facility to ensure having the software and tools I need for my work.
I'm looking for a Linux distribution that is similar handled like FreeBSD,
where I'm able to rebuild the whole system from sources, not even the the
Linux kernel, also the GNU tools and the packages. Maybe there are some
people out here having already taken this step.
Any suggestion is appreciated,



The NVIDIA FreeBSD driver provides the cuda libraries for linux compatibilty.

So 32-bit Linux Cuda applications should work on FreeBSD.
  

Have you tested this first hand?

Is there 32bit Fermi?  (Sorry, but I don't think the HPC world can 
really live off 32bit applications)


There's 2 types of code in a cuda application there's host code 
produced by the native compiler (gcc/intel/pathscale.. etc) and the 
device code.. produced by nvidia's toolchain..  I would make a pretty 
nice bet that the nvidia userland toolchain will not compile code on 
freebsd right now..  (not be negative here, but I'm intimately familiar 
with it..)  Worse case you'd be copying code built on linux over and 
also the runtime libs..  (not to mention debugger, profiler. etc)


Anyway.. as mentioned before we'll have a native working solution before 
the years end and anyone interested to help alpha/beta test is welcome 
to contact me offlist..


./C
___
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: FreeBSD-similar build-from-source Linux?

2010-11-10 Thread Pierre-Luc Drouin
I am interested to use CUDA as well for a scientific environment. What about
CUDA 64bit on FreeBSD? Is it excluded completely because of the lack of
support for Linux 64bit emulation?

Thanks!

2010/11/10 C. Bergström cbergst...@pathscale.com

 App Deb wrote:

 2010/11/10 O. Hartmann ohart...@zedat.fu-berlin.de:


 Hello out there,

 well, my question may sound heretic, but since we use mostly Linux based
 systems in our scientific environment and FreeBSD seems to lack in severe
 support in GPGPU/CUDA capable graphics boards I need to setup a kind of
 Linux facility to ensure having the software and tools I need for my
 work.
 I'm looking for a Linux distribution that is similar handled like
 FreeBSD,
 where I'm able to rebuild the whole system from sources, not even the the
 Linux kernel, also the GNU tools and the packages. Maybe there are some
 people out here having already taken this step.
 Any suggestion is appreciated,



 The NVIDIA FreeBSD driver provides the cuda libraries for linux
 compatibilty.

 So 32-bit Linux Cuda applications should work on FreeBSD.


 Have you tested this first hand?

 Is there 32bit Fermi?  (Sorry, but I don't think the HPC world can really
 live off 32bit applications)

 There's 2 types of code in a cuda application there's host code produced
 by the native compiler (gcc/intel/pathscale.. etc) and the device code..
 produced by nvidia's toolchain..  I would make a pretty nice bet that the
 nvidia userland toolchain will not compile code on freebsd right now..  (not
 be negative here, but I'm intimately familiar with it..)  Worse case you'd
 be copying code built on linux over and also the runtime libs..  (not to
 mention debugger, profiler. etc)

 Anyway.. as mentioned before we'll have a native working solution before
 the years end and anyone interested to help alpha/beta test is welcome to
 contact me offlist..

 ./C
 ___
 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: FreeBSD-similar build-from-source Linux?

2010-11-10 Thread App Deb
2010/11/10 C. Bergström cbergst...@pathscale.com:
 App Deb wrote:

 2010/11/10 O. Hartmann ohart...@zedat.fu-berlin.de:


 Hello out there,

 well, my question may sound heretic, but since we use mostly Linux based
 systems in our scientific environment and FreeBSD seems to lack in severe
 support in GPGPU/CUDA capable graphics boards I need to setup a kind of
 Linux facility to ensure having the software and tools I need for my
 work.
 I'm looking for a Linux distribution that is similar handled like
 FreeBSD,
 where I'm able to rebuild the whole system from sources, not even the the
 Linux kernel, also the GNU tools and the packages. Maybe there are some
 people out here having already taken this step.
 Any suggestion is appreciated,


 The NVIDIA FreeBSD driver provides the cuda libraries for linux
 compatibilty.

 So 32-bit Linux Cuda applications should work on FreeBSD.


 Have you tested this first hand?

 Is there 32bit Fermi?  (Sorry, but I don't think the HPC world can really
 live off 32bit applications)

 There's 2 types of code in a cuda application there's host code produced
 by the native compiler (gcc/intel/pathscale.. etc) and the device code..
 produced by nvidia's toolchain..  I would make a pretty nice bet that the
 nvidia userland toolchain will not compile code on freebsd right now..  (not
 be negative here, but I'm intimately familiar with it..)  Worse case you'd
 be copying code built on linux over and also the runtime libs..  (not to
 mention debugger, profiler. etc)

 Anyway.. as mentioned before we'll have a native working solution before the
 years end and anyone interested to help alpha/beta test is welcome to
 contact me offlist..

 ./C


No sorry I don't have any experience with cuda.

I have only tested this:
http://cuda-z.sourceforge.net/

And the linux binary seems to recognize everything under FreeBSD
(linuxulator + nvidia).

You will probably need to setup a linux toolchain to do the work. I
know this is not a good solution.
___
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


UFS Snapshots and iowait

2010-11-10 Thread Chris St Denis
I have started using mount -u -o snapshot as part of my backup process 
in order to have a week worth of local differential backups to allow 
quick and easy recovery of lost/overwritten/etc files.


The snapshot of the partition (~250G and 2.3 million inodes used. ~10GB 
of data change per day) takes around 10 minutes to complete. During the 
first 5 minutes everything seems to be find, but during the second 5 
minutes the Apache processes that are logging to this drive start 
building up in L (logging) state until they hit MaxClients.


Is this just due to the very high io bandwidth usage associated with 
making a snapshot, or does the creation of this snapshot completely 
block IO writes for around 5 minutes?


Any suggested workarounds? I already bumped up the number of Apache 
slots to 166% but it looks like I would have to increase the number much 
more to use that as a primary solution.

___
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: FreeBSD-similar build-from-source Linux?

2010-11-10 Thread O. Hartmann

On 11/10/10 19:07, App Deb wrote:

2010/11/10 O. Hartmannohart...@zedat.fu-berlin.de:

Hello out there,

well, my question may sound heretic, but since we use mostly Linux based
systems in our scientific environment and FreeBSD seems to lack in severe
support in GPGPU/CUDA capable graphics boards I need to setup a kind of
Linux facility to ensure having the software and tools I need for my work.
I'm looking for a Linux distribution that is similar handled like FreeBSD,
where I'm able to rebuild the whole system from sources, not even the the
Linux kernel, also the GNU tools and the packages. Maybe there are some
people out here having already taken this step.
Any suggestion is appreciated,


The NVIDIA FreeBSD driver provides the cuda libraries for linux compatibilty.

So 32-bit Linux Cuda applications should work on FreeBSD.


Well, 32-Bit isn't realistic in a scientific environment! There are some 
'tricks' and 'tweaks' out making CUDA working on FreeBSD with Linux 
binaries, but, simply for instance, portions of our computing system 
rely on OpenLDAP and I do have severe problems making OpenLDAP 
authorised users available to some IDL applications running on FreeBSD 
boxes within the linuxulator. This is only one small but very effective 
trap one can step into.


There are some other, very serious questions. AMD calims that they made 
the specs of their 3D chipset internals public. There is OpenCL as an 
open standard, there is the CLANG/LLVM project even for FreeBSD to 
become the new standard compiler and, not at last, there is work done on 
drivers for AMD graphics boards but there is no, not even rudimentary, 
support for GPGPU. I preferr a clean open source solution, but at the 
moment, it seems to be the best and easiest path to switch to an 
operating system that is fully supported, even 64 bit.

___
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: FreeBSD-similar build-from-source Linux?

2010-11-10 Thread C. Bergström

O. Hartmann wrote:


The NVIDIA FreeBSD driver provides the cuda libraries for linux 
compatibilty.


So 32-bit Linux Cuda applications should work on FreeBSD.


There are some other, very serious questions. AMD calims that they 
made the specs of their 3D chipset internals public.
The docs had big missing chunks which I tried to get clarification on 
and got some help and then it just one day stopped

There is OpenCL as an open standard

Try to find the validation test suite.. ($$$)

, there is the CLANG/LLVM project even for FreeBSD
Apple licenses it and doesn't publish all opencl work. (or I think may 
not even contribute to the opencl side at all anymore.. someone correct me)
to become the new standard compiler and, not at last, there is work 
done on drivers for AMD graphics boards but there is no, not even 
rudimentary, support for GPGPU. I preferr a clean open source 
solution, but at the moment, it seems to be the best and easiest path 
to switch to an operating system that is fully supported, even 64 bit.
Side question - Why care in the least bit about AMD?  Their hw sucks and 
their software is a joke..  (if you bought Evergreen I'm sorry..)


There's no such thing as a complete open source GPGPU solution as of 
today (to the best of my knowledge)


./C

___
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


VS: Problems updating IonCube

2010-11-10 Thread Hasse Hansson
 

 

Fra: Hasse Hansson [mailto:ha...@thorshammare.org] 
Sendt: den 10 november 2010 20:13
Til: 'owner-freebsd-questi...@freebsd.org'
Emne: Problems updating IonCube

 

Hello all

 

This is what's happening when I try to update devel/ioncube

-

odin# portupgrade -r ioncube

---  Upgrading 'ioncube-3.3.19' to 'ioncube-4.0.1' (devel/ioncube)

---  Building '/usr/ports/devel/ioncube'

===  Cleaning for ioncube-4.0.1

===  License check disabled, port has not defined LICENSE

===  Extracting for ioncube-4.0.1

= SHA256 Checksum mismatch for ioncube_loaders_fre_8_x86.tar.gz.

===  Refetch for 1 more times files: ioncube_loaders_fre_8_x86.tar.gz

===  License check disabled, port has not defined LICENSE

= ioncube_loaders_fre_8_x86.tar.gz doesn't seem to exist in
/usr/ports/distfiles/.

= Attempting to fetch from http://downloads2.ioncube.com/loader_downloads/.

fetch:
http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_fre_8_x86.tar
.gz: Requested Range Not Satisfiable

= Attempting to fetch from http://dl.dropbox.com/u/4211495/ioncube/4.0.1/.

fetch:
http://dl.dropbox.com/u/4211495/ioncube/4.0.1/ioncube_loaders_fre_8_x86.tar.
gz: size mismatch: expected 2883104, actual 0

= Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.

fetch:
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ioncube_loaders_fre_8_x86.
tar.gz: size mismatch: expected 2883104, actual 2737048

= Couldn't fetch it - please try to retrieve this

= port manually into /usr/ports/distfiles/ and try again.

*** Error code 1

 

Stop in /usr/ports/devel/ioncube.

*** Error code 1

 

Stop in /usr/ports/devel/ioncube.

** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20101110-27671-zakjfx-0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=ioncube-3.3.19 UPGRADE_PORT_VER=3.3.19 make

** Fix the problem and try again.

** Listing the failed packages (-:ignored / *:skipped / !:failed)

! devel/ioncube (ioncube-3.3.19)(checksum mismatch)

 

Any tips ?

 

Best Regards

Hasse Hansson

 

 

___
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


SV: Problems updating IonCube

2010-11-10 Thread Hasse Hansson


-Oprindelig meddelelse-
Fra: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] På vegne af Hasse Hansson
Sendt: den 10 november 2010 20:43
Til: freebsd-questions@freebsd.org
Emne: VS: Problems updating IonCube

 

 

Fra: Hasse Hansson [mailto:ha...@thorshammare.org] 
Sendt: den 10 november 2010 20:13
Til: 'owner-freebsd-questi...@freebsd.org'
Emne: Problems updating IonCube

 

Hello all

 

This is what's happening when I try to update devel/ioncube

-

odin# portupgrade -r ioncube

---  Upgrading 'ioncube-3.3.19' to 'ioncube-4.0.1' (devel/ioncube)

---  Building '/usr/ports/devel/ioncube'

===  Cleaning for ioncube-4.0.1

===  License check disabled, port has not defined LICENSE

===  Extracting for ioncube-4.0.1

= SHA256 Checksum mismatch for ioncube_loaders_fre_8_x86.tar.gz.

===  Refetch for 1 more times files: ioncube_loaders_fre_8_x86.tar.gz

===  License check disabled, port has not defined LICENSE

= ioncube_loaders_fre_8_x86.tar.gz doesn't seem to exist in
/usr/ports/distfiles/.

= Attempting to fetch from http://downloads2.ioncube.com/loader_downloads/.

fetch:
http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_fre_8_x86.tar
.gz: Requested Range Not Satisfiable

= Attempting to fetch from http://dl.dropbox.com/u/4211495/ioncube/4.0.1/.

fetch:
http://dl.dropbox.com/u/4211495/ioncube/4.0.1/ioncube_loaders_fre_8_x86.tar.
gz: size mismatch: expected 2883104, actual 0

= Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.

fetch:
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ioncube_loaders_fre_8_x86.
tar.gz: size mismatch: expected 2883104, actual 2737048

= Couldn't fetch it - please try to retrieve this

= port manually into /usr/ports/distfiles/ and try again.

*** Error code 1

 

Stop in /usr/ports/devel/ioncube.

*** Error code 1

 

Stop in /usr/ports/devel/ioncube.

** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20101110-27671-zakjfx-0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=ioncube-3.3.19 UPGRADE_PORT_VER=3.3.19 make

** Fix the problem and try again.

** Listing the failed packages (-:ignored / *:skipped / !:failed)

! devel/ioncube (ioncube-3.3.19)(checksum mismatch)

 

Any tips ?

 

Best Regards

Hasse Hansson

 

 
Yes, that did it, but not without protests :-)
Could this have anything to do with that I recently downgraded my php
install to 5.2.14 to also be able to run ZendOptimazer ?

odin# portupgrade -D r ioncube
---  Upgrading 'ioncube-3.3.19' to 'ioncube-4.0.1' (devel/ioncube)
---  Building '/usr/ports/devel/ioncube'
===  Cleaning for ioncube-4.0.1
===  License check disabled, port has not defined LICENSE
===  Extracting for ioncube-4.0.1
= SHA256 Checksum mismatch for ioncube_loaders_fre_8_x86.tar.gz.
===  Refetch for 1 more times files: ioncube_loaders_fre_8_x86.tar.gz
===  License check disabled, port has not defined LICENSE
= ioncube_loaders_fre_8_x86.tar.gz doesn't seem to exist in
/usr/ports/distfiles/.
= Attempting to fetch from http://downloads2.ioncube.com/loader_downloads/.
fetch:
http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_fre_8_x86.tar
.gz: Requested Range Not Satisfiable
= Attempting to fetch from http://dl.dropbox.com/u/4211495/ioncube/4.0.1/.
fetch:
http://dl.dropbox.com/u/4211495/ioncube/4.0.1/ioncube_loaders_fre_8_x86.tar.
gz: size mismatch: expected 2883104, actual 0
= Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch:
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ioncube_loaders_fre_8_x86.
tar.gz: size mismatch: expected 2883104, actual 2737048
= Couldn't fetch it - please try to retrieve this
= port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/devel/ioncube.
*** Error code 1

Stop in /usr/ports/devel/ioncube.
---  Retrying devel/ioncube
---  Deleting mismatched files
++ Deleting /usr/ports/distfiles/ioncube_loaders_fre_8_x86.tar.gz
---  Building '/usr/ports/devel/ioncube'
===  Cleaning for ioncube-4.0.1
===  License check disabled, port has not defined LICENSE
= ioncube_loaders_fre_8_x86.tar.gz doesn't seem to exist in
/usr/ports/distfiles/.
= Attempting to fetch from http://downloads2.ioncube.com/loader_downloads/.
ioncube_loaders_fre_8_x86.tar.gz  100% of 2815 kB  758 kBps
===  Extracting for ioncube-4.0.1
= SHA256 Checksum OK for ioncube_loaders_fre_8_x86.tar.gz.
===  Patching for ioncube-4.0.1
===  Configuring for ioncube-4.0.1
---  Backing up the old version
---  Uninstalling the old version
---  Deinstalling 'ioncube-3.3.19'
[Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 766 packages
found (-1 +0) (...) done]
---  Installing the new version via the port
===  Installing for ioncube-4.0.1
===   ioncube-4.0.1 depends on file: /usr/local/include/php/main/php.h -
found
===   Generating temporary packing list
===  Checking if devel/ioncube already installed
install  -o 

Re: FreeBSD-similar build-from-source Linux?

2010-11-10 Thread O. Hartmann

On 11/10/10 20:15, C. Bergström wrote:

O. Hartmann wrote:



The NVIDIA FreeBSD driver provides the cuda libraries for linux
compatibilty.

So 32-bit Linux Cuda applications should work on FreeBSD.


There are some other, very serious questions. AMD calims that they
made the specs of their 3D chipset internals public.

The docs had big missing chunks which I tried to get clarification on
and got some help and then it just one day stopped


Well, speaking of those like me, following the official statements of 
the PR units of HW venodrs like AMD and others, did not realize this. I 
never read before about this sudden stop on any list. Yes, I realize 
sometimes that things, even the great HW venodrs claim, are not that 
what they claim to be when shdding light on this. But until this second 
I believed AMD opened their specs  for the community. Well, maybe the 
trigger of opening the specs where a result of AMDs desastrous downfall 
after 2006, so today, after they got both feet on terra firma again, 
they may decide acting different ...



There is OpenCL as an open standard

Try to find the validation test suite.. ($$$)


Your point, I must confess.


, there is the CLANG/LLVM project even for FreeBSD

Apple licenses it and doesn't publish all opencl work. (or I think may
not even contribute to the opencl side at all anymore.. someone correct me)


Isn't OpenCL maintained by the Khronos Group? Apple, for instance, 
develop their own stuff on the basis of OpenCL and LLVM, but they do not 
publish back to the community, that's right. But this shouldn't be an 
excuse for the lack of support.



to become the new standard compiler and, not at last, there is work
done on drivers for AMD graphics boards but there is no, not even
rudimentary, support for GPGPU. I preferr a clean open source
solution, but at the moment, it seems to be the best and easiest path
to switch to an operating system that is fully supported, even 64 bit.

Side question - Why care in the least bit about AMD? Their hw sucks and
their software is a joke.. (if you bought Evergreen I'm sorry..)


Well, look at my first statement. Until now I believe and believed AMD 
offered more than others of their 3D specs to the open source community, 
to provide support to real open source GPU drivers. Obviously this isn't 
true anymore. But why hasn't this been made public? AMD earns a lot of 
money even from those people like me which remain in the strong 
believing that they made their contribution to the open source OS community.
But at the moment, looking at my hardware running FreeBSD, I realize 
that I have more and better running hardware based on nVidia and their 
BLOB than hardware based on AMD. But this is individual.




There's no such thing as a complete open source GPGPU solution as of
today (to the best of my knowledge)


Well, not completely open source, but there is an nVidia CUDA solution 
even for 64 Bit Linux and none for FreeBSD! And as far as I know, I can 
use it for free - assuming I run a supported Linux.


./C



Oliver

___
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: FreeBSD-similar build-from-source Linux?

2010-11-10 Thread O. Hartmann

On 11/10/10 20:15, C. Bergström wrote:

O. Hartmann wrote:



The NVIDIA FreeBSD driver provides the cuda libraries for linux
compatibilty.

So 32-bit Linux Cuda applications should work on FreeBSD.


There are some other, very serious questions. AMD calims that they
made the specs of their 3D chipset internals public.

The docs had big missing chunks which I tried to get clarification on
and got some help and then it just one day stopped

There is OpenCL as an open standard

Try to find the validation test suite.. ($$$)

, there is the CLANG/LLVM project even for FreeBSD

Apple licenses it and doesn't publish all opencl work. (or I think may
not even contribute to the opencl side at all anymore.. someone correct me)

to become the new standard compiler and, not at last, there is work
done on drivers for AMD graphics boards but there is no, not even
rudimentary, support for GPGPU. I preferr a clean open source
solution, but at the moment, it seems to be the best and easiest path
to switch to an operating system that is fully supported, even 64 bit.

Side question - Why care in the least bit about AMD? Their hw sucks and
their software is a joke.. (if you bought Evergreen I'm sorry..)


By the way - way is the hardware crap? Can you please be more specific? 
AMD claims to have a higher effective double precision throughput than 
nVidia, they also claim not having cut off most of their double 
precision capable facilities like nVidia even on their mass market 
products (but I'm not sure about that since this fact is very often 
hidden by intention). Their software doesn't really matter since I most 
FreeBSD users use the open source driver. Well, I never saw a working 64 
bit capable driver on FreeBSD, that's right.


Please do not understand this as a tricky question, I'm serious, since I 
plan to purchase new hardware for my computer at home (FreeBSD) and even 
for my lab's computer(s).


And by the way, no, I havn't bought 'Evergreen', I have much more 
disappointing HD4830 and not properly working HD4770 and HD4670 ... (not 
GPGPU capable by design).


There's no such thing as a complete open source GPGPU solution as of
today (to the best of my knowledge)

./C



___
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


GPT Question

2010-11-10 Thread Mark Caudill
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Firstly, hello list. This is my first post here and while I'm a long
time Linux user, I'm a recent FreeBSD convert so please bear with me.
Yesterday I installed an extra hard drive that used to be in a Windows 7
box. In sysinstall I ran fdisk then label to try to get the disk ready.
The problem was that even though after I hit 'w' and it didn't give any
errors, when I did a `ls /dev/ad*` it was still showing the old
partitions, even after a reboot. I tried running fdisk manually and a
few other things I found on Google but they all seemed to just be
silently failing since they never showed an error but the changes never
really went into effect. When I was first building out this box I had an
issue partitioning the disks but the behavior was different in that it
errored with messages about not being able to commit or write the
changes to disk. That issue turned out to be with some GPTs on the drive
which I was able to remove in Linux with parted. Anyway, I figured that
there was a chance that this might be a GPT issue since this drive came
form the same machine as the other. I couldn't remember what command I
had run and didn't feel like pulling the drive into another machine so I
just ran `dd if=/dev/zero of=/dev/ad12 bs=512` and let it run. That must
have done the trick because I was then able to partition the disk in
sysinstall and all is well. What I'm wondering is what really went on
here? I'm not clear at all as to why FreeBSD (or some mechanism within
this installation) isn't able to handle this. Or was this a GPT issue at
all? I'd like to find out what was going on so that I don't chase my
tail again on issues like this in the future. Thanks.
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJM22Q5AAoJEB/pNtMYu8Pl8G4P/RyHfn03BxY0tSaii2J1a5gQ
L7q7ZK9mrvpXCv/tGk+ieWwct01cgpf3SRoEbmjpnL4c//g54fChCdOylJDD7wpU
LlxB4CsNMkV9JIT46zkw6ET6ERFYVC0sG+DxJr3JRCkRcTseQjNbNaKJuESMHsu3
OoYrjKjosz5juqkqS0Ty930KCcWRX5DYLsBH0QSHg7q+9ZNnFBuNIB0os4DyZ803
rmxg0bz4YDzTHFe7sJG1/uhN1gUGT3jGUuXUEKnKIrZQaUvdJe3xfNtq/mqHKiZG
il45ljdxESt/Y9p7MyGle439YM/BtFt48+O9vcbd0Oljl+nwlFVHNPMKd91KOv/b
WPd8y1wmO2X7tTUetDqjby3GlRjvpuPrzddfbpj87DqKdvJ3hqGtGRflrMeWLklg
dAS5n3Q8x42vu/5CXlCWtNO2GQMYWTX7VPWmCzymzC60A3YM4UoY3GEF7PV/tChS
etUVcSp3JhpepOjgVyY7SA+dO3sZhLAvulqhy/KX6E1ffkCoRMPYWdu9zYXk1F/i
6tEpEDdU7QAViCSbUnp7ZZrt/QcG5XbD0yOUy1M/bvfkGo3qd+TukTCJ8s0JDZ8x
lPYF+p8pkzm9zfFeA1e90VqkkhNb/gDFzwg3grcO5hEse4OXlsXMmA5kfxjVKbFj
mUO0LYyMmd0QW49J91ts
=w5P4
-END PGP SIGNATURE-
___
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: GPT Question

2010-11-10 Thread Michael Powell
Mark Caudill wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Firstly, hello list. This is my first post here and while I'm a long
 time Linux user, I'm a recent FreeBSD convert so please bear with me.
 Yesterday I installed an extra hard drive that used to be in a Windows 7
 box. In sysinstall I ran fdisk then label to try to get the disk ready.
 The problem was that even though after I hit 'w' and it didn't give any
 errors, when I did a `ls /dev/ad*` it was still showing the old
 partitions, even after a reboot. I tried running fdisk manually and a
 few other things I found on Google but they all seemed to just be
 silently failing since they never showed an error but the changes never
 really went into effect. When I was first building out this box I had an
 issue partitioning the disks but the behavior was different in that it
 errored with messages about not being able to commit or write the
 changes to disk. That issue turned out to be with some GPTs on the drive
 which I was able to remove in Linux with parted. Anyway, I figured that
 there was a chance that this might be a GPT issue since this drive came
 form the same machine as the other. I couldn't remember what command I
 had run and didn't feel like pulling the drive into another machine so I
 just ran `dd if=/dev/zero of=/dev/ad12 bs=512` and let it run. That must
 have done the trick because I was then able to partition the disk in
 sysinstall and all is well. What I'm wondering is what really went on
 here? I'm not clear at all as to why FreeBSD (or some mechanism within
 this installation) isn't able to handle this. Or was this a GPT issue at
 all? I'd like to find out what was going on so that I don't chase my
 tail again on issues like this in the future. Thanks.

I don't know if this may, or may not, be strictly a GPT issue. I had a drive 
fail and the one I pulled out of the junk box for temporary use had FreeBSD 
6.2 on it. Somewhere between 7 and 8,1 there was some kind of change where 
the old mbr or partition table was invisible to the new system, and hence 
you couldn't write out to it because as far as the new system was concerned 
it wasn't there. I suspect that other format incompatibilities such as what 
I experienced can be caused by other forms of previous mbr/partitioning data 
as well, and your experience would fall in this category.

For me the magic incantation was to boot a LiveFS 'fixit' (the fixit shell 
in sysinstall works the same) and zero out the mbr. This first command gives 
you dangerous, mighty, and all-powerful write access:

sysctl kern.geom.debugflags=16  and next zero the mbr with this:

dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1  where (x) is your drive 
number. If my theory is correct and you have seen a similar situation, these 
two things are the quickest and easiest way to get around it.

-Mike



___
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