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

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

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

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

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

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

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

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

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.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

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

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

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

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

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

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

Re: dhclient can't limit bpf descriptor?

2013-12-15 Thread Pawel Jakub Dawidek
to a structure and not uint64_t bitfield). -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://mobter.com pgpOTGPPh0ZvY.pgp Description: PGP signature

Re: [PATCH RFC] Disable save-entropy in jails

2013-12-25 Thread Pawel Jakub Dawidek
/save-entropy.sh (working copy) @@ -42,6 +42,10 @@ elif [ -r /etc/rc.conf ]; then . /etc/rc.conf 2/dev/null fi +if [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ]; then + exit 0 +fi + case ${entropy_dir} in [Nn][Oo]) exit 0 -- Pawel Jakub Dawidek

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: 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: 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: incorrect use of pidfile(3)

2011-10-13 Thread Pawel Jakub Dawidek
. Does anyone have any objections to that approach? I think we already do that internally in pidfile_open(). Can you take a look at the source and confirm that this is what you mean? -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer

Re: incorrect use of pidfile(3)

2011-10-13 Thread Pawel Jakub Dawidek
!= EAGAIN || --count == 0) + break; + nanosleep(rqtp, 0); } + if (errno == 0) + errno = EEXIST; free(pfh); return (NULL); } -- Pawel Jakub Dawidek

Re: incorrect use of pidfile(3)

2011-10-14 Thread Pawel Jakub Dawidek
On Thu, Oct 13, 2011 at 04:11:40PM +0200, Dag-Erling Smørgrav wrote: Pawel Jakub Dawidek p...@freebsd.org writes: I'm still in opinion that EWOULDBLOCK and EAGAIN (which is the same value on FreeBSD) should be converted to EEXIST on pidfile_open() return. The historical (and documented

9.0-RC1 panic in tcp_input: negative winow.

2011-10-22 Thread Pawel Jakub Dawidek
The panic message says: panic: tcp_input negative window: tp 0xfe007763e000 rcv_nxt 3718269252 rcv_adv 3718268291 I only have picture of the backtrace: http://people.freebsd.org/~pjd/misc/panic_negative_window.jpg -- Pawel Jakub Dawidek http

Re: 9.0-RC1 panic in tcp_input: negative winow.

2011-10-23 Thread Pawel Jakub Dawidek
On Sun, Oct 23, 2011 at 12:35:15PM +1100, Lawrence Stewart wrote: On 10/22/11 19:49, Pawel Jakub Dawidek wrote: The panic message says: panic: tcp_input negative window: tp 0xfe007763e000 rcv_nxt 3718269252 rcv_adv 3718268291 I only have picture of the backtrace: http

Re: 9.0-RC1 panic in tcp_input: negative winow.

2011-10-23 Thread Pawel Jakub Dawidek
On Sun, Oct 23, 2011 at 11:44:45AM +0300, Kostik Belousov wrote: On Sun, Oct 23, 2011 at 08:10:38AM +0200, Pawel Jakub Dawidek wrote: My suggestion would be that if we won't be able to fix it before 9.0, we should turn this assertion off, as the system seems to be able to recover

Re: 9.0-RC1 panic in tcp_input: negative winow.

2011-10-26 Thread Pawel Jakub Dawidek
On Mon, Oct 24, 2011 at 08:14:22AM -0400, John Baldwin wrote: On Sunday, October 23, 2011 11:58:28 am Pawel Jakub Dawidek wrote: On Sun, Oct 23, 2011 at 11:44:45AM +0300, Kostik Belousov wrote: On Sun, Oct 23, 2011 at 08:10:38AM +0200, Pawel Jakub Dawidek wrote: My suggestion would

Re: Problems with ada0: Previously was known as ad6 functionality

2011-10-26 Thread Pawel Jakub Dawidek
, but 'zpool import pool' doesn't? Does, eg. 'geom disk status' work or returns an error? -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com

umass(4) regression in 9.0-RC1.

2011-10-27 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 pgpsXGKnZ7vPK.pgp Description: PGP signature

Re: umass(4) regression in 9.0-RC1.

2011-10-27 Thread Pawel Jakub Dawidek
= 0x0009 bDeviceSubClass = 0x bDeviceProtocol = 0x0001 bMaxPacketSize0 = 0x0040 idVendor = 0x idProduct = 0x bcdDevice = 0x0100 iManufacturer = 0x0001 nVidia iProduct = 0x0002 EHCI root HUB iSerialNumber = 0x no string bNumConfigurations = 0x0001 -- Pawel Jakub

Re: umass(4) regression in 9.0-RC1.

2011-10-27 Thread Pawel Jakub Dawidek
iSerialNumber = 0x0003 retrieving string failed bNumConfigurations = 0x0001 -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com pgpR8r24wP9lu.pgp Description

Re: [PATCH] Default scrub interval to whole weeks

2011-10-27 Thread Pawel Jakub Dawidek
to estimate when the scrub happens, for instance, if a scrub was done on Saturday, it always happen on Saturdays. [...] Sounds reasonable. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I

Re: 9.0-RC1 panic in tcp_input: negative winow.

2011-10-27 Thread Pawel Jakub Dawidek
quite get is why we haven't had a lot more reports of this issue... Maybe because my TCP/IP stack is heavly modified? ...not:) No idea to be honest. Ask Ken to turn on INVARIANTS in 9.0-RC2 and we will see:) -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD

Re: umass(4) regression in 9.0-RC1.

2011-10-28 Thread Pawel Jakub Dawidek
On Fri, Oct 28, 2011 at 09:11:42AM +0200, Hans Petter Selasky wrote: On Thursday 27 October 2011 20:51:15 Pawel Jakub Dawidek wrote: On Thu, Oct 27, 2011 at 08:42:09PM +0200, Hans Petter Selasky wrote: This is the root HUB. Can you also show the actual device? Sorry, it wasn't connected

Re: RFC: GEOM MULTIPATH rewrite

2011-11-01 Thread Pawel Jakub Dawidek
writes to device, but this is weak assumption. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com pgpJEqgC1I0SO.pgp Description: PGP signature

Re: ZFS: invalid zap_type=134218628

2011-11-11 Thread Pawel Jakub Dawidek
to include those fixes in 9.0-RELEASE. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com pgpWkozxezUrm.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 committer

Re: zfs i/o hangs on 9-PRERELEASE

2011-11-28 Thread Pawel Jakub Dawidek
() at kern_ioctl+0xcd sys_ioctl() at sys_ioctl+0xfd amd64_syscall() at amd64_syscall+0x3ac Xfast_syscall() at Xfast_syscall+0xf7 --- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x800da711c, rsp = 0x7fff9d28, rbp = 0x7fffa1f0 --- -- Pawel Jakub Dawidek http

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 pgpWMg9tnH9tN.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 pgprySQFgONfF.pgp Description: PGP signature

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 pgpEUWAStpc5C.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-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

ZFS TRIM support committed to HEAD.

2012-09-23 Thread Pawel Jakub Dawidek
it during EuroBSDcon 2012 in a month that will be held this year in Warsaw, Poland: http://eurobsdcon.org :) On Sun, Sep 23, 2012 at 07:40:58PM +, Pawel Jakub Dawidek wrote: Author: pjd Date: Sun Sep 23 19:40:58 2012 New Revision: 240868 URL: http://svn.freebsd.org/changeset/base

Re: ZFS TRIM support committed to HEAD.

2012-09-23 Thread Pawel Jakub Dawidek
On Sun, Sep 23, 2012 at 10:24:53PM +0100, Bob Bishop wrote: Hi, On 23 Sep 2012, at 20:53, Pawel Jakub Dawidek wrote: FYI, I just committed TRIM support to ZFS, especially useful for SSD-only pools. [etc] Is any of this applicable to -STABLE or 8.x? I have a patch against stable/8

Re: ZFS TRIM support committed to HEAD.

2012-09-24 Thread Pawel Jakub Dawidek
On Mon, Sep 24, 2012 at 04:55:20PM +0100, Steven Hartland wrote: - Original Message - From: Bob Bishop r...@gid.co.uk To: Pawel Jakub Dawidek p...@freebsd.org Cc: freebsd-current@freebsd.org; freebsd...@freebsd.org; Steven Hartland kill...@multiplay.co.uk Sent: Monday, September 24

Re: ZFS TRIM support committed to HEAD.

2012-09-24 Thread Pawel Jakub Dawidek
count is increasing, but otherwise everything appears to work OK. Are you sure your world and kernel are in sync? I remember seeing similar problem when my userland was updated. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http

Re: ZFS TRIM support committed to HEAD.

2012-09-25 Thread Pawel Jakub Dawidek
On Sun, Sep 23, 2012 at 08:20:41PM -0400, Glen Barber wrote: Hi Pawel, On Sun, Sep 23, 2012 at 09:53:58PM +0200, Pawel Jakub Dawidek wrote: FYI, I just committed TRIM support to ZFS, especially useful for SSD-only pools. This is something I implemented long time ago, but was now

Re: [head tinderbox] failure on ia64/ia64

2012-12-01 Thread Pawel Jakub Dawidek
very early for other reasons), it is late at night to figure out the fix (which was trivial: CC=gcc), so I assumed that if the code builds on dev box it is fine. It wasn't. My mistake, I should've waited till moring. Once again, sorry about that! -- Pawel Jakub Dawidek http

Re: [HEADSUP] zfs root pool mounting

2012-12-01 Thread Pawel Jakub Dawidek
have disks in your system with ZFS pools that should not be auto-imported and zpool.cache is the way to tell the difference. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am

Re: auditdistd config file location

2012-12-13 Thread Pawel Jakub Dawidek
page is correct (/etc/security/auditdistd.conf). This was last minute change, which I just fixed (r244181). Thank you for the report! If you have any other questions, don't hesitate to ask. Feel free to CC me when sending a question to the mailing list. -- Pawel Jakub Dawidek

Re: [RFC] winbond watchdog driver for FreeBSD/i386 and FreeBSD/amd64

2011-12-07 Thread Pawel Jakub Dawidek
but exits when trying to pat it, as it gets an error, which leads to a reset short aferwards. + } +} -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http

Re: zfs-related(?) panic in cache_enter: wrong vnode type

2011-12-08 Thread Pawel Jakub Dawidek
of you could send me few lines around zfs_vnops.c:1470 and vfs_cache.c:726. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com pgpI7RzOpvuwY.pgp

Re: 9.0-RC1 panic in tcp_input: negative winow.

2011-12-14 Thread Pawel Jakub Dawidek
for the delay, but I'm just rebooting the box that triggered the panic with John's patch. I should know more in a day or two. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am

Re: 9.0-RC1 panic in tcp_input: negative winow.

2011-12-17 Thread Pawel Jakub Dawidek
. Unfortunately it paniced today. Take a look at: http://people.freebsd.org/~pjd/misc/tcp_panic.jpg -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com

Re: 9.0-RC1 panic in tcp_input: negative winow.

2011-12-29 Thread Pawel Jakub Dawidek
On Thu, Dec 29, 2011 at 11:12:59AM -0500, John Baldwin wrote: On Sunday, December 25, 2011 11:01:33 am Коньков Евгений wrote: Здравствуйте, John. Вы писали 20 декабря 2011 г., 16:52:44: JB On Saturday, December 17, 2011 6:21:27 pm Pawel Jakub Dawidek wrote: On Mon, Dec 12, 2011

Snapshot listing speedup.

2012-01-22 Thread Pawel Jakub Dawidek
21, 2012 at 09:12:53PM +, Pawel Jakub Dawidek wrote: Author: pjd Date: Sat Jan 21 21:12:53 2012 New Revision: 230438 URL: http://svn.freebsd.org/changeset/base/230438 Log: Dramatically optimize listing snapshots when user requests only snapshot names and wants to sort them by name

Re: gptboot rewrite, bootonce, etc.

2012-01-31 Thread Pawel Jakub Dawidek
128 1 freebsd-boot (64k) 162 26621952 2 freebsd-ufs [bootonce,bootme] (12G) 266221148388608 3 freebsd-swap (4.0G) 35010722 590131693 4 freebsd-zfs (281G) system ada0p2 not boot. This functionality only works with UFS (gptboot). -- Pawel Jakub

Re: trim/discard success story

2012-04-06 Thread Pawel Jakub Dawidek
On Tue, Apr 03, 2012 at 06:18:43PM -0700, Julian Elischer wrote: for flash drives this is great news.. Now if ZFS would get trim support, that too would be great. I'm working on it. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer

Re: ZFS + usb in trouble?

2013-01-21 Thread Pawel Jakub Dawidek
due to GEOM tasting, but ignore them and run: # dd if=/dev/random of=/dev/da0.eli bs=1m Once that done try to read the data back and look at the logs to see if any corruptions are reported. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer

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 pgphr9pcEGGow.pgp Description: PGP

Re: ZFS + usb in trouble?

2013-01-21 Thread Pawel Jakub Dawidek
I used wrong Hans' login, resending with the proper e-mail. On Mon, Jan 21, 2013 at 09:58:52PM +0100, Pawel Jakub Dawidek wrote: On Sat, Jan 19, 2013 at 11:26:39PM +0900, Alexander Nedotsukov wrote: Let's use some space out of it. #dd if=/dev/zero of=/tank/foo ^C250939+0 records

ACPI panic on unplugging the power cord.

2013-01-22 Thread Pawel Jakub Dawidek
more info. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl pgpaejQVh5GkP.pgp Description: PGP signature

Re: ZFS + usb in trouble?

2013-01-22 Thread Pawel Jakub Dawidek
corruption? -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl pgpwnenyZmG1u.pgp Description: PGP signature

Re: ZFS + usb in trouble?

2013-01-23 Thread Pawel Jakub Dawidek
at offset 272560128. GEOM_ELI: da5.eli: Failed to authenticate 131072 bytes of data at offset 272429056. GEOM_ELI: da5.eli: Failed to authenticate 32768 bytes of data at offset 272396288. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer

Re: ACPI panic on unplugging the power cord.

2013-01-24 Thread Pawel Jakub Dawidek
On Wed, Jan 23, 2013 at 07:54:57PM -0500, Jung-uk Kim wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-01-22 12:56:29 -0500, Pawel Jakub Dawidek wrote: I just upgraded to HEAD today and was wondering what will explode. Now I know. When I unplug power cord from my laptop

Re: ACPI panic on unplugging the power cord.

2013-01-25 Thread Pawel Jakub Dawidek
On Thu, Jan 24, 2013 at 05:18:48PM +0100, Pawel Jakub Dawidek wrote: One is when I leave laptop idle for some time (few hours?): http://people.freebsd.org/~pjd/misc/acpi_idle_panic_0.jpg http://people.freebsd.org/~pjd/misc/acpi_idle_panic_1.jpg Small update. This panic doesn't

Re: ACPI panic on unplugging the power cord.

2013-01-26 Thread Pawel Jakub Dawidek
On Fri, Jan 25, 2013 at 04:19:44PM -0500, Jung-uk Kim wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-01-25 04:26:02 -0500, Pawel Jakub Dawidek wrote: On Thu, Jan 24, 2013 at 05:18:48PM +0100, Pawel Jakub Dawidek wrote: One is when I leave laptop idle for some time (few

Re: acpi resume related patch

2013-01-28 Thread Pawel Jakub Dawidek
is ahci. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl pgpeGRk3y8xZd.pgp Description: PGP signature

Re: acpi resume related patch

2013-01-28 Thread Pawel Jakub Dawidek
On Mon, Jan 28, 2013 at 03:07:59PM +0200, Andriy Gapon wrote: on 28/01/2013 14:45 Pawel Jakub Dawidek said the following: FYI, it doesn't change anything for me. Resume seems to work, but suspend just reset my laptop. Sorry, I am a little confused by this description. How can you know

Re: acpi resume related patch

2013-01-28 Thread Pawel Jakub Dawidek
On Mon, Jan 28, 2013 at 03:40:18PM +0200, Andriy Gapon wrote: on 28/01/2013 15:24 Pawel Jakub Dawidek said the following: On Mon, Jan 28, 2013 at 03:07:59PM +0200, Andriy Gapon wrote: on 28/01/2013 14:45 Pawel Jakub Dawidek said the following: FYI, it doesn't change anything for me. Resume

Re: geli(8) breaks after a couple hours of uptime

2013-02-09 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 pgpjcefoSL7Mf.pgp Description: PGP signature

Re: geli(8) breaks after a couple hours of uptime

2013-02-10 Thread Pawel Jakub Dawidek
On Sun, Feb 10, 2013 at 09:50:58AM +0200, Andriy Gapon wrote: on 10/02/2013 01:35 Pawel Jakub Dawidek said the following: geli(8) almost exclusively deals with sensitive data. Even mlocking MAXPHYS would fail with current limits, but this is bad idea. With mlockall() I am sure I didn't

HEADS UP: Capsicum overhaul.

2013-03-01 Thread Pawel Jakub Dawidek
report here if you find problems that look related to my change. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl pgpD8eAHegq2k.pgp Description: PGP

Re: HEADS UP: Capsicum overhaul.

2013-03-02 Thread Pawel Jakub Dawidek
On Fri, Mar 01, 2013 at 10:24:01PM -0500, Michael Butler wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/01/13 21:05, Pawel Jakub Dawidek wrote: I just committed pretty large change that affects not only Capsicum, but also descriptor handling code in the kernel. If you

  1   2   >