stay up to date with ports and packages, problem

2012-05-19 Thread Beastie-Boy
Hi folks,

i ran into problems keeping my ports-collection up to date.
Although i did a portsnap fet and install i think there are obsolete an old
ports still on the disk.
I tried to compile a programm and it complained about an older version of a
depending package.
I deleted the whole ports-dir, did the fetch and extract again, problem
persists still.
Yes, i searched all the forums and read a lot about managing ports and
packages.
Right now i am stuck.
So, how do i delete really *all* ports and *all* packages at once?
Is it possible with doing a fectch and extract having the latest ports?
I was recommended to use only portmaster and not to use sysinstall after a
finished installation.
Well, i dont know.

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/stay-up-to-date-with-ports-and-packages-problem-tp570.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: stay up to date with ports and packages, problem

2012-05-19 Thread Beastie-Boy
Ok, many thanks for your replies.
I forgot to tell that i recently upgraded from 8.1 to 9.0-RELEASE.
That excplains maybe why i had obsolete/old packages/ports on my disk.
The problem i had was that gdm, gnome didnt start after the upgrade.
So i tried to build the gnome and gdm thing again via pkg_add(didnt work)
and make install clean in ports(either).
Right now i deleted all ports in /usr, deleted packages in /var and
portsnaped me the all stuff again.
After that i pkg_add -r gnome2 again and now it looks better.
Before i had problems that package-1.2.3 is needed to build an only
package-1.2.2 is installed.
Sorry i cant paste logs, bsd is running on another machine.

so long

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/stay-up-to-date-with-ports-and-packages-problem-tp570p5710066.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: apache mod_ssl chroot problem

2007-10-17 Thread Beastie
On Wed, 2007-10-17 at 13:38 +0100, Daniel Bye wrote:
 On Wed, Oct 17, 2007 at 08:46:01PM +0700, Muhammad Reza wrote:
  Dear List.
  
  I have problem running apache in chroot mode with ssl enable.
  Apache in chroot mode running fine without ssl enable, but when i try to
  start with mod_ssl enable, error occured with this message.
  
  beastie#chroot /chroot/httpd /usr/local/apache2/bin/httpd
  Apache/2.2.6 mod_ssl/2.2.6 (Pass Phrase Dialog)
  Some of your private key files are encrypted for security reasons.
  In order to read them you have to provide the pass phrases.
  
  Server beastie.mra.co.id:443 (RSA)
  Enter pass phrase:Apache:mod_ssl:Error: Private key not found.
  **Stopped
  
  and with error log
  
  [Wed Oct 17 13:37:25 2007] [error] Init: Private key not found
  [Wed Oct 17 13:37:25 2007] [error] SSL Library Error: 218710120
  error:0D094068:asn1 encoding routines:d2i_ASN1_SET:bad tag
  [Wed Oct 17 13:37:25 2007] [error] SSL Library Error: 218529960
  error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
  [Wed Oct 17 13:37:25 2007] [error] SSL Library Error: 218595386
  error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
  [Wed Oct 17 13:37:25 2007] [error] SSL Library Error: 218734605
  error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib
  [Wed Oct 17 13:38:32 2007] [error] Init: Private key not found
  [Wed Oct 17 13:38:32 2007] [error] SSL Library Error: 218710120
  error:0D094068:asn1 encoding routines:d2i_ASN1_SET:bad tag
  [Wed Oct 17 13:38:32 2007] [error] SSL Library Error: 218529960
  error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
  [Wed Oct 17 13:38:32 2007] [error] SSL Library Error: 218595386b
  error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
  [Wed Oct 17 13:38:32 2007] [error] SSL Library Error: 218734605
  error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib
  
  If i escape from chrooted enviroment, apache with mod_ssl work fine 
  
  beastie# /usr/local/apache2/bin/httpd
  Apache/2.2.6 mod_ssl/2.2.6 (Pass Phrase Dialog)
  Some of your private key files are encrypted for security reasons.
  In order to read them you have to provide the pass phrases.
  
  Server www.example.com:443 (RSA)
  Enter pass phrase:
  
  OK: Pass Phrase Dialog successful.
  
  Is there something missing here, please enlight me.
 
 The first thing that comes to mind - are your keys inside the chroot area
 you want to run apache in?
 
the key is in /chroot/httpd/usr/local/apache2/conf/  with 400 mode owner
by root
and the path in htppd-ssl.conf is 
SSLCertificateKeyFile /usr/local/apache2/conf/server.key
Is there anyway to test that my key is visible by chroot program ??

regards
Reza


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


Re: undeliverable mail

2006-12-20 Thread Beastie MRA
On Dec 20, 2006 02:00 PM, Matthew Seaman
[EMAIL PROTECTED] wrote:

Beastie MRA wrote:
On Dec 20, 2006 10:31 AM, Bill Vermillion [EMAIL PROTECTED] wrote:

It's Wed, Dec 20, 2006 at 09:26 . I'm in a small dim room with
doors labeled Dungeon and Forbidden. There is noise, the door
marked Dungeon flies open and Beastie MRA SHOUTS:

Dear All.

For past few days, my MX receive thousand of undeliverable message
destinated for my non existent user at my domain.
This message source come from valid and well configured (almost)
smtp
server on internet.
I'ts waste my internet b/w, cause my MX will reject with non
existent
user message.
I'll try spamd on my firewall and greylist on my MX (postfix), but
still
no effective, and i cannot block undeliverable
message as RFC rules

Is there any way i can fix this ?
Please help
I use the virtusertable in sendmail, and I have my valid addresses,
such as [EMAIL PROTECTED] bv and then for after that is
a line of @wjv.com nouser.

And nouser is defined in aliases as nouser: /dev/null

On one of the mail servers I maintain I just checked and I
had 260,000+ messages routed to *file* in the maillog - which
shows up as mailer=*file* in the logs. That maillog rotates
every night at midnight.

Is not really a freebsd-net problem so I removed that from the
reply to line.

Bill

--
Bill Vermillion - bv @ wjv . com

Thanks for response...

but this virtusertable will not stop SMTP server in internet to keep
send you undeliverable message.
I assume someone doing nasty with forged and use my domain email to
send
his spam message to non existing user.
and i got undeliverable message.
Is there any clue ??
Oh.. i forget to mention i use 4.11-STABLE for my MX

Hmmm... SPF records are a good tool against this sort of thing.
Perhaps if you change from:

mra.co.id. v=spf1 mx 

to

mra.co.id. v=spf1 mx -all

That means that SPF compliant mail servers should refuse to accept
messages (ie. a hard fail) from any machine other than the MXes for
mra.co.id See http://www.openspf.org/SPF_Record_Syntax for the full
story on SPF records.

It's not a 100% solution and it will take the spammers some time to
realise that forging your address in their e-mails is much less
effective. On the positive side, it will mean that many mailservers
reject the incoming spam during the SMTP dialog so you'll get fewer
bounce messages.

This problem exposes an architectural flaw in many e-mail server
setups. Either all of the MXes for a domain have to be able to verify
addresses on incoming e-mails and reject any non-existent destinations
during the SMTP dialog, or (like Bill does above) once a message has
been accepted by any of the mail servers for your domain, it should
never be bounced back to the (probably forged) mail address in the
headers because the recipient doesn't exist. Bouncing for other
reasons,
(like eg. mailbox over quota) does not generally add to the overall
spam
load. Normally a very simple site with just one server will get that
right,
but a more complex site with several MXes and various SMTP routers etc.
internally will frequently not.

Cheers,

Matthew

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

Thanks...

i have problem with SPF record in dns , because i have serveral mobile
users and off site users
that use SMTP provide by internet provider. and i cant list it one by
one in spf record. :(

regards
Reza

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


undeliverable mail

2006-12-19 Thread Beastie MRA
Dear All.

For past few days, my MX receive thousand of undeliverable message
destinated for my non existent user at my domain.
This message source come from valid and well configured (almost) smtp
server on internet.
I'ts waste my internet b/w, cause my MX will reject with non existent
user message.
I'll try spamd on my firewall and greylist on my MX (postfix), but still
no effective, and i cannot block undeliverable
message as RFC rules

Is there any way i can fix this ?
Please help

regards
Reza

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


Re: undeliverable mail

2006-12-19 Thread Beastie MRA
On Dec 20, 2006 10:31 AM, Bill Vermillion [EMAIL PROTECTED] wrote:

It's Wed, Dec 20, 2006 at 09:26 . I'm in a small dim room with
doors labeled Dungeon and Forbidden. There is noise, the door
marked Dungeon flies open and Beastie MRA SHOUTS:

Dear All.

For past few days, my MX receive thousand of undeliverable message
destinated for my non existent user at my domain.
This message source come from valid and well configured (almost) smtp
server on internet.
I'ts waste my internet b/w, cause my MX will reject with non existent
user message.
I'll try spamd on my firewall and greylist on my MX (postfix), but
still
no effective, and i cannot block undeliverable
message as RFC rules

Is there any way i can fix this ?
Please help

I use the virtusertable in sendmail, and I have my valid addresses,
such as [EMAIL PROTECTED] bv and then for after that is
a line of @wjv.com nouser.

And nouser is defined in aliases as nouser: /dev/null

On one of the mail servers I maintain I just checked and I
had 260,000+ messages routed to *file* in the maillog - which
shows up as mailer=*file* in the logs. That maillog rotates
every night at midnight.

Is not really a freebsd-net problem so I removed that from the
reply to line.

Bill

--
Bill Vermillion - bv @ wjv . com

ThanksĀ  for response...

but this virtusertable will not stop SMTP server in internet to keep
send you undeliverable message.
I assume someone doing nasty with forged and use my domain email to send
his spam message to non existing user.
and i got undeliverable message.
Is there any clue ??
Oh.. i forget to mention i use 4.11-STABLE for my MX

regards
Reza



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


NMI ISA 34, EISA ff

2006-10-05 Thread beastie
dear All.

My new IBM-X Series 336 always booting periodicaly after this kernel message
NMI ISA 34, EISA ff at FreeBSD-6.1 Stable #0.
Is there any way to solved this problem. ??

please help

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


Re: SATA Raid (stress test..)

2006-03-07 Thread Beastie

Nikolas Britton wrote:


On 3/5/06, Beastie [EMAIL PROTECTED] wrote:
 


Nikolas Britton wrote:
On 3/3/06, Alex Zbyslaw [EMAIL PROTECTED] wrote:
   



 


Nikolas Britton wrote:
   




 


Please can you be careful when you attribute your comments. You've sent
   


this
 


email to me, and left only my name in the attributions as if I
   


were
 


someone suggesting either dd or diskinfo as accurate benchmarks,
   


when in
 


fact my contribution was to suggest unixbench and sandra-lite.
   


Maybe you
 


hate those too, in which case you can quote what I said
   


in-context and
 


rubbish that at your pleasure.
   





 


Yes I see your point, it does look like I'm replying to something you
   


wrote.
 


This was a oversight and I am sorry.
   





 


OK.
   




 


Remember that 105MB/s number I quoted above?, that's just the
   


sustained read
 


transfer rate for a big ass file, I don't need to work
   


with big ass files. I
 


need to work with 15MB files (+/- 5MB). After
   


buying the right disks,
 


controller, mainboard etc. and lots of tuning
   


with the help of iozone I get:
 


200 - 350MB/s overall (read, write,
   


etc.) for files less then or equal to
 


64MB*.
   



So anyways, that's what iozone can do for you. google it and
 


you'll
   


find out more stuff about it.



 


Thanks for the info. I think I can only dream about numbers like like
   


yours.
 


Iozone looks to be in the ports so I see some of my weekend
   


disappearing
 


looking at it :-)
   




 


It runs on over two dozen operating systems, including windows. Their are
two primary reasons I can get such high transfer rates from simple SATA
drives. The first one was the selection of the mainboard that had a PCI-X
slots, I built this system before PCI-Express mainboards and controllers hit
the market. The PCI bus is severely restricted and obsolete, I'm simply
going to post the theoretical maximum throughput in MB/s for the various bus
standards: f(x,y) = x-bits * y-MHz / 8 = maximum theoretical throughput in
MB/s PCI: 32 bits * 33 Mhz / 8 = 132 MB/s (standard PCI bus found on every
pc) PCI: (32bits, 66MHz) = 264MB/s (Cards are commonplace, mainboards
aren't) PCI-X: (64, 33) = 264MB/s (obsolete, won't find it on new boards.)
PCI-X: (64, 66) = 528MB/s (Commonplace.) PCI-X: (64, 100) = 800 PCI-X: (64,
133) = 1064 (Commonplace.) PCI-X: (64, 266) = 2128 PCI-X: (64, 533) = 4264
(very hard to find, even on high-end equipment.) PCI-X version 1 (66MHz -
133MHz) and PCI-X version 2 (266MHz - 533MHz). PCI-X is backwards compatible
with PCI and slower versions of PCI-X, for example you can put a standard
PCI card in a PCI-X 533MHz slot and it will simply run at (32, 33) similarly
a 66 MHz PCI card will run at (32, 66) and so on and so forth. PCI-X is also
forwards compatible in the fact that you can run a 133MHz PCI-X card in a
standard (32, 33) PCI slot. Because of the backwards and an forwards
compatibly I feel that PCI-X is superior to PCI-Express, *BUT* PCI-Express
moving forwards is far far superior to PCI  PCI-X because it does not have
13 years of legacy to remain compatible with, it's cheaper to produce, and
it's already in lower-end desktop systems as a replacement for AGP thanks to
all the gamers. A few years from now PCI will end up where ISA / EISA are.
I'm veering way off topic so I will not go into anymore details about PCI,
PCI-X, and PCI-Express. Google around for the shortcomings of PCI / PCI-X
and why PCI-Express is the future. PCI-Express: PCIe is not compatible with
PCI or PCI-X (except for PCIe to PCI bridging) and it's just, well, totally
different from the PCI spec and I'm already way off topic so again just
google the details. It's theoretical maximums are expressed in Gigabits per
second but I will convert them to MB/s for comparison with PCI and PCI-X.
x1: 2.5Gbps = 312.5MB/s x2: 625MB/s x4: 1250MB/s x8: 2500MB/s x12: 3750MB/s
x16: 5000MB/s x32: 1MB/s Anyways back on topic, what was the topic? Oh
yes, why you won't see 200MB/s - 350MB/s if your using a standard PCI slot.
If you look back up all the way at the top you will see that the standard
PCI bus is a crap shoot and that it's limited to a theoretical maximum of
132 MB/s. What this means is that your RAID controller and the disks
attached to it and the cache buffers attached to the disks are all capped at
that theoretical maximum of 132MB/s. Then you have to take into account that
the PCI bus is shared with other devices such as the network card, video
card, USB, etc. Your RAID controller has to fight will all these devices and
a 1Gbit NIC card can eat up 125MB/s (12.5MB/s for a 100Mbit NIC). The next
reason for those high gains is because I picked drives with 16MB cache
buffers and that I'm insane enough to run a production server with the
write-back cache policy enabled on the array controller and enabling the
write cache on the disks. This is stupidly insane unless you've planned for
the worsts

Re: SATA Raid (stress test..)

2006-03-05 Thread Beastie

Nikolas Britton wrote:


On 3/3/06, Alex Zbyslaw [EMAIL PROTECTED] wrote:
 


Nikolas Britton wrote:

   


Please can you be careful when you attribute your comments.  You've sent
this email to me, and left only my name in the attributions as if I
were someone suggesting either dd or diskinfo as accurate benchmarks,
when in fact my contribution was to suggest unixbench and sandra-lite.
Maybe you hate those too, in which case you can quote what I said
in-context and rubbish that at your pleasure.


   


Yes I see your point, it does look like I'm replying to something you
wrote. This was a oversight and I am sorry.


 


OK.

   


Remember that 105MB/s number I quoted above?, that's just the
sustained read transfer rate for a big ass file, I don't need to work
with big ass files. I need to work with 15MB files (+/- 5MB). After
buying the right disks, controller, mainboard etc. and lots of tuning
with the help of iozone I get: 200 - 350MB/s overall (read, write,
etc.) for files less then or equal to 64MB*.

So anyways, that's what iozone can do for you. google it and you'll
find out more stuff about it.


 


Thanks for the info.  I think I can only dream about numbers like like
yours.  Iozone looks to be in the ports so I see some of my weekend
disappearing looking at it :-)

   



It runs on over two dozen operating systems, including windows. Their
are two primary reasons I can get such high transfer rates from simple
SATA drives. The first one was the selection of the mainboard that had
a PCI-X slots, I built this system before PCI-Express mainboards and
controllers hit the market. The PCI bus is severely restricted and
obsolete, I'm simply going to post the theoretical maximum throughput
in MB/s for the various bus standards:

f(x,y) = x-bits * y-MHz / 8 = maximum theoretical throughput in MB/s

PCI: 32 bits * 33 Mhz / 8 = 132 MB/s (standard PCI bus found on every pc)
PCI: (32bits, 66MHz) = 264MB/s (Cards are commonplace, mainboards aren't)
PCI-X: (64, 33) = 264MB/s (obsolete, won't find it on new boards.)
PCI-X: (64, 66) = 528MB/s (Commonplace.)
PCI-X: (64, 100) = 800
PCI-X: (64, 133) = 1064 (Commonplace.)
PCI-X: (64, 266) = 2128
PCI-X: (64, 533) = 4264 (very hard to find, even on high-end equipment.)

PCI-X version 1 (66MHz - 133MHz) and PCI-X version 2 (266MHz -
533MHz). PCI-X is backwards compatible with PCI and slower versions of
PCI-X, for example you can put a standard PCI card in a PCI-X 533MHz
slot and it will simply run at (32, 33) similarly a 66 MHz PCI card
will run at (32, 66) and so on and so forth. PCI-X is also forwards
compatible in the fact that you can run a 133MHz PCI-X card in a
standard (32, 33) PCI slot. Because of the backwards and an forwards
compatibly I feel that PCI-X is superior to PCI-Express, *BUT*
PCI-Express moving forwards is far far superior to PCI  PCI-X because
it does not have 13 years of legacy to remain compatible with, it's
cheaper to produce, and it's already in lower-end desktop systems as a
replacement for AGP thanks to all the gamers. A few years from now PCI
will end up where ISA / EISA are. I'm veering way off topic so I will
not go into anymore details about PCI, PCI-X, and PCI-Express. Google
around for the shortcomings of PCI / PCI-X and why PCI-Express is the
future.

PCI-Express: PCIe is not compatible with PCI or PCI-X (except for PCIe
to PCI bridging) and it's just, well, totally different from the PCI
spec and I'm already way off topic so again just google the details.
It's theoretical maximums are expressed in Gigabits per second but I
will convert them to MB/s for comparison with PCI and PCI-X.

x1: 2.5Gbps = 312.5MB/s
x2: 625MB/s
x4: 1250MB/s
x8: 2500MB/s
x12: 3750MB/s
x16: 5000MB/s
x32: 1MB/s

Anyways back on topic, what was the topic? Oh yes, why you won't see
200MB/s - 350MB/s if your using a standard PCI slot. If you look back
up all the way at the top you will see that the standard PCI bus is a
crap shoot and that it's limited to a theoretical maximum of 132 MB/s.
What this means is that your RAID controller and the disks attached to
it and the cache buffers attached to the disks are all capped at that
theoretical maximum of 132MB/s. Then you have to take into account
that the PCI bus is shared with other devices such as the network
card, video card, USB, etc. Your RAID controller has to fight will all
these devices and a 1Gbit NIC card can eat up 125MB/s (12.5MB/s for a
100Mbit NIC).

The next reason for those high gains is because I picked drives with
16MB cache buffers and that I'm insane enough to run a production
server with the write-back cache policy enabled on the array
controller and enabling the write cache on the disks. This is stupidly
insane unless you've planned for the worsts. The worst case scenario
would be that you corrupt the array into an unrepairable state and
loose everything if you had a power failure.



--
BSD Podcasts @ http://bsdtalk.blogspot.com/

Re: SATA Raid (stress test..)

2006-03-02 Thread Beastie




Your performance sucks because, to quote the manual, Input data is 
read and written in 512-byte blocks.


Try a sensible blocksize.  16k would mimic a standard file system 
block, but even that is likely to underestimate.  If you were, say, 
copying the disk to another you could easily use 1Mb.


Some examples:

dd if=/dev/ad10s1a of=/dev/null
^C794830+0 records in
794830+0 records out
406952960 bytes transferred in 164.049297 secs (2480675 bytes/sec)

dd if=/dev/ad10s1a of=/dev/null bs=16k
^C53745+0 records in
53745+0 records out
880558080 bytes transferred in 21.092098 secs (41748245 bytes/sec)

So from 2Mb/s to 41Mb/s!

dd if=/dev/ad10s1a of=/dev/null bs=1m
^C933+0 records in
933+0 records out
978321408 bytes transferred in 13.836165 secs (70707556 bytes/sec)


And up to 70Mb/s though nothing real world is likely to achieve that.


There are a whole slew of ports (/usr/ports/benchmarks) some of which 
do disk tests.  I've used unixbench in the past, which is a bit of a 
faff and does more than disks, but it works.  If you run windows on 
the box and want graphical benchtests, then there are free apps out 
there that will do tests on disks, like Sandra.


--Alex


second tools is diskinfo, but i'm not quite happy with the result.

#diskinfo -t /dev/amrd0s1d
/dev/amrd0s1d
   512 # sectorsize
   96609024# mediasize in bytes (931G)
   1953118377  # mediasize in sectors
   121575  # Cylinders according to firmware.
   255 # Heads according to firmware.
   63  # Sectors according to firmware.

Seek times:
   Full stroke:  250 iter in   5.233346 sec =   20.933 msec
   Half stroke:  250 iter in   3.828152 sec =   15.313 msec
   Quarter stroke:   500 iter in   6.232849 sec =   12.466 msec
   Short forward:400 iter in   2.409001 sec =6.023 msec
   Short backward:   400 iter in   2.594473 sec =6.486 msec
   Seq outer:   2048 iter in   0.638372 sec =0.312 msec
   Seq inner:   2048 iter in   0.671994 sec =0.328 msec
Transfer rates:
   outside:   102400 kbytes in   1.102065 sec =92916 kbytes/sec
   middle:102400 kbytes in   1.209657 sec =84652 kbytes/sec
   inside:102400 kbytes in   1.912485 sec =53543 kbytes/sec



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


Re: SATA Raid (stress test..)

2006-03-01 Thread Beastie

Beastie wrote:


Beastie wrote:


Robert Uzzi wrote:


That still dosen't connedt SATA to a non sata board though. That's my
situation I have 6 SATA drives but no SATA native board. Looking for a
cheap addin card to build this upon.

 

 

I'll buy Intel SRCS16 (500$) this week, will talk to u later about 
it's compatibility and performance for RAID 5 with 4 SATA drive.


regards
reza

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




FreeBSD-6.0 known this device. (Intel SE7320 EP2)
---snip--
amrd0: LSILogic MegaRAID logical drive on amr0
amrd0: 1430511MB (2929686528 sectors) RAID 5 (optimal)
ar0: 76228MB LSILogic v3 MegaRAID RAID1 status: READY
ar0: disk0 READY (master) using ad4 at ata2-master
ar0: disk1 READY (mirror) using ad6 at ata3-master
---snap---

System now work with RAID

df -h
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/ar0s1a  496M 55M401M12%/
devfs1.0K1.0K  0B   100%/dev
/dev/ar0s1d  496M 12K456M 0%/tmp
/dev/ar0s1e   67G419M 61G 1%/usr
/dev/amrd0s1d1.3T 12M1.2T 0%/var
/dev/acd0651M651M  0B   100%/cdrom


My questiin is now, how do i  test SATA RAID performance ?
Is there any tools or program to do some benchmark ?

please help me...

regards
reza




I try to test with dd simple command

dd if=/dev/amrd0s1d of=/dev/null
^C31297+0 records in
31297+0 records out
16024064 bytes transferred in 7.970548 secs (2010409 bytes/sec)

the result is very slow performance (-+ 2 Mbytes/sec), with write cache 
enable on drive. :(


regards
reza


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


Re: SATA Raid (stress test..)

2006-03-01 Thread Beastie




Your performance sucks because, to quote the manual, Input data is 
read and written in 512-byte blocks.


Try a sensible blocksize.  16k would mimic a standard file system 
block, but even that is likely to underestimate.  If you were, say, 
copying the disk to another you could easily use 1Mb.


Some examples:

dd if=/dev/ad10s1a of=/dev/null
^C794830+0 records in
794830+0 records out
406952960 bytes transferred in 164.049297 secs (2480675 bytes/sec)

dd if=/dev/ad10s1a of=/dev/null bs=16k
^C53745+0 records in
53745+0 records out
880558080 bytes transferred in 21.092098 secs (41748245 bytes/sec)

So from 2Mb/s to 41Mb/s!

dd if=/dev/ad10s1a of=/dev/null bs=1m
^C933+0 records in
933+0 records out
978321408 bytes transferred in 13.836165 secs (70707556 bytes/sec)


And up to 70Mb/s though nothing real world is likely to achieve that.


There are a whole slew of ports (/usr/ports/benchmarks) some of which 
do disk tests.  I've used unixbench in the past, which is a bit of a 
faff and does more than disks, but it works.  If you run windows on 
the box and want graphical benchtests, then there are free apps out 
there that will do tests on disks, like Sandra.


--Alex


second tools is diskinfo, but i'm not quite happy with the result.

#diskinfo -t /dev/amrd0s1d
/dev/amrd0s1d
   512 # sectorsize
   96609024# mediasize in bytes (931G)
   1953118377  # mediasize in sectors
   121575  # Cylinders according to firmware.
   255 # Heads according to firmware.
   63  # Sectors according to firmware.

Seek times:
   Full stroke:  250 iter in   5.233346 sec =   20.933 msec
   Half stroke:  250 iter in   3.828152 sec =   15.313 msec
   Quarter stroke:   500 iter in   6.232849 sec =   12.466 msec
   Short forward:400 iter in   2.409001 sec =6.023 msec
   Short backward:   400 iter in   2.594473 sec =6.486 msec
   Seq outer:   2048 iter in   0.638372 sec =0.312 msec
   Seq inner:   2048 iter in   0.671994 sec =0.328 msec
Transfer rates:
   outside:   102400 kbytes in   1.102065 sec =92916 kbytes/sec
   middle:102400 kbytes in   1.209657 sec =84652 kbytes/sec
   inside:102400 kbytes in   1.912485 sec =53543 kbytes/sec


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


Re: SATA Raid (stress test..)

2006-02-28 Thread Beastie

Beastie wrote:


Robert Uzzi wrote:


That still dosen't connedt SATA to a non sata board though. That's my
situation I have 6 SATA drives but no SATA native board. Looking for a
cheap addin card to build this upon.

 

 

I'll buy Intel SRCS16 (500$) this week, will talk to u later about 
it's compatibility and performance for RAID 5 with 4 SATA drive.


regards
reza

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




FreeBSD-6.0 known this device. (Intel SE7320 EP2)
---snip--
amrd0: LSILogic MegaRAID logical drive on amr0
amrd0: 1430511MB (2929686528 sectors) RAID 5 (optimal)
ar0: 76228MB LSILogic v3 MegaRAID RAID1 status: READY
ar0: disk0 READY (master) using ad4 at ata2-master
ar0: disk1 READY (mirror) using ad6 at ata3-master
---snap---

System now work with RAID

df -h
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/ar0s1a  496M 55M401M12%/
devfs1.0K1.0K  0B   100%/dev
/dev/ar0s1d  496M 12K456M 0%/tmp
/dev/ar0s1e   67G419M 61G 1%/usr
/dev/amrd0s1d1.3T 12M1.2T 0%/var
/dev/acd0651M651M  0B   100%/cdrom


My questiin is now, how do i  test SATA RAID performance ?
Is there any tools or program to do some benchmark ?

please help me...

regards
reza


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


Re: SATA Raid

2006-02-15 Thread Beastie

Robert Uzzi wrote:


That still dosen't connedt SATA to a non sata board though. That's my
situation I have 6 SATA drives but no SATA native board. Looking for a
cheap addin card to build this upon.

 

 

I'll buy Intel SRCS16 (500$) this week, will talk to u later about it's 
compatibility and performance for RAID 5 with 4 SATA drive.


regards
reza

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


Re: IntelSRCS16 SATA RAID Controller

2006-02-14 Thread Beastie

Thanks Ted..

I would like to buy entry server board form Intel , IntelSE3720EP2.

regards
reza


Please supply the motherboard model number you are looking at.

Ted

 


-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] Behalf Of Beastie

Sent: Monday, February 13, 2006 3:51 AM
To: freebsd-questions@freebsd.org
Subject: IntelSRCS16 SATA RAID Controller


Dear List..

Is there any compatibility issue regarding IntelSRCS16 SATA RAID 
Controller with FreeBSD-6.0 Stable ?
I'm planning to buy one, but first, ask for experience user in 
this list 
for it's compatibility and performance.

Please enlight me.

regards
reza

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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.6/257 - Release Date: 
2/10/2006


   


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


IntelSRCS16 SATA RAID Controller

2006-02-13 Thread Beastie

Dear List..

Is there any compatibility issue regarding IntelSRCS16 SATA RAID 
Controller with FreeBSD-6.0 Stable ?
I'm planning to buy one, but first, ask for experience user in this list 
for it's compatibility and performance.

Please enlight me.

regards
reza

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


Re: freeradius freebsd-6.0

2006-01-12 Thread Beastie

Odhiambo Washington wrote:


* On 12/01/06 10:26 +0700, Beastie wrote:
 


Dear List.

I try to running freeradius 1.0.5 on FreeBSD-6.0 Stable.
freeradius install from latest port, installation was successfull.
but i can't see the server is running and working.
ps ax | grep radius or netsat -ta | grep radius came with no result,  
after starting service from rc startup file provided or via command line 
tools radiusd.
   



Maybe the startup script wants you to add an entry in /etc/rc.conf if
it relies on the rcNG.
Read that script and see what is inside.


http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
   |\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
  |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
 '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

His great aim was to escape from civilization, and, as soon as he had
money, he went to Southern California.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

 


Thanks...
this my rc.conf

beastie# cat /etc/rc.conf | grep radius
radiusd_enable=YES

but it still not running..

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


freeradius freebsd-6.0

2006-01-11 Thread Beastie

Dear List.

I try to running freeradius 1.0.5 on FreeBSD-6.0 Stable.
freeradius install from latest port, installation was successfull.
but i can't see the server is running and working.
ps ax | grep radius or netsat -ta | grep radius came with no result,  
after starting service from rc startup file provided or via command line 
tools radiusd.


this is my radiusd -X

beastie# radiusd -X
Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /usr/local/etc/raddb/proxy.conf
Config:   including file: /usr/local/etc/raddb/clients.conf
Config:   including file: /usr/local/etc/raddb/snmp.conf
Config:   including file: /usr/local/etc/raddb/eap.conf
Config:   including file: /usr/local/etc/raddb/sql.conf
main: prefix = /usr/local
main: localstatedir = /var
main: logdir = /var/log
main: libdir = /usr/local/lib
main: radacctdir = /var/log/radacct
main: hostname_lookups = no
main: max_request_time = 30
main: cleanup_delay = 5
main: max_requests = 1024
main: delete_blocked_requests = 0
main: port = 0
main: allow_core_dumps = no
main: log_stripped_names = no
main: log_file = /var/log/radius.log
main: log_auth = no
main: log_auth_badpass = no
main: log_auth_goodpass = no
main: pidfile = /var/run/radiusd/radiusd.pid
main: user = nobody
main: group = shadow
main: usercollide = no
main: lower_user = no
main: lower_pass = no
main: nospace_user = no
main: nospace_pass = no
main: checkrad = /usr/local/sbin/checkrad
main: proxy_requests = yes
proxy: retry_delay = 5
proxy: retry_count = 3
proxy: synchronous = no
proxy: default_fallback = yes
proxy: dead_time = 120
proxy: post_proxy_authorize = yes
proxy: wake_all_if_all_dead = no
security: max_attributes = 200
security: reject_delay = 1
security: status_server = no
main: debug_level = 0
read_config_files:  reading dictionary
read_config_files:  reading naslist
Using deprecated naslist file.  Support for this will go away soon.
read_config_files:  reading clients

Is there anyone can help me to fix this ?

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


ipwcontrol load firmware on boot

2005-12-27 Thread Beastie

Dear lists;

I tried to do network auto configuration by DHCP with integrated Intel
Pro Wireless 2100 wlan device (ipw2100).
I have trouble when load firmware with ipwcontrol on boot.
Initialitation script (/usr/local/etc/rc.d/ipw.sh) always execute after
network init (specify in rc.conf).
Is there any way to make ipwcontrol -i ipw0 -f
/usr/local/share/ipw-firmware/ipw.fw command execute before network
init. ?
Please help.

regards
reza




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