Re: Where to start?

2007-01-22 Thread Vasil Dimov
it is in the journal, but you cannot access the journal because the file, which contains the journal, is on a corrupted fs? You should better ask at the geom mailing list. -- Vasil Dimov [EMAIL PROTECTED] % Everything should be made as simple as possible, but not simpler. -- Albert Einstein

Re: Best practices for using gjournal with gmirror?

2007-01-11 Thread Vasil Dimov
of them is rebuild because the other one is rarely used. -- Vasil Dimov [EMAIL PROTECTED] % Shaw's Principle: Build a system that even a fool can use, and only a fool will want to use it. pgprkzevUK6QY.pgp Description: PGP signature

Re: pfctl

2006-11-27 Thread Vasil Dimov
} Seems like a bug to me. Maybe rtsc should be changed to lssc and ulsc respectively on 712 and 713 line. -- Vasil Dimov [EMAIL PROTECTED] % I used to think that the brain was the most wonderful organ in my body. Then I realized who was telling me this. -- Emo Phillips

Re: [patch] rm can have undesired side-effects

2006-10-30 Thread Vasil Dimov
should be carefull not to point it to your head and pull the trigger. -- Vasil Dimov [EMAIL PROTECTED] % Shaw's Principle: Build a system that even a fool can use, and only a fool will want to use it. pgpBTvTYbAucH.pgp Description: PGP signature

Re: Heavy system load by pagedaemon

2006-05-10 Thread Vasil Dimov
to 6.1-STABLE Good luck! -- Vasil Dimov [EMAIL PROTECTED] Testing can show the presence of bugs, but not their absence. -- Edsger W. Dijkstra pgpWoc7umKhjk.pgp Description: PGP signature

Re: which running thread gests the external signal

2006-05-03 Thread Vasil Dimov
in single threaded apps. For portability you should stick to the standards. Good luck! -- Vasil Dimov [EMAIL PROTECTED] Testing can show the presence of bugs, but not their absence. -- Edsger W. Dijkstra pgpwZHQNWp4He.pgp Description: PGP signature

Re: odd behavior with geom - gmirror - read/write simultaneously

2006-04-06 Thread Vasil Dimov
reasons. -- Vasil Dimov [EMAIL PROTECTED] Testing can show the presence of bugs, but not their absence. -- Edsger W. Dijkstra pgpwJYZwChR4y.pgp Description: PGP signature

Re: cloning a FreeBSD HDD

2006-03-24 Thread Vasil Dimov
first try this, it's quite straightforward * boot into single user mode (enter boot -s at loader prompt) * make sure filesystems are mounted readonly (mount) dd if=/dev/ad0 of=/dev/ad1 bs=1m (where ad0 is your disk with data and ad1 is your new disk, make sure you do not swap them :) -- Vasil Dimov

Re: urgent, need to recover superblock!

2006-02-22 Thread Vasil Dimov
, ad1f, and ad1g partitions just fine, it's the ad1e partition only that is giving me the grief and that's the one i need! Thanks. Dave. dd if=/dev/ad1 of=file bs=1m mdconfig -a -t vnode -f file mdX gets outputed, then you can play with /dev/mdX using ffsrecov - -- Vasil Dimov -BEGIN

Re: mount_nullfs removes (temporarily) schg flag from dir ... why ?

2006-02-02 Thread Vasil Dimov
filesystem. You may also notice that the owner/group and permissions had changed. -- Vasil Dimov pgppAQRgIt0Zp.pgp Description: PGP signature

Re: ipfw forwarding

2005-12-13 Thread Vasil Dimov
suggest that you read *carefully* ipfw(8) and rewrite your rule to: 00316 fwd x.x.x.x.28,80 tcp from any to x.x.x.204 80 Good luck! -- Vasil Dimov pgpHrDtEl1UnX.pgp Description: PGP signature

Re: how to make the FreeBSD 6.0 run faster

2005-10-28 Thread Vasil Dimov
using world and kernel, compiled with -O2 instead of -g, and yet 10% more speedup when removing J option from malloc.conf(3). -- Vasil Dimov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe

Re: Reproducable panic under heavy disk I/O on 5.4-latestandthegreatest

2005-09-13 Thread Vasil Dimov
On Wed, Sep 07, 2005 at 07:32:41PM -0400, Kris Kennaway wrote: On Wed, Sep 07, 2005 at 09:46:43PM +0300, Vasil Dimov wrote: Unread portion of the kernel message buffer: panic: kmem_malloc(4096): kmem_map too small: 40886272 total allocated This indicates you're running your kernel out

panic: mutex ipf state entry already initialized

2005-09-07 Thread Vasil Dimov
Hi, all I have submitted a PR for this (kern/85809), but I guess someone on this list may have some explanation: After adding: options WITNESS options INVARIANTS options INVARIANT_SUPPORT options MUTEX_DEBUG to my kernel config (for bug hunting, related to disk

Re: Backup problem for backup MySQL (a table 2GB)

2005-08-16 Thread Vasil Dimov
On Mon, Aug 15, 2005 at 11:41:09PM -0700, Patrick Dung wrote: Hi We are using an old backup product which can only backup files 2GB. Now we have a mysql file 2GB. The backup product refuse to backup that file. So, whats the alternatives to perform backup for this situation? This is

Re: Shared memory permissions question

2005-08-16 Thread Vasil Dimov
On Tue, Aug 16, 2005 at 03:10:34PM +0200, Joost Bekkers wrote: On Tue, Aug 16, 2005 at 04:51:15PM +0400, Dmitry Agaphonov wrote: Hello, I have user A from group G creating shared memory M with permissions 0060. After this, A fails to attach M due to permission denied. However,

Re: Finding an illegal instruction in gnucash/guile

2005-08-07 Thread Vasil Dimov
On Sat, Aug 06, 2005 at 09:49:36PM +1000, Peter Jeremy wrote: ... scratch with different CPUTYPE and/or CFLAGS? (I'm currently using CPUTYPE=athlon-xp and CFLAGS=-O -g). Hmmz, CFLAGS=-O -g, what do you expect from this combination? gcc(1): Without `-O', the compiler's goal is to reduce the

Re: [patch] rc.d/tmp (silly mkdir usage)

2005-08-02 Thread Vasil Dimov
On Mon, Aug 01, 2005 at 11:37:05PM -0500, [EMAIL PROTECTED] wrote: Howdy hackers, I'm sorry for the previous patch, so here is at least one item that really bugs me that isn't obfuscation. In short, I don't see any reason to fork some process to simply touch a file (is a filesystem writable)

Re: [patch] rc.d/tmp (silly mkdir usage)

2005-08-02 Thread Vasil Dimov
On Tue, Aug 02, 2005 at 12:33:48PM +0300, Giorgos Keramidas wrote: On 2005-08-02 09:29, Vasil Dimov [EMAIL PROTECTED] wrote: --- /etc/rc.d/tmp.orig Mon Aug 1 23:20:24 2005 +++ /etc/rc.d/tmp Mon Aug 1 23:22:07 2005 @@ -48,8 +48,8 @@ [Nn][Oo

Re: [patch] rc.d/tmp (silly mkdir usage)

2005-08-02 Thread Vasil Dimov
On Tue, Aug 02, 2005 at 12:52:34PM +0200, Dario Freni wrote: Vasil Dimov wrote: Even we can use if [ -d /tmp -a -w /tmp ] ; then or (which is equivalent) if [ -d /tmp ] [ -w /tmp ] ; then and save external commands (mkdir) execution and directory creation/deletion at all. You

Re: [patch] rc.d/tmp (silly mkdir usage)

2005-08-02 Thread Vasil Dimov
On Tue, Aug 02, 2005 at 01:15:35PM +0200, Joerg Sonnenberger wrote: On Tue, Aug 02, 2005 at 02:06:32PM +0300, Vasil Dimov wrote: On Tue, Aug 02, 2005 at 12:52:34PM +0200, Dario Freni wrote: Vasil Dimov wrote: Even we can use if [ -d /tmp -a -w /tmp ] ; then or (which

Re: [patch] rc.d/tmp (silly mkdir usage)

2005-08-02 Thread Vasil Dimov
On Tue, Aug 02, 2005 at 02:38:36PM +0300, Giorgos Keramidas wrote: On 2005-08-02 14:05, Vasil Dimov [EMAIL PROTECTED] wrote: On Tue, Aug 02, 2005 at 12:33:48PM +0300, Giorgos Keramidas wrote: On 2005-08-02 09:29, Vasil Dimov [EMAIL PROTECTED] wrote: *) - if (/bin/mkdir -p /tmp

Re: How to reset root passwd FreeBSdD4.7

2005-07-15 Thread Vasil Dimov
On Thu, Jul 14, 2005 at 09:55:16AM -0400, John Von Essen wrote: Boot with 1st CD, goto the Fixit Shell (will need 2nd CD). From there you have to manually mount the / filesystem and edit passwd (just clear out the passwd, root::). However, do an fsck on the device first (you may have to reboot

Re: How to reset root passwd FreeBSdD4.7

2005-07-15 Thread Vasil Dimov
On Fri, Jul 15, 2005 at 12:41:48PM +0300, Peter Pentchev wrote: On Fri, Jul 15, 2005 at 09:44:35AM +0300, Vasil Dimov wrote: On Thu, Jul 14, 2005 at 09:55:16AM -0400, John Von Essen wrote: Boot with 1st CD, goto the Fixit Shell (will need 2nd CD). From there you have to manually mount

Re: Odd ataraid situation

2005-07-11 Thread Vasil Dimov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 But I'd like to ask if it'd theoretically be possible to create the RAID1 array (ar0) with only one disk and add the second one later? It'd work like a broken array for some time. It's just an idea :) Find some unused disk, plug it into the

Re: linking libjava.so RPATH problem

2005-07-07 Thread Vasil Dimov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jul 06, 2005 at 10:29:20AM -0600, Tom Schutter wrote: On 7/5/05, Vasil Dimov [EMAIL PROTECTED] wrote: On Tue, Jul 05, 2005 at 03:55:26PM -0600, Tom Schutter wrote: I am having problems linking in the Java JVM libraries (libjava.so

Re: linking libjava.so RPATH problem

2005-07-07 Thread Vasil Dimov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Jul 07, 2005 at 10:39:42AM +0200, Simon 'corecode' Schubert wrote: Lately Vasil Dimov [EMAIL PROTECTED] said: 1) Does the fact that the linker does not realize that the libraries have already been found indicate a bug in the linker

Re: linking libjava.so RPATH problem

2005-07-05 Thread Vasil Dimov
On Tue, Jul 05, 2005 at 03:55:26PM -0600, Tom Schutter wrote: I am having problems linking in the Java JVM libraries (libjava.so, libverify.so, libjvm.so) into my executable. With these options added to my gcc command: -L/usr/local/jdk1.4.2/jre/lib/i386 -ljava -lverify

Re: How ignore the arp request

2005-07-01 Thread Vasil Dimov
On Fri, Jul 01, 2005 at 05:11:40PM +0800, shiner chen wrote: I want to establish a web-cluster.Now i face with the problem how to configure the virtual ip in back-end server and how to ignore the arp request to virtual ip of back-end server. who can tell me ? please detail it !thanks

/bin/sh -e function parsing strangeness

2005-06-26 Thread Vasil Dimov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can anyone explain this: % sh -ec 'f() { return 5 ; } ; if f ; then echo tt ; else echo ff ; fi' ff % sh -ec 'f() { return 5 ; : ; } ; if f ; then echo tt ; else echo ff ; fi' % echo $? 5 If any commands appear after the return statement in a

Re: /bin/sh -e function parsing strangeness

2005-06-26 Thread Vasil Dimov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Jun 26, 2005 at 11:27:02AM +0300, Vasil Dimov wrote: Can anyone explain this: % sh -ec 'f() { return 5 ; } ; if f ; then echo tt ; else echo ff ; fi' ff % sh -ec 'f() { return 5 ; : ; } ; if f ; then echo tt ; else echo ff ; fi