Re: devstat overhead VS precision

2013-04-15 Thread Pawel Jakub Dawidek
and after the change so we have some hard numbers to show that we don't lose much by applying the change. On a mostly unrelated note when two threads (T0 and T1) call get*time() on two different cores, but T0 does that a bit earlier is it possible that T0 can get later time than T1? -- Pawel Jakub

Re: devstat overhead VS precision

2013-04-15 Thread Pawel Jakub Dawidek
On Mon, Apr 15, 2013 at 10:18:15PM +0300, Konstantin Belousov wrote: On Mon, Apr 15, 2013 at 08:42:03PM +0200, Pawel Jakub Dawidek wrote: On a mostly unrelated note when two threads (T0 and T1) call get*time() on two different cores, but T0 does that a bit earlier is it possible that T0 can

Re: kmem_map auto-sizing and size dependencies

2013-01-21 Thread Pawel Jakub Dawidek
to allocate memory even if you have physical pages available. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl pgpLKog0RIkYD.pgp Description: PGP

Re: [RFQ] make witness panic an option

2012-11-25 Thread Pawel Jakub Dawidek
every time or reading the warning from console, unloading a module, fixing the bug and loading it again? And if this option is turned off by default what is the problem? -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http

Re: [RFQ] make witness panic an option

2012-11-25 Thread Pawel Jakub Dawidek
On Sun, Nov 25, 2012 at 12:42:16PM +, Attilio Rao wrote: On Sun, Nov 25, 2012 at 12:39 PM, Pawel Jakub Dawidek p...@freebsd.org wrote: WITNESS is a development tool. We don't ship production kernels with WITNESS even compiled in. What is more efficient use of developer time: going

Re: [RFQ] make witness panic an option

2012-11-25 Thread Pawel Jakub Dawidek
On Sun, Nov 25, 2012 at 01:37:19PM +, Attilio Rao wrote: On Sun, Nov 25, 2012 at 1:12 PM, Pawel Jakub Dawidek p...@freebsd.org wrote: On Sun, Nov 25, 2012 at 12:42:16PM +, Attilio Rao wrote: On Sun, Nov 25, 2012 at 12:39 PM, Pawel Jakub Dawidek p...@freebsd.org wrote: WITNESS

Re: [RFQ] make witness panic an option

2012-11-25 Thread Pawel Jakub Dawidek
On Sun, Nov 25, 2012 at 01:48:23PM +, Attilio Rao wrote: On Sun, Nov 25, 2012 at 1:47 PM, Pawel Jakub Dawidek p...@freebsd.org wrote: On Sun, Nov 25, 2012 at 01:37:19PM +, Attilio Rao wrote: On Sun, Nov 25, 2012 at 1:12 PM, Pawel Jakub Dawidek p...@freebsd.org wrote: On Sun, Nov

Re: Training wheels for commandline (was Re: Pull in upstream before 9.1 code freeze?)

2012-07-07 Thread Pawel Jakub Dawidek
back then. I consider myself as someone who improved FreeBSD a bit, but I could as easly gave up after first two failed attempts to install it and move to something easier. How many people gave up after first or second attempt and never looked back? -- Pawel Jakub Dawidek http

Re: Pull in upstream before 9.1 code freeze?

2012-07-06 Thread Pawel Jakub Dawidek
. It punishes you for making typos:) Cool. I think this is very useful for newcomers. The only thing that is missing is a one-liner how to disable this feature next to instruction how to install a package containing the missing command. -- Pawel Jakub Dawidek http

Re: Training wheels for commandline (was Re: Pull in upstream before 9.1 code freeze?)

2012-07-06 Thread Pawel Jakub Dawidek
quite a few extra lines, let's just add one more line saying: To disable this message run: echo set 31337mode ~/.tcshrc -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am

Re: [CFC/CFT] large changes in the loader(8) code

2012-06-28 Thread Pawel Jakub Dawidek
OSes. In my opinion that's fair. With such a warning in place, I think we can allow users to decide on their own if they really want that or not. Then, we can also improve FreeBSD boot loader to play nice with FreeBSD-specific extensions. -- Pawel Jakub Dawidek http

Re: [CFC/CFT] large changes in the loader(8) code

2012-06-28 Thread Pawel Jakub Dawidek
device nodes. You cannot trust some id that is found on disk to be unique, as all your assumptions break when the user decides to dd(1)-copy content of this disk to another disk, for example. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer

Re: [CFC/CFT] large changes in the loader(8) code

2012-06-27 Thread Pawel Jakub Dawidek
gmirror is different in this regard from any other software RAID or volume manager. If you try to use disk that contains unrecognized metadata the behaviour is undefined (but hopefully not a panic). -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer

Re: [CFC/CFT] large changes in the loader(8) code

2012-06-27 Thread Pawel Jakub Dawidek
or not. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl pgpqqqo6XHCX4.pgp Description: PGP signature

Re: [CFC/CFT] large changes in the loader(8) code

2012-06-27 Thread Pawel Jakub Dawidek
On Wed, Jun 27, 2012 at 10:45:35AM -0700, Marcel Moolenaar wrote: On Jun 26, 2012, at 2:43 PM, Pawel Jakub Dawidek wrote: As for sharing disk with other OS. If you share the disk with OS that doesn't support gmirror, you shouldn't use gmirror in the first place. You probably want

Re: [CFC/CFT] large changes in the loader(8) code

2012-06-26 Thread Pawel Jakub Dawidek
Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl pgpiIPR0p9Pav.pgp Description: PGP signature

Re: [CFC/CFT] large changes in the loader(8) code

2012-06-26 Thread Pawel Jakub Dawidek
On Tue, Jun 26, 2012 at 06:01:26PM +0400, Andrey V. Elsukov wrote: On 26.06.2012 16:57, Pawel Jakub Dawidek wrote: On Tue, Jun 26, 2012 at 04:50:36PM +0400, Andrey V. Elsukov wrote: Hi All, Some time ago i have started reading the code in the sys/boot. Especially i'm interested

Re: [CFC/CFT] large changes in the loader(8) code

2012-06-26 Thread Pawel Jakub Dawidek
problem with graid - until we add support for it to the boot code, we won't be able to boot from it. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http

Re: [CFC/CFT] large changes in the loader(8) code

2012-06-26 Thread Pawel Jakub Dawidek
. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl pgpWHeMC9knsD.pgp Description: PGP signature

Re: [RFC] last(1) with security.bsd.see_other_uids support

2012-06-06 Thread Pawel Jakub Dawidek
taste. Spawning a daemon somewhere from within library doesn't sound like a good idea to me... At least until we have something like launchd that can start such services on demand. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer

Re: [RFC] last(1) with security.bsd.see_other_uids support

2012-06-04 Thread Pawel Jakub Dawidek
return bool. If getpwuid(3) failed earlier you have NULL pointer dereference here. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl pgp2ssyiX0rVx.pgp

Re: NFS mount inside jail fails

2011-05-18 Thread Pawel Jakub Dawidek
, but don't need access to ZFS pool), NFS, SMBFS, NULLFS, UNIONFS, PROCFS, FDESCFS, etc. I added VFCF_JAIL flag, so there is general mechanism to mark file systems as jail-friendly, but back then I only needed it for ZFS. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD

Re: Add SUM sysctl

2011-04-18 Thread Pawel Jakub Dawidek
to be able to install world. If you booted fine then your system is available and not encrypted. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com

Re: looking for error codes

2011-04-03 Thread Pawel Jakub Dawidek
). Once you detect read-only media, I suggest to implement the support by adding new DISKFLAG_READONLY to disk(9) API and simply deny write access in g_disk_access() when DISKFLAG_READONLY is set. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer

Re: glabel force sectorsize patch

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

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: GEOM_ULZMA

2010-03-02 Thread Pawel Jakub Dawidek
faster, eg. openssl crypto is when doing it in userland and when forcing it to use software crypto from the opencrypto kernel framework. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer

Re: GEOM_ULZMA

2010-03-01 Thread Pawel Jakub Dawidek
. There is ongoing discussion somwhere on importing this algorithm to the base for tar(1) to use, it would be best to have only one copy of code in the tree. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD

Re: Deadlock between GEOM and devfs device destroy and process exit.

2010-02-01 Thread Pawel Jakub Dawidek
On Sat, Jan 30, 2010 at 12:44:51PM +0100, Pawel Jakub Dawidek wrote: Maybe I'll add how I understand what's going on: GEOM calls destroy_dev() while holding the topology lock. Destroy_dev() wants to destroy device, but can't because there are threads that still have it open. The threads

Re: Deadlock between GEOM and devfs device destroy and process exit.

2010-01-30 Thread Pawel Jakub Dawidek
name: GEOM topology state: XLOCK: 0x85d0d000 (tid 18, pid 2, g_event) waiters: exclusive -- Pawel Jakub Dawidek http://www.wheel.pl p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am

Re: Deadlock between GEOM and devfs device destroy and process exit.

2010-01-30 Thread Pawel Jakub Dawidek
On Sat, Jan 30, 2010 at 12:27:49PM +0100, Pawel Jakub Dawidek wrote: On Sat, Jan 30, 2010 at 12:58:26AM +0200, Alexander Motin wrote: Hi. Experimenting with SATA hot-plug I've found quite repeatable deadlock case. Problem observed when several SATA devices, opened via devfs, disappear

Re: ZFS group ownership

2009-09-22 Thread Pawel Jakub Dawidek
during v6 - v13 switch. Could you file PR for this, I should be able to fix it before 8.0-RELEASE. -- Pawel Jakub Dawidek http://www.wheel.pl p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am

Re: sosend() and mbuf

2009-08-04 Thread Pawel Jakub Dawidek
/opensolaris_kobj.c, where you can find functions to do what you want. I guess you already considered doing all this in userland?:) -- Pawel Jakub Dawidek http://www.wheel.pl p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil

Linker deadlock.

2008-08-03 Thread Pawel Jakub Dawidek
0x80634e40 at Xint0x80_syscall+0x20 [...] -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgp7AAbGMNK4D.pgp Description: PGP signature

Re: Linker deadlock.

2008-08-03 Thread Pawel Jakub Dawidek
); /* Pull in dependencies */ + VOP_UNLOCK(nd.ni_vp); error = linker_load_dependencies(lf); + vn_lock(nd.ni_vp, LK_EXCLUSIVE | LK_RETRY); if (error) goto out; -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED

Re: crypto(9) and maxoplen

2008-07-21 Thread Pawel Jakub Dawidek
On Mon, Jul 21, 2008 at 02:10:00PM +0200, Patrick Lamaizi?re wrote: Le Sun, 20 Jul 2008 21:39:55 +0200, Pawel Jakub Dawidek [EMAIL PROTECTED] a écrit : Hello, In the opencrypto framework the function crypto_register() has an argument 'maxoplen'. http://fxr.watson.org/fxr/source

Re: crypto(9) and maxoplen

2008-07-20 Thread Pawel Jakub Dawidek
with 128bit key is supported. A driver can only state that it supports AES-CBC, that's all. As a workaround the driver should implement AES-CBC-192 and AES-CBC-256 in software. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org

Re: Is there any way to increase the KVM?

2008-06-07 Thread Pawel Jakub Dawidek
On Thu, Jun 05, 2008 at 04:00:13PM +0200, Ivan Voras wrote: Pawel Jakub Dawidek wrote: If we're comparing who has bigger... :) beast:root:~# zpool list NAMESIZEUSED AVAILCAP HEALTH ALTROOT tank732G604G128G82% ONLINE

Re: Is there any way to increase the KVM?

2008-06-06 Thread Pawel Jakub Dawidek
On Thu, Jun 05, 2008 at 02:10:02PM +0100, Hugo Silva wrote: Pawel Jakub Dawidek wrote: PS. I'm quite sure the ZFS version I've in perforce will fix most if not all 'kmem_map too small' panics. It's not yet committed, but I do want to MFC it into RELENG_7. Any guesstimate as to when

Re: AMD Geode LX crypto accelerator (glxsb)

2008-06-06 Thread Pawel Jakub Dawidek
Soekris and test it. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgppAoXvRI1QS.pgp Description: PGP signature

Re: Is there any way to increase the KVM?

2008-06-05 Thread Pawel Jakub Dawidek
not yet committed, but I do want to MFC it into RELENG_7. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgp9rbBT2lsbh.pgp Description: PGP

Re: Is there any way to increase the KVM?

2008-06-03 Thread Pawel Jakub Dawidek
to decrease vfs.zfs.arc_max? -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpJ8VT5v06Ug.pgp Description: PGP signature

Re: Security Flaw in Popular Disk Encryption Technologies

2008-02-26 Thread Pawel Jakub Dawidek
). -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpikfNoxpT5s.pgp Description: PGP signature

Re: A TrustedBSD voluntary sandbox policy.

2007-11-08 Thread Pawel Jakub Dawidek
from your event handler. Take a look at EVENTHANDLER(9). -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpnSAKoJorcw.pgp Description: PGP signature

Re: kern.ngroups (non) setting ... new bounty ?

2007-09-27 Thread Pawel Jakub Dawidek
the latter method should be just fine. BTW. The latter method is what all utilities from the base system use. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I

Re: Hierarchical jails - any current work?

2007-09-20 Thread Pawel Jakub Dawidek
On Wed, Sep 19, 2007 at 01:30:44PM -0600, James Gritton wrote: Pawel Jakub Dawidek wrote: Something like this: http://garage.freebsd.pl/mljail.README I did it some time ago, and this is one of the feature for new jail implementation with is beeing designed Yes, that's just the thing

Re: Hierarchical jails - any current work?

2007-09-19 Thread Pawel Jakub Dawidek
this: http://garage.freebsd.pl/mljail.README I did it some time ago, and this is one of the feature for new jail implementation with is beeing designed. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer

Re: VFS locking questions

2007-08-06 Thread Pawel Jakub Dawidek
functions with vnode's interlock already held. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpfMgZKdrlaY.pgp Description: PGP signature

Re: ufs_rename: fvp == tvp (can't happen), but it did

2007-01-14 Thread Pawel Jakub Dawidek
On Sun, Jan 14, 2007 at 07:18:04PM +0100, Attila Nagy wrote: On 2007.01.12. 20:06, Pawel Jakub Dawidek wrote: Silent data corruptions happens, look for example at the problem with 4T volume under FreeBSD thread on [EMAIL PROTECTED] I'd suggest configuring geli with data authentication on top

Re: ufs_rename: fvp == tvp (can't happen), but it did

2007-01-12 Thread Pawel Jakub Dawidek
data corruptions. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpLSEWhISiCi.pgp Description: PGP signature

Re: iSCSI disconnects dilema

2007-01-12 Thread Pawel Jakub Dawidek
to reconnect (until some timeout expires, the processes which send those requests will just wait), if you reconnect successfully, you resend not-confirmed requests, if you won't be able to reconnect, you just pass the errors up. This is what I did in ggate and it seems to work. -- Pawel Jakub Dawidek

Re: Best practices for using gjournal with gmirror?

2007-01-12 Thread Pawel Jakub Dawidek
stories, BUT I still consider the code to be experimental. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpGYgK8t204N.pgp Description: PGP signature

Re: FW: FreeBSD: driver for ssl hardware accelerator board based on broadcom bcm5825, bcm5862 chips

2006-12-19 Thread Pawel Jakub Dawidek
'-engine cryptodev'. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpGOj1T0uvk2.pgp Description: PGP signature

Re: SEEK_HOLE and SEEK_DATA for sparse files any takers?

2006-11-14 Thread Pawel Jakub Dawidek
for ZFS. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpu3L8mZGSH6.pgp Description: PGP signature

Re: Yet another magic symlinks implementation

2006-11-05 Thread Pawel Jakub Dawidek
. Would you like to work there? -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpd5wcOLlCS9.pgp Description: PGP signature

Re: fsync: giving up on dirty

2006-08-26 Thread Pawel Jakub Dawidek
the file system, so it will try again later. It should be probably better logged (as a warning). -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am

Re: 6-STABLE snapshot (background fsck) lock-up

2006-08-26 Thread Pawel Jakub Dawidek
On Sat, Aug 26, 2006 at 07:23:36AM -0500, Eric Anderson wrote: Hmm - had another panic. Again, screen shots are here: http://www.googlebit.com/freebsd/snapshots/gjournal_panic2/ I can't find panic message. What was it? -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL

Re: 6-STABLE snapshot (background fsck) lock-up

2006-08-26 Thread Pawel Jakub Dawidek
On Sat, Aug 26, 2006 at 08:19:40PM -0500, Eric Anderson wrote: On 08/26/06 07:44, Pawel Jakub Dawidek wrote: On Sat, Aug 26, 2006 at 07:23:36AM -0500, Eric Anderson wrote: Hmm - had another panic. Again, screen shots are here: http://www.googlebit.com/freebsd/snapshots/gjournal_panic2/ I

Re: 6-STABLE snapshot (background fsck) lock-up

2006-08-24 Thread Pawel Jakub Dawidek
to RELENG_6, can you try it? http://people.freebsd.org/~pjd/patches/vfs_subr.c.3.patch -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am

Re: 6-STABLE snapshot (background fsck) lock-up

2006-08-22 Thread Pawel Jakub Dawidek
to take a look when I'm back. We saw snapshot/gjournal related deadlocks, but all were fixed, maybe there is a fix which wasn't comitted. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer

Re: ENOMEM @ RELENG_6 graid3

2006-06-27 Thread Pawel Jakub Dawidek
can also try gstripe(8) your disks with small stripesize, eg. 512 bytes and use gnop(8) on top of it to change sector size, so all disks will be used, in case there is a problem with your controller. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED

Re: freebsd 5.3, gmirror raid 1, PROBLEM

2006-06-06 Thread Pawel Jakub Dawidek
more info? There should be more interesting informations before those you pasted. There was a lot of fixes to gmirror in 6.1, so you may consider an upgrade. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD

Re: bus_dmamap_load_uio and uiomove

2006-06-06 Thread Pawel Jakub Dawidek
before the call. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpmp8Q0Urm4t.pgp Description: PGP signature

Re: Fingerprint Authentication

2006-05-09 Thread Pawel Jakub Dawidek
authentication process. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpwxmt56juB3.pgp Description: PGP signature

Re: Using open system call in KLD

2006-03-06 Thread Pawel Jakub Dawidek
. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpkLPh9TonWL.pgp Description: PGP signature

Re: File creation using KLD

2006-02-05 Thread Pawel Jakub Dawidek
this. This is a bit tricky, ie. there is no clean API for this, but it is of course possible. There are few frameworks in the kernel that do exactly this. One of them is alq(9), so take a look at sys/kern/kern_alq.c. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED

More user developers friendly memguard.

2005-12-27 Thread Pawel Jakub Dawidek
should be configured in /boot/loader.conf. 2. If memory type is in kernel module, vm.memguard_desc sysctl should be configured before loading the module. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD

Re: accessing NetBSD filesystem

2005-12-18 Thread Pawel Jakub Dawidek
, it is possible to run background fsck, as the only problems are unreferenced objects (inodes, blocks, etc.). -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I

Re: unable to build geom_gate

2005-12-17 Thread Pawel Jakub Dawidek
On Fri, Dec 16, 2005 at 05:27:11PM +0700, Vitaliy Ovsyannikov wrote: + Hello, freebsd-hackers. + + Please, look at the output and help if you can: + + # tar -yxf geom_gate.tbz + # cd geom_gate + # make [...] Why don't you just use ggate from the base system? -- Pawel Jakub Dawidek

Re: SSH From within a Jail

2005-11-14 Thread Pawel Jakub Dawidek
. Try to ssh into the jail and then ssh to another box. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpRTiVDkIhMn.pgp Description: PGP signature

Re: GEOM for multipath? How?

2005-11-10 Thread Pawel Jakub Dawidek
hanging request when path was disconnected). It was hackish, but worked, so I'm quite sure it's driver's fault. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes

Re: [PATCH] IPv6 support for ggate

2005-11-01 Thread Pawel Jakub Dawidek
) + ;) Thanks a lot! Unfortunately I don't have time to setup test environment (I don't use ipv6 at all) and it can take a while before I'll be ready for committing this (if noone else beat me on this). I'll be grateful if you could file PR and send me its number. Thanks! -- Pawel Jakub Dawidek

Re: Kernel Source Divergence, Security (was: booting gbde-encrypted filesystem)

2005-07-31 Thread Pawel Jakub Dawidek
, where crypto(9) is used already, etc. that'd be cool. The truth is, that the main difference between gbde/geli is how crypto is used on disk, the other elements (managing keys, protecting passphrases, metadata backups, encrypted root partition, etc.) are or could be the same. -- Pawel Jakub

Re: booting gbde-encrypted filesystem

2005-07-29 Thread Pawel Jakub Dawidek
is entered at the bootloader prompt + or embedded in the bootloader. This is not not possible with current GBDE. I've patches which allows this here: http://people.freebsd.org/~pjd/patches/gbde.patch -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED

Re: booting gbde-encrypted filesystem

2005-07-29 Thread Pawel Jakub Dawidek
allows to use an encrypted root partition, but it would be + interesting for GBDE users to be provided such a fonctionnality. I sent those patches to phk@ few months ago now. If he decided to add such functionality he is welcome to use them:) I'm not going to commit it by myself. -- Pawel Jakub

Re: Google SoC idea

2005-06-07 Thread Pawel Jakub Dawidek
what softupdate does, I think. From another point of view softupdates are only available for UFS. You probably wants to hear scottl and phk opinions (CCed). -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD

Re: ggate failures.

2005-04-11 Thread Pawel Jakub Dawidek
on failures. I've much improved ggate in perforce, but it needs some polishing still... -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am

Re: JKH Task: Stack saving/tracing functionality.

2005-04-11 Thread Pawel Jakub Dawidek
when first order is stored, it can be stored with stack and on LOR, both backtraces can be shown. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am

Re: Idea about skeleton jail

2005-02-01 Thread Pawel Jakub Dawidek
unfortunately too busy with other (probably less interesting, but profitable) projects. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpiLz0M1Jpi6.pgp

Re: Idea about skeleton jail

2005-02-01 Thread Pawel Jakub Dawidek
On Wed, Feb 02, 2005 at 12:52:17AM +0800, Xin LI wrote: + ??? 2005-02-01?? 11:40 +0100???Pawel Jakub Dawidek? + The thing that can be useful IMHO is possibility to use + reboot(8)/shutdown(8), etc. inside a jail, but... + I'm unfortunately too busy with other (probably less

Re: Idea about skeleton jail

2005-02-01 Thread Pawel Jakub Dawidek
Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgp1aIJTzcoLj.pgp Description: PGP signature

Re: 5.3-STABLE: handle_workitem_freefile panic

2005-01-23 Thread Pawel Jakub Dawidek
rebuild all mirrors. The argument against could be that when you synchronize many mirrors on the same disks in parallel, your disks are less happy (in one big mirror scenario, disk's heads don't have to jump from one place to another so often). -- Pawel Jakub Dawidek http

Re: 5.3-STABLE: handle_workitem_freefile panic

2005-01-23 Thread Pawel Jakub Dawidek
mirror only for swap (e.g. mirror on ad0s1b and ad2s1b) you probably should be able to dump into ad[02]s1b (but I didn't test it). -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer

Re: geom mirror and gbde

2005-01-21 Thread Pawel Jakub Dawidek
]; then + echo Configuring Disk Encryption for ${parent}. Only this part is needed. Committed to HEAD, MFC after 1 week. Thanks! -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I

Re: Freeze when using atapicam

2005-01-06 Thread Pawel Jakub Dawidek
atapicam with my DVD-RW. With CD-ROM everything is ok. I'm able to boot and work without any problems on my DVD-RW only with atapi DMA turned off in /boot/loader.conf: hw.ata.atapi_dma=0 -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http

Re: Odd geom behaviour.

2004-12-21 Thread Pawel Jakub Dawidek
) command to reboot/turn off your machine. This is fixed in HEAD in much more clean way already. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am

Re: rc.shutdown and jails

2004-12-11 Thread Pawel Jakub Dawidek
signal would notify it to + send shutdown signals to all its compatriots in the jail etc. I started to work on this in perforce: pjd_jailinit. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer

Re: Hand on gmirror (Was: Re: gmirror bugs, how many?)

2004-12-08 Thread Pawel Jakub Dawidek
On Wed, Dec 08, 2004 at 02:10:02AM +0200, Alexandr Kovalenko wrote: + Hello, Pawel Jakub Dawidek! + + This is known race, which is already fixed in HEAD. I want to commit it + soon. + + Any plans on backporting it to RELENG_5 (RELENG_5_3 maybe?)? I'm going to MFC it probably this weekend

Re: Hand on gmirror (Was: Re: gmirror bugs, how many?)

2004-12-08 Thread Pawel Jakub Dawidek
(with debugflags=16), changes will not be updated on 2nd disk, because I/O requests go to the disk provider, not to the mirror provider. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer

Re: Multiple IPs in jail

2004-12-08 Thread Pawel Jakub Dawidek
: http://people.freebsd.org/~pjd/patches/jail_2004120901.patch I don't have time to work on this right now, so can't say if/when it'll be committed. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer

Re: Hand on gmirror (Was: Re: gmirror bugs, how many?)

2004-11-29 Thread Pawel Jakub Dawidek
, blame disklabel(8). First 16 sectors are reserved for boot code. + + And why this does not happen with ad0s1, etc? I think it should, only using sysinstall for this will not allocate those sectors. Anyway, it has nothing to do with gmirror. -- Pawel Jakub Dawidek http

Re: Hand on gmirror (Was: Re: gmirror bugs, how many?)

2004-11-29 Thread Pawel Jakub Dawidek
on disk ad0s1 (error=1). + GEOM_MIRROR: Device vol0: provider ad0s1 disconnected. This is known race, which is already fixed in HEAD. I want to commit it soon. -- Pawel Jakub Dawidek http://www.FreeBSD.org [EMAIL PROTECTED] http://garage.freebsd.pl

Re: Hand on gmirror (Was: Re: gmirror bugs, how many?)

2004-11-28 Thread Pawel Jakub Dawidek
On Fri, Nov 26, 2004 at 05:55:51PM -0200, Jo?o Carlos Mendes Lus wrote: + Pawel Jakub Dawidek wrote: [...] + What error do you get when you try to do this? + + Step by step: + + - The system has started with a preloaded geom_mirror: [...] + - There is a running mirror partition

Re: gmirror bugs, how many?

2004-11-26 Thread Pawel Jakub Dawidek
On Fri, Nov 26, 2004 at 02:56:15AM -0200, Jo?o Carlos Mendes Lus wrote: + Pawel Jakub Dawidek wrote: + First mistake - wrong order. Create a mirror, than partition a mirror + provider. + + Is this a constraint in the design? Im my point of view, geom would + treat all block devices equally

Re: FreeBSD Kernel buffer overflow

2004-09-19 Thread Pawel Jakub Dawidek
', not '#if'. ...and the panic message should be inside (). -- Pawel Jakub Dawidek http://www.FreeBSD.org [EMAIL PROTECTED] http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! pgpzjpAm2AMY1.pgp Description: PGP signature

Re: FreeBSD Kernel buffer overflow

2004-09-18 Thread Pawel Jakub Dawidek
to increase/decrease it someday, we don't have to remember about this KASSERT(). -- Pawel Jakub Dawidek http://www.FreeBSD.org [EMAIL PROTECTED] http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am

Re: FreeBSD Kernel buffer overflow

2004-09-18 Thread Pawel Jakub Dawidek
On Sat, Sep 18, 2004 at 02:18:55AM -0700, Don Lewis wrote: + On 18 Sep, Pawel Jakub Dawidek wrote: + On Fri, Sep 17, 2004 at 12:37:12PM +0300, Giorgos Keramidas wrote: + + % +#ifdef INVARIANTS + + % + KASSERT(0 = narg narg = 8, (invalid number of syscall args)); + + % +#endif

Re: kern___getcwd() returns ENOTDIR

2004-06-28 Thread Pawel Jakub Dawidek
? Was it discusses when patch for changing kern___getcwd() with linux_getcwd() was introduced? -- Pawel Jakub Dawidek http://www.FreeBSD.org [EMAIL PROTECTED] http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am

Re: api for sharing memory from kernel to userspace?

2004-05-19 Thread Pawel Jakub Dawidek
as well for GEOM Gate and other evil projects. -- Pawel Jakub Dawidek http://www.FreeBSD.org [EMAIL PROTECTED] http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! pgpuGPDqfSSPA.pgp Description: PGP signature

  1   2   3   >