HyperThreading

2009-05-06 Thread APseudoUtopia
Hello,

I'm running FreeBSD 7.2-RELEASE on a dual-core Xeon. It has a custom
compiled SMP kernel, ACPI enabled, with the ULE scheduler.

I've been looking into HyperThreading, and I've come to the conclusion
that I should not use it. I've been told that HTT is disabled by
default, however sysctl and dmesg seems to contradict that:

CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2395.93-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x4400CNXT-ID,xTPR
  Logical CPUs per core: 2
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP/HT): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP/HT): APIC ID:  3
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
cpu2: ACPI CPU on acpi0
cpu3: ACPI CPU on acpi0
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #1 Launched!



machdep.hyperthreading_allowed: 1
hw.ncpu: 4
kern.smp.disabled: 0
kern.smp.active: 1


Am I correct to assume that the above means that HTT is enabled?
There is nothing in my loader.conf, sysctl.conf, or kernel config file
related to hyperthreading.

Thanks.
___
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: What is the highest hard drive read/write speed you were able to achieve by entire disk mirroring or striping?

2009-05-06 Thread Wojciech Puchar

I am seeing 85MB/s as a speed of a single Hitachi 1TB HD.
How high can you go by mirroring or striping 2, 3, 4 harddrives?


mirroring - the same, just with 2 processes reading both can get the 
bandwidth. make sure you use -s high enough (like 1048576) doing gmirror 
label


stripping - the same, or 2,3,4 times, depends how you configure.
for highest transfer and lowest concurrency (you mostly read huge files 
with one process) - use small stripe size.
for lowest transfer (=1 disk) and highest concurency - use very huge 
stripe size like 512MB, so simply different process reading different 
things can hit different drives, but each I/O isn't spread.


___
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


move to other subnet

2009-05-06 Thread Pieter Donche

Just want to check:

If a freebsd7 system is to move to a different subnet
(from ip XXX.YYY.AAA.BBB to XXX.YYY.CCC.DDD)
 same netmask 255.255.255.0
 same hostname myhost.mydomain.mycountry
 same DNS servers

then /etc/rc.conf is the only file that needs changes?

defaultrouter=XXX.YYY.CCC.254   ---
hostname=myhost.mydomain.mycountry 
ifconfig_em0=inet XXX.YYY.CCC.DDD netmask 255.255.255.0 ---


and reboot ?
or is there any other file(s) to change?
___
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


make - reassign variable using if-then ?

2009-05-06 Thread Anton Shterenlikht
I've this simple makefile:

VAR=one

all :   main

main:
@echo ${.CURDIR}
.if ${.CURDIR}
@echo ${VAR}
VAR=two
@echo ${VAR}
.endif

When I output VAR second time, the value is still one, and not the
new value two. Why?

% make
/usr/home/mexas
one
VAR=two
one

And gmake gives an error:

% gmake
makefile:7: *** missing separator.  Stop.
% 

please help
many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: move to other subnet

2009-05-06 Thread on

Hi,


then /etc/rc.conf is the only file that needs changes?

defaultrouter=XXX.YYY.CCC.254   ---
hostname=myhost.mydomain.mycountry
ifconfig_em0=inet XXX.YYY.CCC.DDD netmask 255.255.255.0 ---

and reboot ?
or is there any other file(s) to change?


In theory, yes, that changes the IP address of the machine.

But then you may have some services configured to listen to a specific 
IP address, these services will have to be reconfigured too.


Olivier


This message was sent using IMP, the Internet Messaging Program.


___
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: move to other subnet

2009-05-06 Thread Julien Cigar
On Wed, 2009-05-06 at 10:18 +0200, Pieter Donche wrote:
 Just want to check:
 
 If a freebsd7 system is to move to a different subnet
 (from ip XXX.YYY.AAA.BBB to XXX.YYY.CCC.DDD)
   same netmask 255.255.255.0
   same hostname myhost.mydomain.mycountry
   same DNS servers
 
 then /etc/rc.conf is the only file that needs changes?
 

yes (maybe /etc/hosts too)

 defaultrouter=XXX.YYY.CCC.254   ---
 hostname=myhost.mydomain.mycountry 
 ifconfig_em0=inet XXX.YYY.CCC.DDD netmask 255.255.255.0 ---
 
 and reboot ?

no need to reboot, just # /etc/rc.d/netif restart

 or is there any other file(s) to change?
 ___
 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
-- 
Julien Cigar
Belgian Biodiversity Platform
http://www.biodiversity.be
Université Libre de Bruxelles (ULB)
Campus de la Plaine CP 257
Bâtiment NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entrée ULB 2
B-1050 Bruxelles
Mail: jci...@ulb.ac.be
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52

___
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: Dump snapshot issue...

2009-05-06 Thread Marc Coyles
 One thing you should try is to remove the dump_snapshot files,
 because
 they are supposed to be unlinked when the dump starts anyway, so
 they
 shouldn't be sticking around.
 
 Also, look for file flags on the directories, or ACLs, etc.
 
 And consider the permissions you're running dump with.
 

Dump is running as root via cron / initiated by hand.
ACLs not used.
Have removed all existing dump_snapshot files, and
have also removed and recreated all .snap directories.

S'now working fine for all mountpoints, except /home...

mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error
dump: Cannot create /home/.snap/dump_snapshot: No such file or directory

It doesn't appear to proceed as normal either... as you can see below,
it ends the previous dump, starts the /home dump, gets an I/O error,
then proceeds straight to the /usr dump. The /home dump never gets
performed. If I remove the -L option, everything goes thru fine, but
complains about lack of -L flag...

  DUMP: DUMP IS DONE 
mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error
dump: Cannot create /home/.snap/dump_snapshot: No such file or directory

  DUMP: Date of this level 0 dump: Wed May  6 08:30:31 2009
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping snapshot of /dev/da0s1e (/usr) to standard output


Fsck finds no errors on /home... point to note... mksnap_ffs CAN create
/home/.snap/dump_snapshot as I'm sat looking at the file, however, once
it's created it it's as tho it can't access it. The file is there, it
wasn't before I ran the script. It's created it as root:operator, perms
400. I can open it in pico, add content to it, and save it happily. So
I'm baffled!

M



___
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


reducing Windows Vista to install FreeBSD dual-boot

2009-05-06 Thread Matthias Apitz

Hello,

Maybe a bit off-topic (sorry for this). I've got a fresh Dell M4400
laptop with 250 GByte, pre-installed Vista on it. Is there a way to
reduce the Vista to let's say 50 GByte and install FreeBSD -CURRENT
in the remaining 200 GByte, just to have the Vista later for some
investigations, or whatever? Thx

If not I will scratch the Vista, install FreeBSD and later in the rest
of 50 GByte the Vista again.

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
FreeBSD.
___
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: make - reassign variable using if-then ?

2009-05-06 Thread Mel Flynn
On Wednesday 06 May 2009 10:31:53 Anton Shterenlikht wrote:
 I've this simple makefile:

 VAR=one

 all   :   main

 main  :
   @echo ${.CURDIR}
 .if ${.CURDIR}
   @echo ${VAR}
   VAR=two
   @echo ${VAR}
 .endif

 When I output VAR second time, the value is still one, and not the
 new value two. Why?

Because it is expanded before being passed to the shell. Sh sees:
echo one
VAR=two
echo one

What are you really trying to accomplish?
-- 
Mel
___
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: make - reassign variable using if-then ?

2009-05-06 Thread Anton Shterenlikht
On Wed, May 06, 2009 at 11:15:07AM +0200, Mel Flynn wrote:
 On Wednesday 06 May 2009 10:31:53 Anton Shterenlikht wrote:
  I've this simple makefile:
 
  VAR=one
 
  all :   main
 
  main:
  @echo ${.CURDIR}
  .if ${.CURDIR}
  @echo ${VAR}
  VAR=two
  @echo ${VAR}
  .endif
 
  When I output VAR second time, the value is still one, and not the
  new value two. Why?
 
 Because it is expanded before being passed to the shell. Sh sees:
 echo one
 VAR=two
 echo one
 
 What are you really trying to accomplish?

I'm trying to build gcc43 on alpha 6.4.
In /usr/ports/lang/gcc43/Makefile I have:

# grep NOT_FOR_ARCHS /usr/ports/lang/gcc43/Makefile 
NOT_FOR_ARCHS=  alpha ia64 powerpc
# 

In /etc/make.conf I have:

.if ${.CURDIR:M*/lang/gcc43*}
NOT_FOR_ARCHS= ia64
USE_GCC=4.3+
.endif

This used to work fine until some update. Not anymore.
The second setting is being used, i.e. the port is being built
with gcc43. But the NOT_FOR_ARCHS is not changed, so I have
to do it manually each time. 

So I tried to experiment with changing variable values withing if-then.

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: reducing Windows Vista to install FreeBSD dual-boot

2009-05-06 Thread Manolis Kiagias

Matthias Apitz wrote:

Hello,

Maybe a bit off-topic (sorry for this). I've got a fresh Dell M4400
laptop with 250 GByte, pre-installed Vista on it. Is there a way to
reduce the Vista to let's say 50 GByte and install FreeBSD -CURRENT
in the remaining 200 GByte, just to have the Vista later for some
investigations, or whatever? Thx

If not I will scratch the Vista, install FreeBSD and later in the rest
of 50 GByte the Vista again.

matthias
  
Sure, You can even reduce Vista's partition from Control Panel - 
Administrative Tools - Computer Management - Disk Management.  Right 
click on the partition and select to shrink. The amount that it will 
allow you to shrink will vary (probably depends on the fragmentation) 
but I guess you will be able to get 50G on a 200G disk. Then install 
FreeBSD as usual, but do not allow it to install any boot manager (it 
will mess with Vista's BCD system). After installing, use EasyBCD (free 
download) within Vista to add FreeBSD to the boot menu.

___
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: carefull confirm on using linux_base-fc8

2009-05-06 Thread Boris Samorodov
On Tue, 05 May 2009 22:07:48 -0500 Adam Vande More wrote:

 If you intend on using f8, you'll want entries like this in /etc/make.conf

 USE_LINUX_BASE_PORT=f8
 USE_LINUX_NONBASE_PORTS=f8
 OVERRIDE_LINUX_BASE_PORT=f8
 OVERRIDE_LINUX_NONBASE_PORTS=f8

Actually, only the last two hav to be defined.
FYI: the first two variables were written at
/usr/ports/UPDATING by an accident and fixed
in a day.

 That and other useful information can always be found in /usr/ports/UPDATING

Yep. ;-)

And reading emulation@ mail list about introduction of f8 ports
is also recommended.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org 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


FreeBSD on VMware ESXi

2009-05-06 Thread Daniels Vanags
We moved Hard Disk Drives from HP ProLiant DL 385 G2 with 4GB RAM, AMD
Opteron processor to HP ProLiant DL 380 G5, 4GB RAM, Intel Xeon
processor.

Disks contain FreeBSD Virtual Machines running in VMware ESXi Server.
When trying to boot, getting error: BTX halted.

Please explain, how to start FreeBSD on different hardware.

Thanks,

 

 

 

 

 

Daniel Vanags

Information Technology  Department

IT infrastructure system engineer



JSC SMP Bank  www.smpbank.lv

Phone:+371 67019386

E-mail:   daniels.van...@smpbank.lv
mailto:daniels.van...@smpbank.lv 

 

___
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


Do I need both gcc-4.2 and gcc-4.3?

2009-05-06 Thread Mike Clarke
Somehow I've ended up with 2 copies of gcc from ports in addition to 
gcc-3.4 in the base system. 

pkg_info suggests that only gcc-4.3 is needed:

  curlew:/home/mike% pkg_info -Rx gcc-4
  Information for gcc-4.2.5_20081126:

  Information for gcc-4.3.4_20090419:

  Required by:
  fftw-2.1.5_5

I'm sure I haven't chosen to install fftw-2.1.5_5, and pkg_info -R 
doesn't show any other ports needing it. I was wondering if I could 
safely deinstall fftw and both the gcc-4 packages but wondered if 
pkg_info only shows the run dependencies and not the build 
dependencies. I don't mind the disk space needed but portupgrade 
sometimes results in having to upgrade 2 copies of gcc which is quite 
time consuming.

-- 
Mike Clarke
___
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: Do I need both gcc-4.2 and gcc-4.3?

2009-05-06 Thread Anton Shterenlikht
On Wed, May 06, 2009 at 12:51:16PM +0100, Mike Clarke wrote:
 Somehow I've ended up with 2 copies of gcc from ports in addition to 
 gcc-3.4 in the base system. 
 
 pkg_info suggests that only gcc-4.3 is needed:
 
   curlew:/home/mike% pkg_info -Rx gcc-4
   Information for gcc-4.2.5_20081126:
 
   Information for gcc-4.3.4_20090419:
 
   Required by:
   fftw-2.1.5_5
 
 I'm sure I haven't chosen to install fftw-2.1.5_5, and pkg_info -R 
 doesn't show any other ports needing it. I was wondering if I could 
 safely deinstall fftw and both the gcc-4 packages but wondered if 
 pkg_info only shows the run dependencies and not the build 
 dependencies. I don't mind the disk space needed but portupgrade 
 sometimes results in having to upgrade 2 copies of gcc which is quite 
 time consuming.

short answer - do as you wish. Any software you don't need you can
safely remove provided it is not required by some other packages.
Yes, only run dependencies are shown, therefore, from time to 
time I remove some packages which I don't need, and which were built
only to build others, which I do need. HOwever, this is probably
a waste of time, because it is likely that they would be build
again at some point, when the other packages are updated.

Also, I'm fairy certain, though check yourself, that all packages
which require 4.2.5 would be also happy with higher version, i.e.
I'd just leave the highest version of gcc.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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: reducing Windows Vista to install FreeBSD dual-boot

2009-05-06 Thread Matthias Apitz
El día Wednesday, May 06, 2009 a las 01:26:50PM +0300, Manolis Kiagias escribió:

 Sure, You can even reduce Vista's partition from Control Panel - 
 Administrative Tools - Computer Management - Disk Management.  Right 
 click on the partition and select to shrink. The amount that it will 
 allow you to shrink will vary (probably depends on the fragmentation) 
 but I guess you will be able to get 50G on a 200G disk.

I did so and was only allowed to shrink the partition to some 125 GByte.
I even moved before the swap to some other partition, reserved for of DELL
recovery.
I re-booted and hoped that it let me now shrink the 125 even more, but no
luck. So, at the moment I only have around 100 GByte for FreeBSD free,
which is a lot, compared with other servers I have here. 

 Then install 
 FreeBSD as usual, but do not allow it to install any boot manager (it 
 will mess with Vista's BCD system). After installing, use EasyBCD (free 
 download) within Vista to add FreeBSD to the boot menu.

Thanks for the hint.

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
FreeBSD.
___
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


filesystem: 12h to delete 32GB of data

2009-05-06 Thread Olivier Mueller
Hello,

$ df -m ; date ; rm -r templates_c ; df -m ; date
Filesystem  1M-blocks   Used Avail Capacity  Mounted on
/dev/da0s1a   989 45   864 5%/
/dev/da0s1f128631 102179 1616086%/usr
[...]
Wed May  6 00:23:01 CEST 2009

Filesystem  1M-blocks  Used Avail Capacity  Mounted on
/dev/da0s1a   98945   864 5%/
/dev/da0s1f128631 69844 4849659%/usr
Wed May  6 12:21:02 CEST 2009


- it took about 12 hours to delete these 30GB of files and
sub-directories (smarty cache files: many small files in many dirs).
It's a little bit surprising, as it's on a recent HP proliant DL360 g5
with SAS disks (Raid1) running freebsd 6.x
( /dev/da0s1f on /usr (ufs, local, soft-updates) )

Surprisingly, cpu load remained quite low during the operation (apache
stayed responsive).  Is it a known problem on this kind of hardware or
something related to the filesystem? Is there a way to improve this?
Even on my $500 PC with IDE disks this goes quicker... :)

I checked
http://www.freebsd.org/doc/en/books/handbook/configtuning-disk.html but
I'm not sure if this would help in this case. Any suggestion how I can
fix that? 

Regards,
Olivier


___
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: filesystem: 12h to delete 32GB of data

2009-05-06 Thread Bill Moran
In response to Olivier Mueller om-lists-...@omx.ch:

 Hello,
 
 $ df -m ; date ; rm -r templates_c ; df -m ; date
 Filesystem  1M-blocks   Used Avail Capacity  Mounted on
 /dev/da0s1a   989 45   864 5%/
 /dev/da0s1f128631 102179 1616086%/usr
 [...]
 Wed May  6 00:23:01 CEST 2009
 
 Filesystem  1M-blocks  Used Avail Capacity  Mounted on
 /dev/da0s1a   98945   864 5%/
 /dev/da0s1f128631 69844 4849659%/usr
 Wed May  6 12:21:02 CEST 2009
 
 
 - it took about 12 hours to delete these 30GB of files and
 sub-directories (smarty cache files: many small files in many dirs).
 It's a little bit surprising, as it's on a recent HP proliant DL360 g5
 with SAS disks (Raid1) running freebsd 6.x
 ( /dev/da0s1f on /usr (ufs, local, soft-updates) )
 
 Surprisingly, cpu load remained quite low during the operation (apache
 stayed responsive).  Is it a known problem on this kind of hardware or
 something related to the filesystem? Is there a way to improve this?
 Even on my $500 PC with IDE disks this goes quicker... :)
 
 I checked
 http://www.freebsd.org/doc/en/books/handbook/configtuning-disk.html but
 I'm not sure if this would help in this case. Any suggestion how I can
 fix that? 

With lots of small files, the time involved is far less dependent on
the size of data, and much more dependent on the number of files, and
the resultant number of directory entries that need to be updated.
Lots isn't a particularly accurate count of the # of files, but if
you're talking web cache files, I'll guess they average 5k each, which
means you had 6 million files.  df -i would have been more useful in
the output above.

This brings a number of questions up:
* Are you _sure_ softupdates is enabled on that partition?  That's
  going to make the biggest improvement in speed.
* Are these 7200RPM disks or 15,000?  Again, going to make a big
  difference.
* If apache was still running, is it possible that it was creating
  enough disk activity to slow the activity down?  Running
  top -m io will show you how much disk IO each process is creating.
* When you compared the speed to your laptop, did you delete 6 million
  files from the laptop?  If you deleted a single 30G file, then you're
  comparing apples to atom bombs.

If this is a directory that you blow away on a regular schedule, you'd
do much better to make it a dedicated partition and simply reformat
it.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: xorg error with xfce3 wm install

2009-05-06 Thread Daniel C. Dowse
On Sun, 03 May 2009 16:12:16 -1000
Al Plant n...@hdk5.net wrote:

[ snip ]
 xlib extension error Generic Event Extension missing on display :0.0.
[ snip ]

Hi Al,

i am running fluxbox 1.1.1, i receive the same error msgs with every X
app i start, since i did some updating on the installed xorg port with
portupgrade, i don`t know what xorg version is shipped  with the
freebsd 7.1 ports on a fresh installation. First i worried a little bit
about this error msg too but since it does not do any harm on my
installation so i don`t care bout this msgs anymore. 

regards

Daniel 

-- 
The only reality is virtual!


___
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: reducing Windows Vista to install FreeBSD dual-boot

2009-05-06 Thread Anders Troback
On Wed, 6 May 2009 14:08:27 +0200
Matthias Apitz g...@unixarea.de wrote:

 El día Wednesday, May 06, 2009 a las 01:26:50PM +0300, Manolis
 Kiagias escribió:
 
  Sure, You can even reduce Vista's partition from Control Panel - 
  Administrative Tools - Computer Management - Disk Management.
  Right click on the partition and select to shrink. The amount that
  it will allow you to shrink will vary (probably depends on the
  fragmentation) but I guess you will be able to get 50G on a 200G
  disk.
 
 I did so and was only allowed to shrink the partition to some 125
 GByte. I even moved before the swap to some other partition, reserved
 for of DELL recovery.
 I re-booted and hoped that it let me now shrink the 125 even more,
 but no luck. So, at the moment I only have around 100 GByte for
 FreeBSD free, which is a lot, compared with other servers I have
 here. 
 
  Then install 
  FreeBSD as usual, but do not allow it to install any boot manager
  (it will mess with Vista's BCD system). After installing, use
  EasyBCD (free download) within Vista to add FreeBSD to the boot
  menu.
 
 Thanks for the hint.
 
   matthias

Before you shrink you need to defrag you partition and normally you
can't do it with the defrag tool that are built into Vista, you need
something like PerfectDisk. You can get a trial version of PerfecDisk
and you only need it once so that's not an issue:-) You have to do a
system-files-defrag-on-next-boot (don't remember the exact options
here)!

\\anders

-- 
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


basic

2009-05-06 Thread giorgio novello
Do you want obtain new market share? 

Develop e visual-basic like language, or asp vb and  your OS will be a best
seller

 

Regards

Giorgio Novello

Vb developer

Italy

___
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: basic

2009-05-06 Thread Chris Rees
2009/5/6 giorgio novello gio@vodafone.it:
 Do you want obtain new market share?

 Develop e visual-basic like language, or asp vb and  your OS will be a best
 seller



 Regards

 Giorgio Novello

 Vb developer

 Italy

But VB only works on one platform!

Chris


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
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: filesystem: 12h to delete 32GB of data (4 million files)

2009-05-06 Thread Olivier Mueller
Thanks for your answer Bill!  (and to Will as well),

Some more infos I gathered a few minutes ago: 

[~/templates_c]$ date; du -s -m ; date
Wed May  6 13:35:15 CEST 2009
  2652  .
Wed May  6 13:52:36 CEST 2009

[~/templates_c]$ date ; find . | wc -l ; date
Wed May  6 13:52:56 CEST 2009
  305461
Wed May  6 14:09:39 CEST 2009


So this is on the system after a complete cache cleanup (at 00h00).
300'000 files and 2.6GB.  So this night, there were probably around 3-4
million files to delete.

Deletion may take time, but 20 minutes juste to _count_ all the files
seems pretty long to me...   I think I'll say a word to the developers
to let them tune their caching system a bit :)



On Wed, 2009-05-06 at 08:48 -0400, Bill Moran wrote:
 With lots of small files, the time involved is far less dependent on
 the size of data, and much more dependent on the number of files, and
 the resultant number of directory entries that need to be updated.
 Lots isn't a particularly accurate count of the # of files, but if
 you're talking web cache files, I'll guess they average 5k each, which
 means you had 6 million files.  df -i would have been more useful in
 the output above.

Thanks, noted for next time.  Now it looks like that:
Filesystem  1M-blocks  Used Avail Capacity iusedifree %iused  Mounted on
/dev/da0s1f128631 70544 4779560% 1913875 15114219   11%   /usr


 This brings a number of questions up:
 * Are you _sure_ softupdates is enabled on that partition?  That's
   going to make the biggest improvement in speed.

According to mount output, yes.  I found no specific message about
that in the syslog or dmesg.

 * Are these 7200RPM disks or 15,000?  Again, going to make a big
   difference.

HP 146GB 6G SAS 10K SFF DP ENT HDD  (15k were not available at the time
the servers were ordered)
( 
http://h18004.www1.hp.com/products/servers/proliantstorage/serial/sas/index.html
 )

 * If apache was still running, is it possible that it was creating
   enough disk activity to slow the activity down?  Running
   top -m io will show you how much disk IO each process is creating.

Yes, apache was still running, but the activity was quite low (it was
during the night, and the webpage doesn't get so many hits before 9 am
local time)

While watching top -m io, the du or find takes between 80 and 99%,
so I guess it's not the probleme here:

  PIDUID  VCSW  IVCSW   READ  WRITE  FAULT  TOTAL PERCENT COMMAND
87996   100259 56  0  0  0  0   0.00% php
45389   100235 25  0  0  2  2   0.84% php
 3964   1002 0  0  0  0  0  0   0.00% httpd
 3822   1002   151 98  0  0  0  0   0.00% httpd
 3005   1002 0  0  0  0  0  0   0.00% httpd
 4129   1002 0  0  0  0  0  0   0.00% httpd
 3971   1002 0  0  0  0  0  0   0.00% httpd
 4231   1002 1  0  0  0  0  0   0.00% httpd
 4132  0   234  5234  0  0234  97.91% find
98862   1002 1  0  0  0  0  0   0.00% top
  609  0 0  0  0  0  0  0   0.00% snmpd
[...]


 * When you compared the speed to your laptop, did you delete 6 million
   files from the laptop?  If you deleted a single 30G file, then you're
   comparing apples to atom bombs.

Yes sorry, I know :)

 If this is a directory that you blow away on a regular schedule, you'd
 do much better to make it a dedicated partition and simply reformat
 it.

Yes, it is one of the best options. My initial goal was to delete all
files older than N days by cron  (find | xargs | rm, etc.), but if each
cronjob takes 2 hours (and takes so much cpu time), it's probably not
the best way.  

I'll make some more tests on an test-server later this week and speak
with the devs. Thanks again for your very constructive feedback! 

Regards,
Olivier

___
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: When a System Dies; Getting back in operation again.

2009-05-06 Thread n j
 ... What is the best way to restore the full system?
 Can I use the FreeBSD installation disk in rescue mode?

I experienced such a situation just 2 weeks ago. My primary problem
was that I had to do restore over the network (no attached tape
drives, no external HDDs). I wanted to use ssh to grab the dump from
the backup server, but ended up using netcat which worked great.

Here's basically what I did including backup from the not-yet-dead
machine (note, I used intermediate backup server, but it should be
possible to directly pipe dump to restore):

1. dump -0Laf - / | ssh backup-server cat  dump.root
2. boot the new machine from CD disc1 (FreeBSD 7) or livefs disc (FreeBSD 7)
3. create and newfs partitions as explained in this thread (at least
the size of backup, can be larger)
4. go into the rescue (fixit) mode, create mount points for created
partitions (mkdir mnt.root), mount partitions (e.g. mount /dev/da0s1a
/mnt.root), change directory to mount point (cd /mnt.root), configure
NIC (ifconfig)
5. start netcat (nc -l 5 | restore -rvf -)
6. on backup-server: cat dump.root | nc new-machine 5
7. repeat for usr and var partitions

Notes:
1. if security is an issue, ssh out from the new machine to the backup
server with port forwarding (ssh -R 5:localhost:5
backup-server) and pipe the backup to localhost (cat dump.root | nc
localhost 5);
my initial idea was to start sshd in fixit mode (see my post to the
list fixit console with sshd) which turned out to be too much of a
trouble.
2. restore uses TMPDIR to store some temporary files during restore
process; the fixit mode has limited free space and when it gets
exhausted the restore process will fail, so it is a good idea to use
an available partition as a temporary TMPDIR (e.g. export
TMPDIR=/mnt.var while restoring usr partition and later use a
subdirectory of usr as TMPDIR to restore var partition)
3. [IMPORTANT!] after the restore process is over, manually check
restored etc/fstab and etc/rc.conf (currently mounted as
/mnt.root/...) to fix:
a) partition names (e.g. /dev/da0s1a might become /dev/amrd0s1a)
b) ethernet interface names (e.g. em0 might become bge0)
c) IP addresses in case you still have the old box running to avoid IP conflict

You should now be able to safely reboot and log into your new machine.

Regards,
-- 
Nino
___
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: reducing Windows Vista to install FreeBSD dual-boot

2009-05-06 Thread Leslie Jensen


Anders Troback skrev:

On Wed, 6 May 2009 14:08:27 +0200
Matthias Apitz g...@unixarea.de wrote:


El día Wednesday, May 06, 2009 a las 01:26:50PM +0300, Manolis
Kiagias escribió:

Sure, You can even reduce Vista's partition from Control Panel - 
Administrative Tools - Computer Management - Disk Management.

Right click on the partition and select to shrink. The amount that
it will allow you to shrink will vary (probably depends on the
fragmentation) but I guess you will be able to get 50G on a 200G
disk.

I did so and was only allowed to shrink the partition to some 125
GByte. I even moved before the swap to some other partition, reserved
for of DELL recovery.
I re-booted and hoped that it let me now shrink the 125 even more,
but no luck. So, at the moment I only have around 100 GByte for
FreeBSD free, which is a lot, compared with other servers I have
here. 

Then install 
FreeBSD as usual, but do not allow it to install any boot manager

(it will mess with Vista's BCD system). After installing, use
EasyBCD (free download) within Vista to add FreeBSD to the boot
menu.

Thanks for the hint.

matthias


Before you shrink you need to defrag you partition and normally you
can't do it with the defrag tool that are built into Vista, you need
something like PerfectDisk. You can get a trial version of PerfecDisk
and you only need it once so that's not an issue:-) You have to do a
system-files-defrag-on-next-boot (don't remember the exact options
here)!

\\anders




I've done this a few times and the best procedure is to use the Parted 
magic CD and resize the partition. The Vista shrink tool is not 
something I would recommend. You don't have to think of defragging when 
you use Parted Magic.


/Leslie
___
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: basic

2009-05-06 Thread Outback Dingo
comne on now, its not even april first.

On Wed, May 6, 2009 at 7:32 PM, giorgio novello gio@vodafone.it wrote:

 Do you want obtain new market share?

 Develop e visual-basic like language, or asp vb and  your OS will be a best
 seller



 Regards

 Giorgio Novello

 Vb developer

 Italy

 ___
 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


Configuring an IPv6 router to assign addresses

2009-05-06 Thread af300wsm

Hi,

I've found in the handbook how to start up a v6 router and some other  
helpful links on this topic at the FreeBSD diary. However, I'm wondering,  
how do I configure the router to assign addresses to hosts.


Thanks,
Andy
___
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: Configuring an IPv6 router to assign addresses

2009-05-06 Thread Odhiambo ワシントン
On Wed, May 6, 2009 at 5:30 PM, af300...@gmail.com wrote:

 Hi,

 I've found in the handbook how to start up a v6 router and some other
 helpful links on this topic at the FreeBSD diary. However, I'm wondering,
 how do I configure the router to assign addresses to hosts.


Nice question. I wonder if isc-dhcp-server can already handle IPv6
addresses. I, too, am interested in knowing and I guess it's time I start
learning these IPv6 stuff.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Clothes make the man.  Naked people have little or no influence on
society.
  -- Mark Twain
___
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


Preferred client for DynDNS

2009-05-06 Thread Daniel Underwood
There appear to be several clients capable of working with DynDNS.com
services here:
http://www.freebsd.org/ports/dns.html

E.g., dns/inadyn, dns/ipcheck

Can anyone make recommendations?  My goal in using DynDNS is to allow
remote SSH logins to a machine behind a router at my house (using a
common ISP).

Thanks,
Daniel
___
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: Preferred client for DynDNS

2009-05-06 Thread Leslie Jensen



Daniel Underwood skrev:

There appear to be several clients capable of working with DynDNS.com
services here:
http://www.freebsd.org/ports/dns.html

E.g., dns/inadyn, dns/ipcheck

Can anyone make recommendations?  My goal in using DynDNS is to allow
remote SSH logins to a machine behind a router at my house (using a
common ISP).

Thanks,
Daniel



I use dns/noip for exactly that purpose on six different machines (and 
locations)


/Leslie
___
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: ReturnCode Checking for FTP

2009-05-06 Thread Eddie Chen




Lowell,

 On my AIX and Linux system we don't have fetch installed. I
Googled  fetch, can't found the download  URL for fetch.
   It seems fetch(1) will get file(s)... We mostly push the file(s) to
the clients.  Thanks.




   
Lowell Gilbert 
 freebsd-question 
 s-lo...@be-well.i  To 
 lk.org   freebsd-questions@freebsd.org   
cc 
05/05/2009 Eddie Chen ec...@nyx.com  
 08:56 PM  Subject 
   Re: ReturnCode Checking for FTP 
   
 Please respond to 
 freebsd-questions 
   @freebsd.org
   
   




Eddie Chen ec...@nyx.com writes:

I am looking for a FTP clients that exit with a return code.

However, last week I download the tnftp and started implementing it.
It's actually trivial to implement this feature.

If this works, do you think it should be part of the ftp client.

I've never used return codes with ftp(1),
but I have used them with fetch(1), which
is also part of the base system.

Have you tried fetch?  If it doesn't meet
your needs, can you explain why?

--
Lowell Gilbert, embedded/networking software engineer, Boston area
 http://be-well.ilk.org/~lowell/




Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the 
reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the 
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Euronext, Inc.

___
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: Configuring an IPv6 router to assign addresses

2009-05-06 Thread John Nielsen
On Wednesday 06 May 2009 10:39:24 am Odhiambo  ワシントン wrote:
 On Wed, May 6, 2009 at 5:30 PM, af300...@gmail.com wrote:
  Hi,
 
  I've found in the handbook how to start up a v6 router and some other
  helpful links on this topic at the FreeBSD diary. However, I'm
  wondering, how do I configure the router to assign addresses to
  hosts.

 Nice question. I wonder if isc-dhcp-server can already handle IPv6
 addresses. I, too, am interested in knowing and I guess it's time I
 start learning these IPv6 stuff.

Is there a reason you need to control the addresses used by your clients 
(other than the prefix)? I set up IPv6 on my LAN and while I have DHCPd 
running on the router for IPv4 addresses rtadvd is all I needed for IPv6. 
Clients assign themselves addresses based on the network prefix they 
learn from route solicitation and their own MAC address. That's supposed 
to be one of the reduced administration benefits of the new 
protocol. :)

JN
___
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: ReturnCode Checking for FTP

2009-05-06 Thread Gary Gatten
Can I assume you want return codes to know if the file was transferred
correctly?  Several years ago I was involved in architecting a
middleware app for file/data exchange.  For ftp delivery (and others)
we'd check the file size locally, put the file, then check the file size
on the remote side.  Not fool-proof, such as CRC or Hash of somekind,
but pretty good.  Use bin mode for everything.  Also, maybe as part of
the file record itself you can embed a hash and have the client check
this when processing the file on their end.

Unfortunately when using ftp you never know what the ftp server
supports, so unless you can dictate supported ftp servers, you can't
get too fancy.

G


-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Eddie Chen
Sent: Wednesday, May 06, 2009 9:24 AM
To: freebsd-questions@freebsd.org
Subject: Re: ReturnCode Checking for FTP





Lowell,

 On my AIX and Linux system we don't have fetch installed. I
Googled  fetch, can't found the download  URL for fetch.
   It seems fetch(1) will get file(s)... We mostly push the file(s) to
the clients.  Thanks.




 

Lowell Gilbert

 freebsd-question

 s-lo...@be-well.i
To 
 lk.org   freebsd-questions@freebsd.org

 
cc 
05/05/2009 Eddie Chen ec...@nyx.com

 08:56 PM
Subject 
   Re: ReturnCode Checking for FTP

 

 Please respond to

 freebsd-questions

   @freebsd.org

 

 





Eddie Chen ec...@nyx.com writes:

I am looking for a FTP clients that exit with a return code.

However, last week I download the tnftp and started implementing
it.
It's actually trivial to implement this feature.

If this works, do you think it should be part of the ftp client.

I've never used return codes with ftp(1),
but I have used them with fetch(1), which
is also part of the base system.

Have you tried fetch?  If it doesn't meet
your needs, can you explain why?

--
Lowell Gilbert, embedded/networking software engineer, Boston area
 http://be-well.ilk.org/~lowell/




Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the

reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the 
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Euronext, Inc.

___
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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
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: filesystem: 12h to delete 32GB of data (4 million files)

2009-05-06 Thread Bill Moran
In response to Olivier Mueller om-lists-...@omx.ch:
 
 Yes, it is one of the best options. My initial goal was to delete all
 files older than N days by cron  (find | xargs | rm, etc.), but if each
 cronjob takes 2 hours (and takes so much cpu time), it's probably not
 the best way.  
 
 I'll make some more tests on an test-server later this week and speak
 with the devs. Thanks again for your very constructive feedback! 

Based on your comments here, it really sounds like your devs need to
implement some sort of cache cleaning algo into their code.  If it's
just deleting the oldest files, then you could probably run it far
more frequently if you simply created a new cache directory each
hour, and deleted the previous one.

Honestly, I'm really confused -- if you can just throw away the cache
each night, then why are you caching to begin with?  If you just need
temp files, why doesn't the app clean up its temp files when it's
done with them?

If you have access to the developers, I think you'll be able to come
up with a much better solution by working with them.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: Re: Configuring an IPv6 router to assign addresses

2009-05-06 Thread af300wsm

On May 6, 2009 8:56am, John Nielsen li...@jnielsen.net wrote:

On Wednesday 06 May 2009 10:39:24 am Odhiambo ワシントン wrote:




Is there a reason you need to control the addresses used by your clients



(other than the prefix)? I set up IPv6 on my LAN and while I have DHCPd



running on the router for IPv4 addresses rtadvd is all I needed for IPv6.



Clients assign themselves addresses based on the network prefix they



learn from route solicitation and their own MAC address. That's supposed



to be one of the reduced administration benefits of the new



protocol. :)



Thanks for reminding me of the flow in which this happens. Seems like I, at  
sometime, got the idea that it was the router that dished back a unique IP  
based on clients MAC and so forth. However, it seems to me now that the  
router was only supposed to dish out the prefix, ie network id, and the  
client would take that prefix and generate a unique IP based on its MAC.


Thanks again,
Andy
___
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


Assign IP address and hostname via kernel parameter

2009-05-06 Thread Mister Olli
Hi,

is there a way to configure IP address and hostname on freebsd systems
via kernel command line parameters?

I have some freebsd systems in as xen domU's and it would be really
great to be able to set the ip address  hostname within the
configuration file for the domU.

I'm aware that I could configure a static mac address and use DHCP, but
with several layer2 segments on different XEN hosts setting up DHCP
correctly would be a real pain ;-)

---
Regards
Mr. Olli

___
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: Configuring an IPv6 router to assign addresses

2009-05-06 Thread Steve Bertrand
af300...@gmail.com wrote:
 On May 6, 2009 8:56am, John Nielsen li...@jnielsen.net wrote:
 On Wednesday 06 May 2009 10:39:24 am Odhiambo $B%o%7%s%H%s(B wrote:
 
 
 Is there a reason you need to control the addresses used by your clients
 
 (other than the prefix)? I set up IPv6 on my LAN and while I have DHCPd
 
 running on the router for IPv4 addresses rtadvd is all I needed for IPv6.
 
 Clients assign themselves addresses based on the network prefix they
 
 learn from route solicitation and their own MAC address. That's supposed
 
 to be one of the reduced administration benefits of the new
 
 protocol. :)
 
 
 Thanks for reminding me of the flow in which this happens. Seems like I,
 at sometime, got the idea that it was the router that dished back a
 unique IP based on clients MAC and so forth. However, it seems to me now
 that the router was only supposed to dish out the prefix, ie network id,
 and the client would take that prefix and generate a unique IP based on
 its MAC.

Have a peruse of this RFC (stateless autoconfig):

http://www.ietf.org/rfc/rfc4862.txt

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: Preferred client for DynDNS

2009-05-06 Thread Andrew Gould
On Wed, May 6, 2009 at 9:40 AM, Daniel Underwood djuatde...@gmail.comwrote:

 There appear to be several clients capable of working with DynDNS.com
 services here:
 http://www.freebsd.org/ports/dns.html

 E.g., dns/inadyn, dns/ipcheck

 Can anyone make recommendations?  My goal in using DynDNS is to allow
 remote SSH logins to a machine behind a router at my house (using a
 common ISP).

 Thanks,
 Daniel
 ___
  freebsd-questions@freebsd.org


I use ddclient.  It was the first one I tried, and works well, so I haven't
tried anything else.

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: Configuring an IPv6 router to assign addresses

2009-05-06 Thread Eric Masson
Odhiambo  ワシントン odhia...@gmail.com writes:

Hi,

 Nice question. I wonder if isc-dhcp-server can already handle IPv6
 addresses.

Seems it can since 4.x branch.

But, is there any reason to use dhcp on ipv6 nets as the protocol has
been designed with autoconfiguration in mind ?

Regards

-- 
 J'aimerai créer mon propre newsgroup fr.mincir.vitalite [...] Ainsi,
 cela permettrait aux personnes de se rendre directement dans mon
 newsgroup plutot que moi-même de publier des annonces dans les autres
 -+-LH in Guide du Neuneu Usenet : Mince, Neuneu investit (dans) fufe -+-
___
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: make - reassign variable using if-then ?

2009-05-06 Thread Mel Flynn
On Wednesday 06 May 2009 11:31:17 Anton Shterenlikht wrote:

 I'm trying to build gcc43 on alpha 6.4.
 In /usr/ports/lang/gcc43/Makefile I have:

 # grep NOT_FOR_ARCHS /usr/ports/lang/gcc43/Makefile
 NOT_FOR_ARCHS=  alpha ia64 powerpc
 #

 In /etc/make.conf I have:

 .if ${.CURDIR:M*/lang/gcc43*}
 NOT_FOR_ARCHS= ia64
 USE_GCC=4.3+
 .endif

 This used to work fine until some update. Not anymore.
 The second setting is being used, i.e. the port is being built
 with gcc43. But the NOT_FOR_ARCHS is not changed, so I have
 to do it manually each time.

 So I tried to experiment with changing variable values withing if-then.

Your only option is overriding in /usr/portslang/gcc43/Makefile.local. This is 
because make.conf is read *before* the Makefile and the Makefile simply 
overrides your values. Makefile.local is read *after* the Makefile.
csup will leave it alone, however portsnap will delete the entire directory 
before upgrading the port, so your Makefile.local will be shot.
-- 
Mel
___
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: Xdvi with amd64

2009-05-06 Thread Andrew Hamilton-Wright

On Mon, 4 May 2009, Olivier Nicole wrote:


Exactly which fonts are you having trouble with?  I can tell you
whether I can reproduce the issue under 7.1.


Nothing exotic at all: cmr10.300.pk

The error message is:

   $ xdvi memo
   Note:  overstrike characters may be incorrect.

xdvi: Wrong number of bits stored:  char. 68, font cmr10

   $


For what it is worth, I don't seem to be able to produce this
with any DVI files I create.  If you have one in particular you
would like me to verify, you can email it to me.


What version of xdvi are you running?  I have a recent port:

$ xdvi -version
xdvik version 22.84.10 (@(#)Motif Version 2.2.3, runtime version 2.2)
Libraries: kpathsea version 3.5.2, T1lib version 5.1.2


A.

___
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: ReturnCode Checking for FTP

2009-05-06 Thread Eddie Chen




Gary,

Yes I am look a retrunCode from  put/get/reanme.
 We run and transmit very large amount of data and jobs thru out the
evening. These jobs runs under Linux and AIX.

   -  This was not an issue on the mainframe, the mainframe ftp client
support return code.

 Currently, we have two solutions,  write  script(s)  to look for 226
and 250 and/or PERL ftp that reads ftp command.
 Reading the  ftp commands seems to be better, because it will exit(rc)
if any of  put or rename failed.

Thanks.


   
Gary Gatten  
 ggat...@waddell. 
 com   To 
   Eddie Chen ec...@nyx.com,   
05/06/2009 freebsd-questions@freebsd.org 
 11:08 AM   cc 
   
   Subject 
   RE: ReturnCode Checking for FTP 
   
   
   
   
   
   




Can I assume you want return codes to know if the file was transferred
correctly?  Several years ago I was involved in architecting a
middleware app for file/data exchange.  For ftp delivery (and others)
we'd check the file size locally, put the file, then check the file size
on the remote side.  Not fool-proof, such as CRC or Hash of somekind,
but pretty good.  Use bin mode for everything.  Also, maybe as part of
the file record itself you can embed a hash and have the client check
this when processing the file on their end.

Unfortunately when using ftp you never know what the ftp server
supports, so unless you can dictate supported ftp servers, you can't
get too fancy.

G


-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Eddie Chen
Sent: Wednesday, May 06, 2009 9:24 AM
To: freebsd-questions@freebsd.org
Subject: Re: ReturnCode Checking for FTP





Lowell,

 On my AIX and Linux system we don't have fetch installed. I
Googled  fetch, can't found the download  URL for fetch.
   It seems fetch(1) will get file(s)... We mostly push the file(s) to
the clients.  Thanks.






Lowell Gilbert

 freebsd-question

 s-lo...@be-well.i
To
 lk.org   freebsd-questions@freebsd.org


cc
05/05/2009 Eddie Chen ec...@nyx.com

 08:56 PM
Subject
   Re: ReturnCode Checking for FTP



 Please respond to

 freebsd-questions

   @freebsd.org









Eddie Chen ec...@nyx.com writes:

I am looking for a FTP clients that exit with a return code.

However, last week I download the tnftp and started implementing
it.
It's actually trivial to implement this feature.

If this works, do you think it should be part of the ftp client.

I've never used return codes with ftp(1),
but I have used them with fetch(1), which
is also part of the base system.

Have you tried fetch?  If it doesn't meet
your needs, can you explain why?

--
Lowell Gilbert, embedded/networking software engineer, Boston area
 http://be-well.ilk.org/~lowell/




Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the

reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Euronext, Inc.

___
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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in
0in 1.0pt 0in'

Re: ReturnCode Checking for FTP

2009-05-06 Thread Lowell Gilbert
Eddie Chen ec...@nyx.com writes:

  On my AIX and Linux system we don't have fetch installed. I
 Googled  fetch, can't found the download  URL for fetch.

If you need the same behaviour from your ftp clients on all platforms,
you will need to install a different ftp client on at least some of
them.  The native ftp(1) programs are quite different on all three of
those platforms are quite different.

I hear ncftp is nice.


-- 
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: Assign IP address and hostname via kernel parameter

2009-05-06 Thread jt
Hi,
   I would take a look at sysctl this system takes care of kernel
parameters.  There are a few man pages that delineate what is read only.
I'm sure you are aware of setting the hostname at boot time.  It seemed like
you were more curious about on the fly.  I'm not familiar with xen domU's

hope this helps,

=jt

On Wed, May 6, 2009 at 11:20 AM, Mister Olli mister.o...@googlemail.comwrote:

 Hi,

 is there a way to configure IP address and hostname on freebsd systems
 via kernel command line parameters?

 I have some freebsd systems in as xen domU's and it would be really
 great to be able to set the ip address  hostname within the
 configuration file for the domU.

 I'm aware that I could configure a static mac address and use DHCP, but
 with several layer2 segments on different XEN hosts setting up DHCP
 correctly would be a real pain ;-)

 ---
 Regards
 Mr. Olli

 ___
 freebsd-curr...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-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: ReturnCode Checking for FTP

2009-05-06 Thread Gary Gatten
Yep - or at least make sure the client is in debug mode - it may spew
out the messages/codes you're wanting in debug mode.

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Lowell Gilbert
Sent: Wednesday, May 06, 2009 10:45 AM
To: Eddie Chen
Cc: freebsd-questions@freebsd.org
Subject: Re: ReturnCode Checking for FTP

Eddie Chen ec...@nyx.com writes:

  On my AIX and Linux system we don't have fetch installed. I
 Googled  fetch, can't found the download  URL for fetch.

If you need the same behaviour from your ftp clients on all platforms,
you will need to install a different ftp client on at least some of
them.  The native ftp(1) programs are quite different on all three of
those platforms are quite different.

I hear ncftp is nice.


-- 
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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
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: Configuring an IPv6 router to assign addresses

2009-05-06 Thread Wojciech Puchar

start rtadvd on interface

On Wed, 6 May 2009, af300...@gmail.com wrote:


Hi,

I've found in the handbook how to start up a v6 router and some other helpful 
links on this topic at the FreeBSD diary. However, I'm wondering, how do I 
configure the router to assign addresses to hosts.


Thanks,
Andy
___
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: filesystem: 12h to delete 32GB of data

2009-05-06 Thread Wojciech Puchar

- it took about 12 hours to delete these 30GB of files and
sub-directories (smarty cache files: many small files in many dirs).
It's a little bit surprising, as it's on a recent HP proliant DL360 g5
with SAS disks (Raid1) running freebsd 6.x
( /dev/da0s1f on /usr (ufs, local, soft-updates) )


if you would use no raid or software raid it will behave normally.

it takes 30 minutes for me to delete 300GB of squid files on 
ordinary SATA disk , millions of small files.



___
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: filesystem: 12h to delete 32GB of data

2009-05-06 Thread Wojciech Puchar

means you had 6 million files.  df -i would have been more useful in




the output above.

This brings a number of questions up:
* Are you _sure_ softupdates is enabled on that partition?  That's


he showed mount output - he has softdeps on.


* Are these 7200RPM disks or 15,000?  Again, going to make a big
 difference.


on 7200 RPM ordinary SATA disk i deleted 15 million files taking 300GB 
(squid cache) in less than 30 minutes.


for sure it's because of his hardware raid.

i've NEVER seen hardware raid that is actually faster than non-raid 
config, or gmirror/gstripe config.


usually it's far much slower
___
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: Repeatable X lockups

2009-05-06 Thread William Bulley
According to Jimmie James jimmie...@gmail.com on Sat, 05/02/09 at 15:46:

 When using the xv output driver for vlc or mplayer, X will lockup, crash 
 instantly, trashing the screen and forcing a reboot
 Image of screen corruption: 
 http://img.photobucket.com/albums/v287/jimmiejaz/xcrash.jpg
 
 This just started manifesting in the past week or so.

I have experienced the same problem, but I didn't see any suggestions
or answers to your posting.  Have you had any success yet with this?
Have you tried any other output drivers?  This is something I plan to
try in the next few days.

My system is i386 with Intel 915 graphics on the motherboard.  Xorg 7.4
runs fine.  When I run mplayer from the command line, in an xterm under
open-motif, the X Windows session dies and I am tossed back to the vty.

When I similarly run vlc from the command line, the screen is locked in
an even worse state than your above URL.  I am forced to ssh(1) in from
another FreeBSD workstation to reboot.  Before the reboot, ps(1) reports
no processes running xorg or any of its child processes, it seems as if
my video hardware has been left in some ugly, locked-up, unusable state.

What is interesting to me is that the same flash file that causes vlc
and mplayer to crash runs just fine in ffplay(1) (part of ffmpeg port).
Yet at least vlc uses ffmpeg, while it doesn't look like mplayer does.

This is 7.2-PRERELEASE built on 24 Apr 2009 with the ports of mplayer
and vlc built on 2 May 2009 following a csup(1) of complete ports tree
on either 24 Apr or 25 Apr - so approximately the same timeframe as you.

Regards,

web...

--
William Bulley Email: w...@umich.edu

The information contained in this message may be CONFIDENTIAL
and is for the intended addressee only.  Any unauthorized use,
dissemination of the information, or copying of this message
is prohibited.  If you are not the intended addressee, please
notify the sender immediately, and delete this message.

___
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: basic

2009-05-06 Thread Polytropon
10 GOTO 10

On Wed, 6 May 2009 14:32:47 +0200, giorgio novello gio@vodafone.it 
wrote:
 Do you want obtain new market share? 
 
 Develop e visual-basic like language, or asp vb and  your OS will be a best
 seller

FreeBSD isn't for beginners, it's for professionals. There
wouldn't be Visual BEGINNERs All-Purpose Symbolic Instruction
Code, but isual PROFESSIONALSs All-Purpose Symbolic Instruction
Code, Visual Pasic, VP. It already exists: The tools for making
Qt and Gtk+ applications. Then, there are NetBeans and Eclipse
and so on - everything already there. :-)

Furthermore, FreeBSD isn't sold. So it doesn't have to care
about market share and best seller.

And for the weekend:
10 GOTO KNEIPE
20 INPUT BIER


-- 
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: filesystem: 12h to delete 32GB of data

2009-05-06 Thread cpghost
On Wed, May 06, 2009 at 05:34:24PM +0200, Wojciech Puchar wrote:
  - it took about 12 hours to delete these 30GB of files and
  
  sub-directories (smarty cache files: many small files in many dirs).
  It's a little bit surprising, as it's on a recent HP proliant DL360 g5
  with SAS disks (Raid1) running freebsd 6.x
  ( /dev/da0s1f on /usr (ufs, local, soft-updates) )
 
 if you would use no raid or software raid it will behave normally.
 
 it takes 30 minutes for me to delete 300GB of squid files on 
 ordinary SATA disk , millions of small files.

Alternatively, you could assign a dedicated filesystem for the cache
and when cleaning up:
  * stop the app (or disable caching),
  * umount
  * newfs
  * mount
  * restart the app (or reenable caching).

newfs is MUCH faster than manually deleting gazillions of files.  If
you don't like the (small) downtime during newfs, you could also play
with two or more dedicated filesystems, and rotate between them (though
that would be a waste of disk space).

I can't recall how many times I've used a fresh newfs-ed filesystem
instead of removing stuff one file at a time.

-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: basic

2009-05-06 Thread cpghost
On Wed, May 06, 2009 at 06:00:32PM +0200, Polytropon wrote:
 On Wed, 6 May 2009 14:32:47 +0200, giorgio novello gio@vodafone.it 
 wrote:
  Do you want obtain new market share? 
  
  Develop e visual-basic like language, or asp vb and  your OS will be a best
  seller
 
 FreeBSD isn't for beginners, it's for professionals. There
 wouldn't be Visual BEGINNERs All-Purpose Symbolic Instruction
 Code, but isual PROFESSIONALSs All-Purpose Symbolic Instruction
 Code, Visual Pasic, VP. It already exists: The tools for making
 Qt and Gtk+ applications. Then, there are NetBeans and Eclipse
 and so on - everything already there. :-)

Well, programming languages and environments are a matter of personal
choice and taste, and there *are* coders who use VB professionally,
i.e. to make a living. Actually an awful lot of them (*shudder*).

And let's not forget Mono for the runtime arch, which runs on FreeBSD:
  /usr/ports/lang/mono
If VB runs under Wine (?), it could theorically be used to create NET
code which could run via mono, i.e. all under FreeBSD.

Of course, software written with wxWidgets, Qt, et. al. (either with
C++ or indirectly using Perl, Python, ... bindings) would be much more
portable... ;-)

 And for the weekend:
 10 GOTO KNEIPE
 20 INPUT BIER

You forgot the most important step:

30 GOTO 20

-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: basic

2009-05-06 Thread J Sisson
That's a great idea...let's take a wonderful open source project and flood
it with Windows programmers who couldn't find the shell even if they
booted without a GUI.

And while we're at it, let's re-write the shell in .NET...you know...for
performance reasons.

On Wed, May 6, 2009 at 7:32 AM, giorgio novello gio@vodafone.it wrote:

 Do you want obtain new market share?

 Develop e visual-basic like language, or asp vb and  your OS will be a best
 seller



 Regards

 Giorgio Novello

 Vb developer

 Italy

 ___
 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




-- 
Computers are like air conditioners...
They quit working when you open Windows.
___
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: Assign IP address and hostname via kernel parameter

2009-05-06 Thread Bob Bishop

Hi,

On 6 May 2009, at 16:20, Mister Olli wrote:


is there a way to configure IP address and hostname on freebsd systems
via kernel command line parameters? [etc]


When running diskless, the loader sets kernel variables like:

boot.netif.gateway=192.168.198.1
boot.netif.hwaddr=00:15:17:47:14:fc
boot.netif.ip=192.168.198.8
boot.netif.netmask=255.255.255.0

to values obtained from BOOTP or DHCP, and the right things happen. I  
guess you could just set these in loader.conf or at the loader prompt.


--
Bob Bishop
r...@gid.co.uk




___
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: filesystem: 12h to delete 32GB of data

2009-05-06 Thread Benjamin Krueger

Wojciech Puchar wrote:

means you had 6 million files.  df -i would have been more useful in




the output above.

This brings a number of questions up:
* Are you _sure_ softupdates is enabled on that partition?  That's


he showed mount output - he has softdeps on.


* Are these 7200RPM disks or 15,000?  Again, going to make a big
 difference.


on 7200 RPM ordinary SATA disk i deleted 15 million files taking 300GB 
(squid cache) in less than 30 minutes.


for sure it's because of his hardware raid.

i've NEVER seen hardware raid that is actually faster than non-raid 
config, or gmirror/gstripe config.


usually it's far much slower


Sorry, but my experience with that very server using a P400 controller 
with 256MB write cache is very different. My benchmarks showed that 
controller using Raid5 (with only 4 disks) is significantly faster than 
software layouts.


The days when hardware controllers could automatically be considered 
slow are long gone. The hardware does get faster over time. Don't make 
any assumptions without doing benchmarks.

___
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


Source update tag RELENG_7_2 != 7.2-RELEASE ?

2009-05-06 Thread Doug Poland
Hello,

Yesterday I did a source update on an i386 box to 7.2.  My
supfile uses RELENG_7_2

host# more /usr/local/etc/cvsup/sup/supfile
*default base=/usr/local/etc/cvsup
*default delete use-rel-suffix compress
*default host=cvsup8.us.freebsd.org
*default prefix=/usr
*default release=cvs tag=RELENG_7_2
src-all

After canonical steps:

host# csup -L2 /usr/local/etc/cvsup/sup/supfile
host# cd /usr/src
host# make buildworld buildkernel
host# make installkernel
host# make installworld
host# mergemaster -iU
host# shutdown -r now

I get a kernel identified as:

host# uname -r
7.2-RC2

So, I'm pretty sure I'm running 7.2-RELEASE.  But my kernel still says
7.2-RC2.  Did I do something wrong here?


-- 
Regards,
Doug

___
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: Source update tag RELENG_7_2 != 7.2-RELEASE ?

2009-05-06 Thread Eric

Doug Poland wrote:

Hello,

Yesterday I did a source update on an i386 box to 7.2.  My
supfile uses RELENG_7_2


So, I'm pretty sure I'm running 7.2-RELEASE.  But my kernel still says
7.2-RC2.  Did I do something wrong here?




my guess is cvsup8.us.freebsd.org doesnt have the RELEASE code on it 
yet. Does /usr/src/UPDATING mention 7.2-RELEASE or is the last item 
about an ssl fix? if its ssl, pick a new mirror and try again.

___
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: filesystem: 12h to delete 32GB of data

2009-05-06 Thread Gary Gatten
It could just be me, but I swear Hardware RAID has been faster for many
many years, especially with RAID5 arrays - or anything that requires
parity calcs.  Most of my benchmarking was done on SCO OpenServer and
Novell UnixWare and Netware, but hardware RAID controllers were always
faster and of course required far less host CPU resources.  Raid
0/1/10/0+1/whatever arrays, I recall weren't as drastic, but I can't
imagine the controller making as big a difference as the drives in the
array - unless of course the drive for said controller sux!

snip






font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
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: filesystem: 12h to delete 32GB of data

2009-05-06 Thread Wojciech Puchar

config, or gmirror/gstripe config.

usually it's far much slower


Sorry, but my experience with that very server using a P400 controller with 
256MB write cache is very different. My benchmarks showed that controller 
using Raid5 (with only 4 disks) is significantly faster than software 
layouts.


possibly with RAID5, but for sure slower than single drive

The days when hardware controllers could automatically be considered slow are 
long gone.


unfortunately not.
___
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


Autofs howto

2009-05-06 Thread Paul Schmehl

I'm going to take another stab at this.

I'm wondering if I can use autofs on FreeBSD.  Last time I asked the question 
someone said I need amd, which I found rather cryptic.  I later discovered that 
there is a amd-utils in ports and an amd directory in contrib under source.


So, is amd a kernel module?  A separate program I compile?  Should I build the 
ports amd-util instead?  Will that give me autofs functionality?


I've searched the web for howtos, but they all seem to be for LInux, not 
FreeBSD.  It even seems the latest stuff for amd on FSBD is for 6.1.  (I just 
upgraded to 7.2 STABLE today.)


Has anyone ever done this?  Is anyone successfully using autofs on FBSD?

--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
Check the headers before clicking on Reply.

___
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


Advices for a jailed MySQL server

2009-05-06 Thread Martin Turgeon

Hi everyone,

I'm starting to build a new dedicated MySQL server. I will be using 
FreeBSD 7.2-REL. My plan is to jail the latest version of MySQL 5.0 and 
to put the MySQL data outside the jail. My objective is to be able to 
update MySQL without down time. My objective would be to create another 
up to date MySQL jail and when I'm ready to make the switch, just point 
the new jail to the data outside the jail using something like a nullfs 
mount.


Is someone using something like this?

Did someone have any advice about how to update a MySQL server without 
down time?


Did someone have any advice on how to tune a dedicated MySQL server 
running FreeBSD 7.2 (Dual core Xeon, 4G RAM, mirror RAID on a PERC5 
controler 2x146G 15K)?


Thanks everyone for sharing your precious knowledge :)

Martin
___
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: filesystem: 12h to delete 32GB of data

2009-05-06 Thread Gary Gatten
OT now, but in high i/o envs with high concurrency needs, RAID5 is still the 
way to go, esp if 90% of i/o is reads. Of course it depends on file size / type 
as well... Anyway, let's sum it up with a storage subsystem is only as fast as 
its slowest link

- Original Message -
From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl
To: Bill Moran wmo...@potentialtech.com
Cc: Gary Gatten; Benjamin Krueger benja...@seattlefenix.net; 
freebsd-performa...@freebsd.org freebsd-performa...@freebsd.org; Olivier 
Mueller om-lists-...@omx.ch; freebsd-questions@freebsd.org 
freebsd-questions@freebsd.org
Sent: Wed May 06 13:31:53 2009
Subject: Re: filesystem: 12h to delete 32GB of data

 yes, some of them suck royally.

you should rather say some of them doesn't suck.





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
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: filesystem: 12h to delete 32GB of data

2009-05-06 Thread Bill Moran
In response to Gary Gatten ggat...@waddell.com:

 It could just be me, but I swear Hardware RAID has been faster for many
 many years, especially with RAID5 arrays - or anything that requires
 parity calcs.  Most of my benchmarking was done on SCO OpenServer and
 Novell UnixWare and Netware, but hardware RAID controllers were always
 faster and of course required far less host CPU resources.  Raid
 0/1/10/0+1/whatever arrays, I recall weren't as drastic, but I can't
 imagine the controller making as big a difference as the drives in the
 array - unless of course the drive for said controller sux!

Keep in mind that there are a LOT of RAID controllers out there, and
yes, some of them suck royally.  Especially the consumer-grade stuff
intended for people to use on their home systems.  I'd be willing
to bet that software RAID is faster than 90% of the consumer grade
RAID cards, and probably more reliable than most of them as well.

Controllers make a huge difference, even in server class RAID (in
my experience).  There is a significant gap in performance between
the good stuff and the good enough stuff.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: filesystem: 12h to delete 32GB of data

2009-05-06 Thread Gary Gatten
Sorry, drive in last sentence should be driver!

- Original Message -
From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org
To: Benjamin Krueger benja...@seattlefenix.net; Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl
Cc: freebsd-performa...@freebsd.org freebsd-performa...@freebsd.org; Olivier 
Mueller om-lists-...@omx.ch; Bill Moran wmo...@potentialtech.com; 
freebsd-questions@freebsd.org freebsd-questions@freebsd.org
Sent: Wed May 06 13:08:46 2009
Subject: RE: filesystem: 12h to delete 32GB of data

It could just be me, but I swear Hardware RAID has been faster for many
many years, especially with RAID5 arrays - or anything that requires
parity calcs.  Most of my benchmarking was done on SCO OpenServer and
Novell UnixWare and Netware, but hardware RAID controllers were always
faster and of course required far less host CPU resources.  Raid
0/1/10/0+1/whatever arrays, I recall weren't as drastic, but I can't
imagine the controller making as big a difference as the drives in the
array - unless of course the drive for said controller sux!

snip






font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
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: filesystem: 12h to delete 32GB of data

2009-05-06 Thread Wojciech Puchar

It could just be me, but I swear Hardware RAID has been faster for many
many years, especially with RAID5 arrays - or anything that requires


maybe with RAID5, but using RAID5 today (huge disk sizes, little sense to 
save on disk space) instead of RAID1/10 doesn't make much sense, as RAID5 
is slow on writes by design

___
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: filesystem: 12h to delete 32GB of data

2009-05-06 Thread Wojciech Puchar

yes, some of them suck royally.


you should rather say some of them doesn't suck.
___
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: Dump snapshot issue...

2009-05-06 Thread Jerry McAllister
On Wed, May 06, 2009 at 10:01:36AM +0100, Marc Coyles wrote:

  One thing you should try is to remove the dump_snapshot files,
  because
  they are supposed to be unlinked when the dump starts anyway, so
  they
  shouldn't be sticking around.
  
  Also, look for file flags on the directories, or ACLs, etc.
  
  And consider the permissions you're running dump with.
  
 
 Dump is running as root via cron / initiated by hand.
 ACLs not used.
 Have removed all existing dump_snapshot files, and
 have also removed and recreated all .snap directories.
 
 S'now working fine for all mountpoints, except /home...
 

Is /home really a separate file system on your system?
Or is it just a directory in another filesystem?

jerry


 mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error
 dump: Cannot create /home/.snap/dump_snapshot: No such file or directory
 
 It doesn't appear to proceed as normal either... as you can see below,
 it ends the previous dump, starts the /home dump, gets an I/O error,
 then proceeds straight to the /usr dump. The /home dump never gets
 performed. If I remove the -L option, everything goes thru fine, but
 complains about lack of -L flag...
 
   DUMP: DUMP IS DONE 
 mksnap_ffs: Cannot create /home/.snap/dump_snapshot: Input/output error
 dump: Cannot create /home/.snap/dump_snapshot: No such file or directory
 
   DUMP: Date of this level 0 dump: Wed May  6 08:30:31 2009
   DUMP: Date of last level 0 dump: the epoch
   DUMP: Dumping snapshot of /dev/da0s1e (/usr) to standard output
 
 
 Fsck finds no errors on /home... point to note... mksnap_ffs CAN create
 /home/.snap/dump_snapshot as I'm sat looking at the file, however, once
 it's created it it's as tho it can't access it. The file is there, it
 wasn't before I ran the script. It's created it as root:operator, perms
 400. I can open it in pico, add content to it, and save it happily. So
 I'm baffled!
 
 M
 
 
 
 ___
 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: Advices for a jailed MySQL server

2009-05-06 Thread Bill Moran
In response to Martin Turgeon free...@optiksecurite.com:

 Hi everyone,
 
 I'm starting to build a new dedicated MySQL server. I will be using 
 FreeBSD 7.2-REL. My plan is to jail the latest version of MySQL 5.0 and 
 to put the MySQL data outside the jail. My objective is to be able to 
 update MySQL without down time. My objective would be to create another 
 up to date MySQL jail and when I'm ready to make the switch, just point 
 the new jail to the data outside the jail using something like a nullfs 
 mount.
 
 Is someone using something like this?
 
 Did someone have any advice about how to update a MySQL server without 
 down time?
 
 Did someone have any advice on how to tune a dedicated MySQL server 
 running FreeBSD 7.2 (Dual core Xeon, 4G RAM, mirror RAID on a PERC5 
 controler 2x146G 15K)?
 
 Thanks everyone for sharing your precious knowledge :)

I expect that what you're trying to do will work, however it's
horrifically error-prone during the upgrade procedure (what if you
forget to stop the first MySQL before you start the new one!)

If you need to do anything zero-downtime, then you probably want
to run multiple MySQL instances and use database replication to
keep the data in sync.  That way you just switch which DB is
master, then upgrade the slave ... rinse/repeat.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: basic

2009-05-06 Thread Jerry McAllister
On Wed, May 06, 2009 at 06:00:32PM +0200, Polytropon wrote:

 10 GOTO 10
 
 On Wed, 6 May 2009 14:32:47 +0200, giorgio novello gio@vodafone.it 
 wrote:
  Do you want obtain new market share? 
  
  Develop e visual-basic like language, or asp vb and  your OS will be a best
  seller
 
 FreeBSD isn't for beginners, it's for professionals. 


Everyone is a beginner sometime.   So, FreeBSD is for beginners.
Otherwise there would be no FreeBSD --- or you.

jerry


There
 wouldn't be Visual BEGINNERs All-Purpose Symbolic Instruction
 Code, but isual PROFESSIONALSs All-Purpose Symbolic Instruction
 Code, Visual Pasic, VP. It already exists: The tools for making
 Qt and Gtk+ applications. Then, there are NetBeans and Eclipse
 and so on - everything already there. :-)
 
 Furthermore, FreeBSD isn't sold. So it doesn't have to care
 about market share and best seller.
 
 And for the weekend:
 10 GOTO KNEIPE
 20 INPUT BIER
 
 
 -- 
 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
___
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: Autofs howto

2009-05-06 Thread Roland Smith
On Wed, May 06, 2009 at 06:17:29PM +, Paul Schmehl wrote:
 I'm going to take another stab at this.
 
 I'm wondering if I can use autofs on FreeBSD. 

There is a libautofs library and a mount_autofs program in my 7.2 source
tree, but I'm not sure what it is, since it's not installed or built on
my amd64 box.

 Last time I asked the
 question someone said I need amd, which I found rather cryptic.  I
 later discovered that there is a amd-utils in ports and an amd
 directory in contrib under source.
 
 So, is amd a kernel module?  A separate program I compile? 

It is a program that is part of the base system. See it's manual page;
'man amd'

From amd(8): The amd utility is a daemon that automatically mounts file
systems whenever a file or directory within that file system is
accessed.  File systems are automatically unmounted when they appear to
be quiescent.

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)


pgpGMRcDqKLWG.pgp
Description: PGP signature


Re: filesystem: 12h to delete 32GB of data

2009-05-06 Thread Matthew Seaman

Gary Gatten wrote:

OT now, but in high i/o envs with high concurrency needs, RAID5 is
still the way to go, esp if 90% of i/o is reads. Of course it depends
on file size / type as well... Anyway, let's sum it up with a
storage subsystem is only as fast as its slowest link


It's not just the balance of reads over writes.  It's the size and sequential
location of the IO requests.  RAID5 is good for sequential reads -- eg.
streaming a video -- where the system can read whole blocks from all the
drives involved, calculate parity over the whole lot and then push all that
blob of data up to the CPU.

RAID5 is pretty pessimal if your usage pattern is small reads or writes
randomly scattered over your storage area -- eg. typical RDBMS behaviour
-- which works a great deal better on RAID10.

I'd also contend that the essential difference between a really good fast
hardware raid controller and something disappointingly mundane is a decent
amount of non-volatile cache memory.  For most H/W raid that equates to
using a battery backup unit.  I've been thinking though that a few GB of
fast solid-state hard drive configured as a gjournal for a RAID10 (ie gstripe
+gmirror) might achieve the same effect for rather less outlay...  It
would probably not be too shabby with RAID5 even, but of course you'ld
lose the benefit of offloading parity calculations onto the RAID controller's
CPU. Still, modern multi-core CPUs are probably fast enough nowadays to
make that viable for many purposes.  


Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: basic

2009-05-06 Thread Fred C


That project already exist it is called linux...

-fred-

On May 6, 2009, at 9:08 AM, J Sisson wrote:

That's a great idea...let's take a wonderful open source project and  
flood

it with Windows programmers who couldn't find the shell even if they
booted without a GUI.

And while we're at it, let's re-write the shell in .NET...you  
know...for

performance reasons.

On Wed, May 6, 2009 at 7:32 AM, giorgio novello  
gio@vodafone.it wrote:



Do you want obtain new market share?

Develop e visual-basic like language, or asp vb and  your OS will  
be a best

seller



Regards

Giorgio Novello

Vb developer

Italy

___
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





--
Computers are like air conditioners...
They quit working when you open Windows.
___
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: ReturnCode Checking for FTP

2009-05-06 Thread Eddie Chen





Hi Gary and Lowell,

  I just download and complied the ncftp and  run some ftp,  it looks nice.
  Going to check it out more later on... I like the diagnostics exit return
value on the ncftpput/get.

  Anyway, I have aready modify the tnftp(lukemftp) and started testing some
of the batch jobs.

   Thanks




Visit our website at http://www.nyse.com



Note:  The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure.  If the 
reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the 
sender immediately by replying to the message, and please delete
it from your system. Thank you.  NYSE Euronext, Inc.

___
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: basic

2009-05-06 Thread Gary Gatten
LMAO!  Touché!  Seriously though, can't we all just get along? :)



-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Fred C
Sent: Wednesday, May 06, 2009 1:52 PM
To: J Sisson
Cc: freebsd-questions@freebsd.org
Subject: Re: basic


That project already exist it is called linux...

-fred-

On May 6, 2009, at 9:08 AM, J Sisson wrote:

 That's a great idea...let's take a wonderful open source project and  
 flood
 it with Windows programmers who couldn't find the shell even if they
 booted without a GUI.

 And while we're at it, let's re-write the shell in .NET...you  
 know...for
 performance reasons.

 On Wed, May 6, 2009 at 7:32 AM, giorgio novello  
 gio@vodafone.it wrote:

 Do you want obtain new market share?

 Develop e visual-basic like language, or asp vb and  your OS will  
 be a best
 seller



 Regards

 Giorgio Novello

 Vb developer

 Italy

 ___
 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




 -- 
 Computers are like air conditioners...
 They quit working when you open Windows.
 ___
 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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
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


Myths about Power Over Ethernet

2009-05-06 Thread Midspan Manager
Myths about Power Over Ethernet
 May 5, 2008
Power-over-Ethernet (PoE) technology integrates power and data across standard 
Cat5/5e/6 network cabling and provides more flexibility in today’s workplace. 
PoE enables power to be supplied to network devices, such as IP phones, network 
cameras, and wireless access points through a single, most often existing, 
network cable. When combined with an uninterruptable power supply (UPS) a PoE 
network delivers continuous operation and minimizes business downtime by 
eliminating most power interruptions. With the ability to install endpoints in 
any location PoE technology provides a scalable and flexible networking 
infrastructure geared for growth and efficiency.

 
 PoE Switches can provide all the power I need or will need.
Today most switches are merely PoE-enabled.  This means the majority rely on 
power management to share available power across the switch ports. The switches 
are designed with a smaller power supply that is typically capable of powering 
the switch itself and providing the required 15.4 watts of power over a limited 
number of ports. 
For example:  A 24-port PoE Switch with power management typically has a 
195-watt power supply. After the 40 watts needed to power the switch, you have 
approximately 155 watts remaining. If 12 of the 24 ports are used to connect 
end devices using 11.5 watts each, you would only have 17 watts remaining to 
provide power on the last 12 ports.  The math doesn’t match the ports: 195W – 
40W (switch) – 138 (12 devices @ 11.5W/ea) = 17W left for power on 12 ports 
Myth Busted: A PoE Switch is often not the best and most cost effective 
solution.
 
  
 A midspan and a PoE switch are the same.
A PoE Midspan is not a switch.  A Midspan is an additional PoE power source 
that can be used to offer full power to all endpoint devices.  PoE Midspans 
(Power Hub or Power Injector) pass data from a switch and ‘inject’ safe power 
acting as a patch panel of sorts.  Midspans are commonly used with either a 
non-PoE switch, an existing PoE switch, or a new PoE switch in a network. In 
addition to offering full power across all available ports, midspans costs 
substantially less per port and overall than a new PoE enabled switch.
Myth Busted: Midspans do not switch – they make use of existing best-in-class 
switches.  They inject safe power across all ports and cost less than PoE 
switches. . 
  
 Only a switch that has PoE built in should be used to power devices like IP 
Phones, Access Points, and IP Security Cameras. 
Switches were designed to, well, switch.  PoE Switches are designed with power 
management and have to distribute different power as required to ports but 
there is often not enough power for all devices plus the power required to 
complete the primary task - switching.  Networks that have multiple devices 
like IP phones, IP cameras, wireless access points quickly go beyond the 
limited capacity of managed power PoE switches.  As more PoE devices continue 
to grow in capabilities and market share this managed power limitation will 
become more and more evident.  Midspans, in contrast to switches, were designed 
to provide full power on every port and deliver safe and reliable power based 
on the industry standards (IEEE802.3af/at). 
Myth Busted: Rather than relying on power management in a switch use a midspan 
that can deliver full power (15.4W) to every port for all PoE-enabled devices 
now and in the future.   
  
 Ethernet devices not PoE-enabled (non 802.3af/at compliant) cannot be powered 
using PoE technology. 
Many devices do not directly accept Power-over-Ethernet but can still use PoE 
technology. If the device uses less than 12.5 watts (802.3af) or less than 50 
watts (802.3at+) and connects to an IP Ethernet network you can use a PoE 
splitter.  PoE splitters enable you to accept PoE power from any IEEE 
802.3af/at compliant switch or midspan then separates the data and power on to 
two seprate cables.  The data is connected to the end device through a standard 
RJ45 plug while the power is connected using a standard 5.5 x 2.1 x 12mm 
Adapter Plug.  Splitters can also convert the input voltage to the required 
voltage for a non-PoE device. Splitters are traditionally used with older 
network products which only accept power through their (DC) jack and data 
through their RJ-45 jack.
Myth Busted: PoE splitters can be used in conjunction with PoE midspans and 
switches to provide both the data connectivity and power required by most 
endpoint devices. 
  
 I need/will need additional PoE switch ports to power my IP cameras and 
high-power pan, tilt, and zoom (PTZ) cameras. 
Today, many devices have evolved into more advanced solutions with higher power 
requirements. The traditional approach was to endure a “forklift upgrade”. This 
meant buying new PoE switches at considerable cost and physically swapping out 
the existing switches to meet higher power requirements or add more powered 
ports. 

Re: basic

2009-05-06 Thread Fred C


On May 6, 2009, at 12:48 PM, Gary Gatten wrote:


LMAO!  Touché!  Seriously though, can't we all just get along? :)



I have no problem with linux I am using it every day at work it is  
installed on more than 2000 servers. But with all the incoherences in  
the tools and the os, I feel sometime like I am working on Windows.


-fred-





-Original Message-
From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org 
] On Behalf Of Fred C

Sent: Wednesday, May 06, 2009 1:52 PM
To: J Sisson
Cc: freebsd-questions@freebsd.org
Subject: Re: basic


That project already exist it is called linux...

-fred-

On May 6, 2009, at 9:08 AM, J Sisson wrote:


That's a great idea...let's take a wonderful open source project and
flood
it with Windows programmers who couldn't find the shell even if  
they

booted without a GUI.

And while we're at it, let's re-write the shell in .NET...you
know...for
performance reasons.

On Wed, May 6, 2009 at 7:32 AM, giorgio novello
gio@vodafone.it wrote:


Do you want obtain new market share?

Develop e visual-basic like language, or asp vb and  your OS will
be a best
seller



Regards

Giorgio Novello

Vb developer

Italy

___
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





--
Computers are like air conditioners...
They quit working when you open Windows.
___
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 







font size=1
div style='border:none;border-bottom:double windowtext  
2.25pt;padding:0in 0in 1.0pt 0in'

/div
This email is intended to be reviewed by only the intended recipient
and may contain information that is privileged and/or confidential.
If you are not the intended recipient, you are hereby notified that
any review, use, dissemination, disclosure or copying of this email
and its attachments, if any, is strictly prohibited.  If you have
received this email in error, please immediately notify the sender by
return email and delete this email from your system.
/font

___
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: filesystem: 12h to delete 32GB of data

2009-05-06 Thread Freddie Cash
On Wed, May 6, 2009 at 12:21 PM, Matthew Seaman
m.sea...@infracaninophile.co.uk wrote:
 Gary Gatten wrote:
 OT now, but in high i/o envs with high concurrency needs, RAID5 is
 still the way to go, esp if 90% of i/o is reads. Of course it depends
 on file size / type as well... Anyway, let's sum it up with a
 storage subsystem is only as fast as its slowest link

 It's not just the balance of reads over writes.  It's the size and
 sequential location of the IO requests.  RAID5 is good for sequential reads 
 -- eg.
 streaming a video -- where the system can read whole blocks from all the
 drives involved, calculate parity over the whole lot and then push all that
 blob of data up to the CPU.

 RAID5 is pretty pessimal if your usage pattern is small reads or writes
 randomly scattered over your storage area -- eg. typical RDBMS behaviour
 -- which works a great deal better on RAID10.

 I'd also contend that the essential difference between a really good fast
 hardware raid controller and something disappointingly mundane is a decent
 amount of non-volatile cache memory.  For most H/W raid that equates to
 using a battery backup unit.  I've been thinking though that a few GB of
 fast solid-state hard drive configured as a gjournal for a RAID10 (ie
 gstripe +gmirror) might achieve the same effect for rather less outlay...  It
 would probably not be too shabby with RAID5 even, but of course you'ld
 lose the benefit of offloading parity calculations onto the RAID
 controller's CPU. Still, modern multi-core CPUs are probably fast enough 
 nowadays to
 make that viable for many purposes.

Depending on the number of drives you are using, ZFS would also be
worth looking at.  The raidz implementation works quite nicely, and
(in theory) doesn't suffer from the major issues that RAID5/6 does.
It also does implicit striping across all vdevs, so you can make some
very fancy RAID layouts (each vdev can be mirrored, raidz1, raidz2, or
just a bunch of disks).

I don't know if the version of ZFS in FreeBSD 7.x supports hybrid
pools, but the version in FreeBSD 8.0 should, which lets you add SSDs
to the pool to be used automatically as cache in-between RAM and
harddrives.

-- 
Freddie Cash
fjwc...@gmail.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


Safe to 'make installkernel' in multi-user mode?

2009-05-06 Thread Modulok
Just making sure I'm not brewing a disaster...

Is it 'safe' to install a kernel (i.e. 'make installkernel') on a
system while in multi-user mode?

Thanks!
-Modulok-
___
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: NIC

2009-05-06 Thread Jos Chrispijn

Dear all,

Thanks for your advise and suggestions; I have bought the Intel Pro/1000GT.

regards,
Jos Chrispijn
___
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


php4 + php5

2009-05-06 Thread Mark
Using a single Apache 1.3.x install, is there a way to install both

mod_php4 + mod_php5 together? I can't just upgrade to php5: not every

webboard and such accepts php5 yet. On some dirs (or per vhost) I like

the Apache server to use php5, though.

 

Thanks,

 

- Mark

___
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: basic

2009-05-06 Thread Charlie Kester

On Wed 06 May 2009 at 13:15:34 PDT Fred C wrote:


On May 6, 2009, at 12:48 PM, Gary Gatten wrote:


LMAO!  Touché!  Seriously though, can't we all just get along? :)



I have no problem with linux I am using it every day at work it is  
installed on more than 2000 servers. But with all the incoherences in

the tools and the os, I feel sometime like I am working on Windows.


I suspect the OP was trolling.  The giveaway is his suggestion that
following his advice would make FreeBSD a best seller.  This reflects
a complete lack of awareness of what FreeBSD is all about.

Setting aside the fact that FreeBSD is not a commercial product and thus
has nothing to sell, he also presumes that our primary goal is to
increase the size of our userbase and that we are willing to make
whatever accommodations are necessary to achieve that goal.

But unless I'm mistaken, that isn't FreeBSD's goal.

FreeBSD's goal is to provide a freely-available implementation of BSD
Unix for the most common hardware.   New users who are looking for a BSD
Unix are welcome, but they are expected to adapt to FreeBSD's way of
doing things and not vice versa.  The current userbase is large enough
to suggest that many people have no problem with those terms.

As for the suggestion that what FreeBSD needs is VB, there have already
been various ports of Basic over the years.  None of them seem to have
had much success.  BSD users seem to be content with traditional shell
scripting, perl, or newer scripting languages like python -- all of
which better reflect the Unix philosophy than VB does.  



___
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: Safe to 'make installkernel' in multi-user mode?

2009-05-06 Thread Manolis Kiagias
Modulok wrote:
 Just making sure I'm not brewing a disaster...

 Is it 'safe' to install a kernel (i.e. 'make installkernel') on a
 system while in multi-user mode?

 Thanks!
 -Modulok-
   
Yes.  But you should schedule a reboot shortly afterwards.
___
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


What make is in 7.1?

2009-05-06 Thread Lars Eighner


When I do man make I get a man page and it includes references to
the pmake tutorial which seems to be basis of an HTMLize pmake
tutorial in one of the books.

But clearly the installed make is not the pmake described in the tutorial. 
The tutorial frequently suggest using Pmake -h for more details about 
particular points.  But in 7.1 make -h results in an illegal option message.

There is no pmake or Pmake.  There is a pmake port but it won't build in
7.1.

So it seems I have a lot of documentation for pmake, which clearly I don't
have and can't get.  Where is the documentation for the make I do have?

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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


forcing traffic into leaving from not first ip

2009-05-06 Thread alexus
i have many IPs assigned to my interface

is there a way to force traffic to leave from specific IP vs another
(default) first one?

-- 
http://alexus.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: forcing traffic into leaving from not first ip

2009-05-06 Thread Gary Gatten
Change your local routing table.  Also maybe NAT, IP Tables, PF, etc.
Policy Based Routing is the general term, but unless you want to do
tricky stuff, basic routing manipulation should work.

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of alexus
Sent: Wednesday, May 06, 2009 4:40 PM
To: freebsd-questions@freebsd.org
Subject: forcing traffic into leaving from not first ip

i have many IPs assigned to my interface

is there a way to force traffic to leave from specific IP vs another
(default) first one?

-- 
http://alexus.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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
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: Safe to 'make installkernel' in multi-user mode?

2009-05-06 Thread Eric

Modulok wrote:

Just making sure I'm not brewing a disaster...

Is it 'safe' to install a kernel (i.e. 'make installkernel') on a
system while in multi-user mode?

Thanks!
-Modulok-
___
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



Thats the way i do it and havent had an issue yet. I always do 
installworld from single user mode tho.

___
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: forcing traffic into leaving from not first ip

2009-05-06 Thread alexus
On Wed, May 6, 2009 at 5:50 PM, Gary Gatten ggat...@waddell.com wrote:
 Change your local routing table.  Also maybe NAT, IP Tables, PF, etc.
 Policy Based Routing is the general term, but unless you want to do
 tricky stuff, basic routing manipulation should work.

 -Original Message-
 From: owner-freebsd-questi...@freebsd.org
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of alexus
 Sent: Wednesday, May 06, 2009 4:40 PM
 To: freebsd-questions@freebsd.org
 Subject: forcing traffic into leaving from not first ip

 i have many IPs assigned to my interface

 is there a way to force traffic to leave from specific IP vs another
 (default) first one?

 --
 http://alexus.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





 font size=1
 div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 
 0in 1.0pt 0in'
 /div
 This email is intended to be reviewed by only the intended recipient
  and may contain information that is privileged and/or confidential.
  If you are not the intended recipient, you are hereby notified that
  any review, use, dissemination, disclosure or copying of this email
  and its attachments, if any, is strictly prohibited.  If you have
  received this email in error, please immediately notify the sender by
  return email and delete this email from your system.
 /font



nothin tricky, i basically have 2 jails running on some ips but i want
traffic to leave from other ips that those jails assigned too

-- 
http://alexus.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: basic

2009-05-06 Thread Jerry McAllister
On Wed, May 06, 2009 at 01:59:41PM -0700, Charlie Kester wrote:

 On Wed 06 May 2009 at 13:15:34 PDT Fred C wrote:
 
 On May 6, 2009, at 12:48 PM, Gary Gatten wrote:
 
 LMAO!  Touché!  Seriously though, can't we all just get along? :)
 
 
 I have no problem with linux I am using it every day at work it is  
 installed on more than 2000 servers. But with all the incoherences in
 the tools and the os, I feel sometime like I am working on Windows.
 
 I suspect the OP was trolling.  The giveaway is his suggestion that
 following his advice would make FreeBSD a best seller.  This reflects
 a complete lack of awareness of what FreeBSD is all about.
 
 Setting aside the fact that FreeBSD is not a commercial product and thus
 has nothing to sell, he also presumes that our primary goal is to
 increase the size of our userbase and that we are willing to make
 whatever accommodations are necessary to achieve that goal.
 
 But unless I'm mistaken, that isn't FreeBSD's goal.
 
 FreeBSD's goal is to provide a freely-available implementation of BSD
 Unix for the most common hardware.   New users who are looking for a BSD
 Unix are welcome, but they are expected to adapt to FreeBSD's way of
 doing things and not vice versa.  The current userbase is large enough
 to suggest that many people have no problem with those terms.
 
 As for the suggestion that what FreeBSD needs is VB, there have already
 been various ports of Basic over the years.  None of them seem to have
 had much success.  BSD users seem to be content with traditional shell
 scripting, perl, or newer scripting languages like python -- all of
 which better reflect the Unix philosophy than VB does.  

The only thing I miss about basic was the ease of playing the speaker
on a pc.  I wrote a number of odd-scaled and timed loops in Basic many 
years ago - circa 1980, pre Visual Basic actually, as tests of the effects 
of tone intervals and tone spacing and wouldn't mind resurecting them and 
doing some more experimenting.   

I know there are all kinds of more sophisticated things available, but the 
simplicity of it then just suited what I was trying to do.  It would be 
easy enough to rewrite the loops in something like Perl, but is it as easy 
to make the tones and control the time intervals?   I don't remember seeing 
that other places.  

Otherwise, the only other reason for Basic nowdays, as far as I can see, 
is for nostalgia -- anyone remember PP coding on CDC 6000 and 170 series 
mainframes?  Now that's nostalgia.

jerry


 
 ___
 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: basic

2009-05-06 Thread Gary Gatten
You're sick!  If it's not some killer RAD tool with OO everything and a pretty 
GUI to type in, who would write code in such a thing?

Yes - I'm being sarcastic!

Can we kill this thread now?  Pretty soon it will be like the PC-BSD thread and 
the I must have a pretty GUI installer thread!

-Original Message-
From: owner-freebsd-questi...@freebsd.org 
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Jerry McAllister
Sent: Wednesday, May 06, 2009 5:23 PM
To: freebsd-questions@freebsd.org
Subject: Re: basic

On Wed, May 06, 2009 at 01:59:41PM -0700, Charlie Kester wrote:

 On Wed 06 May 2009 at 13:15:34 PDT Fred C wrote:
 
 On May 6, 2009, at 12:48 PM, Gary Gatten wrote:
 
 LMAO!  Touché!  Seriously though, can't we all just get along? :)
 
 
 I have no problem with linux I am using it every day at work it is  
 installed on more than 2000 servers. But with all the incoherences in
 the tools and the os, I feel sometime like I am working on Windows.
 
 I suspect the OP was trolling.  The giveaway is his suggestion that
 following his advice would make FreeBSD a best seller.  This reflects
 a complete lack of awareness of what FreeBSD is all about.
 
 Setting aside the fact that FreeBSD is not a commercial product and thus
 has nothing to sell, he also presumes that our primary goal is to
 increase the size of our userbase and that we are willing to make
 whatever accommodations are necessary to achieve that goal.
 
 But unless I'm mistaken, that isn't FreeBSD's goal.
 
 FreeBSD's goal is to provide a freely-available implementation of BSD
 Unix for the most common hardware.   New users who are looking for a BSD
 Unix are welcome, but they are expected to adapt to FreeBSD's way of
 doing things and not vice versa.  The current userbase is large enough
 to suggest that many people have no problem with those terms.
 
 As for the suggestion that what FreeBSD needs is VB, there have already
 been various ports of Basic over the years.  None of them seem to have
 had much success.  BSD users seem to be content with traditional shell
 scripting, perl, or newer scripting languages like python -- all of
 which better reflect the Unix philosophy than VB does.  

The only thing I miss about basic was the ease of playing the speaker
on a pc.  I wrote a number of odd-scaled and timed loops in Basic many 
years ago - circa 1980, pre Visual Basic actually, as tests of the effects 
of tone intervals and tone spacing and wouldn't mind resurecting them and 
doing some more experimenting.   

I know there are all kinds of more sophisticated things available, but the 
simplicity of it then just suited what I was trying to do.  It would be 
easy enough to rewrite the loops in something like Perl, but is it as easy 
to make the tones and control the time intervals?   I don't remember seeing 
that other places.  

Otherwise, the only other reason for Basic nowdays, as far as I can see, 
is for nostalgia -- anyone remember PP coding on CDC 6000 and 170 series 
mainframes?  Now that's nostalgia.

jerry


 
 ___
 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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
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


Maintaining a FreeBSD system - Workcycle

2009-05-06 Thread Kalle Møller
Hi

I'm looking for a generel guide / howto for maintaining a FreeBSD
system - not all the ports, just the base system. One that describe
how often you should update your port-tree, which basic ports like
audit you should have. Its a server I have that runs different
services, so I'm also looking for cronjobs that I could make the
system mail to me incase of something.

In very few words maintain automatic .

Hope you have some guides out there

-- 

Med Venlig Hilsen

Kalle R. Møller
___
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: Maintaining a FreeBSD system - Workcycle

2009-05-06 Thread Gary Gatten
Freebsd.org - docs; several docs there

- Original Message -
From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org
To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
Sent: Wed May 06 19:43:07 2009
Subject: Maintaining a FreeBSD system - Workcycle

Hi

I'm looking for a generel guide / howto for maintaining a FreeBSD
system - not all the ports, just the base system. One that describe
how often you should update your port-tree, which basic ports like
audit you should have. Its a server I have that runs different
services, so I'm also looking for cronjobs that I could make the
system mail to me incase of something.

In very few words maintain automatic .

Hope you have some guides out there

-- 

Med Venlig Hilsen

Kalle R. Møller
___
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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
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

unable to boot with Nvidia AGP graphics card

2009-05-06 Thread Scott Parrish

Hi all,
Recently my PCI graphics card failed on my Dell Dimension 4100.  I replaced it 
with a known good card I had lying around:  an Nvidia GeForce 3 TI200 with an 
AGP interface.  My FreeBSD installation will not boot with this graphics card.  
The boot loader hangs at the twirling baton as follows:
/boot/kernel/acpi.ko text=0x43698 data=0x23c0+0x10f0
syms=[0x4+0x7ba0+0x4+0xa828]
\

I'm running 7.1-RELEASE generic kernel.
Anyone ever see anything like this before?  Any ideas on how I can debug?  Is 
there anything I can do with the loader prompt to see what is happening when 
this occurs?
The keyboard still seems responsive when this happens (the caps-lock, num-lock, 
etc. still work).  It is almost as if the boot loader is unsure how to send 
output to the AGP bus.  I have tweaked every possible setting in the very 
limited BIOS but nothing helps.
BTW, I know that my hardware is good because this is a dual boot system and I 
am able to boot into Windows just fine.  I am also able to run Linux from a 
live cd.  However, I also tried a FreeBSD install disk and it hangs at the same 
place.
Thanks in advance for any help you can offer!
-William


_
Hotmail® goes with you. 
http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009___
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


Java without CUPS

2009-05-06 Thread Chris Hill

Hello list,

I know that, since my printer speaks Postscript, I don't need CUPS. But 
some of the ports I'm installing want to install CUPS as a dependency. 
The first one I happened across was java/jdk16, but I'd be surprised if 
there weren't more.


Could it be as simple as
  # make -DWITHOUT_CUPS install
? I see no such possibility in either the config options or the Makefile 
for jdk16, and google was no help.


It's not like the disk space costs anything nowadays, but I chafe at 
installing unneccesary bloat on my system. If it can't be done I'll 
deal, but I'd like to stay CUPS-free if possible.


Thanks very much for any insight.

$ uname -mv
FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009 
r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
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: filesystem: 12h to delete 32GB of data

2009-05-06 Thread Paul Patterson
Sorry.  This statement is incorrect.

If you aren't using ZFS, or even a GEOM volume with mirror/RAID5/softup/etc, 
you cannot make the statement that hardware RAID is faster.  I learned that 3 
years ago.

It takes about 30 minutes to mirror 1.5TB on ZFS.  Try that on hardware RAID.

I did the same with 80 GB SATA drives a couple of years ago.  Gmirror killed 
hardware mirror by 50%

When your processor on your hardware RAID card is junk and you have a kickass 
processor and good chunk of memory on your main system and decent controller 
that isn't getting maxed, the hardware RAID is always faster paradigm walked 
out the door a few years ago.

This does not go for EMC, IBM, Hitachi high-end storage arrays where you write 
to TBs of RAM Cache.

P.





From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl
To: Gary Gatten ggat...@waddell.com
Cc: freebsd-questions@freebsd.org; Benjamin Krueger 
benja...@seattlefenix.net; Olivier Mueller om-lists-...@omx.ch; 
freebsd-performa...@freebsd.org; Bill Moran wmo...@potentialtech.com
Sent: Wednesday, May 6, 2009 2:31:16 PM
Subject: RE: filesystem: 12h to delete 32GB of data

 It could just be me, but I swear Hardware RAID has been faster for many
 many years, especially with RAID5 arrays - or anything that requires

maybe with RAID5, but using RAID5 today (huge disk sizes, little sense to save 
on disk space) instead of RAID1/10 doesn't make much sense, as RAID5 is slow on 
writes by design
___
freebsd-performa...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to freebsd-performance-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: Java without CUPS

2009-05-06 Thread Polytropon
On Wed, 6 May 2009 22:34:52 -0400 (EDT), Chris Hill ch...@monochrome.org 
wrote:
 I know that, since my printer speaks Postscript, I don't need CUPS. But 
 some of the ports I'm installing want to install CUPS as a dependency. 
 The first one I happened across was java/jdk16, but I'd be surprised if 
 there weren't more.

Just as an information: Gimp (Gutenprint) installs CUPS, allthough
I already have apsfilter (HP Laserjet 4000 PCL). When printing,
Gimp still tries to connect to server (lpstat).



 Could it be as simple as
# make -DWITHOUT_CUPS install
 ? I see no such possibility in either the config options or the Makefile 
 for jdk16, and google was no help.

I don't think it is possible. The Makefile lists CUPS as a build
dependency (UILD_DEPENDS):

% grep -n cups /usr/ports/java/jdk16Makefile
24: ${LOCALBASE}/include/cups/cups.h:${PORTSDIR}/print/cups-base

But I think it's possible to delete CUPS from the system after
JDK is compiled successfully: CUPS isn't listed in RUN_DEPENDS
so it doesn't seem to be required for running JDK / Java.



 It's not like the disk space costs anything nowadays, but I chafe at 
 installing unneccesary bloat on my system. If it can't be done I'll 
 deal, but I'd like to stay CUPS-free if possible.

Same here, too. :-) Philosophy behind the idea: I don't want to
install software that I don't need / don't run.




-- 
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


How to get the user time of another running process on FreeBSD?

2009-05-06 Thread Pierre-Luc Drouin

Hi,

I would like to know how I can get the user time of another running 
process on FreeBSD? Ideally I would like to find a solution that would 
work as well on other *nix systems. So far the solutions I have found 
are specific to a given OS (format of proc filesystem, 
lock_getcpuclockid)...


Thank you!
Pierre-Luc Drouin
___
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: Maintaining a FreeBSD system - Workcycle

2009-05-06 Thread Tim Judd
On Wed, May 6, 2009 at 6:43 PM, Kalle Møller kalle.mol...@gmail.com wrote:

 Hi

 I'm looking for a generel guide / howto for maintaining a FreeBSD
 system - not all the ports, just the base system. One that describe
 how often you should update your port-tree, which basic ports like
 audit you should have. Its a server I have that runs different
 services, so I'm also looking for cronjobs that I could make the
 system mail to me incase of something.

 In very few words maintain automatic .

 Hope you have some guides out there

 --

 Med Venlig Hilsen

 Kalle R. Møller



It will vary per person.  It will vary by said person's workload.  But I
tend to use a couple of basic principles.

1) NEVER let your system lapse to End of Life.
a) it's easier now that freebsd-update exists and is part of base.
b) reading the impact section in the security announcements that are
mailed to you, and if they affect you, perform the update immediately... not
ASAP
2) Install portaudit and watch the periodic mailings that are sent to you.
They list vulnerabilities in ports that really should be addressed.  Knowing
that for each notification portaudit sends to you, it WILL affect some
service.  Schedule the update ASAP, but I never let it go past a week.


The outline above is my own view, I don't expect anyone to share them, I
don't mind if they inherit them.

So you want to know when to update the ports tree?  when a vulnerability
exists and an updated/patched version of the port is then in the ports
tree.  portaudit gets fresh databsae updates, and rescans your ports at each
run of the periodic script.  Portaudit itself doesn't care about what
version the ports tree has, it cares about the version you have installed on
your box.



I dislike automation -- when something is automated and it fails, how
disastrous can it be?  What is missing, due to a failed automation?  Last
night my backup script at work didn't backup anything.  An unused tape was
reported as available, yet the backup didn't run.  I had no backups to work
off of.  This script worked fine for the past 3 months, why fail now?

Because of this, even if it IS more work, I tend to do things by hand.  Less
risk, IMHO.

Good luck, and ask questions if you need to.
___
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: Autofs howto

2009-05-06 Thread Michel Talon
Paul Schmehl wrote:

 I'm wondering if I can use autofs on FreeBSD.  Last time I asked the
 question someone said I need amd, which I found rather cryptic. 

Indeed it is cryptic, let me gave an example which works:

niobe% cat /etc/amd.conf
[global]
auto_dir= /.amd
log_file= /var/log/amd.log
log_options = error,fatal,user
map_type= file
search_path = /etc
[/Cd]
map_name= amd.cdrom
# For nfs mounts
[/Net]
map_name= amd.net



niobe% cat /etc/amd.cdrom
cdrom   type:=cdfs;opts:=ro,nosuid;dev:=/dev/acd0;fs:=${autodir}/cdrom


niobe% cat /etc/amd.net
/defaults   type:=host;fs:=${autodir}/${rhost};rhost:=${key}
*   opts:=rw,grpid,resvport,nosuid,nodev,soft

Now some comments. I use amd without options so it just uses
/etc/amd.conf to configure itself. When you try to access /Cd
it uses the configuration in /etc/amd.cdrom, and if you try to access
/Net it uses the configuration in /etc/amd.net.

Finally if you try to access /Net/ada for example, the key is ada, and
so is the remote host. It is queried for NFS mounts and everything is
mounted. After 
niobe% cd /Net/ada
i have:
niobe% df
...
ada:/ada36196652  26972064  735623279% /.amd/ada/ada
ada:/ada1  287391356 246682696 2610999690% /.amd/ada/ada1
ada:/ada2  288362876 180649856 9306495666% /.amd/ada/ada2
ada:/ada3   99188500  80794628 1327396086% /.amd/ada/ada3
ada:/adm36204684   1682772 32653156 5% /.amd/ada/adm

Note that  autodir is /.amd and fs is ${autodir}/${rhost} as you can
see. 

Getting out of /Net/ada those mounts are unmounted.

I hope this helps explaining some of the mysteries of amd.



-- 

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: unable to boot with Nvidia AGP graphics card

2009-05-06 Thread Mel Flynn
On Thursday 07 May 2009 04:35:30 Scott Parrish wrote:
 Hi all,
 Recently my PCI graphics card failed on my Dell Dimension 4100.  I replaced
 it with a known good card I had lying around:  an Nvidia GeForce 3 TI200
 with an AGP interface.  My FreeBSD installation will not boot with this
 graphics card.  The boot loader hangs at the twirling baton as follows:
 /boot/kernel/acpi.ko text=0x43698 data=0x23c0+0x10f0
 syms=[0x4+0x7ba0+0x4+0xa828]
 \

 I'm running 7.1-RELEASE generic kernel.
 Anyone ever see anything like this before?  Any ideas on how I can debug? 

Most common cause is a faulty hints file, since you can't install from CD 
either, the GENERIC hints aren't working for this system. You could try 7.2-
RELEASE cd and file a PR otherwise. The dmesg from linux would be useful 
information in this PR.

 Is there anything I can do with the loader prompt to see what is happening
 when this occurs? The keyboard still seems responsive when this happens
 (the caps-lock, num-lock, etc. still work).  It is almost as if the boot
 loader is unsure how to send output to the AGP bus.

You can disable the AGP at loader prompt, similar to how one would do that in 
the hints file:
hint.agp.0.disabled=1
-- 
Mel
___
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


Developing and maintaining a rapidly deployable image of an installed system

2009-05-06 Thread Warren Guy
Hi everyone,

I'm just wondering if there is an established best practice for
developing and maintaining a rapidly deployable image of an installed
FreeBSD system?

If anyone can point me towards documentation or any other resources that
might be of use I would greatly appreciate it.

Thanks,

Warren



signature.asc
Description: OpenPGP digital signature


  1   2   >