(no subject)

2012-06-01 Thread Thomas Mueller
On 29 May 2012 20:06,   wrote:

>    Hello,
>   I am moving away from MS products due to security a nd stability
>   concerns.  Below are the machines I use and would like to know which
>   version of FreeBSD will work best with each.  The computer s are used
>   at home and away, for e-mail, preparing documents, databases, an d
>   spredsheets, as well as, web browsing and some begining programing
>   (Perl, C, HTML, and Assembely I think).

Eitan Adler responded:

> I don't know much about the specifics but for a desktop computer I
> would go with either FreeBSD 9 or PC-BSD (perhaps with the intel kms
> patch)

I'd say go with FreeBSD 9.0, either 9.0-release or 9.0-stable snapshot.

I ddon't see any advantage in FreeBSD 8.x or earlier.

One thing I didn't like about FreeBSD < 9 was distribution sets broken into 
floppy-sized chunks (base.aa, base.ab ...)
which is no longer the case with 9.0.

For C programming, you have the choice between gcc and Clang.  

I like Gnumeric spreadsheet.


Tom
___
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: Corrections to: unable to upgrade to mysql55-server

2012-06-01 Thread Matthew Seaman
On 01/06/2012 00:32, Gene wrote:
> Actually, I did just as above except using portmanager.. Tried deleting the 
> two packages & tried again with portmaster. Still no luck. So I deleted them 
> again and installed from packages. mysql-client-5.4.. installed lib/mysql/
> libmysqlclient.so.18, but mysql-server-5.4... wanted lib/mysql/
> libmysqlclient.so.16. Finally, after giving ritual sacrifice to the backup 
> gods, I went to the ZFS snapshots and just restored directories wholesale and 
> everything is working again albeit with previous versions of mysql (and 
> postfix which also gave me fits) but with the package database entries now 
> missing (for some strange reason, I hadn't been backing up that directory. 
> You'd think I'd learn - if it ain't broke, don't fix it. 

Something is definitely not right with your system.  It really shouldn't
be that painful.

The missing package database entries can usually be recovered by forcing
a reinstall of the package over what is already on disk, but if
everything is working properly, I wouldn't worry too much about the
contents of /var/db/pkg.

I'm thinking that having the registry of installed ports in a completely
separate partition or ZFS (ie /var) to where the ports are installed
(/usr/local) is not ideal, especially when using snapshots to provide a
roll-back capability.  /usr/local/var/db/pkg perhaps?

> Still wonder what went wrong though Seems every time I try to update any 
> ports, things get broken, ports don't compile, etc., etc., ad infinitum, ad 
> nauseum. I've got to be doing something wrong. Incidentally, portmaster, when 
> updating mysql54-server reliably rebooted the system. Hmmm
> 
> Anyone know if there is a good memory test utility that can be run on FBSD 
> AMD64?

Yes -- you could well be having hardware problems.  Try a few passes of
memtest86.  It's in ports, but it's a standalone application you boot
into so concepts of compatibility with particular OSes is irrelevant.

Also do the usual stuff removing any dust or fluff that may be clogging
up the ventilation holes or heatsinks, check that you've still got a
good thermal contact between the heatsink and CPU (replace thermal
compound if necessary).  Also make sure your power supply is up to the
job.  They can fade over time, or you may have added a peripheral too
far.  [Although generally if anything here was wrong, you'ld see the
machine crashing and rebooting rather than it affecting use of the ports...]

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: MK_CLANG_IS_CC mis-formed when compiling ports

2012-06-01 Thread Anton Shterenlikht
On Thu, May 31, 2012 at 07:13:11PM -0700, Thomas D. Dean wrote:
> I built FrfeeBSD 9 with
> WITHOUT_CLANG="Yes"
> 
> When I try to build the net/bwn-firmware-kmod/
> 
> I get an error that MK_CLANG_IS_CC is mis-formed.
> 
> If I define this in make.conf, I get an error that the user may not set 
> this.
> 
> If I use 'make MK_CLANG_IS_CC="no"' the port compiles.
> 
> How do I fix this?

Why did you define WITHOUT_CLANG?

On 10.0-current amd64 I build the world/kernel
with no clang-related options:

GEN8> cat /etc/make.conf
SENDMAIL_CFLAGS+=   -I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS+=  -L/usr/local/lib
SENDMAIL_LDADD+=-lsasl2
PERL_VERSION=5.14.2
WITH_PKGNG=yes
#CC=clang
#CXX=clang++
#CPP=clang-cpp
GEN8> 

I have no problems when building bwn-firmware-kmod.


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


FreeBSD ports patch count

2012-06-01 Thread Brent Clark

Hiya

I would just like to ask / know. Did anything weird or wonderful happen on the 
FreeBSD ports.

To show you what I mean.

[root@torry /usr/home/bclark]# portaudit -F -a; portsnap fetch update; 
pkg_version -vIL=; freebsd-update  fetch install
auditfile.tbz 100% of   77 kB 6570  Bps 00m00s
New database installed.
0 problem(s) in your installed packages found.
Looking up portsnap.FreeBSD.org mirrors... 9 mirrors found.
Fetching snapshot tag from geodns-1.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Updating from Thu May 31 19:58:31 SAST 2012 to Fri Jun  1 08:51:05 SAST 2012.
Fetching 4 metadata patches... done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 4180 patches.10203040

4180 patches really !!!

I run the above command almost everyday, so the most I have ever really seen is 
300 - 400 patches. But 4180 has got me attention.

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


Re: FreeBSD ports patch count

2012-06-01 Thread Damien Fleuriot
On 6/1/12 9:49 AM, Brent Clark wrote:
> Hiya
> 
> I would just like to ask / know. Did anything weird or wonderful happen
> on the FreeBSD ports.
> 
> To show you what I mean.
> 
> [root@torry /usr/home/bclark]# portaudit -F -a; portsnap fetch update;
> pkg_version -vIL=; freebsd-update  fetch install
> auditfile.tbz 100% of   77 kB 6570  Bps
> 00m00s
> New database installed.
> 0 problem(s) in your installed packages found.
> Looking up portsnap.FreeBSD.org mirrors... 9 mirrors found.
> Fetching snapshot tag from geodns-1.portsnap.freebsd.org... done.
> Fetching snapshot metadata... done.
> Updating from Thu May 31 19:58:31 SAST 2012 to Fri Jun  1 08:51:05 SAST
> 2012.
> Fetching 4 metadata patches... done.
> Applying metadata patches... done.
> Fetching 0 metadata files... done.
> Fetching 4180 patches.10203040
> 
> 4180 patches really !!!
> 
> I run the above command almost everyday, so the most I have ever really
> seen is 300 - 400 patches. But 4180 has got me attention.
> 
> Thanks
> Brent


I may be mistaken but I would guess it has to do with the
vulnerabilities addressed in OpenSSL in the 30/05/2012 update.

I'm assuming authors have bumped their ports' revision numbers to force
a rebuild, using the patched openssl lib.

___
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: How to use an external USB3.0 drive with 4k sectors?

2012-06-01 Thread Wojciech Puchar

# mount -t ntfs -o ro /dev/da5s1  /mnt
mount_ntfs: /dev/da5s1: Invalid argument
)

your dmesg shows drive is properly detected.

seems like ntfs driver doesn't work OR MBR is't properly handled.


___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Wojciech Puchar

48TB each, roughly.  There would be a couple of units.  The pizza
boxes would be used for computational tasks, and nominally would have
8 cores and 96G+ RAM.

Obvious questions are hardware compatibility and stability.  I've set
up small FreeBSD 9 machines with ZFS roots and simple mirrors for
other tasks here, and those have been successful so far.

Observations would be appreciated.

you idea of using disks in JBOD style (no "hardware" RAID) is good, but of 
using ZFS is bad.



i would recommend you to do some real performance testing of ZFS on any 
config  under real load (workload doesn't fit cache, there are many 
different things done by many users/programs)  and compare it to 
PROPERLY done UFS config on such config (with the help of gmirror/gstripe)


if you will have better result you certainly didn't configure the latter 
case (UFS,Gmirror,gstripe) properly :)


in spite of large scale hype and promotion of this free software (which by 
itself should be red alert for you), i strongly recommend to stay away from it.


and definitely do not use it if you will not have regular backups of all 
data, as in case of failures (yes they do happen) you will just have no 
chance to repair it.


There is NO fsck_zfs! And ZFS is promoted as it "doesn't need" it.

Assuming that filesystem doesn't need offline filesystem check utility 
because it "never crash" is funny.


In the other hand i never ever heard of UFS failsystem failure that was 
not a result of physical disk failure and resulted in bad damage.
in worst case some files or one/few subdirectory landed in lost+found, and 
some recently (minutes at most) done things wasn't here.



if you still like to use it, do not forget it uses many times more CPU 
power than UFS in handling filesystem, leaving much to computation 
you want to do.


As of memory you may limit it's memory (ab)usage by adding proper 
statements to loader.conf but still it uses enormous amount of it.


with 96GB it may not be a problem for you, or it may depends how much 
memory you need for computation.




if you need help in properly configuring large storage with UFS and 
gmirror/gstripe tools then feel free to ask

___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Wojciech Puchar


I am also in charge of redesigning one of our virtual SAN's to a
FreeBSD ZFS storage system which will run well how many JBOD's can
you fit on the system?? Probably round ~100TB or so.


quite a bit more without buying overpriced things
___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Wojciech Puchar
I'm not using as huge a dataset, but I was seeing this behavior as well when 
I first set my box up.  What was happening was that ZFS was caching *lots* of 
writes, and then would dump them all to disk at once, during which time the 
computer was completely occupied with the disk I/O.


The solution (suggested from ) for me 
was:

vfs.zfs.txg.timeout="5"


both problem, and solution is very close to linux style ext2/3/4 and it's 
behaviour. And one of the main reason to moving out from this s..t to 
FreeBSD. (the other was networking)


UFS writes out complete MAXBSIZE sized chunks quickly.


all of that behaviour or linux (and probably ZFS) are because it often 
gives better result in benchmark, and people love synthetic benchmarks.

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


Re: Address to reach human operator regarding problems with list?

2012-06-01 Thread Mike Clarke
On Thursday 31 May 2012 11:06:24 Thomas Mueller wrote:
> I contacted my Internet service provider, Insight Cable, about the problem,
> and they need a copy of any message that bounces, so they can see what went
> awry.

I had the same problem a while ago with my ISP (Plusnet). Standard response 
from front line support is to say you need to send a copy of the message that 
you never had. Eventually I diverted my questions@ mail to a server that I 
had control of and relayed the messages from there to my ISP account so I 
could monitor the logs. The spam was being rejected with "552 Spam Message 
Rejected" and no information was returned to identify the email. Most of the 
rejected mail was spam but there were a small number of false positives. When 
I managed to get past the ISP's  front line support they removed the 
addresses for the false positives from the blacklist but this is only a 
temporary fix since more addresses keep wrongly finding heir way onto the 
list over time, though they do eventually drop off it again.

Plusnet use Cloudmark spam filtering and I see from the OP's headers that 
Insight also use Cloudmark so I'd expect similar things are happening there. 
I was able to stop the bounces by adding freebsd.org to the whitelist on my 
ISP account - but with the downside of seeing more spam on the list.

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


Re: FreeBSD ports patch count

2012-06-01 Thread Matthew Seaman
On 01/06/2012 09:34, Damien Fleuriot wrote:
> On 6/1/12 9:49 AM, Brent Clark wrote:
>> Hiya
>>
>> I would just like to ask / know. Did anything weird or wonderful happen
>> on the FreeBSD ports.
>>
>> To show you what I mean.
>>
>> [root@torry /usr/home/bclark]# portaudit -F -a; portsnap fetch update;
>> pkg_version -vIL=; freebsd-update  fetch install
>> auditfile.tbz 100% of   77 kB 6570  Bps
>> 00m00s
>> New database installed.
>> 0 problem(s) in your installed packages found.
>> Looking up portsnap.FreeBSD.org mirrors... 9 mirrors found.
>> Fetching snapshot tag from geodns-1.portsnap.freebsd.org... done.
>> Fetching snapshot metadata... done.
>> Updating from Thu May 31 19:58:31 SAST 2012 to Fri Jun  1 08:51:05 SAST
>> 2012.
>> Fetching 4 metadata patches... done.
>> Applying metadata patches... done.
>> Fetching 0 metadata files... done.
>> Fetching 4180 patches.10203040
>>
>> 4180 patches really !!!
>>
>> I run the above command almost everyday, so the most I have ever really
>> seen is 300 - 400 patches. But 4180 has got me attention.
>>
>> Thanks
>> Brent
> 
> 
> I may be mistaken but I would guess it has to do with the
> vulnerabilities addressed in OpenSSL in the 30/05/2012 update.
> 
> I'm assuming authors have bumped their ports' revision numbers to force
> a rebuild, using the patched openssl lib.

There might be a little of that, but most of the recent activity is
accounted for by

   * Numerous ports moving to the new OPTIONSng framework

   * Hundreds of PORTREVISION bumps after an update to graphics/png

   * Removal of old koffice ports and the import of the Calligra office
 suite to replace it.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: How to use an external USB3.0 drive with 4k sectors?

2012-06-01 Thread Jens Schweikhardt
On Thu, May 31, 2012 at 06:14:08PM -0400, Thomas Mueller wrote:
...
# I think you also need xhci driver in kernel config.  xhci is for USB 3.0.

It's there. As I said, using a USB 3 *Stick* works fine. It is recogized as 3.0
and the speed is as expected. It's the *Disk* that is not recognized. They're
both umass devices. I don't need to boot from that disk, I just want to use it
as external data storage.

I have recompiled the kernel with "device ada" and put ahci_load="YES" in
/boot/loader.conf.

When I plug the disk, the log now says

ugen4.2:  at usbus4
umass0:  on 
usbus4

only once (the old kernel would says so every 20 seconds or so). In contrast,
when I plug the stick in the same port, I get

ugen4.2:  at usbus4
umass0:  on 
usbus4
da0 at umass-sim0 bus 0 scbus8 target 0 lun 0
da0:  Removable Direct Access SCSI-5 device
da0: 400.000MB/s transfers
da0: 15082MB (30887936 512 byte sectors: 255H 63S/T 1922C)

and mounting it works. Obviously, for the disk the device nodes aren't 
created...
Is there something different between umass sticks and umass drives?

Regards,

Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
___
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"


vpn speed loss

2012-06-01 Thread Beni Brinckman
Hi,

I'm running FreeBSD 9.0-RELEASE (pc-bsd 9.0 actuallly) on amd64 and
I'm using a vpn connexion.
My problem is the enormous speed loss i'm having when I'm using the
vpn connexion.
I have tried Openvpn and mpd5 (with a pptp and l2pt connexion) and the
max speed (according to various speedtests) is 5 to 6MB.
Without the vpn I'm having 45-50 MB... My vpn service has servers in
several European countries and US, Canada, etc. The speed stays the
same.
So I don't  think it is a specific bsd problem but the lines/connexion
between ISP's.
Is this the "normal" speed when using a vpn (independently of the used
program to connect) ? Because from 45-50 back to 5-6 is a big step
backward...
Thanks for any insights here.

Beni
___
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: vpn speed loss

2012-06-01 Thread Wojciech Puchar

vpn connexion.
I have tried Openvpn and mpd5 (with a pptp and l2pt connexion) and the
max speed (according to various speedtests) is 5 to 6MB.


5-6MB = megabytes per second? megabytes per hour? per year?
be more precise.



Without the vpn I'm having 45-50 MB... My vpn service has servers in


do not expect high performance with VPN and ESPECIALLY on this protocols.

no idea really how openvpn works, but if you can choose between TCP based 
and UDP based VPN then try both.


UDP is better in protocol point of view but it may be bad for OS overhead.

TCP is better with OS overhead but may result in retransmit mess when 
there are packet loss (both native traffic is retransmitted and then 
virtual traffic)

___
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: How to use an external USB3.0 drive with 4k sectors?

2012-06-01 Thread Wojciech Puchar

I have recompiled the kernel with "device ada" and put ahci_load="YES" in
/boot/loader.conf.


you don't need ada driver for USB disk. anyway you need it for your SATA 
disk to make things fast.



and mounting it works. Obviously, for the disk the device nodes aren't 
created...
Is there something different between umass sticks and umass drives?

lost of USB devices are not really standard compliant.
___
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: How to use an external USB3.0 drive with 4k sectors?

2012-06-01 Thread Jens Schweikhardt
Hi Wojciech et al,

On Fri, Jun 01, 2012 at 10:42:53AM +0200, Wojciech Puchar wrote:
# > # mount -t ntfs -o ro /dev/da5s1  /mnt
# > mount_ntfs: /dev/da5s1: Invalid argument
# > )
# your dmesg shows drive is properly detected.

Yes, but this was only on a USB2 (two) port, and just an auxiliary
information, to show the drive is not dead or otherwise funky.
Once I get it running, I'll put an UFS2 on it.

My goal is to get it recognized on one of the two USB3 ports I have.
All I get there is
Jun  1 11:43:45 hal9000 kernel: ugen4.2:  at usbus4
Jun  1 11:43:45 hal9000 kernel: umass0:  on usbus4
and after 100 seconds:
Jun  1 11:45:26 hal9000 kernel: ugen4.2:  at usbus4 
(disconnected)
Jun  1 11:45:26 hal9000 kernel: umass0: at uhub4, port 2, addr 1 (disconnected)

There never is a device node like /dev/daN created, like it does
for the USB 3.0 *stick* I have.


Regards,

Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
___
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"


netstat: kvm_read: Bad address

2012-06-01 Thread Anton Shterenlikht
On ia64 r231193 I get:

# netstat -r
netstat: kvm_read: Bad address 

What's the problem?

Thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: netstat: kvm_read: Bad address

2012-06-01 Thread Volodymyr Kostyrko

Anton Shterenlikht wrote:

On ia64 r231193 I get:

# netstat -r
netstat: kvm_read: Bad address

What's the problem?

Thanks



For jail environment this means that /dev is not mounted.

--
Sphinx of black quartz judge my vow.
___
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: netstat: kvm_read: Bad address

2012-06-01 Thread Anton Shterenlikht
On Fri, Jun 01, 2012 at 01:30:37PM +0300, Volodymyr Kostyrko wrote:
> Anton Shterenlikht wrote:
> >On ia64 r231193 I get:
> >
> ># netstat -r
> >netstat: kvm_read: Bad address
> >
> >What's the problem?
> >
> >Thanks
> >
> 
> For jail environment this means that /dev is not mounted.

I'm sure I've got /dev mounted:

# df
Filesystem 512-blocks UsedAvail Capacity  Mounted on
/dev/da0p2  111708308 26738332 7603331226%/
devfs   220   100%/dev
/dev/da2p1   68882164 36110624 2726096857%/usr/ports
/dev/da0p1 409360 2320   407040 1%/efi

# ls /dev
acpi
bpf
bpf0
console
ctty
cuau0
cuau0.init
cuau0.lock
cuau1
cuau1.init
cuau1.lock
cuau2
cuau2.init
cuau2.lock
cuau3
cuau3.init
cuau3.lock
cuau4
cuau4.init
cuau4.lock
da0
da0p1
da0p2
da0p3
da1
da2
da2p1
devctl
devstat
dumpdev
fd
fido
geom.ctl
io
ipauth
ipl
iplookup
ipnat
ipscan
ipstate
ipsync
klog
kmem
log
mdctl
mem
mpt0
mpt1
nfslock
null
pass0
pass1
pass2
pci
ptmx
pts
random
stderr
stdin
stdout
ttyu0
ttyu0.init
ttyu0.lock
ttyu1
ttyu1.init
ttyu1.lock
ttyu2
ttyu2.init
ttyu2.lock
ttyu3
ttyu3.init
ttyu3.lock
ttyu4
ttyu4.init
ttyu4.lock
ugen0.1
ugen1.1
ugen2.1
urandom
usb
usbctl
xpt0
zero
zfs

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to indicate source directory in other than /usr/src?

2012-06-01 Thread Peter Vereshagin
Hello.

2012/05/30 17:04:42 +0400 Peter Vereshagin  => To 
freebsd-questions@freebsd.org :
PV> xterm works for me in my mutt under tmux, ask me if you need to tweak 
locale ( I see his L char with the '/' over it in place, and the cyrilic 
letters in my other mail, too )
PV> 
PV> mlterm is better for asian languages; it's unlikely that European ones 
should be shown better in mlterm rather than in xterm.

I have to correct myself here: xterm-261 'just works'  but not xterm-279 that 
is an up to date port. I have just fixed my cyrillic and pdeudo-graphics by 
backing off x11/xterm to '261' version.

Of course I borrowed with those +/- for 'wc', 'lc', 'u8' stuff and none of them 
made 279 to behave the same as 261 for non-ascii.

--
Peter Vereshagin  (http://vereshagin.org) pgp: A0E26627 
___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Kaya Saman
>
> and definitely do not use it if you will not have regular backups of all
> data, as in case of failures (yes they do happen) you will just have no
> chance to repair it.
>
> There is NO fsck_zfs! And ZFS is promoted as it "doesn't need" it.
>
> Assuming that filesystem doesn't need offline filesystem check utility
> because it "never crash" is funny.
>

zfs scrub...???

Additionally ZFS works directly at the block level of the HD meaning
that it is slightly different to the 'normal' file systems in storing
information and is also "self healing"..


Though I'm sure that you knew all this and have found otherwise.


I mean I haven't found any problem with it even after power failures
and such and my machine has been up for nearly 3 years.


Regards,


Kaya
___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Wojciech Puchar

Assuming that filesystem doesn't need offline filesystem check utility
because it "never crash" is funny.



zfs scrub...???


when starting means crash quickly?
Well.. no.

Certainly with computers that never have hardware faults and assuming ZFS 
doesn't have any software bugs you may be right.


But in real world you will be hardly punished some day ;)


Additionally ZFS works directly at the block level of the HD meaning
that it is slightly different to the 'normal' file systems in storing
information and is also "self healing"..


doesn't other filesystem work on block level too? if no - then at what 
level?



___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Kaya Saman
>
>> Additionally ZFS works directly at the block level of the HD meaning
>> that it is slightly different to the 'normal' file systems in storing
>> information and is also "self healing"..
>
>
> doesn't other filesystem work on block level too? if no - then at what
> level?
>
>

It was my impression that ZFS doesn't actually format the disk as
stores data as raw information on the hard disk directly rather then
using an actual "file system" structure as such.

That's what I was trying to get at by that statement. This is really
what made ZFS standout over other types of file systems.


In doing that according to everything I have read, it actually means
faster I/O and ease of portability incase the disks need to be removed
from their current location and added elsewhere but not loosing
information.


Unlike clunky hardware RAID systems ZFS adds much more versitility too
which of course being at this depth of knowledge you are aware of and
may even have a means to compare, however I personally prefer it over
RAID as RAID is rubbish dealing with it everyday I am fed up of
creating non-dynamic arrays.


I cannot compre directly to the more advanced UFS2 techniques but my
money would be with ZFS over RAID and LVM any day and don't even give
me M$ systems they would be out the window before being booted for the
first time..


Regards,

Kaya
___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Daniel Feenberg




On Fri, 1 Jun 2012, Wojciech Puchar wrote:


Assuming that filesystem doesn't need offline filesystem check utility
because it "never crash" is funny.



zfs scrub...???


when starting means crash quickly?
Well.. no.

Certainly with computers that never have hardware faults and assuming ZFS 
doesn't have any software bugs you may be right.


But in real world you will be hardly punished some day ;)


Additionally ZFS works directly at the block level of the HD meaning
that it is slightly different to the 'normal' file systems in storing
information and is also "self healing"..


doesn't other filesystem work on block level too? if no - then at what level?



If the OP really intended to stripe disks with no parity or mirror for ZFS 
, then that is probably a mistake. If the disks are /tmp, it might make 
sense to stripe disks without parity, but no need for ZFS. The OP did say

"JBOD", which to me means that each disk is a separate disk partition with
no striping or parity. Again, in that case I don't see any need for ZFS.

As for ZFS being dangerous, we have a score of drive-years with no loss of 
data. The lack of fsck is considered in this intelligently written piece


  http://www.osnews.com/story/22423/Should_ZFS_Have_a_fsck_Tool_

The link to the emotional posting by Jeff Bomwick is broken, but the 
original is available at:


  http://mail.opensolaris.org/pipermail/zfs-discuss/2008-October/022324.html

daniel feenberg
nber
___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Polytropon
On Fri, 1 Jun 2012 14:05:57 +0100, Kaya Saman wrote:
> It was my impression that ZFS doesn't actually format the disk as
> stores data as raw information on the hard disk directly rather then
> using an actual "file system" structure as such.

In worst... in ultra-worst abysmal inexpected exceptional
and unbelievable narrow cases, when you don't have or can't
access a backup (which you should have even when using ZFS),
and you _need_ to do some forensic analysis on disks, ZFS
seems to be a worse solution than UFS. On ZFS, you never
can predict where the data will go. Add several disks to
the problem, a combination of striping and mirroring
mechanisms, and you will see that things start to become
complicated.

I do _not_ want to try to claim a "ZFS inferiority due to
missing backups", but there may be occassions where (except
performance), low-level file system aspects of UFS might be
superior to using ZFS.




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


Re: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Wojciech Puchar

level?




It was my impression that ZFS doesn't actually format the disk as


does any filesystem "format" a disk?
disks are nowadays factory formatted.

filesystem only write data and it's metadata on it.

I really recommend you to get basic knowledge of how (any) filesystem 
works.


THEN please discuss things.
___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Wojciech Puchar

and unbelievable narrow cases, when you don't have or can't
access a backup (which you should have even when using ZFS),
and you _need_ to do some forensic analysis on disks, ZFS
seems to be a worse solution than UFS. On ZFS, you never
can predict where the data will go. Add several disks to


true. in UFS for example inodes are at known place, and flat structure 
instead of "tree" is used.




even if some sectors are overwritten with garbage then fsck can scan over 
inodes and recover all that can be recovered.



ZFS is somehow in that part similar to Amiga "Fast" File System. when you 
overwrite a directory block (by hardware fault for example), everything below that 
directory will disappear. You may not be even aware of it until you need 
that data


Only separate software (that - contrary to ZFS - do exist) can recover 
things by linearly scanning whole disk. terribly slow but at least 
possible.




EVEN FAT16/FAT32 IS MORE SAFE.
___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Michael Sierchio
On Fri, Jun 1, 2012 at 7:35 AM, Polytropon  wrote:

> I do _not_ want to try to claim a "ZFS inferiority due to
> missing backups", but there may be occassions where (except
> performance), low-level file system aspects of UFS might be
> superior to using ZFS.

If you have an operational need for offsite backups, that doesn't
change no matter how much redundancy you have in a single location.
Backups are still necessary.

But when RAIDed, ZFS has features that make it superior to hardware
RAID - copy-on-write, block deduplication, etc.  Like UFS2, it
supports snapshots - but a lot more of them.

Another performance criterion that is important to me is mirror (or
raidz) recovery - how long does mirror catch-up take when you replace
a disk, and how badly does it degrade performance for other data
operations?  Software raid, esp. gmirror, tends to do poorly here.  My
experience is that ZFS raid share recovery had less of an impact.

YMMV.
___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Wojciech Puchar
As for ZFS being dangerous, we have a score of drive-years with no loss of 
data. The lack of fsck is considered in this intelligently written piece


you are just lucky.

before i would start using anything new in such important part as 
filesystem, i do extreme test, ssimulate hardware faults, random 
overwrites etc.


I did it for ZFS not once, and it fails miserably ending with 
unrecoverable filesystem that - at best - is without data in some 
subdirectory. at worst - that crashes at mount and are inaccessible 
forever.


under FFS the worst thing i can get is loss of overwritten data only. 
overwritten inode - lost file. overwrite data blocks - overwritten files. 
nothing more!



what i don't talk about is ZFS performance which is just terribly bad, 
except some few special cases when it is slightly faster than 
UFS+softupdates.


It is even worse with RAID-5 style layout which ZFS do "better" with 
RAID-Z.


Better=random read performance of single drive.
___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Michael Sierchio
On Fri, Jun 1, 2012 at 8:16 AM, Wojciech Puchar
 wrote:

> Better=random read performance of single drive.

What an entirely useless performance measure!  Maybe you should
restrict yourself to
using SSDs, which have rather unbeatable random read performance - the
spindle speed
is really high. ;-)
___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Michael Sierchio
On Fri, Jun 1, 2012 at 8:08 AM, Wojciech Puchar
 wrote:

> ZFS is somehow in that part similar to Amiga "Fast" File System. when you
> overwrite a directory block (by hardware fault for example), everything
> below that directory will disappear. You may not be even aware of it until
> you need that data
>
> Only separate software (that - contrary to ZFS - do exist) can recover
> things by linearly scanning whole disk. terribly slow but at least possible.
>
>
>
> EVEN FAT16/FAT32 IS MORE SAFE.

First of all, in any environment you expect disk failures.  Which
operationally means replacing the entire disk.  Then you rely on the
raid recovery mechanism (in whichever flavor of disk discipline you
choose).  ZFS semantics (copy on write, for example) are much safer
than UFS semantics.  This is not to say that UFS is not a more mature
and possibly robust filesystem.  But relying on gmirror, graid, etc.
means you are no longer relying solely on the robustness of the
underlying filesystem - you cannot offer a reduction proof that shows
that if gmirror is bad, it means UFS is bad.

I use UFS for most purposes, but would never build a large fileserver
using gmirror on UFS.

Your assertions about the dangers of ZFS are just that - assertions.
They are not borne out in reality.

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


Re: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Oscar Hodgson
Albert,

What are you using for an HBA in the Dell?

On Fri, Jun 1, 2012 at 1:23 AM, Albert Shih  wrote:
> I've Dell R610 + 48 Go Ram, 2x 6 core + 4 * MD1200 (36*3T + 12*2T)
>
> [root@filer ~]# zpool list
> NAME     SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
> filer    119T  35,4T  83,9T    29%  1.00x  ONLINE  -
> [root@filer ~]#
>
> Work very fine (I can't say I've long experience because the server is up
> since just 4 months).
>
> The ZFS is very good, easy to manage, very fast.
>
> They're two default IMHO :
>
>        Eat lot of Ram
>
>        cannot synchronize two zpool automaticaly like HammerFS
>
> Regards.
>
> JAS
> --
> Albert SHIH
> DIO bâtiment 15
> Observatoire de Paris
> 5 Place Jules Janssen
> 92195 Meudon Cedex
> Téléphone : 01 45 07 76 26/06 86 69 95 71
> xmpp: j...@jabber.obspm.fr
> Heure local/Local time:
> ven 1 jui 2012 07:17:47 CEST
___
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"


Support for Intel 82599ES?

2012-06-01 Thread Rick Miller
Hi All,

I did not see the Intel 82599ES chipset in the hardware release notes
for 8.3 or 9.0.  Are these controllers supported at this time?

-- 
Take care
Rick Miller
___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Dan Nelson
In the last episode (Jun 01), Wojciech Puchar said:
> > and unbelievable narrow cases, when you don't have or can't access a
> > backup (which you should have even when using ZFS), and you _need_ to do
> > some forensic analysis on disks, ZFS seems to be a worse solution than
> > UFS.  On ZFS, you never can predict where the data will go.  Add several
> > disks to
> 
> true. in UFS for example inodes are at known place, and flat structure
> instead of "tree" is used.
> 
> even if some sectors are overwritten with garbage then fsck can scan over
> inodes and recover all that can be recovered.
> 
> ZFS is somehow in that part similar to Amiga "Fast" File System. when you
> overwrite a directory block (by hardware fault for example), everything
> below that directory will disappear.  You may not be even aware of it
> until you need that data

On the other hand, even on a single-disk pool, ZFS stores two copies of all
metadata, so the chances of actually losing a directory block are extremely
remote.  On mirrored or RAIDZ pools, you have at least four copies of all
metadata.

-- 
Dan Nelson
dnel...@allantgroup.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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Albert Shih
 Le 01/06/2012 ? 11:36:02-0400, Oscar Hodgson a écrit
Hi,

I use a LSI SAS 9200-8e 8 port Low Profile 

It's working well, I got 

crw-r-  1 root  operator0, 122  9 avr 10:30 /dev/da0
crw-r-  1 root  operator0, 176  9 avr 10:30 /dev/da1
crw-r-  1 root  operator0, 192  9 avr 10:30 /dev/da10
crw-r-  1 root  operator0, 193  9 avr 10:30 /dev/da11
crw-r-  1 root  operator0, 194  9 avr 10:30 /dev/da12
crw-r-  1 root  operator0, 195  9 avr 10:30 /dev/da13
crw-r-  1 root  operator0, 196  9 avr 10:30 /dev/da14
crw-r-  1 root  operator0, 197  9 avr 10:30 /dev/da15
crw-r-  1 root  operator0, 198  9 avr 10:30 /dev/da16
crw-r-  1 root  operator0, 199  9 avr 10:30 /dev/da17
crw-r-  1 root  operator0, 200  9 avr 10:30 /dev/da18
crw-r-  1 root  operator0, 201  9 avr 10:30 /dev/da19
crw-r-  1 root  operator0, 177  9 avr 10:30 /dev/da2
crw-r-  1 root  operator0, 202  9 avr 10:30 /dev/da20
crw-r-  1 root  operator0, 203  9 avr 10:30 /dev/da21
crw-r-  1 root  operator0, 204  9 avr 10:30 /dev/da22
crw-r-  1 root  operator0, 205  9 avr 10:30 /dev/da23
crw-r-  1 root  operator0, 206  9 avr 10:30 /dev/da24
crw-r-  1 root  operator0, 207  9 avr 10:30 /dev/da25
crw-r-  1 root  operator0, 208  9 avr 10:30 /dev/da26
crw-r-  1 root  operator0, 209  9 avr 10:30 /dev/da27
crw-r-  1 root  operator0, 210  9 avr 10:30 /dev/da28
crw-r-  1 root  operator0, 211  9 avr 10:30 /dev/da29
crw-r-  1 root  operator0, 180  9 avr 10:30 /dev/da3
crw-r-  1 root  operator0, 212  9 avr 10:30 /dev/da30
crw-r-  1 root  operator0, 213  9 avr 10:30 /dev/da31
crw-r-  1 root  operator0, 214  9 avr 10:30 /dev/da32
crw-r-  1 root  operator0, 215  9 avr 10:30 /dev/da33
crw-r-  1 root  operator0, 216  9 avr 10:30 /dev/da34
crw-r-  1 root  operator0, 217  9 avr 10:30 /dev/da35
crw-r-  1 root  operator0, 218  9 avr 10:30 /dev/da36
crw-r-  1 root  operator0, 219  9 avr 10:30 /dev/da37
crw-r-  1 root  operator0, 220  9 avr 10:30 /dev/da38
crw-r-  1 root  operator0, 221  9 avr 10:30 /dev/da39
crw-r-  1 root  operator0, 181  9 avr 10:30 /dev/da4
crw-r-  1 root  operator0, 222  9 avr 10:30 /dev/da40
crw-r-  1 root  operator0, 223  9 avr 10:30 /dev/da41
crw-r-  1 root  operator0, 224  9 avr 10:30 /dev/da42
crw-r-  1 root  operator0, 225  9 avr 10:30 /dev/da43
crw-r-  1 root  operator0, 226  9 avr 10:30 /dev/da44
crw-r-  1 root  operator0, 227  9 avr 10:30 /dev/da45
crw-r-  1 root  operator0, 228  9 avr 10:30 /dev/da46
crw-r-  1 root  operator0, 229  9 avr 10:30 /dev/da47
crw-r-  1 root  operator0, 182  9 avr 10:30 /dev/da5
crw-r-  1 root  operator0, 185  9 avr 10:30 /dev/da6
crw-r-  1 root  operator0, 188  9 avr 10:30 /dev/da7
crw-r-  1 root  operator0, 190  9 avr 10:30 /dev/da8
crw-r-  1 root  operator0, 191  9 avr 10:30 /dev/da9

at boot. 

I don't use H700/H800 or Perc because all people say the raid of those
stuff is no good for ZFS.

Regards.

JAS
-- 
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
xmpp: j...@jabber.obspm.fr
Heure local/Local time:
ven 1 jui 2012 17:39:06 CEST
___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Oscar Hodgson
Thank you for bringing up this topic.

We've got significant experience with both UFS and ZFS (as delivered
by Solaris).  Our internal testing has shown that UFS provides
significantly better throughput, roughly 20% to 30% higher in general,
and 50% higher in some specific use cases.

My internal customer prefers ZFS's 'end-to-end' reliability guarantee
to the higher throughput of UFS.

(What's really interesting though is that he's really a long-time
Linux fan at heart ... and we are now discussing FreeBSD due to its
ZFS support.  A Linux hardware RAID solution is not presently on the
table).

ZFS really is entirely different than UFS.  In 2005 Bonwick put out a
presentation roughly titled, "ZFS the last word in file systems".
I've used those materials on a number of occasions to help explain the
difference between ZFS and prior generation file systems.

On Fri, Jun 1, 2012 at 4:59 AM, Wojciech Puchar
 wrote:
>> 48TB each, roughly.  There would be a couple of units.  The pizza
>> boxes would be used for computational tasks, and nominally would have
>> 8 cores and 96G+ RAM.
>>
>> Obvious questions are hardware compatibility and stability.  I've set
>> up small FreeBSD 9 machines with ZFS roots and simple mirrors for
>> other tasks here, and those have been successful so far.
>>
>> Observations would be appreciated.
>>
> you idea of using disks in JBOD style (no "hardware" RAID) is good, but of
> using ZFS is bad.
>
>
> i would recommend you to do some real performance testing of ZFS on any
> config  under real load (workload doesn't fit cache, there are many
> different things done by many users/programs)  and compare it to PROPERLY
> done UFS config on such config (with the help of gmirror/gstripe)
>
> if you will have better result you certainly didn't configure the latter
> case (UFS,Gmirror,gstripe) properly :)
>
> in spite of large scale hype and promotion of this free software (which by
> itself should be red alert for you), i strongly recommend to stay away from
> it.
>
> and definitely do not use it if you will not have regular backups of all
> data, as in case of failures (yes they do happen) you will just have no
> chance to repair it.
>
> There is NO fsck_zfs! And ZFS is promoted as it "doesn't need" it.
>
> Assuming that filesystem doesn't need offline filesystem check utility
> because it "never crash" is funny.
>
> In the other hand i never ever heard of UFS failsystem failure that was not
> a result of physical disk failure and resulted in bad damage.
> in worst case some files or one/few subdirectory landed in lost+found, and
> some recently (minutes at most) done things wasn't here.
>
>
> if you still like to use it, do not forget it uses many times more CPU power
> than UFS in handling filesystem, leaving much to computation you want to do.
>
> As of memory you may limit it's memory (ab)usage by adding proper statements
> to loader.conf but still it uses enormous amount of it.
>
> with 96GB it may not be a problem for you, or it may depends how much memory
> you need for computation.
>
>
>
> if you need help in properly configuring large storage with UFS and
> gmirror/gstripe tools then feel free to ask
___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Oscar Hodgson
Are you running FreeBSD 9?

Most of the LSI drivers officially support 8.2, but I don't see any
indication of later updates.

I presume all work OK with 9.0 ... yes?

... oscar.

On Fri, Jun 1, 2012 at 11:43 AM, Albert Shih  wrote:
>  Le 01/06/2012 ? 11:36:02-0400, Oscar Hodgson a écrit
> Hi,
>
> I use a LSI SAS 9200-8e 8 port Low Profile
>
> It's working well, I got
>
> crw-r-  1 root  operator    0, 122  9 avr 10:30 /dev/da0
> crw-r-  1 root  operator    0, 176  9 avr 10:30 /dev/da1
> crw-r-  1 root  operator    0, 192  9 avr 10:30 /dev/da10
> crw-r-  1 root  operator    0, 193  9 avr 10:30 /dev/da11
> crw-r-  1 root  operator    0, 194  9 avr 10:30 /dev/da12
> crw-r-  1 root  operator    0, 195  9 avr 10:30 /dev/da13
> crw-r-  1 root  operator    0, 196  9 avr 10:30 /dev/da14
> crw-r-  1 root  operator    0, 197  9 avr 10:30 /dev/da15
> crw-r-  1 root  operator    0, 198  9 avr 10:30 /dev/da16
> crw-r-  1 root  operator    0, 199  9 avr 10:30 /dev/da17
> crw-r-  1 root  operator    0, 200  9 avr 10:30 /dev/da18
> crw-r-  1 root  operator    0, 201  9 avr 10:30 /dev/da19
> crw-r-  1 root  operator    0, 177  9 avr 10:30 /dev/da2
> crw-r-  1 root  operator    0, 202  9 avr 10:30 /dev/da20
> crw-r-  1 root  operator    0, 203  9 avr 10:30 /dev/da21
> crw-r-  1 root  operator    0, 204  9 avr 10:30 /dev/da22
> crw-r-  1 root  operator    0, 205  9 avr 10:30 /dev/da23
> crw-r-  1 root  operator    0, 206  9 avr 10:30 /dev/da24
> crw-r-  1 root  operator    0, 207  9 avr 10:30 /dev/da25
> crw-r-  1 root  operator    0, 208  9 avr 10:30 /dev/da26
> crw-r-  1 root  operator    0, 209  9 avr 10:30 /dev/da27
> crw-r-  1 root  operator    0, 210  9 avr 10:30 /dev/da28
> crw-r-  1 root  operator    0, 211  9 avr 10:30 /dev/da29
> crw-r-  1 root  operator    0, 180  9 avr 10:30 /dev/da3
> crw-r-  1 root  operator    0, 212  9 avr 10:30 /dev/da30
> crw-r-  1 root  operator    0, 213  9 avr 10:30 /dev/da31
> crw-r-  1 root  operator    0, 214  9 avr 10:30 /dev/da32
> crw-r-  1 root  operator    0, 215  9 avr 10:30 /dev/da33
> crw-r-  1 root  operator    0, 216  9 avr 10:30 /dev/da34
> crw-r-  1 root  operator    0, 217  9 avr 10:30 /dev/da35
> crw-r-  1 root  operator    0, 218  9 avr 10:30 /dev/da36
> crw-r-  1 root  operator    0, 219  9 avr 10:30 /dev/da37
> crw-r-  1 root  operator    0, 220  9 avr 10:30 /dev/da38
> crw-r-  1 root  operator    0, 221  9 avr 10:30 /dev/da39
> crw-r-  1 root  operator    0, 181  9 avr 10:30 /dev/da4
> crw-r-  1 root  operator    0, 222  9 avr 10:30 /dev/da40
> crw-r-  1 root  operator    0, 223  9 avr 10:30 /dev/da41
> crw-r-  1 root  operator    0, 224  9 avr 10:30 /dev/da42
> crw-r-  1 root  operator    0, 225  9 avr 10:30 /dev/da43
> crw-r-  1 root  operator    0, 226  9 avr 10:30 /dev/da44
> crw-r-  1 root  operator    0, 227  9 avr 10:30 /dev/da45
> crw-r-  1 root  operator    0, 228  9 avr 10:30 /dev/da46
> crw-r-  1 root  operator    0, 229  9 avr 10:30 /dev/da47
> crw-r-  1 root  operator    0, 182  9 avr 10:30 /dev/da5
> crw-r-  1 root  operator    0, 185  9 avr 10:30 /dev/da6
> crw-r-  1 root  operator    0, 188  9 avr 10:30 /dev/da7
> crw-r-  1 root  operator    0, 190  9 avr 10:30 /dev/da8
> crw-r-  1 root  operator    0, 191  9 avr 10:30 /dev/da9
>
> at boot.
>
> I don't use H700/H800 or Perc because all people say the raid of those
> stuff is no good for ZFS.
>
> Regards.
>
> JAS
> --
> Albert SHIH
> DIO bâtiment 15
> Observatoire de Paris
> 5 Place Jules Janssen
> 92195 Meudon Cedex
> Téléphone : 01 45 07 76 26/06 86 69 95 71
> xmpp: j...@jabber.obspm.fr
> Heure local/Local time:
> ven 1 jui 2012 17:39:06 CEST
___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Wojciech Puchar

On Fri, Jun 1, 2012 at 8:16 AM, Wojciech Puchar
 wrote:


Better=random read performance of single drive.


What an entirely useless performance measure!


if random read performance is a useless measure for you then i really 
cannot help you. sorry.

___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Wojciech Puchar

On Fri, Jun 1, 2012 at 1:23 AM, Albert Shih  wrote:

I've Dell R610 + 48 Go Ram, 2x 6 core + 4 * MD1200 (36*3T + 12*2T)

[root@filer ~]# zpool list
NAME     SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
filer    119T  35,4T  83,9T    29%  1.00x  ONLINE  -
[root@filer ~]#

Work very fine (I can't say I've long experience because the server is up
since just 4 months).

The ZFS is very good, easy to manage, very fast.


i dare not to agree about "very fast". very fast is relative term. how did 
you configured your storage?


trivial test:

make 10 100GB files (so none fits in RAM) by

for x in 0 1 2 3 4 5 6 7 8 9;do ( dd if=/dev/zero of=testfile$x bs=1m 
count=100k &) ;done


measure time needed for it to finish (all dd processes exist)

then install /usr/ports/benchmark/randomio and do some tests of random 
reads on that files.


and final test - 10 randomio in parallel with 10 threads each, one per 
every file.


then sum up results (IOPS) and divide by amount of disks you have.

then decide if is it fast or slow :)


They're two default IMHO :

       Eat lot of Ram


can be controlled by settings in loader.conf.
___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Albert Shih
 Le 01/06/2012 ? 18:17:38+0200, Wojciech Puchar a écrit
> 
> i dare not to agree about "very fast". very fast is relative term. how did 
> you configured your storage?
> 
> trivial test:
> 
> make 10 100GB files (so none fits in RAM) by
> 
> for x in 0 1 2 3 4 5 6 7 8 9;do ( dd if=/dev/zero of=testfile$x bs=1m 
> count=100k &) ;done
> 
> measure time needed for it to finish (all dd processes exist)
> 
> then install /usr/ports/benchmark/randomio and do some tests of random 
> reads on that files.
> 
> and final test - 10 randomio in parallel with 10 threads each, one per 
> every file.
> 
> then sum up results (IOPS) and divide by amount of disks you have.
> 
> then decide if is it fast or slow :)


When I say fast that's mean I already do some benchmarks with iozone. And
do some graphs to see what the performance are. 

What I can say is it's go lot faster than H700+ 12 disk 600 15k/min. 

And I do those tests on FreeBSD with 12 disk, 24 disk, 36 disk and finaly
48 disk. 

All I can say is ZFS go faster than 12 disk with H700 (and ext3) almost
every time. 

If you like I can privalty send you the url of those graph. Just ask me,

> >>        Eat lot of Ram
> 
> can be controlled by settings in loader.conf.

Yes, but I think that's not a good idea to buy a server with 4 Go and make
him manage 100To through ZFS

Regards.

JAS
-- 
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
xmpp: j...@jabber.obspm.fr
Heure local/Local time:
ven 1 jui 2012 18:18:55 CEST
___
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: Support for Intel 82599ES?

2012-06-01 Thread Jack Vogel
Yes, it is supported in the ixgbe driver.

Jack


On Fri, Jun 1, 2012 at 8:36 AM, Rick Miller wrote:

> Hi All,
>
> I did not see the Intel 82599ES chipset in the hardware release notes
> for 8.3 or 9.0.  Are these controllers supported at this time?
>
> --
> Take care
> Rick Miller
> ___
> freebsd-sta...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: HP networked printer -- hp-setup won't use, hp-probe finds

2012-06-01 Thread Gary Aitken
On 05/31/12 17:59, Thomas Mueller wrote:
>>  From Gary Aitken  :
> 
>> I've got an HP printer directly connected to the local network.
> 
>> hp-probe finds it:
> 
>> #hp-probe -bnet
> 
>> HP Linux Imaging and Printing System (ver. 3.12.2)
>> Printer Discovery Utility ver. 4.1
>> ...
>>Device URI   Model
>>  Name
>>---   
>>  
>>hp:/net/Officejet_Pro_8500_A909g?ip=aa.bb.cc.dd  Officejet_Pro_8500_A909g 
>>  HP4356E6
> 
>> Found 1 printer(s) on the 'net' bus.
> 
>> However, hp-setup and hp-uri refuse to use it:
> 
>> #hp-makeuri -ldebug aa.bb.cc.dd
> 
>> HP Linux Imaging and Printing System (ver. 3.12.2)
>> Device URI Creation Utility ver. 5.0
>> ...
>> hp-makeuri[63924]: debug: Trying IP address aa.bb.cc.dd
>> hp-makeuri[63924]: debug: Not found.
>> hp-makeuri[63924]: debug: Trying serial number aa.bb.cc.dd
>> hp-makeuri[63924]: debug: Probing bus: usb
>> hp-makeuri[63924]: debug: Probing bus: par
>> error: Device not found
> 
>> When the gui comes up, only the USB option is enabled.  There is no parallel 
>> port active and no wireless on the box, but at least the network connection 
>> should be available.
> 
>> The probe which succeeds takes several seconds, but the hp-setup gui and 
>> makeuri fail immediately, and the missing ability to set the network 
>> discovery option in the gui lead me to believe it's not even trying the ip 
>> addr.
> 
>> Anyone with experience setting these guys up have any advice?
> 
>> Alternately, is there anything other than a special lp filter really needed, 
>> and if not, any suggestions on the best one to use?  I looked at apsfilter 
>> but the installation SETUP driver options didn't seem to include this 
>> printer.
>> Thanks
> 
> I have an HP LaserJet M1212nf MFP, and hplip/hp-setup in FreeBSD finds the 
> printer all right when connected by Ethernet, but then fails on installing 
> the required binary plugin.  Printer is not detected at all when connected by 
> USB.
> 
> NetBSD 5.1_STABLE i386 with hplip 3.11.1 built from pkgsrc-wip couldn't find 
> the printer on Ethernet, next step is to login to wireless router, and/or 
> check the dmesg.boot, and then use the IP address found therefrom.
> 
> pkgsrc-wip URL: http://pkgsrc-wip.sourceforge.net/
> pkgsrc URL: http://www.netbsd.org/docs/software/packages.html
> 
> I wonder if I should have bought a printer, non-HP, with wireless, as long as 
> it also had USB and Ethernet capability.
> 
> Seeing security advisories for FreeBSD, my next move might be to update the 
> source tree by csup, then rebuild (RELENG_9: 9.0-STABLE) for amd64 and build 
> for i386 as well.  Then I would have the possibility of building wine from 
> the ports, and I could try the MS-Windows software.  I also need to update 
> the other ports, including but not limited to hplip and dependencies.

I am in the process of trying to sort mine out.
Found this via one of the hp linux support pages
  http://hplipopensource.com/hplip-web/support.html
I'm in the process of trying to get mine working with their help.
We'll see how that goes; will post results.

In my case (network connection) they suggested running and sending them the 
output of:

$ hp-check
$ hp-probe -ldebug
$ hp-makeuri -ldebug 
$ hp-setup -ldebug 

I'm in the process of sorting that out, as it may be an issue of how cups and 
dbus are installed which may be preventing access (file ownership issues)

Gary

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


Re: Support for Intel 82599ES?

2012-06-01 Thread Rick Miller
Thanks, Jack!

Also another support question for the listsIs the Broadcom BCM5719
supported?  I can find neither in the hardware notes for 8.3 nor 9.0.

On Fri, Jun 1, 2012 at 12:49 PM, Jack Vogel  wrote:
> Yes, it is supported in the ixgbe driver.
>
> Jack
>
>
> On Fri, Jun 1, 2012 at 8:36 AM, Rick Miller 
> wrote:
>>
>> Hi All,
>>
>> I did not see the Intel 82599ES chipset in the hardware release notes
>> for 8.3 or 9.0.  Are these controllers supported at this time?
>>
>> --
>> Take care
>> Rick Miller
>> ___
>> freebsd-sta...@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>
>



-- 
Take care
Rick Miller
___
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: HP networked printer -- hp-setup won't use, hp-probe finds

2012-06-01 Thread Adam Vande More
On Thu, May 31, 2012 at 6:59 PM, Thomas Mueller wrote:
>
> I have an HP LaserJet M1212nf MFP, and hplip/hp-setup in FreeBSD finds the
> printer all right when connected by Ethernet, but then fails on installing
> the required binary plugin.  Printer is not detected at all when connected
> by USB.
>
> NetBSD 5.1_STABLE i386 with hplip 3.11.1 built from pkgsrc-wip couldn't
> find the printer on Ethernet, next step is to login to wireless router,
> and/or check the dmesg.boot, and then use the IP address found therefrom.
>
> pkgsrc-wip URL: http://pkgsrc-wip.sourceforge.net/
> pkgsrc URL: http://www.netbsd.org/docs/software/packages.html
>
> I wonder if I should have bought a printer, non-HP, with wireless, as long
> as it also had USB and Ethernet capability.
>
> Seeing security advisories for FreeBSD, my next move might be to update
> the source tree by csup, then rebuild (RELENG_9: 9.0-STABLE) for amd64 and
> build for i386 as well.  Then I would have the possibility of building wine
> from the ports, and I could try the MS-Windows software.  I also need to
> update the other ports, including but not limited to hplip and dependencies.
>

I added a HP Photosmart C6300 series via CUPS using HP Photosmart c6300
Series hpijs, 3.11.5 socket://192.168.25.15:9100

Prints fine over wireless.

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


Re: Support for Intel 82599ES?

2012-06-01 Thread Michael Butler
On 06/01/12 13:06, Rick Miller wrote:
> Thanks, Jack!
> 
> Also another support question for the listsIs the Broadcom BCM5719
> supported?  I can find neither in the hardware notes for 8.3 nor 9.0.

man bge


___
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: HP networked printer -- hp-setup won't use, hp-probe finds

2012-06-01 Thread Gary Aitken
On 06/01/12 10:51, Gary Aitken wrote:
> On 05/31/12 17:59, Thomas Mueller wrote:
>>>From Gary Aitken   :
>>
>>> I've got an HP printer directly connected to the local network.
>>
>>> hp-probe finds it:
>>
>>> #hp-probe -bnet
>>
>>> HP Linux Imaging and Printing System (ver. 3.12.2)
>>> Printer Discovery Utility ver. 4.1
>>> ...
>>> Device URI   Model  
>>>Name
>>> ---  
>>>   
>>> hp:/net/Officejet_Pro_8500_A909g?ip=aa.bb.cc.dd  
>>> Officejet_Pro_8500_A909g  HP4356E6
>>
>>> Found 1 printer(s) on the 'net' bus.
>>
>>> However, hp-setup and hp-uri refuse to use it:
>>
>>> #hp-makeuri -ldebug aa.bb.cc.dd
>>
>>> HP Linux Imaging and Printing System (ver. 3.12.2)
>>> Device URI Creation Utility ver. 5.0
>>> ...
>>> hp-makeuri[63924]: debug: Trying IP address aa.bb.cc.dd
>>> hp-makeuri[63924]: debug: Not found.
>>> hp-makeuri[63924]: debug: Trying serial number aa.bb.cc.dd
>>> hp-makeuri[63924]: debug: Probing bus: usb
>>> hp-makeuri[63924]: debug: Probing bus: par
>>> error: Device not found
>>
>>> When the gui comes up, only the USB option is enabled.  There is no 
>>> parallel port active and no wireless on the box, but at least the network 
>>> connection should be available.
>>
>>> The probe which succeeds takes several seconds, but the hp-setup gui and 
>>> makeuri fail immediately, and the missing ability to set the network 
>>> discovery option in the gui lead me to believe it's not even trying the ip 
>>> addr.
>>
>>> Anyone with experience setting these guys up have any advice?
>>
>>> Alternately, is there anything other than a special lp filter really 
>>> needed, and if not, any suggestions on the best one to use?  I looked at 
>>> apsfilter but the installation SETUP driver options didn't seem to include 
>>> this printer.
>>> Thanks
>>
>> I have an HP LaserJet M1212nf MFP, and hplip/hp-setup in FreeBSD finds the 
>> printer all right when connected by Ethernet, but then fails on installing 
>> the required binary plugin.  Printer is not detected at all when connected 
>> by USB.
>>
>> NetBSD 5.1_STABLE i386 with hplip 3.11.1 built from pkgsrc-wip couldn't find 
>> the printer on Ethernet, next step is to login to wireless router, and/or 
>> check the dmesg.boot, and then use the IP address found therefrom.
>>
>> pkgsrc-wip URL: http://pkgsrc-wip.sourceforge.net/
>> pkgsrc URL: http://www.netbsd.org/docs/software/packages.html
>>
>> I wonder if I should have bought a printer, non-HP, with wireless, as long 
>> as it also had USB and Ethernet capability.
>>
>> Seeing security advisories for FreeBSD, my next move might be to update the 
>> source tree by csup, then rebuild (RELENG_9: 9.0-STABLE) for amd64 and build 
>> for i386 as well.  Then I would have the possibility of building wine from 
>> the ports, and I could try the MS-Windows software.  I also need to update 
>> the other ports, including but not limited to hplip and dependencies.
> 
> I am in the process of trying to sort mine out.
> Found this via one of the hp linux support pages
>http://hplipopensource.com/hplip-web/support.html
> I'm in the process of trying to get mine working with their help.
> We'll see how that goes; will post results.
> 
> In my case (network connection) they suggested running and sending them the 
> output of:
> 
> $ hp-check
> $ hp-probe -ldebug
> $ hp-makeuri -ldebug
> $ hp-setup -ldebug
> 
> I'm in the process of sorting that out, as it may be an issue of how cups and 
> dbus are installed which may be preventing access (file ownership issues)

hp-check indicated what it thought were inconsistencies;
things it couldn't find but should have because they were there.
the output didn't jibe with file permissions and running daemons,
but I did see one potential issue (a missing python capability which was not 
one of the defaults.  can't remember which, maybe in the cups install)
I did a make clean, make config, make install, and that got me a lot further.
In the config, I think for something cups related, I checked the python 
capability.

When I run hp-setup now, it finds the printer, but it can't find an appropriate 
ppd file.  
Working on that now.
The right one is there, but for some reason it claims it's not a close-enough 
match.

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


Re: How to use an external USB3.0 drive with 4k sectors?

2012-06-01 Thread Gary Aitken
On 06/01/12 04:01, Jens Schweikhardt wrote:

> My goal is to get it recognized on one of the two USB3 ports I have.
> All I get there is
> Jun  1 11:43:45 hal9000 kernel: ugen4.2:  at usbus4
> Jun  1 11:43:45 hal9000 kernel: umass0: 0/0, rev 3.00/1.00, addr 1>  on usbus4
> and after 100 seconds:
> Jun  1 11:45:26 hal9000 kernel: ugen4.2:  at usbus4 
> (disconnected)
> Jun  1 11:45:26 hal9000 kernel: umass0: at uhub4, port 2, addr 1 
> (disconnected)
> 
> There never is a device node like /dev/daN created, like it does
> for the USB 3.0 *stick* I have.

Any chance you have access to a 3.0 drive from a different mfg you can try to 
point the finger at the driver?  seagate go-flex works.

___
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: Anyone using freebsd ZFS for large storage servers?

2012-06-01 Thread Anonymous
> Certainly with computers that never have hardware faults and assuming ZFS 
> doesn't have any software bugs you may be right.

That was part of their assumption. It's based on server grade hardware and
ECC RAM, and lots of redundancy. 

They missed the part about their code not being perfect.

> But in real world you will be hardly punished some day ;)

Yep, big time. Hardly as in hard, not as in barely.

___
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: Support for Intel 82599ES?

2012-06-01 Thread Rick Miller
Thanks, Michael!

I took a look at the manpage and it does appear that it is supported
by the bge driver.  It also states that the 572x controller is also
supported, but I heard a rumor stating that the BCM5720 in particular
did not work even though the manpage indicates it is supported.  I was
unable to verify this, but that's why I was asking for clarification.

I will assume it works at this point.

On Fri, Jun 1, 2012 at 1:25 PM, Michael Butler
 wrote:
> On 06/01/12 13:06, Rick Miller wrote:
>> Thanks, Jack!
>>
>> Also another support question for the listsIs the Broadcom BCM5719
>> supported?  I can find neither in the hardware notes for 8.3 nor 9.0.
>
> man bge
>
>



-- 
Take care
Rick Miller
___
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: Support for Intel 82599ES?

2012-06-01 Thread Sean Bruno
On Fri, 2012-06-01 at 10:45 -0700, Rick Miller wrote:
> BCM5720

I haven't gotten this working on my Dell R620 via bge(4), but we are
actively working on it.

Sean

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


How to crontab screen with script inside and a "don't run it if it's already running" check?

2012-06-01 Thread Dwayne Henderson
I run this Ruby script 24/7 (records data from this live stream). It runs
inside a screen though, so it's easy to check in on it every once in a
while.

But how do I crontab the screen with the script inside it? It has to be
with a "don't run it if it's already running" check.

So far I have this (untested) - what y'all think?

*/10 * * * * lockf -t 0 /home/anonymous/.myscript.lock
/usr/local/bin/screen -dm
/home/anonymous/.rvm/rubies/ruby-1.9.3-p0/bin/ruby
/home/anonymous/myscript.rb

--Dwayne
___
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: How to crontab screen with script inside and a "don't run it if it's already running" check?

2012-06-01 Thread Jens Jahnke
Hi,

On Fri, 1 Jun 2012 20:55:00 +0200
Dwayne Henderson  wrote:

DH> I run this Ruby script 24/7 (records data from this live stream).
DH> It runs inside a screen though, so it's easy to check in on it
DH> every once in a while.
DH> 
DH> But how do I crontab the screen with the script inside it? It has
DH> to be with a "don't run it if it's already running" check.
DH> [...]

maybe you should create a shell alias. I do the following for my irssi
session:

# Start irssi within screen or switch to it if it is already running.
alias irssi='if pgrep -u $USER irssi;then screen -U -x irssi;else screen -S 
irssi irssi;fi'

Regards,

Jens

-- 
01. Brachet 2012, 21:37
Homepage : http://www.jan0sch.de

It is a sobering thought that when Mozart was
my age, he had been dead for 2 years.
-- Tom Lehrer


pgp4wdF28oJ9D.pgp
Description: PGP signature


Re: Audio CD issue -- most everything but noise ASUS M4A89TD mobo

2012-06-01 Thread Gary Aitken
On 05/31/12 16:16, Polytropon wrote:

> Impedance and level mismatch would be the typical reason
> for this. But basically, it's not _much_ worse than using
> an internal analog connection.

Probably ok if you soldered it up so you didn't have the mismatch from crappy 
high impedance plug-in connections. You don't happen to know if the analog out 
(back of drive plug, not the headphone jack) impedance and signal level on a cd 
is close to matching the line-in on a card, do you?  I'm guessing not.  Most 
likely would smoke the card/mobo.

>>> Okay, this means the mixer doesn't even have a CD audio
>>> mixer channel. If I remember correctly, this channel is
>>> directly associated to the internal audio connector which
>>> is _not_ present in your system.
>>
>> You mean a cd mixer channel for digital audio only shows up
>> if there is a physical analog audio input???
> 
> Oh god, I hope not!

It looks to me like a digital audio channel won't show up under any 
circumstances;
it will take a second bridge driver designed to eat cd digital audio,
and the overarching sound driver could pick that up.

> I really have no idea how digital audio output is actually
> represented in the mixer. The "mixer" program will allow
> you to manipulate the levels of channels that are reported
> by the mixer driver (which in turn accesses the sound
> hardware); if the "sound card" doesn't report to have
> CD audio, the corresponding item won't be available.
> 
> Additionally, I'm not sure if "forcing" a CD audio
> output (no idea how, maybe by changing the driver's
> source code?) could affect digital CD audio because
> even though they serve the same purpose, they are
> not related "in wires".

>From my (limited) understanding as a result of this discussion, 
it looks to me like freebsd doesn't work with digital cd audio at all.
If there's no general device to pick up digital audio from the cd,
the only way the sound driver could get it would be for a bridge driver,
or the sound driver itself, to pick up the cd digital audio and present it.
It's difficult to believe that a normal sound bridge driver would be reaching 
out to a different device and doing that.  

As it stands, cd audio seems to work by picking up the analog audio output and 
converting it.  Which is what you told me in the first place in less detail :-).

Correct me if I'm wrong...

> A possible way would be to use cdparanoia or something
> like that to extract the data digitally, and then play
> it; "then" also means "in a pipe". No real solution,
> I admit.

Thanks, may look into that.

>> %cat /dev/sndstat
>> FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
>> Installed devices:
>> pcm0:  (play)
>> pcm1:  (play/rec) default
>> pcm2:  (play/rec)
>> pcm3:  (play)
>> pcm4:  (play)
> 
> Do you maybe also have multiple mixer devices associated?
> Check
>   % ls /dev/mixer*

boatloads... mixer0 thru mixer4
Reading snd_hda I see now where they are coming from.
thanks.


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


Re: FreeBSD ports patch count

2012-06-01 Thread ajtiM
On Friday 01 June 2012 04:25:12 Matthew Seaman wrote:
> On 01/06/2012 09:34, Damien Fleuriot wrote:
> > On 6/1/12 9:49 AM, Brent Clark wrote:
> >> Hiya
> >> 
> >> I would just like to ask / know. Did anything weird or wonderful happen
> >> on the FreeBSD ports.
> >> 
> >> To show you what I mean.
> >> 
> >> [root@torry /usr/home/bclark]# portaudit -F -a; portsnap fetch update;
> >> pkg_version -vIL=; freebsd-update  fetch install
> >> auditfile.tbz 100% of   77 kB 6570  Bps
> >> 00m00s
> >> New database installed.
> >> 0 problem(s) in your installed packages found.
> >> Looking up portsnap.FreeBSD.org mirrors... 9 mirrors found.
> >> Fetching snapshot tag from geodns-1.portsnap.freebsd.org... done.
> >> Fetching snapshot metadata... done.
> >> Updating from Thu May 31 19:58:31 SAST 2012 to Fri Jun  1 08:51:05 SAST
> >> 2012.
> >> Fetching 4 metadata patches... done.
> >> Applying metadata patches... done.
> >> Fetching 0 metadata files... done.
> >> Fetching 4180 patches.10203040
> >> 
> >> 4180 patches really !!!
> >> 
> >> I run the above command almost everyday, so the most I have ever really
> >> seen is 300 - 400 patches. But 4180 has got me attention.
> >> 
> >> Thanks
> >> Brent
> > 
> > I may be mistaken but I would guess it has to do with the
> > vulnerabilities addressed in OpenSSL in the 30/05/2012 update.
> > 
> > I'm assuming authors have bumped their ports' revision numbers to force
> > a rebuild, using the patched openssl lib.
> 
> There might be a little of that, but most of the recent activity is
> accounted for by
> 
>* Numerous ports moving to the new OPTIONSng framework
> 
>* Hundreds of PORTREVISION bumps after an update to graphics/png
> 
>* Removal of old koffice ports and the import of the Calligra office
>  suite to replace it.
> 
>   Cheers,
> 
>   Matthew

My system is FreeBSD 9.0 Release and the lst time I use Clang. It works very 
good but the lst problem was with Calligra which didn't built.

As I red in /usr/ports/UPDATING I ran portmaster -r png- and there are so many 
ports which should be rebuild. 
My question is: Is it better (safer) to use gcc or try clang? Or is it better 
to not update png?

Thanks in advance.

Mitja

http://jpgmag.com/people/lumiwa
___
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: (no subject)

2012-06-01 Thread Mario Lobo
On Friday 01 June 2012 03:29:40 Thomas Mueller wrote:
> 
> I ddon't see any advantage in FreeBSD 8.x or earlier.

Well, I still see complains about a few quirks in 9 here in the list, 
specially after certain src updates.

Re:Use of C99 extra long double math functions after r236148
Re: kern/168190: [pf] panic when using pf and route-to (maybe: bad fragment 
handling?)
Re: ULE/sched issues on stable/9 - why isn't preemption occurring?
Etc ..

To me, something like pf (specially route-to!) is critical and for the moment, 
I wouldn't touch my rock-solid-down-to-the-micro-second perfect production 
firewall 8-STABLE server for nothing, if the aim is such a role.

I think that distribution set size is just not a very strong argument.

OTOH, if the aim is just experimenting, that's another story.

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winblows FREE)
___
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: MK_CLANG_IS_CC mis-formed when compiling ports

2012-06-01 Thread Thomas D. Dean

On 06/01/12 00:00, Anton Shterenlikht wrote:

On Thu, May 31, 2012 at 07:13:11PM -0700, Thomas D. Dean wrote:

I built FrfeeBSD 9 with
WITHOUT_CLANG="Yes"

When I try to build the net/bwn-firmware-kmod/

I get an error that MK_CLANG_IS_CC is mis-formed.

If I define this in make.conf, I get an error that the user may not set
this.

If I use 'make MK_CLANG_IS_CC="no"' the port compiles.

How do I fix this?


Why did you define WITHOUT_CLANG?



I think I am stuck at 9.x because of the clang stuff.

I defined WITHOUT_CLANG to stop make buildworld from building clang.

don't want it, don't need it

Tom Dean
___
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: 9.0 on SSD

2012-06-01 Thread Victor Sudakov
Warren Block wrote:

[dd]

> >>> I have not done any tricky partition alignment, do I really need to? Is
> >>> anything else advisable?
> >>
> >> If it's not aligned, there can be a pretty significant performance
> >> drop.  Please show the output of 'gpart show' on that drive if it's GPT
> >> (gpart show ada0) or drive and slice if it's MBR/bsdlabel (gpart show
> >> ada0 && gpart show ada0s1).
> >
> > It was created by the "Auto" option of the new FreeBSD installer:
> >
> > [sudakov@vas ~] gpart show ada0
> > =>   34  117231341  ada0  GPT  (55G)
> > 34128 1  freebsd-boot  (64k)
> >162  48928 2  freebsd-ufs  (53G)
> >  490905861376 3  freebsd-swap  (2.8G)
> >  117010466 220909- free -  (107M)
> 
> That is not aligned, either with 4K or 1M:
>(162*512)/4096 = 20.25
> 
> If the performance is good enough, leave it alone.  Use
> # diskinfo -tv /dev/ada0p2
> to get an optimistic version, or do some in-depth benchmarking with 
> benchmarks/bonnie++.
> 
> To get it aligned, back up and repartition:

[dd]

Warren, 

Thank you very much for the useful tips. One more question regarding
SSD. The FreeBSD installer enabled journaled soft-updates on the 
filesystem which resides on the SSD. Is it good, bad or irrelevant for
the SSD ?

/dev/ada0p2 on / (ufs, local, noatime, journaled soft-updates, nfsv4acls)

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD on the ASUS P8H67-M LGA1155 H67 motherboard

2012-06-01 Thread Victor Sudakov
I have installed 9.0-RELEASE on this motherboard with the following
brief results:

$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0:  (play/rec) default
pcm1:  (play/rec)
pcm2:  (play)
pcm3:  (play)
pcm4:  (play)
$

The devices /dev/dsp0, /dev/dsp1 even play to different audio outputs
(front panel and rear panel). 

However, there are some more or less serious problems:

1. The "green" console screensaver does not poweroff the monitor. It just
blanks the screen and sometimes displays white rubbish thereon.

2. It looses one of the HDDs during intensive read/write operations:

Jun  2 00:55:33 vas kernel: ahcich1: Timeout on slot 4 port 0
Jun  2 00:55:33 vas kernel: ahcich1: is  cs 00c0 ss 00f0 rs 
00f0 tfd c0 serr  cmd c617
Jun  2 00:56:48 vas kernel: ahcich1: Timeout on slot 0 port 0
Jun  2 00:56:48 vas kernel: ahcich1: is  cs 0001 ss  rs 
0001 tfd c0 serr  cmd c017
Jun  2 00:57:20 vas kernel: ahcich1: AHCI reset: device not ready after 31000ms 
(tfd = 0080)

I shall of course check the HDD and cable, but they worked flawlessly on
the previous system.

3. I had to run xorg in VESA mode, because xf86-video-intel-2.7.1_4 does
not recognize the video chip on the motherboard on question. That is a
pain! mplayer is incredibly slow on all movies. It complains that "your
system is too slow to play this" and gives a plethora of obscure
recommendations, but I basically thought that the sheer CPU power should be
sufficient to play the video. Is there a solution which "just works"?
Replacing mplayer with something else? Buying a video card (what model)?

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"