Re: UFS2 optimization for many small files

2007-07-01 Thread Claus Guttesen

We're going to build a server with some 1Tb of over 500 million small
files with size from 0,5k to 4k.  I'm wonder if the ufs2 can handle
this kind of system well. From newfs(8) the min block size is 4k. This
is not optimal in our case, a 1k or 0,5k block is more effective IMHO.
I'd be happy if anyone can suggest what does fragment (block/8) in the
ufs2 mean and how this parameter works. I know It's better to read the
full ufs2 specification, but hope that someone here can give a hint.
Please advice with optimizations or tricks.
Thank you very much.


Try zfs on amd64 unless your app doesn't work well with zfs or your
organization doesn't allow current. Current is remarkably stable
taking into account zfs is fairly new and ported from solaris and
running on current. I'm using it on a 8.2 TB nexsan storage and no
crashes during testing and a limited time in production.

Some years ago I used FreeBSD (5.2) as nfs-server (using ufs2) on
approx. 15 partitions ranging from 400 GB to 2 TB in size.  If the
server for some reason had crashed the webservers were unable to
access the nfs-mounted partitions during the period the server did a
snapshot of a partition, in order to perform a background-fsck and
thus our website was down. So ufs2 does not scale well.

--
regards
Claus

When lenity and cruelty play for a kingdom,
the gentlest gamester is the soonest winner.

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


Suexec trouble

2007-07-01 Thread Ebony Fly

Hello, I upgraded from Apache 2.0.53 to 2.2.4 however suexec no longer
functions as previously configured. It appears that my new
installation did not initially compile suexec, so I did. Now I am
faced with the following error when I try to start apached

ldc494# ./apache2.sh restart
Performing sanity check on apache2 configuration:
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Syntax OK
Stopping apache2.
Waiting for PIDS: 63180.
Starting apache2.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.

I tried reconfiguring suexec to use --with-suexec-bin=PATH, however it
does not create a new suexec copy, the timestamp doesn't change on
mod_suexec.so. Here are my questions.

1) Where is Apache looking for the wrapper?
2) How do I tell Apache to look somewhere else?
3) How do I recompile just suexec so that it works and fixes the above issue.


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


Re: backing up dvds

2007-07-01 Thread Roland Smith
On Sat, Jun 30, 2007 at 05:39:29PM -0500, Jonathan Horne wrote:
 On Saturday 30 June 2007 16:46:36 Dave wrote:
  Hello,
  I've got a 6.2 box with a dvd writer in it. I want to back up some dvds
  to iso files so i can recreate the dvds at a later time should it be
  needed. I can use dvdbackup to backup in to a directory structure, but i'd
  rather not mount, create the directory, and iso, i'd rather make the iso
  directly from the dvd. Any pointers on this?
  Thanks.
  Dave.
 
 dd if=/dev/acd0 of=/path/to/filename.iso bs=1024

That should be bs=2048.

AFAIK, data CDs and DVDs have 2k blocks:

slackbox:~/tmp$ dd if=/dev/cd1 of=foo.dvd bs=1024
dd: /dev/cd1: Invalid argument
0+0 records in
0+0 records out
0 bytes transferred in 0.000146 secs (0 bytes/sec)

slackbox:~/tmp$ dd if=/dev/cd1 of=foo.dvd bs=2048
^C10270+0 records in
10270+0 records out
21032960 bytes transferred in 5.096854 secs (4126655 bytes/sec)

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpyEAaO8OEKw.pgp
Description: PGP signature


Re: dvd configuration error

2007-07-01 Thread cpghost

Dave wrote:
I'm trying to blank a dvdrw so i can rewrite to it. I'm using 
dvd+rw-format /dev/acd1 i've also tried dvd+rw-mediainfo /dev/acd1 and 
in both cases i'm getting the error:


/dev/acd1: unable to open: inappropriate ioctl for device


Try atapicam:

# kldload atapicam

will create /dev/cd0, /dev/cd1, ...,
then use those devices with dvd+rw-*

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 [EMAIL PROTECTED]


kern.hz=100 stops high-pitched whine

2007-07-01 Thread cpghost

I'm using fan-less Soekris (266 MHz) and EPIA (500 MHz)
boards with -STABLE. Those boards have been emitting a
very high pitched annoying whine, similar to a dog
whistle. Not everyone I asked could hear it, but I was,
and it was driving me crazy for months.

This whine stopped entirely the moment I put
kern.hz=100 in /boot/loader.conf and rebooted.
Quite relieving!

Are there any reasons NOT changing kern.hz from the
default 1000 back to 100? With my typical mix of
desktop apps (EPIA) and networking / server (Soekris),
everything seems to be running just as smoothly with
100 Hz than with 1000 Hz (testing now for two weeks
without problems). Even playing videos with mplayer
on the EPIA doesn't look different in any way.

Is it okay to stay with 100 Hz with this type of
low-speed CPU/boards? Or are there some compelling
reasons not to?

Thanks,
-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 [EMAIL PROTECTED]


Re: backing up dvds

2007-07-01 Thread Manolis Kiagias


Roland Smith wrote:
 On Sat, Jun 30, 2007 at 05:39:29PM -0500, Jonathan Horne wrote:
   
 On Saturday 30 June 2007 16:46:36 Dave wrote:
 
 Hello,
 I've got a 6.2 box with a dvd writer in it. I want to back up some dvds
 to iso files so i can recreate the dvds at a later time should it be
 needed. I can use dvdbackup to backup in to a directory structure, but i'd
 rather not mount, create the directory, and iso, i'd rather make the iso
 directly from the dvd. Any pointers on this?
 Thanks.
 Dave.
   
 dd if=/dev/acd0 of=/path/to/filename.iso bs=1024
 

 That should be bs=2048.

 AFAIK, data CDs and DVDs have 2k blocks:

 slackbox:~/tmp$ dd if=/dev/cd1 of=foo.dvd bs=1024
 dd: /dev/cd1: Invalid argument
 0+0 records in
 0+0 records out
 0 bytes transferred in 0.000146 secs (0 bytes/sec)

 slackbox:~/tmp$ dd if=/dev/cd1 of=foo.dvd bs=2048
 ^C10270+0 records in
 10270+0 records out
 21032960 bytes transferred in 5.096854 secs (4126655 bytes/sec)

 Roland
   
Roland is right, the blocksize is 2048 bytes.
In fact the following page is a very nice read:

http://www.troubleshooters.com/linux/coasterless.htm

The dd command would do a much more accurate image if you also specify
the length. The process is described in the page above.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/var/lib disappeared

2007-07-01 Thread Bruno DAMOUR

Hello,
I'm begging for help, my /var/lib disappeared. I don't know why, but the 
most important is to recreate it.
What is usually there ? I know i had my postgresql data in there, but 
anything more ?

Please help with whats's in yours...

Bruno

PS : it must be not that bad because I didn't yet notice anything wrong 
aside of postgresql
PS2 : is there any config change that could have borked my /var/lib ? 
I'm runnung up-to-date current ( 1W)


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


Re: Making docs

2007-07-01 Thread Zbigniew Komarnicki


I will, be forgotten that I install port: textproc/jadetex


Thank you,

Zbyszek


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


Re: dvd configuration error

2007-07-01 Thread Dave

Hi,
   Thanks, atapicam and /dev/cd* devices did it. It fired right up.
Thanks.
Dave.

- Original Message - 
From: cpghost [EMAIL PROTECTED]

To: Dave [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Sunday, July 01, 2007 6:49 AM
Subject: Re: dvd configuration error



Dave wrote:
I'm trying to blank a dvdrw so i can rewrite to it. I'm using 
dvd+rw-format /dev/acd1 i've also tried dvd+rw-mediainfo /dev/acd1 and 
in both cases i'm getting the error:


/dev/acd1: unable to open: inappropriate ioctl for device


Try atapicam:

# kldload atapicam

will create /dev/cd0, /dev/cd1, ...,
then use those devices with dvd+rw-*

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 [EMAIL PROTECTED]


Re: kern.hz=100 stops high-pitched whine

2007-07-01 Thread Chuck Swiger

cpghost wrote:

Are there any reasons NOT changing kern.hz from the
default 1000 back to 100? With my typical mix of
desktop apps (EPIA) and networking / server (Soekris),
everything seems to be running just as smoothly with
100 Hz than with 1000 Hz (testing now for two weeks
without problems). Even playing videos with mplayer
on the EPIA doesn't look different in any way.

Is it okay to stay with 100 Hz with this type of
low-speed CPU/boards? Or are there some compelling
reasons not to?


Actually, many Unix systems ran with HZ=100 until a few years ago, about when 
Gb ethernet and CPUs became common.  A slower machine like the EPIA boxes do 
quite well with HZ=100/200/250 or so...HZ=1000 is better if you have a fast 
box running lots of concurrent processes, and/or are proxying or routing 
network traffic where the difference between 10 ms and 1ms of latency adds up 
and/or effects other systems.


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


Making docs

2007-07-01 Thread Zbigniew Komarnicki
Hello!

I want to create documentation in FreeBSD. I read this article:
http://www.onlamp.com/pub/a/bsd/2001/02/08/Big_Scary_Daemons.html
then I compile and I obtain the following error:

=== books/pmake (install)
/bin/rm -f docbook.css
/bin/cat /usr/doc/share/misc/docbook.css  docbook.css
Index is disabled or no index to generate.
/usr/bin/env SP_ENCODING=ISO-8859-1 /usr/local/bin/jade -V 
html-manifest -ioutput.html -d /usr/doc/share/sgml/default.dsl 
-ifreebsd.urls.absolute 
-V %generate-legalnotice-link% -ioutput.html.images   -D 
/usr/doc/en_US.ISO8859-1/books/pmake/..
/../../share/images/books/pmake -D /usr/obj/usr/doc/en_US.ISO8859-1/books/pmake 
-c 
/usr/doc/en_US.ISO8859-1/share/sgml/catalog -c /usr/doc/share/sgml/catalog -c 
/usr/local/share/sgml/docbook/dsssl/modular/catalog -c 
/usr/local/share/sgml/iso8879/catalog 
-c /usr/local/share/sgml/jade/catalog -c /usr/local/share/sgml/catalog.ports -t 
sgml /usr/doc/en_US.ISO8859-1/books/pmake/book.sgml
/usr/local/bin/tidy -wrap 90 -m -raw -preserve -f /dev/null -asxml  
$(/usr/bin/xargs  HTML.manifest)
*** Error code 1 (ignored)
install -C  -o root -g wheel -m 444 $(/usr/bin/xargs  
HTML.manifest) /usr/share/doc/en_US.ISO8859-1/books/pmake
install -C  -o root -g wheel -m 444 
docbook.css /usr/share/doc/en_US.ISO8859-1/books/pmake


What this error *** Error code 1 (ignored) means?

I also would like to ask you how to create PDF document, not only HTML? What 
command I should use to obtain PDF handbook, for example, because I want to 
print it?

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


Re: kern.hz=100 stops high-pitched whine

2007-07-01 Thread Ian Smith
On Sun, 01 Jul 2007 13:12:28 +0200 cpghost [EMAIL PROTECTED] wrote:

  I'm using fan-less Soekris (266 MHz) and EPIA (500 MHz)
  boards with -STABLE. Those boards have been emitting a
  very high pitched annoying whine, similar to a dog
  whistle. Not everyone I asked could hear it, but I was,
  and it was driving me crazy for months.
  
  This whine stopped entirely the moment I put
  kern.hz=100 in /boot/loader.conf and rebooted.
  Quite relieving!

Possibly a beat frequency between the 1kHz default slicing and some
faster oscillator on board?  You could play around with kern.clockrate,
sometimes quite small frequency changes make a difference, especially if
it's a harmonic.  Default HZ jumped from 100 to 1000 probably around the
time when more servers were seen running at nearer 3000MHz than 300 :)

  Are there any reasons NOT changing kern.hz from the
  default 1000 back to 100? With my typical mix of
  desktop apps (EPIA) and networking / server (Soekris),
  everything seems to be running just as smoothly with
  100 Hz than with 1000 Hz (testing now for two weeks
  without problems). Even playing videos with mplayer
  on the EPIA doesn't look different in any way.

No problem then, and a lighter interrupt load; probably enough to notice
in top.  If you want to run dummynet or something else? wanting quicker
ticking you could try HZ=200 - 500.  200Hz on my Celeron 300 works well.

  Is it okay to stay with 100 Hz with this type of
  low-speed CPU/boards? Or are there some compelling
  reasons not to?

If it's happy, smooth and keeping up, it's fine.

Cheers, Ian

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


Re: /var/lib disappeared

2007-07-01 Thread [EMAIL PROTECTED]

On 01/07/07, Bruno DAMOUR [EMAIL PROTECTED] wrote:

Hello,
I'm begging for help, my /var/lib disappeared. I don't know why, but the
most important is to recreate it.
What is usually there ? I know i had my postgresql data in there, but
anything more ?
Please help with whats's in yours...

Bruno

PS : it must be not that bad because I didn't yet notice anything wrong
aside of postgresql
PS2 : is there any config change that could have borked my /var/lib ?
I'm runnung up-to-date current ( 1W)


A couple of empty directories here (I do not
have postgresql) and /var/lib/xkb/README.compiled
which, after reading it, I strongly doubt is needed
for anything to run.

Default man 7 hier makes no mention of /var/lib
so I would hazard that it is not needed by anything
in world.

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


mDNSResponder and avahi conflict when updade

2007-07-01 Thread Gaye Abdoulaye

Hello list,
I have a problem when I try to update my FreeBSD-6.2-STABLE i386 
xorg-7.2 kde-3.5.6 with:

pkgdb -F
portupgrade -aPP
It seems that fr-kde-i18n-3.5.6_1 require net/mDNSResponder.
But net/mDNSResponder conflicts with avahi+libdns which is required by 
firefox-2.0.0.4_1.

Thanks a lot for any help or suggestion
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: backing up dvds

2007-07-01 Thread Jonathan Horne
On Sunday 01 July 2007 06:19:41 Manolis Kiagias wrote:
 Roland Smith wrote:
  On Sat, Jun 30, 2007 at 05:39:29PM -0500, Jonathan Horne wrote:
  On Saturday 30 June 2007 16:46:36 Dave wrote:
  Hello,
  I've got a 6.2 box with a dvd writer in it. I want to back up some
  dvds to iso files so i can recreate the dvds at a later time should it
  be needed. I can use dvdbackup to backup in to a directory structure,
  but i'd rather not mount, create the directory, and iso, i'd rather
  make the iso directly from the dvd. Any pointers on this?
  Thanks.
  Dave.
 
  dd if=/dev/acd0 of=/path/to/filename.iso bs=1024
 
  That should be bs=2048.
 
  AFAIK, data CDs and DVDs have 2k blocks:
 
  slackbox:~/tmp$ dd if=/dev/cd1 of=foo.dvd bs=1024
  dd: /dev/cd1: Invalid argument
  0+0 records in
  0+0 records out
  0 bytes transferred in 0.000146 secs (0 bytes/sec)
 
  slackbox:~/tmp$ dd if=/dev/cd1 of=foo.dvd bs=2048
  ^C10270+0 records in
  10270+0 records out
  21032960 bytes transferred in 5.096854 secs (4126655 bytes/sec)
 
  Roland

 Roland is right, the blocksize is 2048 bytes.
 In fact the following page is a very nice read:

 http://www.troubleshooters.com/linux/coasterless.htm

 The dd command would do a much more accurate image if you also specify
 the length. The process is described in the page above.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

hehe, shame on me for trying to recall that memory, instead of actually 
looking it up (which is exactly what i do, each time to run an .iso file 
off... just to make sure im remembering correctly!)

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


Re: mplayer on 6.2

2007-07-01 Thread Jose Luis Alarcon Sanchez
On Thu, 28 Jun 2007 21:56:57 -0400 (EDT)
kalin mintchev [EMAIL PROTECTED] wrote:

 hi all...
 
 just installed mplayer - pkg_add - and it can not play a simple wmv file
 yet. so i got the codecs and apparently the codec for wmv has to be here:
 /usr/local/lib/win32/
 
 what about the other ones - like quicktime, *.acm, *ax?! do they all go in
 the same directory?
 
 thanks
 

Hi Kalin.

MPlayer is better installed from ports system. I know it by my own
experience.

I hope this help you.

Regards.

Jose.

-- 
http://www.lordofunix.org/
 
Not Registered GNU/Hurd User.
Registered BSD User 51101.
Registered Linux User #213309.
Memories. You are talking about memories.
Rick Deckard. Blade Runner.


pgpipXm7aMi8C.pgp
Description: PGP signature


Re: /var/lib disappeared

2007-07-01 Thread Eduardo Viruena Silva

On Sun, 1 Jul 2007, [EMAIL PROTECTED] wrote:


On 01/07/07, Bruno DAMOUR [EMAIL PROTECTED] wrote:

Hello,
I'm begging for help, my /var/lib disappeared. I don't know why, but the
most important is to recreate it.
What is usually there ? I know i had my postgresql data in there, but
anything more ?
Please help with whats's in yours...

Bruno

PS : it must be not that bad because I didn't yet notice anything wrong
aside of postgresql
PS2 : is there any config change that could have borked my /var/lib ?
I'm runnung up-to-date current ( 1W)


A couple of empty directories here (I do not
have postgresql) and /var/lib/xkb/README.compiled
which, after reading it, I strongly doubt is needed
for anything to run.

Default man 7 hier makes no mention of /var/lib
so I would hazard that it is not needed by anything
in world.

--

try:

  pkg_info -f \* | grep /var/lib

my system does not report but the creation of several directories.


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


Problems using STARTTLS and AUTH with sendmail

2007-07-01 Thread Amardeo Sarma
I tried configuring sendmail for auth to allow remote users to use the
server as relay with secure authentication using the instructions in:

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

The message I used to get with EHLO localhost:

250-STARTTLS

stopped (I had it before). Can anyone help by letting me know what I
need to set to compile sendmail with TLS again without losing AUTH?

sendmail -d0.1 -bv root

does not show STARTTLS.

Amardeo

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


Re: UFS2 optimization for many small files

2007-07-01 Thread Wojciech Puchar


We're going to build a server with some 1Tb of over 500 million small
files with size from 0,5k to 4k.  I'm wonder if the ufs2 can handle
this kind of system well. From newfs(8) the min block size is 4k. This
is not optimal in our case, a 1k or 0,5k block is more effective IMHO.
I'd be happy if anyone can suggest what does fragment (block/8) in the
ufs2 mean and how this parameter works. I know It's better to read the


exactly as a block/cluster in windows. fragment is the smallest allocation 
block. block is a group of 8 fragments to make allocation faster and 
smarter.



full ufs2 specification, but hope that someone here can give a hint.
Please advice with optimizations or tricks.


please DO NOT make single partition like that. try to divide it to 3-4 
partitions. it will work on a single one but waiting for fsck will kill 
you ;)


AFAIK fsck time grows nonlinearly with fs size to some extent..


options for newfs will be like that

newfs -m A -i B -b 4096 -f 512 -U /dev/partition

where A is space left. with mostly small files and huge partition don't 
worry to set it 1 or even 0.


B - size of disk(bytes)/amount of inodes

default is probably 2048, you may use 1024 or 4096 for your case - make 
rough estimate how much files will you have (you told between 4 and 0.5k, 
but what average?). making too much inodes=wasted space (128 bytes/inode), 
making too little=big problem  :)



another question - HOW do you plan to make backups of such data? with dump 
rsync tar etc. it's clearly mission impossible.


feel free to mail me i had such cases not 5E8 but over 1E8 files :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pppoe and nat problem

2007-07-01 Thread munkhbayar batkhuu

hi all.

I'm trying to solve one problem but with no success in 1 week.

I'm setting up Gateway server with PPPoE functionality for per LAN
users to authenticate and traffic shaping. Incoming Internet
connection is Ethernet. This PC have 2 NIC. LAN NIC do not have IP
assigned.

pppoe listens on LAN side interface and passes connection to user land ppp.
(traffic shaping is via IPFW)
ppp handles all other tasks like Proxy-Arp and so on.

I have only 8 public IP address from ISP.
So current test configuration is Proxy-Arp in ppp.conf and PPP's
DHCP range is within ISP allocated zone. Every thing is Ok, with this
configuration, LAN users can surf the net. This configuration can
support at most, ISP allocated IP numer of concurrent connections.
If I allocate exceeding IP zone for DHCP in ppp.conf like
set ifaddr 100.200.300.1 100.200.300.2-100.200.300.100 then ppp.log
says ppp Warning: xx.xx.xx.xx : Cannot determine ethernet address for
proxy ARP, maybe it's obvious because of its not in Internet IP zone
anymore.

But I need to support at least 50 simultaneous connection.
If possible, I need NAT in inside PPP. I tried, tried, reed many
times. No success.

In ppp(8) man it says NAT is done on the external interface only, and
is unlikely to make sense if used with the -direct flag.  Current
pppoed forks /usr/sbin/ppp with the -direct argument.  Is it clue on
this problem?

How to NAT or Route if PPP's DHCP IP zone is different from Gateway IP
zone when ppp is working in -direct mode.  How to to route traffic
within tunX and Gateway NIC?
Or is there any other solutions for this?

Thanks in advance. Help much appreciated.
munkh.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UFS2 optimization for many small files

2007-07-01 Thread Wojciech Puchar

approx. 15 partitions ranging from 400 GB to 2 TB in size.  If the
server for some reason had crashed the webservers were unable to


the question is about the reason it crashed...


access the nfs-mounted partitions during the period the server did a
snapshot of a partition, in order to perform a background-fsck and
thus our website was down. So ufs2 does not scale well.

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


Re: UFS2 optimization for many small files

2007-07-01 Thread Wojciech Puchar

I have tried using a 4K/0.5K UFS1 filesystem in the past and found the
performance was very poor.  UFS2 was based on 16K/2K and I would expect
it to perform even worse with 4K/0.5K.  I would suggest you try 8K/1K.



not for small files. you are light with large files but it's not THAT bad 
as you say. i reagularly use 4K/0.5 UFS but not for everything if i 
require good fast speed for big files. for really big files i make 32/4 
filesystem with very little inodes

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


Re: backing up dvds

2007-07-01 Thread Wojciech Puchar

Hello,
  I've got a 6.2 box with a dvd writer in it. I want to back up some dvds to 
iso files so i can recreate the dvds at a later time should it be needed. I


for most if not any DVDs (all DVD-VIDEO i had) use

dd if=/dev/cd0 of=file bs=128k

bs size is just to make thing faster, it's not crucial may be any multiply 
of 2k.




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


Re: backing up dvds

2007-07-01 Thread Wojciech Puchar


dd if=/dev/acd0 of=/path/to/filename.iso bs=1024

this is how i make my .iso files of data disks.


are you sure about 1024? did you mean 1024k? (or 1m simply)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: backing up dvds

2007-07-01 Thread Wojciech Puchar

with hardware DVD players, you'll need to use a
DVD authoring software (like multimedia/dvdauthor)
and a lot of reading before.


not much readings if you don't care much of anything else than movie 
itself :)

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


Re: dvd configuration error

2007-07-01 Thread Wojciech Puchar
  I've got the device installed, it shows up in dmesg as /dev/acd1. I have 
an fstab entry for it as:


/dev/acd1 /cdrom1 cd9660 ro,noauto 0 0

i've tried commenting this line out with the below and it doesn't matter. In 
loader.conf i have:


hw.ata.atapi_dma=1


it's default in 6.2 anyway you don't need to set it up.


i can mount a dvdrw with either:
mount /cdrom1
or
mount /dev/acd1 /cdrom1

and in either case it works fine. I can read dvdrw's with no problem. I'm 
using dvd+rw-tools 7.0 from ports.
  I'm trying to blank a dvdrw so i can rewrite to it. I'm using 
dvd+rw-format /dev/acd1 i've also tried dvd+rw-mediainfo /dev/acd1 and in 
both cases i'm getting the error:


/dev/acd1: unable to open: inappropriate ioctl for device

you need atapicam, scbus and cd compiled in kernel and the use cd1 instead 
of acd1

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


Re: UFS2 optimization for many small files

2007-07-01 Thread Wojciech Puchar

Thank you very much.


Try zfs on amd64 unless your app doesn't work well with zfs or your


does zfs have RELIABLE and USABLE software allowing to efficiently backup 
large filesystems to other media? (DVD's, tapes, other hard discs)

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


large pages

2007-07-01 Thread Wojciech Puchar
does FreeBSD {can,will,patch exist} supports using huge pages? i mean 2M 
pages on AMD64 and 2/4M pages on i386


i don't mean any automatics, just enough will be to be able to map a big 
chunk of RAM to an app with such pages, or even more (better) to make 
FreeBSD use only part of memory for itself, and leaving everything else as 
/dev/something that can be mmap'ped (and locked) to program this way.


i need freebsd just for running one program needing about 1280 megs of 
data space (+1-2 meg of code stacks etc. can be normally mapped). 
everything else is just using less than 1% of power.


with 1536MB AMD64 machine it would be nice for FreeBSD to boot seeing 256 
megs for itself and allowing 1280 megs to be mappedlocked to just one 
program.


thank you very much

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


Re: UFS2 optimization for many small files

2007-07-01 Thread Claus Guttesen

 approx. 15 partitions ranging from 400 GB to 2 TB in size.  If the
 server for some reason had crashed the webservers were unable to

the question is about the reason it crashed...

 access the nfs-mounted partitions during the period the server did a
 snapshot of a partition, in order to perform a background-fsck and
 thus our website was down. So ufs2 does not scale well.


Reasons not related to the nfs-server itself. FreeBSD itself was
rock-solid. It was firmware-related on the storage-side.

--
regards
Claus

When lenity and cruelty play for a kingdom,
the gentlest gamester is the soonest winner.

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


dv1394

2007-07-01 Thread kalin mintchev
hi all...

what wold be the the device that is equivalent of /dev/dv1394/0?
it's for kino's install...

thanks

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


Re: UFS2 optimization for many small files

2007-07-01 Thread Claus Guttesen

 Try zfs on amd64 unless your app doesn't work well with zfs or your

does zfs have RELIABLE and USABLE software allowing to efficiently backup
large filesystems to other media? (DVD's, tapes, other hard discs)


Zfs has send/receive where you can do snapshots and send them to a
different host. This could be your backup-host. I'm considering this
solution myself where FreeBSD and zfs is my primary host and my
nightly backups will be send to my solaris-host. Solaris has the
required lto-3-drivers.

--
regards
Claus

When lenity and cruelty play for a kingdom,
the gentlest gamester is the soonest winner.

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


Re: UFS2 optimization for many small files

2007-07-01 Thread Wojciech Puchar

 snapshot of a partition, in order to perform a background-fsck and
 thus our website was down. So ufs2 does not scale well.


Reasons not related to the nfs-server itself. FreeBSD itself was
rock-solid. It was firmware-related on the storage-side.

i always use software mirror concat or both in FreeBSD. always works, 10 
times cheaper, fully portable and (yes true) comparable in speed. in some 
cases - faster.

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


Re: mplayer on 6.2

2007-07-01 Thread Wojciech Puchar

Hi Kalin.

MPlayer is better installed from ports system. I know it by my own
experience.

I hope this help you.


for me it works perfect for any kind of files i have.
making sure that XVideo is working and using -vo xv make a good speedup
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


flash

2007-07-01 Thread kalin mintchev
and which port do i exactly install to be able to whach flash video?
i did the /usr/ports/www/flashplugin-mozilla - didn't work. the other one
is marked as broken...
now that cnn moved to that i can't watch it anymore and i have never been
able to see any of the videos on youtube  what do i need?


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


ACPI problem

2007-07-01 Thread Alex Kwan
Hello,

when I install R6.2 in a USB drive on my laptop, I am using Boot FreeBSD
[default],
everything is o.k., when I finished the installation and reboot, if I
still using
Boot FreeBSD [default], I got following error message during ACPI:

ACPI-501: *** Error Handler for [EmbeddedControl] returned AE_NO
HARDWARE_RESPONSE

ACPI-1304: *** Error: Method execution failed [\\_SB_.C003.C004.C154]
(Node 0x363d880)
AE_NO HARDWARE_RESPONSE

ACPI-1304: *** Error: Method execution failed [\\_SB_.C154] (Node
0xc3642000)
AE_NO HARDWARE_RESPONSE

ACPI-1304: *** Error: Method execution failed [\\_SB_.C15E._BIF] (Node
0xc3640d40)
AE_NO HARDWARE_RESPONSE

but if I using Boot FreeBSD with ACPI disabled, and the system running
very well,
what is the problem and how to fix it?

many thanks!

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


Re: flash

2007-07-01 Thread Eduardo Viruena Silva

On Sun, 1 Jul 2007, kalin mintchev wrote:


and which port do i exactly install to be able to whach flash video?
i did the /usr/ports/www/flashplugin-mozilla - didn't work. the other one
is marked as broken...
now that cnn moved to that i can't watch it anymore and i have never been
able to see any of the videos on youtube  what do i need?


___


I installed linux-firefox and linux-flashplugin9, from the ports.

They compiled flawlessly and work fine.



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


Re: flash

2007-07-01 Thread Roland Smith
On Sun, Jul 01, 2007 at 03:25:14PM -0400, kalin mintchev wrote:
 and which port do i exactly install to be able to whach flash video?
 i did the /usr/ports/www/flashplugin-mozilla - didn't work. the other one
 is marked as broken...
 now that cnn moved to that i can't watch it anymore and i have never been
 able to see any of the videos on youtube  what do i need?

www/youtube-dl works fine for getting movies from youtube. 
You can use mplayer to play them.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp2oJwEbIO6v.pgp
Description: PGP signature


Re: flash

2007-07-01 Thread matt donovan

yeah it seems that you need to use linux-firefox and the linux-flash9 port
to do it since I haven't been able to get the linux-plugins to work with the
native browser even with the linux compat enabled

On 7/1/07, Roland Smith [EMAIL PROTECTED] wrote:


On Sun, Jul 01, 2007 at 03:25:14PM -0400, kalin mintchev wrote:
 and which port do i exactly install to be able to whach flash video?
 i did the /usr/ports/www/flashplugin-mozilla - didn't work. the other
one
 is marked as broken...
 now that cnn moved to that i can't watch it anymore and i have never
been
 able to see any of the videos on youtube  what do i need?

www/youtube-dl works fine for getting movies from youtube.
You can use mplayer to play them.

Roland
--
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)



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


Re: flash

2007-07-01 Thread RW
On Sun, 1 Jul 2007 16:59:58 -0400
matt donovan [EMAIL PROTECTED] wrote:

 yeah it seems that you need to use linux-firefox and the linux-flash9
 port to do it since I haven't been able to get the linux-plugins to
 work with the native browser even with the linux compat enabled
 

Please don't top post.

If you install www/nspluginwrapper, and follow the instructions, the
flash plugin will work with native firefox and opera browsers.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Making docs

2007-07-01 Thread Giorgos Keramidas
On 2007-07-01 15:27, Zbigniew Komarnicki [EMAIL PROTECTED] wrote:
 Hello!

 I want to create documentation in FreeBSD. I read this article:
 http://www.onlamp.com/pub/a/bsd/2001/02/08/Big_Scary_Daemons.html
 then I compile and I obtain the following error:

You know we regularly re-build the documentation from the CVS repository
and publish the resulting documents online, right?  If you are not
really interested in contributing patches to the docs, then it may be a
little easier for you to just download the pre-built versions :)

Having said that, we could always use some more help with the current
documentation, so if you are trying to learn about the build process of
the documentation to help us improve the existing documents, you are
certainly more than welcome to help in any way you want!

 === books/pmake (install)
 /bin/rm -f docbook.css
 /bin/cat /usr/doc/share/misc/docbook.css  docbook.css
 Index is disabled or no index to generate.
 /usr/bin/env SP_ENCODING=ISO-8859-1 /usr/local/bin/jade -V
 html-manifest -ioutput.html -d /usr/doc/share/sgml/default.dsl 
 -ifreebsd.urls.absolute
 -V %generate-legalnotice-link% -ioutput.html.images   -D 
 /usr/doc/en_US.ISO8859-1/books/pmake/..
 /../../share/images/books/pmake -D 
 /usr/obj/usr/doc/en_US.ISO8859-1/books/pmake -c
 /usr/doc/en_US.ISO8859-1/share/sgml/catalog -c /usr/doc/share/sgml/catalog -c
 /usr/local/share/sgml/docbook/dsssl/modular/catalog -c 
 /usr/local/share/sgml/iso8879/catalog
 -c /usr/local/share/sgml/jade/catalog -c /usr/local/share/sgml/catalog.ports 
 -t
 sgml /usr/doc/en_US.ISO8859-1/books/pmake/book.sgml
 /usr/local/bin/tidy -wrap 90 -m -raw -preserve -f /dev/null -asxml
 $(/usr/bin/xargs  HTML.manifest)
 *** Error code 1 (ignored)
 install -C  -o root -g wheel -m 444 $(/usr/bin/xargs 
 HTML.manifest) /usr/share/doc/en_US.ISO8859-1/books/pmake
 install -C  -o root -g wheel -m 444
 docbook.css /usr/share/doc/en_US.ISO8859-1/books/pmake

 What this error *** Error code 1 (ignored) means?

tidy(1) typically fails with a non-zero error code for things which we
are not really interested to fix, or are plainly harmless.  This is why
the Makefile which calls tidy precedes it with a dash '-' to ignore
errors from tidy's invocation.  The make(1) utility catches the non-zero
error status, and notifies you that it ignored it.  Most of the time,
it's relatively safe to ignore this error code.

 I also would like to ask you how to create PDF document, not only
 HTML? What command I should use to obtain PDF handbook, for example,
 because I want to print it?

First of all, you have to install the textproc/docproj-jadetex port, to
get the jadetex utility.

Then you can build a PDF version of any article or book with:

$ cd doc/en_US.ISO8859-1/articles/formatting-media
$ make FORMATS=pdf

the ${FORMATS} option controls which output format will be produced by
the make infrastructure of the documentation.  Other available format
options are:

FORMATS=html   Single-file HTML output

FORMATS=html-split Multiple-file HTML output

FORMATS=txtSingle-file plain text output

FORMATS=ps Single-file PostScript output

etc.

These options and other useful stuff about the build infrastructure of
the FreeBSD documentation set are described in the FreeBSD
Documentation Project Primer for New Contributors at:

http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/fdp-primer/

Have fun building your own docs :-)

Regards,
Giorgos

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


Re: UFS2 optimization for many small files

2007-07-01 Thread Nikolay Pavlov
On Wednesday, 27 June 2007 at 14:11:19 +0400, Nguyen Tam Chinh wrote:
 Greetings,
 
 We're going to build a server with some 1Tb of over 500 million small
 files with size from 0,5k to 4k.  I'm wonder if the ufs2 can handle
 this kind of system well. From newfs(8) the min block size is 4k. This
 is not optimal in our case, a 1k or 0,5k block is more effective IMHO.
 I'd be happy if anyone can suggest what does fragment (block/8) in the
 ufs2 mean and how this parameter works. I know It's better to read the
 full ufs2 specification, but hope that someone here can give a hint.
 Please advice with optimizations or tricks.
 Thank you very much.
 
 -- 
 With best regards,| The Power to Serve
 Nguyen Tam Chinh  |  http://www.FreeBSD.org
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]

I am not aware of any ZFS results on such tasks, may be you will be the
one who share them ;) However RaiserFS whould be the best choise on such
spesific case. It's not available on FreeBSD currently.
I don't think UFS can handle a huge amount of small files effectively.  
Of course gjournal could be an option for fsck problems, but how do you
plan to backup or sync this storage?

-- 
==  
- Best regards, Nikolay Pavlov. ---
==  

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


Re: running portupgrade -a

2007-07-01 Thread [EMAIL PROTECTED]

On 29/06/07, Michael P. Soulier [EMAIL PROTECTED] wrote:

Hi,

It seems like a lot of people keep their ports regularly up to date by just
running portupgrade -a. I've seen it online, and in books.

As /usr/ports/UPDATING is rather large, it seems impossible to look for
potential issues with every package that you're going to upgrade. So, is
running portupgrade -a a good idea, as you likely haven't checked for issues
for your system?



I generally run pkg_version -vIL= after any portsnap
which gives me a simple list of things to upgrade.
Then, based on a lot of broken stuff over the years,
you can merrily pick your way through.  For something
like cairo or gtk* (or gettext), that many other things
depend upon I will run
# portupgrade -fr cairo
Part of this is the whole upgrade once every couple
of weeks or oft'ner so you don't get overwhealmed
by the number of upgrades at any time.
ports-mgmt/portmaster has a nifty feature in -l but
does not seem to have any equivalent to portupgrade -fr.

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


Re: UFS2 optimization for many small files

2007-07-01 Thread Nguyen Tam Chinh

On 7/2/07, Nikolay Pavlov [EMAIL PROTECTED] wrote:

On Wednesday, 27 June 2007 at 14:11:19 +0400, Nguyen Tam Chinh wrote:
 Greetings,

 We're going to build a server with some 1Tb of over 500 million small
 files with size from 0,5k to 4k.  I'm wonder if the ufs2 can handle
 this kind of system well. From newfs(8) the min block size is 4k. This
 is not optimal in our case, a 1k or 0,5k block is more effective IMHO.
 I'd be happy if anyone can suggest what does fragment (block/8) in the
 ufs2 mean and how this parameter works. I know It's better to read the
 full ufs2 specification, but hope that someone here can give a hint.
 Please advice with optimizations or tricks.
 Thank you very much.

 --
 With best regards,| The Power to Serve
 Nguyen Tam Chinh  |  http://www.FreeBSD.org
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]

I am not aware of any ZFS results on such tasks, may be you will be the
one who share them ;) However RaiserFS whould be the best choise on such
spesific case. It's not available on FreeBSD currently.
I don't think UFS can handle a huge amount of small files effectively.
Of course gjournal could be an option for fsck problems, but how do you
plan to backup or sync this storage?



I'm aware of the fsck/backup problems. In our case there's no need for
backup so i went with ufs2. The current configuration is 4x250Gb disks
with bloc/frag ratio 4k/512b. We're generating files with the average
size of 6k ('cause the compress procedure does not work as well as we
estimated).
After a week I think we could collect some statistics in production.
Anyway, in this case a 8k/1k would be more effective for us. Hope that
I can test this in the next server.

--
With best regards,| The Power to Serve
Nguyen Tam Chinh  |  http://www.FreeBSD.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash

2007-07-01 Thread kalin mintchev


 ___

 I installed linux-firefox and linux-flashplugin9, from the ports.

 They compiled flawlessly and work fine.

thanks...  but i'm running freebsd. already stuffed this machine with a
lot of linux 'extra'-ware when installing java. i was looking for
flasplugin9 for fbsd firefox/mozilla...








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


Re: flash

2007-07-01 Thread kalin mintchev


 If you install www/nspluginwrapper, and follow the instructions, the
 flash plugin will work with native firefox and opera browsers.

thanks...  i'll try that. see what happens


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



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


Re: flash

2007-07-01 Thread Robert Huff

RW writes:

  If you install www/nspluginwrapper, and follow the instructions, the
  flash plugin will work with native firefox and opera browsers.

This is flash-9, and not flash-7?


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


Re: dv1394

2007-07-01 Thread [EMAIL PROTECTED]

On 01/07/07, kalin mintchev [EMAIL PROTECTED] wrote:

hi all...

what wold be the the device that is equivalent of /dev/dv1394/0?
it's for kino's install...



Not having any firewire myself, a quick
googodge leads me to believe that you
should look at your dmesg for things
under fwohci* and firewire*

/usr/src/sys/dev/firewire/00README is pretty old:

| 6. DV
|  I have not tested yet.
|
| 7. Tested HW
|
| OS
| - FreeBSD-4/i386
| - FreeBSD-4/alpha
| - FreeBSD-5/i386

Still, you may get lucky.  Posting the relevant
bits of your dmesg here may help.

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


Re: flash

2007-07-01 Thread RW
On Sun, 1 Jul 2007 18:42:13 -0400
Robert Huff [EMAIL PROTECTED] wrote:

 
 RW writes:
 
   If you install www/nspluginwrapper, and follow the instructions,
  the flash plugin will work with native firefox and opera browsers.
 
   This is flash-9, and not flash-7?
 

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


Re: flash

2007-07-01 Thread Jonathan Horne
On Sunday 01 July 2007 19:17:17 RW wrote:
 On Sun, 1 Jul 2007 18:42:13 -0400

 Robert Huff [EMAIL PROTECTED] wrote:
  RW writes:
If you install www/nspluginwrapper, and follow the instructions,
   the flash plugin will work with native firefox and opera browsers.
 
  This is flash-9, and not flash-7?

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

i just re-tried the flash9 after having switched back to 7 a long time ago, 
and for me, its still quite unstable.  opera crashed quickly for me.

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


Re: flash

2007-07-01 Thread Anton Galitch

Hi.

I tried flash9 and flash7, the flash9 just crashes, and flash7 shows a grey
square in the place where the flash application should be showed. I tried
both, linux-firefox, and nspluginwrapper methods, it shows the same grey
square. Any idea of what could it be??
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: large pages

2007-07-01 Thread Chuck Swiger

Wojciech Puchar wrote:
does FreeBSD {can,will,patch exist} supports using huge pages? i mean 2M 
pages on AMD64 and 2/4M pages on i386


I believe so, yes-- isn't this what the PAE kernel option does?

i need freebsd just for running one program needing about 1280 megs of 
data space (+1-2 meg of code stacks etc. can be normally mapped). 
everything else is just using less than 1% of power.


with 1536MB AMD64 machine it would be nice for FreeBSD to boot seeing 
256 megs for itself and allowing 1280 megs to be mappedlocked to just 
one program.


Hmm.  Doesn't FreeBSD's default VM behavior do just fine dealing with one 
large active process without any unusual tuning?


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


Re: freebsd / gateway / parental control

2007-07-01 Thread Norberto Meijome
On Fri, 29 Jun 2007 22:46:10 +0200
Momchil Ivanov [EMAIL PROTECTED] wrote:

 4) Forget about the DSL router. Box with wireless NIC, 1 NIC for home net, 1 
 NIC for the DSL
   - same as above, just have to tell your box how to connect to your ISP

ok, this is interesting. You mean, plug the phone line straight into, say,
fxp1 ? and then using ppp to connect over PPoE to your ISP? 

I had originally thought of getting a DSL card , but there doesn't seem to be
any ADSL2/2+ supported.

cheers,
B

_
{Beto|Norberto|Numard} Meijome

All that is necessary for the triumph of evil is that good men do nothing.
  Edmund Burke

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd / gateway / parental control

2007-07-01 Thread Momchil Ivanov
On Monday 02 July 2007 03:45:39 Norberto Meijome wrote:
 On Fri, 29 Jun 2007 22:46:10 +0200

 Momchil Ivanov [EMAIL PROTECTED] wrote:
  4) Forget about the DSL router. Box with wireless NIC, 1 NIC for home
  net, 1 NIC for the DSL
^^
  - same as above, just have to tell your box how to connect to your ISP

 ok, this is interesting. You mean, plug the phone line straight into, say,
 fxp1 ? and then using ppp to connect over PPoE to your ISP?

 I had originally thought of getting a DSL card , but there doesn't seem to
 be any ADSL2/2+ supported.

Well, as you get your internet connection through a DSL line, the above is 
meant to be a DSL card.

-- 
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B
  


pgpclIeguBIZD.pgp
Description: PGP signature


Re: flash

2007-07-01 Thread kalin mintchev
 On Sun, 1 Jul 2007 18:42:13 -0400
 Robert Huff [EMAIL PROTECTED] wrote:


 RW writes:

   If you install www/nspluginwrapper, and follow the instructions,
  the flash plugin will work with native firefox and opera browsers.

  This is flash-9, and not flash-7?


 Yes

can you use that flash7 to watch videos on the new cnn site and youtube?



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



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


Re: running portupgrade -a

2007-07-01 Thread Jonathan Horne
On Sunday 01 July 2007 17:19:22 [EMAIL PROTECTED] wrote:
 On 29/06/07, Michael P. Soulier [EMAIL PROTECTED] wrote:
  Hi,
 
  It seems like a lot of people keep their ports regularly up to date by
  just running portupgrade -a. I've seen it online, and in books.
 
  As /usr/ports/UPDATING is rather large, it seems impossible to look for
  potential issues with every package that you're going to upgrade. So, is
  running portupgrade -a a good idea, as you likely haven't checked for
  issues for your system?

 I generally run pkg_version -vIL= after any portsnap
 which gives me a simple list of things to upgrade.
 Then, based on a lot of broken stuff over the years,
 you can merrily pick your way through.  For something
 like cairo or gtk* (or gettext), that many other things
 depend upon I will run
 # portupgrade -fr cairo
 Part of this is the whole upgrade once every couple
 of weeks or oft'ner so you don't get overwhealmed
 by the number of upgrades at any time.
 ports-mgmt/portmaster has a nifty feature in -l but
 does not seem to have any equivalent to portupgrade -fr.

i have another good one for sorting out what needs to be updated:

pkg_version -v|grep needs

this will show only the ports that need to upgraded.

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


ports mbone/udpcast (PR# 114061) outdated

2007-07-01 Thread Tim Judd
I noticed not too long ago that mbone/udpcast was outdated (as in more
than 3 years old).  Not knowing what or how to proceed with such an
outdated port, I decided to file a bug report.  It seemed the sensible
thing to do.

As you can see below, Edwin (edwin .at. FreeBSD.org) made the change to
close the ticket without much details.
 State-Changed-From-To: open-closed
 State-Changed-By: edwin
 State-Changed-When: Wed Jun 27 07:20:48 UTC 2007
 State-Changed-Why: 
 Please submit patches

Well, I know what patches are, but I don't think patches themselves are
able to fix the outdated port..  so I'm lost.  What do I do?

I thought since the port was extremely outdated, that someone with a
commit bit would have to setup the updated port in the CVS tree, I
can't commit them myself.  I don't even know exactly what patches are
needed or where to submit them.

So, how do I proceed?  I need some tips and a hand-in-hand tutorial on
what to update and where to send the update.

Thanks for the tips.  BTW: I'm subscribed to the questions list on a
digest, I ask a CC please on all the replies.

--Tim J.

If opportunity doesn't knock, build a door.
I can is a way of life.
More and Bigger is not always Better.
The road to success is always uphill.


   

Moody friends. Drama queens. Your life? Nope! - their life, your story. Play 
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports mbone/udpcast (PR# 114061) outdated

2007-07-01 Thread Beech Rintoul
On Sunday 01 July 2007, Tim Judd said:
 I noticed not too long ago that mbone/udpcast was outdated (as in
 more than 3 years old).  Not knowing what or how to proceed with
 such an outdated port, I decided to file a bug report.  It seemed
 the sensible thing to do.

 As you can see below, Edwin (edwin .at. FreeBSD.org) made the
 change to close the ticket without much details.

  State-Changed-From-To: open-closed
  State-Changed-By: edwin
  State-Changed-When: Wed Jun 27 07:20:48 UTC 2007
  State-Changed-Why:
  Please submit patches

 Well, I know what patches are, but I don't think patches themselves
 are able to fix the outdated port..  so I'm lost.  What do I do?

 I thought since the port was extremely outdated, that someone with
 a commit bit would have to setup the updated port in the CVS tree,
 I can't commit them myself.  I don't even know exactly what patches
 are needed or where to submit them.

 So, how do I proceed?  I need some tips and a hand-in-hand tutorial
 on what to update and where to send the update.

 Thanks for the tips.  BTW: I'm subscribed to the questions list on
 a digest, I ask a CC please on all the replies.

 --Tim J.

The porters handbook is your friend :-)

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

You should also subscribe to [EMAIL PROTECTED] That would be 
the correct list for port questions.

Cheers,

Beech
-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/6.2R/announce.html
---



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


Re: flash

2007-07-01 Thread Norberto Meijome
On Sun, 1 Jul 2007 21:54:51 -0300
Anton Galitch [EMAIL PROTECTED] wrote:

 I tried flash9 and flash7, the flash9 just crashes, and flash7 shows a grey
 square in the place where the flash application should be showed. I tried
 both, linux-firefox, and nspluginwrapper methods, it shows the same grey
 square. Any idea of what could it be??

run firefox from a term and see if you get any error messages from the app / 
plugins.

_
{Beto|Norberto|Numard} Meijome

Computers are like air conditioners; they can't do their job properly if you 
open windows.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mDNSResponder and avahi conflict when updade

2007-07-01 Thread Norberto Meijome
On Sun, 01 Jul 2007 16:35:44 +0200
Gaye Abdoulaye [EMAIL PROTECTED] wrote:

 I have a problem when I try to update my FreeBSD-6.2-STABLE i386 
 xorg-7.2 kde-3.5.6 with:
 pkgdb -F
 portupgrade -aPP
 It seems that fr-kde-i18n-3.5.6_1 require net/mDNSResponder.
 But net/mDNSResponder conflicts with avahi+libdns which is required by 
 firefox-2.0.0.4_1.

I bumped into the same conflict, although not because of the same packages. I
just unistalled mdnsreposnder and replaced it with avahi+libdns, replacing also
the dependencies with pkgdb.

Both I and the apps are none the wiser for the change ...but nothing seems to
be complaining as yet.

_
{Beto|Norberto|Numard} Meijome

People demand freedom of speech to make up for the freedom of thought which
they avoid.  Soren Aabye Kierkegaard

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd / gateway / parental control

2007-07-01 Thread Norberto Meijome
On Mon, 2 Jul 2007 04:16:13 +0200
Momchil Ivanov [EMAIL PROTECTED] wrote:

 On Monday 02 July 2007 03:45:39 Norberto Meijome wrote:
  On Fri, 29 Jun 2007 22:46:10 +0200
 
  Momchil Ivanov [EMAIL PROTECTED] wrote:
   4) Forget about the DSL router. Box with wireless NIC, 1 NIC for home
   net, 1 NIC for the DSL
   ^^
 - same as above, just have to tell your box how to connect to your ISP
 
  ok, this is interesting. You mean, plug the phone line straight into, say,
  fxp1 ? and then using ppp to connect over PPoE to your ISP?
 
  I had originally thought of getting a DSL card , but there doesn't seem to
  be any ADSL2/2+ supported.
 
 Well, as you get your internet connection through a DSL line, the above is 
 meant to be a DSL card.

:) i figured...but i asked just in the crazy chance that PPoE meant u could use
any Ethernet capable device (like a NIC) to connect to DSL. Oh well, it'd been
cool if true :D

_
{Beto|Norberto|Numard} Meijome

Software is like sex, its better when its free
   Linus Torvalds

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg build problem - font-misc-misc

2007-07-01 Thread Joel Hatton
Hi,

I have solved this issue. Turned out that font-util wasn't properly
installed. Although I followed the steps in UPDATING, it appears that a
lot of my ports didn't cleanly/properly upgrade - what I found I had to
do was to repeatedly portupgrade -a, identify which ports stopped on 'you
should make deinstall/reinstall' type errors and individually do just that
for each one until no more errors ensued from portupgrade.  Then I had to
run portupgrade -N x11/xorg on top of that, as it appears that I didn't
previously have the x11/xorg meta-port installed. I find it curious that
although I had full X functionality before without it, just about
everything I needed now hinged on adding it.

Even after all of this, I keep finding that I have to add individual apps
as I need them ie base things like xauth still weren't installed until I
added them by hand afterwards.

joel

On Tue, 26 Jun 2007 08:50:10 -0400, Lowell Gilbert wrote:
[EMAIL PROTECTED] writes:

 I've _almost_ successfully upgraded to 7.2 xorg. For some reason, I'm
 getting a failure when building font-misc-misc and this stops other crucial
 ports getting built. At present, if I try to run 'X' I get the dreaded
 cannot find font fixed' error. I sync'd my ports tree again this morning
 but the problem remained.

 Here's the output from the build error I get:

 /usr/local/bin/bdftopcf -t nil2.bdf | gzip  nil2.pcf.gz
 4x6.bdf /usr/local/lib/X11/fonts/util/map-ISO8859-1 ISO8859-1
 4x6.bdf:No such file or directory
 *** Error code 1

 Stop in /usr/ports/x11-fonts/font-misc-misc/work/font-misc-misc-1.0.0.
 *** Error code 1

 Stop in /usr/ports/x11-fonts/font-misc-misc.

 Help?

That's weird.  The failure seems to be actually failing to find the
font source in the port directory.  Is the port clean before building?   
Is the file that it fails on present in the port directory at the time
of failure?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


yet another question borne of ignorance....

2007-07-01 Thread Gary Kline

Guys,

One of the last tricks is to get lpr working from oldtao to
newtao--(once I'm done with my paper, I'll try to puzzle out
CUPS; for now I need too be able to print OOo files on my printserver).

It/printing finallly Does work across the wire, but this is
simply
lpr /etc/printcap

and the information I'm getting is that the queue on tao is
waiting for permission.  I've put  permission on tao in
/etc/hosts.lpd.   What else do I have to do?

Assistance, puleeeze!

gary

PS: and to think how far i've fallen ... jeez... .



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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