Re: FreeBSD 10.0-CURRENT/AMD64 (CLANG): lang/gcc46 fails to build

2011-12-06 Thread Steve Kargl
On Wed, Dec 07, 2011 at 05:56:31AM +0100, O. Hartmann wrote:
> config.status: creating ada/Makefile
> config.status: creating auto-host.h
> config.status: executing default commands
> gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build'
> gmake[1]: *** [stage1-bubble] Error 2
> gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build'
> gmake: *** [bootstrap-lean] Error 2
> *** Error code 1
> 
> Stop in /usr/ports/lang/gcc46.
> *** Error code 1
> 
> Stop in /usr/ports/lang/gcc46.
> 
> ===>>> make failed for lang/gcc46
> ===>>> Aborting update
> 

See if setting DISABLE_MAKE_JOBSi helps.

-- 
Steve
___
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: Heavy I/O blocks FreeBSD box for several seconds

2011-07-11 Thread Steve Kargl
On Mon, Jul 11, 2011 at 05:50:44PM -0400, Arnaud Lacombe wrote:
> 
> On Mon, Jul 11, 2011 at 5:38 PM, Arnaud Lacombe  wrote:
> > Hi,
> >
> > On Mon, Jul 11, 2011 at 4:40 PM, Steve Kargl
> >  wrote:
> >> On Mon, Jul 11, 2011 at 04:33:44PM -0400, Arnaud Lacombe wrote:
> >>>
> >>> For the record, I would like to see enforced public review for _every_
> >>> patch *before* it is checked in, as a strong rule. gcc system is
> >>> particularly interesting. But it is not likely to happen in FreeBSD
> >>> where FreeBSD committers are clearly more free than other at
> >>> checking-in un-publicly-reviewed stuff (especially _bad_ stuff).
> >>>
> >>> This would of course apply even to long-time committers, no matter how
> >>> it hurt their ego (which I definitively do not care about).
> >>>
> >>
> >> As a long time GCC committer, I think that you have grossly
> >> over-simplified the GCC review process and how a submitted
> >> patch is approved for committing.
> >>
> > Yes.
> >
> Just to provide information more information than these sterile mails,
> here is the gcc contribution guidelines:
> 
> http://gcc.gnu.org/contribute.html
> 

Which if one reads, one finds http://gcc.gnu.org/svnwrite.html#policies

  Localized write permission.

  This is for people who have primary responsibility for ports, front
  ends, or other specific aspects of the compiler.  These folks are
  allowed to make changes to areas they maintain and related
  documentation, web pages, and test cases without approval from anyone
  else, and approve other people's changes in those areas.  They must
  get approval for changes elsewhere in the compiler.

-- 
Steve
___
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: Heavy I/O blocks FreeBSD box for several seconds

2011-07-11 Thread Steve Kargl
On Mon, Jul 11, 2011 at 04:33:44PM -0400, Arnaud Lacombe wrote:
> 
> For the record, I would like to see enforced public review for _every_
> patch *before* it is checked in, as a strong rule. gcc system is
> particularly interesting. But it is not likely to happen in FreeBSD
> where FreeBSD committers are clearly more free than other at
> checking-in un-publicly-reviewed stuff (especially _bad_ stuff).
> 
> This would of course apply even to long-time committers, no matter how
> it hurt their ego (which I definitively do not care about).
> 

As a long time GCC committer, I think that you have grossly
over-simplified the GCC review process and how a submitted
patch is approved for committing.

-- 
Steve
___
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: Heavy I/O blocks FreeBSD box for several seconds

2011-07-06 Thread Steve Kargl
On Thu, Jul 07, 2011 at 10:39:00AM +0800, Adrian Chadd wrote:
> On 7 July 2011 09:51, Steve Kargl  wrote:
> > On Thu, Jul 07, 2011 at 09:17:51AM +0800, Adrian Chadd wrote:
> >> Offer a bounty for getting it fixed?
> >>
> >
> > steve == ENOMONEY && jeffr == ENOTIME
> >
> > And, 4BSD works.
> 
> I meant it as a more general observation.
> 
> If something doesn't work as needed, consider either diving in to fix
> it, or offering a bounty to someone to do so.
> 

Or take the path of least resistance, use 4BSD, and get my actual work.

I diagnosed the problem.

I gave a fairly easy method for reproducing the problem
(including providing a statically linked MPI program, and
a script and data files to launch it). 

I offered access to one of the nodes in my cluster (including
root access to install new kernels and to reboot the node).

Unfortunately, I have neither the brain capacity and time nor
the money to fix the issue.  To solve OP's problem in the 
short, the simplest solution may be to switch to 4BSD.  Let's
face, ULE is not a silver bullet.

-- 
Steve
___
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: Heavy I/O blocks FreeBSD box for several seconds

2011-07-06 Thread Steve Kargl
On Thu, Jul 07, 2011 at 09:17:51AM +0800, Adrian Chadd wrote:
> Offer a bounty for getting it fixed?
> 

steve == ENOMONEY && jeffr == ENOTIME

And, 4BSD works.

-- 
Steve
___
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: Heavy I/O blocks FreeBSD box for several seconds

2011-07-06 Thread Steve Kargl
On Wed, Jul 06, 2011 at 03:18:35PM -0400, Arnaud Lacombe wrote:
> Hi,
> 
> On Wed, Jul 6, 2011 at 12:28 PM, Steve Kargl
>  wrote:
> > On Wed, Jul 06, 2011 at 05:29:24PM +0200, O. Hartmann wrote:
> >>
> >> I use SCHED_ULE on all machines, since it is supposed to be performing
> >> better on multicore boxes, but there are lots of suggestions switching
> >> back to the old SCHED_4BSD scheduler.
> >>
> >
> > If you are using MPI in numerical codes, then you want
> > to use SCHED_4BSD. ?I've posted numerous times about ULE
> > and its very poor performance when using MPI.
> >
> > http://lists.freebsd.org/pipermail/freebsd-hackers/2008-October/026375.html
> >
> [sarcasm]
> It is rather funny to see that the post you point out has generated
> exactly 0 meaningful follow-up then and as you mention later in this
> thread, the issue still remains today :-)
> [/sarcasm]
> 

Apparently, you are privy to my private email exchanges
with jeffr.

I'm also not sure why you're being sarcastic here.  The
issue was and AFAIK still is a problem for anyone using
FreeBSD in a HPC cluster.  ULE simply performs worse than
4BSD.

-- 
Steve
___
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: Heavy I/O blocks FreeBSD box for several seconds

2011-07-06 Thread Steve Kargl
On Wed, Jul 06, 2011 at 05:05:41PM +, Poul-Henning Kamp wrote:
> In message <20110706170132.ga68...@troutmask.apl.washington.edu>, Steve Kargl 
> w
> rites:
> 
> >I periodically ran the same type test in the 2008 post over the
> >last three years.  Nothing has changed.  I even set up an account
> >on one node in my cluster for jeffr to use.  He was too busy to
> >investigate at that time.
> 
> Isn't this just the lemming-syncer hurling every dirty block over
> the cliff at the same time ?

I don't know the answer.  Of course, having no experience in
processing scheduling, I don't understand the question either ;-)

AFAICT, it is a cpu affinity issue.  If I launch n+1 MPI images
on a system with n cpus/cores, then 2 (and sometimes 3) images
are stuck on a cpu and those 2 (or 3) images ping-pong on that
cpu.  I recall trying to use renice(8) to force some load 
balancing, but vaguely remember that it did not help.

> To find out:  Run gstat and keep and eye on the leftmost column
> 
> The road map for fixing that has been known for years...

I'll keep this in mind, the next time I upgrade the cluster.
It's currently running a Feb 10th vintage kernel, and is
under fairly heavy use at the moment.

-- 
Steve
___
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: Heavy I/O blocks FreeBSD box for several seconds

2011-07-06 Thread Steve Kargl
On Wed, Jul 06, 2011 at 06:38:23PM +0200, Hartmann, O. wrote:
> On 07/06/11 18:28, Steve Kargl wrote:
> >On Wed, Jul 06, 2011 at 05:29:24PM +0200, O. Hartmann wrote:
> >>I use SCHED_ULE on all machines, since it is supposed to be performing
> >>better on multicore boxes, but there are lots of suggestions switching
> >>back to the old SCHED_4BSD scheduler.
> >>
> >If you are using MPI in numerical codes, then you want
> >to use SCHED_4BSD.  I've posted numerous times about ULE
> >and its very poor performance when using MPI.
> >
> >http://lists.freebsd.org/pipermail/freebsd-hackers/2008-October/026375.html
> >
> 
> Worth a try,
> but most of my code I use is OpenMP, not MPI.

It may impact OpenMP.  I don't have any OpenMP to test.  But,
if OpenMP is spawning as many or more threads than the number
of available processors/cores, then I think you will have 
problems.

> The post is of 2008, that's three years ago and 9.0 is on the brink to 
> become released ...

I periodically ran the same type test in the 2008 post over the
last three years.  Nothing has changed.  I even set up an account
on one node in my cluster for jeffr to use.  He was too busy to
investigate at that time.

-- 
Steve
___
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: Heavy I/O blocks FreeBSD box for several seconds

2011-07-06 Thread Steve Kargl
On Wed, Jul 06, 2011 at 05:29:24PM +0200, O. Hartmann wrote:
> 
> I use SCHED_ULE on all machines, since it is supposed to be performing 
> better on multicore boxes, but there are lots of suggestions switching 
> back to the old SCHED_4BSD scheduler.
> 

If you are using MPI in numerical codes, then you want
to use SCHED_4BSD.  I've posted numerous times about ULE
and its very poor performance when using MPI.

http://lists.freebsd.org/pipermail/freebsd-hackers/2008-October/026375.html

-- 
Steve
___
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: meory file system

2010-08-20 Thread Steve Kargl
On Fri, Aug 20, 2010 at 03:08:30PM -0700, gahn wrote:
> Hi, All:
> 
> I am running 8.1. under /dev, I don't see /dev/md0, so i am trying to add 
> following lines in kernel file and got error messages:
> 
> options MFS #Memory Filesystem
> 
> /usr/src/sys/i386/conf/bn39_1: unknown option "MFS"
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> any gurus here know what is happeny here?
> 

There isn't a MFS option.  Try 'man mdconfig'.

PS: Your message should have been sent for freebsd-questi...@freebsd.org.

-- 
Steve
___
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: Disabling ssh timeouts?

2009-05-13 Thread Steve Kargl
On Wed, May 13, 2009 at 04:54:33PM +0200, Jose Garcia Juanino wrote:
> El miércoles 13 de mayo a las 07:03:33 CEST, Steve Kargl escribió:
> > Is there anyway to disable sshd from timing out a connection?
> > I've tried setting  ClientAliveCountMax and ClientAliveInterval
> > and TCPKeepAlive in sshd.conf, but no combination that I've
> > tried has worked.
> > 
> >
> > Running /usr/home/sgk/gcc/gcc4x/gcc/testsuite/gfortran.dg/dg.exp ...
> > 
> > Read from remote host troutmask.apl.washington.edu: Connection reset by peer
> > Connection to troutmask.apl.washington.edu closed.
> > 
> > The only way I'v efound to complete a run of the GCC testsuite
> > is to sit at the terminal and hit enter every so often.  Also
> > note, nohup and backgrounding the job does not inhibit sshd
> > dropping the connection and losing all testsuite results.
> 
> I have fixed that problems with ServerAliveInterval option. Give it a
> try:
> 
> ssh -o "ServerAliveInterval 60" -l  
> 
> (screen is a goog idea, as other people have pointed out, but sometimes
> it is not posible to install programs on the server)
> 

Thanks for the tip about ServerAliveInterval.

Also, thanks, everyone for the tip about screen.

-- 
Steve
___
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: Disabling ssh timeouts?

2009-05-12 Thread Steve Kargl
On Wed, May 13, 2009 at 01:15:48AM -0400, Chuck Robey wrote:
> Steve Kargl wrote:
> > Is there anyway to disable sshd from timing out a connection?
> > I've tried setting  ClientAliveCountMax and ClientAliveInterval
> > and TCPKeepAlive in sshd.conf, but no combination that I've
> > tried has worked.
> > 
> 
> Just saw this answer recently, I forget where, but you set the
> TCPKeepAlive on, I think that's in /etc/ssh/sshd_config.  I liked
> that one, because in retrospect it's obvious (not so obvious when
> you need it, but it does make sense now).

Thanks, Chuck.

I thought I tried that option.  Perhaps, I set it on the
worng system.  I'll go check my config files.

-- 
Steve
___
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"


Disabling ssh timeouts?

2009-05-12 Thread Steve Kargl
Is there anyway to disable sshd from timing out a connection?
I've tried setting  ClientAliveCountMax and ClientAliveInterval
and TCPKeepAlive in sshd.conf, but no combination that I've
tried has worked.

I'm trying to running the GCC testsuite, which is not an 
interactive job.  Once it starts, it writes to stdout when
an error occurs or the testsuite moves to a new major
test category.  The last few lines of output are 

Running target unix
Using /usr/X11R6/share/dejagnu/baseboards/unix.exp as board description file 
for target.
Using /usr/X11R6/share/dejagnu/config/unix.exp as generic interface file for 
target.
Using /usr/home/sgk/gcc/gcc4x/gcc/testsuite/config/default.exp as 
tool-and-target-specific interface file.
Running /usr/home/sgk/gcc/gcc4x/gcc/testsuite/gfortran.dg/debug/debug.exp ...
Running /usr/home/sgk/gcc/gcc4x/gcc/testsuite/gfortran.dg/dg.exp ...

Read from remote host troutmask.apl.washington.edu: Connection reset by peer
Connection to troutmask.apl.washington.edu closed.

The only way I'v efound to complete a run of the GCC testsuite
is to sit at the terminal and hit enter every so often.  Also
note, nohup and backgrounding the job does not inhibit sshd
dropping the connection and losing all testsuite results.

-- 
Steve
___
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 8.0-CUR: /usr/ports/x11/linux-f8-xorg-libs won't install although emulators/linux_base-f8 is already installed

2009-04-02 Thread Steve Kargl
On Thu, Apr 02, 2009 at 01:28:20PM +, O. Hartmann wrote:
> Before filing a PR I will ask for hints for a problem I revealed when I 
> wanted installing usr/ports/x11/linux-f8-xorg-libs on a FreeBSD 
> 8.0-CURRENT/amd64 box (most recent build_world, ports tree up to date).
> I receive this error:
> 
> ===>  linux-f8-xorg-libs-7.3 the port should be used with linux_base-f8, 
> please read /usr/ports/UPDATING.

  ^^^

> *** Error code 1
> 
> Stop in /usr/ports/x11/linux-f8-xorg-libs.
> 
> 
> Package /usr/ports/emulators/linux_base-f8 is already installed, up to 
> date and Linux kernel module is also running and showing up when doing 
> kldstat adjacent with linprocfs and linsysfs.
> 
> What's wrong?
> 

See above?

-- 
Steve
___
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: Method to mirror a single partition across the net.

2008-11-05 Thread Steve Kargl
On Wed, Nov 05, 2008 at 10:01:24PM +0100, Wojciech Puchar wrote:
> >following issue.
> >
> >I would like to mirror a single partition on system A to a
> >a partition on system B.  It would appear a combination of
> >gmirror and ggated would work, but I haven't found any
> >example on setting up two systems.
> you are right.
> 
> just create device with ggatec and insert it to the mirror.

Thanks for the reply.  Perhaps, I'm missing an important detail,
but gmirror(8) seems to suggest that it operates on an entire
disk.  Note, in my original email I used the word partition
but showed a disk slice.  I really do mean a partition within
a slice.  Does the following work where I want to mirror only
192.168.0.20:/dev/ad4s1e to 192.168.0.21:/dev/ad4s1e?

On 192.168.0.21:

  # umount /dev/ad4s1e
  # echo "192.168.0.21/24 RW /dev/ad4s1e" > /etc/gg.exports
  # ggated

On 192.168.0.20:

  # ggatec create -o rw 192.168.0.21 /dev/ad4s1e
  # gmirror label  data /dev/ad4s1e
  # gmirror insert data /dev/ggate0

and /etc/fstab becomes

# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad4s1b noneswapsw  0   0
/dev/ad4s1a /   ufs rw  1   1
/dev/ad4s1d /usrufs rw  2   2
/dev/mirror/data/data   ufs rw  2   2


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


Method to mirror a single partition across the net.

2008-11-05 Thread Steve Kargl
I've the Handbook's chapter on GEOM, gmirror(1), geom(8), ggated(8),
and ggatec(8), and I've search the web for a solution to the 
following issue.

I would like to mirror a single partition on system A to a 
a partition on system B.  It would appear a combination of
gmirror and ggated would work, but I haven't found any 
example on setting up two systems.

To be specific, /etc/fstab on the 2 systems is 

# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad4s1b noneswapsw  0   0
/dev/ad4s1a /   ufs rw  1   1
/dev/ad4s1e /data   ufs rw  2   2
/dev/ad4s1d /usrufs rw  2   2

I want to mirror 192.168.0.20:/dev/ad4s1e to 192.168.0.21:/dev/ad4s1e

Anyone have a pointer to a howto or tutorial on setting this up?

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


Re: Recommended linux_base for 8.0?

2008-10-14 Thread Steve Kargl
On Wed, Oct 15, 2008 at 09:33:39AM +0400, Boris Samorodov wrote:
> Steve Kargl <[EMAIL PROTECTED]> writes:
> 
> > Which linux base port is recommended for FreeBSD-current on amd64?
> 
> Well, the answer is "just install any linux application you need from
> ports/packages and the ports infrastructure will DTRT". ;-)

matlab isn't in the ports collection.

> > linux_base-f7/
> > linux_base-f8/
> > linux_base-fc4/
> > linux_base-fc6/
> > linux_base-gentoo-stage1/
> > linux_base-gentoo-stage2/
> > linux_base-gentoo-stage3/
> >
> > I currently have fc4 installed, but have run into some pthread
> > problems.
> 
> This one is the default for now.

% matlab
>> plotTAIHR_bin_30D
system error(34): __kmp_set_stack_info: pthread_getattr_np: Numerical result 
out of range
OMP abort: fatal system error detected.

hpc:kargl[206] pkg_info | grep linux_base
linux_base-fc-4_10  Base set of packages needed in Linux mode (for i386/amd64)
hpc:kargl[208] portversion -vl '<' | grep linux_base
linux_base-fc-4_10  <  needs updating (port has 4_13) 

Guess which port is broken?

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


Recommended linux_base for 8.0?

2008-10-14 Thread Steve Kargl
Which linux base port is recommended for FreeBSD-current on amd64?

linux_base-f7/
linux_base-f8/
linux_base-fc4/
linux_base-fc6/
linux_base-gentoo-stage1/
linux_base-gentoo-stage2/
linux_base-gentoo-stage3/

I currently have fc4 installed, but have run into some pthread
problems.

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


Re: csup broken on -currnet amd64?

2007-10-31 Thread Steve Kargl
On Thu, Nov 01, 2007 at 03:06:54AM +, Aryeh Friedman wrote:
> monster# uname -a
> FreeBSD monster 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Oct 30
> 18:07:21 UTC 2007 root@:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> monster# csup -h cvsup8.us.freebsd.org /usr/share/examples/cvsup/ports-supfile
> Connected to 216.165.129.134
> Updating collection ports-all/cvs
>  Checkout ports/UPDATING
> Receiver: Connection reset by peer
> Will retry at 23:04:37
> 
> monster# csup -h cvsup9.us.freebsd.org /usr/share/examples/cvsup/ports-supfile
> Connected to 128.205.32.21
> Updating collection ports-all/cvs
>  Edit ports/UPDATING^M
> Receiver: Connection reset by peer
> Will retry at 23:05:17

Works for me. csup built from source less than 18 hours old.

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


anoncvs server dead?

2007-07-05 Thread Steve Kargl
It seems [EMAIL PROTECTED] has died.
Who do I need to contact to restart/fix the problem?

$ cvs update
cvs server: cannot read /home/ncvs/CVSROOT/config: Device not configured
cvs update: cannot read /home/ncvs/CVSROOT/cvswrappers: Device not configured
cvs update: Updating .
cvs update: cannot open directory /home/ncvs/src: Device not configured
cvs update: skipping directory 

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


Re: Xorg 7.2 update

2007-05-27 Thread Steve Kargl
On Sun, May 27, 2007 at 10:03:40AM -0700, Arthur Barlow wrote:
> All,
> 
> I just updated my 6.2 box to the new Xorg 7.2 distro.  I followed all  
> the directions in the UPDATING file.  It appears all the directories  
> have been properly built.  I also successfully ran the "mergebase.sh"  
> script from the Tools/scripts directory.  However, when I try to run  
> X, I get the following error:
> 
> (EE) Failed to load module "pcidata" (module does not exist), 0)
> Fatal server error:
> Unable to load required base modules, Exiting
> 
> I've looked around and cannot find any references to a "pcidata"  
> module.  Any insights?

mobile:kargl[201] locate pcidata
/usr/local/lib/xorg/modules/libpcidata.la
/usr/local/lib/xorg/modules/libpcidata.so

I assume that you updated /etc/X11/xorg.conf to include the
correct module path?

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


Re: Boot problem

2006-06-27 Thread Steve Kargl
On Tue, Jun 27, 2006 at 11:49:59AM -0700, Winston wrote:
> 
> Any hint?
> 

Find a live cd and boot it.  Mount partition and edit files
that you munged.

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


Re: Tuning GigE network for cluster computing?

2006-06-03 Thread Steve Kargl
On Sat, Jun 03, 2006 at 09:28:42AM -0700, Danial Thom wrote:
> 
> <[EMAIL PROTECTED]> wrote:
> 
> > First, I'm running FreeBSD 6.1-stable on a
> > small cluster
> > with 6 nodes that contain Tyan motheriboards. 
> > These broads
> > have Broadcom GigE NICs that use the bge
> > device.
> > 
> > The cluster will be using MPI to possibly shove
> > large data
> > sets through a GigE switch, so I'm trying to
> > determine how
> > best to optimize the transfer.
> > 
> > Would DEVICE_POLLING and/or jumbo frames likely
> > methods for
> > enhanced speeds?
> 
> 
> Firstly we've been discussing how bad and
> inefficient the broadcom controllers are. If you
> have a tyan MB with onboard controllers they are
> incredibly slow (ie inefficient), as well as
> being quirky. If you have a PCI-X slot put in an
> intel card. They have built-in interrupt
> moderation so you don't have dick around with
> polling. A 133Mhz intel controller (make sure
> they have the GB chips on them and not the EB)
> will use half the cpu of the on-board broadcoms.
> If you don't believe try it with one box and
> measure the cpu usage before and after. Its worth
> the $50. investment in the card, believe me.

I'll look into the Intel cards, but unfortunately
I'm probably stuck with the onboard broadcom devices
for the immediate future.  There is one expansion
slot (whether its PCI-X, I don't know).  I was 
actually planning to use the slot for infiniband,
myrinet, or the 10 GiGE cards that Drew Gallatin
has mentioned.

> While polling may marginally decrease the cpu
> load (depending on how bad FreeBSD 6.1 is on
> interrupt overhead), its also going to add
> latency to the processing of packets, which is
> the opposite of what you want to do. 

This is the conclusion that I reached in reading
i386/conf/NOTES.  Thanks for confirming my suspicions.

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


Tuning GigE network for cluster computing?

2006-06-03 Thread Steve Kargl
First, I'm running FreeBSD 6.1-stable on a small cluster
with 6 nodes that contain Tyan motheriboards.  These broads
have Broadcom GigE NICs that use the bge device.

The cluster will be using MPI to possibly shove large data
sets through a GigE switch, so I'm trying to determine how
best to optimize the transfer.

Would DEVICE_POLLING and/or jumbo frames likely methods for
enhanced speeds?

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


Re: Setting up NIS questions?

2006-05-20 Thread Steve Kargl
On Sat, May 20, 2006 at 12:33:21PM -0400, Chuck Swiger wrote:
> Steve Kargl wrote:
> >I can't even get NIS set up with ypinit.  It unconditionally
> >uses /bin/hostname, which will grab the FQDN of the system.
> >You have given me an idea.  I can change rc.conf to set hostname
> >to the name I've given 192.168.0.10, put that on bge0, put 
> >the IP address associated with the FQDN on bge1, and reboot.
> >This might permit NIS to come up.  Though this seems like a hack,
> >because when someone connects to the seem via the FQDN, 
> >/bin/hostname will give the wrong answer.
> 
> Associating the ypdomain with the FQDN from the DNS is convenient, and a 
> convention that many follow, but it is not required, by any means.  The 
> O'Reilly "Managing NIS and NFS" book is a fine reference on this sort of 
> thing, BTW, and is probably available online in PDF form if you look.

Thanks for the pointer.  I'll go looking for this book.

> Nevertheless, YP/NIS predates many of the more convoluted network 
> designs that people set up nowadays, and was intended for machines which 
> have a single identity even if they have multiple NICs-- Sun used to 
> assign the same MAC address to all NICs on one machine, to ensure that 
> people respected collision domains.

I don't see how this is convoluted.  In fact, I would be inclined
to claim that it is the defacto method for setting up an internal
computational cluster

 s  <---> node1
internet <-F-> FQDN|master <---> w  <---> node2
 t  <---> node3

where swt = switch.

> It is not normally desirable to set up a YP/NIS master server on
> a machine which is multihomed in the sense of doing NAT or needing
> a firewall to separate internal from external, and obvious a
> firewall machine running zero or the minimal necessary services is
> a lot more secure

Note that <-F-> actually has at least one firewall.  Only people in
the apl.washington.edu domain can get to FQDN.  I was hoping to 
use NIS to simplify the propagation of info (eg., passwd, hosts,
etc.) from master to the nodes.  Propagating the info by hand
isn't too bad because I only have five nodes represently.  However,
I hope to grow an additional 11 nodes.

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


Re: Setting up NIS questions?

2006-05-20 Thread Steve Kargl
On Fri, May 19, 2006 at 05:55:22PM -0500, Derek Ragona wrote:
> At 05:48 PM 5/19/2006, Steve Kargl wrote:
>>I have 2 NICS in the master node of a small cluster.
>>bge0 is connected to the outside world with a FQDN
>>and registered DNS IP address.  bge1 is connected to
>>a 192.168.0.x internal network.  I'm trying to configure
>>NIS for the internal network, but ypinit is grabbing the
>>FQDN.  I've read the Handbook and ypinit manual page
>>without too much enlightment. :(
>>
>>What I'm after is
>>
>>192.168.0.10  NIS master server
>>192.168.0.11  NIS slave server
>>192.168.0.[12-15] NIS clients
>>
>>Anyone have a pointer to a method to achieve my goals.
>>
>>
> If memory serves YP will grab the first interface.  If you switch the 
> stacks/IPs on the interfaces I think you will get what you want.
> 

I can't even get NIS set up with ypinit.  It unconditionally
uses /bin/hostname, which will grab the FQDN of the system.
You have given me an idea.  I can change rc.conf to set hostname
to the name I've given 192.168.0.10, put that on bge0, put 
the IP address associated with the FQDN on bge1, and reboot.
This might permit NIS to come up.  Though this seems like a hack,
because when someone connects to the seem via the FQDN, 
/bin/hostname will give the wrong answer.

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


Setting up NIS questions?

2006-05-19 Thread Steve Kargl
I have 2 NICS in the master node of a small cluster.
bge0 is connected to the outside world with a FQDN
and registered DNS IP address.  bge1 is connected to
a 192.168.0.x internal network.  I'm trying to configure
NIS for the internal network, but ypinit is grabbing the
FQDN.  I've read the Handbook and ypinit manual page
without too much enlightment. :(

What I'm after is

192.168.0.10  NIS master server
192.168.0.11  NIS slave server
192.168.0.[12-15] NIS clients

Anyone have a pointer to a method to achieve my goals.

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


Installation from usb cdrom?

2006-03-30 Thread Steve Kargl
I've never tried to install FreeBSD from a USB connected
cdrom.  Is this possible with FreeBSD 6.x and -current?

If not, any suggetions for the installation of FreeBSD
on the hyperblade nodes of an Appro mini-cluster?

www.appro.com

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


Re: 6.0-RELEASE/AMD64 Ram Capacity?

2006-03-10 Thread Steve Kargl
On Fri, Mar 10, 2006 at 02:43:20PM -0500, Nathan Vidican wrote:
> I seem to recall various threads relating to problems with machines running 
> at or above 4GB ram... what if any issues still exist?
> 

I've been running with 12 GB for the last 18 months.

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


Re: Broadcomm BCM4401-B0 and memory upgrade issue.

2006-01-24 Thread Steve Kargl
On Tue, Jan 24, 2006 at 03:12:17PM -0600, Mark Tinguely wrote:
> Have you tried to boot with the old contigmalloc using the sysctl
> option "vm.old_contigmalloc=1"?

Yes.  This makes an enormous difference in boot up times.
With vm.old_contigmalloc=1, fxp0 probes within a few seconds.
Without it, fxp0 takes more than 7 minutes to probe.

> Some people are seeing slow boot/configuration with new style
> vm_page_alloc_contig/contigmalloc.

yep.

> I am doing some profiling of vm_page_alloc_contig() and have found
> that larger physical memory configurations makes these problems much worse.

yep.  I have 12 GB.

> I identified 4-5 places that can be changed to decrease the number
> of page tables that is needed to be checked before an allocating a range.
> Some of the changes will only occasionally save a few page checks, but
> others changes could save several hundred or more page checks on every call.

If you come up with a patch, I'm more than willing to test it.

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


Re: Setting up a danish locale

2005-03-14 Thread Steve Kargl
On Sat, Mar 12, 2005 at 05:07:24PM +0100, Erik Norgaard wrote:
> For X I have the following in my XF86Config:
> 
> Section "InputDevice"
> Identifier  "Keyboard0"
> Driver  "keyboard"
> Option  "XkbRules" "xfree86"
> Option  "XkbModel" "pc102"
> Option  "XkbLayout" "dk"
> 

Erik, Thanks for the pointer.  The above partially solved
out problem.  My colleague would like to use the US keyboard
layout and switch to a Danish layout when he's interacting with
someone back home.  Do you know if this is possible with xmodmap?
I'm hoping that I can set up some shell aliases that do

setenv do_danish  "xmodmap danish.keys"
setenv do_english "xmodmap english.keys"

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


Re: Setting up a danish locale

2005-03-11 Thread Steve Kargl
On Fri, Mar 11, 2005 at 11:30:08AM -0600, Paul Schmehl wrote:
> --On Friday, March 11, 2005 09:21:22 AM -0800 Steve Kargl 
> <[EMAIL PROTECTED]> wrote:
> >
> >But any attempt to enter a danish character in for examples xemacs
> >fails.  From my colleagues comment a "Right-Alt / o" should yield
> >a lower case "o" with a slash through it.  His system is running
> >Xorg 6.7.0_9.  I suspect that I need to change/update his xorg.conf
> >file.  Any insight into setting up the Danish environment would be
> >appreciate.
> >
> Just guessing, but did you install /usr/ports/x11-fonts/intlfonts?  You may 
> need that for the Danish characters to work right.
> 

intlfonts is not installed.  I'll add those and update xorg.conf.
I suspect that I need to update the Keyboard section of xorg.conf
to ensure the meta-keys are mapped correctly.

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


Setting up a danish locale

2005-03-11 Thread Steve Kargl
Problem:  We have a visiting scientist from Denmark, whose laptop
  died a horrible death.  A colleagued asked if I would loan him
  a currently unused system in my office.  I've set up FreeBSD 5.3
  on the system and everything appears to work except for setting
  up a Danish locale.

Disclaimer:  I searched the Handbook, used google, and spent a
  few hours reading up of login.conf, locale support, etc.  But,
  we are stuck without the danish locale.

I have setup a ~/,login_conf in the user home directory that 
contains

dhcp-78-77:kargl[201] cat .login_conf
me:\
:charset=ISO8859-1:\
:lang=da_DK.ISO8859-1:

When we login, we see that the locale is set

dhcp-78-77:kargl[202] locale
LANG=da_DK.ISO8859-1
LC_CTYPE="da_DK.ISO8859-1"
LC_COLLATE="da_DK.ISO8859-1"
LC_TIME="da_DK.ISO8859-1"
LC_NUMERIC="da_DK.ISO8859-1"
LC_MONETARY="da_DK.ISO8859-1"
LC_MESSAGES="da_DK.ISO8859-1"
LC_ALL=

But any attempt to enter a danish character in for examples xemacs
fails.  From my colleagues comment a "Right-Alt / o" should yield
a lower case "o" with a slash through it.  His system is running
Xorg 6.7.0_9.  I suspect that I need to change/update his xorg.conf
file.  Any insight into setting up the Danish environment would be
appreciate.

-- 
Steve


- End forwarded message -

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


Re: Question re: GCC on FreeBSD for AMD64

2005-01-07 Thread Steve Kargl
On Fri, Jan 07, 2005 at 09:55:24PM -0800, Ted Mittelstaedt wrote:
> 
> > My fellow asked me if GCC on FreeBSD for AMD64 supports 64bit memory 
> > pointers. He means is it possible to allocate *very* big  (4GB and more) 
> > chunks of storage?

Yes. 

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


Using rrestore with ssh?

2004-08-03 Thread Steve Kargl
Anyone have a tip on using rrestore with ssh instead
of the rexecd and rcmd facility?  My attempts at using
rrestore result in 

dhcp-78-74:kargl[207] rrestore -x -b 64 -f troutmask:/dev/nsa0
Connection to troutmask.apl.washington.edu established.
IP_TOS:IPTOS_THROUGHPUT setsockopt: Operation not supported
TCP_NODELAY setsockopt: Operation not supported
rshd: Login incorrect.
Lost connection to remote host.
dhcp-78-74:kargl[208]

On troutmask, I have uncommented the appropriate inetd.conf
lines that should allow rmt, rdump, and rrestore to work.

-- 
Steve
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


combining shared libraries into 1 library?

2002-10-19 Thread Steve Kargl
Is it possible to combine 2 shared libraries into
a single library?  I've read the ld(1) man page,
but it isn't clear whether this is possible. 
I would like to do 

  ld -Bsharable -o libX.so libY.so libZ.so

where libY.so are libZ.so are combined into
libX.so.

-- 
Steve

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message