Re: Fwd: SNDCTL_DSP_GETIPTR implementation

2011-04-28 Thread Hans Petter Selasky
On Friday 29 April 2011 07:59:39 Andriy Gapon wrote: > I intend to commit the following change soon and MFC it after a short > period of time. Please test it if you use multimedia applications, both > native and Linux, especially if they deal with audio recording/capture. > > Thank you. Seems to

Re: [releng_8 tinderbox] failure on arm/arm

2011-04-28 Thread Hans Petter Selasky
On Friday 29 April 2011 01:51:24 Andrew Thompson wrote: > On 29 April 2011 11:30, Jeremy Chadwick wrote: > CC'ing hselasky and thompsa for review of this. > > For failure logs (so far ia64 and arm), please see end of this page: > > http://lists.freebsd.org/pipermail/freebsd-stable/2011-April/th

Fwd: SNDCTL_DSP_GETIPTR implementation

2011-04-28 Thread Andriy Gapon
I intend to commit the following change soon and MFC it after a short period of time. Please test it if you use multimedia applications, both native and Linux, especially if they deal with audio recording/capture. Thank you. Original Message Message-ID: <4db6f7ba.4070...@freeb

Re: MPS driver: force bus rescan after remove SAS cable

2011-04-28 Thread Alexander Motin
Rumen Telbizov wrote: > > Also identify function doesn't work from the OS (no problem > > via the card BIOS). Don't remember having any luck with sg3_util > > package either but worth trying again. > > I don't use SAS myself, but wouldn't the command be "inquiry" and not > "ide

Re: panic, but /var/crash ist empty

2011-04-28 Thread Brandon Gooch
On Wed, Apr 27, 2011 at 1:44 PM, Helmut Schneider wrote: > Hi, > > running 8.2-RELEASE-p1 within VMWare ESXi 4.1-u1 I want to use raw > devices as hard disks. I create the devices using this link: > > http://www.mattiasholm.com/node/33 > > I tried 3 different hard drives (Seagate 2x80GB and 1x400G

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Daniel O'Connor
On 29/04/2011, at 10:38, Jeremy Chadwick wrote: > Could you please provide output from "zfs get all poolname"? Myself and > others would like to review what settings you're using on the > filesystem. If it's a separate filesystem (e.g. pool/foobar), please > also provide output from "zfs get all

Re: MPS driver: force bus rescan after remove SAS cable

2011-04-28 Thread Rumen Telbizov
Jeremy: > I don't mean to sound critical, but why do you guys do this? The reason > I ask: on actual production filers (read: NetApps), you don't go yanking > out the FC cable between the HBA and the NA and expect everything to "be > happy" afterwards. Most SAN administrators tend to reboot an

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Daniel O'Connor
On 29/04/2011, at 11:43, Artem Belevich wrote: > On Thu, Apr 28, 2011 at 6:08 PM, Jeremy Chadwick > wrote: >> I will note something, however: your ARC max is set to 3072MB, yet Wired >> is around 4143MB. Do you have something running on this box that takes >> up a lot of RAM? mysqld, etc..? I

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Artem Belevich
On Thu, Apr 28, 2011 at 6:08 PM, Jeremy Chadwick wrote: > I will note something, however: your ARC max is set to 3072MB, yet Wired > is around 4143MB.  Do you have something running on this box that takes > up a lot of RAM?  mysqld, etc..?  I'm trying to account for the "extra > gigabyte" in Wired

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Malcolm Waltz
On Apr 28, 2011, at 6:08 PM, Jeremy Chadwick wrote: Be aware there are all sorts of caveats/complexities with iSCSI on FreeBSD. There are past threads on -stable and -fs talking about them in great detail. I personally wouldn't go this route. Why can't OS X use CIFS? It has the ability to moun

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Malcolm Waltz
ZFS volumes (zvol s) can definitely be resized using the volsize property: # zfs get volsize mypool/myvol NAMEPROPERTY VALUESOURCE mypool/myvol volsize 2G - # zfs set volsize=4g mypool/myvol Mac OS 10.5 and later allows you to resize Journaled HFS+ volumes (using diskutil or

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Jeremy Chadwick
On Fri, Apr 29, 2011 at 09:43:47AM +0930, Daniel O'Connor wrote: > > On 29/04/2011, at 5:26, Jeremy Chadwick wrote: > >> I have the following ZFS related tunables > >> > >> vfs.zfs.arc_max="3072M" > >> vfs.zfs.prefetch_disable="1" > >> vfs.zfs.txg.timeout=5 > >> vfs.zfs.cache_flush_disable=1 > >

Re: [releng_8 tinderbox] failure on arm/arm

2011-04-28 Thread Andrew Thompson
On 29 April 2011 11:30, Jeremy Chadwick wrote: > On Thu, Apr 28, 2011 at 09:06:32PM +, FreeBSD Tinderbox wrote: > > ===> usr.sbin/usbdump (all) > > cc -O -pipe -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes > -Wpo

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Daniel O'Connor
On 29/04/2011, at 5:26, Jeremy Chadwick wrote: >> I have the following ZFS related tunables >> >> vfs.zfs.arc_max="3072M" >> vfs.zfs.prefetch_disable="1" >> vfs.zfs.txg.timeout=5 >> vfs.zfs.cache_flush_disable=1 > > Are the last two actually *working* in /boot/loader.conf? Can you > verify by

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Daniel O'Connor
On 29/04/2011, at 2:16, Malcolm Waltz wrote: > I doubt the issues you are encountering have much to do with ZFS. > > It sounds like you are using TimeMachine over NFS. Obviously, Apple does not > support that configuration: > http://www.google.com/search?q=time+machine+nfs+site:apple.com > > I

Re: [releng_8 tinderbox] failure on arm/arm

2011-04-28 Thread Jeremy Chadwick
On Thu, Apr 28, 2011 at 09:06:32PM +, FreeBSD Tinderbox wrote: > ===> usr.sbin/usbdump (all) > cc -O -pipe -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings

[releng_8 tinderbox] failure on mips/mips

2011-04-28 Thread FreeBSD Tinderbox
TB --- 2011-04-28 22:26:40 - tinderbox 2.6 running on freebsd-stable.sentex.ca TB --- 2011-04-28 22:26:40 - starting RELENG_8 tinderbox run for mips/mips TB --- 2011-04-28 22:26:40 - cleaning the object tree TB --- 2011-04-28 22:26:51 - cvsupping the source tree TB --- 2011-04-28 22:26:51 - /usr/bi

[releng_8 tinderbox] failure on ia64/ia64

2011-04-28 Thread FreeBSD Tinderbox
TB --- 2011-04-28 21:26:53 - tinderbox 2.6 running on freebsd-stable.sentex.ca TB --- 2011-04-28 21:26:53 - starting RELENG_8 tinderbox run for ia64/ia64 TB --- 2011-04-28 21:26:53 - cleaning the object tree TB --- 2011-04-28 21:27:10 - cvsupping the source tree TB --- 2011-04-28 21:27:10 - /usr/bi

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Mikael Fridh
On Thu, Apr 28, 2011 at 11:59 PM, Jeremy Chadwick wrote: > > I've seen cases where entries in /boot/loader.conf throw parser errors > during loader(8) when quotes aren't used.  The man page denotes that > quotes are required, which doesn't appear to be true?  Possibly the > parser only throws erro

Re: No data received with Intel Corporation Gigabit CT Desktop Adapter (82574L)

2011-04-28 Thread Wiktor Niesiobedzki
2011/4/28 Jack Vogel : > On Thu, Apr 28, 2011 at 2:28 PM, John Baldwin wrote: >> >> On Thursday, April 28, 2011 5:17:11 pm Wiktor Niesiobedzki wrote: >> > Though they mention that HT MSI windows is disabled. I'm not sure, >> > whether this matters. >> >> Yes, that is probably what breaks this. >>

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Jeremy Chadwick
On Thu, Apr 28, 2011 at 05:27:04PM -0400, John Baldwin wrote: > On Thursday, April 28, 2011 3:56:01 pm Jeremy Chadwick wrote: > > On Thu, Apr 28, 2011 at 11:33:22PM +0930, Daniel O'Connor wrote: > > > Does anyone else use ZFS to store TM backups? > > > > > > I find that whenever my laptop (over wi

Re: No data received with Intel Corporation Gigabit CT Desktop Adapter (82574L)

2011-04-28 Thread Jack Vogel
On Thu, Apr 28, 2011 at 2:28 PM, John Baldwin wrote: > On Thursday, April 28, 2011 5:17:11 pm Wiktor Niesiobedzki wrote: > > Hi, > > > > I really don't know (I haven't done that intentionally). There is > > nothing special in /var/log/messages: > > kadlubek# grep -i msix /var/log/messages > > Apr

Re: No data received with Intel Corporation Gigabit CT Desktop Adapter (82574L)

2011-04-28 Thread John Baldwin
On Thursday, April 28, 2011 5:17:11 pm Wiktor Niesiobedzki wrote: > Hi, > > I really don't know (I haven't done that intentionally). There is > nothing special in /var/log/messages: > kadlubek# grep -i msix /var/log/messages > Apr 28 21:37:03 kadlubek kernel: em0: Using MSIX interrupts with 0 vect

Re: ZFS vs OSX Time Machine

2011-04-28 Thread John Baldwin
On Thursday, April 28, 2011 3:56:01 pm Jeremy Chadwick wrote: > On Thu, Apr 28, 2011 at 11:33:22PM +0930, Daniel O'Connor wrote: > > Does anyone else use ZFS to store TM backups? > > > > I find that whenever my laptop (over wifi!) starts a TM the ZFS machine it's backing up to grinds to a halt..

Re: No data received with Intel Corporation Gigabit CT Desktop Adapter (82574L)

2011-04-28 Thread Jack Vogel
Well, rebuild your kernel so the driver is not static, then you can load and unload the driver to see what happens. You only have one interface, no em1? Jack On Thu, Apr 28, 2011 at 2:17 PM, Wiktor Niesiobedzki wrote: > Hi, > > I really don't know (I haven't done that intentionally). There is

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Scott Sipe
On Apr 28, 2011, at 3:56 PM, Jeremy Chadwick wrote: > On Thu, Apr 28, 2011 at 11:33:22PM +0930, Daniel O'Connor wrote: >> Does anyone else use ZFS to store TM backups? >> >> I find that whenever my laptop (over wifi!) starts a TM the ZFS machine it's >> backing up to grinds to a halt.. Other sys

Re: No data received with Intel Corporation Gigabit CT Desktop Adapter (82574L)

2011-04-28 Thread Wiktor Niesiobedzki
Hi, I really don't know (I haven't done that intentionally). There is nothing special in /var/log/messages: kadlubek# grep -i msix /var/log/messages Apr 28 21:37:03 kadlubek kernel: em0: Using MSIX interrupts with 0 vectors Though sysctl suggests, that I haven't disabled MSIX: kadlubek# sysctl -a

[releng_8 tinderbox] failure on arm/arm

2011-04-28 Thread FreeBSD Tinderbox
TB --- 2011-04-28 20:03:30 - tinderbox 2.6 running on freebsd-stable.sentex.ca TB --- 2011-04-28 20:03:30 - starting RELENG_8 tinderbox run for arm/arm TB --- 2011-04-28 20:03:30 - cleaning the object tree TB --- 2011-04-28 20:03:37 - cvsupping the source tree TB --- 2011-04-28 20:03:37 - /usr/bin/

Re: No data received with Intel Corporation Gigabit CT Desktop Adapter (82574L)

2011-04-28 Thread Jack Vogel
Notice this: em0: Using MSIX interrupts with 0 vectors ZERO vectors are not a good sign :) You need to look at your system, you have MSIX disabled or something? Maybe some message in /var/log/messages?? Jack On Thu, Apr 28, 2011 at 1:20 PM, Wiktor Niesiobedzki wrote: > Hi, > > I've installed

No data received with Intel Corporation Gigabit CT Desktop Adapter (82574L)

2011-04-28 Thread Wiktor Niesiobedzki
Hi, I've installed Intel Gigabit CT Desktop Adapter in my FreeBSD 8.2 box and I can't see any incoming traffic on this card. Even ARP resolution doesn't work. Though I see the outgoing traffic on the other end. Relevant info: kadlubek# uname -a FreeBSD kadlubek 8.2-PRERELEASE FreeBSD 8.2-PRERELEA

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Malcolm Waltz
AFP is not the same as HFS+. Time Machine will work better with AFP than NFS or SMB/CIFS, but it's still not using native HFS+ unless you are using block storage (even if you use AFP with an HFS+ filesystem). Time Machine cannot function at all without accessing HFS+ directly. If you are usin

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Jeremy Chadwick
On Thu, Apr 28, 2011 at 11:33:22PM +0930, Daniel O'Connor wrote: > Does anyone else use ZFS to store TM backups? > > I find that whenever my laptop (over wifi!) starts a TM the ZFS machine it's > backing up to grinds to a halt.. Other systems streaming stuff over NFS from > it also tend to stall

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Chuck Swiger
On Apr 28, 2011, at 12:17 PM, George Kontostanos wrote: > I am using TM over smb on a ZFS Raidz1 pool of my fileserver with no problems > whatsoever. > > NAME USED AVAIL REFER MOUNTPOINT > tank/apple 37.2G 82.8G 37.2G /tank/apple > > Oldest back

Re: ZFS vs OSX Time Machine

2011-04-28 Thread George Kontostanos
I am using TM over smb on a ZFS Raidz1 pool of my fileserver with no problems whatsoever. NAME USED AVAIL REFER MOUNTPOINT tank/apple 37.2G 82.8G 37.2G /tank/apple Oldest backup 14 December 2009 On Thu, Apr 28, 2011 at 9:25 PM, Chuck Swiger wrote

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Chuck Swiger
On Apr 28, 2011, at 7:03 AM, Daniel O'Connor wrote: > Does anyone else use ZFS to store TM backups? > > I find that whenever my laptop (over wifi!) starts a TM the ZFS machine it's > backing up to grinds to a halt.. Other systems streaming stuff over NFS from > it also tend to stall.. > > I pre

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Adam Vande More
On Thu, Apr 28, 2011 at 10:32 AM, Thomas Ronner wrote: > On 4/28/11 4:03 PM, Daniel O'Connor wrote: > >> Does anyone else use ZFS to store TM backups? >> >> I find that whenever my laptop (over wifi!) starts a TM the ZFS machine >> it's backing up to grinds to a halt.. Other systems streaming stu

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Malcolm Waltz
I doubt the issues you are encountering have much to do with ZFS. It sounds like you are using TimeMachine over NFS. Obviously, Apple does not support that configuration: http://www.google.com/search?q=time+machine+nfs+site:apple.com In my opinion, TimeMachine should only be used with block sto

Re: correct way to setup gmirror on 7.4?

2011-04-28 Thread Pete French
> Is this simple to do? When I setup my home ZFS server, I couldn't get > it to boot from ZFS, so I configured 2 disks as 'boot' discs: Its fairly simple - I generally dont boot from ZFs either, my standard config has a 4 gig UFS boot partition, and then a large zpool on the rest of the drive. usu

Re: correct way to setup gmirror on 7.4?

2011-04-28 Thread Tom Evans
On Thu, Apr 28, 2011 at 4:43 PM, Pete French wrote: > Is not the problem here that you are trying to GPT label a gmirrored disc ? > If you instead gmirror two GPT partitions then the problem goes away > doesnt it ? Thats how I set things up - use parititoning on the ohysical > drives, and then put

Re: correct way to setup gmirror on 7.4?

2011-04-28 Thread Ivan Voras
On 28/04/2011 17:02, Edho P Arief wrote: On Thu, Apr 28, 2011 at 9:40 PM, Freddie Cash wrote: Granted, there may be reasons why it wasn't done like this in the beginning, but my non-GEOM programmer's eyes can't see any. I believe one of the reason is it would prevent conversion from non-gmirr

Re: correct way to setup gmirror on 7.4?

2011-04-28 Thread Michael Proto
On Thu, Apr 28, 2011 at 11:43 AM, Pete French wrote: >> Correct.  The layering is not, in itself, the issue.  The issue is >> that the loader or kernel or whatever reads the first sector of the >> disk, finds a GPT so it then looks for the backup GPT in the last >> physical sector of the disk and

Re: correct way to setup gmirror on 7.4?

2011-04-28 Thread Pete French
> Correct. The layering is not, in itself, the issue. The issue is > that the loader or kernel or whatever reads the first sector of the > disk, finds a GPT so it then looks for the backup GPT in the last > physical sector of the disk and doesn't find it. At this point, > gmirror is not loaded (

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Thomas Ronner
Hi, On 4/28/11 4:03 PM, Daniel O'Connor wrote: Does anyone else use ZFS to store TM backups? I find that whenever my laptop (over wifi!) starts a TM the ZFS machine it's backing up to grinds to a halt.. Other systems streaming stuff over NFS from it also tend to stall.. Are you using zfs co

Re: correct way to setup gmirror on 7.4?

2011-04-28 Thread Edho P Arief
On Thu, Apr 28, 2011 at 9:40 PM, Freddie Cash wrote: > Granted, there may be reasons why it wasn't done like this in the > beginning, but my non-GEOM programmer's eyes can't see any. I believe one of the reason is it would prevent conversion from non-gmirror disk to gmirror one as explained here

Re: correct way to setup gmirror on 7.4?

2011-04-28 Thread Freddie Cash
On Thu, Apr 28, 2011 at 2:20 AM, Edho P Arief wrote: > On Thu, Apr 28, 2011 at 4:15 PM, Daniel Kalchev wrote: >> >> >> On 28.04.11 01:30, Freddie Cash wrote: >>> >>> gmirror doesn't touch the start of the disk, but saves it's metadata >>> in the last sector of the disk, and creates a new GEOM pro

ZFS vs OSX Time Machine

2011-04-28 Thread Daniel O'Connor
Does anyone else use ZFS to store TM backups? I find that whenever my laptop (over wifi!) starts a TM the ZFS machine it's backing up to grinds to a halt.. Other systems streaming stuff over NFS from it also tend to stall.. I presume that TM is doing something which causes ZFS some issues but I

Re: way for failover zpool (no HAST needed): hastmon

2011-04-28 Thread Denny Schierz
hi, ok, here we go: I've installed hastmon and both FreeBSD nodes and one on Linux Debian as watchdog: Simple setup: # cat /etc.local/hastmon.conf resource sanip { exec /usr/local/_rbg/bin/san-ip friends iscsihead-m iscsihead-s nos on iscsihead-m { re

Re: correct way to setup gmirror on 7.4?

2011-04-28 Thread Edho P Arief
On Thu, Apr 28, 2011 at 4:15 PM, Daniel Kalchev wrote: > > > On 28.04.11 01:30, Freddie Cash wrote: >> >> gmirror doesn't touch the start of the disk, but saves it's metadata >> in the last sector of the disk, and creates a new GEOM provider that's >> one sector shorter. >> >> GPT stores it's part

Re: correct way to setup gmirror on 7.4?

2011-04-28 Thread Daniel Kalchev
On 28.04.11 01:30, Freddie Cash wrote: gmirror doesn't touch the start of the disk, but saves it's metadata in the last sector of the disk, and creates a new GEOM provider that's one sector shorter. GPT stores it's partition table in the first sector of the disk, and saves a backup copy of it