Re: grappling with users

2005-04-15 Thread Giorgos Keramidas
On 2005-04-15 10:33, Timothy Smith [EMAIL PROTECTED] wrote:
 whats the correct method of creating a deamon user account, which you
 can use to start a deamon process but can't be logged into. so far i
 have not seen a single good explaination or example of this below is
 my svn user, who has /sbin/nologin, but can't be used because it runs
 the no login shell.  whats the correct way to do this?

 %su svn -c svnadmin create /usr/local/svn/PubWare
 This account is currently not available.

I don't know if this is the Correct(TM) way, but you can use the -m
option of su(1), and change your id from superuser to the user locked
out with /sbin/nologin:

: gothmog:/root# grep ^nobody /etc/passwd
: nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
: gothmog:/root# su -m nobody
: [EMAIL PROTECTED]:29am]/root id
: uid=65534(nobody) gid=65534(nobody) groups=65534(nobody)

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


Solution for ATAPI_TIMEOUT on FreeBSD 5.3 on some SuperMicro motherboards

2005-04-15 Thread Benson Wong
Hi, 

I know a few people have had ATAPI_TIMEOUT errors when installing
5.3-RELEASE on SuperMicro motherboards. I got it successfully
installed on a SuperMicro X6DHE-X8 which has dual Broadcom 5721 which
are not supported in 5.3-RELEASE. I wrote up the solution here:

http://www.mostlygeek.com/node/22

Hope this helps anybody facing ATAPI_TIMEOUT problems. 

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


Re: 5.8TB RAID5 SATA Array Questions

2005-04-15 Thread Chad Leigh -- Shire . Net LLC
On Apr 14, 2005, at 5:28 PM, Benson Wong wrote:
So theoretically it should go over 1000TBI've conducted several 
bastardized
installations due to sysinstall not being able to do anything over 
the 2TB
limit by creating the partition ahead of timeI am going to be 
attacking
this tonight and my efforts will be primarily focused on creating one 
large
5.8TB slice.wish me luck!!


PS: Muhaa haa haa!
You're probably going to run into boo hoo hoo hoo. Most likely you
won't be able to get over the 2TB limit. Also don't use sysinstall, I
was never able to get it to work well. Probably because my arrays were
mounted over fiber channel and fdisk craps out.
This is what I did:
dd if=/dev/zero of=/dev/da0 bs=1k count=1
disklabel -rw da0 audo
newfs /dev/da0

I have no experience doing any of this.  But this has come up before in 
the lists and someone posted on the magic incantations to use to create 
these things by hand.  So use google or other search engine to search 
the list archives on tb sized file systems.  There is good info there

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


Re: the Gimp no longer opens jpeg files

2005-04-15 Thread dima
On Thu, Apr 14, 2005 at 09:12:26PM +0200, FreeBsdBeni wrote:
 On Thursday 14 April 2005 09:59, dima wrote:
  Hi All,
  I've cvsuped from 5.3-p5 to 5.4-RC2, done portupgrade and now gimp-2.2.6,1
  can't open jpeg files with the following message:
 
  /usr/X11R6/libexec/gimp/2.2/plug-ins/jpeg: fatal error: Segmentation fault
 
 
  What have I missed?
  please, help me.
 
 
  I found something in google, but it is in German :-( I don't know this
  language http://www.bsdforen.de/showthread.php?t=9667
 
 
  -Dmitry
 
 In the last entry there is a link with the answer : http://tinyurl.com/6p6su 
 (an update of libexif should do the trick they say...).
 
 Hope this helps,
 -- 
 Beni.

Yes it helped.
It is looks like a bit deley between mirrors as I cvsuped on 14th apr in the
morning with cvsup4.ru.FreeBSD.org and there was not libexif-0.6.12_1 bugfix
port which appeared on 13th. May be it is because of shift of time.
Nethermind. Now works fine.

Thanks a lot.

-Dmitry

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


Re: lightweight bittorrent client that does queueing

2005-04-15 Thread Svein Halvor Halvorsen

* Brian John [2005-04-14 21:32 -0500]
  I am looking for a lightweight bittorrent client that does download queueing.
  I know this is somewhat of a difficult thing to ask for, but I think it is
  possible.  I've tried ctorrent, bittorrent and azureus.  Obviously ctorrent
  and bittorrrent didn't work for me (because they don't do queueing).  Azureus
  was great, except it slows down my entire computer.  Actually, a
  console-based client that would do queueing would be ideal, but I don't think
  one exists.  So what is the most lightweight client that I can get that will
  do download queueing?


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


/var/spool/clientmque 185meg

2005-04-15 Thread Warren
/var/spool/clientmqueue -- 185meg

How do i get the messages from the above to the root mail folder of my 
machine ?

im willing to provide any neccessary information to help.
-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: lightweight bittorrent client that does queueing

2005-04-15 Thread Warren
On Fri, 15 Apr 2005 7:47 pm, Svein Halvor Halvorsen wrote:
 * Brian John [2005-04-14 21:32 -0500]

   I am looking for a lightweight bittorrent client that does download
 Azureus was great, except it slows down my entire
  computer. 

I had the exact same issue with Azureus.  The problem is that jdk1.4 has a 
memory leak in it.  Try telling azureus to use jdk 1.5 and all your previous 
problems will disappear.

-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: samhain - starts on boot?

2005-04-15 Thread Alex Zbyslaw
[EMAIL PROTECTED] wrote:
I am running 5.3. I decided to install samhain through ports... 
Afterwards I messed around with it running it -D mode for a bit, I 
killed the process...
Never really bothered with it again but I have noticed that it will 
start on boot without any indication of it in rc.conf or rc.conf.local

Why?
Did me running it in -D mode that one time make it add some startup 
script or when it installed it added it's own startup script?
Try looking in /usr/local/etc/rc.d for a startup script, or run 
  pkg_info -L 'samhain*'

and look through what it installs for likely candidates.
Or, if you're not using it, why not uninstall it?
--Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FastCGI on FreeBSD 5.3

2005-04-15 Thread Pat Maddox
I've read that FastCGI 0.8.5 has a memory leak, which is fixed in
0.8.6.  However, 0.8.6 isn't in ports yet, so I can't just upgrade. 
Someone mentioned a way to patch it to fix the leak, but I haven't
been able to find any patch info for FreeBSD.  Anyone know how I can
patch/upgrade on FreeBSD 5.3?  Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Understanding differences between releases and ports

2005-04-15 Thread Stevan Tiefert
Hello list,

I have problems understanding a base concept :-(

Is that right, when I install 5.2.1-RELEASE and I install the 
ports-distribution with cvsup and keep them up to date, that the ports I 
build afterwards with make install are newer than the 
release-precompiled-packages distributed with 5.2.1-RELEASE?

Is that right that this procedure (with cvsup) is NOT ONLY correcting paths 
for the distfiles of ports in the ports-tree, then also replaces old versions 
of ports by newer ones?

If so, does it mean that I could use 5.2.1-RELEASE and an updated portstree 
resulting in getting in example gnome 2.8 and kde 3.4 and so on? Have I to 
see the RELEASE-version abstracted separated from the portstree? And how is 
compatibility granted between different RELEASE-versions and the 
up-to-date-ports-tree?

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


Re: Understanding differences between releases and ports

2005-04-15 Thread Chris
Stevan Tiefert wrote:
 Hello list,
 
 I have problems understanding a base concept :-(
 
 Is that right, when I install 5.2.1-RELEASE and I install the 
 ports-distribution with cvsup and keep them up to date, that the ports I 
 build afterwards with make install are newer than the 
 release-precompiled-packages distributed with 5.2.1-RELEASE?

Correct.

 Is that right that this procedure (with cvsup) is NOT ONLY correcting paths 
 for the distfiles of ports in the ports-tree, then also replaces old versions 
 of ports by newer ones?

Yes and no. When you CVSup, you are refreshing your ports tree. If you
have a port installed (take mutt for example) and after the CVSup the
ports tree has a newer version, then you need to run portupdate OR
portmanager. Once that is done, then you have installed the newest mutt.

 If so, does it mean that I could use 5.2.1-RELEASE and an updated portstree 
 resulting in getting in example gnome 2.8 and kde 3.4 and so on? Have I to 
 see the RELEASE-version abstracted separated from the portstree? And how is 
 compatibility granted between different RELEASE-versions and the 
 up-to-date-ports-tree?

This is somewhat complex; You, as the user - need to decide, do I want
to use 5.2.1 and cvsup something like KDE, THEN compile it and wait mega
hours OR, does installing a new release of FreeBSD make more sence.

You need to weigh out what's proper for you. Some of us will not only
CVSup the ports tree, but also CVSup the src to keep out systems up to
date. While other prefer to do a clean install of a newer release. Then
again, if you never CVSup the src tree - there is always FreeBSD-Update
(that updates the src bineries).

There are a few options for you to go with - but YOU need to consider
what's the best way for you to handle it.

For me, I CVSup both the src and ports tree - so my system is really
never more then a week off when it comes to my ports. I'll CVSup the src
tree when 5.4-RELEASE is out, and continue to CVSup my ports.

-- 
Best regards,
Chris

In case of doubt, make it sound convincing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


see processes owned by other users

2005-04-15 Thread Alexey Privalov

Hi all,

I'm using 5.3-STABLE now (FreeBSD 5.3-STABLE #5: Mon Dec  6 17:45:08 NOVT 2004).

I've setted security.mac.seeotheruids.enabled to 0 in sysctl.conf, so I can 
see my own processes only... 
With one exception, if a process was started in jail with the same UID (but 
not me directly) then I could see this too.
Is there a feature or bug?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Understanding differences between releases and ports

2005-04-15 Thread Stevan Tiefert
Am Freitag, 15. April 2005 14:44 schrieb Chris:
 Stevan Tiefert wrote:
  Hello list,
 
  I have problems understanding a base concept :-(
 
  Is that right, when I install 5.2.1-RELEASE and I install the
  ports-distribution with cvsup and keep them up to date, that the ports I
  build afterwards with make install are newer than the
  release-precompiled-packages distributed with 5.2.1-RELEASE?

 Correct.

  Is that right that this procedure (with cvsup) is NOT ONLY correcting
  paths for the distfiles of ports in the ports-tree, then also replaces
  old versions of ports by newer ones?

 Yes and no. When you CVSup, you are refreshing your ports tree. If you
 have a port installed (take mutt for example) and after the CVSup the
 ports tree has a newer version, then you need to run portupdate OR
 portmanager. Once that is done, then you have installed the newest mutt.

  If so, does it mean that I could use 5.2.1-RELEASE and an updated
  portstree resulting in getting in example gnome 2.8 and kde 3.4 and so
  on? Have I to see the RELEASE-version abstracted separated from the
  portstree? And how is compatibility granted between different
  RELEASE-versions and the up-to-date-ports-tree?

 This is somewhat complex; You, as the user - need to decide, do I want
 to use 5.2.1 and cvsup something like KDE, THEN compile it and wait mega
 hours OR, does installing a new release of FreeBSD make more sence.

 You need to weigh out what's proper for you. Some of us will not only
 CVSup the ports tree, but also CVSup the src to keep out systems up to
 date. While other prefer to do a clean install of a newer release. Then
 again, if you never CVSup the src tree - there is always FreeBSD-Update
 (that updates the src bineries).

 There are a few options for you to go with - but YOU need to consider
 what's the best way for you to handle it.

 For me, I CVSup both the src and ports tree - so my system is really
 never more then a week off when it comes to my ports. I'll CVSup the src
 tree when 5.4-RELEASE is out, and continue to CVSup my ports.

Hello again,

what do you mean with src? The source in /usr/src or the binaries?

And a second question: If I update with portupdate, then I am NOT updating the 
base-system, isn't it (like the shell, kernel and so on...)? How to update 
the base-system?

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


Re: Default root password for FreeBSD 4.2-RC2

2005-04-15 Thread Jerry McAllister
 
 Hi,
 
 May I know the default root password for FreeBSD 5.4-RC2? My system
 was previously running FreeBSD 5.3-SECURITY. Then I set the option in
 sysinstall to 5.4-RC2 and upgrade the base distribution. After that I
 accidentally rebooted the server. Now I could no longer access the
 server.

There is none.  
When FreeBSD is first installed, you are offered the option, during
installation, to specify a root password.If that was done, then
that is it.   If not, there is no root password.   You could log in
to root without a password - a dangerous situation which should not
be left that way.

But, the system is also set up by default to disallow a root log-in
from a remote host.   So, you would have to be at the console in 
order to log in as root unless that has been modified.

If you are at the console, you will need to do a boot to single user
mode, do an fsck and then mount needed file systems.  Then you can
set the root password and any config stuff to allow logins as needed.

jerry

 
 Thanks
 ___
 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]


Re: 5.8TB RAID5 SATA Array Questions

2005-04-15 Thread Nick Pavlica
I am going to be attacking this tonight and my efforts will be primarily 
focused on creating one large 5.8TB slice.wish me luck!! 

How did this go? Were you able to create the very large slice?
--Nick 

--
  
 *From:* Nick Pavlica [mailto:[EMAIL PROTECTED] 
 *Sent:* Thursday, April 14, 2005 2:49 PM
 *To:* Benson Wong
 *Cc:* [EMAIL PROTECTED]; freebsd-questions@freebsd.org
 *Subject:* Re: 5.8TB RAID5 SATA Array Questions
  
   Is there any limitations that would prevent a single volume that large? 
 (if
  I remember there is a 2TB limit or something)
 2TB is the largest for UFS2. 1TB is the largest for UFS1.
 
 Is the 2TB limit that you mention only for x86? This file system 
 comparison lists the maximum size to be much larger (
 http://en.wikipedia.org/wiki/Comparison_of_file_systems).
 
 --Nick

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


Re: 5.8TB RAID5 SATA Array Questions

2005-04-15 Thread Nick Evans
On Thu, 14 Apr 2005 17:13:48 -0500
Edgar Martinez [EMAIL PROTECTED] wrote:

 Benson..GREAT RESPONSE!! I Don't think I could have done any better myself.
 Although I knew most of the information you provided, it was good to know
 that my knowledge was not very far off. It's also reassuring that I'm not
 the only nut job building ludicrous systems..
 
  
 
 Nick, I believe that we may have some minor misinformation on our hands..
 
  
 
 I refer you both to http://www.freebsd.org/projects/bigdisk/ which according
 to the page.
 
  
 
 When the UFS filesystem was introduced to BSD in 1982, its use of 32 bit
 offsets and counters to address the storage was considered to be ahead of
 its time. Since most fixed-disk storage devices use 512 byte sectors, 32
 bits allowed for 2 Terabytes of storage. That was an almost un-imaginable
 quantity for the time. But now that 250 and 400 Gigabyte disks are available
 at consumer prices, it's trivial to build a hardware or software based
 storage array that can exceed 2TB for a few thousand dollars.
 
 The UFS2 filesystem was introduced in 2003 as a replacement to the original
 UFS and provides 64 bit counters and offsets. This allows for files and
 filesystems to grow to 2^73 bytes (2^64 * 512) in size and hopefully be
 sufficient for quite a long time. UFS2 largely solved the storage size
 limits imposed by the filesystem. Unfortunately, many tools and storage
 mechanisms still use or assume 32 bit values, often keeping FreeBSD limited
 to 2TB.
 
 So theoretically it should go over 1000TB.I've conducted several bastardized
 installations due to sysinstall not being able to do anything over the 2TB
 limit by creating the partition ahead of time.I am going to be attacking
 this tonight and my efforts will be primarily focused on creating one large
 5.8TB slice..wish me luck!! 
 
  
 
 PS: Muhaa haa haa!
 

You'll need to use GPT to make this work for anything over 2TB. Man gpt

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


make release

2005-04-15 Thread Kövesdán Gábor
Hello there,
I'm about to build a whole FreeBSD system with optimized code for my own 
purposes. I've read this document:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/release-build.html
According this I should make a CVS mirror and follow the steps that the 
documention mentions. It would be awful to make a whole CVS mirror, 
since I would like to build only a 5-STABLE distribution. There is an 
example, that is highly determined by this approach with cvs mirroring, 
thus it isn't entirely useful for me, because I'd like to avoid mucking 
with cvs. If somebody knows how to make full release isos from a simple 
cvsupped source tree, please let me know.

Cheers,
Gábor Kövesdán
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


BIND upgrade from ports....

2005-04-15 Thread Eric F Crist
Hello list,
First off, please reply directly to me (with CC to list), as I'm no 
longer a member of the list. (Too much erroneous traffic.)

FreeBSD 5.3 uses BIND 9.3.0 and I'm trying to upgrade to 9.3.1.  I know 
with PERL, you can set an option to use-ports-dist or something like 
that so that system perl is disabled and perl from ports is used 
instead.

Is there a similar option for BIND, or do I need to symlink the execs 
from /usr/sbin/... to /usr/local/sbin?

Thanks.
___
Eric F Crist  I am so smart, S.M.R.T!
Secure Computing Networks  -Homer J Simpson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BIND upgrade from ports....

2005-04-15 Thread Eric F Crist
On Apr 15, 2005, at 10:11 AM, Eric F Crist wrote:
Hello list,
First off, please reply directly to me (with CC to list), as I'm no 
longer a member of the list. (Too much erroneous traffic.)

FreeBSD 5.3 uses BIND 9.3.0 and I'm trying to upgrade to 9.3.1.  I 
know with PERL, you can set an option to use-ports-dist or something 
like that so that system perl is disabled and perl from ports is used 
instead.

Is there a similar option for BIND, or do I need to symlink the execs 
from /usr/sbin/... to /usr/local/sbin?

Thanks.
Sorry for the self-reply, but I answered my own question.  Doing a 
little reading, the following command will do what I require:

From within /usr/ports/dns/bind9, I executed the following:
# make WITH_PORT_REPLACES_BASE_BIND9=yes install clean
All is updated!
Thanks.
___
Eric F Crist  I am so smart, S.M.R.T!
Secure Computing Networks  -Homer J Simpson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: 5.8TB RAID5 SATA Array Questions

2005-04-15 Thread Edgar Martinez
Yeah it was pretty much boo hoo hoo...it appears we have either backplane,
MI cable issues, or controller problems...I was only getting 11 drives
available with improper identification...so I am going thru the tedious task
of ripping it all down, and testing backplanes, drives, and cables...one at
a time...

On a side note...I was able to do my bastardization procedure using a live
cd to get it up to 3.8TB...that was as far as I took it as I want to get the
other problems fixed first...

Unfortunately, due to my determination (aka: sore loser) one of two options
exist...this WILL work...or one of us is going to die trying...

Is it just me, or does everyone try to plead, reason, and insult their
equipment...I swear to god, it derives pleasure from frustration...

-Original Message-
From: Benson Wong [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 6:29 PM
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Subject: Re: 5.8TB RAID5 SATA Array Questions

 
 So theoretically it should go over 1000TB.I've conducted several
bastardized
 installations due to sysinstall not being able to do anything over the 2TB
 limit by creating the partition ahead of time.I am going to be attacking
 this tonight and my efforts will be primarily focused on creating one
large
 5.8TB slice..wish me luck!! 
 
   
 
 PS: Muhaa haa haa! 
You're probably going to run into boo hoo hoo hoo. Most likely you
won't be able to get over the 2TB limit. Also don't use sysinstall, I
was never able to get it to work well. Probably because my arrays were
mounted over fiber channel and fdisk craps out.

This is what I did: 

dd if=/dev/zero of=/dev/da0 bs=1k count=1
disklabel -rw da0 audo
newfs /dev/da0

That creates one large slice, UFS2, for FreeBSD. Let know if you get
it over 2TB, I was never able to have any luck.

Another reason you might want to avoid a super large file system is
that UFS2 is not journaling. If the server crashes it will take fschk
a LONG time to check all those inodes!

Ben.

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


RE: 5.8TB RAID5 SATA Array Questions

2005-04-15 Thread Edgar Martinez
Sorry for the delay in response.I had to go to the IRS today.OMFG.what a
model of inefficiency.

 

I am having some minor hardware issues with the build that we are going to
be working on to get corrected first.but I will def keep everyone informed
on what is going on..

 

  _  

From: Nick Pavlica [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 9:37 AM
To: [EMAIL PROTECTED]
Cc: Benson Wong; freebsd-questions@freebsd.org
Subject: Re: 5.8TB RAID5 SATA Array Questions

 

I am going to be attacking this tonight and my efforts will be primarily
focused on creating one large 5.8TB slice..wish me luck!! 
 
How did this go?  Were you able to create the very large slice?


 --Nick 

 


  _  


From: Nick Pavlica [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 14, 2005 2:49 PM
To: Benson Wong
Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: Re: 5.8TB RAID5 SATA Array Questions

 

 Is there any limitations that would prevent a single volume that large?
(if
 I remember there is a 2TB limit or something)
2TB is the largest for UFS2. 1TB is the largest for UFS1.

Is the 2TB limit that you mention only for x86?  This file system comparison
lists the maximum size to be much larger
(http://en.wikipedia.org/wiki/Comparison_of_file_systems ).

--Nick

 

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


RE: 5.8TB RAID5 SATA Array Questions

2005-04-15 Thread Edgar Martinez
Interesting...

gpt add [-b number] [-i index] [-s count] [-t type] device ...
 The add command allows the user to add a new partition to an
 existing table.  By default, it will create a UFS partition
covering the first available block of an unused disk space.  The
 command-specific options can be used to control this behaviour.

I am assuming that the docs were not updated to reflect that its talking
about UFS2? Or is it actually correct?

-Original Message-
From: Nick Evans [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 9:45 AM
To: [EMAIL PROTECTED]
Cc: 'Nick Pavlica'; 'Benson Wong'; freebsd-questions@freebsd.org
Subject: Re: 5.8TB RAID5 SATA Array Questions

On Thu, 14 Apr 2005 17:13:48 -0500
Edgar Martinez [EMAIL PROTECTED] wrote:

 Benson..GREAT RESPONSE!! I Don't think I could have done any better
myself.
 Although I knew most of the information you provided, it was good to know
 that my knowledge was not very far off. It's also reassuring that I'm not
 the only nut job building ludicrous systems..
 
  
 
 Nick, I believe that we may have some minor misinformation on our hands..
 
  
 
 I refer you both to http://www.freebsd.org/projects/bigdisk/ which
according
 to the page.
 
  
 
 When the UFS filesystem was introduced to BSD in 1982, its use of 32 bit
 offsets and counters to address the storage was considered to be ahead of
 its time. Since most fixed-disk storage devices use 512 byte sectors, 32
 bits allowed for 2 Terabytes of storage. That was an almost un-imaginable
 quantity for the time. But now that 250 and 400 Gigabyte disks are
available
 at consumer prices, it's trivial to build a hardware or software based
 storage array that can exceed 2TB for a few thousand dollars.
 
 The UFS2 filesystem was introduced in 2003 as a replacement to the
original
 UFS and provides 64 bit counters and offsets. This allows for files and
 filesystems to grow to 2^73 bytes (2^64 * 512) in size and hopefully be
 sufficient for quite a long time. UFS2 largely solved the storage size
 limits imposed by the filesystem. Unfortunately, many tools and storage
 mechanisms still use or assume 32 bit values, often keeping FreeBSD
limited
 to 2TB.
 
 So theoretically it should go over 1000TB.I've conducted several
bastardized
 installations due to sysinstall not being able to do anything over the 2TB
 limit by creating the partition ahead of time.I am going to be attacking
 this tonight and my efforts will be primarily focused on creating one
large
 5.8TB slice..wish me luck!! 
 
  
 
 PS: Muhaa haa haa!
 

You'll need to use GPT to make this work for anything over 2TB. Man gpt

Nick

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


Re: Understanding differences between releases and ports

2005-04-15 Thread Chris
Stevan Tiefert wrote:
 Am Freitag, 15. April 2005 14:44 schrieb Chris:
 
Stevan Tiefert wrote:

Hello list,

I have problems understanding a base concept :-(

Is that right, when I install 5.2.1-RELEASE and I install the
ports-distribution with cvsup and keep them up to date, that the ports I
build afterwards with make install are newer than the
release-precompiled-packages distributed with 5.2.1-RELEASE?

Correct.


Is that right that this procedure (with cvsup) is NOT ONLY correcting
paths for the distfiles of ports in the ports-tree, then also replaces
old versions of ports by newer ones?

Yes and no. When you CVSup, you are refreshing your ports tree. If you
have a port installed (take mutt for example) and after the CVSup the
ports tree has a newer version, then you need to run portupdate OR
portmanager. Once that is done, then you have installed the newest mutt.


If so, does it mean that I could use 5.2.1-RELEASE and an updated
portstree resulting in getting in example gnome 2.8 and kde 3.4 and so
on? Have I to see the RELEASE-version abstracted separated from the
portstree? And how is compatibility granted between different
RELEASE-versions and the up-to-date-ports-tree?

This is somewhat complex; You, as the user - need to decide, do I want
to use 5.2.1 and cvsup something like KDE, THEN compile it and wait mega
hours OR, does installing a new release of FreeBSD make more sence.

You need to weigh out what's proper for you. Some of us will not only
CVSup the ports tree, but also CVSup the src to keep out systems up to
date. While other prefer to do a clean install of a newer release. Then
again, if you never CVSup the src tree - there is always FreeBSD-Update
(that updates the src bineries).

There are a few options for you to go with - but YOU need to consider
what's the best way for you to handle it.

For me, I CVSup both the src and ports tree - so my system is really
never more then a week off when it comes to my ports. I'll CVSup the src
tree when 5.4-RELEASE is out, and continue to CVSup my ports.
 
 
 Hello again,
 
 what do you mean with src? The source in /usr/src or the binaries?

Like the ports tree (/usr/ports) there is the src tree (/usr/src). The
src tree can be updated and compiled to either a new release, or the
security patches (however, you can patch it instead of buildworld etc.)
This is all covered in the Handbook.

 And a second question: If I update with portupdate, then I am NOT updating 
 the 
 base-system, isn't it (like the shell, kernel and so on...)? How to update 
 the base-system?

Both portupgrade and portmanager (there are others also) only deal with
the ports tree (/usr/ports). You can CVSup the src tree upgrade to a new
release, and RC, stable, or stay with the sec-branch (IE:
5.3-RELEASE-p9). Again, this is covered in the Handbook. Mind you tho -
If you are a newb, building world may not be for you at this time. If
however, you are adventureous, don't mind re installing should things go
bad, or if you missed some steps when doing this - then by all means,
have at it. But - do so at your own risk of course.

-- 
Best regards,
Chris

When you dial a wrong number, you never get a busy signal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.8TB RAID5 SATA Array Questions

2005-04-15 Thread Dan Nelson
In the last episode (Apr 15), Nick Evans said:
 You'll need to use GPT to make this work for anything over 2TB. Man
 gpt

Or don't bother with a partition table at all, which makes growing the
filesystem later on quite a bit easier.

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


Re: Problem with SoundBlaster Audigy on FreeBSD 5.4-STABLE

2005-04-15 Thread Alexander Chamandy
On 4/14/05, Alexander Chamandy [EMAIL PROTECTED] wrote:
 I'm having problems after a recent upgrade to FreeBSD 5.4-STABLE.
 RC-1 seemed to work fine, but now my media files (audio and video
 alike) are not properly playing.  And I get this error:
 
 pcm0:play:0: play interrupt timeout, channel dead

This problem seems to be directly related to ACPI being enabled.  Once
I disable it sound works fine.

 
 Has anyone experienced this and if so, know of a reasonable workaround?
 
 dmesg:
 
 FreeBSD 5.4-STABLE #14: Thu Apr 14 16:29:53 EDT 2005
 [EMAIL PROTECTED]:/usr/src/sys/amd64/compile/vetra
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: AMD Athlon(tm) 64 Processor 3200+ (2009.15-MHz K8-class CPU)
   Origin = AuthenticAMD  Id = 0xf48  Stepping = 8
 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
   AMD Features=0xe0500800SYSCALL,NX,MMX+,LM,3DNow+,3DNow
 real memory  = 2147418112 (2047 MB)
 avail memory = 2064994304 (1969 MB)
 ACPI APIC Table: Nvidia AWRDACPI
 ioapic0 Version 1.1 irqs 0-23 on motherboard
 acpi0: Nvidia AWRDACPI on motherboard
 acpi0: Power Button (fixed)
 Timecounter ACPI-fast frequency 3579545 Hz quality 1000
 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
 cpu0: ACPI CPU on acpi0
 acpi_button0: Power Button on acpi0
 pcib0: ACPI Host-PCI bridge port 0xcf0-0xcf3,0xcf8-0xcff on acpi0
 pci0: ACPI PCI bus on pcib0
 isab0: PCI-ISA bridge at device 1.0 on pci0
 isa0: ISA bus on isab0
 pci0: serial bus, SMBus at device 1.1 (no driver attached)
 ohci0: nVidia nForce3 USB Controller mem 0xfc003000-0xfc003fff irq
 22 at device 2.0 on pci0
 usb0: OHCI version 1.0, legacy support
 usb0: SMM does not respond, resetting
 usb0: nVidia nForce3 USB Controller on ohci0
 usb0: USB revision 1.0
 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 3 ports with 3 removable, self powered
 ohci1: nVidia nForce3 USB Controller mem 0xfc004000-0xfc004fff irq
 21 at device 2.1 on pci0
 usb1: OHCI version 1.0, legacy support
 usb1: SMM does not respond, resetting
 usb1: nVidia nForce3 USB Controller on ohci1
 usb1: USB revision 1.0
 uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 3 ports with 3 removable, self powered
 pci0: serial bus, USB at device 2.2 (no driver attached)
 pci0: network, ethernet at device 5.0 (no driver attached)
 pci0: multimedia, audio at device 6.0 (no driver attached)
 atapci0: nVidia nForce3 UDMA133 controller port
 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 8.0 on
 pci0
 ata0: channel #0 on atapci0
 ata1: channel #1 on atapci0
 pcib1: ACPI PCI-PCI bridge at device 10.0 on pci0
 pci1: ACPI PCI bus on pcib1
 pcm0: Creative Audigy (EMU10K2) port 0xa000-0xa01f irq 19 at device
 7.0 on pci1
 pcm0: TriTech TR28602 AC97 Codec
 pci1: serial bus, FireWire at device 7.2 (no driver attached)
 ahc0: Adaptec 2940 Ultra2 SCSI adapter port 0xa800-0xa8ff mem
 0xfb004000-0xfb004fff irq 16 at device 8.0 on pci1
 aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
 atapci1: SiI 3512 SATA150 controller port
 0xbc00-0xbc0f,0xb800-0xb803,0xb400-0xb407,0xb000-0xb003,0xac00-0xac07
 mem 0xfb006000-0xfb0061ff irq 17 at device 13.0 on pci1
 ata2: channel #0 on atapci1
 ata3: channel #1 on atapci1
 pcib2: ACPI PCI-PCI bridge at device 11.0 on pci0
 pci2: ACPI PCI bus on pcib2
 pci2: display, VGA at device 0.0 (no driver attached)
 pci2: display at device 0.1 (no driver attached)
 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
 kbd0 at atkbd0
 orm0: ISA Option ROMs at iomem
 0xd8000-0xdd7ff,0xd-0xd7fff,0xc-0xccfff on isa0
 sc0: System console at flags 0x100 on isa0
 sc0: VGA 16 virtual consoles, flags=0x300
 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
 uhub2: vendor 0x0543 product 0x1167, class 9/0, rev 2.00/ff.ff, addr 2
 uhub2: 4 ports with 4 removable, self powered
 ugen0: Saitek Saitek X45, rev 1.00/0.02, addr 3
 ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.00, addr 4, iclass 3/1
 ums0: 3 buttons and Z dir.
 Timecounter TSC frequency 2009148084 Hz quality 800
 Timecounters tick every 1.000 msec
 ad2: 58644MB IC35L060AVVA07-0/VA3OA52A [119150/16/63] at ata1-master UDMA100
 acd0: DVDR TEAC DV-W516GA/C4S2 at ata1-slave PIO4
 da0 at ahc0 bus 0 target 0 lun 0
 da0: SEAGATE ST118273LW 6246 Fixed Direct Access SCSI-2 device
 da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit)
 da0: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C)
 Mounting root from ufs:/dev/ad2s1a
 nv0: NVIDIA nForce MCP3 Networking Adapter port 0xd000-0xd007 mem
 0xfc00-0xfc000fff irq 22 at device 5.0 on pci0
 nv0: Ethernet address 00:0d:61:14:6f:39
 nv0: Ethernet address: 00:0d:61:14:6f:39
 miibus0: MII bus on nv0
 rlphy0: RTL8201L 10/100 media interface on miibus0
 rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 
 --
 Best wishes,
 
 Alexander G. 

RE: 5.8TB RAID5 SATA Array Questions

2005-04-15 Thread Edgar Martinez
OK...so now we are going into some new territory...I am curious if you would
care to elaborate a bit more...I am intrigued...if anyone wants me to do
some experiments or test something, let me know...I for one welcome any
attempts at pushing any limits or trying new things...

-Original Message-
From: Dan Nelson [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 11:18 AM
To: Nick Evans
Cc: [EMAIL PROTECTED]; 'Benson Wong'; 'Nick Pavlica';
freebsd-questions@freebsd.org
Subject: Re: 5.8TB RAID5 SATA Array Questions

In the last episode (Apr 15), Nick Evans said:
 You'll need to use GPT to make this work for anything over 2TB. Man
 gpt

Or don't bother with a partition table at all, which makes growing the
filesystem later on quite a bit easier.

-- 
Dan Nelson
[EMAIL PROTECTED]

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


How to get best results from FreeBSD-questions

2005-04-15 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2004/09/19 02:40:48 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions, -newbies or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2005-04-15 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


Re: 5.8TB RAID5 SATA Array Questions

2005-04-15 Thread Dan Nelson
In the last episode (Apr 15), Edgar Martinez said:
 OK...so now we are going into some new territory...I am curious if
 you would care to elaborate a bit more...I am intrigued...if anyone
 wants me to do some experiments or test something, let me know...I
 for one welcome any attempts at pushing any limits or trying new
 things...

If your array is just going to used for one large filesystem, you can
skip any partitioning steps and newfs the base device directly.  then
if you decide to grow the array (and if your controller supports
nondestructive resizing), you can use growfs to expand the filesystem
without the extra step of manually adjusting a partition table.

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


Re: 5.8TB RAID5 SATA Array Questions

2005-04-15 Thread Nick Pavlica
On 4/15/05, Edgar Martinez [EMAIL PROTECTED] wrote:
 
 OK...so now we are going into some new territory...I am curious if you 
 would
 care to elaborate a bit more...I am intrigued...if anyone wants me to do
 some experiments or test something, let me know...I for one welcome any
 attempts at pushing any limits or trying new things...
 

I would help do some testing but I don't have any storage that large at the 
moment. I curious how 5.4RC2 or  handles very large volumes. Have you 
already tried fdisk, newfs ?

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


RE: 5.8TB RAID5 SATA Array Questions

2005-04-15 Thread Edgar Martinez
I don't think I have ever done that...or even considered that was
possible...The controller does support growing the array...Guess I'll give
it a shot starting with 2TB and then grow it in increments to see how it
behaves...any suggestions for newfs'in the device directly??

-Original Message-
From: Dan Nelson [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 12:15 PM
To: Edgar Martinez
Cc: 'Nick Evans'; 'Benson Wong'; 'Nick Pavlica';
freebsd-questions@freebsd.org
Subject: Re: 5.8TB RAID5 SATA Array Questions

In the last episode (Apr 15), Edgar Martinez said:
 OK...so now we are going into some new territory...I am curious if
 you would care to elaborate a bit more...I am intrigued...if anyone
 wants me to do some experiments or test something, let me know...I
 for one welcome any attempts at pushing any limits or trying new
 things...

If your array is just going to used for one large filesystem, you can
skip any partitioning steps and newfs the base device directly.  then
if you decide to grow the array (and if your controller supports
nondestructive resizing), you can use growfs to expand the filesystem
without the extra step of manually adjusting a partition table.

-- 
Dan Nelson
[EMAIL PROTECTED]

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


RE: 5.8TB RAID5 SATA Array Questions

2005-04-15 Thread Edgar Martinez
I was hoping that 5.4 would be out by the time I started this project.I'll
give it a shot to see how it behaves.

 

  _  

From: Nick Pavlica [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 15, 2005 12:15 PM
To: [EMAIL PROTECTED]
Cc: Dan Nelson; Nick Evans; Benson Wong; freebsd-questions@freebsd.org
Subject: Re: 5.8TB RAID5 SATA Array Questions

 

On 4/15/05, Edgar Martinez [EMAIL PROTECTED] wrote:

OK...so now we are going into some new territory...I am curious if you would
care to elaborate a bit more...I am intrigued...if anyone wants me to do
some experiments or test something, let me know...I for one welcome any 
attempts at pushing any limits or trying new things...


I would help do some testing but I don't have any storage that large at the
moment.  I curious how 5.4RC2 or  handles very large volumes.   Have you
already tried fdisk, newfs ?

--Nick

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


Re: samhain - starts on boot?

2005-04-15 Thread fadeaway
There is a script there but my understanding is that the scripts in 
/usr/local/etc/rc.d and /etc/rc.d don't automatically start without 
first being enabled through rc.conf  rc.conf.local? Or did I 
misunderstand?

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


Re: UPDATING and security updates.

2005-04-15 Thread Lowell Gilbert
jimmie james [EMAIL PROTECTED] writes:

 Curious why there's no mention of any security issues in
 /usr/src/UPDATING on 4.11-STABLE systems, but browsing the cvs-src,
 there's notes in RELENG_4_10, RELENG_4_11, Branch: RELENG_5_3?  
 Wouldn't it make sense to note it in all affected releases?

I don't think so.  It's already mentioned in a lot of places, and
UPDATING is imposing enough as it is; I think that keeping UPDATING
just for tracking issues you need to bear in mind for actually *doing*
the update of your system.

 Yes, I'm subscribed to the relevent lists, however, having an offical
 tracking of these issues, would help in knowing what patch was applied
 when, and the reason.

Absolutely.  That place is:
http://www.freebsd.org/security/#adv
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: samhain - starts on boot?

2005-04-15 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

 There is a script there but my understanding is that the scripts in
 /usr/local/etc/rc.d and /etc/rc.d don't automatically start without
 first being enabled through rc.conf  rc.conf.local? Or did I
 misunderstand?

Some ports do that, but (from a quick look) I don't think this one does.
If you don't want the script to start automatically, remove the
execute bits from it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: see processes owned by other users

2005-04-15 Thread Lowell Gilbert
Alexey Privalov [EMAIL PROTECTED] writes:

 I'm using 5.3-STABLE now (FreeBSD 5.3-STABLE #5: Mon Dec  6 17:45:08 NOVT 
 2004).
 
 I've setted security.mac.seeotheruids.enabled to 0 in sysctl.conf, so I can 
 see my own processes only... 
 With one exception, if a process was started in jail with the same UID (but 
 not me directly) then I could see this too.
 Is there a feature or bug?

Feature.  That's exactly what I would expect it to do.
If the process has your UID, it belongs to you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


src out of sync or buildworld broken?

2005-04-15 Thread Gary Lum
Afternoon everyone.
I track RELENG_5 using cvsup that runs nightly. Today I've been trying 
to buildworld and keep running into problems with missing directories 
and files.
  First, build world was complaing that the /usr/src/sys/dev/ieee488 
dir was missing. Couldn't find anything on google pertaining to the 
error. I cd'd to the dev dir and it wasn't there so I created it. I then 
ran again and ran into the same thing with /usr/src/sys/geom/shsec dir 
missing, so I created that.
  Now I'm getting an error message:

In file included from 
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/sha/sha_locl.h:133,
 from 
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/sha/sha_dgst.c:70:
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/md32_common.h:132:26: 
openssl/fips.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/secure/lib/libcrypto.
*** Error code 1
find can't find fips.h nor fips
Any suggestions? How can I resynch my source? I've cvsup'ed twice just 
to be sure


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


Re: lightweight bittorrent client that does queueing

2005-04-15 Thread Joshua Tinnin
On Fri 15 Apr 05 03:09, Warren [EMAIL PROTECTED] 
wrote:
 On Fri, 15 Apr 2005 7:47 pm, Svein Halvor Halvorsen wrote:
  * Brian John [2005-04-14 21:32 -0500]
I am looking for a lightweight bittorrent client that does
   download
 
  Azureus was great, except it slows down my entire
  computer.

 I had the exact same issue with Azureus.  The problem is that jdk1.4
 has a memory leak in it.  Try telling azureus to use jdk 1.5 and all
 your previous problems will disappear.

This is good information. jdk-1.5 is still alpha, but I'm now trying it 
with another java app which had a similar problem, and it seems to be 
much better. Not sure if I can rely on 1.5 yet, but this is definitely 
an improvement. Not that it matters all that much, but the UI is 
improved as well.

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


Re: 5.8TB RAID5 SATA Array Questions

2005-04-15 Thread Benson Wong
 
 If your array is just going to used for one large filesystem, you can
 skip any partitioning steps and newfs the base device directly.  then
 if you decide to grow the array (and if your controller supports
 nondestructive resizing), you can use growfs to expand the filesystem
 without the extra step of manually adjusting a partition table.
 

So you don't actually need to disklabel it?
You can just go newfs {options} /dev/da0 and it will just work? 

Hmm.. wish I had something to test that with because I thought I had
to disklabel first and then newfs it.

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


'make buildworld' from 4.9-STABLE - 4.11-STABLE failed.

2005-04-15 Thread Alex S. Moura
Hello,
I'm getting this error in the make buildworld phase of the update:
building profiled com_err library
ranlib libcom_err_p.a
cc -fpic -DPIC -O -pipe -march=pentiumpro 
-I/usr/src/lib/libcom_err/../../contrib/com_err  -c 
/usr/src/lib/libcom_err/../../contrib/com_err/com_err.c -o com_err.So
cc -fpic -DPIC -O -pipe -march=pentiumpro 
-I/usr/src/lib/libcom_err/../../contrib/com_err  -c 
/usr/src/lib/libcom_err/../../contrib/com_err/error.c -o error.So
building shared library libcom_err.so.2
/usr/obj/usr/src/i386/usr/libexec/elf/ld:built in linker script:6: 
syntax error
*** Error code 1

Stop in /usr/src/lib/libcom_err.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.

Steps done:
# cd /usr  rm -fr src obj  cvsup -g -L 2 
/usr/share/examples/cvsup/stable-supfile -h cvsup2.freebsd.org
# make buildkernel
# make buildworld

 /etc/make.conf
CPUTYPE=p3
CFLAGS= -O -pipe
COPTFLAGS= -O -pipe
ENABLE_SUIDPERL= true
INSTALL=install -C
WRKDIRPREFIX=/usr/tmp
SENDMAIL_CF_DIR=/usr/local/share/sendmail/cf
# To avoid building various parts of the base system:
DOC_LANG=   en_US.ISO8859-1
X_WINDOW_SYSTEM=xorg
# added by use.perl 2005-03-27 10:14:37
PERL_VER=5.8.6
PERL_VERSION=5.8.6
NOPERL=yes
 /etc/make.conf
Thanks for any help,
Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Snapshots in Freebsd 5.x

2005-04-15 Thread Alec Berryman
jlkjlk 64654654ut on 2005-04-14 16:07:18 -0700:

 I have been able to mount the snapshot and retrieve the data while
 the system is running as mentioned on the article but ultimately I
 would like to restore entire partitions (from a system crash, for
 example).  Is it possible?  How can it be acomplished? On
 single-user-mode maybe?

I assume you mean by 'system crash' hard drive failure?  Snapshots
will not do you any good except perhaps as a tool to make backups
easier.


pgpEemgM5i3PD.pgp
Description: PGP signature


Re[2]: samhain - starts on boot?

2005-04-15 Thread Hexren
 [EMAIL PROTECTED] writes:

 There is a script there but my understanding is that the scripts in
 /usr/local/etc/rc.d and /etc/rc.d don't automatically start without
 first being enabled through rc.conf  rc.conf.local? Or did I
 misunderstand?

-

asfar as I understand the process: At boot time the scripts in both
rc.d dirs are executed with $1=start. It is then the scripts
responsibility to decide if it starts unconditionally or if it looks
for some variable in /etc/rc.conf to give it a go/no-go decision.
So to answer your question: doing rc.d/startupscriptname start
should give you a fairly clear idea of what will happen during boot.

Hexren

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


call_usermodehelper equivalent?

2005-04-15 Thread Andrew Tappert
This is a question about FreeBSD kernel (module) programming.
Is there an equivalent in FreeBSD to the Linux function 
'call_usermodehelper' which wraps execve to do as its name suggests, 
call a user mode helper program?  If there is, what is it?  If not, can 
some kind person please point me to some code in the kernel--if there is 
any--which does something similar, so I may see how it's properly done? 
 My searching thus far has been to no avail.

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


Re: Traffic Shapping (IPFW + DUMMYNET) Question

2005-04-15 Thread RW
On Thursday 14 April 2005 14:53, Timothy Radigan wrote:
 Hi all,

 I'm new to the entire idea of traffic shaping and I came up with some rules
 for my BSD firewall/router/VoIP gateway 

...

 Does this seem like it will perform as I am thinking it will?

I've not tried this kind of thing myself, but I wouldn't be very optimistic 
about what you are trying to do. AFAIK dummynet works through IP packet 
queueing. That means that it can do a good job of shaping outgoing traffic,  
but the only control it has on incoming traffic is through dropping packets 
that have already been received, which isn't very efficient. 

To achieve what you want would really need some something that can hook into 
the tcp/ip stack and affect tcp window sizes. I dont know of anything that 
would do that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Scanning in FreeBSD 5.3-RELEASE, niash, and a busy signal

2005-04-15 Thread Anthony M. Agelastos
Hello all,
My HP ScanJet 3300C will not scan due to being busy. I followed the 
steps of the FreeBSD manual and will show its output below in the event 
that it may help. I should note that the configuration is as follows:

FreeBSD 5.3-RELEASE // GENERIC KERNEL
Pentium III, 450 MHz
If I had to guess the problem, I would say that it is possible that the 
niash driver (that is the sane-backend for this scanner) does not work 
well with FreeBSD's kernel driver, the kernel driver and libusb do not 
coexist well, or scanimage is only trying to use libusb and the kernel 
driver is not allowing it to. I know when I installed sane-backends 
(make  make install  make clean with a fully-updated Ports tree), 
it installed libusb as well, and I know this scanner works with libusb 
(I have gotten it to work on Mac OS X this way), hence my above 
conclusion. Does anyone have any other input on this? I should also 
note that I am root running these commands and that I have rebooted 
since plugging it in just in case.

sane-find-scanner -q
found USB scanner (vendor=0x03f0, product=0x0205) at /dev/uscanner0
scanimage -L
device `niash:/dev/uscanner0' is a Hewlett-Packard ScanJet 3300C 
flatbed scanner

scanimage  image.pnm
scanimage: open of device niash:/dev/uscanner0 failed: Device busy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: India had no FreeBSD mirror sites ?!?

2005-04-15 Thread RW
On Thursday 14 April 2005 14:35, Subhro wrote:
 Good idea Brian. But the saddest part is as I have indicated above,
 Linux rules :-( and FreeBSD is for the heavy duty software
 professionals. The astonishing fact is that, my ISP BSNL, which is
 supposed to be the biggest ISP in India does not know how to set up a
 PPPoE connection on a FBSD box. After I subscribed to my broadband
 service, which was one month back, tilldate they have not been able to
 do my setup. They have visited my place more than 10 times and tried to
 installed RasPPPoE for Linux 


That's actually quite impressive. 

Most UK ISPs wont even touch Linux. If I'd tried to ask my ISP to setup 
FreeBSD, I'd have to go through an Indian call-centre where I'd get asked 
which versions of Windows and Internet Explorer I'm using.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: India had no FreeBSD mirror sites ?!?

2005-04-15 Thread Anthony Atkielski
RW writes:

 Most UK ISPs wont even touch Linux. If I'd tried to ask my ISP to setup
 FreeBSD, I'd have to go through an Indian call-centre where I'd get asked
 which versions of Windows and Internet Explorer I'm using.

Why do you need an ISP's help to set up FreeBSD, anyway?

-- 
Anthony


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


Re: India had no FreeBSD mirror sites ?!?

2005-04-15 Thread RW
On Saturday 16 April 2005 01:52, Anthony Atkielski wrote:
 RW writes:
  Most UK ISPs wont even touch Linux. If I'd tried to ask my ISP to setup
  FreeBSD, I'd have to go through an Indian call-centre where I'd get asked
  which versions of Windows and Internet Explorer I'm using.

 Why do you need an ISP's help to set up FreeBSD, anyway?

I don't, hence if I tried, and not when I tried.
   
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Traffic Shapping (IPFW + DUMMYNET) Question

2005-04-15 Thread Chris Haulmark
On Thu, 2005-04-14 at 09:53 -0400, Timothy Radigan wrote:
 Hi all,
 
 I'm new to the entire idea of traffic shaping and I came up with some rules
 for my BSD firewall/router/VoIP gateway and I just wanted to make sure that
 what I am trying to accomplish is actually going to happen with these rules
 in place.  Currently, my broadband connection is a 4Mb down and 384Mb up
 pipe.  My VoIP service requires 90Kb up and down.  I have 3 separate
 internal networks at my house.  I have my wired 100Mb switched LAN
 (192.168.15.0/24), I have my IPSec enabled Wireless LAN (192.168.20.0/24),
 and I have my VoIP LAN (192.168.10.0/30).  What I want to do with these
 traffic shaping rules, is dedicate 100Kb up and down to the VoIP LAN, and
 then I want to have equally shared bandwidth (the remaining speeds of my
 broadband connection) for the wired and wireless LANs.  Here are the rules I
 have come up with so far:

Can you post your ifconfig output of your BSD box?

How about the output of this:

sysctl -a | grep net.inet.ip.fw.one_pass

Chris


 
 --- (START) /etc/ipfw.rules 
 
 # flush all rules
 ipfw -f flush
 
 # configure the pipe main pipes - have 4000kbits/s down 384kbits/s up
 
 # define 200kbits/s for the voip pipes
 ipfw pipe 1 config bw 100Kbits/s
 ipfw pipe 2 config bw 100Kbits/s
 
 # wired / wifi lans - get all but 100kbits/s for both up and down
 ipfw pipe 3 config bw 3900Kbits/s
 ipfw pipe 4 config bw 284Kbits/s
 
 # wired/wifi LAN internal transmission
 ipfw pipe 5 config bw 100Mbits/s mask dst-ip 0x
 ipfw pipe 6 config bw 100Mbits/s mask dst-ip 0x
 ipfw pipe 7 config bw 100Mbits/s mask dst-ip 0x
 ipfw pipe 8 config bw 100Mbits/s mask dst-ip 0x
 
 # make sure the voip gets all of the bandwidth for the pipes
 ipfw add 1 pipe 1 ip from 192.168.10.2 to any
 ipfw add 1 pipe 2 ip from any to 192.168.10.2
 
 # make sure the wired and wifi lans get all of the bandwidth for those pipes
 ipfw add 2 pipe 5 ip from 192.168.15.0/24 to 192.168.0.0/16
 ipfw add 2 pipe 6 ip from 192.168.0.0/16 to 192.168.15.0/24
 ipfw add 3 pipe 7 ip from 192.168.20.0/24 to 192.168.0.0/16
 ipfw add 3 pipe 8 ip from 192.168.0.0/16 to 192.168.20.0/24
 
 # the wired / wifi lans will split the up and down pipes
 ipfw queue 3 config weight 50 pipe 3 mask dst-ip 0x00ff
 ipfw queue 4 config weight 50 pipe 3 mask dst-ip 0x00ff
 ipfw queue 5 config weight 50 pipe 4 mask dst-ip 0x00ff
 ipfw queue 6 config weight 50 pipe 4 mask dst-ip 0x00ff
 
 # add inbound/outbound queues for the wired lan
 ipfw add 100 queue 3 ip from any to 192.168.15.0/24
 ipfw add 105 queue 5 ip from 192.168.15.0/24 to any
 
 # add inbound/outbound queues for the wifi lan
 ipfw add 200 queue 4 ip from any to 192.168.20.0/24
 ipfw add 205 queue 6 ip from 192.168.20.0/24 to any
 
  (END) /etc/ipfw.rules -
 
 Does this seem like it will perform as I am thinking it will?
 
 Thanks
 --Tim
 
 ___
 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]


mount_smbfs issue

2005-04-15 Thread munn
I am getting an inconsistency when I try to use perl to access file in a 
smbfs mounted Win XP directory structure
My kernel is at 4.11p3.  Any help in resolving this problem would be 
much appreciated.

# smbfs mount command which mounts a WinXP share ShareDir on my FreeBSD
# box.  The directory ~/ShareDir has rwx permissions for ugo.
sudo mount_smbfs -N -I dodo -u me -g ggg //[EMAIL PROTECTED]/SharedDir 
~/SharedDir
# directory/file structure is correct
ls -FCR SharedDir/
DirOne/ DirThree/   DirTwo/
SharedDir/DirOne:
DSCN1090.JPG*   DSCN1091.JPG*   DSCN1092.JPG*
SharedDir/DirThree:
DSCN0820.JPG*   ParkStreet.JPG* VicRooms.JPG*
SharedDir/DirTwo:
Oeuvre17.JPG*
# now look at the directory/file structure with find
# looks good
find SharedDir -print
SharedDir
SharedDir/DirOne
SharedDir/DirOne/DSCN1090.JPG
SharedDir/DirOne/DSCN1091.JPG
SharedDir/DirOne/DSCN1092.JPG
SharedDir/DirThree
SharedDir/DirThree/DSCN0820.JPG
SharedDir/DirThree/ParkStreet.JPG
SharedDir/DirThree/VicRooms.JPG
SharedDir/DirTwo
SharedDir/DirTwo/Oeuvre17.JPG
# translate the find command to perl and run the perl script
# PROBLEM the files no longer appear
find2perl SharedDir -print  testcase.pl
perl testcase.pl
SharedDir
SharedDir/DirOne
SharedDir/DirThree
SharedDir/DirTwo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: India had no FreeBSD mirror sites ?!?

2005-04-15 Thread Subhro
Anthony Atkielski wrote:
RW writes:
 

Most UK ISPs wont even touch Linux. If I'd tried to ask my ISP to setup
FreeBSD, I'd have to go through an Indian call-centre where I'd get asked
which versions of Windows and Internet Explorer I'm using.
   

Why do you need an ISP's help to set up FreeBSD, anyway?
 

You got it wrong. *I* being old hands at FreeBSD, don't require their 
help. But if I install FBSD on my little sisters PC, she would be 
requiring some help. If I am around, thats not a problem. But if I am 
not, the first place she would go to is the ISP, which i very much 
expected. But unfortunately they are completely clueless.

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


Re: India had no FreeBSD mirror sites ?!?

2005-04-15 Thread Anthony Atkielski
Subhro writes:

 You got it wrong. *I* being old hands at FreeBSD, don't require their
 help. But if I install FBSD on my little sisters PC, she would be 
 requiring some help. If I am around, thats not a problem. But if I am 
 not, the first place she would go to is the ISP, which i very much 
 expected. But unfortunately they are completely clueless.

One cannot expect ISPs to know about every operating system available.
It's hard enough just to support Windows, the most popular desktop OS
around.  Some companies might have the resources to support Macs, but
not many.  Hardly anyone can afford to support anything else.

On the other hand, if ISPs didn't try so hard to hide the interfaces
with their service and didn't try to personalize the connections so
much, anyone would be able to connect to any ISP with any OS. But ISPs
seem loath to admit that their basic services are highly
interchangeable, and so they create an unnecessary support load for
themselves by trying to be an exception to every rule.

-- 
Anthony


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