i686 CPU Compatibility

2008-12-16 Thread Abd Hamid Shamsi
HI ADMIN,
I just want to ask, is this freeBSD compatible with my i686 CPU. if there
any, please advice me what version should i use. TQ


Regards
Mohd Shamsi Hafiz bin Abdul Hamid
Pegawai Pemasaran

Galeri Cenderamata Koperasi UPM BHD
Beg Berkunci 260
Pejabat Pos UPM
Universiti Putra Malaysia
43400 Serdang
Selangor
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: i686 CPU Compatibility

2008-12-16 Thread Valentin Bud
Hello Abd,

 Yes it is. If you are a newcomer to FreeBSD i suggest you go for the latest
RELEASE which
is 7.0.

 All the platforms supported by FreeBSD as well as places where FBSD can be
downloaded
can be found here: http://www.freebsd.org/where.html.

And of course don't forget to check:
The Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
The FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/
The Man: http://www.freebsd.org/cgi/man.cgi.

a great day,
v

2008/12/16 Abd Hamid Shamsi storage...@gmail.com

 HI ADMIN,
 I just want to ask, is this freeBSD compatible with my i686 CPU. if there
 any, please advice me what version should i use. TQ


 Regards
 Mohd Shamsi Hafiz bin Abdul Hamid
 Pegawai Pemasaran

 Galeri Cenderamata Koperasi UPM BHD
 Beg Berkunci 260
 Pejabat Pos UPM
 Universiti Putra Malaysia
 43400 Serdang
 Selangor
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

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


Re: i686 CPU Compatibility

2008-12-16 Thread Da Rock
On Tue, 2008-12-16 at 17:00 +0800, Abd Hamid Shamsi wrote:
 HI ADMIN,
 I just want to ask, is this freeBSD compatible with my i686 CPU. if there
 any, please advice me what version should i use. TQ

Should do - i386 is just for arch type.

I believe 7.0 is the latest current release.

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


Re: questions about some archive files, type *.rar

2008-12-16 Thread Wojciech Puchar

But say that I yanked the photos and used just plain text: 8-bit chars
perhaps, and created my own CDROM version.  --I *wouldn't* waste my time
duplicating this collection, but say that I did.  Could this be done in
plain HTML and not require an ISO disc?

you may use tar as it was said, but you may too use ANY filesystem on CD.

unix don't differentiate between CD, DVD and harddisk.
DVD is just readonly disk for unix.

you may create say UFS filesystem on DVD-sized image or partition and 
then record it.


just make sure your fragments are 2k or more
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Any doc reference on /entropy file ?

2008-12-16 Thread Bernard Dugas

Hi,

When i look at / in a standard installation like :
FreeBSD XXX 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 
2008 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


There is only 1 file, named entropy :

-rw---   1 root  wheel  4096 Dec 11 17:36 entropy

I can't find any reference to that file in FreeBSD doc.

Any reference to it ? What is it used for ? I have look in RANDOM area, 
but no reference...


Do i have to keep it read/write ? Can i put it in /var instead of / to 
be able to keep / read-only ?


Thanks a lot,
Best regards,



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


Re: Any doc reference on /entropy file ?

2008-12-16 Thread Daniel Bye
On Tue, Dec 16, 2008 at 02:08:10PM +0100, Bernard Dugas wrote:
 Hi,
 
 When i look at / in a standard installation like :
 FreeBSD XXX 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 
 2008 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 
 There is only 1 file, named entropy :
 
 -rw---   1 root  wheel  4096 Dec 11 17:36 entropy
 
 I can't find any reference to that file in FreeBSD doc.
 
 Any reference to it ? What is it used for ? I have look in RANDOM area, 
 but no reference...
 
 Do i have to keep it read/write ? Can i put it in /var instead of / to 
 be able to keep / read-only ?

It is used to safely seed the random number generator, I believe.

A quick search through /etc/rc.d/* and /etc/defaults/rc.conf reveals
that you can set $entropy_file in /etc/rc.conf to anything you like, 
although a comment suggests

  # Set to NO to disable caching entropy through reboots.
  # /var/db/entropy-file is preferred if / is not avail.

So yes, it seems you could move it off / if you want.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpzUNzpkVMxg.pgp
Description: PGP signature


Re: Optimising pxeboot disk size

2008-12-16 Thread Paul B. Mahol
On 12/16/08, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:
 it's simple:

 More simple when you tell it ;-) Thanks a lot, i will try it tonight !

 it doesn't have chance - must work :)


 I wish it's helpful, doing this doesn't just save space but saves time -
 you have to upgrade software once.

 So preserving consistency, which is the most important when you have lot
 of
 diskless stations !

 exactly. i'm using just NetBSD 1.5 (uses LITTLE memory) + Xserver, so
 there are almost no updates, but anyway - it's stored once.

 you may like to make /etc-common directory and put most of files there,
 and
 symlinks in each station's /etc

 In fact, it makes me think that we miss a concept in mount, or at least i
 don't know it currently :
 imagine a -tl (TransparentLayer) option for mount, allowing to mount
 multiple
 source to the same directory, for instance /etc :

 there is already such think - mount_unionfs

 but i don't use it.

 if you mount over some directory - it's original contents (like my /etc/rc
 doing exec /systemrc) gets hidden.


 mount -r yournfsserver:/basic/etc /etc
 mount -tl -r yournfsserver:/TypeX/etc /etc
 mount -tl -r yournfsserver:/StationY/etc /etc

 mount_unionfs

 but i don't know how stable it is.

 When you want to change something, you add a rw TransparentLayer :
 mount -tl yournfsserver:/StationYchanges/etc /etc

 So that changed or added files are only stored in this rw partition, thus
 very small and easy to manage.

 This would be a kind of partition inheritance, like in object languages...

 Dreams are allowed :-)

 try mount_unionfs

and mount_nullfs

-- 
Paul
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Copying system/ports configuration?

2008-12-16 Thread Andrew Gould
On Tue, Dec 16, 2008 at 9:03 AM, Dr. Jennifer Nussbaum
bg271...@yahoo.comwrote:

 I have a FreeBSD 7.0 system that im using in production. I want to create a
 FreeBSD virtual machine, to use as a testbed for this production box.

 The last time i did this it took a lot of time to get the VM set
 up--installing all the right ports, getting the database configuration
 right, etc.

 Are there any shortcuts for this, e.g. a way i can automatically install
 the same ports on the new machine? I didnt see anything in the handbook or
 FAQ about this, but id think that people need to do this all the time. Any
 other advice for mirroring the system?

 Thanks!

 Jen


Someone once posted a shell script that obtained a list of installed ports
from the package database system and fed the results to pkg_create, which
would create binary packages.  Unfortunately, I can't locate the script.

Check out 'man pkg_create'.  Hopefully someone will post a more complete
answer.

Good luck,

Andrew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Any doc reference on /entropy file ?

2008-12-16 Thread Bernard Dugas

Wojciech Puchar wrote:

-rw---   1 root  wheel  4096 Dec 11 17:36 entropy

I can't find any reference to that file in FreeBSD doc.
Any reference to it ? What is it used for ? I have look in RANDOM 
area, but no reference...


at startup it seeds random generator, every 11 minutes and at shutdown 
it's saved from random generator.


it's here to make random generator more random - not starting clean at 
boot.


Thanks a lot !

1- How may i suggest/learn to add this info in the random generator man 
page, so that a search in doc gives the right result ?


2- As / will be mounted read-only, how can i tell the ramdom generator 
to put this /entropy file somewhere in /var, where i think it should be 
? Or is there any tricky hidden problem ?


Thanks a lot,
Best regards,
--
Bernard DUGAS Mobile +33 615 333 770
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Any doc reference on /entropy file ?

2008-12-16 Thread RW
On Tue, 16 Dec 2008 16:07:48 +0100 (CET)
Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:

 at startup it seeds random generator, every 11 minutes and at
 shutdown it's saved from random generator.

Only at shutdown, the entropy stored every eleven minutes is
in  /var/db/entropy/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ambigious 'top' results

2008-12-16 Thread KES
Здравствуйте, Questions.

My system is overloaded, I run top to figure out which precess take
time. In both cases CPU/WCPU I do not see which process take all the
time. Which process take all processor time??

last pid: 24535;  load averages:  3.86,  3.07,  3.07up 1+13:34:28  17:25:19
193 processes: 5 running, 187 sleeping, 1 stopped
CPU: 95.1% user,  0.0% nice,  4.9% system,  0.0% interrupt,  0.0% idle
Mem: 172M Active, 171M Inact, 97M Wired, 23M Cache, 60M Buf, 25M Free
Swap: 2048M Total, 115M Used, 1933M Free, 5% Inuse

  PID USERNAMETHR PRI NICE   SIZERES STATETIME   WCPU COMMAND
 2942 mysql42   40 52412K 22132K sbwait   0:00 22.80% mysqld
88534 root  1 -580  3288K   616K bpf  1:22  0.00% ipguard
89345 root  1 -580  3288K   632K bpf  1:20  0.00% ipguard
  213 root  1  440  3180K   472K select   0:55  0.00% syslogd
  709 bind  4  440 58480K 23996K select   0:42  0.00% named
 4719 pgsql 1  440 42508K  1620K select   0:18  0.00% postgres


last pid:  2982;  load averages:  2.59,  3.37,  3.35up 1+13:23:39  17:14:30
196 processes: 5 running, 190 sleeping, 1 stopped
CPU: 94.8% user,  0.0% nice,  3.4% system,  0.0% interrupt,  1.9% idle
Mem: 129M Active, 168M Inact, 112M Wired, 11M Cache, 60M Buf, 68M Free
Swap: 2048M Total, 119M Used, 1929M Free, 5% Inuse, 8K In

  PID USERNAMETHR PRI NICE   SIZERES STATETIMECPU COMMAND
 2942 mysql41   40 50748K 21240K sbwait   0:00 13.23% mysqld
 2451 root  1  440  3532K  1924K RUN  0:01  0.10% top
 2254 root  1  960 11380K  6988K RUN  3:12  0.00% bzip2
66162 root  1  440  9192K  2396K RUN  1:26  0.00% verlihub
88534 root  1 -580  3288K   616K bpf  1:21  0.00% ipguard
89345 root  1 -580  3288K   632K bpf  1:19  0.00% ipguard
  213 root  1  440  3180K   472K select   0:54  0.00% syslogd
  709 bind  4  440 58480K 23036K select   0:42  0.00% named
 4719 pgsql 1  440 42508K  1620K select   0:18  0.00% postgres


#systat -v
4 usersLoad  2.71  2.75  3.02  16 дек 17:21

Mem:KBREALVIRTUAL   VN PAGER   SWAP PAGER
Tot   Share  TotShareFree   in   out in   out
Act  136916   11584   79968431004   29768  count
All  190728   13620  297186863628  pages
Proc:Interrupts
  r   p   d   s   w   Csw  Trp  Sys  Int  Sof  Flt   1656 cow2003 total
  1   5 186   11k 7340  75k4  35k 7189   4198 zfodatkbd0 1
  232 ozfod   sio1 irq3
54.6%Sys   0.0%Intr 45.4%User  0.0%Nice  0.0%Idle   5%ozfod   sio0 irq4
|||||||||||   daefr 4 ata0 irq14
===   4405 prcfr  1999 cpu0: time
34 dtbuf 6486 totfr
Namei Name-cache   Dir-cache 35373 desvn  react
   Callshits   %hits   % 18913 numvn  pdwak
96679420  97  47   0  8279 frevn  pdpgs
  intrn
Disks   ad0   ad1  102212 wire
KB/t   0.00 15.67  136888 act
tps   0 5  230508 inact
MB/s   0.00  0.07   24388 cache
%busy 0 05384 free



  --
С уважением,
 KES  mailto:kes-...@yandex.ru

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


Re: ambigious 'top' results

2008-12-16 Thread Wojciech Puchar

are you using 7-branch?

in my 7.1 system there is same problem. top shows often nonsense in CPU 
usage of a process, but totals are OK.


you even gave an example - bzip2 can't use 0% CPU running - more close to 
100% :)



as long as everything goes fine 100% CPU load is OK. if it's mostly mysql 
then optimize your database, if you can't change hardware

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


Re: Python with many threads

2008-12-16 Thread Ott Köstner

Michel Talon wrote:


Nothing limits the number of concurrent threads. Personnally i have
checked i can run Grub Next Generation Python Client with 600 threads
without any problem.
niobe% uname -a
FreeBSD niobe.lpthe.jussieu.fr 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Jul
22 10:31:01 CEST 2008
niobe% python
Python 2.5.2 (r252:60911, Jul  5 2008, 13:44:44) 
  
Still, something locks up in the system, when I increase the number 
Python threads with  http://grub.org/?q=en/node/204


With more than 50 threads I start to get random messages like:
Exception in thread 40:
Traceback (most recent call last):
 File /usr/local/lib/python2.5/threading.py, line 486, in 
__bootstrap_inner

   self.run()

The frequency of these messages increases with 70 threads. And with 200 
threads the system locks up totally -- almost no access from web. [I can 
still access the system and kill the process :)  ]


Clearly, there is some limit in the system. It is not memory, cpu or 
bandwidth. If the number of threads is also not limited, it must be 
something else. What might it be?



Network traffic is moderate:

IP traffic




Recall that python threads are just native threads, but these threads
are protected from trashing the python state by a single lock, the GIL,
which is released when you do IO. This allows to effectively thread IO,
but not python computation. The FreeBSD thread library has no particular
limitations, you can run hundreds or thousands of threads without much
problem, for example under Java.


  




Regards,
O.K.

[sorry for HTML message in the list]

--
Testi oma Interneti kiirust / Test Your Internet speed:
http://speedtest.zzz.ee/


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

Re: Any doc reference on /entropy file ?

2008-12-16 Thread Wojciech Puchar

boot.


Thanks a lot !

1- How may i suggest/learn to add this info in the random generator man page, 
so that a search in doc gives the right result ?


use sent-pr




2- As / will be mounted read-only, how can i tell the ramdom generator to put 
this /entropy file somewhere in /var, where i think it should be ? Or is 
there any tricky hidden problem ?


man rc.conf

seek entropy_file and entropy_dir
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Any doc reference on /entropy file ?

2008-12-16 Thread Wojciech Puchar

shutdown it's saved from random generator.


Only at shutdown, the entropy stored every eleven minutes is
in  /var/db/entropy/


thanks for correction.


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


Re: Optimising pxeboot disk size

2008-12-16 Thread Bernard Dugas

Wojciech Puchar wrote:

mount_unionfs

but i don't know how stable it is.


Thanks to fill my dreams :-) The dream is close, but still a dream :-(

http://www.freebsd.org/cgi/man.cgi?query=mount_unionfssektion=8apropos=0manpath=FreeBSD+7.0-RELEASE
BUGS
 THIS FILE SYSTEM TYPE IS NOT YET FULLY SUPPORTED (READ: IT DOESN'T 
WORK)AND USING IT MAY, IN FACT, DESTROY DATA ON YOUR SYSTEM.  USE AT 
YOUR OWN RISK.  BEWARE OF DOG.  SLIPPERY WHEN WET.


Sad not to be a coder...

Best regards,
--
Bernard DUGAS Mobile +33 615 333 770
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


PHP5 as apache module using packages

2008-12-16 Thread Gary Hartl
Hi all;

Ok so i've reinstalled fBSD-7 and i'm running apache 2.2 installed using
pkg_add

I need to also run php as a module for apache (the web software i'm using
requires php as module no cgi).

Now I pkg_add'ed php5 from sparc64/all tree on ftp.freebsd.org, 

I think I missed passing a variable throu to php.  

My question is how do I know what variables I can pass throu to a package to
adjust its installation.

Thanks 

Gary 


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


Re: GPL version 4

2008-12-16 Thread cpghost
On Mon, Dec 15, 2008 at 08:38:35AM -0500, Richard M Stallman wrote:
 I don't think it is that bad - the intent is for the software to be 
 freely available for *people* to use. It is actually about our freedom.
 
 You have it right.  Copyleft licenses defend freedom for all users by
 stopping middlemen from stripping it away.
 
 We have no plans for a version 4 of the GNU GPL.
 It might happen some day, but we are not working on it.
 As of now, we do not need to change GPL version 3.

Thank you for clarifying this. AFAICS, FreeBSD tries to stick to GPLv2
GNU tools in the base system (ports has more recent versions of course)
and tries to avoid GPLv3 for now. Yet another license right now would
only complicate matters even more. ;-)

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Any doc reference on /entropy file ?

2008-12-16 Thread RW
On Tue, 16 Dec 2008 16:23:05 +0100
Bernard Dugas bern...@dugas-family.org wrote:


 2- As / will be mounted read-only, how can i tell the ramdom
 generator to put this /entropy file somewhere in /var, where i think
 it should be ? Or is there any tricky hidden problem ?

It has to be on the root partition as it's used in the early stage of
the boot before any other partitions are mounted, but like like I said
there are other entropy files that are applied a little later as a
boot, and on most machines enough entropy will be generated from
the disk interrupts to suffice anyway.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: questions about some archive files, type *.rar

2008-12-16 Thread Polytropon
On Tue, 16 Dec 2008 10:59:39 +0100 (CET), Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:
 you may create small .iso image that consist of some stupid images, readme 
 or autorun configured to format c: ;), then strip first 512 bytes of it 
 with
 
 dd if=winiso.iso bs=512 skip=1 of=tmp;mv tmp winiso.iso
 
 THEN
 
 tar Your files as you said, but put winiso.iso first :)
 
 this way - unix user using tar will extract what's needed (just have to 
 delete winiso.iso after), windoze user will see what you wanted in 
 winiso.iso

Good evening Wojciech,

I didn't know you could be such a mean guy! :-) This is one of the
most excellent ideas I read from this list so far. I think I'll
play with this a bit and surely find some Windows users to
annoy. What, you cannot read the files? Let me check... tar...
bla bla... no, works as intended. Please check your installation
and ask your local dealer for the latest 'Windows' update,
something's wrong on your side, maybe you have a virus?

Another impolite idea: DialogBox hInstance bla In order to
play this DVD, you need to install an operating systen on your
computer. Please delete 'Windows' and replace it with an OS.
Thank you. Your system will be shut down now.

Ah... autorun.inf and exit_windows_ex() are such modern tools
that make the life easier. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: PHP5 as apache module using packages

2008-12-16 Thread Barry Byrne
 

 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Gary Hartl
 Sent: 16 December 2008 14:36
 To: FreeBSD Questions

 Ok so i've reinstalled fBSD-7 and i'm running apache 2.2 
 installed using
 pkg_add
 
 I need to also run php as a module for apache (the web 
 software i'm using
 requires php as module no cgi).
 
 Now I pkg_add'ed php5 from sparc64/all tree on ftp.freebsd.org, 
 
 I think I missed passing a variable throu to php.  
 
 My question is how do I know what variables I can pass throu 
 to a package to
 adjust its installation.

Gary:

If you want to configure things differntly to the compiled default of a
package, then you probably should be using ports instead of packages. This
chapter in the handbook explains some differences.

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

 - Barry

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


RE: PHP5 as apache module using packages

2008-12-16 Thread Gary Hartl
 Ok so i've reinstalled fBSD-7 and i'm running apache 2.2 
 installed using
 pkg_add
 
 I need to also run php as a module for apache (the web 
 software i'm using
 requires php as module no cgi).
 
 Now I pkg_add'ed php5 from sparc64/all tree on ftp.freebsd.org, 
 
 I think I missed passing a variable throu to php.  
 
 My question is how do I know what variables I can pass throu 
 to a package to
 adjust its installation.

Gary:

If you want to configure things differntly to the compiled default of a
package, then you probably should be using ports instead of packages. This
chapter in the handbook explains some differences.

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

 - Barry

Thanks Barry



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


Re: Python with many threads

2008-12-16 Thread Michel Talon
Otto wrote:

 Exception in thread 30:
 Traceback (most recent call last):
   File /usr/local/lib/python2.5/threading.py, line 486, in
 __bootstrap_in=
 ner
 self.run()
 
 The number of errors increases rapidly with even bigger number of
 threads.
 Is there any way I can increase the maximum number of Python threads?


Nothing limits the number of concurrent threads. Personnally i have
checked i can run Grub Next Generation Python Client with 600 threads
without any problem.
niobe% uname -a
FreeBSD niobe.lpthe.jussieu.fr 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Jul
22 10:31:01 CEST 2008
niobe% python
Python 2.5.2 (r252:60911, Jul  5 2008, 13:44:44) 

Recall that python threads are just native threads, but these threads
are protected from trashing the python state by a single lock, the GIL,
which is released when you do IO. This allows to effectively thread IO,
but not python computation. The FreeBSD thread library has no particular
limitations, you can run hundreds or thousands of threads without much
problem, for example under Java.


-- 

Michel TALON

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


Re: i686 CPU Compatibility

2008-12-16 Thread Wojciech Puchar

7.0 is perfectly stable and is recommended for production use. It's not
bleeding edge code. That's 8.0-CURRENT which is NOT for production use.
Unless you have a particular reason for using 6.x I would go with 7.0 It's
fully tested.


nothing is ever fully tested ;) but yes, 7.0 can be classified stable. i 
would recommend 7.1-BETA install as some bugs are fixed there

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


Re: Limewire 4.18 problem

2008-12-16 Thread Norbert Papke
On December 16, 2008, Andreas Rudisch wrote:
 A Vuze developer told me, that transfers via UDP and TCP are using
 different sets of native java APIs. TCP is non-blocking IO, so there
 could be a problem in the FreeBSD Java code.

This is a stab in the dark (I am not a Vuze) user but I have had similar 
problems with other Java apps (e.g., Netbeans, Tomcat).  The VM's TCP stack, 
for some reason, wants to use IPv6.  To force it to use IPv4, invoke Java 
with -Djava.net.preferIPv4Stack=true.  You can do this either on the 
command line or by setting the JAVA_OPTS environment variable.

Cheers,

-- Norbert Papke.

Grand Master Turing once dreamed that he was a machine. When he awoke he 
exclaimed:
I don't know whether I am Turing dreaming that I am a machine, 
or a machine dreaming that I am Turing!  (The Tao Of Programming)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Copying system/ports configuration?

2008-12-16 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dr. Jennifer Nussbaum wrote:
 I have a FreeBSD 7.0 system that im using in production. I want to create a 
 FreeBSD virtual machine, to use as a testbed for this production box.
 
 The last time i did this it took a lot of time to get the VM set 
 up--installing all the right ports, getting the database configuration right, 
 etc.
 
 Are there any shortcuts for this, e.g. a way i can automatically install the 
 same ports on the new machine? I didnt see anything in the handbook or FAQ 
 about this, but id think that people need to do this all the time. Any other 
 advice for mirroring the system?
 
 Thanks!
 
 Jen
 

Hi Jen,

I am assuming that you are using VMware, but if that's not the case,
please respond to the thread.

VMware Converter (http://www.vmware.com/products/converter/) is
typically used to convert a physical machine to a VM, but I'm not sure
that it will work with FreeBSD.

If it doesn't, then I think you need to use a tool like Norton Ghost,
Acronis TrueImage or Partimage (http://www.partimage.org/Main_Page) to
create a disk image of your production machine.

Once you do that, create your VM, boot with the rescue image of the tool
that you chose and use it to restore the production machine disk image
into your VM.  Reboot and you should have a VM that only requires some
minimal reconfiguration.

Hope that helps,
Greg Larkin

http://www.FreeBSD.org/
http://www.sourcehosting.net/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklH2jMACgkQ0sRouByUApAbUwCfZaX7Pm9jJjxKmOHZhE5DQcpB
6S8AoLSuy35SuUu3XfxFsUd7OJIYWiYi
=2kfG
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: i686 CPU Compatibility

2008-12-16 Thread Beech Rintoul
On Tuesday 16 December 2008 00:50:30 Anthony M. Rasat wrote:
 Abd Hamid Shamsi wrote:
 I just want to ask, is this freeBSD compatible with my
 i686 CPU. if there any, please advice me what version
 should i use.

 FreeBSD came with two x86 flavour (can I said that? LOL sorry just had an
 ice cream earlier) which is x86 (32-bit) and x86_64 (64-bit).

 The x86 flavour is intended for old 386, 486 and 585 (starting from Pentium
 Pro and upward version) to latest Pentium 4 Dual Core. The x86 can handle
 multi processor architechture with SMP kernel which is available by
 default.

 The x86_64 flavour intended for AMD64 architechture that current Intel Core
 2 Duo and since AMD Sempron and upward employed. However, this is not for
 IA64 which is totally different version of FreeBSD (I think) have created
 for it.

 If you aim for tested stable version of FreeBSD, you can use
 FreeBSD-6.x-RELEASE lines. However if your hardware is up to current (say
 no less than 2 years tops) and you want the bleeding-edge version of
 applications, you can try FreeBSD-7.0-RELEASE line (7.1 version is still in
 Release Candidate stage and not recommended except for testers).

 Hopes that what you're looking for.

7.0 is perfectly stable and is recommended for production use. It's not 
bleeding edge code. That's 8.0-CURRENT which is NOT for production use. 
Unless you have a particular reason for using 6.x I would go with 7.0 It's 
fully tested.

Beech
-- 
---
Beech Rintoul - FreeBSD Developer - be...@freebsd.org
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://people.freebsd.org/~beech
 X  - NO Word docs in e-mail | Skype: akbeech
/ \  - http://www.FreeBSD.org/releases/7.0R/announce.html
---




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


Re: questions about some archive files, type *.rar

2008-12-16 Thread Wojciech Puchar

Thank you. Your system will be shut down now.

Ah... autorun.inf and exit_windows_ex() are such modern tools


autorun.inf is a few windows thing that is simple and even works.

just remember to strip this first 512 bytes from iso file, as 512 bytes 
will be takes by tar header before iso file.


ISO-9660 has such nice things as first 16 sectors are ignored, so it 
doesn't matter if it's zeros or tar header.



personally - i use it not to annoy winusers, but to make DVDs with hidden 
contents.


like - first part visible to everyone, everything else - to the ones who 
know things.


other way to do this is to use bsdlabels, windows will ignore this, while 
in FreeBSD you can have /dev/cd0a with ISO data, and /dev/cd0b with 
hidden data.


this hidden data can be ISO format too, or tar, or UFS, and it can be 
encrypted with geli.


if you do this - please DO USE ggatel to simulate 2kB sectored device 
before doing bsdlabel!!!

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


Re: Copying system/ports configuration?

2008-12-16 Thread Wojciech Puchar

Are there any shortcuts for this, e.g. a way i can automatically install the same ports 
on the new machine? I didnt see anything in the handbook or FAQ about this, 
but id think that people need to do this all the time. Any other advice for mirroring the 
system?


simply copy everything
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Centralized DB of system users

2008-12-16 Thread Dan
LDAP is the way to go.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: i686 CPU Compatibility

2008-12-16 Thread Anthony M. Rasat
Abd Hamid Shamsi wrote:
I just want to ask, is this freeBSD compatible with my
i686 CPU. if there any, please advice me what version 
should i use.

FreeBSD came with two x86 flavour (can I said that? LOL sorry just had an ice 
cream earlier) which is x86 (32-bit) and x86_64 (64-bit).

The x86 flavour is intended for old 386, 486 and 585 (starting from Pentium Pro 
and upward version) to latest Pentium 4 Dual Core. The x86 can handle multi 
processor architechture with SMP kernel which is available by default.

The x86_64 flavour intended for AMD64 architechture that current Intel Core 2 
Duo and since AMD Sempron and upward employed. However, this is not for IA64 
which is totally different version of FreeBSD (I think) have created for it.

If you aim for tested stable version of FreeBSD, you can use 
FreeBSD-6.x-RELEASE lines. However if your hardware is up to current (say no 
less than 2 years tops) and you want the bleeding-edge version of applications, 
you can try FreeBSD-7.0-RELEASE line (7.1 version is still in Release Candidate 
stage and not recommended except for testers).

Hopes that what you're looking for.

-- 

Regards,

Anthony M. Rasat
Manager - Technical, Network and Support Division
PT. Jawa Pos National Network
Graha Pena Jawa Pos Group Building, 5th floor
Jln. Raya Kebayoran Lama 12, Jakarta Selatan 12210
Indonesia.-
Phone 02132185562
Phone 081574217035
Fax 02153651465
Web http://www.jpnn.com___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Copying system/ports configuration?

2008-12-16 Thread Dr. Jennifer Nussbaum
I have a FreeBSD 7.0 system that im using in production. I want to create a 
FreeBSD virtual machine, to use as a testbed for this production box.

The last time i did this it took a lot of time to get the VM set up--installing 
all the right ports, getting the database configuration right, etc.

Are there any shortcuts for this, e.g. a way i can automatically install the 
same ports on the new machine? I didnt see anything in the handbook or FAQ 
about this, but id think that people need to do this all the time. Any other 
advice for mirroring the system?

Thanks!

Jen


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


Re: Copying system/ports configuration?

2008-12-16 Thread Dr. Jennifer Nussbaum

--- On Tue, 12/16/08, Greg Larkin glar...@freebsd.org wrote:

 From: Greg Larkin glar...@freebsd.org
 Subject: Re: Copying system/ports configuration?
 To: bg271...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Date: Tuesday, December 16, 2008, 8:41 AM
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Dr. Jennifer Nussbaum wrote:
  I have a FreeBSD 7.0 system that im using in
 production. I want to create a FreeBSD virtual machine, to
 use as a testbed for this production box.
  
  The last time i did this it took a lot of time to get
 the VM set up--installing all the right ports, getting the
 database configuration right, etc.
  
  Are there any shortcuts for this, e.g. a way i can
 automatically install the same ports on the new
 machine? I didnt see anything in the handbook or
 FAQ about this, but id think that people need to do this all
 the time. Any other advice for mirroring the system?
  
  Thanks!
  
  Jen
  
 
 Hi Jen,
 
 I am assuming that you are using VMware, but if that's
 not the case,
 please respond to the thread.

No, im using VirtualBox. I had tried VMware but foundit much harder to use.

I dont quickly see a free tool to do this. Maybe its easier to do this from 
scratch

Jen


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


Re: CMS suggestion on FreeBSD (except Mambo)

2008-12-16 Thread munkhbayar batkhuu
Thank you for all replies. I learned new CMS's.

I decided to switch Mambo to other FreeBSD 7.0 server for temporarily.
 And planning to upgrade older FreeBSD 5.4 to 7.0. Short time frame
not allows me to switch contents to new CMS.

Anyway, it's sad that current ports tree still have old Mambo version,
new release already in their site /belives they fixed security hole in
old version: 
http://mambo-code.org/gf/project/mambo/news/?action=NewsThreadViewid=103
Mambo 4.6.5, codename Jupiter, has been released. This is a
maintenance and security release which fixes some potentially serious
security vulnerabilities affecting all earlier versions of 4.6./.

Best regards
Munkh

On Sun, Dec 14, 2008 at 10:31 AM, Nguyen Tam Chinh uni...@gmail.com wrote:
 On Sat, Dec 13, 2008 at 9:26 PM, munkhbayar batkhuu bmr...@gmail.com wrote:
 Dear all FreeBSD list members.

 One of my old FreeBSD-5.4 server is installed with Mambo (4.6.2 Bug
 Stomp Pre-Release 2, not installed from ports) and I'm going to
 upgrade this Content Management System (CMS) to FreeBSD-7 and tried to
 install Mambo via ports.
 New portaudit installed system says Mambo have security issue and
 can't be installed. And I'm not going to use Mambo. (I know Mambo have
 long standing history of security issues).
 It seems that Joomla will be installed fine (,however).

 My question is, Can you suggest me on more secure open source CMS?,
 which CMS are you using on FreeBSD?.


 How about WordPress? Its code is very nice :)

 --
 With best regards,
 Chinh Nguyen

 ***
 FreeBSD - The Power to Serve

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


Re: Limewire 4.18 problem

2008-12-16 Thread Andreas Rudisch
On Tue, 16 Dec 2008 08:09:14 -0800
Norbert Papke fbsd...@scrapper.ca wrote:

 This is a stab in the dark (I am not a Vuze) user but I have had similar 
 problems with other Java apps (e.g., Netbeans, Tomcat).  The VM's TCP stack, 
 for some reason, wants to use IPv6.  To force it to use IPv4, invoke Java 
 with -Djava.net.preferIPv4Stack=true.  You can do this either on the 
 command line or by setting the JAVA_OPTS environment variable.

Thank you, but that does not help either.

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpyKdUjYFVKF.pgp
Description: PGP signature


Dolphin Sigserv whilst trying to cut//paste

2008-12-16 Thread Warren Liddell

Freebsd 7.1-PreRelease KDE 3.5.10 AMD64 .. below is sigserv msg.



Application: Dolphin (dolphin), signal SIGSEGV

[New Thread 0x805f02180 (LWP 100285)]

[Switching to Thread 0x805f02180 (LWP 100285)]

[KCrash handler]

#6 0x000801cc3560 in QByteArray::operator= ()

from /usr/local/lib/qt4/libQtCore.so.4

#7 0x000803a03b8c in QClipboardWatcher::formats_sys ()

from /usr/local/lib/qt4/libQtGui.so.4

#8 0x0008039b4c56 in QInternalMimeData::formats ()

from /usr/local/lib/qt4/libQtGui.so.4

#9 0x000803a0395e in QClipboardWatcher::retrieveData_sys ()

from /usr/local/lib/qt4/libQtGui.so.4

#10 0x0008039b481a in QInternalMimeData::retrieveData ()

from /usr/local/lib/qt4/libQtGui.so.4

#11 0x000801d9385f in QMimeDataPrivate::retrieveTypedData ()

from /usr/local/lib/qt4/libQtCore.so.4

#12 0x000801d93f92 in QMimeData::data ()

from /usr/local/lib/qt4/libQtCore.so.4

#13 0x00080084ea5e in KonqMimeData::decodeIsCutSelection ()

from /usr/local/kde4/lib/libkonq.so.7

#14 0x0008006e415b in IconManager::applyCutItemEffect ()

from /usr/local/kde4/lib/libdolphinprivate.so.5

#15 0x0008006e4897 in IconManager::updateCutItems ()

from /usr/local/kde4/lib/libdolphinprivate.so.5

#16 0x0008006e4aca in IconManager::qt_metacall ()

from /usr/local/kde4/lib/libdolphinprivate.so.5

#17 0x000801d9886b in QMetaObject::activate ()

from /usr/local/lib/qt4/libQtCore.so.4

#18 0x0008039b08d6 in QClipboard::emitChanged ()

from /usr/local/lib/qt4/libQtGui.so.4

#19 0x000803a0429d in QClipboard::setMimeData ()

from /usr/local/lib/qt4/libQtGui.so.4

#20 0x0008006d9a3b in DolphinView::pasteToUrl ()

from /usr/local/kde4/lib/libdolphinprivate.so.5

#21 0x0008006d9e86 in DolphinView::pasteIntoFolder ()

from /usr/local/kde4/lib/libdolphinprivate.so.5

#22 0x0042e2b0 in DolphinMainWindow::qt_metacall ()

#23 0x000801d9886b in QMetaObject::activate ()

from /usr/local/lib/qt4/libQtCore.so.4

#24 0x00080399d487 in QAction::triggered ()

from /usr/local/lib/qt4/libQtGui.so.4

#25 0x00080399e380 in QAction::activate ()

from /usr/local/lib/qt4/libQtGui.so.4

#26 0x000803ce293c in QMenuPrivate::activateAction ()

from /usr/local/lib/qt4/libQtGui.so.4

#27 0x00080106a5f9 in KMenu::mouseReleaseEvent ()

from /usr/local/kde4/lib/libkdeui.so.7

#28 0x0008039e89e8 in QWidget::event ()

from /usr/local/lib/qt4/libQtGui.so.4

#29 0x000803ce1b11 in QMenu::event ()

from /usr/local/lib/qt4/libQtGui.so.4

#30 0x0008039a312f in QApplicationPrivate::notify_helper ()

from /usr/local/lib/qt4/libQtGui.so.4

#31 0x0008039a9d3e in QApplication::notify ()

from /usr/local/lib/qt4/libQtGui.so.4

#32 0x000800f935ff in KApplication::notify ()

from /usr/local/kde4/lib/libkdeui.so.7

#33 0x000801d88fb4 in QCoreApplication::notifyInternal ()

from /usr/local/lib/qt4/libQtCore.so.4

#34 0x0008039a97c3 in QApplicationPrivate::sendMouseEvent ()

from /usr/local/lib/qt4/libQtGui.so.4

#35 0x0008039fdc74 in QETWidget::translateMouseEvent ()

from /usr/local/lib/qt4/libQtGui.so.4

#36 0x0008039fcbdb in QApplication::x11ProcessEvent ()

from /usr/local/lib/qt4/libQtGui.so.4

#37 0x000803a1f633 in x11EventSourceDispatch ()

from /usr/local/lib/qt4/libQtGui.so.4

#38 0x000805489a24 in g_main_context_dispatch ()

from /usr/local/lib/libglib-2.0.so.0

#39 0x00080548cd05 in g_main_context_check ()

from /usr/local/lib/libglib-2.0.so.0

#40 0x00080548d1eb in g_main_context_iteration ()

from /usr/local/lib/libglib-2.0.so.0

#41 0x000801dad5de in QEventDispatcherGlib::processEvents ()

from /usr/local/lib/qt4/libQtCore.so.4

#42 0x000803a1f30f in QGuiEventDispatcherGlib::processEvents ()

from /usr/local/lib/qt4/libQtGui.so.4

#43 0x000801d882bd in QEventLoop::processEvents ()

from /usr/local/lib/qt4/libQtCore.so.4

#44 0x000801d88427 in QEventLoop::exec ()

from /usr/local/lib/qt4/libQtCore.so.4

#45 0x000803ce00d7 in QMenu::exec () from 
/usr/local/lib/qt4/libQtGui.so.4


#46 0x00433195 in DolphinContextMenu::openItemContextMenu ()

#47 0x00434318 in DolphinContextMenu::open ()

#48 0x0042f06b in DolphinViewContainer::openContextMenu ()

#49 0x00430b27 in DolphinViewContainer::qt_metacall ()

#50 0x000801d9886b in QMetaObject::activate ()

from /usr/local/lib/qt4/libQtCore.so.4

#51 0x0008006d887a in DolphinView::requestContextMenu ()

from /usr/local/kde4/lib/libdolphinprivate.so.5

#52 0x0008006d9355 in DolphinView::openContextMenu ()

from /usr/local/kde4/lib/libdolphinprivate.so.5

#53 0x0008006dd131 in DolphinView::qt_metacall ()

from /usr/local/kde4/lib/libdolphinprivate.so.5

#54 0x000801d9886b in QMetaObject::activate ()

from /usr/local/lib/qt4/libQtCore.so.4

#55 0x0008006c7485 in DolphinController::requestContextMenu ()

from /usr/local/kde4/lib/libdolphinprivate.so.5

#56 0x0008039e87f9 in QWidget::event ()

from 

Re: Copying system/ports configuration?

2008-12-16 Thread Polytropon
On Tue, 16 Dec 2008 09:26:05 -0800 (PST), Dr. Jennifer Nussbaum 
bg271...@yahoo.com wrote:
 I dont quickly see a free tool to do this. Maybe its easier
 to do this from scratch

The handbook mentions a common method to transfer installed
systems partition-wise using dump and restore. Maybe this is
useful to you in order to avoid an installation from scratch.

And finaly, there's always dd. :-)


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Optimising pxeboot disk size

2008-12-16 Thread Wojciech Puchar

on NFS server.

Lot of root directories can be shared and mounted in fstab, after booting 
process : /usr, /home...


In current solution, the minimum root directories i had to keep for managing 
to boot are :

bin libexec sbin boot etc lib


i already did such things but with NetBSD 1.5 for my Xterminal distro.

it's simple:


mount / readonly, put everything here.

in /etc put /etc/rc consisting only

#!/bin/sh
exec /systemrc

in /systemrc put something like that:

#!/bin/sh
echo -n Mounting workstation config directory...
#get your IP or MAC address using ifconfig,grep,cut,awk,how you like
#put to to say MYIP
/sbin/mount_nfs yournfsserver:/clients/etc/MYIP /etc
echo done
exec /etc/rc



please then add:

/tmp, /var/tmp, /var/run, possibly /var/log as tmpfs in fstab

OR

mount it with per-station directory the same way as /etc



I wish it's helpful, doing this doesn't just save space but saves time - 
you have to upgrade software once.



you may like to make /etc-common directory and put most of files there, 
and symlinks in each station's /etc

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


Re: i686 CPU Compatibility

2008-12-16 Thread Wojciech Puchar

HI ADMIN,
I just want to ask, is this freeBSD compatible with my i686 CPU. if there
any, please advice me what version should i use. TQ

every version is




Regards
Mohd Shamsi Hafiz bin Abdul Hamid
Pegawai Pemasaran

Galeri Cenderamata Koperasi UPM BHD
Beg Berkunci 260
Pejabat Pos UPM
Universiti Putra Malaysia
43400 Serdang
Selangor
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



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


Re: ambigious 'top' results

2008-12-16 Thread Paul B. Mahol
On 12/16/08, KES kes-...@yandex.ru wrote:
 Здравствуйте, Questions.

 My system is overloaded, I run top to figure out which precess take
 time. In both cases CPU/WCPU I do not see which process take all the
 time. Which process take all processor time??

 last pid: 24535;  load averages:  3.86,  3.07,  3.07up 1+13:34:28

If last pid grow very fast, than some process are spawing like mad.

-- 
Paul
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Optimising pxeboot disk size

2008-12-16 Thread Bernard Dugas

Hi,

I'm working on a project to have many diskless clients PXEbooting on 1 
nfs server.


This works now, but i would like to have a more efficient use of disk 
space on NFS server.


Lot of root directories can be shared and mounted in fstab, after 
booting process : /usr, /home...


In current solution, the minimum root directories i had to keep for 
managing to boot are :

bin libexec sbin boot etc lib

But it appears that only /etc is really specific to each diskless 
clientX, having basically fstab and rc.conf inside.


All other directories could be shared, and specifically /boot which is 
more that 100MO : i would prefer not to duplicate it, as 10 servers 
would mean 1GO for nothing.


Please would anybody help find a way to share all what we can during 
boot process ?


Another way to ask the question is : how can we mount / and then /etc at 
the begining of boot process instead of mounting only / with etc inside ?


I have tried to do links, but no way to make the boot process follow them...

Thanks a lot,
Best regards,

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


Limewire 4.18 problem

2008-12-16 Thread Alvaro Rosales
Hello Guys,
I have a freebsd 7 Release #0 box, it works as a marble, unfortunately I
have a problem with limewire 4.18. I can connect with any other p2p network
client, (firewall is ok and set up to allow connections on limewire port and
upnp is enable) but limewire wont connect. I have made a search on the net
and found a thread that fixed it  by modifying the file  /etc/libmap.conf as
follows:
 [/usr/local/diablo-jre1.5.0/]
libpthread.so libc_r.so
libpthread.so.2 libc_r.so.6
I have diablo-jdk-1.6.0 so I replaced the lines, I didnt have the file
libmap.conf so I created it and added the lines  but still it doesnt work.

Any help would be greatly appreciated


Thanks in advance
Alvaro
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: questions about some archive files, type *.rar

2008-12-16 Thread Wojciech Puchar

To get such content from a DVD, you would just

% tar xf /dev/dvd

But I think this is only possible with UNIX (BSD, Linux, Solaris).
Windows cannot handle this, of course.


you may create small .iso image that consist of some stupid images, readme 
or autorun configured to format c: ;), then strip first 512 bytes of it 
with


dd if=winiso.iso bs=512 skip=1 of=tmp;mv tmp winiso.iso

THEN

tar Your files as you said, but put winiso.iso first :)

this way - unix user using tar will extract what's needed (just have to 
delete winiso.iso after), windoze user will see what you wanted in 
winiso.iso



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


Extracting changed files list from snapshot

2008-12-16 Thread Bernard Dugas

Hi,

I want to extract the list of files changed between 2 snapshots, to be 
able to do efficient backups.


Any idea where to find a document about snapshots internal structure ?

Or if you know any port that already do this :-?

Thanks a lot,
Best regards,
--
Bernard DUGAS Mobile +33 615 333 770
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Optimising pxeboot disk size

2008-12-16 Thread Wojciech Puchar

it's simple:


More simple when you tell it ;-) Thanks a lot, i will try it tonight !


it doesn't have chance - must work :)



I wish it's helpful, doing this doesn't just save space but saves time - 
you have to upgrade software once.


So preserving consistency, which is the most important when you have lot of 
diskless stations !


exactly. i'm using just NetBSD 1.5 (uses LITTLE memory) + Xserver, so 
there are almost no updates, but anyway - it's stored once.


you may like to make /etc-common directory and put most of files there, and 
symlinks in each station's /etc


In fact, it makes me think that we miss a concept in mount, or at least i 
don't know it currently :
imagine a -tl (TransparentLayer) option for mount, allowing to mount multiple 
source to the same directory, for instance /etc :


there is already such think - mount_unionfs

but i don't use it.

if you mount over some directory - it's original contents (like my /etc/rc 
doing exec /systemrc) gets hidden.




mount -r yournfsserver:/basic/etc /etc
mount -tl -r yournfsserver:/TypeX/etc /etc
mount -tl -r yournfsserver:/StationY/etc /etc


mount_unionfs

but i don't know how stable it is.


When you want to change something, you add a rw TransparentLayer :
mount -tl yournfsserver:/StationYchanges/etc /etc

So that changed or added files are only stored in this rw partition, thus 
very small and easy to manage.


This would be a kind of partition inheritance, like in object languages... 
Dreams are allowed :-)


try mount_unionfs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Limewire 4.18 problem

2008-12-16 Thread Andreas Rudisch
On Tue, 16 Dec 2008 10:44:14 + (GMT)
alvaro rosales ara...@yahoo.co.uk wrote:

 I have a freebsd 7 Release #0 box, it works as a marble,
 unfortunately I have a problem with limewire 4.18. I can connect with
 any other p2p network client, (firewall is ok and set up to allow
 connections on limewire port and upnp is enable) but limewire wont
 connect.

Sounds like the same problem Vuze/Azureus has when running on FreeBSD 7.

 I have made a search on the net and found a thread that fixed
 it  by modifying the file  /etc/libmap.conf as follows: 
  [/usr/local/diablo-jre1.5.0/] 
 libpthread.so libc_r.so 
 libpthread.so.2 libc_r.so.6 

That work-around only works on FreeBSD 6 (probably because of the
change to libthr in FreeBSD 7).

When I was testing Vuze again on FreeBSD 7.1-RC1 a few days ago, I
noticed that data transfer was happening when using UDP. But normal TCP
connections to other peers would time out, hanging during/after the
handshake. The connections seemed to be established though.

A Vuze developer told me, that transfers via UDP and TCP are using
different sets of native java APIs. TCP is non-blocking IO, so there
could be a problem in the FreeBSD Java code.

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpeuSMOBFips.pgp
Description: PGP signature


Re: Any doc reference on /entropy file ?

2008-12-16 Thread RW
On Tue, 16 Dec 2008 14:08:10 +0100
Bernard Dugas bern...@dugas-family.org wrote:

 Hi,
 
 When i look at / in a standard installation like :
 FreeBSD XXX 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52
 UTC 2008 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
 i386
 
 There is only 1 file, named entropy :
 
 -rw---   1 root  wheel  4096 Dec 11 17:36 entropy
 
 I can't find any reference to that file in FreeBSD doc.
 

It contains random numbers that are written-out at shutdown and used to
seed /dev/random on the next boot.

 
 Do i have to keep it read/write ? Can i put it in /var instead of /
 to be able to keep / read-only ?

It has to be on the root-partition, if it's going to be used. 

You can set entropy_file=NO if you don't want it. There are additional
entropy files under /var, and the system generates it's own entropy
during the boot stage, which is good enough for normal cases.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Any doc reference on /entropy file ?

2008-12-16 Thread Wojciech Puchar


-rw---   1 root  wheel  4096 Dec 11 17:36 entropy

I can't find any reference to that file in FreeBSD doc.

Any reference to it ? What is it used for ? I have look in RANDOM area, but 
no reference...


at startup it seeds random generator, every 11 minutes and at shutdown 
it's saved from random generator.


it's here to make random generator more random - not starting clean at 
boot.

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


loader.conf fbsd 7-release

2008-12-16 Thread Gary Hartl
Hi all;

I need to add something to loader.conf which according to me should be in
/boot

Has something changed so that it wouldn't be there anymore.

Or do i just create it and it will parse it out at boot.

I need to add 

accf_http_load=YES

to correct a problem with apache22 giving me the prompt/error

(2)No such file or directory: Failed to enable the 'httpready' Accept Filter

Thanks 

Gary 


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


Re: Optimising pxeboot disk size

2008-12-16 Thread Bernard Dugas

Wojciech Puchar wrote:

i already did such things but with NetBSD 1.5 for my Xterminal distro.

it's simple:


More simple when you tell it ;-) Thanks a lot, i will try it tonight !

I wish it's helpful, doing this doesn't just save space but saves time - 
you have to upgrade software once.


So preserving consistency, which is the most important when you have lot 
of diskless stations !


you may like to make /etc-common directory and put most of files there, 
and symlinks in each station's /etc


In fact, it makes me think that we miss a concept in mount, or at least 
i don't know it currently :
imagine a -tl (TransparentLayer) option for mount, allowing to mount 
multiple source to the same directory, for instance /etc :


mount -r yournfsserver:/basic/etc /etc
mount -tl -r yournfsserver:/TypeX/etc /etc
mount -tl -r yournfsserver:/StationY/etc /etc

A file is first look for in yournfsserver:/StationY/etc,
then in yournfsserver:/TypeX/etc
and finally in yournfsserver:/basic/etc.

This means that StationX will see in its /etc firts its specific files, 
then the files dedicated to TypeX station (webserver, dns server, 
workstation,...) and then all basic files unchanged from standard 
distribution.


When you want to change something, you add a rw TransparentLayer :
mount -tl yournfsserver:/StationYchanges/etc /etc

So that changed or added files are only stored in this rw partition, 
thus very small and easy to manage.


This would be a kind of partition inheritance, like in object 
languages... Dreams are allowed :-)


Thanks a lot,
Best regards,
--
Bernard DUGAS Mobile +33 615 333 770
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re[2]: FreeBSD 7.1-RC1 rl0 watchdog timeout with custom kernel

2008-12-16 Thread Wojciech Puchar

Any mistake?


The rl driver supports some really terrible hardware, so I'm far from
convinced that your custom kernel is causing the problems.  Perhaps you
could check by switching back to a GENERIC kernel for a while.


It works well with GENERIC when I'm simply serfing the net or
fetching ports.
How can I test my network adapter under heavy load?

connect to other computer and transfer files, one direction or both
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Python with many threads

2008-12-16 Thread Ott Köstner
Hello list,

Trying to run Grub Next Generation Python Client 
(http://grub.org/?q=en/node/204) on my FreeDSD 7.1 box with as many
threads as possible. Python version is 2.5.2.

The question is, what limits the number of concurrent threads I can run? I have 
free memory and cpu, but starting from around 50 threads, Python starts to give 
random errors like this:

Exception in thread 30:
Traceback (most recent call last):
  File /usr/local/lib/python2.5/threading.py, line 486, in __bootstrap_inner
self.run()

The number of errors increases rapidly with even bigger number of threads. Is 
there any way I can increase the maximum number of Python threads?


With best regards,
O.K.



-- 
Mõõda oma inteneti kiirust / Test Your Internet speed
http://speedtest.zzz.ee/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Limewire 4.18 problem

2008-12-16 Thread alvaro rosales
Hello Guys,
I have a freebsd 7 Release #0 box, it works as a marble,
unfortunately I have a problem with limewire 4.18. I can connect with
any other p2p network client, (firewall is ok and set up to allow
connections on limewire port and upnp is enable) but limewire wont
connect. I have made a search on the net and found a thread that fixed
it  by modifying the file  /etc/libmap.conf as follows: 
 [/usr/local/diablo-jre1.5.0/] 
libpthread.so libc_r.so 
libpthread.so.2 libc_r.so.6 
I have diablo-jdk-1.6.0 so I replaced the lines, I didnt have the
file libmap.conf so I created it and added the lines  but still it
doesnt work. 

Any help would be greatly appreciated


Thanks in advance
Alvaro


  Start your day with Yahoo!7 and win a Sony Bravia TV. Enter now 
http://au.docs.yahoo.com/homepageset/?p1=otherp2=aup3=tagline
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Centralized DB of system users

2008-12-16 Thread Wojciech Puchar



LDAP is the way to go.


the right tool for the task is the way to go.

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


FreeBSD 7 load hangs on boot

2008-12-16 Thread ThinkDifferently

I have a new system put together (see below).  In booting it up for the first
time, it hangs.

I'm booting from a FreeBSD 7.0 distribution on a USB drive.

Here are the messages, in part...

.

.

.

sc0:  at flags 0x100 on isa0

sc0: VGA 16 virtual consoles, flags=0x300

vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0

Timecounters tick every 1.000 msec

hptrr: no controller detected.

The GEOM class LABEL is already loaded.

*** HANG ***


Where should I look to troubleshoot?


My hardware is...

nbsp;nbsp;Motherboard: MSI K9N2G Neo-FD

nbsp;nbsp;Processor: AMD Phenom 9600 Agena 2.3GHz Socket AM2+ Quad-Core

nbsp;nbsp;Memory: Rendition by Crucial 1GB (x4) DDR2 SDRAM (PC2 6400)

nbsp;nbsp;Disk Drives: 2x Samsung Spinpoint F1 HD753LJ 750GB 7200 RPM SATA

nbsp;nbsp;I have the disks in a RAID 1 configuration via the motherboard.

nbsp;nbsp;There is no other hardware in the case, and I'm booting from
USB.


-- 
View this message in context: 
http://www.nabble.com/FreeBSD-7-load-hangs-on-boot-tp21039625p21039625.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Canonical way for DHCP-IP-/etc/hosts

2008-12-16 Thread Roger Olofsson



Greg Larkin skrev:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Roger Olofsson wrote:


Jeff Laine skrev:

On Sun, Dec 14, 2008 at 02:00:12PM +0100, Roger Olofsson wrote:

Dear mailing list,

I am sorry if this question has been asked over and over again -
however the htdig search interface for the lists is somewhat shaky
and gives referrer errors for me.

Pre-conditions.
Dualhomed firewalled FreeBSD7.1. One nic is LAN and the other
dynamical IP from ISP.

Question: What is the canonical way for catching the IP address from
a DHCP assigned nic (from ISP that doesn't set hostname) and put the
IP into /etc/hosts with a hostname?

Reason for asking
Firewall rules needs refreshing after new IP

Possible answers:
Create dhcp-exit-hooks (undocumented?) in /etc like so:

#!/bin/sh

if [ ! -z $new_ip_address ]; then
IP=`ifconfig WAN | grep 'inet' | grep -v 'inet6' | cut -f 2 -d ' '`
if [ ! -z $IP ]; then
echo $IPwan.local.domain wan  /etc/hosts

refresh firewall rules here

fi
fi


Hello. I think pf can handle with dhcp updates on interfaces pretty well.
If only I get your question right.





Hi Jeff and thank you for your reply,

Yes, I know that pf will handle interfaces just fine, the question was
not specific to pf though but more around dhclient, dhclient-script and
the part of dhclient-script that calls the undocumented
dhclient-exit-hooks.

It might be handy to have the external IP assigned to a hostname - not
only for pf.

/R



Hi Roger,

I wrote a blog post about automatically configuring /etc/hosts with a
DHCP dynamic IP address earlier this year:
http://blog.sourcehosting.net/tag/dhcp/.  You can download a ZIP file
with the dhclient-exit-hook script in it near the bottom of the page.

In my case, I also wrote some commands to update the Apache httpd.conf
file with the correct ServerName directive.  You can easily remove that
from the script if you don't need it.

If you need any assistance, let me know.

Regards,
Greg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklG1FEACgkQ0sRouByUApB1SACgmfJ4EtiyKdhyPgILZyc77Fxc
gHMAnRGGBWIya0Fg314LyrJZq9tTZvbj
=jHL5
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.9.18/1849 - Release Date: 2008-12-15 09:01




Hello Greg,

Thank you very much. I guess this is the canonical way of doing it.

/R

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


Re: loader.conf fbsd 7-release

2008-12-16 Thread Polytropon
On Tue, 16 Dec 2008 13:19:54 -0500, Gary Hartl gha...@gmail.com wrote:
 Hi all;
 
 I need to add something to loader.conf which according to me should be in
 /boot
 
 Has something changed so that it wouldn't be there anymore.
 
 Or do i just create it and it will parse it out at boot.

No, you're completely correct. /boot/loader.conf is to be
created if neccessary to override /boot/defaults/loader.conf
with the default settings.

 I need to add 
 
 accf_http_load=YES
 
 to correct a problem with apache22 giving me the prompt/error
 
 (2)No such file or directory: Failed to enable the 'httpready' Accept Filter

Just create the file and add the setting. It will then load
/boot/kernel/accf_http.ko on system startup.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 7 load hangs on boot

2008-12-16 Thread Polytropon
On Tue, 16 Dec 2008 11:09:44 -0800 (PST), ThinkDifferently 
jer...@futurecis.com wrote:
 
 I have a new system put together (see below).  In booting it up for the first
 time, it hangs.
 
 I'm booting from a FreeBSD 7.0 distribution on a USB drive.
 
 Here are the messages, in part...
 
 [...]
 
 .
 hptrr: no controller detected.

It looks like there's a proble with the hptrr driver? Have you
tried loading the HighPoint RocketRAID device drive by putting

hptrr_load=YES

into /boot/loader.conf?

Further information can be obtained by:

% man hptrr

Check if your particular controller is supported.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


LPRng x pdf files

2008-12-16 Thread luizbcampos
   Does anyone know how to print a pdf file using LPRng?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Extracting changed files list from snapshot

2008-12-16 Thread Lowell Gilbert
Bernard Dugas bern...@dugas-family.org writes:

 I want to extract the list of files changed between 2 snapshots, to be
 able to do efficient backups.

 Any idea where to find a document about snapshots internal structure ?

 Or if you know any port that already do this :-?

An easier way would be to generate an mtree(1) description for each
snapshot, and using that to compare against other snapshots.  You have
to mount the snapshot for that, though...

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Any doc reference on /entropy file ?

2008-12-16 Thread Bernard Dugas

Wojciech Puchar wrote:
2- As / will be mounted read-only, how can i tell the ramdom generator 
to put this /entropy file somewhere in /var, where i think it should 
be ? Or is there any tricky hidden problem ?


man rc.conf  seek entropy_file and entropy_dir


Thanks, detail is available in /etc/default/rc.conf :

entropy_file=/entropy # Set to NO to disable caching entropy through 
reboots.
# /var/db/entropy-file is preferred if / is not 
avail.


It means that i can put it in /var when L is read-only. There should be 
no problem as the file is choosen in rc.conf, so after /var is mounted.


As this is for diskless station, it would be fun to change the entropy 
file through the nfs server RANDOM, even better thant at each boot :-)


Best regards,
--
Bernard DUGAS Mobile +33 615 333 770
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: LPRng x pdf files

2008-12-16 Thread Polytropon
On Tue, 16 Dec 2008 18:23:14 -0200, luizbcampos luizbcam...@gmail.com wrote:
Does anyone know how to print a pdf file using LPRng?

In principle,

% lpr filename.pdf

Or you can use gv's or xpdf's print option which should place
the PDF file's content into the printer job queue.

If your printer is PostScript capable, you could eventually
use pdf2ps and then feed the PS directly into the printer.

-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: LPRng x pdf files

2008-12-16 Thread Wojciech Puchar


Or you can use gv's or xpdf's print option which should place
the PDF file's content into the printer job queue.

If your printer is PostScript capable, you could eventually
use pdf2ps and then feed the PS directly into the printer.


if not - ghostscript processes both ps and pdf

example filter for my laserjet 4 (minimally modified default)

#!/bin/sh
#
#  ifhp - Print Ghostscript-simulated PostScript on a DesJet 500
#  Installed in /usr/local/libexec/hpif

#
#  Treat LF as CR+LF:
#
printf \033k2G || exit 2

#
#  Read first two characters of the file
#
read first_line
first_two_chars=`expr $first_line : '\(..\)'`

if [ $first_two_chars = %! ]; then
#
#  It is PostScript; use Ghostscript to scan-convert and print it
#
/usr/local/bin/gs -dSAFER -dNOPAUSE -q -sPAPERSIZE=a4 -sDEVICE=ljet4 
-sOutputFile=- - \
 exit 0

else
#
#  Plain text or HP/PCL, so just print it directly; print a form
#  at the end to eject the last page.
#
echo $first_line  cat  printf \f  exit 0
fi

exit 2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Optimising pxeboot disk size

2008-12-16 Thread Bernard Dugas

Paul B. Mahol wrote:


On 12/16/08, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:



When you want to change something, you add a rw TransparentLayer :
mount -tl yournfsserver:/StationYchanges/etc /etc

So that changed or added files are only stored in this rw partition, thus
very small and easy to manage.

This would be a kind of partition inheritance, like in object languages...

Dreams are allowed :-)


try mount_unionfs


and mount_nullfs


Thanks Paul, FreeBSD has always hidden treasures :-)

MOUNT_NULLFS(8) doc is very detailled, but i can't find how to use it 
for my problem : being able to go from common shared configuration to 
specific private configuration.


unionfs looks very close to my dream, but it is currently not available 
for production :-(


Best regards,
--
Bernard DUGAS Mobile +33 615 333 770
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Copying system/ports configuration?

2008-12-16 Thread Bernard Dugas
On Tue, 16 Dec 2008 09:26:05 -0800 (PST), Dr. Jennifer Nussbaum 
bg271828 at yahoo.com wrote:

 I dont quickly see a free tool to do this. Maybe its easier
 to do this from scratch

I just found last week ports-mngnt/portmaster that can help you to do 
that, and i have suggested portmaster author to add an -export option 
readable to built new ports on another computer.


May be an -export-packages option would be nice also ?

Best regards,
--
Bernard DUGAS Mobile +33 615 333 770
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Any doc reference on /entropy file ?

2008-12-16 Thread Bernard Dugas
Thank you RW, i am new on the list, i didn't answer you because i didn't 
received your answer while i received others, don't know why yet.


I would be very interested to find a large but right view in the man 
documentation of what is happening exactly to this poor lost file :-)


The etc/default/rc.conf detailled file is not searchable in the man 
page, nor the default /entropy file.


Best regards,
--
Bernard DUGAS Mobile +33 615 333 770
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Optimising pxeboot disk size

2008-12-16 Thread Wojciech Puchar


MOUNT_NULLFS(8) doc is very detailled, but i can't find how to use it for my 
problem : being able to go from common shared configuration to specific 

you can't - nullfs doesn't do this.

use symlinks

/etc containing tons of links to /sharedetc and few files instead of 
symlink - for those that are different.

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


Invitation from Mike McConnell to join mySBX

2008-12-16 Thread registration

   Message from Mike McConnell . . .

   Hello there - I wanted to share mySBX with you - something that has
   changed the way my company finds everything from work, people, teaming
   opportunities, great information, etc... -- Just thought you may have
   interest in exploring mySBX and hope you find it as helpful as we
   have. Please let me know your thoughts... Thanks -- Mike

   Invitation Details Below . . .
   Hello

   Mike McConnell recently joined mySBX -- a collaborative network for
   professionals and enterprises to pursue revenue opportunities,
   exchange assets and resources, collaborate on projects, and accelerate
   key decisions regarding their businesses.

   Mike McConnell has identified you as valuable addition to the network
   and would like you to join us in growing and shaping this community.
   Together, we can change the way we work forever.

   Please follow this personal registration link and you will be
   exploring mySBX in minutes:
   [1]http://www.mysbx.com/user/register/MYSBX-nruws

   Thank you and welcome, in advance.

   Jeff White

   President, mySBX

   About this Invitation . . .

   This invitation has been sent to you by mySBX at the specific request
   of Mike McConnell ([2]mikemcconnel...@yahoo.com)

   If you would like to register, but would rather not click on the link
   above, please visit [3]www.mysbx.com, click on the Join the Preview
   link, and register directly.

   Please reply this email to registrat...@mysbx.com with the words no
   invitations in the subject if you would like mySBX to prevent other
   members from inviting you to join.

   Send any comments or questions to [4]registrat...@mysbx.com.

   About mySBX . . .

   Please visit [5]www.mysbx.com to learn more about mySBX, or send
   inquiries to Jeff White ([6]jwh...@mysbx.com)

   © mySBX LLC, 2008

References

   1. http://www.mysbx.com/user/register/MYSBX-nruws
   2. mailto:mikemcconnel...@yahoo.com
   3. file://localhost/tmp/www.mysbx.com
   4. mailto:registrat...@mysbx.com
   5. file://localhost/tmp/www.mysbx.com
   6. mailto:jwh...@mysbx.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Extracting changed files list from snapshot

2008-12-16 Thread Bernard Dugas

Lowell Gilbert wrote:


Bernard Dugas bern...@dugas-family.org writes:



I want to extract the list of files changed between 2 snapshots, to be
able to do efficient backups.

Any idea where to find a document about snapshots internal structure ?

Or if you know any port that already do this :-?



An easier way would be to generate an mtree(1) description for each
snapshot, and using that to compare against other snapshots.  You have
to mount the snapshot for that, though...




--
Bernard DUGAS Mobile +33 615 333 770
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Extracting changed files list from snapshot

2008-12-16 Thread Bernard Dugas

Lowell Gilbert wrote:

Bernard Dugas bern...@dugas-family.org writes:


I want to extract the list of files changed between 2 snapshots, to be
able to do efficient backups.

Any idea where to find a document about snapshots internal structure ?

Or if you know any port that already do this :-?


An easier way would be to generate an mtree(1) description for each
snapshot, and using that to compare against other snapshots.  You have
to mount the snapshot for that, though...


Thanks for your answer, sorry not to be clear on the goal : find the 
changed files without having to read the whole LARGE disk.


By definition, snapshot files have internally the list of block changed. 
So i would like to have a description of the internal structure of a 
snapshot file and a way to find the file by which any changed block is 
owned.


Best regards,
--
Bernard DUGAS Mobile +33 615 333 770
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Optimising pxeboot disk size

2008-12-16 Thread Da Rock
On Tue, 2008-12-16 at 15:02 +0100, Bernard Dugas wrote:
 Wojciech Puchar wrote:
  i already did such things but with NetBSD 1.5 for my Xterminal distro.
  
  it's simple:
 
 More simple when you tell it ;-) Thanks a lot, i will try it tonight !
 
  I wish it's helpful, doing this doesn't just save space but saves time - 
  you have to upgrade software once.
 
 So preserving consistency, which is the most important when you have lot 
 of diskless stations !
 
  you may like to make /etc-common directory and put most of files there, 
  and symlinks in each station's /etc
 
 In fact, it makes me think that we miss a concept in mount, or at least 
 i don't know it currently :
 imagine a -tl (TransparentLayer) option for mount, allowing to mount 
 multiple source to the same directory, for instance /etc :
 
 mount -r yournfsserver:/basic/etc /etc
 mount -tl -r yournfsserver:/TypeX/etc /etc
 mount -tl -r yournfsserver:/StationY/etc /etc
 
 A file is first look for in yournfsserver:/StationY/etc,
 then in yournfsserver:/TypeX/etc
 and finally in yournfsserver:/basic/etc.
 
 This means that StationX will see in its /etc firts its specific files, 
 then the files dedicated to TypeX station (webserver, dns server, 
 workstation,...) and then all basic files unchanged from standard 
 distribution.
 
 When you want to change something, you add a rw TransparentLayer :
 mount -tl yournfsserver:/StationYchanges/etc /etc
 
 So that changed or added files are only stored in this rw partition, 
 thus very small and easy to manage.
 
 This would be a kind of partition inheritance, like in object 
 languages... Dreams are allowed :-)

Apparently that sort of thing is available on plan9 OS. Everything is a
file so you can mount remote and local devices- plus merge them in a
single directory. Check it out on wikipedia...

Dreams can come true! :)

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


Re: Optimising pxeboot disk size

2008-12-16 Thread Paul B. Mahol
On 12/16/08, Bernard Dugas bern...@dugas-family.org wrote:
 Paul B. Mahol wrote:

 On 12/16/08, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:

When you want to change something, you add a rw TransparentLayer :
mount -tl yournfsserver:/StationYchanges/etc /etc

So that changed or added files are only stored in this rw partition, thus
very small and easy to manage.

This would be a kind of partition inheritance, like in object
 languages...

Dreams are allowed :-)

try mount_unionfs

 and mount_nullfs

 Thanks Paul, FreeBSD has always hidden treasures :-)

 MOUNT_NULLFS(8) doc is very detailled, but i can't find how to use it
 for my problem : being able to go from common shared configuration to
 specific private configuration.

 unionfs looks very close to my dream, but it is currently not available
 for production :-(

Well, I tested unionfs on CURRENT and it did not crashed on me. Feel
free to test it on 7 STABLE and report results to developers.

-- 
Paul
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Any doc reference on /entropy file ?

2008-12-16 Thread RW
On Tue, 16 Dec 2008 21:39:56 +0100
Bernard Dugas bern...@dugas-family.org wrote:

 Wojciech Puchar wrote:
  2- As / will be mounted read-only, how can i tell the ramdom
  generator to put this /entropy file somewhere in /var, where i
  think it should be ? Or is there any tricky hidden problem ?
  
  man rc.conf  seek entropy_file and entropy_dir
 
 Thanks, detail is available in /etc/default/rc.conf :
 
 entropy_file=/entropy # Set to NO to disable caching entropy
 through reboots.
  # /var/db/entropy-file is preferred if / is
 not avail.
 
 It means that i can put it in /var when L is read-only. There should
 be no problem as the file is choosen in rc.conf, so after /var is
 mounted.

Whatever it says in /etc/default/rc.conf, /entropy is read before /var
is mounted.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Optimising pxeboot disk size

2008-12-16 Thread Bernard Dugas

Paul B. Mahol wrote:

Well, I tested unionfs on CURRENT and it did not crashed on me. Feel
free to test it on 7 STABLE and report results to developers.


Thanks for the feed-back, i will no more be afraid to test :-)
I will tell you later,

Best regards,
--
Bernard DUGAS Mobile +33 615 333 770
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: loader.conf fbsd 7-release

2008-12-16 Thread Adam K Kirchhoff

On Tue, 2008-12-16 at 13:19 -0500, Gary Hartl wrote:
 Hi all;
 
 I need to add something to loader.conf which according to me should be in
 /boot
 
 Has something changed so that it wouldn't be there anymore.
 
 Or do i just create it and it will parse it out at boot.
 
 I need to add 
 
 accf_http_load=YES
 
 to correct a problem with apache22 giving me the prompt/error
 
 (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
 
 Thanks 
 
 Gary 

If /boot/loader.conf does not exist, you can create it and add that
line.

Adam



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


looking for a secondary.

2008-12-16 Thread Gary Kline

i was recently informed that the firm that bought secondary.com is 
going to
begin charging $100/mo.  i nearly choked on that, but whatever...  i'm
looking for an *.org who does DNS secondaries free oe nearly so.  i know
there is at least one place, but it's been years.  

i thought i'd check here first because i'm not how to pose this as a 
good
search.

thanks, guys,

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.17a release of Jottings: http://jottings.thought.org/index.php

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


Re: looking for a secondary.

2008-12-16 Thread Peter Giessel
On Tuesday, December 16, 2008, at 02:42PM, Gary Kline kl...@thought.org 
wrote:

   i was recently informed that the firm that bought secondary.com is 
 going to
   begin charging $100/mo.  i nearly choked on that, but whatever...  i'm
   looking for an *.org who does DNS secondaries free oe nearly so.  i know
   there is at least one place, but it's been years.  

Not free, but nearly so:
http://www.dyndns.com/services/dns/secdns/

$17.50/year = $1.46/month...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


lang/php5 port

2008-12-16 Thread Tom Worster
is there any documentation or a helpful website for how to use ports to
install php5?

i'm used to compiling it with a pretty long configuration command for all
the optional bits i need, e.g. --with-dom --with-dom-xslt --enable-dom
--with-pear --with-gd etc. etc. on and on.

i'm unclear how these options are handled in freebsd ports. is it a matter
of identifying lots of individual ports, one for each of the configuration
command options i'd normally use?


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


Re: lang/php5 port

2008-12-16 Thread Steve Bertrand
Tom Worster wrote:
 is there any documentation or a helpful website for how to use ports to
 install php5?
 
 i'm used to compiling it with a pretty long configuration command for all
 the optional bits i need, e.g. --with-dom --with-dom-xslt --enable-dom
 --with-pear --with-gd etc. etc. on and on.
 
 i'm unclear how these options are handled in freebsd ports. is it a matter
 of identifying lots of individual ports, one for each of the configuration
 command options i'd normally use?

From what I can tell (and how I normally do it) is simply put your
familiar command line compile args in the Makefile within the ports tree.

If you follow the flow of the existing Makefile, it should become clear
as to how to add your custom args.

Simply:

# cd /usr/ports/lang/php5
# ee (or if you please 'vi') Makefile
# make install [clean]

...any problems, report back. Ironically, I just did this type of PHP
install today.

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: lang/php5 port

2008-12-16 Thread Brett Davidson



Tom Worster wrote:
  

is there any documentation or a helpful website for how to use ports to
install php5?

i'm used to compiling it with a pretty long configuration command for all
the optional bits i need, e.g. --with-dom --with-dom-xslt --enable-dom
--with-pear --with-gd etc. etc. on and on.

i'm unclear how these options are handled in freebsd ports. is it a matter
of identifying lots of individual ports, one for each of the configuration
command options i'd normally use?



  
Run make config on the php port to see if any configuration options you 
need are mentioned there.
I normally utlise the php-extensions port - run make config in there for 
options.


Cheers,
Brett.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: lang/php5 port

2008-12-16 Thread Steve Bertrand
Brett Davidson wrote:
 
 Tom Worster wrote:
  
 is there any documentation or a helpful website for how to use ports to
 install php5?

 i'm used to compiling it with a pretty long configuration command for
 all
 the optional bits i need, e.g. --with-dom --with-dom-xslt --enable-dom
 --with-pear --with-gd etc. etc. on and on.

 i'm unclear how these options are handled in freebsd ports. is it a
 matter
 of identifying lots of individual ports, one for each of the
 configuration
 command options i'd normally use?
 

   
 Run make config on the php port to see if any configuration options you
 need are mentioned there.
 I normally utlise the php-extensions port - run make config in there for
 options.

One of the reasons I've had to edit Makefile manually was because a
client needed JPEG support.

At the time, `make config' didn't provide that option.

You make a couple of valuable points however. It would be easier if the
OP's demands could be met with your method.

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: lang/php5 port

2008-12-16 Thread Amitabh Kant
install the options from  lang/php5-extensions . Gives you tons of
options for php5.

Amitabh

On Wed, Dec 17, 2008 at 5:53 AM, Tom Worster f...@thefsb.org wrote:
 is there any documentation or a helpful website for how to use ports to
 install php5?

 i'm used to compiling it with a pretty long configuration command for all
 the optional bits i need, e.g. --with-dom --with-dom-xslt --enable-dom
 --with-pear --with-gd etc. etc. on and on.

 i'm unclear how these options are handled in freebsd ports. is it a matter
 of identifying lots of individual ports, one for each of the configuration
 command options i'd normally use?


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

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


Re: lang/php5 port

2008-12-16 Thread Brett Davidson

Steve Bertrand wrote:

Brett Davidson wrote:
  

Tom Worster wrote:
 
  

is there any documentation or a helpful website for how to use ports to
install php5?

i'm used to compiling it with a pretty long configuration command for
all
the optional bits i need, e.g. --with-dom --with-dom-xslt --enable-dom
--with-pear --with-gd etc. etc. on and on.

i'm unclear how these options are handled in freebsd ports. is it a
matter
of identifying lots of individual ports, one for each of the
configuration
command options i'd normally use?


  
  

Run make config on the php port to see if any configuration options you
need are mentioned there.
I normally utlise the php-extensions port - run make config in there for
options.



One of the reasons I've had to edit Makefile manually was because a
client needed JPEG support.

At the time, `make config' didn't provide that option.

You make a couple of valuable points however. It would be easier if the
OP's demands could be met with your method.

Steve

  

php-extensions supports jpg in the make config options - I use that too.
It's a really elegant way of configuring almost every php option we need.

Brett.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: lang/php5 port

2008-12-16 Thread Steve Bertrand
Brett Davidson wrote:
 Steve Bertrand wrote:
 Brett Davidson wrote:

 Run make config on the php port to see if any configuration options you
 need are mentioned there.
 I normally utlise the php-extensions port - run make config in there for
 options.
 

 One of the reasons I've had to edit Makefile manually was because a
 client needed JPEG support.

 At the time, `make config' didn't provide that option.

 You make a couple of valuable points however. It would be easier if the
 OP's demands could be met with your method.

 php-extensions supports jpg in the make config options - I use that too.
 It's a really elegant way of configuring almost every php option we need.

Thanks Brett,

Even though I wasn't the original poster, I certainly learnt something here.

This is a perfect example of how external application support can be
provided willingly and thoughtfully through our mailing list, via
members who do actually care.

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 7 load hangs on boot

2008-12-16 Thread ThinkDifferently


Polytropon wrote:
 
 On Tue, 16 Dec 2008 11:09:44 -0800 (PST), ThinkDifferently  wrote:

 hptrr: no controller detected.

 

 It looks like there's a proble with the hptrr driver? Have you

 tried loading the HighPoint RocketRAID device drive by putting

 

   hptrr_load=YES

 

 into /boot/loader.conf?

 

 Further information can be obtained by:

 

   % man hptrr

 

 Check if your particular controller is supported.

 

Thanks for responding.  Forgive me for being new to FreeBSD.  My career has
been System V OS'es, like Solaris  HP-UX.  My new biz partner has
strong-armed me...er...convinced me to go FreeBSD.


I am booting from the boot only cd (burned from the amd64 iso) for the
first time.  How do I put hptrr_load=YES into /boot/loader.conf?


Also on my other FreeBSD system, 'man hptrr' resulted in 'no manual page'.


I've been troubleshooting a little with my biz partner.  He told me there
might've been something wrong with the i386 version of FreeBSD on my USB
drive.  So, I put an IDE DVD-ROM drive in the system and got the latest
AMD64 ISO on CD.


Now I'm getting...

acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00

GEOM_LABEL: Label for provider acd0 is iso9660/FreeBSD_bootonly.

acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00

*** HANG ***


I also tried resetting the BIOS to Failsafe Settings...no luck.  I'm
curious, though, what the BIOS settings should be.
-- 
View this message in context: 
http://www.nabble.com/FreeBSD-7-load-hangs-on-boot-tp21039625p21045861.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 7 load hangs on boot

2008-12-16 Thread ThinkDifferently

...some more interesting errors from bootup...My biz partner seemed
interested in these (don't know why)...
hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 10:34:18)
acpi0: 052008 RSDT1050 on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of free0, 1000 (3) failed
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, c7f0 (3) failed
-- 
View this message in context: 
http://www.nabble.com/FreeBSD-7-load-hangs-on-boot-tp21039625p21045931.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: looking for a secondary.

2008-12-16 Thread Matt Emmerton
On Tuesday, December 16, 2008, at 02:42PM, Gary Kline 
kl...@thought.org wrote:


i was recently informed that the firm that bought secondary.com is going 
to

begin charging $100/mo.  i nearly choked on that, but whatever...  i'm
looking for an *.org who does DNS secondaries free oe nearly so.  i know
there is at least one place, but it's been years.


Not free, but nearly so:
http://www.dyndns.com/services/dns/secdns/

$17.50/year = $1.46/month...


Other options include: http://www.backupdns.com/index.html

$0.80/month/zone for a small number of zones.

Or http://www.zoneedit.com

They will host DNS (primary and/or secondary) for 5 zones, free of charge 
(subject to bandwidth).


--
Matt Emmerton



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


Re: FreeBSD 7 load hangs on boot

2008-12-16 Thread Steve Bertrand
ThinkDifferently wrote:
 ...some more interesting errors from bootup...My biz partner seemed
 interested in these (don't know why)...
 hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 10:34:18)
 acpi0: 052008 RSDT1050 on motherboard
 acpi0: [ITHREAD]
 acpi0: Power Button (fixed)
 acpi0: reservation of free0, 1000 (3) failed
 acpi0: reservation of 0, a (3) failed
 acpi0: reservation of 10, c7f0 (3) failed

AFAIK, your RocketRAID should be picked up by the 'twe' driver.

If you run a FreeBSD install disk (as opposed to boot-only), are you
provided with an install location (via sysinstall) as far as hard disks
are concerned?

Is this RAID array something that you can afford to risk losing through
troubleshooting?

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 7 load hangs on boot

2008-12-16 Thread ThinkDifferently


Steve Bertrand-2 wrote:
 
 AFAIK, your RocketRAID should be picked up by the 'twe' driver.
 
 If you run a FreeBSD install disk (as opposed to boot-only), are you
 provided with an install location (via sysinstall) as far as hard disks
 are concerned?
 
 Is this RAID array something that you can afford to risk losing through
 troubleshooting?
 

I haven't tried an install disk yet, just the boot-only.  I will try that
right away.

This system is so spankin' new, there's nothing loaded on it.  This RAID
array is just something I setup in the BIOS.  It's not even been initialized
yet...because I can't even load the OS to install anything.
-- 
View this message in context: 
http://www.nabble.com/FreeBSD-7-load-hangs-on-boot-tp21039625p21046366.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: looking for a secondary.

2008-12-16 Thread Al Plant

Matt Emmerton wrote:
On Tuesday, December 16, 2008, at 02:42PM, Gary Kline 
kl...@thought.org wrote:


i was recently informed that the firm that bought secondary.com is 
going to

begin charging $100/mo.  i nearly choked on that, but whatever...  i'm
looking for an *.org who does DNS secondaries free oe nearly so.  i know
there is at least one place, but it's been years.


Not free, but nearly so:
http://www.dyndns.com/services/dns/secdns/

$17.50/year = $1.46/month...


Other options include: http://www.backupdns.com/index.html

$0.80/month/zone for a small number of zones.

Or http://www.zoneedit.com

They will host DNS (primary and/or secondary) for 5 zones, free of 
charge (subject to bandwidth).


--
Matt Emmerton



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



Aloha Gary,

We use Zone Edit for many years. Good and responsive to any issues.

--

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

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


Re: FreeBSD 7 load hangs on boot

2008-12-16 Thread ThinkDifferently


ThinkDifferently wrote:
 
 
 Steve Bertrand-2 wrote:
 
 AFAIK, your RocketRAID should be picked up by the 'twe' driver.
 
 If you run a FreeBSD install disk (as opposed to boot-only), are you
 provided with an install location (via sysinstall) as far as hard disks
 are concerned?
 
 Is this RAID array something that you can afford to risk losing through
 troubleshooting?
 
 
 I haven't tried an install disk yet, just the boot-only.  I will try that
 right away.
 
 This system is so spankin' new, there's nothing loaded on it.  This RAID
 array is just something I setup in the BIOS.  It's not even been
 initialized yet...because I can't even load the OS to install anything.
 

Well, still no joy.  :-(

I have tried booting from Boot-only, Disc1, LiveFS.  Additionally, I've
tried the default boot, with ACPI disabled, Safe Mode, single user
mode, and verbose logging.

Every CD and every boot type gives me the exact same errors...

at the beginning:
...
acpi0: reservation of fee0, 1000 (3) failed
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, c7f0 (3) failed

and at the end:
...
hptrr: no controller detected.
acd0: DVDROM SAMSUNG DVD-ROM SD-616F/F104 at ata0-master UDMA33
acd0: FAILURE  READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00
GEOM_LABEL: Label for provider acd0 is iso9660/FreeBSD_xxx (where xxx is the
disc I'm using).
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00
*** HANG ***

BTW, the *** HANG *** requires a hard reset.

Also, I read some hearsay in other forums that the READ_BIG error could be
caused by the write speed when the ISO is burned to CD.  So, I tried
downgrading the burn speed from 52x to 16x.  No joy.  It didn't change a
thing.
-- 
View this message in context: 
http://www.nabble.com/FreeBSD-7-load-hangs-on-boot-tp21039625p21046636.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: lang/php5 port

2008-12-16 Thread Steve Bertrand
Paul Schmehl wrote:
 --On December 16, 2008 7:33:31 PM -0600 Steve Bertrand
 st...@ibctech.ca wrote:

 One of the reasons I've had to edit Makefile manually was because a
 client needed JPEG support.

 At the time, `make config' didn't provide that option.

 
 You should *never* need to edit a Makefile in a port.  (Well, extremely
 rarely.)  Usually the options are provided.  Optionally you can add them
 on the commandline like this:
 make -dwith_enable-foo -dwith_disable-bar.  

These are the questions that I never would ask, as for years, I always
installed from source, never ports.

 If you don't find something you're expecting in a port, and you can't
 get an answer on this list, email the port maintainer, whose email
 address will always be in the port's Makefile.

I'm glad there are people who still answer 3rd party software questions
here. Normally, I'd just hack about until it worked.

It's great to know there is such wide-spread support here. Hopefully,
new questions will always be asked, and there will always be those
dedicated people who are always lying low, reading, ready to provide a
response in their field...

(seriously)

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 7 load hangs on boot

2008-12-16 Thread michael



ThinkDifferently wrote:

ThinkDifferently wrote:
  

Steve Bertrand-2 wrote:


AFAIK, your RocketRAID should be picked up by the 'twe' driver.

If you run a FreeBSD install disk (as opposed to boot-only), are you
provided with an install location (via sysinstall) as far as hard disks
are concerned?

Is this RAID array something that you can afford to risk losing through
troubleshooting?

  

I haven't tried an install disk yet, just the boot-only.  I will try that
right away.

This system is so spankin' new, there's nothing loaded on it.  This RAID
array is just something I setup in the BIOS.  It's not even been
initialized yet...because I can't even load the OS to install anything.




Well, still no joy.  :-(

I have tried booting from Boot-only, Disc1, LiveFS.  Additionally, I've
tried the default boot, with ACPI disabled, Safe Mode, single user
mode, and verbose logging.

Every CD and every boot type gives me the exact same errors...

at the beginning:
...
acpi0: reservation of fee0, 1000 (3) failed
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, c7f0 (3) failed

and at the end:
...
hptrr: no controller detected.
acd0: DVDROM SAMSUNG DVD-ROM SD-616F/F104 at ata0-master UDMA33
acd0: FAILURE  READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00
GEOM_LABEL: Label for provider acd0 is iso9660/FreeBSD_xxx (where xxx is the
disc I'm using).
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00
*** HANG ***

BTW, the *** HANG *** requires a hard reset.

Also, I read some hearsay in other forums that the READ_BIG error could be
caused by the write speed when the ISO is burned to CD.  So, I tried
downgrading the burn speed from 52x to 16x.  No joy.  It didn't change a
thing.
  

disable dma specifically by escaping to the loader prompt and type
hw.ata.atapi_dma=0
you can also try loading the device as a scsi device with atapicam.
you could make this static on your iso by editing the loader.conf on the 
iso.

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


Re: lang/php5 port

2008-12-16 Thread Paul Schmehl
--On December 16, 2008 7:33:31 PM -0600 Steve Bertrand st...@ibctech.ca 
wrote:


One of the reasons I've had to edit Makefile manually was because a
client needed JPEG support.

At the time, `make config' didn't provide that option.



You should *never* need to edit a Makefile in a port.  (Well, extremely 
rarely.)  Usually the options are provided.  Optionally you can add them 
on the commandline like this:
make -dwith_enable-foo -dwith_disable-bar.  In the case of major ports 
such as lang/php5, the options are almost always available somehow.  Jpeg 
support, for example, is in php5-extensions.


If you don't find something you're expecting in a port, and you can't get 
an answer on this list, email the port maintainer, whose email address 
will always be in the port's Makefile.


Paul Schmehl (pa...@utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: FreeBSD 7 load hangs on boot

2008-12-16 Thread Steve Bertrand
ThinkDifferently wrote:

 This system is so spankin' new, there's nothing loaded on it.  This RAID
 array is just something I setup in the BIOS.  It's not even been
 initialized yet...because I can't even load the OS to install anything.

 
 Well, still no joy.  :-(
 
 I have tried booting from Boot-only, Disc1, LiveFS.  Additionally, I've
 tried the default boot, with ACPI disabled, Safe Mode, single user
 mode, and verbose logging.
 
 Every CD and every boot type gives me the exact same errors...
 
 at the beginning:
 ...
 acpi0: reservation of fee0, 1000 (3) failed
 acpi0: reservation of 0, a (3) failed
 acpi0: reservation of 10, c7f0 (3) failed
 
 and at the end:
 ...
 hptrr: no controller detected.
 acd0: DVDROM SAMSUNG DVD-ROM SD-616F/F104 at ata0-master UDMA33
 acd0: FAILURE  READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00
 GEOM_LABEL: Label for provider acd0 is iso9660/FreeBSD_xxx (where xxx is the
 disc I'm using).
 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x00
 *** HANG ***
 
 BTW, the *** HANG *** requires a hard reset.
 
 Also, I read some hearsay in other forums that the READ_BIG error could be
 caused by the write speed when the ISO is burned to CD.  So, I tried
 downgrading the burn speed from 52x to 16x.  No joy.  It didn't change a
 thing.

Out of pure sheer curiosity, does the machine boot ok with the
boot-only if you pull the RAID card out of its slot?

Steve

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


Re: lang/php5 port

2008-12-16 Thread Tom Worster
On 12/16/08 8:10 PM, Amitabh Kant amitabhk...@gmail.com wrote:

 install the options from  lang/php5-extensions . Gives you tons of
 options for php5.

thanks for the pointer. i think i found everything i needed in there.

i'm not sure how i feel about having 55 more ports installed than i would
have if i'd installed from php tarball, especially with regard to updates,
but i'll cross that bridge when i come to it.


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


Re: lang/php5 port

2008-12-16 Thread Tom Worster
On 12/16/08 8:33 PM, Steve Bertrand st...@ibctech.ca wrote:

 One of the reasons I've had to edit Makefile manually was because a
 client needed JPEG support.
 
 At the time, `make config' didn't provide that option.
 
 You make a couple of valuable points however. It would be easier if the
 OP's demands could be met with your method.

options such as jpeg, png, freetype were not offered by make config in
lang/php-extensions when i tried it today in 7.0-RELEASE-p6. however, these
extensions that i do need were included with the gd option.

so, for now, i don't think i need to edit the Makefile.

thanks again for the helpful replys.


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


Re: looking for a secondary.

2008-12-16 Thread Mikel King


On Dec 16, 2008, at 6:42 PM, Gary Kline wrote:



	i was recently informed that the firm that bought secondary.com is  
going to
	begin charging $100/mo.  i nearly choked on that, but whatever...   
i'm
	looking for an *.org who does DNS secondaries free oe nearly so.  i  
know

there is at least one place, but it's been years.

	i thought i'd check here first because i'm not how to pose this as  
a good

search.

thanks, guys,

gary




Gary,

	Check out http://www.afraid.org not only do they offer a free service  
they run on FreeBSD. They also have a pay service available for more  
advanced configurations.


Cheers,
Mikel King
CEO, Olivent Technologies
Senior Editor, Daemon News
Columnist, BSD Magazine
6 Alpine Court
Medford, NY 11763
http://www.olivent.com
http://www.daemonnews.org
http://www.bsdmag.org
skype: mikel.king

+--+
Yes it is true I am running for US
Senate (NY).
+--+


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


Re: FreeBSD 7 load hangs on boot

2008-12-16 Thread ThinkDifferently



Steve Bertrand-2 wrote:
 
 Out of pure sheer curiosity, does the machine boot ok with the
 boot-only if you pull the RAID card out of its slot?
 

There is no RAID card.  Everything is on the motherboard.
-- 
View this message in context: 
http://www.nabble.com/FreeBSD-7-load-hangs-on-boot-tp21039625p21047130.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: FreeBSD 7 load hangs on boot

2008-12-16 Thread ThinkDifferently

Another item of curiosity...
I just now tried booting from a CentOS 5.2 DVD.  It also hangs with a little
window titled Loading SCSI driver that says Loading ahci driver...  The
funny thing is, I've tried turning off all RAID functionality in the BIOS. 
On my mobo, this entails setting it to IDE mode, instead of RAID or AHCI. 
That doesn't appear to do anything.
-- 
View this message in context: 
http://www.nabble.com/FreeBSD-7-load-hangs-on-boot-tp21039625p21047275.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


  1   2   >