Re: BBC debate "Battle of the operating systems"

2007-01-25 Thread Juha Saarinen

On 1/26/07, Grzegorz Pluta <[EMAIL PROTECTED]> wrote:

People from the media doesnt know that FreeBSD Unix exists.


Rubbish. I have known about the existence of FreeBSD (and other BSD
variants) for a great many years now.

--
Juha
http://www.geekzone.co.nz/juha
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [OT] What does this pipe do?

2007-01-25 Thread Dak Ghatikachalam

On 1/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Thank you everyone for the responses. It has been quite educating :).

One other question though.. is ksh like the swiss army knife of all
shells? Seems kind of odd that it supports both bourne shell constructs and
(t)csh constructs.



Yes Ksh is very flexible and has been around for long time,   You can really
code in Ksh as we speak in English language. I learnt  right off the scratch
completely from man ksh .

It provides good debug capability with set -x option, it prints the commands
as it does and y
o u  can view the stdout, stdin and stder

regards
Dak




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


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


Re: [OT] Does "~" always point to $HOME?

2007-01-25 Thread Dak Ghatikachalam

On 1/26/07, Bill Campbell <[EMAIL PROTECTED]> wrote:


On Fri, Jan 26, 2007, Dak Ghatikachalam wrote:
>I write shells script extensively , I have noticed
>
>~  -> gets a subsitution for $HOME
>~userid   - >gets you the $HOME for that user
>
>meaning if  you have  have logged in as root and  if you want to run some
>script on oracle home even though you logged in as root  you can simplly
>
>~oracle/runme.sh  -- > will run the runme.sh in Oracle home directory

While that's true for most shells, bash, csh, tcsh, etc., it
doesn't work on true Bourne /bin/sh shells (e.g. SCO OpenServer
5.0.6a and earlier and probably others with Bell Labs ancestors).

It's a Good Idea(tm) when writing scripts that may be used on
many systems to program defensively, for the lowest common
denominator to avoid pitfalls like this.

I kinda disagree with that because if you want to exploit capabilities of

any given shell we should really stick to those shell
For example , I doubt  that we can expect  Bourne Shell code  to run in CSH
given as such, if it is small piece of code, we just need to stick with  its
common capabilities . But then when you are writing fully functional script
such as complete RMAN backup or restore  and if you want to automate ,  you
will need to exploit  all capabilities of that give shell for the script to
be fully functional.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [OT] Does "~" always point to $HOME?

2007-01-25 Thread Bill Campbell
On Fri, Jan 26, 2007, Dak Ghatikachalam wrote:
>I write shells script extensively , I have noticed
>
>~  -> gets a subsitution for $HOME
>~userid   - >gets you the $HOME for that user
>
>meaning if  you have  have logged in as root and  if you want to run some
>script on oracle home even though you logged in as root  you can simplly
>
>~oracle/runme.sh  -- > will run the runme.sh in Oracle home directory

While that's true for most shells, bash, csh, tcsh, etc., it
doesn't work on true Bourne /bin/sh shells (e.g. SCO OpenServer
5.0.6a and earlier and probably others with Bell Labs ancestors).

It's a Good Idea(tm) when writing scripts that may be used on
many systems to program defensively, for the lowest common
denominator to avoid pitfalls like this.

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

Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [OT] Does "~" always point to $HOME?

2007-01-25 Thread Dak Ghatikachalam

On 1/26/07, Dak Ghatikachalam <[EMAIL PROTECTED]> wrote:


I write shells script extensively , I have noticed

~  -> gets a subsitution for $HOME
~userid   - >gets you the $HOME for that user

meaning if  you have  have logged in as root and  if you want to run some
script on oracle home even though you logged in as root  you can simplly

~oracle/runme.sh  -- > will run the runme.sh in Oracle home directory

Regards
Dak

On 1/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hello again,
>  I'm revising some documentation that has examples of running Unix
> commands and I want to make sure that my steps are correct, such that I can
> substitute the tilde character ('~') for $HOME. The only issue I can see
> with this is an improper configuration with sudo (ran into some problems
> with $HOME in the past using sudo on Gentoo), but I'm pretty sure that
> sudo's setup on the machine cluster properly.
> TIA,
> -Garrett
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"




Oops sorry for top posting , I sent that mail  accidentally  at the rush of
the blood.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [OT] Does "~" always point to $HOME?

2007-01-25 Thread Dak Ghatikachalam

I write shells script extensively , I have noticed

~  -> gets a subsitution for $HOME
~userid   - >gets you the $HOME for that user

meaning if  you have  have logged in as root and  if you want to run some
script on oracle home even though you logged in as root  you can simplly

~oracle/runme.sh  -- > will run the runme.sh in Oracle home directory

Regards
Dak

On 1/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Hello again,
 I'm revising some documentation that has examples of running Unix
commands and I want to make sure that my steps are correct, such that I can
substitute the tilde character ('~') for $HOME. The only issue I can see
with this is an improper configuration with sudo (ran into some problems
with $HOME in the past using sudo on Gentoo), but I'm pretty sure that
sudo's setup on the machine cluster properly.
TIA,
-Garrett

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


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


Re: Hairy Cats and mice and FreeBSD

2007-01-25 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert Huff wrote:
> RW writes:
> 
>>  > Option "ZAxisMapping" "4 5 6 7"
>>  > in the mouse section by default, which is all I've ever needed to make
>>  > the scrollwheel work
>>  
>>  Option "ZAxisMapping" "4 5"
>>  
>>  I think you only need the other two values on a mouse with a second
>>  scroll wheel. 
> 
>   Does anyone know how to activate the side-to-side scrolling
> function of the Intellimouse Explorer?
> 
> 
>   Robert Huff

Robert,
I believe I described (in great detail), how to do this in my following
posting.
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFuZ8kEnKyINQw/HARAmuvAJ4tPOyTF0AqvqZztWaHvMypoTYwFgCgqR5E
Xycym4lCLfvZVN0CNG/AV8M=
=rLwe
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


The BBC survey....

2007-01-25 Thread Sergio Lenzi
Hello alll

Even FreeBSD, or even any BSD (ok, OSX is BSD...) is mention in
the BBC survey, I notice that:
1) They claim that 90% of the persons use windows, but in the
publish list, is just the contrary... only 2 ones use windows,
and like it, and one of them just for games
2) The person that likes windows vista, likes it because he
can make a good backup to save things when he lost them,
this shows a common thing that happens when you use windows... (you
will lost something)...
so you need backups, winzips, winrars, avg, norton...  and zilions
of useless things
that make your computer work better..  when in reality, all you need
is a good gnome 2.16 or 
a kde 3.5.4...
3) 90% of the persons use the computer to write documents, access
internet, and use email.
so the number or persons using Mac and Linux is rasing
4)  To use the vista, probably you will need an upgrade... (a good
graphics for directx10,
64bit cpu, and 2 gb of memory...)  here will cost 1000 dollars.. 
5) more than half of the persons were windows users and switched to OSX
or Linux

Here in my country (Brazil) I am selling notebooks with FreeBSD and
gnome 2.16
to high executives. and is doing well.. so it shows that the success of
the computer
is in the easy of use and not in the features it has  The more
important the person
in the company, the easy to use and less features must have the
computer. so
for me, gnome is the best choice.

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


Re: Messy ports, how to clean them up?

2007-01-25 Thread Philip Hallstrom

Well,
I use portsnap and portupgrade on a regular basis and therefore I could
watch very often the rebuild of ports - a nice and neat thing of FreeBSD.

Bit sometimes I or someone else installs ports an they install
dependencies and then he/she or I decide to kill/delete a specific port,
but very often dependencies remains on the system and doing this
deletion a couple of times will end in some 'zombie' remains of ports.

Is there a way cleaning up automatically a messy ports collection? Like
portupgrade does, only the opposite way, not rebuilding/reinstalling a
rebuilt/upgraded port, looking for stale ports never used anymore by
another port?

Thanks a lot in advance,
Oliver

P.S. I'm not very familiar with the complexicity of the pkgtoolset and
ports collection, sorry.


I've always used pkg_rmleaves... pops up a nice little dialog listing all 
the ports that aren't required by any other ports... check the ones you 
want to get rid of...  on my non-serious boxes I tend to check anything I 
don't recognize and/or things I know I want gone.


Then it repeats the process with any new ports that are no longer required 
due to anything you just removed.


Seems to work pretty well for me...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Opinions Wanted] Dell PowerEdge 2950 Servers ...

2007-01-25 Thread Jeff Royle

Marc G. Fournier wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Have a friend that swears by them, but ... he's in the Linux camp, so tends to 
have a quasi-inside track ...


What are ppls opinions on them as far as FreeBSD is concerned?

Also, interested in what sort of specs ppl are running ... I'm interested in 
going with an 8xSAS drive system, dual-dual-core, figuring 10 or 16G of RAM ... 
redundant power and the Dell Remote Access Card ...


Thanks ...



I will make a general comment about these servers.   Dell servers really 
only rack nicely in Dell Racks.   You *can* get them racked in other 
standard racks but it can be painful.   Depending on how many you are 
purchasing you might want to factor in the Dell Rack cost.


In general I would say the few PowerEdges we use have been rock solid in 
terms of hardware.   Dell does put some effort in this department.


Unfortunately I cannot comment on FreeBSD on these devices, we only have 
Linux (RedHat and now Gentoo) on the server.   One day they will let me 
on the box :)


Cheers,

Jeff

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


Re: Messy ports, how to clean them up?

2007-01-25 Thread Sahil Tandon

Robert Huff wrote:


I use portupgrade.
I've never used pkg_deinstall, but given that portupgrade gets
... confused ... occasionally I look suspiciously at anything that
promises clean upward recursion.


Many people prefer sysutils/portmanager over portupgrade.  As usual, YMMV.

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


[Opinions Wanted] Dell PowerEdge 2950 Servers ...

2007-01-25 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Have a friend that swears by them, but ... he's in the Linux camp, so tends to 
have a quasi-inside track ...

What are ppls opinions on them as far as FreeBSD is concerned?

Also, interested in what sort of specs ppl are running ... I'm interested in 
going with an 8xSAS drive system, dual-dual-core, figuring 10 or 16G of RAM ... 
redundant power and the Dell Remote Access Card ...

Thanks ...

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFuXl64QvfyHIvDvMRAreRAJ90oACUdSziQXdrO5PCyXiC+cwGswCfQmDJ
ABVk0G7IrB+wlwABmSr7uC4=
=8DW9
-END PGP SIGNATURE-

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


Re: Hairy Cats and mice and FreeBSD

2007-01-25 Thread Robert Huff
RW writes:

>  > Option "ZAxisMapping" "4 5 6 7"
>  > in the mouse section by default, which is all I've ever needed to make
>  > the scrollwheel work
>  
>  Option "ZAxisMapping" "4 5"
>  
>  I think you only need the other two values on a mouse with a second
>  scroll wheel. 

Does anyone know how to activate the side-to-side scrolling
function of the Intellimouse Explorer?


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


Re: Messy ports, how to clean them up?

2007-01-25 Thread Robert Huff

[EMAIL PROTECTED] writes:

>  > > Is there a way cleaning up automatically a messy ports collection? Like
>  > > portupgrade does, only the opposite way, not rebuilding/reinstalling a
>  > > rebuilt/upgraded port, looking for stale ports never used anymore by
>  > > another port?
>  >
>  > sysutils/pkg_cutleaves
>  
>  portupgrade includes pkg_deinstall, which has switch
>  to recursively remove all dependancies which are no
>  longer used by any other pkg/port, which is a way to
>  head this sort of thing off at the pass.

I use portupgrade.
I've never used pkg_deinstall, but given that portupgrade gets
... confused ... occasionally I look suspiciously at anything that
promises clean upward recursion.


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


Re: Hairy Cats and mice and FreeBSD

2007-01-25 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

RW wrote:
> On Sat, 20 Jan 2007 19:36:38 -0800
> "Kevin Downey" <[EMAIL PROTECTED]> wrote:
> 
>> Xorg -configure now puts:
>> Option "ZAxisMapping" "4 5 6 7"
>> in the mouse section by default, which is all I've ever needed to make
>> the scrollwheel work
>  I have 
> 
> Option "ZAxisMapping" "4 5"
> 
> I think you only need the other two values on a mouse with a second
> scroll wheel. 

The handbook/FAQ--although good--doesn't apply properly in all cases.
For instance, my mouse was confusing to configure since I applied
improper arguments and ran the wrong commands. So, based on my
experience you shouldn't add anything to rc.conf related to moused
--except moused_enable="YES"--unless things don't work for you.

Also, depending on your mouse you'll have to change ZAxisMapping to meet
your needs. For instance, my Wireless MS Intellimouse Explorer 3.0
contains a 1) left and right side buttons, an 2) up-down scrollwheel, 3)
left-right scrollwheel feature (looked carefully at the scrollwheel and
it can be moved left to right), 4) and 2 thumb buttons.
For me to properly setup my mouse I'd have to do:

Option "ZAxisMapping" "4 5 6 7"

in xorg.conf, but I opt for just using the scrollwheel, so the following
is legitimate:

Option "ZAxisMapping" "4 5"

How did I figure out what did what? xev--a wonderful program packaged
with the monolithic (not modular, i.e. version <7.0) version of
X.org--helps one determine what buttons do what by scrolling and
pressing each input to one's content.

For instance:

1. Invokes xev from xterm (data is output to stdout).

2. Moves mouse pointer inside box for X11 widget that comes up.

3. Scrolls middle mouse button up without moving the mouse or pressing
anything else. Output similar to this is seen:

ButtonRelease event, serial 30, synthetic NO, window 0x201,
root 0x141, subw 0x202, time 70460667, (36,51), root:(536,81),
state 0x800, button 4, same_screen YES

The important part is..
state 0x800, --> button 4 <--, same_screen YES
.. as it tells you which mouse button does the scroll up function.

4. Repeat 3. but instead scroll button down.

5. Use value obtained from  3. and 4. as follows in xorg.conf for
setting ZAxisMapping:

Option "ZAxisMapping" "{value from 3.} {value from 4.}"

6. If you have a mouse with side to side ZAxis rotation, putting the
value obtained for the left rotation after "{value from 4.}", and the
right rotation after the value for the left rotation.

Hope this helps. This should remain correct as long as X.org doesn't
change their mouse input configuration (driver), and as long as your
mouse is detected and configured correctly by moused, the steps I listed
above should work for enabling your scroll functions. There's a new
setup for X.org 7.x that uses something called evdev which is a built-in
input driver in the Linux kernel, and it sounds like it's a pain to deal
with..

If you want to enable your thumb buttons, there's always imwheel.. See
 for a good
couple paragraphs on how to set that up to your liking.

Cheers,
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFuXbaEnKyINQw/HARAg3DAKCI1bmeSahvZAyB/r6LHX8ZaOXOYQCeKA6z
lr4vHldJ9DsitBVh48erjDw=
=dwSo
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [SOLVED] RAID Performance Questions

2007-01-25 Thread Milo Hyson
A quick call to 3ware and they told me to increase vfs.read_max from  
8 to 256. That helped. I'm now seeing 4x performance on a four-drive  
array vs a single drive. Additionally, Ivan was right about the  
database being too small. iostat showed no disk activity after the  
initial run, as everything was cached in memory.


--
Milo Hyson
CyberLife Labs

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


Re: Messy ports, how to clean them up?

2007-01-25 Thread [EMAIL PROTECTED]

On 25/01/07, Bill Moran <[EMAIL PROTECTED]> wrote:

In response to "O. Hartmann" <[EMAIL PROTECTED]>:

> Well,
> I use portsnap and portupgrade on a regular basis and therefore I could
> watch very often the rebuild of ports - a nice and neat thing of FreeBSD.
>
> Bit sometimes I or someone else installs ports an they install
> dependencies and then he/she or I decide to kill/delete a specific port,
> but very often dependencies remains on the system and doing this
> deletion a couple of times will end in some 'zombie' remains of ports.
>
> Is there a way cleaning up automatically a messy ports collection? Like
> portupgrade does, only the opposite way, not rebuilding/reinstalling a
> rebuilt/upgraded port, looking for stale ports never used anymore by
> another port?

sysutils/pkg_cutleaves



portupgrade includes pkg_deinstall, which has switch
to recursively remove all dependancies which are no
longer used by any other pkg/port, which is a way to
head this sort of thing off at the pass.

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


Re: man sysinstall

2007-01-25 Thread Tom Rhodes
On Thu, 25 Jan 2007 14:54:47 +
Ceri Davies <[EMAIL PROTECTED]> wrote:

> On Wed, Jan 24, 2007 at 11:05:13PM -0800, BSD Certification Team wrote:
> > Hello all,
> > 
> > The man page for sysinstall is pretty out of date.  I
> > am trying to PXE boot to an unattended install.
> > 
> > I figured out that I needed to add dists=base kernels
> > GENERIC even though kernels and GENERIC are not in the
> > list in the man page.
> > 
> > Is there anyone in charge of updating this
> > information?  I have never submitted an update.
> 
> I guess that's me.  Could you please raise a PR and send me the number?

I tried with almost every version of 5.X to get an unattended
install working.  Never worked.  It seems as if sysinstall
was looking only for a USB floppy drive.  Originally I started
looking over the code to send in a PR and perhaps a patch,
but became busy with other things.

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


Re: Messy ports, how to clean them up?

2007-01-25 Thread Bill Moran
In response to "O. Hartmann" <[EMAIL PROTECTED]>:

> Well,
> I use portsnap and portupgrade on a regular basis and therefore I could
> watch very often the rebuild of ports - a nice and neat thing of FreeBSD.
> 
> Bit sometimes I or someone else installs ports an they install
> dependencies and then he/she or I decide to kill/delete a specific port,
> but very often dependencies remains on the system and doing this
> deletion a couple of times will end in some 'zombie' remains of ports.
> 
> Is there a way cleaning up automatically a messy ports collection? Like
> portupgrade does, only the opposite way, not rebuilding/reinstalling a
> rebuilt/upgraded port, looking for stale ports never used anymore by
> another port?

sysutils/pkg_cutleaves

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


Messy ports, how to clean them up?

2007-01-25 Thread O. Hartmann
Well,
I use portsnap and portupgrade on a regular basis and therefore I could
watch very often the rebuild of ports - a nice and neat thing of FreeBSD.

Bit sometimes I or someone else installs ports an they install
dependencies and then he/she or I decide to kill/delete a specific port,
but very often dependencies remains on the system and doing this
deletion a couple of times will end in some 'zombie' remains of ports.

Is there a way cleaning up automatically a messy ports collection? Like
portupgrade does, only the opposite way, not rebuilding/reinstalling a
rebuilt/upgraded port, looking for stale ports never used anymore by
another port?

Thanks a lot in advance,
Oliver

P.S. I'm not very familiar with the complexicity of the pkgtoolset and
ports collection, sorry.

-- 
O. Hartmann


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


Re: how can i obtain a @freebsd.org mail address ?

2007-01-25 Thread Ivan Voras
i b wrote:
> hi
> 
> i'm a freebsd user and i can see a lot of people who has a @freebsd.org
> mail
> addr. (most are developers)
> 
> how can I obtain an address like those ?

Become a developer :)

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


Re: Hairy Cats and mice and FreeBSD

2007-01-25 Thread RW
On Sat, 20 Jan 2007 19:36:38 -0800
"Kevin Downey" <[EMAIL PROTECTED]> wrote:

> Xorg -configure now puts:
> Option "ZAxisMapping" "4 5 6 7"
> in the mouse section by default, which is all I've ever needed to make
> the scrollwheel work
 I have 

Option "ZAxisMapping" "4 5"

I think you only need the other two values on a mouse with a second
scroll wheel. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how can i obtain a @freebsd.org mail address ?

2007-01-25 Thread Gabor Kovesdan

i b schrieb:

hi

i'm a freebsd user and i can see a lot of people who has a 
@freebsd.org mail

addr. (most are developers)

how can I obtain an address like those ?

Cheers,


Hi,

such adresses are only given to committers, who have direct access to 
the source repository.But if you work hard, you can have one in the 
future. ;)


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


Re: how can i obtain a @freebsd.org mail address ?

2007-01-25 Thread Bill Moran
In response to "i b" <[EMAIL PROTECTED]>:

> hi
> 
> i'm a freebsd user and i can see a lot of people who has a @freebsd.org mail
> addr. (most are developers)
> 
> how can I obtain an address like those ?

Become a developer.  @freebsd.org email addresses are offered to committers.

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


how can i obtain a @freebsd.org mail address ?

2007-01-25 Thread i b

hi

i'm a freebsd user and i can see a lot of people who has a @freebsd.org mail
addr. (most are developers)

how can I obtain an address like those ?

Cheers,

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


Re: Is a re-boot req'd after changing 'resolv.conf' ?

2007-01-25 Thread Ivan Voras
V.I.Victor wrote:
> I'm simply going to change 2 "nameserver" ip-addresses.
> 
> Most of what I've found re. 'resolv.conf' implies it can just be changed 
> on-the-fly.  However, other sources (mostly upgrading info) have a reboot 
> involved.
> 
> So -- re-boot or not? (Note: this is a static-ip box running v5.4.)

Some applications only read resolv.conf once and keep the information,
so you need to restart those. Most others deal with it in the standard
way so no reboot is needed. The OS itself (and its standard utilities)
don't need a reboot.




signature.asc
Description: OpenPGP digital signature


Re: RAID Performance Questions

2007-01-25 Thread Ivan Voras
Milo Hyson wrote:

> I also ran some performance tests with a stock build of PostgreSQL 8.0
> to get a different angle on things. Two tests were run on each of the
> UDMA system drive, the RAID 5 unit, and the RAID 10 unit. The first
> tested sequential-scans through a 58,000+ record table. The second
> tested random index-scans of the same table. These were read-only tests
> -- no write tests were performed. The results are as follows:
> 
> Unit  Seq/secIndex/sec
> --
> single  0.550 2048.983
> raid5   0.533 2063.900
> raid10  0.533 2093.283


58,000 records is WAY too small for any benefits to come out, unless the
records are very large ("wide"). The database and the OS will cache as
much data they can - with such a small number of records it's very
probable they will all be cached and the drives won't get any IO (and
it's lucky for you that it works this way). You can verify this
hypothesis with iostat and similar utilities.

This is also something you'll need to consider: unless you have more
data than fits in your memory, don't bother with the drives. When your
data DOES grow enough that it doesn't fit in memory (or actually - not
all of it, just the mostly accessed bits), you'll take a dramatic
performance hit which you can fix only with a large numbers of drives
(as other said - no less than 5 fast drives to get any kind of decent
performance). In that case, it's way cheaper and faster to add as much
memory as the motherboard can handle before even touching the drives.

(the above explanation holds for read-mostly loads. for write intensive
loads, go immediately to the 5+ drives option and try to avoid RAID5).



signature.asc
Description: OpenPGP digital signature


Re: RAID Performance Questions

2007-01-25 Thread Milo Hyson

On Jan 25, 2007, at 13:50, Jeff Mohler wrote:


How about one large raid, and two partitions to serve each purpose?

Being so limited in HW, youre either going to take a _huge_
performance hit with only 2 disks per raid (unless Raid0), or an
availability hit with everything on one RAID set.


I suppose availability is more important than performance. However  
reliability is even more important. My big concern with a single,  
large array is that should the array become corrupted for any reason,  
I'll lose both the live and the backup. Also, in that configuration,  
the backup becomes little more than transparent revision control.


Another factor to consider (which I should have mentioned earlier) is  
that with the exception of any locally hosted databases, this is a  
NAS box. All data access will be via FastEthernet, and that's more of  
a bottleneck than any disks I have.


--
Milo Hyson
CyberLife Labs

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


Re: RAID Performance Questions

2007-01-25 Thread Jeff Mohler

How about one large raid, and two partitions to serve each purpose?

Being so limited in HW, youre either going to take a _huge_
performance hit with only 2 disks per raid (unless Raid0), or an
availability hit with everything on one RAID set.

But..considering the costs of adding RAID to a server..take a peek
here for a high(er) perfomance RAID solution..if Fbsd had an iscsi
layer like linux has had for...5yrs or so..this would be a slam dunk
as you can still serve it as block data.

If that cant help you, it might help the next guy with only a few K's
to spend on large disks and raid controllers.

On 1/25/07, Milo Hyson <[EMAIL PROTECTED]> wrote:

On Jan 25, 2007, at 12:15, Chuck Swiger wrote:

> Still, you also ought to consider that a 3-disk RAID-5
> configuration is very much not ideal from either an efficiency or
> performance standpoint-- you want more like 5 or 6 drives being
> used, in which case your performance numbers ought to increase
> some.  This is also somewhat true of the 4-disk RAID-10 config;
> using 6 or all 8 drives would likely improve performance compared
> with striping against only two disks.

Unfortunately, I'm a bit limited in terms of equipment and
application requirements. For starters, the app specs currently call
for two arrays: one for general file-serving and databases, and the
other for backups. Due to limited hardware I'm to run both on the
same controller. Far from ideal, I know, but it's what I have.
Second, I need to keep at least one drive as a hot-spare. Thus, I
have seven drives that I somehow need to partition into two groups
and maximize performance without sacrificing reliability. Lastly, the
RAID controller does not permit more than two drives in a RAID-1 set.

Any suggestions?

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


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


Re: [OT] Does "~" always point to $HOME?

2007-01-25 Thread youshi10

On Thu, 25 Jan 2007, Bill Campbell wrote:


On Thu, Jan 25, 2007, [EMAIL PROTECTED] wrote:

Hello again,
   I'm revising some documentation that has examples of running Unix
   commands and I want to make sure that my steps are correct, such that I
   can substitute the tilde character ('~') for $HOME. The only issue I
   can see with this is an improper configuration with sudo (ran into some
   problems with $HOME in the past using sudo on Gentoo), but I'm pretty
   sure that sudo's setup on the machine cluster properly.


That's true on most relatively modern shells, but not on pure
Bourne Shell, /bin/sh.

As for ``sudo'', ``sudo -'' invokes the login environment while a
plain ``sudo'' doesn't.

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

``If we got one-tenth of what was promised to us in these acceptance
speeches there wouldn't be any inducement to go to heaven.''
   Will Rogers


Ok, I'll stick with home then.
Thanks!
-Garrett


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


Re: RAID Performance Questions

2007-01-25 Thread Milo Hyson

On Jan 25, 2007, at 12:15, Chuck Swiger wrote:

Still, you also ought to consider that a 3-disk RAID-5  
configuration is very much not ideal from either an efficiency or  
performance standpoint-- you want more like 5 or 6 drives being  
used, in which case your performance numbers ought to increase  
some.  This is also somewhat true of the 4-disk RAID-10 config;  
using 6 or all 8 drives would likely improve performance compared  
with striping against only two disks.


Unfortunately, I'm a bit limited in terms of equipment and  
application requirements. For starters, the app specs currently call  
for two arrays: one for general file-serving and databases, and the  
other for backups. Due to limited hardware I'm to run both on the  
same controller. Far from ideal, I know, but it's what I have.  
Second, I need to keep at least one drive as a hot-spare. Thus, I  
have seven drives that I somehow need to partition into two groups  
and maximize performance without sacrificing reliability. Lastly, the  
RAID controller does not permit more than two drives in a RAID-1 set.


Any suggestions?

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


Re: Is a re-boot req'd after changing 'resolv.conf' ?

2007-01-25 Thread David Kelly
On Thu, Jan 25, 2007 at 12:15:47PM -0800, Chuck Swiger wrote:
> On Jan 25, 2007, at 11:53 AM, V.I.Victor wrote:
> >
> >So -- re-boot or not? (Note: this is a static-ip box running v5.4.)
> 
> There is no reason to reboot after changing /etc/resolv.conf.  Almost  
> everything will be using the standard resolver routines from libc and  
> will pick up the new nameservers just fine.

Dhcpclient rewrites /etc/resolv.conf every time it renews the DHCP
lease.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is a re-boot req'd after changing 'resolv.conf' ?

2007-01-25 Thread Grant


You shouldnt need to reboot after adding a nameserver.

I'm not sure if you need to if you change domain names in there.


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


Re: RAID Performance Questions

2007-01-25 Thread Chuck Swiger

On Jan 25, 2007, at 10:50 AM, Milo Hyson wrote:
The write times of both RAID configurations are slower than the  
single drive (which is expected due to having to write to multiple  
drives). However, I wasn't expecting such a drastic reduction  
(about 50%). The read times, although faster, are only marginally  
so in per-char transfer. They're a bit better in block performance,  
but still not what I would expect. It would seem to me that a read  
spread across four drives should see more than a 45% performance  
increase. The highest rate recorded here is only a quarter of the  
PCI bus-speed, so I doubt that's a bottleneck. CPU load peaks at  
50%, so I don't see that being a problem either.


Single-byte accesses are a worst-case scenario for RAID throughput;  
the block rates are generally more applicable to the performance  
you'll see for decently-written applications and many use-case  
scenarios.  If you've got a UPS or battery-backup option for the RAID  
card enabled, consider turning on write-back mode rather than write- 
thru mode, which ought to improve write performance pretty  
significantly.


Still, you also ought to consider that a 3-disk RAID-5 configuration  
is very much not ideal from either an efficiency or performance  
standpoint-- you want more like 5 or 6 drives being used, in which  
case your performance numbers ought to increase some.  This is also  
somewhat true of the 4-disk RAID-10 config; using 6 or all 8 drives  
would likely improve performance compared with striping against only  
two disks.


I also ran some performance tests with a stock build of PostgreSQL  
8.0 to get a different angle on things.

[ ... ]
Any performance benefit of RAID in these tests is almost  
nonexistent.  Am I doing something wrong?  Am I expecting too much?  
Any advice that can be offered in this area would be much appreciated.


Most databases dislike any form of RAID except plain old RAID-1  
mirroring, but absolutely hate RAID-5.  Databases can do OK with big  
RAID-10 combinations, too, but ask any experienced DBA what they'd  
like, and they'd rather have as many RAID-1 spindles available as  
possible compared with any other drive arrangement.


--
-Chuck

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


Re: Is a re-boot req'd after changing 'resolv.conf' ?

2007-01-25 Thread Chuck Swiger

On Jan 25, 2007, at 11:53 AM, V.I.Victor wrote:

I'm simply going to change 2 "nameserver" ip-addresses.

Most of what I've found re. 'resolv.conf' implies it can just be  
changed on-the-fly.  However, other sources (mostly upgrading info)  
have a reboot involved.


So -- re-boot or not? (Note: this is a static-ip box running v5.4.)


There is no reason to reboot after changing /etc/resolv.conf.  Almost  
everything will be using the standard resolver routines from libc and  
will pick up the new nameservers just fine.


--
-Chuck

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


how to enable linux flash player in firefox

2007-01-25 Thread Erik Norgaard

Hi there:

I see the new flash9 for linux has been included in ports, so I 
installed it - but how do I enable the plugin in Firefox? Does it work 
or does it crash?


Thanks, Erik
--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


Is a re-boot req'd after changing 'resolv.conf' ?

2007-01-25 Thread V.I.Victor

I'm simply going to change 2 "nameserver" ip-addresses.

Most of what I've found re. 'resolv.conf' implies it can just be changed 
on-the-fly.  However, other sources (mostly upgrading info) have a reboot 
involved.

So -- re-boot or not? (Note: this is a static-ip box running v5.4.)

Thanks!



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


Re: [OT] Does "~" always point to $HOME?

2007-01-25 Thread Bill Campbell
On Thu, Jan 25, 2007, [EMAIL PROTECTED] wrote:
>Hello again,
>I'm revising some documentation that has examples of running Unix 
>commands and I want to make sure that my steps are correct, such that I 
>can substitute the tilde character ('~') for $HOME. The only issue I 
>can see with this is an improper configuration with sudo (ran into some 
>problems with $HOME in the past using sudo on Gentoo), but I'm pretty 
>sure that sudo's setup on the machine cluster properly.

That's true on most relatively modern shells, but not on pure
Bourne Shell, /bin/sh.

As for ``sudo'', ``sudo -'' invokes the login environment while a
plain ``sudo'' doesn't.

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

``If we got one-tenth of what was promised to us in these acceptance
speeches there wouldn't be any inducement to go to heaven.''
Will Rogers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[OT] What does this pipe do?

2007-01-25 Thread youshi10

Thank you everyone for the responses. It has been quite educating :).

One other question though.. is ksh like the swiss army knife of all shells? 
Seems kind of odd that it supports both bourne shell constructs and (t)csh 
constructs.

Thanks again!
-Garrett

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


Re: RAID Performance Questions

2007-01-25 Thread Martin Hepworth

Milo

if you hunt around you should see papers/articles where it shows foe RAID 5
you need at least 5 drives before you any dramatic performance gains..(sun
old Sun articles from around 1998 where they do the math as well).

not sure about RAID 10, but again I *think* you need at least 3 drives in
the stripe before you start hitting gains.

To best test I'd put ALL the SATA drives into the RAID 5 or RAID 10 array
and then see what happens.

--
Martin

On 1/25/07, Milo Hyson <[EMAIL PROTECTED]> wrote:


I don't really have a whole lot of experience with RAID, so I was
wondering if the performance figures I'm seeing are normal or if I
just need to tweak things a bit. Based on what I've been reading, I
would expect more significant improvements over a single drive.
Here's my setup:

* FreeBSD 5.4-RELEASE-p22
* AMD Athlon 2200+
* 512 MB RAM
* 3ware 9500S-8 RAID controller
* 8 x Maxtor 7Y250M0 drives (SATA150 - 250 GB each)
* 1 x UDMA100 system drive

I'm using a trimmed-down but otherwise stock kernel (see below). The
array is configured as two units: a three-drive RAID 5 and a four-
drive RAID 10. Both units have been fully initialized and verified.
No errors or warnings are being issued by the controller --
everything is green. Using bonnie I get the following results with a
1.5 GB file:

   ---Sequential Output ---Sequential Input--
--Random--
   -Per Char- --Block--- -Rewrite-- -Per Char- --Block---
--Seeks---
MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %
CPU  /sec %CPU
single   1536 42229 45.1 44379 19.4 17227  7.7 40819 41.6 44772 12.1
141.1  0.7
raid51536 21812 22.8 21876  8.7 12935  5.9 47283 48.3 61998 17.0
152.8  0.8
raid10   1536 21905 23.0 21999  8.6 14878  6.7 49036 50.1 64847 17.7
130.6  0.7

The write times of both RAID configurations are slower than the
single drive (which is expected due to having to write to multiple
drives). However, I wasn't expecting such a drastic reduction (about
50%). The read times, although faster, are only marginally so in per-
char transfer. They're a bit better in block performance, but still
not what I would expect. It would seem to me that a read spread
across four drives should see more than a 45% performance increase.
The highest rate recorded here is only a quarter of the PCI bus-
speed, so I doubt that's a bottleneck. CPU load peaks at 50%, so I
don't see that being a problem either.

I also ran some performance tests with a stock build of PostgreSQL
8.0 to get a different angle on things. Two tests were run on each of
the UDMA system drive, the RAID 5 unit, and the RAID 10 unit. The
first tested sequential-scans through a 58,000+ record table. The
second tested random index-scans of the same table. These were read-
only tests -- no write tests were performed. The results are as follows:

Unit  Seq/secIndex/sec
--
single  0.550 2048.983
raid5   0.533 2063.900
raid10  0.533 2093.283

Any performance benefit of RAID in these tests is almost nonexistent.
Am I doing something wrong? Am I expecting too much? Any advice that
can be offered in this area would be much appreciated.

Here is my kernel config (the twa driver is loaded as a module):

machine i386
cpu I686_CPU
ident   NAS-20070124

options SCHED_4BSD  # 4BSD scheduler
options INET# InterNETworking
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates
support
options UFS_ACL # Support for access control
lists
options UFS_DIRHASH # Improve performance on big
directories
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem
(requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options COMPAT_43   # Compatible with BSD 4.3
[KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options SCSI_DELAY=15000# Delay (in ms) before
probing SCSI
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-
time extensions
options ADAPTIVE_GIANT  # Giant mutex is adaptive.

device  apic# I/O APIC

# Bus support.  Do not remove isa, even if you have no isa slots
device  isa
device  pci

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
options ATA_S

[OT] Does "~" always point to $HOME?

2007-01-25 Thread youshi10

Hello again,
I'm revising some documentation that has examples of running Unix commands 
and I want to make sure that my steps are correct, such that I can substitute 
the tilde character ('~') for $HOME. The only issue I can see with this is an 
improper configuration with sudo (ran into some problems with $HOME in the past 
using sudo on Gentoo), but I'm pretty sure that sudo's setup on the machine 
cluster properly.
TIA,
-Garrett

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


RAID Performance Questions

2007-01-25 Thread Milo Hyson
I don't really have a whole lot of experience with RAID, so I was  
wondering if the performance figures I'm seeing are normal or if I  
just need to tweak things a bit. Based on what I've been reading, I  
would expect more significant improvements over a single drive.  
Here's my setup:


* FreeBSD 5.4-RELEASE-p22
* AMD Athlon 2200+
* 512 MB RAM
* 3ware 9500S-8 RAID controller
* 8 x Maxtor 7Y250M0 drives (SATA150 - 250 GB each)
* 1 x UDMA100 system drive

I'm using a trimmed-down but otherwise stock kernel (see below). The  
array is configured as two units: a three-drive RAID 5 and a four- 
drive RAID 10. Both units have been fully initialized and verified.  
No errors or warnings are being issued by the controller --  
everything is green. Using bonnie I get the following results with a  
1.5 GB file:


  ---Sequential Output ---Sequential Input--  
--Random--
  -Per Char- --Block--- -Rewrite-- -Per Char- --Block---  
--Seeks---
MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec % 
CPU  /sec %CPU
single   1536 42229 45.1 44379 19.4 17227  7.7 40819 41.6 44772 12.1  
141.1  0.7
raid51536 21812 22.8 21876  8.7 12935  5.9 47283 48.3 61998 17.0  
152.8  0.8
raid10   1536 21905 23.0 21999  8.6 14878  6.7 49036 50.1 64847 17.7  
130.6  0.7


The write times of both RAID configurations are slower than the  
single drive (which is expected due to having to write to multiple  
drives). However, I wasn't expecting such a drastic reduction (about  
50%). The read times, although faster, are only marginally so in per- 
char transfer. They're a bit better in block performance, but still  
not what I would expect. It would seem to me that a read spread  
across four drives should see more than a 45% performance increase.  
The highest rate recorded here is only a quarter of the PCI bus- 
speed, so I doubt that's a bottleneck. CPU load peaks at 50%, so I  
don't see that being a problem either.


I also ran some performance tests with a stock build of PostgreSQL  
8.0 to get a different angle on things. Two tests were run on each of  
the UDMA system drive, the RAID 5 unit, and the RAID 10 unit. The  
first tested sequential-scans through a 58,000+ record table. The  
second tested random index-scans of the same table. These were read- 
only tests -- no write tests were performed. The results are as follows:


Unit  Seq/secIndex/sec
--
single  0.550 2048.983
raid5   0.533 2063.900
raid10  0.533 2093.283

Any performance benefit of RAID in these tests is almost nonexistent.  
Am I doing something wrong? Am I expecting too much? Any advice that  
can be offered in this area would be much appreciated.


Here is my kernel config (the twa driver is loaded as a module):

machine i386
cpu I686_CPU
ident   NAS-20070124

options SCHED_4BSD  # 4BSD scheduler
options INET# InterNETworking
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates  
support
options UFS_ACL # Support for access control  
lists
options UFS_DIRHASH # Improve performance on big  
directories

options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem  
(requires PSEUDOFS)

options PSEUDOFS# Pseudo-filesystem framework
options COMPAT_43   # Compatible with BSD 4.3  
[KEEP THIS!]

options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options SCSI_DELAY=15000# Delay (in ms) before  
probing SCSI

options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real- 
time extensions

options ADAPTIVE_GIANT  # Giant mutex is adaptive.

device  apic# I/O APIC

# Bus support.  Do not remove isa, even if you have no isa slots
device  isa
device  pci

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
options ATA_STATIC_ID   # Static device numbering

# SCSI support
device  scbus   # SCSI bus (required for SCSI)
device  da  # Direct Access (disks)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard

device  vga # VGA video card driver

# syscons is the default console driver,

Re: win32-codecs still marked forbidden in error?

2007-01-25 Thread Firas Kraiem
On Thursday 25 January 2007 16:35, Oliver Iberien wrote:
> Hi,
>
> Last ports database update yesterday, and trying to update mplayer...
>
> ===>   mplayer-0.99.10_3 depends on
> file: /usr/local/lib/win32/win32-codecs-3.1.0.r1,1 - not found
> ===>Verifying install for /usr/local/lib/win32/win32-codecs-3.1.0.r1,1
> in /usr/ports/multimedia/win32-codecs
> ===>  win32-codecs-3.1.0.r1,1 is forbidden: Remote code execution:
> http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html.
> *** Error code 1
>
> Stop in /usr/ports/multimedia/win32-codecs.
> *** Error code 1
>
> Stop in /usr/ports/multimedia/mplayer.
>
> Freshports has this as fixed. The vuxml entry is from last September. Is
> this still a concern? If not, is there a way around this?
>
> Thanks,
>
> Oliver

Hi

This is due to a vulnerability in the QuickTime code. To install your 
w32codecs, you just need to disable it. Do make config, uncheck QT and try 
installing it again.

-- 
()  ascii ribbon campaign - against HTML e-mail 
/\  www.asciiribbon.org   - against proprietary attachments

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


Re: win32-codecs still marked forbidden in error?

2007-01-25 Thread Marco Beishuizen
On stardate Thu, 25 Jan 2007, the wise Oliver Iberien entered:

> Hi,
> 
> Last ports database update yesterday, and trying to update mplayer...
> 
> ===>   mplayer-0.99.10_3 depends on 
> file: /usr/local/lib/win32/win32-codecs-3.1.0.r1,1 - not found
> ===>Verifying install for /usr/local/lib/win32/win32-codecs-3.1.0.r1,1 
> in /usr/ports/multimedia/win32-codecs
> ===>  win32-codecs-3.1.0.r1,1 is forbidden: Remote code execution: 
> http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html.
> *** Error code 1
> 
> Stop in /usr/ports/multimedia/win32-codecs.
> *** Error code 1
> 
> Stop in /usr/ports/multimedia/mplayer.
> 
> Freshports has this as fixed. The vuxml entry is from last September. Is this 
> still a concern? If not, is there a way around this?
> 
> Thanks,
> 
> Oliver

Hi Oliver,

I had the same problem. Do a "make config" in 
/usr/ports/multimedia/win32-codecs and unmark quicktime. After that mplayer 
should install normally. This worked for me.

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


Re: BBC debate "Battle of the operating systems"

2007-01-25 Thread FreeBSD WickerBill

On 1/25/07, Marco Muskus <[EMAIL PROTECTED]> wrote:


2007/1/25, Robin Becker <[EMAIL PROTECTED]>:
> Bill Moran wrote:
> > In response to Robin Becker <[EMAIL PROTECTED]>:
> >
> >> The BBC is to host a debate on multiple OSes.
> >>
> >> http://news.bbc.co.uk/2/hi/technology/6288119.stm
> >>
> >> They want one individual to represent each OS. Apparently they only
want Vista,
> >> OS X and Linux, but I don't see why we can't press for FreeBSD.
> >
> > I sent them a comment about how FreeBSD should be included.  I think
> > that if enough of us send in comments, they'll re-open the submission.
> >
> Where did you mail~ usually there's a link like "tell us your opinion"
etc etc,
> but I could not see one on that page.
> --
> Robin Becker
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
[EMAIL PROTECTED]"


There is no sense in trying to explain to the media what BSD means,
its like a try to run the NASCAR or the F1 with a Renault 4. Whats in
the media lately ? Linux vs Vista vs OS X, no more ... in fact in my
country a News channel show a report where they said "Vista the most
advanced and powerfull OS of the world", how did you try to make the
world understand ?

I don`t think that the BBC will understand

We need a allied,


--
Marco Muskus
Movil: 300 5705151
___




I, and several of my friends addressed BSD advantages on their website. I
then wrote the next day complaining of only having a shoot-out with Windows
and OSX. They finally got around to posting linux usage but are apparently
biased or too STOOPIT! to acknowlege *BSD...which seem really odd as a
netcraft query returns:

Solaris 9/10  Apache/2.0.54 (Unix)  16-Jan-2007  212.58.224.116  BBC
Internet Services,
Docklands.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with "ipfw flush"

2007-01-25 Thread Ian Smith
On Thu, 25 Jan 2007, Dan Mahoney, System Admin wrote:

 > On Fri, 26 Jan 2007, Ian Smith wrote:
 > 
 > Excellent.  I'll read up on this for a bit.

I've been reading man ipfw for years, but every time find something new :)

 > I suppose my biggest confusion was as to why I could do:
 > 
 > kldload ipfw && ipfw add 65000 allow ip from any to any
 > 
 > but not
 > 
 > ipfw flush && ipfw add 65000 allow ip from any to any
 > 
 > Clearly, the devil is in the output being sent.
 > 
 > Also, the manpage had -q and -f as mutually exclusive, and I missed the 
 > part about -q implying -f.

I guess the syntax 'ipfw [-f | -q] flush' does imply exclusivity, though
'ipfw -q -f flush' must work fine, when $fwcmd can be 'ipfw -q' ..

 > There IS one other issue that I encountered.  I have tables and pipes in 
 > play, and I believe a regular ipfw flush doesn't clear them.  Is there a 
 > universal "reset EVERYTHING" command?

I'm yet to use tables or pipes so can't say, except to see ipfw(8) has:

  ipfw table number flush
and
  ipfw [-s [field]] {pipe | queue} {delete | list | show} [number ...]

Cheers, Ian

[..]

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


Re: BBC debate "Battle of the operating systems"

2007-01-25 Thread Bill Moran
In response to "Marco Muskus" <[EMAIL PROTECTED]>:
> 2007/1/25, Robin Becker <[EMAIL PROTECTED]>:
> > Bill Moran wrote:
> > > In response to Robin Becker <[EMAIL PROTECTED]>:
> > >
> > >> The BBC is to host a debate on multiple OSes.
> > >>
> > >> http://news.bbc.co.uk/2/hi/technology/6288119.stm
> > >>
> > >> They want one individual to represent each OS. Apparently they only want 
> > >> Vista,
> > >> OS X and Linux, but I don't see why we can't press for FreeBSD.
> > >
> > > I sent them a comment about how FreeBSD should be included.  I think
> > > that if enough of us send in comments, they'll re-open the submission.
> > >
> > Where did you mail~ usually there's a link like "tell us your opinion" etc 
> > etc,
> > but I could not see one on that page.
> 
> There is no sense in trying to explain to the media what BSD means,
> its like a try to run the NASCAR or the F1 with a Renault 4. Whats in
> the media lately ? Linux vs Vista vs OS X, no more ... in fact in my
> country a News channel show a report where they said "Vista the most
> advanced and powerfull OS of the world", how did you try to make the
> world understand ?
> 
> I don`t think that the BBC will understand

This is some really defeatist talk ... I mean, you're welcome to have your
opinion, but if you're this hopeless about everything ... man.

You should consider finding some hobbies that are fun, and lighten up
a bit.

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


Re: ports with -DBATCH

2007-01-25 Thread Lowell Gilbert
"Questions" <[EMAIL PROTECTED]> writes:

> I'm writing a script to install a series of ports,  and would like to use
> the following:
>
>
> cd /usr/ports/foo/bar
> make WITH_OPTION1=yes WITH_OPTION2=yes WITHOUT_ANOTHER=yes -DBATCH install
>
> That works as expected,  but I would also like those settings written to
> the /var/db/ports/foobar/options file,  so that future upgrades also
> include the choices I made during the batch install.
>
> I've scoured the /usr/ports/Mk/* files,  and don't see anything useful for
> both BATCH and writing to the options file.   Suggestions would be much
> appreciated.

How about writing your settings into make.conf?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD server configuration

2007-01-25 Thread Alexandru Gabor

Hi everyone!

I need to buy a server for a medium-sized network. The server will run
FreeBSD but I'm not quite sure wich. It will need to support 500 Mbps upload
and 500 Mbps dowload, perhaps more, and NAT at 50-60 Mbps, firewall,
bandwidth shaping and logging with netflows.
I want to buy a dual-core Xeon at around 3 GHz. Now, I heared that FreeBSD
doesn't support polling along with SMP.
Question is: does FreeBSD support both SMP and polling in version 6.2? And
if yes how good? Or, will the processing power of the dual core make up for
the loss of the polling?
Wich firewall and/or NAT software if more fit for SMP in this case?
Will a single-core Xeon at 3.6 GHz hold up for these demands?


Thanks for you time!
Alex.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


win32-codecs still marked forbidden in error?

2007-01-25 Thread Oliver Iberien
Hi,

Last ports database update yesterday, and trying to update mplayer...

===>   mplayer-0.99.10_3 depends on 
file: /usr/local/lib/win32/win32-codecs-3.1.0.r1,1 - not found
===>Verifying install for /usr/local/lib/win32/win32-codecs-3.1.0.r1,1 
in /usr/ports/multimedia/win32-codecs
===>  win32-codecs-3.1.0.r1,1 is forbidden: Remote code execution: 
http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html.
*** Error code 1

Stop in /usr/ports/multimedia/win32-codecs.
*** Error code 1

Stop in /usr/ports/multimedia/mplayer.

Freshports has this as fixed. The vuxml entry is from last September. Is this 
still a concern? If not, is there a way around this?

Thanks,

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


Re: Problem with "ipfw flush"

2007-01-25 Thread Dan Mahoney, System Admin

On Fri, 26 Jan 2007, Ian Smith wrote:

Excellent.  I'll read up on this for a bit.

I suppose my biggest confusion was as to why I could do:

kldload ipfw && ipfw add 65000 allow ip from any to any

but not

ipfw flush && ipfw add 65000 allow ip from any to any

Clearly, the devil is in the output being sent.

Also, the manpage had -q and -f as mutually exclusive, and I missed the 
part about -q implying -f.


There IS one other issue that I encountered.  I have tables and pipes in 
play, and I believe a regular ipfw flush doesn't clear them.  Is there a 
universal "reset EVERYTHING" command?


-Dan




Re: freebsd-questions Digest, Vol 162, Issue 11
> Message: 31

On Wed, 24 Jan 2007 19:20:47 -0500 (EST), Dan Mahoney wrote:

> On Wed, 24 Jan 2007, Kevin Kinsey wrote:
>
> > Dan Mahoney, System Admin wrote:
> >> Hey all.
> >>
> >> In trying to tweak my firewall setup I'm using a file called
> >> /etc/ipfw.rules
> >>
> >> However, it seems even though I copy my rules perfectly to that file, the
> >> system freezes up and locks me out when I do:
> >
> > /usr/share/examples/ipfw/change_rules.sh?
>
> That is a very cool script, however, it appears as though it calls
> firewall_script on line 131 with "sh", not with ipfw.
>
> nohup sh ${firewall_script} ${firewall_type}.new
>
> Whereas, etc/rc.firewall calls ipfw on line 299 via the "ipfw" command:
>
> ${fwcmd} ${firewall_flags} ${firewall_type}
>
> The difference is that the resulting rules file would not be parseable by
> "sh" since the lines in the file would not contain the "ipfw" command but
> only the arguments.  As one's in "examples" and the other's in a live
> startup script, I'd assume the latter to be the correct method.

Either.  Check /etc/defaults/rc.conf and you'll notice that the default
for firewall_script="/etc/rc.firewall" so 'sh ${firewall_script}' runs
'sh /etc/rc.firewall' which runs ipfw -f flush, denying all connections,
then later, in your case with a given filename, ipfw $flags $pathname

Do you have firewall_quiet="YES" ?  This will help a lot, otherwise ipfw
writes to the terminal, which after the flush, it can't.  From ipfw(8):

o   If you are logged in over a network, loading the kld(4) version of
ipfw is probably not as straightforward as you would think.  I recom-
mend the following command line:

  kldload ipfw && \
  ipfw add 32000 allow ip from any to any

Along the same lines, doing an

  ipfw flush

in similar surroundings is also a bad idea.

> That said, this still does not tell me why a subsequent flush-and-rerun
> isn't working via ssh.  It works totally fine via the command line, but
> over ssh it gives:
>
> Jan 24 19:10:55 ads-bsh-fwa4 sshd[845]: fatal: Write failed: Permission
> denied on the console (but by that point my connection's already dropped).

Exactly.

> However, this shouldn't actually stop an already-typed command, should it?

Yes, if it's trying to write to the terminal.  The bottom line is that
if you want to run it from a command line over ssh, the command must say
nothing to the terminal until finished.  Even then, if your ssh session
was being permitted by a keep-state rule you'll still lose your session,
but as someone else (sorry) mentioned, you can log straight back in.

> Additionally, it doesn't appear that /etc/rc.firewall has the smarts to do

I think you mean /etc/rc.d/ipfw here?

> this, as the "stop" command it lists only disables the kernel firewall
> structure via sysctl, but does NOT flush the rules, pipes, counts, or the
> like, so it's not a true "restart".  (the idea being that otherwise, every
> rule will be added twice -- the flush is a necessary step there).

It is necessary, and it's done on (re)start.  If you're using
rc.firewall, as it seems you are, then in /etc/rc.d/ipfw:

 ipfw_start()
 {
   # set the firewall rules script if none was specified
   [ -z "${firewall_script}" ] && firewall_script=/etc/rc.firewall

Right?  Then:

   if [ -r "${firewall_script}" ]; then
 # .. nat stuff ..

   . "${firewall_script}"

which runs /etc/rc.firewall (in the current shell), starting with a)
setting firewall_type - in your case, to your rules file, b) setting
fwcmd='ipfw -q' if firewall_quiet=yes (you do want this!) and then does
the '${fwcmd} -f flush' then (if not wedged) your rules.

> Even if I add the "flush" command directly to /etc/ipfw.rules, and run
> ipfw -f /etc/ipfw.rules right from the command line, my connection gets
> dropped and the rest of the commands do not run.

Try with -q instead (this also implies -f)  RTFM on -q, until grokked.

> In experimenting a bit more, I've found that I can do:
>
> nohup ipfw -f /etc/ipfw.rules
>
> This allows the rest of the ipfw command to run, but the HUP-on-disconnect
> still doesn't explain why the command doesn't even finish running.

I think it will IFF you use ipfw_quiet="yes" - and perhaps add a static
allow rule for your 

Re: BBC debate "Battle of the operating systems"

2007-01-25 Thread Marco Muskus

2007/1/25, Robin Becker <[EMAIL PROTECTED]>:

Bill Moran wrote:
> In response to Robin Becker <[EMAIL PROTECTED]>:
>
>> The BBC is to host a debate on multiple OSes.
>>
>> http://news.bbc.co.uk/2/hi/technology/6288119.stm
>>
>> They want one individual to represent each OS. Apparently they only want 
Vista,
>> OS X and Linux, but I don't see why we can't press for FreeBSD.
>
> I sent them a comment about how FreeBSD should be included.  I think
> that if enough of us send in comments, they'll re-open the submission.
>
Where did you mail~ usually there's a link like "tell us your opinion" etc etc,
but I could not see one on that page.
--
Robin Becker
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



There is no sense in trying to explain to the media what BSD means,
its like a try to run the NASCAR or the F1 with a Renault 4. Whats in
the media lately ? Linux vs Vista vs OS X, no more ... in fact in my
country a News channel show a report where they said "Vista the most
advanced and powerfull OS of the world", how did you try to make the
world understand ?

I don`t think that the BBC will understand

We need a allied,


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


Re: man sysinstall

2007-01-25 Thread Ceri Davies
On Wed, Jan 24, 2007 at 11:05:13PM -0800, BSD Certification Team wrote:
> Hello all,
> 
> The man page for sysinstall is pretty out of date.  I
> am trying to PXE boot to an unattended install.
> 
> I figured out that I needed to add dists=base kernels
> GENERIC even though kernels and GENERIC are not in the
> list in the man page.
> 
> Is there anyone in charge of updating this
> information?  I have never submitted an update.

I guess that's me.  Could you please raise a PR and send me the number?

Ceri
-- 
That must be wonderful!  I don't understand it at all.
  -- Moliere


pgpdYbx5B4cJI.pgp
Description: PGP signature


Re: Problem with "ipfw flush"

2007-01-25 Thread Ian Smith
 Re: freebsd-questions Digest, Vol 162, Issue 11
 > Message: 31

On Wed, 24 Jan 2007 19:20:47 -0500 (EST), Dan Mahoney wrote:

 > On Wed, 24 Jan 2007, Kevin Kinsey wrote:
 > 
 > > Dan Mahoney, System Admin wrote:
 > >> Hey all.
 > >> 
 > >> In trying to tweak my firewall setup I'm using a file called 
 > >> /etc/ipfw.rules
 > >> 
 > >> However, it seems even though I copy my rules perfectly to that file, the 
 > >> system freezes up and locks me out when I do:
 > >
 > > /usr/share/examples/ipfw/change_rules.sh?
 > 
 > That is a very cool script, however, it appears as though it calls 
 > firewall_script on line 131 with "sh", not with ipfw.
 > 
 > nohup sh ${firewall_script} ${firewall_type}.new
 > 
 > Whereas, etc/rc.firewall calls ipfw on line 299 via the "ipfw" command:
 > 
 > ${fwcmd} ${firewall_flags} ${firewall_type}
 > 
 > The difference is that the resulting rules file would not be parseable by 
 > "sh" since the lines in the file would not contain the "ipfw" command but 
 > only the arguments.  As one's in "examples" and the other's in a live 
 > startup script, I'd assume the latter to be the correct method.

Either.  Check /etc/defaults/rc.conf and you'll notice that the default
for firewall_script="/etc/rc.firewall" so 'sh ${firewall_script}' runs
'sh /etc/rc.firewall' which runs ipfw -f flush, denying all connections,
then later, in your case with a given filename, ipfw $flags $pathname

Do you have firewall_quiet="YES" ?  This will help a lot, otherwise ipfw
writes to the terminal, which after the flush, it can't.  From ipfw(8):

 o   If you are logged in over a network, loading the kld(4) version of
 ipfw is probably not as straightforward as you would think.  I recom-
 mend the following command line:

   kldload ipfw && \
   ipfw add 32000 allow ip from any to any

 Along the same lines, doing an

   ipfw flush

 in similar surroundings is also a bad idea.

 > That said, this still does not tell me why a subsequent flush-and-rerun 
 > isn't working via ssh.  It works totally fine via the command line, but 
 > over ssh it gives:
 > 
 > Jan 24 19:10:55 ads-bsh-fwa4 sshd[845]: fatal: Write failed: Permission 
 > denied on the console (but by that point my connection's already dropped).

Exactly.

 > However, this shouldn't actually stop an already-typed command, should it?

Yes, if it's trying to write to the terminal.  The bottom line is that
if you want to run it from a command line over ssh, the command must say
nothing to the terminal until finished.  Even then, if your ssh session
was being permitted by a keep-state rule you'll still lose your session,
but as someone else (sorry) mentioned, you can log straight back in.

 > Additionally, it doesn't appear that /etc/rc.firewall has the smarts to do 

I think you mean /etc/rc.d/ipfw here?

 > this, as the "stop" command it lists only disables the kernel firewall 
 > structure via sysctl, but does NOT flush the rules, pipes, counts, or the 
 > like, so it's not a true "restart".  (the idea being that otherwise, every 
 > rule will be added twice -- the flush is a necessary step there).

It is necessary, and it's done on (re)start.  If you're using
rc.firewall, as it seems you are, then in /etc/rc.d/ipfw: 

  ipfw_start()
  {
# set the firewall rules script if none was specified
[ -z "${firewall_script}" ] && firewall_script=/etc/rc.firewall

Right?  Then:

if [ -r "${firewall_script}" ]; then
  # .. nat stuff ..

. "${firewall_script}"

which runs /etc/rc.firewall (in the current shell), starting with a) 
setting firewall_type - in your case, to your rules file, b) setting
fwcmd='ipfw -q' if firewall_quiet=yes (you do want this!) and then does
the '${fwcmd} -f flush' then (if not wedged) your rules.

 > Even if I add the "flush" command directly to /etc/ipfw.rules, and run 
 > ipfw -f /etc/ipfw.rules right from the command line, my connection gets 
 > dropped and the rest of the commands do not run.

Try with -q instead (this also implies -f)  RTFM on -q, until grokked.

 > In experimenting a bit more, I've found that I can do:
 > 
 > nohup ipfw -f /etc/ipfw.rules
 > 
 > This allows the rest of the ipfw command to run, but the HUP-on-disconnect 
 > still doesn't explain why the command doesn't even finish running.

I think it will IFF you use ipfw_quiet="yes" - and perhaps add a static
allow rule for your ssh access, before using any stateful rules, as any
existing dynamic connections will get clobbered on a flush, of course. 

Cheers, Ian

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


Re: BBC debate "Battle of the operating systems"

2007-01-25 Thread chris neill
On Thu, Jan 25, 2007 at 02:11:53PM +, Robin Becker wrote:
> Robin Becker wrote:
> >The BBC is to host a debate on multiple OSes.
> >
> >http://news.bbc.co.uk/2/hi/technology/6288119.stm
> 
> unfortunately they already closed the applications so I guess FreeBSD will 
> have to remain partially represented by some McFanBoy.

Right, and we're a bunch of snobs anyway..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BBC debate "Battle of the operating systems"

2007-01-25 Thread Bill Moran
In response to Robin Becker <[EMAIL PROTECTED]>:

> Bill Moran wrote:
> > In response to Robin Becker <[EMAIL PROTECTED]>:
> > 
> >> The BBC is to host a debate on multiple OSes.
> >>
> >> http://news.bbc.co.uk/2/hi/technology/6288119.stm
> >>
> >> They want one individual to represent each OS. Apparently they only want 
> >> Vista, 
> >> OS X and Linux, but I don't see why we can't press for FreeBSD.
> > 
> > I sent them a comment about how FreeBSD should be included.  I think
> > that if enough of us send in comments, they'll re-open the submission.
> > 
> Where did you mail~ usually there's a link like "tell us your opinion" etc 
> etc, 
> but I could not see one on that page.

There is a generic "contact us" link a the _very_ bottom of the page that
takes you here: http://news.bbc.co.uk/newswatch/ukfs/hi/feedback/default.stm

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


Re: BBC debate "Battle of the operating systems"

2007-01-25 Thread Robin Becker

Bill Moran wrote:

In response to Robin Becker <[EMAIL PROTECTED]>:


The BBC is to host a debate on multiple OSes.

http://news.bbc.co.uk/2/hi/technology/6288119.stm

They want one individual to represent each OS. Apparently they only want Vista, 
OS X and Linux, but I don't see why we can't press for FreeBSD.


I sent them a comment about how FreeBSD should be included.  I think
that if enough of us send in comments, they'll re-open the submission.

Where did you mail~ usually there's a link like "tell us your opinion" etc etc, 
but I could not see one on that page.

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


Re: Blocking traffic by Mac address using IPFW

2007-01-25 Thread Kevin Kinsey

Tek Bahadur Limbu wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Dear All,

I need some help regarding using IPFW to block specific MAC addresses.
How do I block incoming traffic by a MAC address instead of an IP
address.

Can this be done using IPFW? Since I am quite new to FreeBSD, can
somebody shed some light on this issue?


Yes, it appears that ipfw(8) can do this --- check the manpage (quite a 
ways down, in the RULE OPTIONS section [ about byte 45000] for full 
details; note also that there may be other issues involved.  Here is a 
short thread on the subject from a couple of years ago:


http://lists.freebsd.org/pipermail/freebsd-ipfw/2004-September/001375.html

Disclaimer: IANAE, and don't play one on television ;-)

HTH,

Kevin Kinsey
--
Heisenberg may have been here.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BBC debate "Battle of the operating systems"

2007-01-25 Thread Bill Moran
In response to Robin Becker <[EMAIL PROTECTED]>:

> The BBC is to host a debate on multiple OSes.
> 
> http://news.bbc.co.uk/2/hi/technology/6288119.stm
> 
> They want one individual to represent each OS. Apparently they only want 
> Vista, 
> OS X and Linux, but I don't see why we can't press for FreeBSD.

I sent them a comment about how FreeBSD should be included.  I think
that if enough of us send in comments, they'll re-open the submission.

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


Re: BBC debate "Battle of the operating systems"

2007-01-25 Thread Robin Becker

Robin Becker wrote:

The BBC is to host a debate on multiple OSes.

http://news.bbc.co.uk/2/hi/technology/6288119.stm

They want one individual to represent each OS. Apparently they only want 
Vista, OS X and Linux, but I don't see why we can't press for FreeBSD.


unfortunately they already closed the applications so I guess FreeBSD will have 
to remain partially represented by some McFanBoy.

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


RE: BBC debate "Battle of the operating systems"

2007-01-25 Thread Grzegorz Pluta
People from the media doesnt know that FreeBSD Unix exists.
All they talk about is windows and linux not really knowing the
difference... Its all stimulated by the apereance of windows vista. People
feel like discussing about it. Everyone knows that windows is ble and linux
is cool, that Bill getes is st00pid and Linus is smart.
Such public discussions wont bring anything new apart from dyletant
discussions in media.

Professionals will always kknow about FreeBSD and that's what matters, no?

Cheers,
greg

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Robin Becker
> Sent: Thursday, January 25, 2007 2:27 PM
> To: freebsd-questions@freebsd.org
> Subject: BBC debate "Battle of the operating systems"
> 
> The BBC is to host a debate on multiple OSes.
> 
> http://news.bbc.co.uk/2/hi/technology/6288119.stm
> 
> They want one individual to represent each OS. Apparently they only want
> Vista,
> OS X and Linux, but I don't see why we can't press for FreeBSD.
> --
> Robin Becker


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


BBC debate "Battle of the operating systems"

2007-01-25 Thread Robin Becker

The BBC is to host a debate on multiple OSes.

http://news.bbc.co.uk/2/hi/technology/6288119.stm

They want one individual to represent each OS. Apparently they only want Vista, 
OS X and Linux, but I don't see why we can't press for FreeBSD.

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


Re: FreeBSD challenged by Internet

2007-01-25 Thread Ted Mittelstaedt

- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: 
Sent: Wednesday, January 24, 2007 12:40 AM
Subject: Re: FreeBSD challenged by Internet


> > > > > > What I don't get is I see guys walking in
> > > > > > dropping $1000 on associated Mac hardware crap
> > > ...
> > > > > The most expensive system around here is a Mac Sawtooth that cost
> > > > > $225 -- including a 17" monitor -- last September.  The (Dell)
> > > > > FreeBSD box I'm using at the moment cost $10 at a flea market,
> > > ...
> > > > This is a totally unfair comparison.  They guy dropping $1K on a
> > > > Mac is walking out with a machine that is fully configured and
> > > > ready to run.
> > >
> > > As was the Sawtooth.
> >
> > Hmm - "Mac Sawtooth" to me is a circa 1999 Power Mac G4.
> > I think we are talking about something different since you
> > couldn't possibly be just buying used devices and -not-
> > nuking and repaving.. or could you?
>
> The seller wiped the drives and reloaded the OS.  When I turned
> it on, I got the "new MacOS" sequence -- or whatever it might
> officially be called -- just as if it had been brand-new from
> Apple.  I suppose the seller figured that the $225 he charged
> was sufficient to cover both the value of the hardware and his
> time reinitializing it.
>

Well I'd have to say based on my experience with used gear that
this was a rarity.

> > > > When you get an old clunker by the time you tally up the time you
> > > > have spent on getting it ready to run, your at the same amount.
> > > ...
> > > > Skilled UNIX tech time is at min $95 an hour.  Your talking a
> > > > min of 4 hours to get a Goodwill find up and going on FreeBSD
> > > > by the time you work out the quirks, assuming that the ram in it
> > > > doesen't have a flaw and the disk is good, if you have to replace
> > > > that stuff you count the hours it takes to drive to Fry's and
> > > > back, buy the disk, etc..  well your getting pretty close to that
> > > > $1K in my book.
> > >
> > > It took me *zero* more time to get this box (Dell #1) ready for
> > > FreeBSD than if it had come direct from Dell with Windoze preloaded.
> >
> > Not fair - you aren't including the time spent "preloading" FreeBSD.
>
> Totally fair, if the goal is to end up with a FreeBSD system.
>

The 2 systems, Windows or FreeBSD, cost the same.  That is,
assuming that time=money.  Which everyone does, except for those
who have so much money they don't have to work for a living, or
those who have nothing and are perectly content to live with - nothing.

It is like owning property.  One person can have a plot he bought 40
years ago for $5000  Right next to it another person can have the same
size plot that's similar features he bought for $100K a week ago.

The tax man is not going to say to the first person that your plot is only
worth $5K  The plot has equity in it that makes it just as expensive as
the $100K plot.

Sure, you can go pull an old system and load FreeBSD on it and pay
maybe $50 out of pocket.  But the running system that results cost
nearly the same as the new Windows system because it has the equity in it
that you built up over the years in learning about FreeBSD.  To
anyone that has no specialized FreeBSD experience, which is 99.9% of
the population, to obtain that running FreeBSD system they either have
to pay the time/money to learn how to build it, or pay someone to build
it for them.

I can flip this the other way.  I've been doing FreeBSD and Windows
for years and have a big collection of install CDs and floppies for
each.  I can take that same old clunker you got for $20 and build
a complete Windows system plus Microsoft Office on it, that will
work perfectly well.  Sure, it might be Windows 98 since that runs
on the old clunker and Win XP doesen't.  Sure it is pirated software
rather than freeware (since Win98 isn't available anymore)  but
the market doesen't give a crap about that as long as they seem
to be sucking down used Macs with upgraded MacOS on them that come
without install CD's and old PC clones with Windows on them that
come without Windows install CD's.  (not that I'm saying your Sawtooth
didn't come
with install CD's but you know perfectly well most of the used
computers out there do not come with install CDs for the version of
operating system that is running on them when they are sold.)

> > The entire point is of the labor to get it to where you can start
> > the userland configuration.  Not to get it to where you can insert
> > the operating system install CD and boot it.
> >
> > When you buy them new, the windows is already loaded and ready to
> > start the userland configuration (which in my experience mainly
> > consists of uninstalling all the trialware and crap on them)
>
> Yeah, if you want a !!@@##$$ Windoze box, but AFAIK you can't go
> out and buy a box with FreeBSD preloaded and ready for userland
> configuration (and kernel hacking :)  Linux, maybe, but not any
> of the *BSD.  It takes *z

man sysinstall

2007-01-25 Thread BSD Certification Team
Hello all,

The man page for sysinstall is pretty out of date.  I
am trying to PXE boot to an unattended install.

I figured out that I needed to add dists=base kernels
GENERIC even though kernels and GENERIC are not in the
list in the man page.

Is there anyone in charge of updating this
information?  I have never submitted an update.

Also the sample at
/usr/src/usr.sbin/sysinstall/install.cfg is no longer
up to date and does not work with 6.2-Release.  Does
anyone have a better up-to-date sample that could be
used?

Thanks,

Jared


 

Don't get soaked.  Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [OT] What does this pipe do?

2007-01-25 Thread Oliver Fromme

[EMAIL PROTECTED] wrote:
 > Oliver Fromme wrote:
 > > 
 > > Just for completeness, ">&" (file) and ">|" (pipe) are also
 >   ^^

Sorry, that was just a typo.  I meant ">&" and "|&", of course.

Best regards
   Oliver

-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"The scanf() function is a large and complex beast that often does
something almost but not quite entirely unlike what you desired."
-- Chris Torek
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeRadius + mpd + Postgresql. lost connections

2007-01-25 Thread Данила Полубоярцев

I have VPN-server based on FreeBSD 6.2 + FreeRadius (1.1.4_1) + mpd (3.18_5)
+ PostgreSQL(8.2.1).
It works fine until any user try to enter invalid pair "login/password".
After that nobody can connect to VPN-server.
Moreover, all of opened at that moment connections are lost.

I think that problem with radius + Postgresql configuration, and I do not
know as to solve it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HP Embedded SATA RAID controller (FreeBSD 6.2)

2007-01-25 Thread George Vanev


- Original Message - 
From: "Ted Mittelstaedt" <[EMAIL PROTECTED]>
To: "George Vanev" <[EMAIL PROTECTED]>; "FreeBSD Questions" 


Sent: Thursday, January 25, 2007 10:57 AM
Subject: Re: HP Embedded SATA RAID controller (FreeBSD 6.2)




Hi George!

Common problem.  The issue isn't that the FreeBSD driver cannot talk
to the SATA controller.  It can do that just fine.

The problem is that HP is using a modified metadata format on the
disk drives.

What you need to do is go into the Proliant BIOS and DISABLE
the SATA raid.  This of course means any raid arrays, mirrored or
otherwise, that you have created, cannot be used from BIOS.  Just
leave the BIOS settings so that the SATA controller is enabled, but
the RAID on the SATA controller isn't.

Then boot FreeBSD 6.2.  It will see 2 disk drives.  (or more or however
many you got)

Now, if you want a raid mirror here is what you do.  Load a scratch
install of FreeBSD 6.2 on the first disk.  Run atacontrol to create a
mirror on both disks.  This writes out a metadata format that FreeBSD's
disk driver understands.  This will trash your freebsd install of course.
No problem.  Reboot from the installation CD and now you will see
the 2 disks, plus ar0 (the mirror)   Install to that and your all set.

Basically the only difference between doing it HP's way by creating
the RAID from HP BIOS and doing it the FreeBSD way is that
the HP BIOS is unaware of the FreeBSD metadata format so you
cannot see or rebuild an array from BIOS that was created in
FreeBSD, and FreeBSD is unaware
of HP's metadata format so you cannot see or rebuild an array
from FreeBSD that was created in BIOS

As far as how the actual raid mirror works, it's exactly the same.
In fact, better, since you can rebuild a FreeBSD array from
FreeBSD and it's about 10 times faster than rebuilding it from
HP's BIOS.

Ted

- Original Message - 
From: "George Vanev" <[EMAIL PROTECTED]>

To: "FreeBSD Questions" 
Sent: Wednesday, January 24, 2007 4:35 AM
Subject: HP Embedded SATA RAID controller (FreeBSD 6.2)



I have HP ProLiantML 110 G3 server.
I am trying to install FreeBSD 6.2.
But it doesn't seem to recognise the RAID controller.
I don't know what exactly is the controller.
In the hp site I didn't find anything usefull,
except that this is "HP embedded SATA RAID controller"
Not much, uh?!

Any one could help?!
Regards
--
George Vanev

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

"[EMAIL PROTECTED]"








Just great!!!
Thanks a lot!!!

But still it will use the hardware RAID controller, right?!
It is not a software RAID, I hope. 



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


Blocking traffic by Mac address using IPFW

2007-01-25 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Dear All,

I need some help regarding using IPFW to block specific MAC addresses.
How do I block incoming traffic by a MAC address instead of an IP
address.

Can this be done using IPFW? Since I am quite new to FreeBSD, can
somebody shed some light on this issue?




- -- 


With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFFuH/RVrOl+eVhOvYRAhdCAJwLVoPRkuw1gTXosLDsIC0HQUsoYgCeK402
90HvaqCMIcg9T7GzGl1PlDs=
=7Mft
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HP Embedded SATA RAID controller (FreeBSD 6.2)

2007-01-25 Thread Ted Mittelstaedt

Hold on there.  HP makes SCSI and SATA versions of many of their
servers, the model numbers are almost identical between them.  I think
the only difference in the servers is the SCSI ones have an additional
card.

Now, before you go any further on Windows drivers you got to understand
something.  Win XP came out before SATA and Microsquash never put
in the primitives to support the higher SATA speeds in XP.  So in order
to get faster speed you gotta write your Windows driver to look like a
SCSI miniport driver.  MS also don't certify SATA for WCHL so if you
are selling SATA raid chipsets and you want to slap their filthy WCHL
certification sticker on your product box, once more you got to write
your driver to look like a SCSI driver.

You take a very serious risk whenever you compare features of
windows drivers and FreeBSD drivers and attempt to draw conclusions
on hardware.

Ted


- Original Message - 
From: <[EMAIL PROTECTED]>
To: "George Vanev" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 25, 2007 12:58 AM
Subject: Re: HP Embedded SATA RAID controller (FreeBSD 6.2)


> George Vanev <[EMAIL PROTECTED]> wrote:
>
> > AHA-3985 is SCSI controller. The one I have is SATA.
> > Yes, I'm sure that it's Adaptec, but what is the model?!
> > If FreeBSD didn't recognised it during the installation
> > does that mean that it is incompatible with FreeBSD?
>
> Yes, I understand that AHA-3985 is SCSI HostRAID and that you've SATA one.
> But look at the driver for your SATA RAID for Windows. You can find in
> driver's files both 'SATA'/'Serial ATA' and 'SCSI' words. There is
> definitely 'AHA3985' string in .sys file for Windows. Maybe it was remade
> for SATA. Probably FreeBSD hasn't working driver for this SATA HostRAID
> now.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

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


Re: HP Embedded SATA RAID controller (FreeBSD 6.2)

2007-01-25 Thread Ted Mittelstaedt
I forgot to mention, ONLY install to ar0.  do NOT install to any of
the other disks that show up.

Ted

- Original Message - 
From: "Ted Mittelstaedt" <[EMAIL PROTECTED]>
To: "George Vanev" <[EMAIL PROTECTED]>; "FreeBSD Questions"

Sent: Thursday, January 25, 2007 12:57 AM
Subject: Re: HP Embedded SATA RAID controller (FreeBSD 6.2)


>
> Hi George!
>
> Common problem.  The issue isn't that the FreeBSD driver cannot talk
> to the SATA controller.  It can do that just fine.
>
> The problem is that HP is using a modified metadata format on the
> disk drives.
>
> What you need to do is go into the Proliant BIOS and DISABLE
> the SATA raid.  This of course means any raid arrays, mirrored or
> otherwise, that you have created, cannot be used from BIOS.  Just
> leave the BIOS settings so that the SATA controller is enabled, but
> the RAID on the SATA controller isn't.
>
> Then boot FreeBSD 6.2.  It will see 2 disk drives.  (or more or however
> many you got)
>
> Now, if you want a raid mirror here is what you do.  Load a scratch
> install of FreeBSD 6.2 on the first disk.  Run atacontrol to create a
> mirror on both disks.  This writes out a metadata format that FreeBSD's
> disk driver understands.  This will trash your freebsd install of course.
> No problem.  Reboot from the installation CD and now you will see
> the 2 disks, plus ar0 (the mirror)   Install to that and your all set.
>
> Basically the only difference between doing it HP's way by creating
> the RAID from HP BIOS and doing it the FreeBSD way is that
> the HP BIOS is unaware of the FreeBSD metadata format so you
> cannot see or rebuild an array from BIOS that was created in
> FreeBSD, and FreeBSD is unaware
> of HP's metadata format so you cannot see or rebuild an array
> from FreeBSD that was created in BIOS
>
> As far as how the actual raid mirror works, it's exactly the same.
> In fact, better, since you can rebuild a FreeBSD array from
> FreeBSD and it's about 10 times faster than rebuilding it from
> HP's BIOS.
>
> Ted
>
> - Original Message - 
> From: "George Vanev" <[EMAIL PROTECTED]>
> To: "FreeBSD Questions" 
> Sent: Wednesday, January 24, 2007 4:35 AM
> Subject: HP Embedded SATA RAID controller (FreeBSD 6.2)
>
>
> > I have HP ProLiantML 110 G3 server.
> > I am trying to install FreeBSD 6.2.
> > But it doesn't seem to recognise the RAID controller.
> > I don't know what exactly is the controller.
> > In the hp site I didn't find anything usefull,
> > except that this is "HP embedded SATA RAID controller"
> > Not much, uh?!
> >
> > Any one could help?!
> > Regards
> > --
> > George Vanev
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> >
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

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


Re: HP Embedded SATA RAID controller (FreeBSD 6.2)

2007-01-25 Thread applecom

George Vanev <[EMAIL PROTECTED]> wrote:


AHA-3985 is SCSI controller. The one I have is SATA.
Yes, I'm sure that it's Adaptec, but what is the model?!
If FreeBSD didn't recognised it during the installation
does that mean that it is incompatible with FreeBSD?


Yes, I understand that AHA-3985 is SCSI HostRAID and that you've SATA one.
But look at the driver for your SATA RAID for Windows. You can find in  
driver's files both 'SATA'/'Serial ATA' and 'SCSI' words. There is  
definitely 'AHA3985' string in .sys file for Windows. Maybe it was remade  
for SATA. Probably FreeBSD hasn't working driver for this SATA HostRAID  
now.

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


Re: HP Embedded SATA RAID controller (FreeBSD 6.2)

2007-01-25 Thread Ted Mittelstaedt

Hi George!

Common problem.  The issue isn't that the FreeBSD driver cannot talk
to the SATA controller.  It can do that just fine.

The problem is that HP is using a modified metadata format on the
disk drives.

What you need to do is go into the Proliant BIOS and DISABLE
the SATA raid.  This of course means any raid arrays, mirrored or
otherwise, that you have created, cannot be used from BIOS.  Just
leave the BIOS settings so that the SATA controller is enabled, but
the RAID on the SATA controller isn't.

Then boot FreeBSD 6.2.  It will see 2 disk drives.  (or more or however
many you got)

Now, if you want a raid mirror here is what you do.  Load a scratch
install of FreeBSD 6.2 on the first disk.  Run atacontrol to create a
mirror on both disks.  This writes out a metadata format that FreeBSD's
disk driver understands.  This will trash your freebsd install of course.
No problem.  Reboot from the installation CD and now you will see
the 2 disks, plus ar0 (the mirror)   Install to that and your all set.

Basically the only difference between doing it HP's way by creating
the RAID from HP BIOS and doing it the FreeBSD way is that
the HP BIOS is unaware of the FreeBSD metadata format so you
cannot see or rebuild an array from BIOS that was created in
FreeBSD, and FreeBSD is unaware
of HP's metadata format so you cannot see or rebuild an array
from FreeBSD that was created in BIOS

As far as how the actual raid mirror works, it's exactly the same.
In fact, better, since you can rebuild a FreeBSD array from
FreeBSD and it's about 10 times faster than rebuilding it from
HP's BIOS.

Ted

- Original Message - 
From: "George Vanev" <[EMAIL PROTECTED]>
To: "FreeBSD Questions" 
Sent: Wednesday, January 24, 2007 4:35 AM
Subject: HP Embedded SATA RAID controller (FreeBSD 6.2)


> I have HP ProLiantML 110 G3 server.
> I am trying to install FreeBSD 6.2.
> But it doesn't seem to recognise the RAID controller.
> I don't know what exactly is the controller.
> In the hp site I didn't find anything usefull,
> except that this is "HP embedded SATA RAID controller"
> Not much, uh?!
>
> Any one could help?!
> Regards
> --
> George Vanev
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

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


Re: HP Embedded SATA RAID controller (FreeBSD 6.2)

2007-01-25 Thread George Vanev


- Original Message - 
From: <[EMAIL PROTECTED]>

To: "George Vanev" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, January 24, 2007 10:50 PM
Subject: Re: HP Embedded SATA RAID controller (FreeBSD 6.2)



George Vanev <[EMAIL PROTECTED]> wrote:


I have HP ProLiantML 110 G3 server.
I am trying to install FreeBSD 6.2.
But it doesn't seem to recognise the RAID controller.
I don't know what exactly is the controller.
In the hp site I didn't find anything usefull, except that this is "HP  
embedded SATA RAID controller"

Not much, uh?!

Any one could help?!
Regards


It's Adaptec, probably AHA-3985 - there is an appropriate string in the  
driver.




AHA-3985 is SCSI controller. The one I have is SATA.
Yes, I'm sure that it's Adaptec, but what is the model?!
If FreeBSD didn't recognised it during the installation
does that mean that it is incompatible with FreeBSD?

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


Re: Request [Ticket#432244926]

2007-01-25 Thread carookee Support
Hello ,

which question?


Please contact us if you have further questions.

Best regards
carookee customer care staff

e-mail:   [EMAIL PROTECTED]
hotline:  +49 (0)7732 - 9409311
http://www.carookee.com


> -Ursprüngliche Nachricht-
> Von:  [mailto:[EMAIL PROTECTED]
> Gesendet: 25.01.07, 05:08
> An: [EMAIL PROTECTED]
> Betreff: Re: Request
>
> Hello!
> Please, answer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


umass(4) vs Vivitar USB camera

2007-01-25 Thread perryh
> > Does anyone happen to know where I would find a how-to for
> > downloading and displaying images from a Vivitar ViviCam 3825?
>
> That camera seems to support umass(4), so just plug it in and use it
> like a USB hard drive...

It seems not to be quite that simple :(  When I plug it in and turn
it on, the console reports (on 6.1):

  umass0: vendor 0x0784 product 0x4300, rev 1.10/3.00, addr 2
  umass0: Get Max Lun not supported (SHORT_XFER)
  umass0: Invalid CSW: sig 0x43425355 should be 0x53425355
  umass0: Invalid CSW: sig 0x43425355 should be 0x53425355
  umass0: Invalid CSW: sig 0x43425355 should be 0x53425355
  umass0: Invalid CSW: sig 0x43425355 should be 0x53425355
  umass0: Invalid CSW: sig 0x43425355 should be 0x53425355

The "Invalid CSW" message appears to originate about 2/3 of the way
into umass.c:umass_bbb_state(), and it looks as if there is a quirks
mechanism to override it, but how do I go about configuring it?
The handbook, umass(4), and "apropos quirks" all come up empty.

In case it matters, this is the report when I turn it off:

  umass0: at uhub0 port 2 (addr 2) disconnected
  umass0: detached
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"