Re: fsid change of ZFS?

2011-08-24 Thread Pawel Jakub Dawidek
then it is good enough, IMHO. And this is what Rick proposed with his patch. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com pgpOyu4gfRBq3.pgp

Re: fsid change of ZFS?

2011-08-23 Thread Pawel Jakub Dawidek
and VFCF_DELEGADMIN flags. Here you cannot use those flags to solve the problem, but hardcoding file system types in an array is really not the way to go. I much prefer Ben's idea of calculating a hash from file system name and detecting collisions. -- Pawel Jakub Dawidek

Re: fsid change of ZFS?

2011-08-23 Thread Pawel Jakub Dawidek
, vfs_typenum won't be that sparse.) I'll also make sure that whatever hash I use doesn't collide for the current list of file names (although I will include code that handles a collision in the patch). Sounds great. Thanks! -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD

Re: fsid change of ZFS?

2011-08-23 Thread Pawel Jakub Dawidek
On Tue, Aug 23, 2011 at 04:11:20PM -0400, Rick Macklem wrote: Pawel Jakub Dawidek wrote: On Tue, Aug 23, 2011 at 10:09:41AM -0400, Rick Macklem wrote: Ok, I'll admit I wasn't very fond of a fixed table that would inevitably get out of date someday, either. I didn't think hashing

Re: Weird issue with hastd(8)

2011-06-27 Thread Pawel Jakub Dawidek
writes 2 and 3, but we cannot simply skip first three writes, only because we have fifth write that covers them, as there is 4096,1024 request in between. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I

Re: Randomization in hastd(8) synchronization thread

2011-05-21 Thread Pawel Jakub Dawidek
. It is stored in am_syncmap field. Blocks that are dirtied during regular writes should not effect on synchronization bitmap and synchronization progress. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I

Re: geli on r221012

2011-05-08 Thread Pawel Jakub Dawidek
. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com pgpUlmhHjBPXE.pgp Description: PGP signature

Re: panic: g_eli_key_hold: sc_ekeys_total=1

2011-04-24 Thread Pawel Jakub Dawidek
On Sun, Apr 24, 2011 at 11:12:03AM +0200, Fabian Keil wrote: The panic can be reproduced with: /sbin/geli onetime -l 256 -s 4096 /dev/ada0s1b That's why I asked for ada0s1b size. It should be fixed in HEAD (r220984). -- Pawel Jakub Dawidek http://www.wheelsystems.com

Re: panic: g_eli_key_hold: sc_ekeys_total=1

2011-04-22 Thread Pawel Jakub Dawidek
Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com pgp1PdPS9g7QC.pgp Description: PGP signature

Re: Any success stories for HAST + ZFS?

2011-04-02 Thread Pawel Jakub Dawidek
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 http://www.FreeBSD.org Am I Evil? Yes, I

Re: Any success stories for HAST + ZFS?

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

Re: missing files in readdir(3) on NFS export of ZFS volume (since v28?)

2011-03-08 Thread Pawel Jakub Dawidek
(3). [...] Could you try r219404? -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com pgpeiqDGOvkQL.pgp Description: PGP signature

Re: [head tinderbox] failure on ia64/ia64

2011-03-06 Thread Pawel Jakub Dawidek
/libkvm.a /obj/ia64.ia64/src/tmp/usr/lib/libgeom.a .depend === sbin/hastctl (depend) make: don't know how to make hast_compression.c. Stop *** Error code 2 Interesting race. hast_compression.c was added in the same commit it was added to hastctl Makefile. -- Pawel Jakub Dawidek

Re: HEADS UP: ZFSv28 is in!

2011-03-01 Thread Pawel Jakub Dawidek
is location-based chat, which allows users to communicate with their neighborhood. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com pgpe1gJOLMeSe.pgp

Re: HEADS UP: ZFSv28 is in!

2011-02-28 Thread Pawel Jakub Dawidek
On Sun, Feb 27, 2011 at 04:03:01PM -0700, Shawn Webb wrote: I'm so excited for your work. Thanks so much for bringing zpool v28 to FreeBSD. Will v28 come to 8-stable? Yes, hopefully in 1-2 month(s). -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer

Re: HEADS UP: ZFSv28 is in!

2011-02-28 Thread Pawel Jakub Dawidek
On Mon, Feb 28, 2011 at 10:37:25AM +, krad wrote: On 28 February 2011 08:47, Pawel Jakub Dawidek p...@freebsd.org wrote: On Sun, Feb 27, 2011 at 04:03:01PM -0700, Shawn Webb wrote: I'm so excited for your work. Thanks so much for bringing zpool v28 to FreeBSD. Will v28 come to 8-stable

HEADS UP: ZFSv28 is in!

2011-02-27 Thread Pawel Jakub Dawidek
. If you like my work, you help me to promote yomoli.com:) http://yomoli.com http://www.facebook.com/pages/Yomolicom/178311095544155 -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes

Re: [PATCH] OpenSolaris/ZFS: C++ compatibility

2011-02-05 Thread Pawel Jakub Dawidek
plain C? With C we might be able to help, but not with C++. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgphkmODt5wu8.pgp Description: PGP

Re: [PATCH] OpenSolaris/ZFS: C++ compatibility

2011-02-05 Thread Pawel Jakub Dawidek
On Sat, Feb 05, 2011 at 02:36:40PM -0700, Justin T. Gibbs wrote: On 2/5/2011 8:39 AM, Pawel Jakub Dawidek wrote: On Fri, Feb 04, 2011 at 11:03:53AM -0700, Justin T. Gibbs wrote: The attached patch is sufficient to allow a C++ program to use libzfs. The motivation for these changes is work

Re: Replacing a failed disk in raidz2 zfs (and gpt)

2011-02-03 Thread Pawel Jakub Dawidek
replace zmysql gpt/disk3 cannot replace gpt/disk3 with gpt/disk3: one or more devices is currently unavailable [...] $ zpool offline zmysql gpt/disk3 cannot offline gpt/disk3: no valid replicas I'm afraid this is ZFS bug that is fixed in v28 for sure, not sure about v14/v15. -- Pawel Jakub Dawidek

Re: Replacing a failed disk in raidz2 zfs (and gpt)

2011-02-03 Thread Pawel Jakub Dawidek
that. Will a reboot help ? No idea, sorry. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpEXAC6VatmN.pgp Description: PGP signature

Re: Replacing a failed disk in raidz2 zfs (and gpt)

2011-02-03 Thread Pawel Jakub Dawidek
On Thu, Feb 03, 2011 at 08:08:15PM +, Philip M. Gollucci wrote: On 02/03/11 20:02, Pawel Jakub Dawidek wrote: On Thu, Feb 03, 2011 at 07:52:52PM +, Philip M. Gollucci wrote: Do you have a bug ID ? I think it is 6328632. Change 5a60f16123ba. Note, there are many, many other

Re: [head tinderbox] failure on ia64/ia64

2011-02-01 Thread Pawel Jakub Dawidek
On Mon, Jan 31, 2011 at 04:56:06PM -0800, Marcel Moolenaar wrote: On Jan 31, 2011, at 3:51 PM, Pawel Jakub Dawidek wrote: On Mon, Jan 31, 2011 at 10:56:18PM +, FreeBSD Tinderbox wrote: [...] cc -O2 -pipe -I/src/sbin/hastctl/../hastd -DINET -DINET6 -DYY_NO_UNPUT -DYY_NO_INPUT

Re: [head tinderbox] failure on ia64/ia64

2011-01-31 Thread Pawel Jakub Dawidek
with high WARNS? With WARNS=6 I get those errors and I've no idea how to fix it properly. If there is a fix, CMSG_NXTHDR() should probably be fixed, but maybe I'm wrong? -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http

Re: My ZFS v28 Testing Experience

2011-01-13 Thread Pawel Jakub Dawidek
took 7.5 hours. When you turn off compression (because it turns all-zero blocks into holes) you can test it by simply: # dd if=/dev/zero of=/zfs_fs/zero bs=1m -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http

Re: Next ZFSv28 patchset ready for testing.

2011-01-04 Thread Pawel Jakub Dawidek
On Wed, Dec 15, 2010 at 10:15:40AM +0200, Andrei Kolu wrote: 2010/12/14 Pawel Jakub Dawidek p...@freebsd.org On Mon, Dec 13, 2010 at 10:45:56PM +0100, Pawel Jakub Dawidek wrote: Hi. The new patchset is ready for testing:       http://people.freebsd.org/~pjd/patches/zfs_20101212

Re: Next ZFSv28 patchset ready for testing.

2010-12-19 Thread Pawel Jakub Dawidek
. 7. Nevertheless the system booted. Files 8. `zpool upgrade -a` worked all right and reported that now I have ZFS version 28 Overall I am pleasantly surprised how streamlined the whole process was. That's good to hear, thanks. -- Pawel Jakub Dawidek http

Re: Next ZFSv28 patchset ready for testing.

2010-12-15 Thread Pawel Jakub Dawidek
On Wed, Dec 15, 2010 at 10:15:00PM -0500, ben wilber wrote: On Mon, Dec 13, 2010 at 10:45:56PM +0100, Pawel Jakub Dawidek wrote: Hi. The new patchset is ready for testing: Running fine for 24 hours now under load with a ~50 disk v15 (not upgraded) pool from -CURRENT. Thanks! Only

Re: Next ZFSv28 patchset ready for testing.

2010-12-14 Thread Pawel Jakub Dawidek
FreeBSD common upgrade path. Martin was working on this (CCed). -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpCsgsK8Mp9u.pgp Description

Next ZFSv28 patchset ready for testing.

2010-12-13 Thread Pawel Jakub Dawidek
and sendfile(2) support. Also be sure to verify if you can import for existing ZFS pools (v13-v15) when running v28 or boot from your existing pools. Enjoy! PS. Martin (mm@) will be providing patch against 8-STABLE soon. -- Pawel Jakub Dawidek http://www.wheelsystems.com p

Re: Next ZFSv28 patchset ready for testing.

2010-12-13 Thread Pawel Jakub Dawidek
On Mon, Dec 13, 2010 at 10:45:56PM +0100, Pawel Jakub Dawidek wrote: Hi. The new patchset is ready for testing: http://people.freebsd.org/~pjd/patches/zfs_20101212.patch.bz2 When applying the patch be sure to use correct options for patch(1)!: # cd /usr/src # fetch

Re: Next ZFSv28 patchset ready for testing.

2010-12-13 Thread Pawel Jakub Dawidek
On Mon, Dec 13, 2010 at 10:45:56PM +0100, Pawel Jakub Dawidek wrote: Hi. The new patchset is ready for testing: http://people.freebsd.org/~pjd/patches/zfs_20101212.patch.bz2 You can also download the whole source tree already patched from here: http://people.freebsd.org/~pjd

Re: Next ZFSv28 patchset ready for testing.

2010-12-13 Thread Pawel Jakub Dawidek
hard to split 'else' and 'if' with a '#endif' and keep the indentation pretty. Depends on the conditions we use one of the three methods to read the data. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org

Re: taskqueue_create() name parameter lieftime

2010-11-16 Thread Pawel Jakub Dawidek
internally, but would also allow me to provide name in printf-like format, so I don't have to use sprint()/snprintf() before calling it. This unfortunatelly will change taskqueue API as name is the first argument, which makes it not worth the pain. -- Pawel Jakub Dawidek http

Re: ZFS v28 is ready for wider testing.

2010-11-03 Thread Pawel Jakub Dawidek
on new patch soon. I'm heading to meetBSD California tomorrow and I'll be back in a week, so nothing will happen till then for sure. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer

Re: letting glabel recognise a media change

2010-10-11 Thread Pawel Jakub Dawidek
and handles ioctls, it just return errors on read requests). -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgp57kBd4EwFu.pgp Description: PGP

Re: letting glabel recognise a media change

2010-10-10 Thread Pawel Jakub Dawidek
see any reasons for CD device to be useful GEOM provider, but maybe I'm overlooking something. Poul-Henning or Soren, do you remember who made and why this design choice? -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http

Recent GELI additions.

2010-09-25 Thread Pawel Jakub Dawidek
be loaded from a file (-J and -j options). -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpKbX8P352EG.pgp Description: PGP signature

Re: gptboot rewrite, bootonce, etc.

2010-09-20 Thread Pawel Jakub Dawidek
to implement it, so it is intuitive, but I also haven't spend much time thinking about it. We needed UFS and that is what I implemented. It took me much more time than I expected anyway:) -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org

Re: gptboot rewrite, bootonce, etc.

2010-09-20 Thread Pawel Jakub Dawidek
. I'd like to MFC this to 8-STABLE, though. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgp1EiZmlOSUJ.pgp Description: PGP signature

Re: gptboot rewrite, bootonce, etc.

2010-09-20 Thread Pawel Jakub Dawidek
On Sun, Sep 19, 2010 at 09:10:52PM +0400, Boris Samorodov wrote: Hi! On Sat, 18 Sep 2010 01:45:42 +0200 Pawel Jakub Dawidek wrote: My company was in need for functionality similar to nextboot(8), but on boot loader level, so we can have two partitions we boot from where one is known

gptboot rewrite, bootonce, etc.

2010-09-17 Thread Pawel Jakub Dawidek
that waits to be implemented in gptzfsboot... -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpm1w4OWOKIR.pgp Description: PGP signature

Re: ZFS v28 is ready for wider testing.

2010-09-03 Thread Pawel Jakub Dawidek
reading this, VMWare? -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgppp5WIVDzjJ.pgp Description: PGP signature

Re: ZFS v28 is ready for wider testing.

2010-09-02 Thread Pawel Jakub Dawidek
On Thu, Sep 02, 2010 at 01:55:51AM -0700, Rob Farmer wrote: On Tue, Aug 31, 2010 at 2:59 PM, Pawel Jakub Dawidek p...@freebsd.org wrote: Ok, now that I know you read everything carefully, here is the patch:        http://people.freebsd.org/~pjd/patches/zfs_20100831.patch.bz2

Re: ZFS v28 is ready for wider testing.

2010-09-02 Thread Pawel Jakub Dawidek
On Tue, Aug 31, 2010 at 11:59:15PM +0200, Pawel Jakub Dawidek wrote: [...] Ok, now that I know you read everything carefully, here is the patch: http://people.freebsd.org/~pjd/patches/zfs_20100831.patch.bz2 Now it is even easier to test new ZFS! :) Here you can find VirtualBox

Re: ZFS v28 is ready for wider testing.

2010-09-01 Thread Pawel Jakub Dawidek
On Tue, Aug 31, 2010 at 11:59:15PM +0200, Pawel Jakub Dawidek wrote: Ok, now that I know you read everything carefully, here is the patch: http://people.freebsd.org/~pjd/patches/zfs_20100831.patch.bz2 Important note. Please patch with the following command: # patch -E -p0

ZFS v28 is ready for wider testing.

2010-08-31 Thread Pawel Jakub Dawidek
Good luck! : -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpGVyTUV4RIm.pgp Description: PGP signature

Re: [CFT] Improved ZFS metaslab code (faster write speed)

2010-08-28 Thread Pawel Jakub Dawidek
. Anyway thanks for the reply. I will get back to you if I see anything cool arise from this. Could you include the following patch to your testing: http://people.freebsd.org/~pjd/patches/arc.c.9.patch -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org

Re: Mounting cd9660 multiple times gives EBUSY [Was: unionfs a little improvement]

2010-08-22 Thread Pawel Jakub Dawidek
the panic with your patch applied by doing the following: # mount -t cd9660 /dev/iso9660/freebsd /mnt0 # mount -t cd9660 /dev/iso9660/freebsd /mnt1 # umount /mnt0 -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org

Re: glabel force sectorsize patch

2010-08-08 Thread Pawel Jakub Dawidek
On Sun, Aug 08, 2010 at 02:02:17PM +0200, Ivan Voras wrote: On 8.8.2010 12:30, Pawel Jakub Dawidek wrote: So why do you want to obfuscate glabel with it? For people to start depend on it? Once we start supporting 4kB sectors what do we do with such a change? Remove it and decrease version

Re: glabel force sectorsize patch

2010-08-08 Thread Pawel Jakub Dawidek
as 4kB providers to the GEOM, this class won't be able to find its metadata anymore (as it was stored in the last 512 bytes, not in the last 4 kilobytes). -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD

Re: AESNI driver and fpu_kern KPI

2010-05-18 Thread Pawel Jakub Dawidek
support sessions with authentication by calculating hashes in software. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgptFXEkt9czc.pgp

Re: Switchover to CAM ATA?

2010-04-26 Thread Pawel Jakub Dawidek
with glabel and ataraid(5) need an owner, and need to be resolved, since the device names here are likely to change. What are the issues? -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer

Re: Switchover to CAM ATA?

2010-04-26 Thread Pawel Jakub Dawidek
On Mon, Apr 26, 2010 at 12:19:46PM -0600, M. Warner Losh wrote: In message: 20100426181209.gb3...@garage.freebsd.pl Pawel Jakub Dawidek p...@freebsd.org writes: : On Mon, Apr 26, 2010 at 10:33:27AM -0600, M. Warner Losh wrote: : I've read most of this thread. I think this is cool

Re: ZFS behavior when device disappears

2010-04-20 Thread Pawel Jakub Dawidek
now, so I'm making small steps, but I'm making good progress too. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpVisqFmsp2w.pgp

Re: ZFS behavior when device disappears

2010-04-20 Thread Pawel Jakub Dawidek
:) It is of course still wonderful that we can use ZFS. All my servers and my laptop are running exclusively on ZFS at this point:) -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer

Re: Increasing MAXPHYS

2010-03-22 Thread Pawel Jakub Dawidek
on bio_from-geom-class, so we know I/O requests for our class are always coming from the same threads. If we could make the same assumption for geoms it would allow for even better distribution. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org

Re: check for jailed environment for adjkerntz

2010-03-01 Thread Pawel Jakub Dawidek
[ `sysctl -n security.jail.jailed` -eq 0 ] adjkerntz -a -- Pawel Jakub Dawidek http://www.wheel.pl p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpYvDwD944Ze.pgp Description: PGP signature

HAST (Highly Available Storage) now in HEAD.

2010-02-19 Thread Pawel Jakub Dawidek
sponsorswho made this projects possible: The FreeBSD Foundation, http://www.freebsdfoundation.org OMCnet Internet Service GmbH, http://www.omc.net TransIP BV, http://www.transip.nl -- Pawel Jakub Dawidek http://www.wheel.pl p...@freebsd.org

Re: ZFS: statfs and recordsize problem

2010-02-19 Thread Pawel Jakub Dawidek
have to be changed, as ZFS uses variable (up to recordsize) block sizes. It must return 512 as f_bsize and recordsize as f_iosize. One of possible solutions is the attached patch. Could somebody look it? I committed (slightly modified version of) your patch to HEAD. Thanks! -- Pawel Jakub

Re: jail and emulators/linux_base

2003-12-03 Thread Pawel Jakub Dawidek
functionality. -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net pgp0.pgp Description: PGP signature

Panic: if_simloop: attempted use of a free mbuf!

2003-11-28 Thread Pawel Jakub Dawidek
Hello. I'm reaching assertion from /sys/net/if_loop.c:270. This is very easy to reproduce: First you need to put loopback into promiscuous mode: # tcpdump -i lo0 Then try to connect to loopback, for example: # telnet 127.0.0.1 22 Enjoy!:) -- Pawel Jakub Dawidek

Re: panic: sleeping without a mutex (acd related)

2003-11-25 Thread Pawel Jakub Dawidek
(timo != 0 || mtx_owned(Giant) || mtx != NULL, (sleeping without a mutex)); -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net pgp0

Panic after mount() fail.

2003-11-17 Thread Pawel Jakub Dawidek
; VI_UNLOCK(vp); mp-mnt_vfc-vfc_refcount--; + mtx_destroy(mp-mnt_mtx); vfs_unbusy(mp, td); #ifdef MAC mac_destroy_mount(mp); -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http

LOR (ffs_snapshot.c:651 vm_map.c:2258).

2003-11-05 Thread Pawel Jakub Dawidek
() at Xint0x80_syscall+0x1d --- syscall (21), eip = 0x80557bb, esp = 0xbfbffb6c, ebp = 0xbfbffd48 --- -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net

Panic (in_pcb.c:866).

2003-11-02 Thread Pawel Jakub Dawidek
[...] softclock+0x1ad [...] ithread_loop+0x177 [...] fork_exit+0xb5 [...] fork_trampoline+0x8 [...] -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net

Panic (route.c:99).

2003-11-02 Thread Pawel Jakub Dawidek
[...] tcp_usr_shutdown+0xb2 [...] soshutdown+0x42 [...] shutdown+0x6c [...] syscall+0x28f [...] Xint0x80_syscall+0x1d -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http

LOR (rtsock.c:388 route.c:133).

2003-11-02 Thread Pawel Jakub Dawidek
,c4497374,2,bfbfeab0,8c) at dofilewrite+0xe3 write(c446b4c0,e8916d14,c05d6e5b,3f0,3) at write+0x6f syscall(2f,2f,2f,2,3) at syscall+0x28f Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (4), eip = 0x2826e173, esp = 0xbfbfe89c, ebp = 0xbfbfe8c8 --- -- Pawel Jakub Dawidek

Re: HEADSUP: MPSAFE network drivers

2003-10-30 Thread Pawel Jakub Dawidek
. -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net pgp0.pgp Description: PGP signature

LOR (swap_pager.c:1134 vm_kern.c:328).

2003-10-24 Thread Pawel Jakub Dawidek
syscall(2f,2f,2f,bfbffcc8,1) at syscall+0x28f Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (93), eip = 0x280bbad3, esp = 0xbfbffbfc, ebp = 0xbfbffda0 --- -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I

AES is broken.

2003-10-17 Thread Pawel Jakub Dawidek
Hello. After recent changes to AES, GBDE is borken. How to repeat: # mdconfig -a -t malloc -s 16M # gbde init /dev/md0 -L /etc/md0.lock # gbde attach md0 -l /etc/md0.lock # newfs -O2 /dev/md0.bde || echo BROKEN -- Pawel Jakub Dawidek

Re: GEOM_BDE

2003-10-15 Thread Pawel Jakub Dawidek
config. -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net pgp0.pgp Description: PGP signature

Re: GEOM_BDE

2003-10-15 Thread Pawel Jakub Dawidek
was a problem. There were no chance to use BDE when 'device random' isn't compiled in kernel, but is loaded as kernel module. -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http

LOR (route.c:182 route.c:133).

2003-10-15 Thread Pawel Jakub Dawidek
,d762bd48,c05aef87,314,c1914d80) at ithread_loop+0x177 fork_exit(c047ce45,c1914d80,d762bd48) at fork_exit+0xc2 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xd762bd7c, ebp = 0 --- -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer

LOR (tcp_input.c:654 tcp_usrreq.c:621).

2003-10-14 Thread Pawel Jakub Dawidek
swi_net(0,0,c05cb58d,215,c1bda974) at swi_net+0x8c ithread_loop(c1bd8d80,db70cd48,c05cb3ff,314,c1bd8d80) at ithread_loop+0x172 fork_exit(c047d9e0,c1bd8d80,db70cd48) at fork_exit+0xc0 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xdb70cd7c, ebp = 0 --- -- Pawel Jakub Dawidek

GEOM Gate.

2003-10-14 Thread Pawel Jakub Dawidek
are added, so feel free to read them first (gg(4), geom_gate(4), ggc(8), ggd(8)) http://garage.freebsd.pl/geom_gate.tbz Enjoy! -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am

Re: need some debugging help

2003-09-01 Thread Pawel Jakub Dawidek
? It seems, that you're making exactly same bug: mtx_init(kthread_mutex, taskqueue kthread, NULL, MTX_DEF); And where is mtx_destroy()? -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am

Re: need some debugging help

2003-09-01 Thread Pawel Jakub Dawidek
On Mon, Sep 01, 2003 at 02:13:45AM +0200, Pawel Jakub Dawidek wrote: + I was getting same panics while I was working on GEOM Gate. + After many hours of debugging I've tracked this down - I've initialized + a mutex, but I haven't destroy it. + + As I susspect you're loading cd(4) as kld module

Re: need some debugging help

2003-09-01 Thread Pawel Jakub Dawidek
+mallocs.) I've proposed some time ago changing M_WAITOK to M_NOWAIT, because function/macros responsible for sysctl creation could failed from other reasons, so I don't see any reason why they couldn't fail because of insufficient memory. Caller is obliged to check return value... -- Pawel Jakub

Re: Lot's of SIGILL, SIGSEGV

2003-08-18 Thread Pawel Jakub Dawidek
to be upgraded in first place (with CPUTYPE=p3). -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net pgp0.pgp Description: PGP signature

Re: fuword(), suword(), etc.

2003-07-24 Thread Pawel Jakub Dawidek
(9), etc. make no sens for me. -1 is returned on error or if there is really -1, so one isn't able to find out if there is an error or not. -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am

File system deadlock. GBDE(4) and/or MD(4) related.

2003-07-24 Thread Pawel Jakub Dawidek
/mnt/te[TAB] or # sync;sync -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net pgp0.pgp Description: PGP signature

Re: File system deadlock. GBDE(4) and/or MD(4) related.

2003-07-24 Thread Pawel Jakub Dawidek
On Thu, Jul 24, 2003 at 03:57:07PM +0200, Pawel Jakub Dawidek wrote: + I've found deadlock in gbde(4) and/or md(4). Yes, it is gbde fault: db show lockedvnods [...] 0xc3332920: tag ufs, type VREG, usecount 1, writecount 0, refcount 21, flags (VV_OBJBUF), lock type ufs: EXCL (count 1) by thread

Re: File system deadlock. GBDE(4) and/or MD(4) related.

2003-07-24 Thread Pawel Jakub Dawidek
-u 1 + + What you have found has nothing to do with GBDE, I think it is the + usual vnode backed md(4) deadlock. Hmm? So you're trying to tell that this is somehow normal behaviour? -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http

Re: File system deadlock. GBDE(4) and/or MD(4) related.

2003-07-24 Thread Pawel Jakub Dawidek
? Because if file system in mounted on /mnt/private deadlock is 100% reproducable. -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net pgp0.pgp

Re: possible unionfs bug

2003-07-20 Thread Pawel Jakub Dawidek
this could be dangerous? Or why do you think it is? This memory is allocated while mounting unionfs file system, so it is quite natural to free this memory while unmounting file system. -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http

Re: Screen saver: bsd_saver.

2003-06-27 Thread Pawel Jakub Dawidek
think, that those suggestion are good and I'll implement them. -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net pgp0.pgp Description: PGP

Re: Screen saver: bsd_saver.

2003-06-27 Thread Pawel Jakub Dawidek
On Fri, Jun 27, 2003 at 03:35:19PM +0200, Pawel Jakub Dawidek wrote: + + FWIW, I've tested this yesterday and wanted to commit it but + + shamefully I must admit that I don't know how to properly prepare a + + port. The screen saver works and is pretty neat although I had to + + build

Screen saver: bsd_saver.

2003-06-26 Thread Pawel Jakub Dawidek
Hello there. I've wrote screen saver for FreeBSD 5.x with rotating bsd logo. http://garage.freebsd.pl/bsd_saver.tbz Any chance to add it to tree? Thanks. -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems Programmer/Administrator http://garage.freebsd.pl

3d screen saver.

2003-06-24 Thread Pawel Jakub Dawidek
Hello:) I want to present one-night-hack: 3d CERB logo screen saver. It is dedicated for FreeBSD 5.x and it is quite nice (IMHO). You can download it from: http://garage.freebsd.pl/cerb_saver.tbz Enjoy! -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX Systems

Re: 5.1-RELEASE panic, trace included

2003-06-14 Thread Pawel Jakub Dawidek
mov 0xc4(%esi),%eax mov 0x4(%eax),%eax cmp 0x4(%edx),%eax je c03ac9c7 in6_pcbbind+0x2e7 We're loading inp_socket-so_cred to edx here. So it looks like inp_socket is NULL. Hmm, it is possible? -- Pawel Jakub Dawidek [EMAIL PROTECTED

pam_unix.c [PATCH].

2003-05-29 Thread Pawel Jakub Dawidek
(pam_handle_t *pamh, int flags __unused, -int argc, const char *argv[]) +pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, int argc, const char *argv[]) { struct addrinfo hints, *res; struct options options; -- Pawel Jakub Dawidek [EMAIL PROTECTED] UNIX

Re: 5-STABLE Roadmap

2003-02-16 Thread Pawel Jakub Dawidek
with it: - how fast could we generate workload, - how heavy load could we handle, - how fast is squid running on FreeBSD, - how fast is squid rewritten with libkse, - etc. And this is good stablility test. This is real good and free stuff, I use it on 4.x. -- Pawel Jakub

Re: 5-STABLE Roadmap

2003-02-16 Thread Pawel Jakub Dawidek
On Sun, Feb 16, 2003 at 02:08:35PM -0700, Scott Long wrote: + Pawel Jakub Dawidek wrote: + + On Thu, Feb 13, 2003 at 08:28:43PM -0800, Sam Leffler wrote: + + This can quickly turn into a bikeshed, but suggest ones. We're + looking for + + good benchmarks. [...] + + Look at: + + http

LOR: if_ether.c - route.c.

2003-02-03 Thread Pawel Jakub Dawidek
() [if_ether.c] -- Pawel Jakub Dawidek UNIX Systems Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am. msg51659/pgp0.pgp Description: PGP signature

Re: LOR: if_ether.c - route.c.

2003-02-03 Thread Pawel Jakub Dawidek
On Mon, Feb 03, 2003 at 12:06:28PM +0100, Pawel Jakub Dawidek wrote: + We got lock order reversal here: + + 1st 0xc0384800 arp mutex (arp mutex) @ /usr/src/sys/netinet/if_ether.c:151 + 2nd 0xc1886b7c radix node head (radix node head) @ /usr/src/sys/net/route.c:549 + + Simple backtrace

Lock order reversal in if_tl device.

2003-01-03 Thread Pawel Jakub Dawidek
. Here is my kernel config and dmesg.boot: http://prioris.mini.pw.edu.pl/~nick/dmesg.boot http://prioris.mini.pw.edu.pl/~nick/SLAYER -- Pawel Jakub Dawidek UNIX Systems Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am. To Unsubscribe: send mail to [EMAIL PROTECTED

Re: -CURRENT panic on SMP Athlon box.

2002-12-21 Thread Pawel Jakub Dawidek
a memory leak ? Maybe a good way to debug it is to show memory statistics just like sysctl kern.malloc do, befor this panic (or any panic caused by insufficient memory) is called? -- Pawel Jakub Dawidek UNIX Systems Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am. msg49156/pgp0.pgp

Panic in jail [patch].

2002-12-20 Thread Pawel Jakub Dawidek
: + mtx_destroy(pr-pr_mtx); FREE(pr, M_PRISON); return (error); } --- BTW. Maybe is time to implement jail with more features? Multiple ips, protecting statfs-like calls or even multi level jail? As multi level jail I understand jail created in jail, etc. -- Pawel Jakub Dawidek UNIX

<    1   2