Re: [HEADSUP] zfs root pool mounting

2012-12-01 Thread Pawel Jakub Dawidek
has been bothering me ever since, there was no way (and I tried) to re route > it. I believe zpool.cache is not required only for root pool anymore and that you still need it if you want non-root pools to be automatically configured after reboot. Am I right, Andriy? Zpool.cache basically t

Re: problems with hast

2012-02-05 Thread Pawel Jakub Dawidek
HAST_REPLICATION_ASYNC) { > + HAST_REPLICATION_ASYNC && !ISSYNCREQ(hio)) { Could you move this additional check to separate line? Thanks! -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl pgpZaHy0KpR84.pgp Description: PGP signature

Are there any users of accelerated asymmetric cryptography?

2011-11-12 Thread Pawel Jakub Dawidek
, but whoever steps up have to be ready to test patches. 2. Use alternative way of accessing it (eg. via direct ioctl to ubsec device), at least until we start to support more cards. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD comm

Re: gmirror+gjournal often makes inconsistens file systems

2011-09-09 Thread Pawel Jakub Dawidek
o tell, but it could be at least better documented. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com pgpw2NPzuXcLC.pgp Description: PGP signature

Re: buildworld FAIL.

2011-04-26 Thread Pawel Jakub Dawidek
+++ sbin/hastd/hast_proto.c (working copy) > @@ -69,7 +69,9 @@ struct hast_pipe_stage { > > static struct hast_pipe_stage pipeline[] = { > { "compression", compression_send, compression_recv }, > +#ifdef HAVE_CRYPTO > { "checksum", checksum_send, checksum_recv } &

Re: geli(4) memory leak

2011-04-02 Thread Pawel Jakub Dawidek
gt; pbp->bio_error); > pbp->bio_completed = 0; > } > - g_destroy_bio(bp); > /* >* Write is finished, send it up. >*/ -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com pgpmtOt5nWc4N.pgp Description: PGP signature

Re: Any success stories for HAST + ZFS?

2011-04-02 Thread Pawel Jakub Dawidek
x27;m not > chasing a dead rabbit. I just committed a fix for a problem that might look like a deadlock. With trociny@ patch and my last fix (to GEOM GATE and hastd) do you still have any issues? -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer

Re: Any success stories for HAST + ZFS?

2011-03-25 Thread Pawel Jakub Dawidek
The simpler the better. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com pgpQSkm3Cfnru.pgp Description: PGP signature

Re: geli problems after installkernel & installworld

2011-01-15 Thread Pawel Jakub Dawidek
have I noticed a change in the device names nor any unusual > messages from dmesg. Currently, I am doing a new compile run on world > and kernel to attempt anew tomorrow. > > Am I missing something? Can you show the output of 'geli list' from a running system? -- Pawe

Re: New ZFSv28 patchset for 8-STABLE

2011-01-10 Thread Pawel Jakub Dawidek
loc()/zfs_free() mismatch > Just before loading kernel modules, after that my system hangs. Could you tell me more about you pool configuration? 'zpool status' output might be helpful. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.

Re: New ZFSv28 patchset for 8-STABLE

2011-01-10 Thread Pawel Jakub Dawidek
, I'm afraid. I just sent an e-mail to Brendan Gregg from Oracle who originally implemented L2ARC in ZFS why this is turned off by default. Once I get answer we can think about turning it on again. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd

Re: New ZFSv28 patchset for 8-STABLE

2011-01-10 Thread Pawel Jakub Dawidek
out of the pool. Such hangs happen when I/O never returns. ZFS doesn't timeout I/O requests on its own, this is driver's responsibility. It is still strange that the driver didn't pass I/O error up to ZFS or it might as well be ZFS bug, but I don't think so. -- Pawel

Re: hast vs ggate+gmirror sychrnoisation speed

2010-11-02 Thread Pawel Jakub Dawidek
On Mon, Nov 01, 2010 at 09:57:08PM +0200, Mikolaj Golub wrote: > > On Mon, 01 Nov 2010 17:06:49 +0200 Mikolaj Golub wrote: > > MG> On Mon, 1 Nov 2010 12:01:00 +0100 Pawel Jakub Dawidek wrote: > > PJD>> I like your patch and I agree of course it is better to send

Re: hast vs ggate+gmirror sychrnoisation speed

2010-11-01 Thread Pawel Jakub Dawidek
On Sat, Oct 30, 2010 at 03:25:56PM +0300, Mikolaj Golub wrote: > > On Thu, 28 Oct 2010 22:08:54 +0300 Mikolaj Golub wrote to Pawel Jakub Dawidek: > > PJD>> I looked at the code and the keepalive packets arbe sent from another > PJD>> thread. Could you try turning th

Re: hast vs ggate+gmirror sychrnoisation speed

2010-10-28 Thread Pawel Jakub Dawidek
e sent from another thread. Could you try turning them off in primary.c and see if that helps? -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes,

Re: Can't build boot blocks after new GPT attributes added

2010-10-27 Thread Pawel Jakub Dawidek
rk for the case that your source tree does not match your installed > > world. > > But this doesn't appear to be the case here: [...] Because you don't have toolchain built. Once you buildworld you can do that. All in all, the safest and most recommended way is to just use bu

Re: Can't build boot blocks after new GPT attributes added

2010-10-27 Thread Pawel Jakub Dawidek
of this header file. This can be easly fixed by extending CFLAGS in one of the Makefiles (which is already done in HEAD), but I'm afraid this procedure is incorrect (and never was correct). Apart from including wrong files it also links to wrong libraries, etc. The proper way is to: #

Re: hast vs ggate+gmirror sychrnoisation speed

2010-10-22 Thread Pawel Jakub Dawidek
ks like might affect synchronization speed too. Previously we had > 128kB > here but this has been changed to 32Kb because it was reported about slow > synchronization with MAX_SEND_SIZE=128kB. The same restriction exists in ggate. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpQiMF7vaurm.pgp Description: PGP signature

Re: Label question...why does ufs label vanish on mount?

2010-10-13 Thread Pawel Jakub Dawidek
On Wed, Oct 13, 2010 at 11:47:41AM +0200, Stefan Bethke wrote: > Am 13.10.2010 um 10:20 schrieb Pawel Jakub Dawidek: > > > On Tue, Oct 12, 2010 at 11:33:11PM -0700, Jeremy Chadwick wrote: > >> On Wed, Oct 13, 2010 at 08:29:06AM +0200, Stefan Bethke wrote: > >>>

Re: Label question...why does ufs label vanish on mount?

2010-10-13 Thread Pawel Jakub Dawidek
fied) volume label. The class may choose to ignore the spoil event from GEOM (it is send on first open for write), but if it isn't based on autodiscovering metadata. For example the NOP class ignores this event, because it doesn't care about metadata of provider it

Re: Multiple zdevs in the root zpool?

2010-10-08 Thread Pawel Jakub Dawidek
SD doesn't have OpenSolaris limitations when it comes to booting. You can boot from multi-vdev pools, from RAIDZ1, RAIDZ2, etc. There are some comments in the code that comes from OpenSolaris and suggests otherwise, but simply ignore them. There is also one change to be merged soon, th

Re: Freebsd 8.0 kmem map too small

2010-06-08 Thread Pawel Jakub Dawidek
s of > that, it's still adjustable in loader.conf. Why? I create vfs.zfs.zio node and create vfs.zfs.zio.use_uma sysctl to match tunable name. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.F

Re: FreeBSD 8.1 prerelease "security.jail.mount_allowed" is broken?

2010-05-25 Thread Pawel Jakub Dawidek
t be safe. Imagine creating corrupted file system on da2s2a and mounting it. It will panic entire system, not only your jail. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgp5qyFIhUszz.pgp Description: PGP signature

Re: Freebsd 8.0 kmem map too small

2010-05-05 Thread Pawel Jakub Dawidek
is causing your problems? Could you try 8-STABLE kernel from before r206815? -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgptmoGQAAce1.pgp Description: PGP signature

Re: proliant server lockups with freebsd-amd64-stable (2010-03-10)

2010-03-12 Thread Pawel Jakub Dawidek
em as potential ZFS bug. It turned out to be bug in ciss(4) and I believe mav@ (CCed) has fix for that. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes

Re: Many processes stuck in zfs

2010-03-10 Thread Pawel Jakub Dawidek
On Wed, Mar 10, 2010 at 07:42:43PM +0200, Andriy Gapon wrote: > on 10/03/2010 19:31 Pawel Jakub Dawidek said the following: > > This should be impossible. If we are that deep in zfsvfs_teardown(), it > > means > > that we hold the z_teardown_lock exclusively. And we

Re: Many processes stuck in zfs

2010-03-10 Thread Pawel Jakub Dawidek
On Wed, Mar 10, 2010 at 04:12:36PM +0100, Borja Marcos wrote: > > On Mar 10, 2010, at 12:02 PM, Pawel Jakub Dawidek wrote: > > > Once the deadlock occur, enter DDB and send me the output of: > > > > ps > > show alllocks > >

Re: Many processes stuck in zfs

2010-03-10 Thread Pawel Jakub Dawidek
see any console output mechanism. You should be able to use text dumps to capture output of those commands on panic. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpDWmgFdBBAn.pgp Description: PGP signature

Re: Many processes stuck in zfs

2010-03-10 Thread Pawel Jakub Dawidek
ot. Once the deadlock occur, enter DDB and send me the output of: ps show alllocks show lockedvnods show allchains alltrace Thanks. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://ww

Re: Many processes stuck in zfs

2010-03-09 Thread Pawel Jakub Dawidek
On Tue, Mar 09, 2010 at 01:57:07PM +0100, Borja Marcos wrote: > > On Mar 9, 2010, at 1:29 PM, Pawel Jakub Dawidek wrote: > > > On Tue, Mar 09, 2010 at 10:15:53AM +0100, Stefan Bethke wrote: > >> Over the past couple of months, I've more or less regularly observed

Re: Many processes stuck in zfs

2010-03-09 Thread Pawel Jakub Dawidek
er diagnose? What kind of hardware do you have there? There is 3-way deadlock I've a fix for which would be hard to trigger on single or dual core machines. Feel free to try the fix: http://people.freebsd.org/~pjd/patches/zfs_3way_deadlock.patch -- Pawel Jakub Dawidek

Re: ZFS hot spares

2010-03-09 Thread Pawel Jakub Dawidek
s events to devd. It should be possible to implement some scripts (or maybe reuse zfs-retire/zfs-diagnose?) to perform 'zpool replace' when disk disappears, etc. This shouldn't be very hard modulo bugs in FreeBSD/ZFS as this functionality, because unused, wasn'

Re: ZFS panic on RELENG_7/i386

2010-01-25 Thread Pawel Jakub Dawidek
t; #3 0xc08e95ce in zfs_fuid_create (zfsvfs=0xc65c4800, id=Unhandled dwarf > expression opcode 0x93 > ) > at > /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_fuid.c:591 -- Pawel Jakub Dawidek http://www.wheel.pl p...@freebsd.or

Re: glabel+gmirror (8.0-RC1 problem)

2009-10-09 Thread Pawel Jakub Dawidek
ut journaling at all (which hurts on a 2.7TB partition when the > system was not cleanly shut down) I just committed the patch. Yes, it should fix gjournal case as well. I want to merge it before 8.0-RELEASE. -- Pawel Jakub Dawidek http://www.wheel.pl p...@freebsd.org

Re: glabel+gmirror (8.0-RC1 problem)

2009-09-28 Thread Pawel Jakub Dawidek
On Mon, Sep 28, 2009 at 08:37:56PM +0200, Oliver Lehmann wrote: > Hi Pawel, > > Pawel Jakub Dawidek wrote: > > > Does anything change between you upgrade from BETA3 and RC1? For example > > gmirror was compiled into the kernel before and now is loaded as module

Re: glabel+gmirror (8.0-RC1 problem)

2009-09-28 Thread Pawel Jakub Dawidek
o the kernel before and now is loaded as module or something similar? Could you test this patch: http://people.freebsd.org/~pjd/patches/improved_taste.patch -- Pawel Jakub Dawidek http://www.wheel.pl p...@freebsd.org http://www.FreeBSD

Re: zfs kernel panic

2009-09-09 Thread Pawel Jakub Dawidek
On Wed, Sep 09, 2009 at 07:41:08PM +1000, Danny Carroll wrote: > On 9/09/2009 6:33 PM, Pawel Jakub Dawidek wrote: > >On Wed, Sep 09, 2009 at 09:07:15AM +0200, Gerrit Kühn wrote: > > > >>On Tue, 8 Sep 2009 18:44:13 +0200 Pawel Jakub Dawidek > >>wrote about Re: zf

Re: zfs kernel panic

2009-09-09 Thread Pawel Jakub Dawidek
On Wed, Sep 09, 2009 at 09:07:15AM +0200, Gerrit Kühn wrote: > On Tue, 8 Sep 2009 18:44:13 +0200 Pawel Jakub Dawidek > wrote about Re: zfs kernel panic: > > PJD> If this is amd64, add vm.kmem_size="4G" to your loader.conf back. > > What about vm.kmem_size_max?

Re: zfs kernel panic

2009-09-08 Thread Pawel Jakub Dawidek
ny further hints what might cause the > crash? I copied the files again, but this time everything went fine. If this is amd64, add vm.kmem_size="4G" to your loader.conf back. -- Pawel Jakub Dawidek http://www.wheel.pl p...@freebsd.org

Re: gstripe problem

2009-07-30 Thread Pawel Jakub Dawidek
8-BETA1 is amd64 and core 2 quad cpu. > > any hints ? 'gstripe create' command doesn't store any metadata, it creates temporary device (see Type: MANUAL). If you want your stripe to show up after reboot, the command you're looking for is 'gstripe label'. -- P

Re: RELENG_7/i386: ZFS constant panic on file system writes

2009-04-07 Thread Pawel Jakub Dawidek
hen I try to access the directory containing this file. Could you try running 'zpool scrub' on this pool? Nothing better comes to my mind, it looks like some kind of internal inconsistency and hopefully scrub will be able to find it. Could you also show 'zpool status' outpu

Re: ZFS root File System

2009-02-27 Thread Pawel Jakub Dawidek
usr/src (zfs, local, noatime) system/var/log on /var/log (zfs, local, noatime) system/var/tmp on /var/tmp (zfs, local, noatime, nosuid) puppet:root:~# swapctl -l Device: 1024-blocks Used: /dev/mirror/swap.eli4194300 0

Re: Curious failure of ZFS snapshots

2008-11-29 Thread Pawel Jakub Dawidek
It's not file system on-disk structure fault, as far as I understand, because reboot fixes it. I belive it's how you access the snapshots. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD

Re: Curious failure of ZFS snapshots

2008-11-29 Thread Pawel Jakub Dawidek
e you using? I've seen quite a few > different "non-existent"/"invalid directory" errors when using tcsh to > navigate through the .zfs/ hierarchy. Can do "cd ..", "ls .", or tab > completion when in anything under .zfs/ This was a bug

Re: MFC ZFS: when?

2008-11-29 Thread Pawel Jakub Dawidek
veryone is very welcome to try ZFS on HEAD and report results (both bad and good). The current plan is to have new ZFS in 7.2. For this to happen, some other changes have to be MFCed too, like *at() syscalls, etc. I hope this helps to understand what's going on. -- Pawel Jakub Dawidek

Re: ZFS crashes on heavy threaded environment

2008-11-17 Thread Pawel Jakub Dawidek
0 > vm.kmem_size_scale="2" > > The system is running FreeBSD/amd64 7.1-PRERELEASE equipped with 8GB of > RAM with GENERIC kernel. With new ZFS I get: Memory allocation failed:: Cannot allocate memory Is this expected? -- Pawel Jakub Dawidek

Re: zfs quota question

2008-10-07 Thread Pawel Jakub Dawidek
On Tue, Oct 07, 2008 at 03:30:09AM -0700, Jeremy Chadwick wrote: > On Tue, Oct 07, 2008 at 12:17:55PM +0200, Pawel Jakub Dawidek wrote: > > Turn compression off and retry. > > Yep, that's the key! > > # zfs set quota=4g storage/home > # zfs set compression=off st

Re: zfs quota question

2008-10-07 Thread Pawel Jakub Dawidek
> pool/lhm available 0 - > > pool/lhm referenced 1.00M - > > pool/lhm compressratio 7.25x - Turn compression off and retry. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED]

Re: GELI partition mount on boot fails after 7.0 -> 7.1-PRERELEASE upgrade

2008-09-30 Thread Pawel Jakub Dawidek
Cannot access ad0s1f (error=1). Something keeps ad0s1f open, so geli cannot access it. Could you add somewhere 'sysctl -b kern.geom.confxml' (maybe to /etc/rc.d/geli script), so we can see how keeps ad0s1f open. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PR

Re: Panic on ZFS startup after crash

2008-07-22 Thread Pawel Jakub Dawidek
gt; statement ? There might be some small differences, but the patches I provide here will apply to 7.0-RELEASE, 7-STABLE and 8-CURRENT. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer

Re: Panic on ZFS startup after crash

2008-07-21 Thread Pawel Jakub Dawidek
On Mon, Jul 21, 2008 at 03:51:56PM +0200, Pawel Jakub Dawidek wrote: > On Mon, Jul 21, 2008 at 03:49:24PM +0200, Daniel Eriksson wrote: > > Pawel Jakub Dawidek wrote: > > > > > I'm afraid your pool's metadata is > > > somehow corrupted that ZFS

Re: Panic on ZFS startup after crash

2008-07-21 Thread Pawel Jakub Dawidek
On Mon, Jul 21, 2008 at 03:49:24PM +0200, Daniel Eriksson wrote: > Pawel Jakub Dawidek wrote: > > > I'm afraid your pool's metadata is > > somehow corrupted that ZFS can't handle that. > > Yes, that's my conclusion also. It looks like the intent lo

Re: Panic on ZFS startup after crash

2008-07-21 Thread Pawel Jakub Dawidek
On Mon, Jul 21, 2008 at 11:02:36AM +0200, Pawel Jakub Dawidek wrote: > On Mon, Jul 21, 2008 at 12:29:54AM +0200, Daniel Eriksson wrote: > > Pawel Jakub Dawidek wrote: > > > > > Can you try this patch? > > > > > > http://people.freebsd.org/~pjd/patche

Re: Panic on ZFS startup after crash

2008-07-21 Thread Pawel Jakub Dawidek
On Mon, Jul 21, 2008 at 12:29:54AM +0200, Daniel Eriksson wrote: > Pawel Jakub Dawidek wrote: > > > Can you try this patch? > > > > http://people.freebsd.org/~pjd/patches/space_map.c.patch > > Now it panics (solaris assert) at line 431 in dmu.c. I'll try t

Re: Panic on ZFS startup after crash

2008-07-19 Thread Pawel Jakub Dawidek
eft the intent > log in an inconsistent state and that ZFS panics on startup due to badly > formatted data in the intent log. > > Is there any way I can recover this pool? Can you try this patch? http://people.freebsd.org/~pjd/patches/space_map.c.patch -- Pawel Jak

Re: Lenovo Thinkpad t61p and FreeBSD?

2008-06-03 Thread Pawel Jakub Dawidek
river limitation I can't run amd64 or PAE. > I'm also having issues with the DVD reader on the machine. I'm mainly > curious to know if anyone else is having these problems, and if anyone > has comments about the hardware in general. I haven't tried DV

Re: ZFS on root and disk write caching.

2008-05-30 Thread Pawel Jakub Dawidek
On Thu, May 29, 2008 at 01:58:21PM +0200, Arnaud Houdelette wrote: > Pawel Jakub Dawidek a écrit : > >On Wed, May 21, 2008 at 03:00:41PM +0200, Arnaud Houdelette wrote: > >>3. I'd like to keep the storage pool (zraid1) separated from the system > >>pool (just on

Re: Analysis of disk file block with ZFS checksum error

2008-05-29 Thread Pawel Jakub Dawidek
ou observe is either a misdirected read/write (you asked to read/write sector X, but the data was read from or wrote to sector Y) or a phantom write (you asked to write, but the data never reach the disk, so you have old data there). -- Pawel Jakub Dawidek http://www.wheel.

Re: ZFS on root and disk write caching.

2008-05-29 Thread Pawel Jakub Dawidek
You may have a pool with no redundancy at all for unimportant data, then you can have another pool with RAIDZ2 for more important data and at the end mirrored pool on top of encrypted disks for secret data. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED]

Re: ZFS on root and disk write caching.

2008-05-29 Thread Pawel Jakub Dawidek
ki states that we may encounter problems > with more than one pool in use : is it still the case ? AFAIK it was never the case. Where did you find that information exactly? I've two systems that have more than one pool configured and never had any problems. -- Pawel Jakub Dawidek

Re: Reliably trigger-able ZFS panic

2008-03-03 Thread Pawel Jakub Dawidek
les/zfs/../../contrib/opensolaris/uts/common/zmod/deflate.c:318 Can you send me your FS configuration? zfs get all your/file/system I see that you use compression on this dataset? -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED]

Re: 7.0-RC1 - ZFS + UFS + io activity show a deadlock

2008-02-01 Thread Pawel Jakub Dawidek
d/patches/zgd_done.patch This patch is wrong, why do you use it in the first place? -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpVkS6s6ba90.pgp Description: PGP signature

Re: ZFS deadlock ?

2007-11-10 Thread Pawel Jakub Dawidek
On Sat, Nov 10, 2007 at 12:39:27PM +0100, Henri Hennebert wrote: > Pawel Jakub Dawidek wrote: > >On Fri, Nov 09, 2007 at 05:37:00PM +0100, Henri Hennebert wrote: > >>hello > >> > >>To push zfs, I launch 2 scrub at the same time, after ~20 seconds the > >

Re: ZFS deadlock ?

2007-11-10 Thread Pawel Jakub Dawidek
.org/~pjd/patches/zgd_done.patch -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpJHYGJwsy6i.pgp Description: PGP signature

Re: Crashed gmirror, single disk marked SYNC and wont boot...

2007-08-21 Thread Pawel Jakub Dawidek
. SYNCHRONIZING means that this component was/is being synchronized. It seems that you removed/lost the master disk, while it was synchronizing. It should work anyway. BTW. You confuse things again. Your slice is just fine (ad6s1), you don't have partitions, AFAIU. All in all, your partition

Re: Improving FreeBSD-SA-07:01.jail fix [was: HEADS UP: Re: FreeBSD Security Advisory FreeBSD-SA-07:01.jail]

2007-01-23 Thread Pawel Jakub Dawidek
On Tue, Jan 23, 2007 at 01:25:08PM +0100, Alexander Leidinger wrote: > Quoting Pawel Jakub Dawidek <[EMAIL PROTECTED]> (from Tue, 23 Jan 2007 > 12:34:44 +0100): > >It looks like it may work, but I still find it a bit risky. If sh(1) can > >reopen the file under some cond

Re: Improving FreeBSD-SA-07:01.jail fix [was: HEADS UP: Re: FreeBSD Security Advisory FreeBSD-SA-07:01.jail]

2007-01-23 Thread Pawel Jakub Dawidek
On Sat, Jan 20, 2007 at 03:24:23PM +0100, Alexander Leidinger wrote: > Quoting Pawel Jakub Dawidek <[EMAIL PROTECTED]> (Sat, 20 Jan 2007 14:03:08 > +0100): > > > I fully agree that console.log should be outside a jail. At least noone > > proposed safe solution so far

Re: Improving FreeBSD-SA-07:01.jail fix [was: HEADS UP: Re: FreeBSD Security Advisory FreeBSD-SA-07:01.jail]

2007-01-20 Thread Pawel Jakub Dawidek
ree that console.log should be outside a jail. At least noone proposed safe solution so far, which also means it's not an easy fix. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer

Re: HEADS UP: Re: FreeBSD Security Advisory FreeBSD-SA-07:01.jail

2007-01-13 Thread Pawel Jakub Dawidek
ce the jail is running. There could be a race where `realpath -c` returns one path, an attacker inside a jail changes one of resolved path's component and rc.d/jail from outside a jail tries to use it. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpSbbFVrYgiw.pgp Description: PGP signature

Re: ggated not working on 6.2-PRERELEASE

2006-10-30 Thread Pawel Jakub Dawidek
;> when I backout sys/kern/uipc_socket2.c rev. 1.147.2.7. > > > > I will try to reproduce that here. > > I can confirm that it works for me too with the above mentioned change > backed out. This was ggate bug. I committed fix to HEAD and will MFC it in one week. Thank you! --

Re: RELENG_6_1 panic, possibly gmirror related

2006-09-29 Thread Pawel Jakub Dawidek
ance to build debugging kernel > there, but will do that on similar test machine. > > Before I dig for it, maybe it's known issue? Never heard of it, so please provide some more info. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED]

Re: ARRRRGH! Guys, who's breaking -STABLE's GMIRROR code?!

2006-09-13 Thread Pawel Jakub Dawidek
On Wed, Sep 13, 2006 at 11:15:04AM -0700, Gary Kline wrote: > On Wed, Sep 13, 2006 at 04:46:05PM +0200, Pawel Jakub Dawidek wrote: > > On Sat, Sep 09, 2006 at 12:38:13PM -0500, Karl Denninger wrote: > > > This is not cool folks. > > > > I'm really sorry fo

Re: gjournal and Softupdates

2006-09-13 Thread Pawel Jakub Dawidek
On Wed, Sep 13, 2006 at 05:28:49PM +0200, Teufel wrote: > Pawel Jakub Dawidek wrote: > >>>- todays desktop drives can lie about writing data. SoftUpdates relies > >>>on some assumptions about when the data is physically written to > >>>media, and those are n

Re: ARRRRGH! Guys, who's breaking -STABLE's GMIRROR code?!

2006-09-13 Thread Pawel Jakub Dawidek
y mistake, just trying to show how you can avoid such bad days in the future. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpSmq7KzBDhd.pgp Description: PGP signature

Re: gjournal and Softupdates

2006-09-13 Thread Pawel Jakub Dawidek
and those are not always valid today > > I think journaling relies on the same assumptions. Not gjournal, because it uses BIO_FLUSH I/O requests which flushes disk write cache when needed. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED]

Re: gmirror RAID-1: rebuilding freezes machine

2006-09-09 Thread Pawel Jakub Dawidek
;, 'synchronization of component X in Y finished', etc. which could be helpful for such a daemon. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgppPnabptqya.pgp Description: PGP signature

Re: FAST_IPSEC + device padlock + device crypto + IKE broken?

2006-09-05 Thread Pawel Jakub Dawidek
t net.inet.ipsec.crypto_support=0 these same dynamic ike key > configurations work, albeit without HW crypto accelleration. > > Has anyone else observed this and know what the problem is? Is this after my recent padlock(4) update in RELENG_6? -- Pawel Jakub Dawid

Re: gjournal questions

2006-09-01 Thread Pawel Jakub Dawidek
( > error=35). It happens sometimes under load, haven't investigated yet what exactly is happening, but you can ignore it for now, it's harmless, it just means journal switch will be done a bit later. BTW. 8GB for journals is much. You should not need more than 2GB p

Re: gjournal questions

2006-09-01 Thread Pawel Jakub Dawidek
isable SU and turn on gjournal? Without "renewfsing" you could do on an unmounted file system: # tunefs -n disable -J enable /dev/daX.journal -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org F

Re: gjournal questions

2006-09-01 Thread Pawel Jakub Dawidek
urnal > newfs -U -L "scr10" /dev/da4.journal > > so 1 -8 G journal for each data device. Hmm, using SU with gjournal is really bad choice and you didn't tell file system that it is on gjournaled device. Try: # newfs -J -L scr0X /dev/daX.journal -- Pawel Jakub Da

Re: geom_mirror problem.

2006-08-07 Thread Pawel Jakub Dawidek
280 > Trying to mount root from ufs:/dev/mirror/gm0s3 > > So, can somebody help me to solve this problem. This is not an error, but a warning. This is not geom_mirror problem, but geom_bsdlabel issue. And it's harmless:) -- Pawel Jakub Dawidek

Re: gmirror problems

2006-07-25 Thread Pawel Jakub Dawidek
that disk back and running camcontol rescan > all - bring it back > to panic... so, i cannot use this disk anymore (i know, that i can rewrite > it's last sector on machine without GEOM compiled into the kernel) I you want me to help with this one, you need to

Re: graid3 configure on 6 stable

2006-07-07 Thread Pawel Jakub Dawidek
anks for the report, I fixed it in HEAD and I'm going to MFC the fix in three days. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpVeRzJYEHjY.pgp Description: PGP signature

Re: graid3 rebuild panic: mb_dtor_pack: ext_size != MCLBYTES

2006-07-07 Thread Pawel Jakub Dawidek
d on google and > didn't find much. > > panic: mb_dtor_pack: ext_size != MCLBYTES Could you tell me which FreeBSD version do you use? Can I reproduce it somehow? -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.

Re: quota deadlock on 6.1-RC1

2006-05-05 Thread Pawel Jakub Dawidek
you think that answering "We had two users who insisted on fixing those bugs just before release, blame them!" would satisfy them? It isn't good to release a software with known, documented bugs, but its better than shipping an untested software with god-one-knows unkno

Re: 6.1 prerelease graid3 livelock?

2006-04-30 Thread Pawel Jakub Dawidek
r/src/sys/geom/raid3/g_raid3.c:775. +> +> The full error and alltrace is here: +> http://duttonbros.com/freebsd/ddb.log Thanks, I fixed it in HEAD, will try to MFC it tomorrow. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] h

Re: geli password prompt does not work

2006-04-29 Thread Pawel Jakub Dawidek
On Fri, Apr 28, 2006 at 08:37:13AM +0200, Martin wrote: +> Pawel Jakub Dawidek wrote: +> +> >+> And after detecting the DVD-ROM, geom_eli waits as usually, but I +> >+> cannot enter the password. Maybe the keyboard is just blocked? +> >+> That might explai

Re: geli password prompt does not work

2006-04-27 Thread Pawel Jakub Dawidek
On Thu, Apr 27, 2006 at 08:22:08PM +0200, Martin wrote: +> Pawel Jakub Dawidek wrote: +> > Flags field suggest that you were giving the passphrase on boot, before +> > root file system was mounted. Is that right? +> +> Yes. That's correct. +> +> > Can

Re: 6.1 prerelease graid3 livelock?

2006-04-27 Thread Pawel Jakub Dawidek
On Thu, Apr 27, 2006 at 08:55:35AM +0200, Pawel Jakub Dawidek wrote: +> On Sun, Apr 23, 2006 at 12:04:33PM -0700, Bradley W. Dutton wrote: +> +> Hi, +> +> +> +> I'm experiencing a sort of livelock on a 6.1 prerelease box. It appears +> +> all of the IO re

Re: 6.1 prerelease graid3 livelock?

2006-04-26 Thread Pawel Jakub Dawidek
boxes. I can usually +> get the lockup to occur within about 12 hours of booting. Ok, I think I found it. Could you try this patch: http://people.freebsd.org/~pjd/patches/g_raid3.c.4.patch -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED]

Re: geli password prompt does not work

2006-04-26 Thread Pawel Jakub Dawidek
On Wed, Apr 26, 2006 at 10:31:38PM +0200, Martin wrote: +> Pawel Jakub Dawidek wrote: +> > Could you send me the output of: +> > +> ># geli dump /dev/ | head -10 +> +> Metadata on /dev/ad0s2g: +> magic: GEOM::ELI +>version: 0 +> flags: 0x2 +

Re: geli password prompt does not work

2006-04-26 Thread Pawel Jakub Dawidek
/dev/ is where your /usr/home is stored without .eli suffix. Also, please increase debug level to 1 (kern.geom.eli.debug) and send me what is printed on the console as well. Thanks. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] h

Re: fsck_ufs locked in snaplk

2006-04-26 Thread Pawel Jakub Dawidek
;dq_ump->um_quotas[dq->dq_type]) == NULLVP) panic("dqsync: file"); (void) vn_start_secondary_write(dqvp, &mp, V_WAIT); if (vp != dqvp) vn_lock(dqvp, LK_EXCLUSIVE | LK_RETRY, td); As you can see DQ_MOD is checked before vn_start_secondary_wr

Re: 6.1 prerelease graid3 livelock?

2006-04-24 Thread Pawel Jakub Dawidek
ode introduced on March 20th. Can you break into DDB (alt+ctrl+esc or send break via serial console) and send me the output of 'traceall' command? -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org Fre

Re: gmirror on existing filesystem (was Fresh install on gmirror'ed disks?)

2006-04-07 Thread Pawel Jakub Dawidek
On Thu, Apr 06, 2006 at 09:33:31AM -0400, Mike Jakubik wrote: +> Pawel Jakub Dawidek wrote: +> >One can still see how many sectors exactly has the partition he is going +> >to create file system on and add additional newfs(8) flag +> >'-s '. +> > +> +

Re: GEOM_RAID3: Device datos is broken, too few valid components

2006-04-06 Thread Pawel Jakub Dawidek
of those broken components was really broken, right? If yes, you should 'graid3 rebuild' it immediatelly after 'label' command. If no, you should still rebuild one of them after labeling it. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED]

Re: gmirror on existing filesystem (was Fresh install on gmirror'ed disks?)

2006-04-06 Thread Pawel Jakub Dawidek
l in the near future (and I hope never - I'd prefer to wait for a new installer). One can still see how many sectors exactly has the partition he is going to create file system on and add additional newfs(8) flag '-s '. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpEmArL2ynOc.pgp Description: PGP signature

Re: gmirror(8) and graid3(8) changes.

2006-03-18 Thread Pawel Jakub Dawidek
On Wed, Mar 15, 2006 at 02:28:55PM -0500, Mike Jakubik wrote: +> Pawel Jakub Dawidek wrote: +> >Hi. +> > +> >Here you can find patches with changes to gmirror(8) and graid3(8): +> > +> >http://people.freebsd.org/~pjd/patches/gmirror.7.patch +> >http:/

Re: gmirror(8) and graid3(8) changes.

2006-03-08 Thread Pawel Jakub Dawidek
On Wed, Mar 08, 2006 at 03:40:24PM -0500, Mike Tancsa wrote: +> At 02:39 PM 08/03/2006, Pawel Jakub Dawidek wrote: +> >On Wed, Mar 08, 2006 at 01:50:42PM -0500, Mike Tancsa wrote: +> >+> At 05:28 PM 06/03/2006, Pawel Jakub Dawidek wrote: +> >+> >Hi. +> >+> &

Re: gmirror(8) and graid3(8) changes.

2006-03-08 Thread Pawel Jakub Dawidek
On Wed, Mar 08, 2006 at 01:50:42PM -0500, Mike Tancsa wrote: +> At 05:28 PM 06/03/2006, Pawel Jakub Dawidek wrote: +> >Hi. +> > +> >Here you can find patches with changes to gmirror(8) and graid3(8): +> > +> >http://people.freebsd.org/~pjd/patches

  1   2   >