Re: no pv entries: increase vm.pmap.shpgperproc

2007-01-22 Thread Bill Moran
In response to peter [EMAIL PROTECTED]:
  In response to peter [EMAIL PROTECTED]:
   Hi,
   My freebsd box runs the apache httpd2.0 server, postgresql8.1server,
   Recently, I got the below info in /var/crash.
   “Dump header from device /dev/da0s1b
 Architecture: i386
 Architecture Version: 2
 Dump Length: 1073127424B (1023 MB)
 Blocksize: 512
 Dumptime: Wed Jan 17 16:39:08 2007
 Hostname: myhost.mydomain.com
 Magic: FreeBSD Kernel Dump
 Version String: FreeBSD 6.0-RELEASE #0: Tue Apr 25 15:07:33 CST 2006
   [EMAIL PROTECTED]:/usr/src/sys/i386/compile/MYKNL
 Panic String: no pv entries: increase vm.pmap.shpgperproc
 Dump Parity: 2383301964
 Bounds: 49
 Dump Status: good”
   I had searched in google, but I didn’t know how to do.
  
  You _should_ be able to raise the vm.pmap.shpgperproc sysctl to prevent
  the problem -- but there doesn't seem to be any such sysctl.  I'm not sure
  what's going on here, but it seems to me that a PR is in order.
 
 I had ever added the line kern.vm.pmap.shpgperproc=4096 to 
 /boot/loader.conf ,
 but it seems to be ineffective.

http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/108121

  Failing that, you could set the following in your kernel config:
  options PMAP_SHPGPERPROC=250
  and rebuild/reinstall your kernel. 
 
  The default value is 200, so I expect 250 will be enough of a bump to
  fix the problem.  If it's not, raise it a little higher and try again.
  I don't know of any way to tell exactly what this value should be other
  than trial and error.  I've seen warnings that raising this value too
  high can result in an unbootable kernel, so take care to understand how
  to recover from the installation of an unbootable kernel.
 
 How to know the default value?

Experiment.  You can also look at the PV line in the sysctl vm.zone, but
I'm not sure how to interpret that information.

 The website on the box has about 22000  visits every day, so i think the
 physical memory size maybe small. 

OK.

 I configured httpd.conf like this:
 
 KeepAlive Off
 
 IfModule prefork.c
 StartServers 8
 MinSpareServers  3
 MaxSpareServers  5
 ServerLimit170
 MaxClients 160
 MaxRequestsPerChild 300
 /IfModule
 .

If this is a dedicated web server, you sure are configuring it wrong.
First off, you tell it to start 8 workers, then immediately kill off
three of them to meet the MaxSpareServers.  That's pretty minor, however,
as it only happens at startup.

MaxSpareServers of 5 is pretty low for a busy webserver.  If the site
is seeing a lot of traffic, or the traffic is erratic, you're forcing
Apache to try to constantly tune itself to exactly what the load is.

If this server is dedicated to webserving, you'd do better to raise
MaxSpareServers to something like 25, so you have some spare capacity
when the load spikes instead of forcing Apache to do a lot of forking,
then kill off a lot of processes, then fork a lot of them again ...

But that discussion belongs on the Apache lists ...

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rsync issues

2007-01-22 Thread Bill Moran
In response to Peter Pluta [EMAIL PROTECTED]:
 
 Peter Pluta wrote:
  I have a win2k3 server running as my rsync server. I also have a 
  freebsd web server being the rsync client. A shell script runs every 
  night at 5am (it's below).
 
  Shell script:
 
  #!/bin/sh
  . `dirname $0`/settings.inc
  destination=**.***.***.***::backup
  if [ $TERM ]; then verbose=-v; fi
  rsync $verbose -azR --delete-after /usr/local/etc/   $destination
  rsync $verbose -azR --delete-after /usr/local/lib/sasl2/ $destination
  rsync $verbose -azR --delete-after /var/cron/$destination
  rsync $verbose -azR --delete-after /root/$destination
  rsync $verbose -azR --delete-after /etc/ $destination
  rsync $verbose -azR --delete-after --exclude httpd-*.log $wwwDir/ 
  $destination
 
  After it runs for 5 minutes it throws this:
  rsync: writefd_unbuffered failed to write 16385 bytes [sender]: Broken 
  pipe (32)
  rsync: read error: Connection reset by peer (54)
  rsync error: error in rsync protocol data stream (code 12) at 
  io.c(613) [sender=2.6.9]
 
  Dmesg on the box only shows this:
  em0: promiscuous mode enabled
  em0: promiscuous mode disabled
 
  But that is probably pretty old.
 
  What can the problem be? backups are really important to me and they 
  don't currently work as the transfer times out after the first few files.
 
  Anyone got an idea? Any feedback or suggestions would be greatly 
  appreciated.

I don't know what your problem is, but I can make some recommendations
on debugging it.

*) Are you running it verbosely when this happens?  Crank the verbosity
   up as high as it will go on both the client and the server and see if
   anything shows up.  Is the a DEBUG option available if you recompile?
*) Got any network monitoring stuff available?  Heavy packet loss?
*) Try ktracing the process while it's running.  Should narrow down
   the cause a good bit.  Or maybe attach gdb to it.
*) Try rsycing to a local directory to see if it still happens.  That
   should narrow the problem down to either network or not.
*) fsck your disks?

Hope some of this is helpful.  Generally, when I have mystery errors,
I start with ktrace.  If you're not familiar with it, ktrace can be a
bit overwhelming, but it's got lotsa useful information.  Same can be
said for gdb.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: no pv entries: increase vm.pmap.shpgperproc

2007-01-19 Thread Bill Moran
In response to peter [EMAIL PROTECTED]:
 Hi,
 My freebsd box runs the apache httpd2.0 server, postgresql8.1server,
 Recently, I got the below info in /var/crash.
 “Dump header from device /dev/da0s1b
   Architecture: i386
   Architecture Version: 2
   Dump Length: 1073127424B (1023 MB)
   Blocksize: 512
   Dumptime: Wed Jan 17 16:39:08 2007
   Hostname: myhost.mydomain.com
   Magic: FreeBSD Kernel Dump
   Version String: FreeBSD 6.0-RELEASE #0: Tue Apr 25 15:07:33 CST 2006
 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/MYKNL
   Panic String: no pv entries: increase vm.pmap.shpgperproc
   Dump Parity: 2383301964
   Bounds: 49
   Dump Status: good”
 I had searched in google, but I didn’t know how to do.

You _should_ be able to raise the vm.pmap.shpgperproc sysctl to prevent
the problem -- but there doesn't seem to be any such sysctl.  I'm not sure
what's going on here, but it seems to me that a PR is in order.

Failing that, you could set the following in your kernel config:
options PMAP_SHPGPERPROC=250
and rebuild/reinstall your kernel.  If you're not familiar with kernel
building, the docs are here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

The default value is 200, so I expect 250 will be enough of a bump to
fix the problem.  If it's not, raise it a little higher and try again.
I don't know of any way to tell exactly what this value should be other
than trial and error.  I've seen warnings that raising this value too
high can result in an unbootable kernel, so take care to understand how
to recover from the installation of an unbootable kernel.

The research I've done seems to indicate that pv exhaustion is very rare,
which is why you're having trouble finding reference to it in Google
searches.  That's the first reference I've seen to a sysctl --
usually the recommendation is to rebuild the kernel.  Google for
PMAP_SHPGPERPROC and you'll find some other (albeit few) discussions.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: no pv entries: increase vm.pmap.shpgperproc

2007-01-19 Thread Bill Moran
In response to Bill Moran [EMAIL PROTECTED]:

 In response to peter [EMAIL PROTECTED]:
  Hi,
  My freebsd box runs the apache httpd2.0 server, postgresql8.1server,
  Recently, I got the below info in /var/crash.
  “Dump header from device /dev/da0s1b
Architecture: i386
Architecture Version: 2
Dump Length: 1073127424B (1023 MB)
Blocksize: 512
Dumptime: Wed Jan 17 16:39:08 2007
Hostname: myhost.mydomain.com
Magic: FreeBSD Kernel Dump
Version String: FreeBSD 6.0-RELEASE #0: Tue Apr 25 15:07:33 CST 2006
  [EMAIL PROTECTED]:/usr/src/sys/i386/compile/MYKNL
Panic String: no pv entries: increase vm.pmap.shpgperproc
Dump Parity: 2383301964
Bounds: 49
Dump Status: good”
  I had searched in google, but I didn’t know how to do.
 
 You _should_ be able to raise the vm.pmap.shpgperproc sysctl to prevent
 the problem -- but there doesn't seem to be any such sysctl.  I'm not sure
 what's going on here, but it seems to me that a PR is in order.

http://www.freebsd.org/cgi/query-pr.cgi?pr=108121

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mail etiquette

2007-01-19 Thread Bill Moran
In response to Tore Lund [EMAIL PROTECTED]:

 Greg 'groggy' Lehey wrote:
  Top posting is only one issue.  Others of great importance are
  trimming your posts, not breaking the lines into tiny fragments, and
  not writing one-line paragraphs.  Your .sig is a good example of
  things that people should remove from replies.
 
 Hmmm.  While I can agree with the other points, I don't see much wrong
 with one-line paragraphs.  I can think of several situations where
 one-line paragraphs are perfectly okay.  You may have some special cases
 in mind.

I think there's a miscommunication here.  I'm fairly certain that Greg is
specifically referring to paragraphs that are one _long_ line ... as in
scrolling off the right side of the screen, out the window and down the
street.

If you're referring to short paragraphs, like this one, you're OK (IMHO).

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What is this mean by this term

2007-01-18 Thread Bill Moran
In response to jdow [EMAIL PROTECTED]:

 From: Bill Moran [EMAIL PROTECTED]
 
  Dak Ghatikachalam [EMAIL PROTECTED] wrote:
 
  I am confused 2 posters have told me that I am top posting ,
  
  What do we mean by top-posting
  
  http://en.wikipedia.org/wiki/Top_posting
 
 And those who are pedantic and whiney about it are pathetic twits.

What was the point to that comment?

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What is this mean by this term

2007-01-17 Thread Bill Moran
Dak Ghatikachalam [EMAIL PROTECTED] wrote:

 I am confused 2 posters have told me that I am top posting ,
 
 What do we mean by top-posting

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


Re: Balancing outgoing SMTP relay

2007-01-17 Thread Bill Moran
In response to freebsd [EMAIL PROTECTED]:
 Hi
  I have a simple question but googling does not lead to a valid/usable
 answer.
 I need to load balance OUTGOING emails. I have serveral smart hosts. I need
 my internal SMTP server to send mail using ALL of the smart hosts together,
 making some kind of load balancing (no need for wheighted one).
 Someone pointed out to use a name for the smart host, and have DNS to
 resolve that name to the IP of all the relays (multiple A records) but this
 turned out in doing failover, not load balancing.
 Anyone has a *working* idea for solving this apparently simple problem?
 Thanks

pf has the ability to do round-robin dispatching, which will sort of work
like load-balancing:
http://www.openbsd.org/faq/pf/pools.html

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: (6.2 install) Offering both install ISO's via nfs?

2007-01-17 Thread Bill-Schoolcraft
At Wed, 17 Jan 2007 it looks like Garrett Cooper composed:

 On Jan 16, 2007, at 10:43 PM, Bill-Schoolcraft wrote:
 
 Hello Family,
 
 Hmm, in doing installs with more than one install iso (disk-1 and
 disk-2) via NFS I'm not clear on the instructions where it states to
 simply copy the FreeBSD distribution files...
 
 (question)
 
 (A) Would that mean to copy the files from both install disks into one
 common directory then export the directory via NFS?
 
 Yes. That's the purpose of NFS installs. Directory heirachy (from the
 release's directory), needs to be maintained though.
 
 So the base directory would be similar to what's seen in
 ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386, where you'd have to create
 a directory name that matches the release, then download all the items to your
 subdirectory on the NFS share under the release directory that you want to
 install (i.e. 6.2-RELEASE/base, etc).
 
 Many people would just download their files from the FTP site and copy it to
 their NFS share as I described above. That's what the handbook means AFAIK.
 

Thanks Garrett,

Now, just to confirm one thing...

On my NFS server I now have an exported directory called:

/mnt/6.2-RELEASE

Inside of that directory I have the full contents (not an iso image) of
the first install disk of FreeBSD-6.2, so far so good?

Now, for the remaining data on disk-2, which has a duplicate file like
disk-1 has called:

cdrom.inf

and a duplicate directory like disk-1 called:

packages

I figured I can rsync the second CD's contents of /packages into the
main tree but what about the conflicting two files both named
cdrom.inf ?

Will the installer be intuitive enough to not prompt for second CD when
looking for files that would normally reside there?

The reason I say that is that if one chooses to install, let's say,
mtools or the linux software out of emulators on the main menu  you
put in the 2nd disk, it intuitively tells you that the packages are
not on disk-2, but disk-1.  So I'm thinking there is some residual
metadata that not only has the package name but the CD disk location
appended to in.  Similar to the disk shuffling one had to to before when
ejecting and injecting multiple CD's for previous installs on lets say
6.0 or 6.1

Thanks  again Garrett
 (B) Mount each ISO in a loopback then export the two loopbacked ISO's
 under each other in an exported parent directory?
 
 TIA
 
 Not possible with the basic FreeBSD installer disk, but maybe it's possible
 with the FreeBSIE LiveCD, or a custom CD if you build in the relevant stuff
 for a rescue shell; you'd still need to get at the iso somehow though, and
 you'd have to make sure that ramdisk (that's the Linux name, but I forgot the
 FreeBSD name right now?) support in order to mount an ISO image compiled into
 your kernel.
 
 snip
 
 -Garrett
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
Bill Schoolcraft * http://wiliweld.com
  ~
Unix is very simple, but it takes a
genius to understand the simplicity.
 (Dennis Ritchie)

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


Re: Very Poor Raid Card Performance

2007-01-16 Thread Bill Moran
In response to Steven Lowry [EMAIL PROTECTED]:
 
 I have been very impressed with my FreeBSD 6.2 install, I have nearly
 everything working but there are a few things which I need help with.
 
 The main problem is my HD performance, it is approx 6x slower than in
 windows XP, hopefully there is a solution. I have an LSI Megaraid 8x with
 four drives in a raid 5 configuration, in windows I was getting up to 60MB/s
 transfer rates but in FBSD I am getting up to 9MB/s. I followed the
 instructions in the handbook for tuning disks and I have set dma on.
 Being new to unix, I have no idea what to try or get system information
 too continue troubleshooting.
 If anyone could point me in the right direction or to appropriate
 documentation
 it would be much appreciated.

You should provide the details of how you arrived at those numbers.
Please provide details of your testing methodology.

While it's impossible to compare apples to apples when pitting Windows
against FreeBSD, you at least want to be comparing two fruits -- not
apples and buffalo steaks or something like that.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Very Poor Raid Card Performance

2007-01-16 Thread Bill Moran
In response to Steven Lowry [EMAIL PROTECTED]:
 
 On Tue, January 16, 2007 18:13, Bill Moran wrote:
  In response to Steven Lowry [EMAIL PROTECTED]:
 
  I have been very impressed with my FreeBSD 6.2 install, I have nearly
  everything working but there are a few things which I need help with.
 
  The main problem is my HD performance, it is approx 6x slower than in
  windows XP, hopefully there is a solution. I have an LSI Megaraid 8x
  with
  four drives in a raid 5 configuration, in windows I was getting up to
  60MB/s
  transfer rates but in FBSD I am getting up to 9MB/s. I followed the
  instructions in the handbook for tuning disks and I have set dma on.
  Being new to unix, I have no idea what to try or get system information
  too continue troubleshooting.
  If anyone could point me in the right direction or to appropriate
  documentation
  it would be much appreciated.
 
  You should provide the details of how you arrived at those numbers.
  Please provide details of your testing methodology.
 
  While it's impossible to compare apples to apples when pitting Windows
  against FreeBSD, you at least want to be comparing two fruits -- not
  apples and buffalo steaks or something like that.
 
 Thanks for your reply,
 
 I repeatedly copied a 700MB file from one harddrive to the Raid 5 Drive, a
 different file every time so caching won't be a large factor and consistantly
 got 8-9MB/s. Copying such large files is something I do on a daily basis.
 Hardly scientific, more of a real use scenario. Transfer was done via KDE.

And this translated in to MB/s how?  Timed with a stopwatch?

Keep in mind that by simply copying, you are testing the speed of the
OS cache, the speed of the filesystem, and the speed of the driver all
at once.  We're going to have to narrow it down to isolate the problem.
I can give you advice in FreeBSD, but I don't know how to do it in
Windows.

Additionally, if the first hard drive performs badly under FreeBSD for
some reason, that would color your results.

 Here is the dmesg output for the controller;
 
 amr0: LSILogic MegaRAID 1.53 mem
 0xfa2f-0xfa2f,0xfe80-0xfe8f irq 30 at device 14.0 on pci5
 amr0: delete logical drives supported by controller
 amr0: LSILogic LSI MegaRAID SATA300-8X PCI-X Firmware 814D, BIOS H431,
 128MB RAM
 amrd0: LSILogic MegaRAID logical drive on amr0
 amrd0: 712392MB (1458978816 sectors) RAID 5 (optimal)
 
 Not sure what is meant by the delete line.

It means the driver/hardware supports the optional delete logical
drives feature.

 Motherboard is an Iwill DK8N, Nforce3 Chipset, AMD 8131 PCI-X bridge.
 The nvidia raid is populated by two WD raptors in a raid 1, this holds FBSD,
 the LSI is for data storage.
 
 Any other information I could supply?

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CRON Script not working right.

2007-01-16 Thread Bill Campbell
On Tue, Jan 16, 2007, Don O'Neil wrote:
Anybody have any clues why a shell script run from root's CRON would act
differently then when run directly from the command line?

Most often this is because the environment in the cron job is
different, either missing variables or having variables that
aren't set to a reasonable value (e.g. TERM).

The way I usually figure something like this out is to dump the
envioronment from the cron job, then do the same thing from the
command line, then compare the two.

#!/bin/sh
# this is the cron job
env | sort  /tmp/env.cron
exit;

Now from the command line ``env | sort  /tmp/cron.cli''.

Now run something like ``diff -u /tmp/env.cron /tmp/cron.cli'' to
see what is different.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

When a place gets crowded enough to require ID's, social collapse is
not far away.  It is time to go elsewhere.  The best thing about space
travel is that it made it possible to go elsewhere.
-- Robert Heinlein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Origin of LINT?

2007-01-16 Thread Bill Campbell
On Tue, Jan 16, 2007, Dan Mahoney, System Admin wrote:
I know it's probably off-topic, but I've searched google for a bit with no 
results, and because I'm curious:

Does anyone (maybe one of the old guard) know the origin of the term 
lint for the all-inclusive feature set.  I know SpamAssassin uses it as 
well (it's the command line argument to just regression-test everything).

I think the name came from removing the lint from a suit.  It's
designed to clean up code -- initially C.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software, LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

If taxation without consent is robbery, the United States government
has never had, has not now, and is never likely to have, a single honest
dollar in its treasury. -- Lysander Spooner, Letter to Grover Cleveland 1886
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


(6.2 install) Offering both install ISO's via nfs?

2007-01-16 Thread Bill-Schoolcraft
Hello Family,

Hmm, in doing installs with more than one install iso (disk-1 and
disk-2) via NFS I'm not clear on the instructions where it states to 
simply copy the FreeBSD distribution files...

(question)

(A) Would that mean to copy the files from both install disks into one
common directory then export the directory via NFS?

(B) Mount each ISO in a loopback then export the two loopbacked ISO's
under each other in an exported parent directory?

TIA

#
2.13.6.1 Before Installing via NFS

The NFS installation is fairly straight-forward. Simply copy the FreeBSD
distribution files you want onto an NFS server and then point the NFS
media selection at it.

If this server supports only “privileged port” (as is generally the
default for Sun workstations), you will need to set the option NFS
Secure in the Options menu before installation can proceed.

If you have a poor quality Ethernet card which suffers from very slow
transfer rates, you may also wish to toggle the NFS Slow flag.

In order for NFS installation to work, the server must support subdir
mounts, for example, if your FreeBSD 6.1 distribution directory lives
on: ziggy:/usr/archive/stuff/FreeBSD, then ziggy will have to allow the
direct mounting of /usr/archive/stuff/FreeBSD, not just /usr or
/usr/archive/stuff.

In FreeBSD's /etc/exports file, this is controlled by the -alldirs
options. Other NFS servers may have different conventions. If you are
getting “permission denied” messages from the server, then it is likely
that you do not have this enabled properly.

#

It seems to be written for the time when there was only a single ISO cd.

-- 
Bill Schoolcraft * http://wiliweld.com
  ~
Unix is very simple, but it takes a
genius to understand the simplicity.
 (Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Mystery Spam Piling Up in Mqueue

2007-01-15 Thread Bill Moran
In response to Jeff Royle [EMAIL PROTECTED]:

 The example below is simply a bounce that did not go through.
 
 Note: Mailer-Daemon and MDeferred: Connection refused by macbilling.com.
 
 Your system attempted to delivery a bounce back to macbilling.com and 
 the MTA @ macbilling.com is rejecting the bounce.
 
 Most likely spam using a forged (or real) address 
 something@macbilling.com was sent to your system to 
 somefakeaddress@highperformance.net and of course your system could 
 not deliver the message so it bounced.

As another idea, if these are being generated as a result of spam sent
to non-existent addresses, you can eliminate that particular source by
reconfiguring your MTA to reject unknown addresses instead of bouncing
them.  This may be a simple configuration parameter, or it may involved
replicating the user list from one machine to another, depending on your
setup.

 Jason C. Wells wrote:
  I have a bunch of mail piling up in /var/spool/mqueue.  It appears to be 
  all spam and it appears to be generated on the localhost.  I am not 
  sending it.  I double checked my self @ abuse.net to see if I was an 
  open relay, I'm not.  I can't really say where it's coming from.  How do 
  I figure this one out?
  
  An example is shown below.
  
  What has been a fun hobby all these years is turning into a nightmare.  
  Spam is making me batty.
  
  Thanks,
  Jason C. Wells
  
  
  V8
  T1168684668
  K1168832991
  N87
  P7790448
  I0/81/22039
  MDeferred: Connection refused by macbilling.com.
  Frs
  $_localhost
  $r
  $slocalhost
  ${daemon_flags}
  ${if_addr}192.168.1.204
  SMAILER-DAEMON
  MDeferred: Connection refused by macbilling.com.
  rRFC822; [EMAIL PROTECTED]
  RPF:[EMAIL PROTECTED]
  H?P?Return-Path: 81g
  H??Received: from localhost (localhost)
 by mx1.highperformance.net (8.13.8/8.13.8) id l0DAbm7q007014;
 Sat, 13 Jan 2007 02:37:48 -0800 (PST)
 (envelope-from MAILER-DAEMON)
  H?D?Date: Sat, 13 Jan 2007 02:37:48 -0800 (PST)
  H??Received: from localhost (localhost)
 by mx1.highperformance.net (8.13.8/8.13.8) id l0DAbm7q007014;
 Sat, 13 Jan 2007 02:37:48 -0800 (PST)
 (envelope-from MAILER-DAEMON)
  H?D?Date: Sat, 13 Jan 2007 02:37:48 -0800 (PST)
  H?F?From: Mail Delivery Subsystem MAILER-DAEMON
  H?x?Full-Name: Mail Delivery Subsystem
  H?M?Message-Id: [EMAIL PROTECTED]
  H??To: [EMAIL PROTECTED]
  H??MIME-Version: 1.0
  H??Content-Type: multipart/report; report-type=delivery-status;
 boundary=l0DAbm7q007014.1168684668/mx1.highperformance.net
  H??Subject: Returned mail: see transcript for details
  H??Auto-Submitted: auto-generated (failure)
  .
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 
 
 
 


-- 
Bill Moran
Collaborative Fusion Inc.

[EMAIL PROTECTED]
Phone: 412-422-3463x4023


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

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


Re: advice on compiling a new kernel upgrading to the latest sources

2007-01-14 Thread Bill Moran
Giorgos Keramidas [EMAIL PROTECTED] wrote:

[copious snippage]

  2. Cd /usr/src/sys/amd64/conf which contains the file MYKERNEL
 
 No it doesn't.  CVSup will delete the files it doesn't know about, so
 you should *SAVE a copy* of your favorite kernel config file outside of
 the source tree and *copy* it into `/usr/src/sys/amd64/conf' after CVSup
 finishes updates the sources.

Really?  What have I been doing wrong?  I've been keeping custom kernel
configs for years and cvsup has never deleted any of them.

  4.Copy everything under /etc to /root/etc
 
 Why?  This isn't mentioned in `/usr/src/UPDATING' and it doesn't really
 help much if you manage to trash your /lib and /usr/lib trees.  A better
 suggestion is to ``make sure you have good level 0 dumps'', as suggested
 by ``/usr/src/UPDATING''.

While not mentioned in /usr/src/UPDATING, this is good practice in my
opinion.  mergemaster can be a tedious task, and making a local backup
of /etc has allowed me to undo some careless keystrokes a number of times.
I don't disagree with the dump advice, but an additional copy of /etc
around doesn't hurt anything and occasionally makes fixing a mistake
much faster an easier.

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


Re: [OT] advice on wikis and bulletin boards

2007-01-13 Thread Bill Moran
Andrew Gould [EMAIL PROTECTED] wrote:

 Strategic planning will be starting soon at my new place of employment,
 and I'd like to setup a place on our intranet to facilitate discussions
 and planning prior to meetings to reduce meeting times and make
 meetings more productive.  This would be a new activity for this
 organization, so we'll start with just our own office.  User permissions
 will be needed for security.
 
 I've used bulletin boards before (phpbb); but they don't seem to be
 well designed for group editing of documents.  I've noticed that wiki's
 have become very popular; but I'm not sure how well they facilitate
 discussions.
 
 Does anyone have any advice or suggestions?

Please wrap your lines around 72 chars or so.

Wikis are good for group-developed documentation and similar.  We used
one extensively when we used a committee to rewrite the local LUG's
bylaws and it was very helpful.

I don't think Wikis are good for group discussion, however.  For that I
would fall back on a mailing list.  Use something like Mailman that has
archiving capability.  For that same committee work, we also had a
dedicated mailing list -- the two went hand in hand, and I don't think
the wiki would have been nearly as useful without the mailing list.

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


Re: Please Help! How to STOP them...

2007-01-12 Thread Bill Moran
In response to VeeJay [EMAIL PROTECTED]:

 I am reading many hundred lines similar to below mentioned?
 
 Could you please advise me what to do and how can I make my box more secure?
 
 Jan  9 17:54:42 localhost sshd[5130]: reverse mapping checking getaddrinfo
 for bbs-83-179.189.218.on-nets.com [218.189.179.83] failed - POSSIBLE
 BREAK-IN ATTEMPT!
 Jan  9 17:54:42 localhost sshd[5130]: Invalid user sysadmin from
 218.189.179.83

Somebody is trying to break in to your system:

In order to stop the messages, disconnect the system from the Internet,
the attacker will then be unable to reach it.

There are, however, less drastic workarounds.  An exercise with google will
turn up a number of programs that will reduce the problem to a manageable
level.  This topic comes up about once a week on this list alone.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: is THIS why the 6.2 release seems stalled ?

2007-01-11 Thread Bill-Schoolcraft
At Thu, 11 Jan 2007 it looks like Nikolas Britton composed:

 On 1/10/07, Jeff Mohler [EMAIL PROTECTED] wrote:
  I dunno..Linux got _somewhere_ before big money came into it.
 
  Like I said..when Fbsd 2.5 was light _years_ ahead of Linux..sometime
  after that, focus was lost.
 
 
 USL v. BSDi happened.

I'm not that informed historically and was glad to get this little
tidbit a while ago when tracking down the history of Unix/Linux...

http://wiliweld.com/history.jpg

-- 
Bill Schoolcraft * http://wiliweld.com
  ~
When a fly lands on the ceiling, does
  it do a half roll or a half loop?


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


Re: Dell PE 1950 - Only seeing 3.2 gigs of ram

2007-01-11 Thread Bill Moran
In response to Jeff MacDonald [EMAIL PROTECTED]:
  Jeff MacDonald wrote:
   Hi,
  
   I put a fresh install of 6.1-RELEASE on a dell poweredge 1950 server.
   It's configured with 4 gigs of ram.
  
   However when I boot i get the following right before DMESG
  
   786432k above 4GB ignored
  
   Which is strange, but then dmesg shows this
  
   real memory  = 3489300480 (3327 MB)
   avail memory = 3414659072 (3256 MB)
  
   Soo I'm at a bit of a loss.
 
  You're using the 32-bit version, right? The design of x86 architecture
  (i.e. it's not FreeBSD's problem) is such that a part of memory
  addresses needs to be set aside for hardware uses, such as the PCI bus,
  AGP memory  others. This manifests as holes in memory that are not
  accessible to OS.
 
  There are two possible solutions: you may try compiling a 32-bit kernel
  with PAE (but not all drivers support PAE), or install the 64-bit
  version of FreeBSD.
 
 Well I hate when people say this, but I'm going to say it.. :)
 
 When I did a default install of ubuntu, it saw all 4 gigs without a
 hitch. So does that mean it already includes PAE, or something else ?

One of those two.  You sure you didn't install a 64-bit version of Ubuntu?

 Aside, I will read up on PAE.  I'll read up about 64 bit as well, I've
 been hesitant to make the jump only cause any word of mouth i've heard
 said  that it's not ready for production. Maybe that's off base, it's
 only what i've heard

We're deploying a lot of 64 bit stuff around here.  Our experience has
been that the OS is as solid on amd64 as it is on i386.  Server applications
are the same.  There are, however, a lot of desktop applications that are
still flaky on 64-bit -- mostly non-mainstream ones.  We got in a crunch
and had to reinstall a workstation back to i386 because of it, or I would
have filed some bug reports.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dell PE 1950 - Only seeing 3.2 gigs of ram

2007-01-11 Thread Bill Moran
Josh Paetzel [EMAIL PROTECTED] wrote:

 On Wednesday 10 January 2007 19:46, Jay Chandler wrote:
 
  On a related note for this hardware platform, has anyone gotten
  past the randomly decides not to reboot when told to issue? 
  Requires a hard shutdown by hand, as the console becomes completely
  non-responsive.
 
 I've heard of this problem, some people have it all the time and 
 others don't have it at all on the PE 1950.  I suspect it has 
 something to do with the way Dell will occassionally change hardware 
 mid-run and not tell anyone. :)

It's a bizarre timing problem involving the shutdown of drivers.  We
were trying to track it down, but any time we changed anything in the
code, the problem disappeared (i.e. just adding a printf()).  Our
conclusion was that it was an extremely sensitive timing issue.

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


Re: How can we check that if a system is affected by a Bad User?

2007-01-10 Thread Bill Moran
In response to VeeJay [EMAIL PROTECTED]:

 Hello Friends
 
 How can we check that if a system is affected by a Bad User?

http://www.la-samhna.de/samhain/index.html

It's in ports in various incarnations.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Nmap Scan from FreeBSD OS - Coding Question

2007-01-09 Thread Bill Moran
In response to linux quest [EMAIL PROTECTED]:

 I am currently doing a simple penetration testing for my company in a LAN
 environment. Yes, I have already downloaded NMap by using the 'make install'
 command... and it did fetched the required files from insecure.org
 successfully.
 
 My question will be, how can I create a Network Program in .c that will
 invoke the nmap capabilities to scan the network or computers? Example,
 lets say, I want an automated nmap scan to run on FreeBSD to scan
 192.168.1.10 and 192.168.1.11 , every morning at 10am - may I know how
 do I achieve that? I hope someone can show me a simple coding to invoke
 nmap scan, thanks :)

[Please wrap your lines around 72 chars or so]

It seems to me that C would be overkill for such a task.  You could easily
use cron + a shell/perl/python/etc script to get the task done.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: stopping my server from spamming

2007-01-08 Thread Bill Moran
In response to David Banning [EMAIL PROTECTED]:

  This is more of a question geared towards your mail server application than 
  FreeBSD. You should check your mail logs. If you want better advise, you 
  may want to provide more information on what mail server are you running, 
  and what did you do to prevent SMTP relay.
 
 I am using sendmail. It will not allow open relaying. What I would
 like to know is
 how I can separate legitimate emails in the log from spam. All that
 appears is the from:
 email and the to:email.

Look at one of the spam emails and review the headers to see how it's
getting delivered.

 In the past I have seen separate SMTP servers installed by viruses on
 windows boxes
 which are spamming away -independent- of sendmail. I have blocked port
 25 from all
 my connected windows boxes, but will that take care of it?

Who knows.  You first have to determine how the problem is occurring.  The
block you've implemented is a good idea -- I think everyone should do it
as a matter of course, but there's no guarantee that it will fix your
particular problem until you know what that problem is.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeRadius 1.1.3 segmentation problem in Freebsd

2007-01-07 Thread Bill Moran
Tek Bahadur Limbu [EMAIL PROTECTED] wrote:
 
 Dear All,
 
 Just today, I have installed FreeRadius 1.1.3 from FreeBSD 6.0 (i386)
 ports. I am posting this question in FreeBSD mailing list. I am finding
 it hard to run FreeRadius on my FreeBSD 6.0 machine.
 
 Could the following segmentation fault be a FreeBSD issue?
 
 
 I am following this material from:
 http://www.onlamp.com/pub/a/onlamp/excerpt/radius_5/index1.html

Try installing from the port instead.

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


Re: change port dependent...

2007-01-07 Thread Bill Moran
Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

 hi,
   how can i change port dependent again ? i first make a change by doing
 pkgdb -F and switched to another dependent, but now i want to change it
 back, but since it's already been corrected, pkgdb -F didn't ask any
 question, thanks!!

I recommend using portupgrade with the -o option.  See the man page for
details.

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


Re: /dev/null in a chroot

2007-01-07 Thread Bill Moran
Michael Grant [EMAIL PROTECTED] wrote:

 I chrooted apache to /www.
 
 In order to run a java program from a web page, java needs a /dev/null
 inside the chroot.
 
 I don't want to create another whole /dev/ dir with all the disk raw
 devices there to be read for anyone who cracks root.  I just want a
 /www/dev/null file.
 
 I tried creating a node with mknod exactly like the node in /dev but
 it doesn't work in freebsd 6.  /dev/ is special now and you can't just
 create nodes anywhere like the old days.
 
 Is there a way to create a /www/dev/null which acts just like /dev/null?

devfs does this now.  You can mount a second devfs under /www/dev/, or
anywhere else for that matter.

Controlling which device nodes show up is done by devfs rulsets.  See
the man page for devfs for details.

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


Re: Stuck on win32-codecs compilation.

2007-01-04 Thread Bill Moran
Juha Saarinen [EMAIL PROTECTED] wrote:

 On 1/4/07, Dak Ghatikachalam [EMAIL PROTECTED] wrote:
  Dear Freebsd
 
  I was trying to make  mplayer and  it spat me on error,  win32 -codecs,
  and went on trying the clean up the win32-codecs and try to make the codecs,
  it still errored out
 
  Has anyone faced the same issue,  Please share your thoughts.
 
  I am scratching my head, what I should doing about this.
 
 Waiting until the remote code execution security hole is plugged would
 seem to be a sensible thing:
 
 The Apple Security Team reports that there are multiple
 vulnerabilities within QuickTime (one of the plugins for
 win32-codecs). A remote attacker capable of creating a malicious SGI
 image, FlashPix, FLC movie, or a QuickTime movie can possibly lead to
 execution of arbitrary code or cause a Denial of Service (application
 crash).
 
 Users who have QuickTime (/win32-codecs) as a browser plugin may be
 vulnerable to remote code execution by visiting a website containing a
 malicious SGI image, FlashPix, FLC movie or a QuickTime movie.

You can get mplayer installed safely by deselecting the quicktime codec
during the installation process.  To change it now, do the following:
cd /usr/ports/multimedia/win32-codecs  make config
Then deselect quicktime from the menu and save your change.  Then go
back to building mplayer and it should succeed.

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


Re: Help Please !

2007-01-04 Thread Bill Moran
In response to Mohamad Babaei [EMAIL PROTECTED]:

 Thank you!
 what type of data do you need ?

It's generally considered bad form to email someone privately regarding a
questions posted to a mailing list.  I've added the list back in to the CC.

As far as information -- how about whatever it is that made you determine
that suidperl was the problem in the first place ... what gave you that
idea?

Barring that, the output of ps -axu | grep perl would be helpful.

 On 1/3/07, Bill Moran [EMAIL PROTECTED] wrote:
 
  In response to Mohamad Babaei [EMAIL PROTECTED]:
  
   why suidperl  rises my CPU usage to 100% ???
   please help !
 
  It's probably a result of the script that suidperl is running.  Without
  knowing what that is, however, we can't help much.
 
  --
  Bill Moran
  Collaborative Fusion Inc.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie Lynx and Mozilla Firefox Questions

2007-01-04 Thread Bill Campbell
On Thu, Jan 04, 2007, linux quest wrote:

I have been searching for tutorials for browsing the Internet using Lynx,
but can’t seem to find one anywhere. There aren’t any tutorial either in
those Unix books that I bought. What command do I need to type to download
Lynx and what command I need to type to run Lynx on FreeBSD?

You might also want to look at ``links'', a character browser
that does frames which may be more useful than lynx.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

Government is the great fiction, through which everbody endeavors to
live at the expense of everybody else.  -- Frederic Bastiat
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help Please !

2007-01-03 Thread Bill Moran
In response to Mohamad Babaei [EMAIL PROTECTED]:
 
 why suidperl  rises my CPU usage to 100% ???
 please help !

It's probably a result of the script that suidperl is running.  Without
knowing what that is, however, we can't help much.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Installer vs RedHat Linux Fedora Core Installer?

2007-01-03 Thread Bill Moran
In response to Peter aka SweetPete [EMAIL PROTECTED]:

 Hello, I used to be on this mailing list several years ago, and have
 recently rejoined.
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-sysinstall.html
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install/main1.png
 
vs.
 
 http://fedora.redhat.com/docs/install-guide/fc6/en/ch-beginninginstallation.html#sn-booting-from-disc
 http://fedora.redhat.com/docs/install-guide/fc6/en/figs/bootprompt.png
 
 Could I begin a thread (now) about a comparison (and relatively
 inferiorness) of the following two installers please??  I WOULD run
 FreeBSD at home instead of Fedora if the installer were more .erm,
 Microsoftly.
 
 Do you among the developer circle hear this kind of thing from time to time?

This seems to come up over and over again.  About every other month.

The developers are aware of it.  The general consensus is that yes, our
installer could be nicer/prettier/easier/etc

However, until someone either takes the time to write a better one, or
foots some cash to get a better one written, or blackmails a developer
in to doing it or something else, we still have what we have.

I think the biggest problem is that the installer is good enough -- so
nobody is particularly interested in rewriting it until it's not good
enough any more -- even though it could be better.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: stupid sh scripting question

2007-01-03 Thread Bill Moran
In response to Robert Huff [EMAIL PROTECTED]:

 
   This is probably staring me in the face:
 
 if [ ! -d foo] 
   then mkdir foo
 fi
 
   gives me:
 
 [: missing ]
 
   Looking at rc.subr I see:
 
 if [ ! -d $linkdir ]; then
warn $_me: the directory $linkdir does not exist.
return 1
 fi

The ; after the ] ?

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Clutz-Proof Logging

2007-01-02 Thread Bill Moran
Stan Halprin [EMAIL PROTECTED] wrote:

 747478Hi;
 I know I'm a clutz but I'm sick and tired of doing some stupid thing
 that crashes my server, then trying to figure out what I did. Is there
 something out there that could log everything I did so that I could
 review it each time I shoot myself in the foot?

Many shells keep a history as a matter of normal operation.  You might
find that enough for you.  Personally, I use bash, and the command
history brings the last 100 commands or so.

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


Re: What is involved in switching from i386 to AMD64?

2006-12-31 Thread Bill Moran
Oliver Iberien [EMAIL PROTECTED] wrote:

 On Sunday 31 December 2006 11:05, Erik Trulsson wrote:
  On Sun, Dec 31, 2006 at 10:40:37AM -0800, Oliver Iberien wrote:
   Hi,
  
   What actually needs to be done when switching machine architectures? I am
   facing a motherboard/CPU upgrade following the demise of an Athlon+
   setup. (I am running my FreeBSD drive in a P3 while trying to figure this
   out.)
  
   Replacing it with an oldish P4 would be easiest but they are rapidly
   becoming extinct. After much Googling I can't quite figure out what
   happens if I were to put the FreeBSD i386 HD into a 64-bit system.
   Nothing? Disaster? Do I totally have the wrong end of the stick? I'd be
   grateful for any advice.
 
  Since the AMD64 architecture is completely backwards-compatible with the
  older i386 architecture, the i386 version of FreeBSD should work just fine
  in the new system.
 
 Thanks very much for this. I have the impression from scanning the 
 freebsd-amd64 archives that it is difficult to convert an existing system 
 from i386 to AMD64, and probably not worth it. Do people have any opinions on 
 this?

Depends on your need.  I've never upgraded from i386 to amd64, so I can't
say what the process is like.

If you're running a desktop system, I recommend against running amd64.  A
lot of desktop code burns down, falls over, then sinks into the swamp when
run on amd64.

If you're running a server, not much problem.  Most serious server programs
have been running on 64-bit systems since before amd64 existed.

One workaround is that you can run i386 programs on an amd64 kernel, if you
compile with a special kernel option.  I have no actual experience with this
to comment on how well it works.

Except for some very specific workloads, CPUs tend to perform roughly
equally when run in i386 mode vs. amd64 mode.

The only majorly compelling argument for amd64 at this time is that it
makes life much easier if you have more than 3.5G of RAM in your system.
In i386 mode, you either need to compile your kernel with PAE (which is
an ugly, poorly supported hack in my opinion) or give up the RAM over
3.5G.

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


Re: Sharing ports tree, possible?

2006-12-29 Thread Bill Moran
In response to Simon Gao [EMAIL PROTECTED]:

 Is it possible to share ports tree directory? If so, what's the procedure?

Yes.  You generally want to set WRKDIRPREFIX to something like /var/ports
or /usr/obj to ward off conflicts.  Otherwise, just put it on an NFS server
an NFS mount it.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sharing ports tree, possible?

2006-12-29 Thread Bill Moran
Chris Whitehouse [EMAIL PROTECTED] wrote:

 Bill Moran wrote:
  In response to Simon Gao [EMAIL PROTECTED]:
  
  Is it possible to share ports tree directory? If so, what's the procedure?
  
  Yes.  You generally want to set WRKDIRPREFIX to something like /var/ports
  or /usr/obj to ward off conflicts.  Otherwise, just put it on an NFS server
  an NFS mount it.
  
   using mount_nfs -L ?

I'm not 100% sure if -L is required, since there shouldn't be any locking
when you use WRKDIRPREFIX.

If you see locking problems, add it.  Actually, you can mount /usr/ports
ro if you set WRKDIRPREFIX.  Unless you want to fetch distfiles on the
client machines, but you can work around that as well with a different
environment variable (name escapes me at the moment).

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


Re: No driver for NIC...

2006-12-28 Thread Bill Moran
In response to Garrett Cooper [EMAIL PROTECTED]:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 B. Hansmann wrote:
  Hi,
  
  I just got a new mainboard (MSI K9N Platinum) with nvidia nforce
  570/MCP55
  chipset. It has a dualLAN 1Gbit ethernet adapter which I think is
  integrated into the southbridge chipset (nforce 570/MCP55).
  The mainboard manual says it's controlled by Vitesse VSC8601.
  
  I am new to FreeBSD and I did not manage to get it
  to work (6.2-rc2 amd64).
  
  I compiled a new kernel with this nve driver (for nvidia mcp onboard
  ethernet adapters) but it did not work. I tried to load all the if_*
  modules but none worked.
  
  Before I tried this I installed NetBSD3.1 and there it worked perfectly
  after the first boot (said it was an mcp55 lan adapter).
  
  How do I get this ethernet thing to work or is this chipset not
  supported? (mcp55 sound works as stated in the hardware list on freebsd).
  
  Help would be appreciated! Thanks...
 
 Got miibus?
 
 - From nve(4):
 
  To compile this driver into the kernel, place the following lines
  in your kernel configuration file:
 
device miibus
device nve

If he'd left miibus out his kernel would never have compiled.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: system failed, save tasks

2006-12-26 Thread Bill Moran
In response to T.F. Cheng [EMAIL PROTECTED]:

 hi,
   i just got a weird computer voice, saying system
 failed, save tasks.

By voice, do you mean it actually came out of the speakers?  If so, it's
almost definitely your window manager (GNOME or KDE or whatever) and you
should at least provide information on what WM you're using, but you
might do even better to ask the question on a list dedicated to that WM.

If that's not the case, then I don't know, I've never seen that particular
message before.

 the system is running 
 FreeBSD  6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #6: Sat
 Dec  9 10:03:38 EST 2006
 root@:/usr/src/sys/i386/compile/TFCHENG  i386
 i wondered what happened, i only have ssh running, and
 there are some attempt of break-in as logged in the
 auth.log,

The failed attempts are fairly routine attacks and not much to worry
about.  The successful attempts are the ones that should make you panic.

 In the /var/log/message, before i rebooted
 the system, the only messages were (on 12/25) :
 Dec 25 20:59:40  kernel: sk0: link state changed to
 DOWN
 Dec 25 20:59:42  kernel: sk0: link state changed to UP
 Dec 25 20:59:56  kernel: sk0: link state changed to
 DOWN
 Dec 25 21:00:00  kernel: sk0: link state changed to UP
 Dec 25 21:00:12  kernel: sk0: link state changed to
 DOWN
 Dec 25 21:00:14  kernel: sk0: link state changed to UP
 Dec 25 21:19:45  kernel: sk0: link state changed to
 DOWN
 Dec 25 21:19:50  kernel: sk0: link state changed to UP
 Dec 25 21:19:50  kernel: NVRM: Xid (0001:00): 4,
 Channel 0001
 Dec 25 21:19:50  kernel: ad6: TIMEOUT - WRITE_DMA
 retrying (1 retry left) LBA=8598287
 Dec 25 21:19:53  kernel: NVRM: Xid (0001:00): 8,
 Channel 
 Dec 25 21:19:53  kernel: NVRM: Xid (0001:00): 4,
 Channel 0001
 
 what might have happened? where should I look??
 
 thanks!!

Looks like you have some cheap hardware.  I've never seen an sk network
card that wasn't junk, and I seem to remember that they frequently
reset themselves.  The ad6 error could indicate that your HDD is near
failure, or it could just be that your system got overloaded with work
at one point and the HDD was having trouble keeping up, as it seems to
have recovered.  I don't know what the NVRM messages are, but they have
the look of a sound card.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with UBUNTU mounting NFS share from FreeBSD

2006-12-24 Thread Bill Moran
stan [EMAIL PROTECTED] wrote:

 I've got a 4.11-STABLE FreeBSD machine that I'd like to provide NFS
 services to some UBUNTU 6.10 machines. I've put the following in
 /etc/exports:
 
 /usr /usr/local/www/data/pictures  -alldirs-maproot=0  all
 
 When I try to mount this, I get:
 
 [EMAIL PROTECTED]:~# mount black:/usr /tmp/mnt
 mount: black:/usr failed, reason given by server: Permission denied
 
 And I see the following in dmesg on the FreeBSD machine:
 
 NFS request from unprivileged port (205.159.77.59:36731)
 nfsd send error 32
 
 I thought that I rembered having to add an option to omethng (monthd ?) to
 allow it to prvide services on on privleged port, but the mountd man page
 does not seem to have such an option.
 
 How can I amke this work?

From the man page for mountd:

-n  Allow non-root mount requests to be served.  This should only be
specified if there are clients such as PC's, that require it.  It
will automatically clear the vfs.nfsrv.nfs_privport sysctl flag,
which controls if the kernel will accept NFS requests from
reserved ports only.

Alternatively, you can adjust the Ubuntu clients so they're trying to mount
the drives as root from the assigned port.

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


Re: uncalled for reboot

2006-12-23 Thread Bill Moran
Z. Wade Hampton [EMAIL PROTECTED] wrote:

 Greetings to all,
 I am attempting to run cvsup-without-gui on a Dell Inspiron 1501, with 
 amd64x2 
 processor and 2GbRAM.
 I am using the ports-supfile modified to suit location and RELENG_6_1.
 
 The process begins, and starts deleting the old stuff...no problem.
 Then, about 10 minutes into it, the system reboots all by itself - no 
 apparent 
 reason.

You need to gather and provide considerably more information, unless
there's someone on list who is psychic.  FreeBSD version, hardware
data, etc ...

However, spontaneous reboots are almost always hardware problems.  Have
you verified that your RAM, hard drive, cooling, power, and all other
hardware factors are in proper operation?  That would be the first
logical step in diagnosing this.

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


Re: Is there UNIX analog of ftp command pls?

2006-12-21 Thread Bill Campbell
On Tue, Dec 19, 2006, [EMAIL PROTECTED] wrote:
Is there UNIX analog of ftp command pls, i. e. ls | less ?

There's a Windows analog of the UNIX ftp command (pretty much
everything from DOS 2.0 on was taken from UNIX starting with the
hierarchical file system).

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``The only freedom which deserves the name, is that of pursuing our own good
in our own way, so long as we do not attempt to deprive others of theirs,
or impede their efforts to obtain it.'' -- John Stuart Mill, 1859
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What is .mail_aliases?

2006-12-21 Thread Bill Campbell
On Thu, Dec 21, 2006, [EMAIL PROTECTED] wrote:
What the file .mail_aliases in home directory is intended for?
May I remove it?

It's usually an aliases file for the mutt mailer.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``The only freedom which deserves the name, is that of pursuing our own good
in our own way, so long as we do not attempt to deprive others of theirs,
or impede their efforts to obtain it.'' -- John Stuart Mill, 1859
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: undeliverable mail

2006-12-20 Thread Bill Vermillion
On Wed, Dec 20, 2006 at 23:58 , Men gasped, women fainted, and small 
children were reduced to tears as Ian Smith confessed to all:

 On Wed, 20 Dec 2006, Beastie MRA wrote:
   On Dec 20, 2006 10:31 AM, Bill Vermillion [EMAIL PROTECTED] wrote:

[bunches deleted - wjv]

 But I doubt we get 260,000 messages a year here, so listen to Bill :)

I used to get 300,000 spams PER DAY for springbreak.com until in
desperation I changed the MX records to point to local host.
I didn't really want to do that, but I had no choice.

The first time that domain was brought up in 1995, before I got
involved with the principles.  It was up for only about 2 - 3 weeks
before the ISP turned them off as it was totally overloading
their T1.   So they became their own IPS with a dedicatd T1 to
AGIS - back before it became spam central.  Keeping track of a
domain that comes up #1 in google with only 1 key word can be a
pain.

Now things are nicer as my servers are inside a rack at the local
Level 3 facility and I have 24x7 access in case of problems.
Running 100Mbit links into their global OC768 with no provider
above me makes things a bit more problematic.

The only thing that would make me give up this whole business is
the email problem.   But all our email clients are business
customers that are clients of a local HW/SW support house so I
NEVER have to talk with end users - as the support house does
all the trouble shooting on the client side, and I only get real
problems forwarded to me.

Bill

-- 
Bill Vermillion - bv @ wjv . com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: My recent Epiphany about operating systems

2006-12-20 Thread Bill Moran

If you read the original post, you're probably going to read this as well.

I want to ask everyone on this list for a Christmas present.  If you can't
give me peace on Earth, good will toward men, or a supermodel trophy-wife
for Christmas, please give me something that I know each of you are
capable of.

Please don't feed this Troll.  Not much would make me happier this holiday
season that to see this jerk's rants fall on deaf ears.

Happy Holidays.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: replicating /etc/passwd on a failover machine

2006-12-20 Thread Bill Moran
In response to stas khromoy [EMAIL PROTECTED]:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 hey folks
 
 we are working on building a failover server.
 now everything is going along pretty nicely. (knock on wood)
 
 so the question of the day.
 is there a way to replicate the password files ?
 
 i doubt that just copying over /etc/passwd and master.passwd will work .

Actually, it's not much harder than that.  The only step you're
missing is running pwd_mkdb on the files after they've been
copied, you can easily add that to your failover process.

Although, it may be worthwhile to investigate kerberos or LDAP if there's
any chance at all that this might grow into a larger desire to replicate
user accounts.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: undeliverable mail

2006-12-19 Thread Bill Vermillion
It's Wed, Dec 20, 2006 at 09:26 . I'm in a small dim room with
doors labeled Dungeon and Forbidden. There is noise, the door
marked Dungeon flies open and Beastie MRA SHOUTS:

 Dear All.
 
 For past few days, my MX receive thousand of undeliverable message
 destinated for my non existent user at my domain.
 This message source come from valid and well configured (almost) smtp
 server on internet.
 I'ts waste my internet b/w, cause my MX will reject with non existent
 user message.
 I'll try spamd on my firewall and greylist on my MX (postfix), but still
 no effective, and i cannot block undeliverable
 message as RFC rules
 
 Is there any way i can fix this ?
 Please help

I use the virtusertable in sendmail, and I have my valid addresses,
such as   [EMAIL PROTECTED]  bv  and then for after that is
a line of   @wjv.comnouser.

And nouser is defined in aliases as   nouser:   /dev/null

On one of the mail servers I maintain I just checked and I
had 260,000+ messages routed to *file* in the maillog - which
shows up as  mailer=*file*  in the logs.   That maillog rotates
every night at midnight.

Is not really a freebsd-net problem so I removed that from the
reply to line.

Bill

-- 
Bill Vermillion - bv @ wjv . com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Process States Explanation

2006-12-18 Thread Bill Moran
In response to Fr0zen [EMAIL PROTECTED]:

 Where can I get a good list of what each process state means? I have
 searched the manual pages and handbook and have not been able to find
 answers or explanations for what states such as pfault mean. I know they
 are linked to the systemcalls, but how can I get more info about this?

Please wrap you lines around 72 chars or so.

 Any information, pointers, or feedback would be greatly appreciated.

Unfortunately, I don't think there's any such comprehensive resource.

However,  I would expect that 80% of the time, a google on state freebsd
will produce enough information to satisfy you.

The other 20% of the time, you'll either need to read the source code or
find a helpful developer to explain.  Don't hesitate to ask on this list
if you come across a state you can't find information on.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD as VM host OS?

2006-12-18 Thread Bill Moran
In response to David Newman [EMAIL PROTECTED]:
 
 My question is whether FreeBSD is a suitable _host_ OS for any virtual
 machine environment, preferably with support for SMP, amd64, and guest
 OS speed at or close to native hardware speeds.

*) jails provide virtual hosting at native speed, but _only_ for FreeBSD
   guests.  i.e., you can't run Linux in a FreeBSD jail
*) qemu works well on FreeBSD in my experience, but there is a considerable
   performance hit.
*) Xen should give you what you want, but I've no information on the
   status of Xen on FreeBSD at this time.

HTH

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: i finally got wireless working

2006-12-16 Thread Bill-Schoolcraft
At Sun, 17 Dec 2006 it looks like Jonathan Horne composed:

 well, a day well spent, i finally sat down to get the intel 2200 wireless on 
 my ibm t42 working.  i have sucessfully configured it to attach to my WPA 
 encrypted wifi on bootup.  everything is otherwise working to my 
 satisfaction.
 
 now, my questions are:
 
 1) how can i set up to access more than just my wireless network?  can this 
 be 
 done at the command line, without rewriting my if_iwi line(s) in rc.conf?
 2) can wireless configuration be set to automatically attach to preferred 
 networks first, then possibly any available open if preferred not available?
 
 thanks,
 jonathan

Good work Jonathan,

As usual with fellow FreeBSD users, any information about how you got
past your problem is stuff Unix folks like me love to hear.  I actually
save success stories like yours to help me out with wireless issues.

I can only speak for myself but I'd love to hear how ya did it.

-- 
  Bill Schoolcraft * http://wiliweld.com

Health nuts are going to feel stupid someday,
lying in hospitals dying of nothing.
-- Redd Foxx

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


Re: Dell 2950 1950

2006-12-14 Thread Bill Moran
In response to Peter Grigor [EMAIL PROTECTED]:

 I've just gotten some quotes on a few dell machines and I was wondering now
 if freebsd 6.x is able to run on them properly. Perc/5i cards and 64-bit
 Intel chips are my worries :)
 
 Anyone have any experiences they'd like to share? Anyone successfully
 running mysql on an IA64 architecture with Freebsd?

We're in the early stages of deployment with these.  None of them are
actually in production yet, but we're in the final stages of putting
them there.

6.1 doesn't work with the onboard NICS -- you have to get a 6.2-RC
or wait for 6.2.  Otherwise, everything 64-bit works as far as we
can tell.  We're a little grumpy that we don't have any way to
monitor the RAID (our Dell x850 systems use megarc to automatically
signal us if a drive fails)  We've also had occasional problems
with the reboot and shutdown commands not completing, but it's been
so intermittent that we can't seem to isolate the cause.  Symptom
is that it gets to the final stage of reboot/shutdown and then waits
indefinitely without issuing the final ACPI command.

Do some searches on my name and/or those topics on the stable@
list archives for more details.

-- 
Bill Moran
Collaborative Fusion Inc.

[EMAIL PROTECTED]
Phone: 412-422-3463x4023
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PowerEdge 6850 Install

2006-12-14 Thread Bill Moran
In response to [EMAIL PROTECTED]:

 I've got an issue with getting FreeBSD to recognize past 
 four gigs of ram. The server we have has 12 gig. I am able 
 to successfully recompile the kernel and get the four 
 CPU's to show up that are installed in the server.
 
 I've taken and attempted to compile the PAE kernel file 
 and every time the server attempts to boot to the default 
 option on the standard boot menu, the server reboots 
 itself. This is a continuous cycle.

One of the required drivers probably doesn't work right with PAE.
I don't know how well PAE is supported anymore, now that amd64
is stable.

 Can anyone direct me to what I need to do for having the 
 server recognize all 12 gig? I've seen threads on using 
 the ia64 install, however the install notes state it is 
 for the Itanium and Itanium 2 CPU's. Attempting to boot 
 from the first ISO CD doesn't do anything.

You want the amd64 version.

-- 
Bill Moran
Collaborative Fusion Inc.

[EMAIL PROTECTED]
Phone: 412-422-3463x4023
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dell 2950 1950

2006-12-14 Thread Bill Moran
In response to Peter Grigor [EMAIL PROTECTED]:
 
 I looked through the archives and couldn't find much information on the
 megarc problem. Have you gotten any feedback on whether a megarc fix is
 forthcoming in the 6.x branch?

That's because megarc isn't relevant to the problem, really.  The x9xx
series uses a newer RAID controller that doesn't use the same driver and
is incompatible with megarc.  My point is that there's no equiv at this
time.

 BTW, are you in Pittsburgh too? :)

Yes.

 On 12/14/06, Bill Moran [EMAIL PROTECTED] wrote:
 
  In response to Peter Grigor [EMAIL PROTECTED]:
 
   I've just gotten some quotes on a few dell machines and I was wondering
  now
   if freebsd 6.x is able to run on them properly. Perc/5i cards and 64-bit
   Intel chips are my worries :)
  
   Anyone have any experiences they'd like to share? Anyone successfully
   running mysql on an IA64 architecture with Freebsd?
 
  We're in the early stages of deployment with these.  None of them are
  actually in production yet, but we're in the final stages of putting
  them there.
 
  6.1 doesn't work with the onboard NICS -- you have to get a 6.2-RC
  or wait for 6.2.  Otherwise, everything 64-bit works as far as we
  can tell.  We're a little grumpy that we don't have any way to
  monitor the RAID (our Dell x850 systems use megarc to automatically
  signal us if a drive fails)  We've also had occasional problems
  with the reboot and shutdown commands not completing, but it's been
  so intermittent that we can't seem to isolate the cause.  Symptom
  is that it gets to the final stage of reboot/shutdown and then waits
  indefinitely without issuing the final ACPI command.
 
  Do some searches on my name and/or those topics on the stable@
  list archives for more details.
 
  --
  Bill Moran
  Collaborative Fusion Inc.
 
  [EMAIL PROTECTED]
  Phone: 412-422-3463x4023
 
 
 
 
 -- 
 Peter Grigor
 Hoobly Inc
 http://www.hoobly.com
 


-- 
Bill Moran
Collaborative Fusion Inc.

[EMAIL PROTECTED]
Phone: 412-422-3463x4023


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

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


Re: Dell 2950 1950

2006-12-14 Thread Bill Moran
Jay Chandler [EMAIL PROTECTED] wrote:

 Bill Moran wrote:
  In response to Peter Grigor [EMAIL PROTECTED]:

  I've just gotten some quotes on a few dell machines and I was wondering now
  if freebsd 6.x is able to run on them properly. Perc/5i cards and 64-bit
  Intel chips are my worries :)
 
  Anyone have any experiences they'd like to share? Anyone successfully
  running mysql on an IA64 architecture with Freebsd?
  
 
  We're in the early stages of deployment with these.  None of them are
  actually in production yet, but we're in the final stages of putting
  them there.
 
  6.1 doesn't work with the onboard NICS -- you have to get a 6.2-RC
  or wait for 6.2.  Otherwise, everything 64-bit works as far as we
  can tell.  We're a little grumpy that we don't have any way to
  monitor the RAID (our Dell x850 systems use megarc to automatically
  signal us if a drive fails)  We've also had occasional problems
  with the reboot and shutdown commands not completing, but it's been
  so intermittent that we can't seem to isolate the cause.  Symptom
  is that it gets to the final stage of reboot/shutdown and then waits
  indefinitely without issuing the final ACPI command.
 
  Do some searches on my name and/or those topics on the stable@
  list archives for more details.
 
 Running the same 1950 platform here with the i386 base-- I've seen the
 same problems you mention.  The onboard NIC worked intermittently, but
 kept crashing, so was replaced with an Intel NIC.  I just placed an
 order for 7 more, and made sure to get the Intel onboard NIC option.
 Restarting is buggy as well, with the same symptoms.  My (inelegant)
 solution is to install a pair of ethernet managed power strips, so I can
 kill power remotely to bring it all the way down if need be.

We get all our units with Dell's remote access card installed.  It
gives us the same kind of remote admin -- equivalent to being able to
hit the power button from the other side of the planet.

 What advantages/disadvantages do you see with running the 64 bit
 architecture?  I must confess, it never occured to me to try that...
 I'm running the Dual Core Xeon processors, if that helps anything.

In our case, we're primarily concerned about RAM.  These units are starting
out with 4G, and we're monitoring them so we can add RAM when the usage
goes up.  amd64 is obviously going to be better supported going forward
than PAE.

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


Re: Shar question

2006-12-13 Thread Bill Moran
In response to Beech Rintoul [EMAIL PROTECTED]:

 I'm trying to learn how to use shar. I've read the manual.
 
 If I pass a directory to shar:
 
 shar foo  foo.shar
 
 Results in a shar file. Problem is that when I unpack it I just end up with 
 an 
 empty directory. I probably need to pass it a flag or something, but I'm not 
 sure which one to use.
 
 How do I make a shar file out of a directory and ALL it's contents.

shar needs to know all the files it's to put into the archive, it
doesn't walk the tree for you.

Thus you could do:
share file1.txt file2.txt file3.txt  archive.shar
to selectively grab only the specified files.

When grabbing an entire directory tree, you can use the syntax:
share `find \start\of\directory\tree -print`  archive.shar

which is hinted at in the man page.  The backticks cause the find
command to be executed, and the output of find is given to shar.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dummynet fragmenting packets

2006-12-12 Thread Bill Moran
In response to Mike Murphree [EMAIL PROTECTED]:
 
 Having an issue on a 5.3 system using ipfw and dummynet to create a
 bandwidth limited and large latency pipe for a mpeg video stream.  If I
 pass the packets between the two NICs without routing through a dummynet
 pipe, it's fine.  If I route it through a pipe, it's fragmenting each
 packet (client requested 1468 byte packets) into two packets, the second
 packet with an offset of 1440 bytes.  Does anyone have any idea why it's
 doing this, and have a solution to this problem?

As a general rule, fragmenting occurs when packets move between different
networks with different MTUs.  I.e. the originating network has a larger
MTU, so the packet must be broken up in order to pass it on to the network
with the smaller MTU.

Now that that's out of the way, I can see 3 possibilities as to why
dummynet is fragmenting packets:
1) Dummynet has the wrong information about what the MTUs are on your
   networks and is fragmenting the packets needlessly.
2) Dummynet is altering the packets, they become larger and then no
   longer fit in the MTU.
3) The endpoints are doing path-MTU-discovery, but when you put
   dummynet between them you somehow break PMTUD.

To narrow this down, you'll need to determine what the MTUs are on each
network and whether they're being respected, is the total size of the
reassembled fragments the same as when the packet came in, and whether
or not PMTUD is in use, and whether something in dummynet or any
related filtering rules is breaking it.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NFS question - which is the server

2006-12-12 Thread Bill Moran
In response to David Banning [EMAIL PROTECTED]:

 I have a FBSD box servering several users. We want to mount a stand-alone
 FBSD box to access the files on it. I am thinking NFS.
 
 When installing NFS, the stand-alone box would be the NFS server, correct?
 And multi-user box would be the NFS client?

You're question is worded somewhat ambiguously.  I'm unclear as to which
server is doing what, however:

* The server that _has_ the files will be the NFS server.
* Any system that accesses those files across the network is an NFS client.

Hope that helps.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Routing Question

2006-12-12 Thread Bill Moran
In response to Bret J Esquivel [EMAIL PROTECTED]:
 
 I have a cable modem at my office with a /28 allocated. I have a FreeBSD 6.1
 firewall/router in between the cable modem and the switch to other nodes. My
 question is how could I add static routes to say my web server having an
 external IP address but still going through the firewall box? NAT is not an
 option.
 
 INET (70.164.48.225/28) - [xl0] Firewall (70.164.48.226) [xl1] - [xl0] Web
 server (70.164.48.227)

I could have swore that someone else recommended bridging, so I won't
bother to bring it up.

The other option is to set that system up as a router, and build a proper
routing table.  Your ISP will need to be involved so they know to route
traffic to your subnet through your gateway system.

You need to enable forwarding in /etc/rc.conf.  Then you'll need to
subnet your range properly.  Something like:

70.164.48.225/29 - external 
70.164.48.241/29 - internal

Then set your external interface on the router to 70.164.48.226 and
the internal interface to 70.164.48.242.  They you can use
70.164.48.243 - 249 on the inside.

Configuring the FreeBSD machine as a bridging firewall will simplify
the process, however, and is the approach I would recommend.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: network analyse tool? To debug IMAP related problems

2006-12-11 Thread Bill Moran
In response to 张韡武 [EMAIL PROTECTED]:

 Hello. I would wish to have a tool that would do this kind of thing:
 
  1. listen on imap port on localhost, connect to localhost with my
 email client;
  2. forward the traffic from/to/between real imap server;
  3. meanwhile, print everything being transfer-ed, so that I can
 have a good ovewview of server-client conversation;
 
 I don't know what such kind of tool is usually called and thus difficult
 to do an effective google search. I tried a few tools in ports/net but
 none of them seems to be working in this way... (admit that I didn't
 look into pkg-descr of every package)

This may or may not help you, depending on what part of the IMAP
conversation you're trying to debug, but programs like KMail and
Sylpheed have excellent protocol debugging features built right in.
There's basically a log window where you can watch the entire
conversation occur.

This doesn't help if you're trying to debug IMAP client problems,
though.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dd mini-iso image to USB pendrive?

2006-12-11 Thread Bill-Schoolcraft
Hello Family,

I'm trying to get my server to boot off my Sandisk Cruzer 1-gig pen
drive with an ISO image dd'd to the pendrive.

It fails and the same ISO image will boot off the USB CDROM with no
issues.

Is there any specific howto on doing this?

TIA

-- 
  Bill Schoolcraft * http://wiliweld.com

Health nuts are going to feel stupid someday,
lying in hospitals dying of nothing.
-- Redd Foxx

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


shmmax tops out at 2G?

2006-12-11 Thread Bill Moran

uname -a
FreeBSD db00.lab00 6.2-BETA3 FreeBSD 6.2-BETA3 #1: Fri Dec  8 09:27:37 EST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DB-2850-amd64  amd64

sysctl kern.ipc.shmmax=22
kern.ipc.shmmax: 21 - -2094967296

Looks like an unsigned 32-bit int.  That doesn't seem to scale as well as
would be expected on 64-bit arch.

Is this a mistake, or intentional?  I'm working with some big memory
systems, and I sure would like to allocate more than 2G for PostgreSQL
to use ...

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cant able to telnet the freebsd system

2006-12-06 Thread Bill Moran
In response to [EMAIL PROTECTED]:

 Hi Team
 
 I put entry in  /etc/rc.conf  as
 
 inetd_enable=YES
 
 and after that  /etc/inetd.conf  I  uncomment the telnet line to activate 
 the telnet server
 
 then restarted the telnet service
 
 /etc/rc.d/inetd restart
 
 and it get restarted
 
 but I couldnt able to telnet  the server both locally or remote

sockstat -4 will show you whether it's listening or not.

The actual error messages would be more helpful than a generic it
doesn't work

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TCP parameters and interpreting tcpdump output

2006-12-06 Thread Bill Moran
Dieter [EMAIL PROTECTED] wrote:

 I found a couple more things that don't look right.
 
 17 IP bsd.63743  src.65001: . ack 52 win 65535
 000107 IP bsd.63743  src.65001: . ack 52 win 65535
 12 IP bsd.63743  src.65001: F 52:52(0) ack 52 win 65535
 05 IP bsd.63743  src.65001: F 52:52(0) ack 52 win 65535
 000172 IP src.65001  bsd.63743: . ack 53 win 4096
 04 IP src.65001  bsd.63743: F 52:52(0) ack 53 win 4096
 03 IP src.65001  bsd.63743: . ack 53 win 4096
 16 IP bsd.63743  src.65001: . ack 52 win 65535
 11 IP bsd.63743  src.65001: . ack 53 win 112 -- why does the 
 window suddenly shrink?
 002366 IP src.rfe  bsd.12340: P 1:1317(1316) ack 1 win 4096
 099554 IP bsd.12340  src.rfe: . ack 1317 win 65535 -- why does it 
 take 99.5 millisec to ack?
 
 The ack time is normally 12 or 13 microseconds, which seems to be okay.
 But 99.5 milliseconds is *way* too slow, data will be lost.
 
 Is TCP sitting around waiting for a second packet, so that
 it can be efficient and ack two packets at once?

sysctl -d net.inet.tcp.delayed_ack
net.inet.tcp.delayed_ack: Delay ACK to try and piggyback it onto a data packet

That sysctl will turn it off for all network connections on the system.  You
can also set it on a per-socket basis using setsockopt and the TCP_NODELAY
option.  Some google searches on TCP_NODELAY will provide interesting
technical details.

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


issues with NgMkSockNode

2006-12-04 Thread Bill Thompson

Hello,
I'm implementing a program using netgraph, and I'm having some issues when
calling NgMkSockNode and would like to know if this is the right list to
post questions for this subject or is there a better list that I should use.

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


Re: Soft Updates Help

2006-12-01 Thread Bill Moran
Sean Murphy [EMAIL PROTECTED] wrote:

 I have read up on soft updates and have some questions.
 
 The way that I am understanding soft updates purpose is to allow file 
 systems to be mounted dirty after an unclean shutdown of the system.

That's not the purpose.  The purpose is to improve performance by taking
advantage of delayed writes much the way an asynchronous filesystem does,
while preventing horrendous data corruption by ordering those writes, much
the way a journalling filesystem does.

The fact that you can generate filesystem snapshots is a side-benefit.  The
fact that you can use filesystem snapshots to validate the filesystem after
it's been mounted is a further side-benefit.

 If this is a safe way to restore consistency why is it not used on /?

Because writes are delayed, it's possible for data to be lost in the event of
a crash -- it acts like a database, either the entire transaction is committed
or it's rolled back, either way, the data is guaranteed not to be corrupt.

Also, on heavily used filesystems, softupdates can lead to the filesystem
temporarily having less space available than it really does.  I.e. you update
/kernel, softupdates completely replaces the file with a new one, but the
blocks for the old file haven't been reclaimed yet.  For a short period, you
might have 1 kernel file, but there's 2x that being allocated for it.

For these two reasons, / is traditionally _not_ mounted with softupdates
enabled, since it's critical to system startup.

 If a file system is not heavily written to is it better not to use soft 
 updates?

Weigh the good vs. the bad:
*) synchronous mounted filesystem is almost guaranteed to keep your data safe
   at all times, but is abysmally slow.
*) softupdates _may_ lose some data if your system crashes before all writes
   are flushed, but will never _corrupt_ it.  Additionally, you get a LOT
   better speed.
*) Asynchronous is a little faster than softupdates, but it's damn near
   guaranteed to be corrupt in the event of a crash.

 When file systems are mounted dirty and our being used while the 
 backgound fsck is running on the file systems how does it prevent files 
 from being lost?

It doesn't.  It guarantees that your filesystem will always be mountable and
never corrupt, but it doesn't guarantee against data loss.

Here's a simplified example:
Let's say you're saving a big file and the power goes out.  When the power comes
back on, there are basically 3 states that file can be in:
A) It was fully written to disk -- you got lucky.
B) Nothing had been written to disk yet -- data loss
C) It was partially written to disk -- your filesystem is corrupt, you either
   need to allow a filesystem repair program to fix it (fsck -- or chkdsk on
   Windows, for example) or you'll have weird problems with it until you do so.

Softupdates guarantees against C.  It does this by (essentially) writing the
file backwards:
1) it writes all the data to data blocks, and once that's done
2) _then_ it creates a directory entry for the file.

If the system crashes between #1 and #2, it looks like B happened, but you never
get in scenario C where the filesystem is corrupt and gets more corrupt as you
continue to use it.  Instead, when fsck runs (in the background) it realizes
that there are data blocks in use that don't belong to any file, and it can
free them up for the filesystem to use.

That's somewhat simplified, but it gives you the basic idea.

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


Re: Memory addressing ?

2006-11-30 Thread Bill Moran
In response to Frank Bonnet [EMAIL PROTECTED]:

 Hello
 
 I will receive in few days a new server and I wonder how much
 memory FreeBSD is able to manage ? The processors (2) are Intel Xeon

All versions of FreeBSD can handle huge amounts of memory.

If you want to run a 32-bit version with more than 4g, you have to
rebuild the kernel with PAE.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question on batch email sending

2006-11-30 Thread Bill Moran
In response to David Banning [EMAIL PROTECTED]:

 I have a standard mailbox with around 40 messages. I want to be able
 to just send them all to someone, the same person, not as an
 attachment but as individual emails. I want to do something like;
 
 cat /var/mail/frank | someprogram [EMAIL PROTECTED]
 
 So that Frank can just get it into his regular inbox. I realize that 
 I could just ask Frank to pop it off the server but then he would have
 to setup for just one occasion. Is there a way to do what I want?

fetchmail was designed for this sort of thing.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: stop a freebsd server from responding to pinging?

2006-11-30 Thread Bill Moran
In response to Wasp King [EMAIL PROTECTED]:

 1. How do I stop others from port scanning a server?

Drive to their house and smash their computer.

 2. is stopping the response to pinging enough?

No.  In fact, not responding to ping is a bad idea.  Disabling ping
responses violates certain RFCs and is a tactic taken by sysadmins
who should know better.

Additionally, a determined scanner won't care whether you respond to
ping or not, so it doesn't even gain you anything.  nmap, probably
the most popular scanner out there, has an option to scan without
pinging, and even _recommends_ turning that on if you try to ping
and get no responses.

 3. how to do I stop the server from responding to
 pinging?

You can always use pf or ipfw, if you _really_ want to go down that
road.

 Running FreeBSD 4.2 and 6.1. 
 
 I changed the /etc/rc.network file to NO for
 broadcast ping responses, and this did not work (still
 responding to ping) when I rebooted:
 
 
 case ${icmp_bmcastecho} in
 [Yy][Ee][Ss])
 echo -n ' broadcast ping responses=NO'
 sysctl net.inet.icmp.bmcastecho=1
 /dev/null

That just stops it from responding to ping requests destine for the
broadcast address, which is a topic of some debate.  It will still
respond to ping requests sent directly to it.

Anyway, the question that you didn't ask is how do I secure my system
from network attacks.  The QD answer is:
1) only run network services that you really need
2) ensure those services are properly secured

If you do those two, who cares if you get portscanned?

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mouse ??

2006-11-29 Thread Bill Moran
In response to Reginaldo Tavares [EMAIL PROTECTED]:

 Hello,
 
 Do you know if an optical mouse works with 6.1 kernel ?

I'm using a Dell optical with a 6.1 kernel on this workstation right
now.

It's much more likely that either your moused or your X config has
some mistakes in it.  I'm sure if you provide some details that folks
will be able to assist.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: running windows applications and making use of existing ms windows installation

2006-11-28 Thread Bill Moran
mato [EMAIL PROTECTED] wrote:

 On Thu, 19 Oct 2006 11:09:50 +0200, albi albinootje wrote
  On 10/19/06, martinko [EMAIL PROTECTED] wrote:
  
   I've been reading for some time about VMWare, Wine, Qemu, Bochs and some
   others, but I'm still not sure which one would (best) fit my needs:
  
   I've got a dual boot and I would like to make use of existing Windows
   (XP) installation, not having to create a new virtual disk/system and
   install everything from scratch.
  
   Can I use existing Windows installation with some of the existing
   emulation software ??
  
  you didn't mention whether you're using NTFS or not on the windows-
  partition, if you do use NTFS then you already have a problem 
  because you can't write to that partition by default (not sure how 
  far the rw-development is on FreeBSD)
  
  vmware server gives you the possibility to use raw partitions,
  i've tried that with a linux-partition on an external disc within vmware
  
  wine is also a possibility, but wine will by default let you start
  only 1 app, YMMV
  
  last time i tried qemu it didn't support raw partition access afair

According to the docs, it does support raw partition images, which you
should be able to create using dd.  I haven't tried this, though.

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


Re: running windows applications and making use of existing ms windows installation

2006-11-28 Thread Bill Moran
In response to mato [EMAIL PROTECTED]:

 On Tue, 28 Nov 2006 06:40:43 -0500, Bill Moran wrote
  mato [EMAIL PROTECTED] wrote:
  
   On Thu, 19 Oct 2006 11:09:50 +0200, albi albinootje wrote
On 10/19/06, martinko [EMAIL PROTECTED] wrote:

 I've been reading for some time about VMWare, Wine, Qemu, Bochs and 
 some
 others, but I'm still not sure which one would (best) fit my needs:

 I've got a dual boot and I would like to make use of existing Windows
 (XP) installation, not having to create a new virtual disk/system and
 install everything from scratch.

 Can I use existing Windows installation with some of the existing
 emulation software ??

you didn't mention whether you're using NTFS or not on the windows-
partition, if you do use NTFS then you already have a problem 
because you can't write to that partition by default (not sure how 
far the rw-development is on FreeBSD)

vmware server gives you the possibility to use raw partitions,
i've tried that with a linux-partition on an external disc within vmware

wine is also a possibility, but wine will by default let you start
only 1 app, YMMV

last time i tried qemu it didn't support raw partition access afair
  
  According to the docs, it does support raw partition images, which 
  you should be able to create using dd.  I haven't tried this, though.
 
 Do you think I could supply raw disk device directly to Qemu ??

It's not _designed_ to work that way, but given the fact that everything
is a file in Unix, it's entirely possible that it will work.

Definitely make a backup before trying.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: not enough free resources

2006-11-25 Thread Bill Moran
On Sat, 25 Nov 2006 18:22:16 +0100 (CET)
Wojciech Puchar [EMAIL PROTECTED] wrote:

 getting such things under high load
 
 Nov 25 18:20:20 3miasto named[996]: client 193.220.192.36#36674: error 
 sending response: not enough free resources
 
 
 sometimes even ping doesn't work well.
 
 what resources are missing and how to change them?

Check the output of 'netstat -m' to see if there are any clues as to what
is being starved.  Once you know, it shouldn't be too hard to figure out
how to increase it.

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


Re: Password Security

2006-11-23 Thread Bill Moran
On Thu, 23 Nov 2006 10:45:19 +0100
VeeJay [EMAIL PROTECTED] wrote:

 On 11/23/06, Olivier Nicole [EMAIL PROTECTED] wrote:
 
   And how can one into the System by booting from a CD if it still
   requires the Password even in Single User mode?
 
  Booting from CD, floppy or hard disk is slected at BIOS level.
 
  Booting in single or multi user mode is at Operating system level.
 
  Booting is in the following order:
 
  1) BIOS select what medium to boot from
 
  2) the operating system boot from the selected medium
 
  So when it comes to the Single user password, itis already at stage 2)
  it has passed the stage 1 (booting from hard disk ofr CD) without
  password.
 
  Olivier
 
 
 So, it means, that I should take the following steps
 
 1. Password on BIOS
 2. Change the order of booting i.e. When system is installed and working
 once, then I just the change the Booting FIRST from HardDisk.
 3. Put the password on Single User mode.
 
 So, what more? Do you people think that I have got somehow security barrier
 for unauthorized access?

Physically _LOCK_ the server up.  Anyone who can get physical access to the
unit can remove the drive and access it from another machine, bypassing all
this stuff.

Another option is to encrypt the hard drives, but this will require you (or
someone else) to enter the password for the encrypted drives every time the
system boots up, so it's generally a maintenance nightmare.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Password Security

2006-11-23 Thread Bill Moran
On Thu, 23 Nov 2006 09:56:23 +0100
VeeJay [EMAIL PROTECTED] wrote:

  So, does it mean that Windows 2003 Server provides more Password Level
 Security with Unauthorized Access?

Where is this presumption coming from?  Windows OS suffer from the same 
difficulty
protecting from physical intrusion that any other OS does.

 And how can one into the System by booting from a CD if it still requires
 the Password even in Single User mode?
 
 
 
 On 11/22/06, Jerry McAllister [EMAIL PROTECTED] wrote:
 
  On Wed, Nov 22, 2006 at 04:41:37AM +0100, VeeJay wrote:
 
   Hi
  
   I need to secure my data and server. Any advice will be highly
  appreciated.
  
   I am going to place my FreeBSD server at a shared place?
  
   I am just afraid that any unauthorized person might boot machine in
  single
   user mode and steal the data?
   How can I make my Server secure that if if boots in single user mode, it
   still demands the password and without password one cannot do anything?
   or make it possible that booting in Single user mode, doesn't provide
  any
   shell?
 
  Lock it in a box.   Anyone who can put their hands physically can
  get in to the machine with a little tinkering even if you disable
  lots of software.
 
  I think you can get rid of the single user option in the boot,
  but anyone with a CD can defeat that if they want to.  It would
  make things harder for yourself in managing the system, but it
  would slow a person down from casual interference.
 
  Also, many machines have BIOS level boot passwords that can be turned
  on.  Using that would slow a person down, but be annoying for youself,
  especially in times such as power failures - the system would not come
  back up automatically without someone entering the BIOS password.
 
  Plus, if a person is determined enough, they can defeat that as well
  by removing the battery backup for the MB or the flash memory.   But,
  it would stop casual tinkering.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Password Security

2006-11-23 Thread Bill Moran
On Thu, 23 Nov 2006 23:08:18 +0100
VeeJay [EMAIL PROTECTED] wrote:

 On 11/23/06, Bill Moran [EMAIL PROTECTED] wrote:
 
  On Thu, 23 Nov 2006 10:45:19 +0100
  VeeJay [EMAIL PROTECTED] wrote:
 
   On 11/23/06, Olivier Nicole [EMAIL PROTECTED] wrote:
   
 And how can one into the System by booting from a CD if it still
 requires the Password even in Single User mode?
   
Booting from CD, floppy or hard disk is slected at BIOS level.
   
Booting in single or multi user mode is at Operating system level.
   
Booting is in the following order:
   
1) BIOS select what medium to boot from
   
2) the operating system boot from the selected medium
   
So when it comes to the Single user password, itis already at stage 2)
it has passed the stage 1 (booting from hard disk ofr CD) without
password.
   
Olivier
   
  
   So, it means, that I should take the following steps
  
   1. Password on BIOS
   2. Change the order of booting i.e. When system is installed and working
   once, then I just the change the Booting FIRST from HardDisk.
   3. Put the password on Single User mode.
  
   So, what more? Do you people think that I have got somehow security
  barrier
   for unauthorized access?
 
  Physically _LOCK_ the server up.  Anyone who can get physical access to
  the
  unit can remove the drive and access it from another machine, bypassing
  all
  this stuff.
 
  Another option is to encrypt the hard drives, but this will require you
  (or
  someone else) to enter the password for the encrypted drives every time
  the
  system boots up, so it's generally a maintenance nightmare.
 
 
 
 Well, I am not an expert on FreeBSD. And thats why I don't know that how it
 works that
 
 If 4 Disks of same size for example 146GB each and they are configured with
 RAID 10, and Root, SWAP, /usr, /var File systems have been created on them.
 And if one takes one or two harddisks and how come he would be able to read
 the data when data is splited on 4 disks?

Your logic escapes me.  If someone were to physically break in to the machine
to steal your data, why would they only take some of the drives?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Does disk encryption causes a performance penalty for Data Access/Read/Write, etc

2006-11-22 Thread Bill Moran
In response to VeeJay [EMAIL PROTECTED]:
 
 Does *disk encryption* causes a *performance* penalty for Data
 Access/Read/Write, etc?

Any kind of encryption causes a performance penalty.

However, if your CPU is powerful enough, it's possible (even likely) that
the CPU is still able to encrypt faster than the disk can write the data.
The result would be that you won't notice the penalty unless you've got
other CPU-intensive tasks running that reduce the amount of CPU
available to the encryption process.

HTH

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Re: IPFW NFS

2006-11-22 Thread Bill Moran
In response to vittorio [EMAIL PROTECTED]:

 I have two FreeBSD 6.1 boxes one of which (IP 10.0.0.1) is an NFS server and 
 the other one (IP 10.0.0.2) is, among other things, an NFS client sharing 
 directories with the NFS server.
 It all works correctly and I can mount_nfs all the directories from the 
 server.
 BUT, I'm now trying to use an IPFW firewall both on the server and on the 
 client. My simple aim is to setup connections between the 10.0.0.1 server and 
 the 10.0.0.2 client ** only **; no connections should be possible with other 
 clients!
 Now I've tried the poor documentation I could find googling with the 
 keywords freebsd ipfw nfs to no avail, I cannot mount_nfs any share on te 
 client because something goes wrong with RPC.
 Concentrating on the client side (no ipfw for the moment on teh server) I 
 tried the following

NFS is difficult to firewall, as it's not guaranteed to use the same
ports all the time.

The NFS server has options to restrict who can connect, see the man
page for exports.

Othwerwise, Chuck's advice was good.  Additionally, you can debug IPFW
using 'ipfw show', and by inserting log statements into your ruleset
to get more useful feedback.

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TCP parameters and interpreting tcpdump output

2006-11-19 Thread Bill Moran
On Sat, 18 Nov 2006 23:42:31 +
Dieter [EMAIL PROTECTED] wrote:

[snip]

 Bill writes:
 
 Bill My guess would be that your process blocked on stdout.
 Bill You don't mention what you're doing with stdout from the program, are
 Bill you just letting it scroll on the terminal, or redirecting it to a file?
 
 Just redirected to a file.  FFS, soft updates, 7200 rpm SATA drive
 with the disk's write cache turned off.  Input data rate is less
 than 20 M bits/sec.  I can write to the disk at approx 6 M Bytes/sec
 sustained.  (or 10x that with disk write cache turned on, but
 I don't like trashed filesystems after the machine goes down hard)
 The machine and the disk are plenty fast enough, AMD64, 2 GB main memory.
 CPU is 90-something percent idle.
 
 Sometimes it works fine for extended periods, 30-40 minutes.  Other times
 the src box reports thousands of network errors.  So far I haven't figured
 out what the difference is between the working tests and the failing tests.
 The crontab directory is empty, so it shouldn't be cron jobs.
 
  As an experiment, try running the process and redirecting
  stdout to /dev/null -- if it doesn't exhibit the problem, then you
  need to look at where you're actually storing the data and speed that
  part up.
 
 I've thought of trying /dev/null but haven't yet.  It might provide
 a clue.
 
 I would expect that the filesystem should be buffering the write
 from short term disk latency.  Surely FreeBSD 6.0 provides the
 classic Unix write-behind?
 
 The disk activity LED flashes constantly, so it doesn't appear to be
 saving up disk writes and then doing a bunch at once,
 
  Is the data coming in at a fairly constant rate?
 
 Yes.
 
  you've got plenty of RAM
 
 The machine has 2 GB.  I wonder if the process is getting its fair share?
 I have been observing other problems where disk activity to one disk
 will make an unrelated process reading data from a different disk *very*
 unresponsive.

Sounds like a hardware problem to me.  If you've got a crappy SATA
controller that's going to block every now and again, you're going to
have trouble with this.

It's not something impossible to work around.  I get the impression that
this machine is doing little or nothing other than receiving this data.
If that's that case, you can use the entire 2G for buffering, and store
incomming data until the disk starts responding again.  I don't know
off the top of my head, but I seriously doubt if the OS is going to use
2G to buffer disk writes.  You, however, can.  As your program stands,
it will buffer a maximum of 15000 bytes, but you're using blocking IO,
so that doesn't even help you if the write blocks.  If you want to take
advantage of all that RAM, you'll have to add some complexity to your
program.  The following is roughed out, not tested (may contain fenceposts)
but liable to work once you fill in the blanks (although it's lacking any
error checking)  Start by making BUFFER_SIZE _much_ larger -- several megs
at least, or even bigger if this machine is dedicated to this task:

[...]
/* Set stdout to non-blocking */
fnctl(1, O_NONBLOCK);
startread = startwrite = buffer;
while (1) {
/* Wrap around if we're at the end of the buffer */
if (startread == buffer + BUFFER_SIZE) {
startread = buffer;
}
/* Find out how much unused space is currently in the buffer */
if (startwrite = startread) {
avail_buffer = BUFFER_SIZE - startwrite;
} else {
avail_buffer = startread - startwrite;
}
/* Read in as much as possible */
num_read = read(fd2, startwrite, avail_buffer);
/* move the write pointer */
startwrite += num_read;
/* Wrap around if we're at the end of the buffer */
if (startwrite == buffer + BUFFER_SIZE) {
startwrite = buffer;
}
/* Calculate how many bytes we have to write */
if (startwrite = startread) {
readytowrite = startwrite - startread;
} else {
readytowrite = BUFFER_SIZE - startwrite;
}
/* Here is the key ... this only works if descriptor 1 is
 * non-blocking ... otherwise your code will wait here until
 * all the bytes are written ... you don't want that
 */
num_written = write(1, startwrite, readytowrite);
startwrite += num_written;
}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where is that branch ???

2006-11-18 Thread Bill Moran
On Fri, 17 Nov 2006 07:46:39 -0500
Ne'Bahn [EMAIL PROTECTED] wrote:

 Hi list, I was reading the handbook for the -STABLE branch, but no answer,
 the actual realeases are -CURRENT and -PRODUCTION; I don't see any -STABLE
 on site, I should assume that -PRODUCTION is the stable branch ??? Am I 
 wrong ???

You're getting confused.  When the handbook talks about branches, it
specifically means CVS branches.  At the bottom of this page is a
dropbox that lists all the available branches:
http://www.freebsd.org/cgi/cvsweb.cgi/src/

Because of FreeBSD's development model, there are several branches that
could be considered production quality at any time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems with openldap version conflict (was Re: upgrade packages)

2006-11-18 Thread Bill Moran
On Sat, 18 Nov 2006 06:21:27 -0800 (PST)
gahn [EMAIL PROTECTED] wrote:

 hi all:
 
 trying to install package freeradius and it is using
 package openldap-client-2.3.29. but i have problems
 to get openldap-client-2.3.29 installed:
 
 ===  openldap-client-2.3.29 conflicts with installed
 package(s): 
   openldap-client-2.2.30
 
   They install files into the same place.
   Please remove them first with pkg_delete(1).
 *** Error code 1
 
 Stop in /usr/ports/net/openldap23-client.
 
 foo# pkg_delete openldap-client-2.2.30
 pkg_delete: package 'openldap-client-2.2.30' is
 required by these other packages
 and may not be deinstalled:
 evolution-2.4.2.1_1
 evolution-data-server-1.4.2.1_3
 evolution-exchange-2.4.2_1
 evolution-webcal-2.4.1_1
 gnome2-2.12.3
 gnomeapplets2-2.12.3
 gnomecontrolcenter2-2.12.3_1
 gnomenetstatus-2.12.0_2
 gnomepanel-2.12.3_1
 gnomeutils2-2.12.2,1
 kde-3.5.1
 kdeartwork-3.5.1_1
 kdebase-3.5.1_2
 kdesdk-3.5.1_1
 kdeutils-3.5.1_1
 kdevelop-3.3.1_1
 libgail-gnome-1.1.3_1
 vino-2.12.0_2
 
 how can i get the openldap-client upgraded?

I see this all the time.  It's one of the curses of software dependencies.

The technique I use and recommend is portupgrade with the -o option.
Something like:
portupgrade -fo net/openldap23-client openldap-client-2.2.30

will replace the 2.2 version with the 2.3 version.  I've done this on a
few systems without problems.  You can then install packages that require
the 2.3 verison without hassel.

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


Re: PowerEdgeTM 1950

2006-11-18 Thread Bill Moran
On Sat, 18 Nov 2006 10:08:03 -0600
Paul Schmehl [EMAIL PROTECTED] wrote:

 --On November 18, 2006 11:57:34 AM +0200 ovidiu ene [EMAIL PROTECTED] 
 wrote:
 
  Hello guys,
 
  I want to know if Dell PowerEdge 1950 works fine on FreeBSD 6.1 i386.
  (I am interested if network cards are detected and work properly, also
  if SATA/SAS drive is detected properly.
 
 There are two problems that you must overcome and they require that you 
 rebuild world and kernel.  The network card driver has a problem, and the 
 usb driver has a problem.  The former causes the network card to become 
 unusable and only a reboot will fix it.  The latter prevents you from 
 using the DRAC card (if you ordered one with the 1950.)
 
 Both problems can be overcome with newer source code files, but you then 
 have to rebuild world and kernel.  And you must save those source code 
 files, because you'll need them every time you have to update world or 
 kernel due to security patches.

Another option is to wait a month or two for 6.2, which already incorporates
these fixes.  You can try out the 6.2-RC sets, and it will be trivial to
upgrade form RC to RELEASE.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TCP parameters and interpreting tcpdump output

2006-11-18 Thread Bill Moran

My comments are based both on the packet dump here and the source code
you posted earlier ...

On Sat, 18 Nov 2006 12:20:33 +
Dieter [EMAIL PROTECTED] wrote:
 In the tcpdump output below, the src machine is sending data to the
 bsd machine.  At one point during this test, the bsd machine is slowly
 falling behind, as shown in the smaller and smaller window size.
 
 It looks like at one point, the bsd machine takes 5.5 seconds to
 ack a packet.  :-(  Am I interpreting the -ttt delta time correctly?

I think so.  My guess would be that your process blocked on stdout.
You don't mention what you're doing with stdout from the program, are
you just letting it scroll on the terminal, or redirecting it to a file?

In any case, if stdout blocks (because the disk is slow, for example)
your recv buffer will fill up until your program can get the data
written.  As an experiment, try running the process and redirecting
stdout to /dev/null -- if it doesn't exhibit the problem, then you
need to look at where you're actually storing the data and speed that
part up.

Is the data coming in at a fairly constant rate?  If not, and you're only
having trouble when it bursts, you can work around this by keeping a
ring buffer and doing non-blocking writes.  It'll make your code more
complex, but it will allow your program to absorb some of the bursting
data and keep the window from closing -- especially if you've got plenty
of RAM.  If this is a constant rate of data, however, you're going to
need a faster way to store or process or whatever you do with it as it
comes in.

 Getsockopt() says bsd machine's send buffer = 33580, rec buffer = 197100
 Is there a way for the bsd machine to find out what the src machine's
 send buffer size is?

I don't know of any way but to ask them.  Again, it will only help if
it's a bursting problem.  If your receiving process is unable to keep
up with the required throughput, eventually you'll block and the other
end will run out of buffer space.

 I doubt that it is large enough for 5.5 seconds'
 worth of data, but it would be nice to know what the goal is.
 
 Towards the end of the log, it looks to me like both sides are a
 bit quick to resend data and acks?
 
 16 IP bsd.12340  src.rfe: . ack 1201508 win 65535
 000641 IP src.rfe  bsd.12340: P 1201508:1202824(1316) ack 1 win 4096
 000780 IP src.rfe  bsd.12340: P 1202824:1204140(1316) ack 1 win 4096
 13 IP bsd.12340  src.rfe: . ack 1204140 win 65535
 000953 IP src.rfe  bsd.12340: P 1204140:1205456(1316) ack 1 win 4096
 000938 IP src.rfe  bsd.12340: P 1205456:1206772(1316) ack 1 win 4096
 13 IP bsd.12340  src.rfe: . ack 1206772 win 65535
 000640 IP src.rfe  bsd.12340: P 1206772:1208088(1316) ack 1 win 4096
 000781 IP src.rfe  bsd.12340: P 1208088:1209404(1316) ack 1 win 4096
 12 IP bsd.12340  src.rfe: . ack 1209404 win 62903
 001110 IP src.rfe  bsd.12340: P 1209404:1210720(1316) ack 1 win 4096
 000780 IP src.rfe  bsd.12340: P 1210720:1212036(1316) ack 1 win 4096
 11 IP bsd.12340  src.rfe: . ack 1212036 win 60271
 000641 IP src.rfe  bsd.12340: P 1212036:1213352(1316) ack 1 win 4096
 000782 IP src.rfe  bsd.12340: P 1213352:1214668(1316) ack 1 win 4096
 13 IP bsd.12340  src.rfe: . ack 1214668 win 57639
 000953 IP src.rfe  bsd.12340: P 1214668:1215984(1316) ack 1 win 4096
 000941 IP src.rfe  bsd.12340: P 1215984:1217300(1316) ack 1 win 4096
 13 IP bsd.12340  src.rfe: . ack 1217300 win 55007
 000952 IP src.rfe  bsd.12340: P 1217300:1218616(1316) ack 1 win 4096
 000781 IP src.rfe  bsd.12340: P 1218616:1219932(1316) ack 1 win 4096
 11 IP bsd.12340  src.rfe: . ack 1219932 win 52375
 000798 IP src.rfe  bsd.12340: P 1219932:1221248(1316) ack 1 win 4096
 000794 IP src.rfe  bsd.12340: P 1221248:1222564(1316) ack 1 win 4096
 13 IP bsd.12340  src.rfe: . ack 1222564 win 49743
 000646 IP src.rfe  bsd.12340: P 1222564:1223880(1316) ack 1 win 4096
 000933 IP src.rfe  bsd.12340: P 1223880:1225196(1316) ack 1 win 4096
 13 IP bsd.12340  src.rfe: . ack 1225196 win 47111
 000954 IP src.rfe  bsd.12340: P 1225196:1226512(1316) ack 1 win 4096
 000625 IP src.rfe  bsd.12340: P 1226512:1227828(1316) ack 1 win 4096
 11 IP bsd.12340  src.rfe: . ack 1227828 win 44479
 000798 IP src.rfe  bsd.12340: P 1227828:1229144(1316) ack 1 win 4096
 000936 IP src.rfe  bsd.12340: P 1229144:1230460(1316) ack 1 win 4096
 12 IP bsd.12340  src.rfe: . ack 1230460 win 41847
 000953 IP src.rfe  bsd.12340: P 1230460:1231776(1316) ack 1 win 4096
 000624 IP src.rfe  bsd.12340: P 1231776:1233092(1316) ack 1 win 4096
 12 IP bsd.12340  src.rfe: . ack 1233092 win 39215
 000797 IP src.rfe  bsd.12340: P 1233092:1234408(1316) ack 1 win 4096
 000780 IP src.rfe  bsd.12340: P 1234408:1235724(1316) ack 1 win 4096
 11 IP bsd.12340  src.rfe: . ack 1235724 win 36583
 000953 IP src.rfe  bsd.12340: P 1235724:1237040(1316) ack 1 win 4096
 000937 IP src.rfe  bsd.12340: P 1237040:1238356(1316) ack 1 win 4096
 12 IP bsd.12340  src.rfe: . ack 1238356 win 33951

Re: TCP parameters

2006-11-17 Thread Bill Moran
In response to Bob M. [EMAIL PROTECTED]:

 On Thu, 2006-11-16 at 19:17 -0500, Bill Moran wrote:
 
  Window scaling is enabled by default.  I'd assumed that there would be a
  sysctl to disable it, but I can't seem to find one.
  
 
 fwiw, the net.inet.tcp.rfc1323  sysctl is for window scaling/ high
 performance extensions.

Thanks ... didn't think to look for that.

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Re: TCP parameters

2006-11-16 Thread Bill Moran
On Thu, 16 Nov 2006 15:17:26 +
Dieter [EMAIL PROTECTED] wrote:

 In the process of debugging a not-working-so-well TCP
 application, I've been asked to provide:
 
  cat /proc/sys/net/ipv4/tcp_window_scaling
  cat /proc/sys/net/ipv4/tcp_wmem
 
 Which of course results in No such file or directory.
 
 I suspect these are from Linux.  Are there equivalent
 parameters in FreeBSD 6.x ?

http://www.netadmintools.com/html/7tcp.man.html

Window scaling is enabled by default.  I'd assumed that there would be a
sysctl to disable it, but I can't seem to find one.

It looks as if tcp_wmem is the equivalent of recvspace, although the
description in that document is somewhat befuddling.

 The other end (non-FreeBSD non-open-source) is sending
 real-time data, and apparently is not able to keep up,
 its memory fills up, and it starts dropping packets.  I
 suspect the problem is a combination of too much latency
 (FreeBSD not sending ACKs fast enough) and not enough window
 size.

Can you get some tcpdumps of the traffic?  If the problem is what you
suspect, it should be evident in a packet dump.

 net.inet.tcp.recvspace and .sendspace  seem relevant,
 anything else?  I'm not a TCP wizard, so please feel free
 to point out things that should be obvious.  :-)

Those are maximum values, perhaps your application is not actually
allocating that much?  Calling getsockopt() on SO_SNDBUF and SO_RCVBUF
will tell you, and setsockopt() can be used to change them.

 I doubt that the BSD network stack has anything to do with this,
 but perhaps there is something that could be tweaked to help out.
 I'm hoping that updating the Ethernet device drivers (bge, nve)
 will result in less latency.

Latency isn't the only factor.  If your window size is enough, a little
extra latency shouldn't hurt.  Of course, if the thing is unable to
maintain the required throughput, that'll kill you every time.

 Then there is userland:
 
 Anyone want to code review a very simple 80 line TCP-to-stdout utility?

Sure, post it ... I'll have a look.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dual core processors

2006-11-15 Thread Bill Moran
In response to Jeff Mohler [EMAIL PROTECTED]:

 Is a stock kernel config the 'fast' way to go on these CPUs?
 
 Sure wish there was an 'options  I_WANNA_GO_FAST' or an  'options
 RICKY_BOBBY' that would just do all the right things.
 
 Still not sure which scheduler to go with..

Unless something has changed very recently, most of the schedulers are
considered experimental and have known bugs.  The only one that I know
is stable is SCHED_4BSD.  Apparently, SCHED_ULE has some nice performance
improvements when it's not causing panics.

If you're not interested/capable in doing kernel debugging, you probably
want to go with SCHED_4BSD.  It would appear that some day SCHED_ULE will
replace it, but not yet.

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Re: Network Monitoring Application Help, What do you use?

2006-11-15 Thread Bill Moran
In response to Sean Murphy [EMAIL PROTECTED]:

 I was looking into a Network/Server monitoring application that would do 
 the following
 
 
 Must have features
 email/page/sms if one of the rules fail
 has the ability to of course ping the device, ssh into or have someway 
 of checking if a daemon is running.
 
 Optional but nice features
 reporting statistics and system status (web based)
 restart a failed daemon
 syslog parsing
 remote administration

Nagios is a popular choice for this.  It has a gazillion different types
of checks it can do, but it doesn't do all your nice to haves.

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Re: OS-BS replacement

2006-11-15 Thread Bill Moran
In response to Arnold Shade [EMAIL PROTECTED]:
 
 In the /tools directory of all FreeBSD distribution there is an old
 program named OS-BS written by Thomas Wolfram. It is a multi-OS boot
 loader for MBR (there are two versions: osbs135.exe and osbsbeta.exe)
 It is rather old, works only under DOS, does not support 1024 cylinders
 boundary limitation, partitions hiding, etc.. Moreover os-bs has been
 evolved into commercial SystemSelector so it is no longer maintained by
 Thomas. However at the time being I continue the development of os-bs
 under the name mbldr, see:
 
 http://mbldr.sourceforge.net/
 
 It is under BSD license, has many cool features, ported under Linux,
 BSD and Windows, supports extended partitions, etc. I would like to
 suggest replacing os-bs with the mbldr at some point for FreeBSD
 distribution if it is acceptable. Could someone recommend me who I
 should contact (or what mailing list should I use) to discuss this
 opportunity?

I've copied [EMAIL PROTECTED], but I doubt there's any need to discuss
this at length.

I recommend doing the following:
1) Read the FreeBSD Porters Handbook:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/
2) Create a port for your program.
3) Submit a PR based on the guidelines in #1, be sure to note in the
   PR that this port supersedes the old os-bs port, so the committer
   can do the right thing.

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Re: FreeBSD UFS vulnerability: Is NIST off its medication, or am I missing something?

2006-11-14 Thread Bill Moran
In response to Colin Percival [EMAIL PROTECTED]:

 Bill Moran wrote:
  http://nvd.nist.gov/nvd.cfm?cvename=CVE-2006-5824
  
  Following the links around, it seems that you would have to mount a 
  corrupt or
  malicious filesystem in order to exploit this vulnerability.
  
  Yes, NIST claims there is no authentication required to exploit?  Are new 
  versions
  of FreeBSD suddenly allowing unauthenticated users to mount filesystems by 
  default?
  If so, something's wrong with my 6.1 workstation!
  
  It seems like this is the 2nd or 3rd vulnerability I've seen that's been 
  blown
  out of proportion by NIST, or am I missing something?
 
 CVE names are assigned, and NIST creates an entry in its database, whenever
 someone claims that a security problem exists; their purpose is to provide
 a consistent name for whatever people are talking about, not to decide what
 exactly constitutes a security issue (as I explained in my BSDCan'06 paper,
 different vendors have many different policies about what constitute security
 issues).
 
 In this case (and another very similar bug found by the MoKB people), the
 FreeBSD security team has no intention to handle the bug as a security issue;
 obviously this is a kernel bug and deserves to be fixed, but no more so than
 any other kernel bug, and in fact this bug seems far less important than most.

That was my thought.  In my opinion, anything that requires root access to
exploit doesn't constitute a security issue, since someone with root
privvies can do whatever they want anyway, by definition.

It looks as if MoKB has an axe to grind ... I expect we'll see a lot more
exaggerated security problems come out of them before November is over ...

Thanks for the feedback, Colin.

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Re: net-snmp and 6.1 (confusion)

2006-11-14 Thread Bill Moran
In response to gahn [EMAIL PROTECTED]:

 the entry bsnmpd_enable=NO does works and the
 result from sockstat showed there is no snmpd
 running. then i added following entries in rc.conf:
 
 snmpd_enable=YES
 snmpd_flags=-a -p /var/run/snmpd.pid
 snmptrapd_enable=YES
 snmptrapd_flags=-a -p /var/run/snmptrapd.pid
 snmpd_conffile=/usr/local/etc/snmp/snmpd.conf
 
 well, they started snmpd alright, but i am not sure
 which one: bsnmpd or net-snmpd since i still have
 error messages in snmpd.log:
 
 [init_smux] bind failed: Address already in use
 Error opening specified endpoint udp:161
 Server Exiting with code 1

Are you sure those messages aren't old, from before you disabled bsnmpd?

sockstat -4 should show you what is listening on that port.  net-snmpd
starts a process called snmpd, so you should be able to tell which
one is running by the process name.  If bsnmpd is still running, a
killall should shut it down.

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Re: Dual core processors

2006-11-14 Thread Bill Moran
In response to Robert Fitzpatrick [EMAIL PROTECTED]:

 I have a server with 6.1 and one dual-core processor and the SMP option
 was built in the kernel according to the doc below, but only zeros show
 up in the 'C' column of top after I've rebooted with the newly compiled
 kernel.
 
  http://www.freebsddiary.org/smp.php
 
 I did not add APIC_IO as the doc suggested as it complains the option is
 invalid, plus I did not do this for my other 5.4 server which shows all
 processors in top. Both configs have a device of apic, neither has the
 APIC_IO option. However, the other server is running 2 physical CPU's
 and I see 0 thru 3 in the C column in top. Also, dmesg shows CPU #1
 Launched along with everything else:
 
 esmtp# dmesg|grep CPU
 CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3010.67-MHz 686-class CPU)
   Logical CPUs per core: 2
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0: ACPI CPU on acpi0
 acpi_throttle0: ACPI CPU Throttling on cpu0
 cpu1: ACPI CPU on acpi0
 SMP: AP CPU #1 Launched!
 
 Why would I not see any other CPU numbers under top like I do in my
 other server?

Based on your dmesg, I don't believe you have a dual-cored CPU.  It
looks as if it's hyperthreaded, which is different.

Hyperthreading is disabled in FreeBSD by default because of possible
security issues.  It can be enabled by setting a sysctl ... I recommend
you do a bit of reading on the sysctl mechanism or it's behaviour might
confuse you.

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Re: image based stock spam

2006-11-13 Thread Bill Moran
In response to Brian [EMAIL PROTECTED]:

 Antony Mawer wrote:
  On 13/11/2006 12:00 PM, Brian wrote:
  Looks like the preferred approach many folks  re the above problem 
  is  fuzzyocr?   Since there isn't a port for  that, is there another 
  FreeBSD solution  worth  mentioning here?
 
  http://www.freshports.org/mail/p5-FuzzyOcr/
 
 ugh, I'm running a 6.2 prerelease.  The package doesn't exist, so I 
 build the port, or try to.  The tiff port wont build, so I pkg_add 
 that.  It gets a lil further along, the pkgconfig port won't build, I 
 pkg_add that.

If you don't report these to the ports team, they're unlikely to get
fixed.

 Then, a little further here comes an x windows install, a 
 31 mb download. I don't want that on my server.

Put NO_GUI=yes and NO_X11=yes in /etc/make.conf

-- 
Bill Moran
Collaborative Fusion Inc.

[EMAIL PROTECTED]
Phone: 412-422-3463x4023


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.




IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Detailed questions about kernel operation (was Re: 'help')

2006-11-13 Thread Bill Moran
In response to shin_ta [EMAIL PROTECTED]:

  I have some question about the Design and the Implementation of the
 FreeBSD Operating System 

You're questions are a too in-depth to easily answer on a mailing list.
I suggest you pick up a copy of The Design and Implementation of FreeBSD,
which covers these in detail.

And I suggest using a more descriptive subject line.

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Re: cant login to my server machine(FreeBSD-6.0)

2006-11-13 Thread Bill Moran
In response to dhaneshk k [EMAIL PROTECTED]:

 Hey can Any body help me?
 
 
 I have a free BSD  box ,due to some power failure its rebooted , but booting 
 failed ,
 The error I got was
 Trying  to mount root from ufs:/dev/ad4s1a  Warning : / was not properly 
 dismounted loading configuration files.  /etc/rc.conf :9:Synatx error  
 unterminated quoted String .Enter full pathname of shell on Return for 
 /bin/sh:
 
I preseed enter key then I got  #prompt .
 
   but no login prompt  to login to my machine: only getting #

You _are_ logged in.  If your console is marked secure (which it
obviously is, see /etc/ttys) then it doesn't ask for a password when
forced to boot to single user mode.  The most likely course to correct
the problem now, is to do the following:
fsck -p
mount -a

then fix the problem in /etc/rc.conf.

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Re: (SAMBA) issue with filehandles being released under 6.1-RELEASE?

2006-11-13 Thread Bill Moran
In response to Lowell Gilbert [EMAIL PROTECTED]:

 Garrett Cooper [EMAIL PROTECTED] writes:
 
  Just wondering if anyone else was experiencing the same issues that I
  am.. it's related to Samba-3.0.22c and sockets / filehandles.
 
  For some odd reason every couple days (~2 days) I have to restart the
  smbd daemon because it eats up 6000+ filehandles, just for sockets I
  assume (based on netstat output). At the point where it reaches 8000
  some filehandles open, the system refuses to fork, forcing me to login
  as root on the console directly instead of via SSH.
 
  My machine is a local / preferred master (smbd fights with XP Home
  clients because they want to be master browsers), with limited access
  to a few XP clients (4 clients at any given point in time), plus an
  XBox using smbclient with XBox Media Center.

Have you investigated the possibility that Samba legitimately needs more
filehandles than that?  Even if there are only 4 clients, they may be
opening 2000 files each (The output of smbstatus right before the system
exhausted its filehandles would be interesting)  If that's the case, you
can update the amount of available filehandles using sysctl or by
recompiling your kernel.

We have some PostgreSQL servers that require the filehandle limit be raised
to 5, for example.

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


FreeBSD UFS vulnerability: Is NIST off its medication, or am I missing something?

2006-11-13 Thread Bill Moran

http://nvd.nist.gov/nvd.cfm?cvename=CVE-2006-5824

Following the links around, it seems that you would have to mount a corrupt or
malicious filesystem in order to exploit this vulnerability.

Yes, NIST claims there is no authentication required to exploit?  Are new 
versions
of FreeBSD suddenly allowing unauthenticated users to mount filesystems by 
default?
If so, something's wrong with my 6.1 workstation!

It seems like this is the 2nd or 3rd vulnerability I've seen that's been blown
out of proportion by NIST, or am I missing something?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd help

2006-11-09 Thread Bill Moran
In response to mark [EMAIL PROTECTED]:
 
 Can this OS support Dual-CORE intel CPU??

Yes.  We're using 6.2-PRERELEASE on dual-core units at my work.

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Re: access-lists and QoS implementation

2006-11-09 Thread Bill Moran
In response to Mark [EMAIL PROTECTED]:

 I would like to use my FreeBSD box as an ip router,
 yet it lacks some functionality seen in Cisco boxes. I
 am looking for a way to create access lists and also
 do QoS such as LLQ, priority queing, etc. How can this
 be accomplished in FreeBSD? Also, is there a FreeBSD
 implementation of NBAR to classify traffic based on
 higher layer packet information? For example, I would
 like to allocate 20% bandwidth on an egress interface
 to traffic matching an ACL or a certain protocol.

Have a look at pf.  I believe it will do everything you need.

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Re: hp 1020 printer not working

2006-11-09 Thread Bill Campbell
On Thu, Nov 09, 2006, Sergio Lenzi wrote:
Hello... has anyone been able to make an HP1020 printer
work in FreeBSD 6.1-RELEASE

it finds the printer, attaches it, but when I try to boot the rom code
(shihp1020.img)
it blocks ... for the trace below you can see that it does not open the
printer,
usb status is 0x00  and error is 15

Have any solution to this

I think that the HP 1020 is a host-based Windows printer so would
require special support.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software, LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

Government's view of the economy could be summed up in a few short phrases:
If it moves, tax it.  If it keeps moving, regulate it.  And if it stops
moving, subsidize it -- Ronald Reagan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Questions on first-time installation (Re: (no subject))

2006-11-07 Thread Bill Moran
In response to Bob Schwartz [EMAIL PROTECTED]:
 Hi,
  
 First, I want to join the lists that you think are best for a highly
 knowledgable and experienced PC/Windows user who knows little about unix.
 Would you be so kind as to guide me, please?

You're on the right list, but it helps to use a subject line.

 The install moves flawlessly to fdisk, but I don't understand the screen
 print and options that the installation files offer when time to select
 where to install bsd.
  
 this workstation has two intallations of XP and a windows boot manager for
 selecting them. Under no circumstances can we afford for this to be
 disturbed (at least until we can finally get rid of windows forever!g).

You should not install on that machine, then.  Its not uncommon for first
time users to hose other installations.  Based on your under no
circumstances statement, you need to ask yourself two questions:
1) Do I have a complete and reliable backup of my Windows stuff?
2) Can I afford the time to restore from backup if I do something wrong?

If the answer to either of those questions is no then you should do one
of two things:
1) Recruit a trusted friend who has done this before to help.
2) Don't use that machine for your first install.

 I've put in an adaptec 2940 and a 146 gig SCSI drive...and this is the drive
 I want to install bsd on and play with it to learn, but the installation
 process does not appear to tell me how to install on this drive only..and
 whether or not if I also install BSD's boot manager, I may disturb the one
 windows is offering already.

The BSD boot manager _will_ displace any other boot manager, although it
works just as well in every instance I've done it.

 The box drives are three 73 gig SAS' in a raid configuration. We also don't
 want to disturb this.
 
 I've put in an adaptec 2940 and a 146 gig SCSI drive...and this is the drive
 I want to install bsd on and play with it to learn, but the installation
 process does not appear to tell me how to install on this drive only..and
 whether or not if I also install BSD's boot manager, I may disturb the one
 windows is offering already.

 How may I quickly get some help to understand the screen prints about the
 drives (they do not appear in the install function in any form resembling
 the numbers or sizes of drives this box actually has) and learn how to
 install this and get a boot option but without effecting the windows boot
 manager already there, please?

There's a lot of detail missing here.  Have you gone through the handbook
section on installation?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html

If that doesn't help with your questions, you're going to have to provide
more information.  You say you have 3 - 73G drives and a 146G drive, but
you don't describe how they are laid out.  What kind of RAID?  What do
you think you should see, and what do you actually see?

-- 
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Questions on first-time installation

2006-11-07 Thread Bill Moran
In response to Bob Schwartz [EMAIL PROTECTED]:

[snip]

 Also, your (or someone else's) suggestion that I disconnect the others for
 the moment is a good one...and I guess that that would do, except that I
 would not end up with a boot manager when I hook the others back up
 afterwards?
 
 Also, what, if anything, would that do to any of the data on the other
 drives after the fact?

That's a safe bet, from the standpoint of the Windows installations, but
it can cause grief if you try to plug everything back in.  I've had
problems with the BIOS moving drives around, then FreeBSD can't figure
out which drive it should be mounting off.  I'm not saying it's a bad
idea, all I'm saying is that it might not produce a long-term usable
installation.

-- 
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


<    5   6   7   8   9   10   11   12   13   14   >