7.1 i386 PXE

2008-10-09 Thread Dmitriy Kirhlarov

Hi, list

I tryin update my install server. Look like 7.1 i386 pxe boot broken.
My own release build is 7.1-i386-2008-10-05

Could somebody test this functionality and confirm or disprove my results.

WBR
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Working fix] Problems combining nss_ldap/pam_ldap with pam_mkhomedir in FreeBSD 7.0

2008-03-19 Thread Dmitriy Kirhlarov

Daniel Bond wrote:


|> /usr/local/etc/nss_ldap.conf -> openldap/ldap.conf
|> /usr/local/etc/ldap.conf -> openldap/ldap.conf
|
| I'm not sure is it correct.
| etc/ldap.conf and etc/openldap/ldap.conf -- different files for
| different purposes.
| etc/nss_ldap.conf -> etc/ldap.conf -- it's correct.
|

The ldap.conf file is only used for nss_ldap and pam_ldap, so I don't
suppose it really matters where the config-file resides.


etc/ldap.conf can be used by sudo, for example.
etc/openldap/ldap.conf -- library config.


You are absolutely correct, when I change *bind_policy* to *hard*, the
problem goes away, nss_ldap stops whining about contacting server in
/var/log/auth.log. SSH with pubkey-exchange or password authentication
also works with bind_policy hard.


Ok. Next.
I'm sorry, but this solution little dangerous.
When your ldap server unreachable, nss_ldap trying to connect again and 
again and doesn't switched to next method, described in /etc/nsswitch.conf.


For example, if your computer must get IP over dhcpd, OS need uid for 
dhclient and ask it from nss_ldap, but nss_ldap can't connect to ldap 
server, because computer doesn't have IP address.


When you are using bind_policy hard, you also need tune bind_timelimit 
and idle_timelimit in ldap.conf and use "files [Status=Action] ldap" in 
/etc/nsswitch.conf, where Status and Action must be choosen.



Allthough it would be nice to have "bind_policy soft" working properly


Yes. It's realy fine option, but I don't sure about source of problem 
(OS version or nss_ldap) and doesn't know, how to debug this issue.


WBR.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problems combining nss_ldap/pam_ldap with pam_mkhomedir in FreeBSD 7.0

2008-03-18 Thread Dmitriy Kirhlarov

Hi!

Daniel Bond wrote:

# auth

...

This pam.d/ssh config working fine for me:

# auth
authrequiredpam_nologin.so  no_warn
authsufficient  pam_opie.so no_warn 
no_fake_prompts

authrequisite   pam_opieaccess.so   no_warn allow_local
#auth   sufficient  pam_krb5.so no_warn 
try_first_pass
#auth   sufficient  pam_ssh.so  no_warn 
try_first_pass
authsufficient  /usr/local/lib/pam_ldap.so no_warn 
try_first_pass
authrequiredpam_unix.so no_warn 
try_first_pass


# account
account requiredpam_nologin.so
#accountrequiredpam_krb5.so
account requiredpam_login_access.so
account required/usr/local/lib/pam_ldap.so 
ignore_authinfo_unavail ignore_unknown_user

account requiredpam_unix.so

# session
#sessionoptionalpam_ssh.so
session required/usr/local/lib/pam_mkhomedir.so  debug 
umask=0077 skel=/usr/local/share/skel

session requiredpam_permit.so

# password
#password   sufficient  pam_krb5.so no_warn 
try_first_pass
passwordrequiredpam_unix.so no_warn 
try_first_pass



I'm pretty sure my ldap.conf and nsswitch.conf are OK, but here they are
anyway:


/usr/local/etc/nss_ldap.conf -> openldap/ldap.conf
/usr/local/etc/ldap.conf -> openldap/ldap.conf


I'm not sure is it correct.
etc/ldap.conf and etc/openldap/ldap.conf -- different files for 
different purposes.

etc/nss_ldap.conf -> etc/ldap.conf -- it's correct.


# LDAP Defaults
#

# See ldap.conf(5) for details
# This file should be world readable but not world writable.

basedc=nsn, dc=no
HOST1.slave.1881.int.nsn.no master.1881.int.nsn.no

port 389
ldap_version 3
bind_policy soft

^^

Try replace to
bind_policy hard

Developers doesn't like "soft". I don't know why, but it periodically 
it's broken in new versions nss_ldap (2 time for last 3 years AFAIR). 
I'm not sure about current status. It must be tested.


Also try

echo "debug 9" >> /usr/local/etc/ldap.conf

For details see
slapd.conf(5) about loglevel

WBR.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


autofs

2007-06-08 Thread Dmitriy Kirhlarov

Hi, list.

I'm find in source tree :
/usr/src/lib/libautofs
/usr/src/sbin/mount_autofs
/usr/src/share/examples/autofs
/usr/src/share/man/man5/autofs.5

Sorry, for stupid question.
Could somebody explain me, how I can build it and why it doesn't build 
by default?



WBR.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


threads question

2007-04-25 Thread Dmitriy Kirhlarov
Hi, list.

I have problem with fresh openldap server with RELENG_6 from middle of
February and can't reproduce it with RELENG_6 from August 2006.

Details can be found in thread, started from
http://www.openldap.org/lists/openldap-software/200704/msg00249.html
(only link. I don't want spamming this list with details)

I'm wondering if we have any known problems with threads in actual
RELENG_6?

WBR.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ISCSI target on FreeBSD

2007-04-12 Thread Dmitriy Kirhlarov
On Fri, Apr 13, 2007 at 12:10:16AM -0400, Dot Yet wrote:

> I am very new to FreeBSD and am willing to explore it. One thing which
> is causing a little-bit hitch is the availability of ISCSI target
> services on FreeBSD. I currently use Openfiler for providing iscsi
> targets to Solaris based initiators, but i want to move out from it and
> come onto FreeBSD world. Can someone point me in some direction?

ports/net/iscsi-target
ftp://ftp.cs.huji.ac.il/users/danny/freebsd/

WBR.
Dmitriy
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ggate + gmirror write performance woes

2007-04-09 Thread Dmitriy Kirhlarov
Hi!

On Mon, Apr 09, 2007 at 12:55:43PM -0400, Sven Willenberger wrote:
> The next part of the project will be writing the freevrrp failover
> scripts to deal with I/O locking issues that will happen if the ggated
> server fails, etc.

check carp(4) and ports/net/ifstated. You can use identical advbase
configuration on both nodes and prevent service migration back from
second node to first, if first node will reboot.
also, take a look one{start,stop,restart} options for rcNG designed
initscripts.

WBR
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ggate + gmirror write performance woes

2007-04-06 Thread Dmitriy Kirhlarov
Hi!

On Thu, Apr 05, 2007 at 04:15:35PM -0400, Sven Willenberger wrote:

> I have tried both the settings ideas suggested above but I cannot even
> get out of the gate with those. Setting net.inet.tcp.{send,recv}space to
> 
> setting net.inet.tcp.{send,recv}space to 131072 allows me to start

Now you have good chance to check differences with other recommended
sysctl's. :)

WBR
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ggate + gmirror write performance woes

2007-04-05 Thread Dmitriy Kirhlarov
On Thu, Apr 05, 2007 at 10:58:56AM -0400, Sven Willenberger wrote:
> I am trying to set up a HA type system involving two identical boxes and
> have gone through the following to set up the systems:
> 
> Slave server: 
> ggated -R 196608 -S 196608
> (exporting /dev/amrd1 )
> net.inet.tcp.sendspace: 65536
> net.inet.tcp.recvspace: 131072

Try
net.local.stream.recvspace=65535
net.local.stream.sendspace=65535

Also, try increase this sysctls with
net.inet.tcp.rfc1323=1

I use it on FreeBSD 5.x with:
net.inet.tcp.sendspace=131072
net.inet.tcp.recvspace=131072
net.local.stream.recvspace=65535
net.local.stream.sendspace=65535

ggated -R 1048576 -S 1048576
ggatec -R 1048576 -S 1048576

WBR.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Failover-HA-Setup

2007-01-17 Thread Dmitriy Kirhlarov
On Wed, Jan 17, 2007 at 03:20:32PM +0100, Richard Verwayen wrote:

> Oh, should I have mentioned that it is a shared SCSI-Storage in between?

You can use gmirror(8) with ggated(8).

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Failover-HA-Setup

2007-01-17 Thread Dmitriy Kirhlarov
Hi!

On Wed, Jan 17, 2007 at 01:47:37PM +0100, Richard wrote:

> I am running heartbeat on a STABLE-system, the failover works fine for
> IP-adresses and I am able to see that a

Why you ignore carp(4) and ports/net/ifstated?

> '/usr/local/etc/rc.d/mysql-server start' statement is issued. BUT since
> the variables for mysql are not set in rc.conf (Otherwise it would be
> started at startup), it isn't starting at all.

You can use in /etc/rc.conf:

[ -r /usr/local/etc/rc.mysql.conf ] && . /usr/local/etc/rc.mysql.conf

and using this include for manipulate with mysql start variables.

Your shared IP address moving with script, I think. This script can
modify /usr/local/etc/rc.mysql.conf also.

WBR.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


make release on RELENG_6 broken with russian handbook build error

2007-01-16 Thread Dmitriy Kirhlarov
Hi, list

More them half year I'm using same script for generating my own
releases and all time it's works fine.

Today I tried to make release with
RELEASE="RELENG_6"
DATE="01/16/2007 00:00:00 UTC"

and get error:
---
===> ru_RU.KOI8-R/books/handbook (all)
/bin/mkdir -p /usr/doc/ru_RU.KOI8-R/share/sgml
env SGML_CATALOG_FILES= 
XML_CATALOG_FILES="file:///usr/doc/ru_RU.KOI8-R/books/handbook/catalog-cwd.xml  
file:///usr/doc/ru_RU.KOI8-R/share/sgml/catalog.xml  file:///usr/
doc/ru_RU.KOI8-R/share/sgml/catalog.xml  file:///usr/doc/share/sgml/catalog.xml 
 file:///usr/doc/share/sgml/catalog-common.xml  
file:///usr/www/./share/sgml/catalog.xml 
 file:///usr/www/share/sgml/catalog.xml  
file:///usr/www/share/sgml/catalog-common.xml  
file:///usr/local/share/xml/catalog" /usr/local/bin/xsltproc --nonet  --param 
'tr
anstable.xml' "'/usr/doc/ru_RU.KOI8-R/share/sgml/transtable.xml'"  --param 
'transtable-target-element' "'country'"  --param 'transtable-word-group' 
"'country'"  --param 
'transtable-mode' "'sortkey'"  
/usr/doc/ru_RU.KOI8-R/share/sgml/transtable-local.xsl 
/usr/doc/share/sgml/mirrors.xml  | env -i LANG="ru_RU.KOI8-R" /usr/bin/sort -f 
> /us
r/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml.sort.tmp
env -i /usr/bin/grep "^ 
/usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml.sort
echo "" >> /usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml.sort
env -i /usr/bin/awk '/@sortkey@/ {sub(/@sortkey@/, ++line); print;}' < 
/usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml.sort.tmp >> 
/usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.
xml.sort
echo '' >> /usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml.sort
env SGML_CATALOG_FILES= 
XML_CATALOG_FILES="file:///usr/doc/ru_RU.KOI8-R/books/handbook/catalog-cwd.xml  
file:///usr/doc/ru_RU.KOI8-R/share/sgml/catalog.xml  file:///usr/
doc/ru_RU.KOI8-R/share/sgml/catalog.xml  file:///usr/doc/share/sgml/catalog.xml 
 file:///usr/doc/share/sgml/catalog-common.xml  
file:///usr/www/./share/sgml/catalog.xml 
 file:///usr/www/share/sgml/catalog.xml  
file:///usr/www/share/sgml/catalog-common.xml  
file:///usr/local/share/xml/catalog" /usr/local/bin/xsltproc --nonet -o 
/usr/doc/
ru_RU.KOI8-R/share/sgml/mirrors.xml  --param 'transtable.xml' 
"'/usr/doc/ru_RU.KOI8-R/share/sgml/transtable.xml'"  --param 
'transtable-target-element' "'country'"  --par
am 'transtable-word-group' "'country'"  --param 'transtable-sortkey.xml' 
"'/usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml.sort'"  
/usr/doc/ru_RU.KOI8-R/share/sgml/transtab
le-local.xsl /usr/doc/share/sgml/mirrors.xml
/bin/rm -f /usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml.sort 
/usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml.sort.tmp
echo '' > 
/usr/doc/ru_RU.KOI8-R/books/handbook/autogen.ent
env SGML_CATALOG_FILES= 
XML_CATALOG_FILES="file:///usr/doc/ru_RU.KOI8-R/books/handbook/catalog-cwd.xml  
file:///usr/doc/ru_RU.KOI8-R/share/sgml/catalog.xml  file:///usr/
doc/ru_RU.KOI8-R/share/sgml/catalog.xml  file:///usr/doc/share/sgml/catalog.xml 
 file:///usr/doc/share/sgml/catalog-common.xml  
file:///usr/www/./share/sgml/catalog.xml 
 file:///usr/www/share/sgml/catalog.xml  
file:///usr/www/share/sgml/catalog-common.xml  
file:///usr/local/share/xml/catalog" /usr/local/bin/xsltproc --nonet  -o 
mirrors.
sgml.ftp.inc.tmp --param 'type' "'ftp'"  --param 'proto' "'ftp'"  --param 
'target' "'handbook/mirrors/chapter.sgml'"  --param transtable.xml 
"'/usr/doc/ru_RU.KOI8-R/shar
e/sgml/transtable.xml'"  /usr/doc/ru_RU.KOI8-R/share/sgml/mirrors-local.xsl 
/usr/doc/ru_RU.KOI8-R/share/sgml/mirrors.xml
runtime error: file /usr/doc/share/sgml/mirrors-master.xsl line 97 element 
choose
Variable 'mirrors-docbook-country-index-without-period' has not been declared.
*** Error code 10

Stop in /usr/doc/ru_RU.KOI8-R/books/handbook.
*** Error code 1

Stop in /usr/doc/ru_RU.KOI8-R/books.
*** Error code 1

Stop in /usr/doc/ru_RU.KOI8-R.
*** Error code 1

Stop in /usr/doc.
*** Error code 1

Stop in /usr/src/release.
+ umount /dev
*** Error code 1

Stop in /usr/src/release.
---


Part of script:
---
cd release && make release BUILDNAME=${RELEASE} \
CHROOTDIR=/usr/release \
CVSROOT=/home/ncvs \
EXTSRCDIR=/usr/src \
KERNELS=OILSPACE1 \
MAKE_ISOS=yes \
NOPORTS=yes \
RELEASETAG=${RELEASE} \
WORLD_FLAGS="-j4" \
KERNEL_FLAGS=""
---

Something changes in make release procedure or real bug in russian handbook?

WBR
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RELENG_6 panic under heavy load

2006-12-12 Thread Dmitriy Kirhlarov
On Tue, Dec 12, 2006 at 08:49:21PM +0800, David Xu wrote:

> > I've tested it. This patch works also, but with a little bit different
> > behaviour. With patch from jhb@ I got LA 7-8, with this patch I have
> > LA 5-6, same as on unpatched system. But it seems to me, that system
> > is less interactive, compared to jhb@ patch.
> 
> jhb patch is incomplete, it implies that every place a thread is doing state
> transition and waking another thread up should be patched, there is
> other code in kern_sig.c unpatched, though I don't know other places,
> but the code maybe_preempt_in_ksegrp should be synced with
> maybe_preempt, it should fix all problems. the LA you have seen is lower
> than jhb might be a nature of KSEGRP, but I am not sure, if you program
> forces all threads to be system-scope, it might fix the problem. 

I think, kern/105464 can be closed, after commit your patch.

WBR.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RELENG_6 panic under heavy load

2006-12-12 Thread Dmitriy Kirhlarov
On Thu, Dec 07, 2006 at 11:18:52AM +0800, David Xu wrote:
> On Thursday 16 November 2006 19:15, Gleb Smirnoff wrote:
> > On Thu, Nov 16, 2006 at 01:24:36PM +0300, Gleb Smirnoff wrote:
> > T>   I wonder why UMA was suspected to be the problem. Dima gave
> > T> me access to the core. Here are more details from the trace:
> >
> > It looks like a race between two threads in one process. Look here:
> >
> Can you try the patch ?
> http://people.freebsd.org/~davidxu/patch/ksegrp_preempt.patch 

I've tested it. This patch works also, but with a little bit different
behaviour. With patch from jhb@ I got LA 7-8, with this patch I have
LA 5-6, same as on unpatched system. But it seems to me, that system
is less interactive, compared to jhb@ patch.

WBR
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RELENG_6 panic under heavy load

2006-12-08 Thread Dmitriy Kirhlarov
On Wed, Dec 06, 2006 at 12:09:39PM -0500, John Baldwin wrote:

> > ...) and here is something difficult to understand, when $poll tries to
> > make $fork runnable, while $fork is trying to put itself in the turnstile
> > that is owned by $poll
> 
> Hmm.  I'm guessing the problem is the $poll thread is suspended (not exited) 
> while holding the proc lock?  That would appear to be the problem.  That 
> thread can't run again to release the lock.  Ah, yes, I see the bug.  
> Something like this should fix it:
> 
> Index: kern_thread.c
> ===
> RCS file: /usr/cvs/src/sys/kern/kern_thread.c,v
> retrieving revision 1.216.2.6
> diff -u -r1.216.2.6 kern_thread.c
> --- kern_thread.c   2 Sep 2006 17:29:57 -   1.216.2.6
> +++ kern_thread.c   6 Dec 2006 17:06:26 -
> @@ -969,7 +969,9 @@
> TAILQ_REMOVE(&p->p_suspended, td, td_runq);
> TD_CLR_SUSPENDED(td);
> p->p_suspcount--;
> +   critical_enter();
> setrunnable(td);
> +   critical_exit();
>  }
> 
>  /*
> 
> What this does is force setrunnable() to be in a nested critical section so 
> we 
> won't preempt during setrunnable() until either the caller of 
> thread_unsuspend_one() eventually releases sched_lock, or, in the case you 
> ran into, the thread does a PROC_UNLOCK() and calls mi_switch().

lbsd02# uptime
9:46AM  up 22:45, 2 users, load averages: 7.50, 6.59, 6.32

It's work. Thank, you.
Without your patch max uptime was 9 hours.

I'm planning to test David's patch on weekend.

WBR
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RELENG_6 panic under heavy load

2006-11-16 Thread Dmitriy Kirhlarov
On Wed, Nov 15, 2006 at 03:37:40PM -0500, Kris Kennaway wrote:
> On Wed, Nov 15, 2006 at 09:24:21PM +0300, Dmitriy Kirhlarov wrote:
> > On Tue, Nov 14, 2006 at 01:53:45PM -0500, Kris Kennaway wrote:
> > 
> > > From alc@:
> > > 
> > > ---
> > > I've never seen anything like this before.  UMA is failing to allocate
> > > the zone structure.  This is unrelated to the large-swap scenario that
> > > you ran into.  Ask him to uncomment all of the UMA debugging #define's
> > > at the start of uma_core.c.
> > 
> > It was very painfull for me and I don't get result...
> > 
> > #define UMA_DEBUG 1
> > #define UMA_DEBUG_ALLOC 1
> > #define UMA_DEBUG_ALLOC_1 1
> > 
> > in uma_core.c kill my machine.
> > I get tons of crap to serial console.
> 
> The "tons of crap" is what was necessary to proceed.

Not shure.
I can't find way for collect output of UMA_DEBUG* with current console
server and it can't be replaced before Jan.

But I think UMA* is a wrong idea.
You suppose bad hardware (I'm right?). Possible. But it can be
detected only under heavy load -- when I enabling nagios on this
server. When nagios disabled, machine work perfectly.
With enabled UMA_DEBUG* options server not operable, no one service
starting, we don't have this load and can't reproduce this behaviour.

WBR
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RELENG_6 panic under heavy load

2006-11-15 Thread Dmitriy Kirhlarov
On Tue, Nov 14, 2006 at 01:53:45PM -0500, Kris Kennaway wrote:

> From alc@:
> 
> ---
> I've never seen anything like this before.  UMA is failing to allocate
> the zone structure.  This is unrelated to the large-swap scenario that
> you ran into.  Ask him to uncomment all of the UMA debugging #define's
> at the start of uma_core.c.

It was very painfull for me and I don't get result...

#define UMA_DEBUG 1
#define UMA_DEBUG_ALLOC 1
#define UMA_DEBUG_ALLOC_1 1

in uma_core.c kill my machine.
I get tons of crap to serial console.
Server unaccessable over network too.
I ask colocation support for manualy reboot server, for access to
console and boot with old kernel.

Now I update world and kernel to RELENG_6 11/15/2006 00:00:00 UTC

Any other idea?

PS. unionfs switch off now. UMA debug switch off too.

WBR
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RELENG_6 panic under heavy load

2006-11-13 Thread Dmitriy Kirhlarov
On Mon, Nov 13, 2006 at 01:45:05PM -0500, Kris Kennaway wrote:
> On Mon, Nov 13, 2006 at 11:44:31AM +0300, Dmitriy Kirhlarov wrote:
> > Hi, list.
> > 
> > One from my monitoring servers running with
> > FreeBSD 6.2-PRERELEASE #0: Fri Nov 10 11:03:10 UTC 2006 i386
> > 
> > Under heavy load it panic several times per day. Backtrace accesable:
> > http://clh.higis.ru/~dimma/btfull.0 
> > Can somebody take a look?
> > I send Problem Report, but not get feed back now from gnats.

> Please provide your kernel config.

http://clh.higis.ru/~dimma/OILSPACE1DEB

I open PR for this problem -- kern/105464

WBR
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RELENG_6 panic under heavy load

2006-11-13 Thread Dmitriy Kirhlarov
Hi, list.

One from my monitoring servers running with
FreeBSD 6.2-PRERELEASE #0: Fri Nov 10 11:03:10 UTC 2006 i386

Under heavy load it panic several times per day. Backtrace accesable:
http://clh.higis.ru/~dimma/btfull.0 
Can somebody take a look?
I send Problem Report, but not get feed back now from gnats.

Also, after replacing kernel, I has other easy reproduceble panic.
String
if_vlan_load="YES"
in /boot/loader.conf and
device  vlan
in kernel.
I use fxp network cards, if it important.
I don't have backtrace for this situation now, but, if it needed, I
will make it.

-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.208 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD does not use all cpus on top show.

2006-09-13 Thread Dmitriy Kirhlarov
 fdc0:  port 0x3f2-0x3f5 irq 6 drq 2 on acpi0
> fdc0: [FAST]
> orm0:  at iomem
> 0xc-0xc7fff,0xc8000-0xcbfff,0xee000-0xe on isa0
> ppc0: cannot reserve I/O port range
> sc0:  at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio1 at port 0x2f8-0x2ff irq 3 on isa0
> sio1: type 16550A
> vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
> Timecounters tick every 1.000 msec
> module_register_init: MOD_LOAD (amr_linux, 0x8062a040, 0) error 6
> acd0: CDROM  at ata0-master PIO4
> SMP: AP CPU #1 Launched!
> SMP: AP CPU #3 Launched!
> SMP: AP CPU #2 Launched!
> da0 at ciss0 bus 0 target 0 lun 0
> da0:  Fixed Direct Access SCSI-0 device
> da0: 135.168MB/s transfers
> da0: 700049MB (1433700592 512 byte sectors: 255H 63S/T 65535C)
> Trying to mount root from ufs:/dev/da0s1a
> bge0: link state changed to DOWN
> bge0: link state changed to UP
> ciss0: *** Parity/consistency initialization complete, logical drive 0
> ciss0: logical drive 0 () completed consistency initialisation
> 
> 
> #top
> last pid: 70381; load averages: 0.45, 0.48, 0.46 up 6+16:30:06 12:35:43
> 91 processes: 2 running, 89 sleeping
> CPU states: 12.2% user, 0.0% nice, 0.0% system, 0.2% interrupt, 87.6% idle
> Mem: 1177M Active, 3993M Inact, 269M Wired, 265M Cache, 214M Buf, 19M Free
> Swap: 4096M Total, 4096M Free
> 
> PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
> 51047 root 6 20 0 748M 198M kserel 0 704:28 0.98% java
> 4887 root 9 20 0 359M 84468K kserel 0 134:36 0.00% java
> 97183 mysql 14 20 0 1175M 729M kserel 0 55:03 0.00% mysqld
> 4883 root 11 20 0 383M 88096K kserel 0 27:03 0.00% java
> 34821 root 5 20 0 1240M 43328K kserel 0 9:03 0.00% java
> 4938 root 1 96 0 7612K 1808K select 0 0:21 0.00% ntpd
> 2353 root 1 96 0 9356K 2644K select 0 0:10 0.00% sendmail
> 56321 root 1 96 0 28680K 5356K select 0 0:03 0.00% xterm
> 56318 root 1 96 0 28688K 5364K select 0 0:03 0.00% xterm
> 56322 root 1 96 0 28672K 5284K select 0 0:03 0.00% xterm
> 56315 root 1 96 0 51940K 10428K select 0 0:02 0.00% Xorg
> 2363 root 1 8 0 3560K 1064K nanslp 0 0:01 0.00% cron
> 2197 root 1 96 0 3540K 996K select 0 0:01 0.00% syslogd
> 2385 root 1 4 0 3504K 804K select 0 0:01 0.00% moused
> 2294 root 1 96 0 2420K 836K select 0 0:01 0.00% usbd
> 56320 root 1 96 0 27288K 5016K select 2 0:00 0.00% xclock
> 34284 root 1 20 0 7420K 2968K pause 0 0:00 0.00% csh
> 2357 smmsp 1 20 0 9224K 2368K pause 0 0:00 0.00% sendmail
> 70316 hwh 1 96 0 29368K 3380K select 2 0:00 0.00% sshd
> 2347 root 1 96 0 18428K 2256K select 0 0:00 0.00% sshd
> 56319 root 1 4 0 16056K 2904K select 0 0:00 0.00% twm
> 2145 root 1 4 0 620K 340K select 0 0:00 0.00% devd
> 70313 root 1 4 0 29392K 3356K sbwait 2 0:00 0.00% sshd
> 59068 root 1 4 0 29392K 3348K sbwait 0 0:00 0.00% sshd
> 70334 root 1 20 0 7352K 3008K pause 2 0:00 0.00% csh
> 56323 root 1 5 0 7092K 2900K ttyin 0 0:00 0.00% csh
> 59079 root 1 5 0 13304K 3308K ttyin 0 0:00 0.00% mysql
> 70317 hwh 1 20 0 7096K 2956K pause 2 0:00 0.00% csh
> 59071 hwh 1 4 0 29368K 3372K select 0 0:00 0.00% sshd
> 34038 root 1 8 0 17136K 1312K wait 0 0:00 0.00% login
> 51502 root 1 8 0 17136K 1444K wait 0 0:00 0.00% login
> 56292 root 1 20 0 7080K 2904K pause 2 0:00 0.00% csh
> 51547 root 1 5 0 7076K 2892K ttyin 2 0:00 0.00% csh
> 56324 root 1 5 0 7080K 2860K ttyin 0 0:00 0.00% csh
> 56325 root 1 5 0 7080K 2860K ttyin 0 0:00 0.00% csh
> 59072 hwh 1 20 0 7096K 2924K pause 0 0:00 0.00% csh
> 59076 root 1 20 0 7080K 2888K pause 2 0:00 0.00% csh
> 97159 mysql 1 8 0 5064K 1212K wait 0 0:00 0.00% sh
> 59075 hwh 1 8 0 17136K 1420K wait 0 0:00 0.00% su
> 70333 hwh 1 8 0 17136K 1428K wait 0 0:00 0.00% su
> 56296 root 1 8 0 5044K 1540K wait 0 0:00 0.00% sh
> 70381 root 1 96 0 6912K 2076K CPU2 2 0:00 0.00% top
> 56291 root 1 8 0 17112K 1356K wait 2 0:00 0.00% su
> 56314 root 1 8 0 4352K 1404K wait 0 0:00 0.00% xinit
> 50549 root 1 5 0 3504K 916K ttyin 2 0:00 0.00% getty
> 51509 root 1 5 0 3504K 932K ttyin 0 0:00 0.00% getty
> 
> 
> ___
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.208 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache 2.2.3 with auth_ldap

2006-09-07 Thread Dmitriy Kirhlarov
On Thu, Sep 07, 2006 at 12:26:34PM +0300, Dominik Zalewski wrote:

> I'm running FreeBSD 6.1-STABLE on i386. I need to run auth_ldap module with 
> apache 2.2.3 but as I see it requires apache13 . 
> 
> ===>  auth_ldap-1.6.1 : Error from bsd.apache.mk. apache22 is installed (or 
> APACHE_PORT is defined) and port requires 13.
> *** Error code 1
> 
> Is there is anyway to run auth_ldap with apache22 ?

I use mod_ldap and mod_auth_ldap with apache20.
Strings from /usr/local/etc/pkgtools.conf:
  MAKE_ARGS = {
...
'www/apache2*' => 'WITH_LDAP_MODULES=yes WITH_SSL_MODULES=yes 
WITH_MISC_MODULES=yes WITH_THREADS_MODULES=yes',
...
  }

WBR
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: installword with DESTDIR=/nfs doesn't work?

2006-08-14 Thread Dmitriy Kirhlarov
On Mon, Aug 14, 2006 at 07:02:09PM +0200, Oliver Fromme wrote:
> Hi,
> 
> I just tried to do a "make installworld" with DESTDIR set
> to a directory on an NFS server.  It broke like this:
> 
> ===> lib/libcom_err/doc (install)
> lockf -k /mnt/data/6.1-TEST/original-tree/usr/share/info/dir  install-info 
> --quiet  --defsection="Programming & development tools."  --defentry="* 
> libcom_err: (com_err).A Common Error Description Library for UNIX."  
> com_err.info /mnt/data/6.1-TEST/original-tree/usr/share/info/dir
> lockf: cannot open /mnt/data/6.1-TEST/original-tree/usr/share/info/dir: 
> Operation not supported
> *** Error code 73
> Stop in /usr/src/lib/libcom_err/doc.
> *** Error code 1
> 
> Am I missing something?  Is installworld over NFS supported
> at all?  I could swear I have done it before ...

Look like you need rpc.lockd(8)

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.208 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


jls problem

2006-08-08 Thread Dmitriy Kirhlarov
Hi, list.

I use 6-stable with jails.
Sometimes, when I run
/etc/rc.d/jail restart fbsdbuild
And, after that, I have:
jailhost1# jls | grep fbsdbuild
 7  172.17.3.253fbsdbuild   /space/jail/fbsdbuild
 3  172.17.3.253fbsdbuild   /space/jail/fbsdbuild

Sometimes, it work clean.

My collegue have same problem on FreeBSD 6.1-RELEASE-p3.
Is it known bug?
I nothing find in GNATS.

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.208 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gmirror problem/question

2006-07-24 Thread Dmitriy Kirhlarov
On Mon, Jul 24, 2006 at 08:49:19PM +0400, Anton Nikiforov wrote:

> I'm trying to implement gmirror file system for my cluster.
> Does someone using geom/gmirror solutions for that? any comments?
> 
> I'm confused with the algorithm of moving gmirrored volume from one server to 
> another. 
> And how to add failed provider to a volume.

On first server you must make gmirror with one (local) disk. After
that, you must start ggated on second server, ggatec on first server,
run "gmirror forget ${DRIVE}" and add ggate${ID} disk in gmirror
mirror.

> I'm trying to stop the volume, then start ggatec on another server (all 
> volumes are 
> always exported with ggated on both servers), then I'm recreating mirror with 
> gmirror 

"always exported" -- not very good for me.

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


nsswitch.conf problem with group status code

2006-07-07 Thread Dmitriy Kirhlarov
Hi, list.

I use mixed (master.passwd + ldap) authorization.
I have a problem -- when network unreacheble, local users can't login
to system.
After investigation, I find reason -- timeouts, when resolver try
return ldap server IP.

I add to /etc/nsswitch.conf:
group: files [success=return notfound=continue unavail=continue 
tryagain=continue] ldap
passwd: files [success=return notfound=continue unavail=continue 
tryagain=continue] ldap

and add in /usr/local/etc/ldap.conf
debug 257

After that, I run
id root
I find, what success=return don't work for group -- we trying
connecting to ldap server and get extended grouplist.

Why my status code setup ignoring?

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: carp+pfsync+freevrrpd+jail

2006-07-07 Thread Dmitriy Kirhlarov
Hi!

First of all.  If you're using carp, you need ports/net/ifstated, not
freevrrpd.

On Thu, Jul 06, 2006 at 11:46:18PM +0400, Anton Nikiforov wrote:

> What i have is that when i'm pinging carp0 (inet) or carp1(lan)
> interface's ip address of my firewall - i'm receivind DUP responses.

One from carp and other from freevrrpd.

> And when host2 is ths slave and i'm starting to ping carp0 address -
> no traffic appears on master host - that means that the local carp
> interface responding to my packets..

Yep. Full standby mode (backup don't have shared IP) is not
implemented now.

> That means that in case some service (provided by jail managed by
> freevrrpd) will be accessed from outside - i cannot be sure what
> host will answer the request.

I don't understand your idea. Do you want to start-stop jail, when
master node is down-up?

> I have done some tests. When i'm sshing to virtual IP - sometimes
> i'm getting ssh prompt and can login, and sometimes it says that
> host auth info is bad (yes, because second server answering me at
> this time) and sometimes i'm loosing ssh connection while session is
> active.

Use 'advbase' and 'advskew' params on both hosts for hard managing
status of nodes.

> No ballance needed. I want to have some service run in main OS, some
> services run in jail and i want to be sure which host will answer
> the request when bouth hosts are up and running.

Be careful, if you want to use carp IP inside jail. Only master node can
get data from external world.
I tried to make this schema:
   ldap1
  /\
   ldapn1   ldapn2
   | | || | |
  clients  clients

Where ldap1 -- master ldap server.
ldapn1, ldapn2 -- jail on different hosts on carp shared IP. They
connect to ldap1 and get fresh data from master ldap server.

I found, that only master node can start successfully. Jail on backup
node can't start, because ldap server can't start. It can't start,
because, it can't successfully connect to ldap1.
ldapn2 sends SYN, ldap1 returns SYN+ACK, and switch delivers this
packet to ldapn1 -- active master node.
In order to have this schema working, both nodes must have personal IP
and shared IP, but it's impossible within current jail implementation.

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


nfsd patch. What next?

2006-05-31 Thread Dmitriy Kirhlarov
Hi, list.

Some time ago Kostik Belousov publish in this list patch for nfsd (see
thread "Trouble with NFSd under 6.1-Stable, any ideas?") for resolving
problem with CPU usage. Several peoples test it (me too) and answer,
what patch is work, but it not committed to CVS. Why?

WBR
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [patch, try 1] Re: Trouble with NFSd under 6.1-Stable, any ideas?

2006-05-26 Thread Dmitriy Kirhlarov
Hi!

On Thu, May 25, 2006 at 05:58:09PM +0300, Konstantin Belousov wrote:

> Please, users who reported the problem and willing to help,
> try the patch (generated against STABLE) and give the feedback.

I test it with RELENG_6 from 25 May 2006. It's work fine. Thank you.

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


building release problem RELENG_6

2006-05-25 Thread Dmitriy Kirhlarov
Hi, list.

I'm trying build release with this script:

#!/bin/sh
#
# script for auto-build fresh release

RELEASE="RELENG_6"
DATE="05/24/2006 12:00:00 UTC"
UNIONFSPATCH="unionfs6-p10.diff"

(rm -rf /usr/src/*; rm -rf /usr/obj/*; cd /usr/; \
CVSROOT=/home/ncvs cvs co -r${RELEASE} \
-D "${DATE}" src; \
cp /root/conf/OILSPACE1 /root/conf/OILSPACE1DEB /root/conf/THINKPAD_KST 
/usr/src/sys/i386/conf/; \
cp /root/conf/install.cfg /usr/src/release/; \
cd /usr/src; patch -p0 < /root/conf/local.patch; \
cd /; patch -p0 < /root/tmp/${UNIONFSPATCH}; \
cd /usr/src && \
make -j4 buildworld && \
make buildkernel KERNCONF=THINKPAD_KST && \
make buildkernel KERNCONF=OILSPACE1 && \
make buildkernel KERNCONF=OILSPACE1DEB && \
cd release && make release BUILDNAME=${RELEASE} \
CHROOTDIR=/usr/release \
CVSROOT=/home/ncvs \
EXTSRCDIR=/usr/src \
KERNELS=OILSPACE1 \
MAKE_ISOS=yes \
NOPORTS=yes \
RELEASETAG=${RELEASE} \
WORLD_FLAGS="-j4") > \
/var/log/make_release.log 2>&1


But it stop with diagnose:

rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- 
-DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I@/../include 
-I/R/stage/kernels/usr/include -I/usr/obj/usr/src/sys/OILSPACE1 
/usr/src/sys/modules/xl/../../pci/if_xl.c
===> zlib (depend)
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- 
-DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I@/../include 
-I/R/stage/kernels/usr/include -I/usr/obj/usr/src/sys/OILSPACE1 
/usr/src/sys/modules/zlib/../../net/zlib.c
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2

Stop in /usr/src/release.
+ umount /dev
*** Error code 1

Stop in /usr/src/release.


It's stoping in release stage 3.1 on kernel OILSPACE1.

This kernel build successful before "make release".
Any ideas?

Full build log archive is:
http://www.higis.ru/~dimma/make_release.log.bz2

WBR
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: quota and snapshots in 6.1-RELEASE

2006-05-23 Thread Dmitriy Kirhlarov
Hi!

On Tue, May 23, 2006 at 04:35:21PM -0400, Kris Kennaway wrote:

> > >>6.1-STABLE after 6.1-RELEASE is releases. So I think you may want
> 
> If you use snapshots with your quotas, update to 6.1-STABLE.  If you

Sorry, guys. You are mean RELENG_6_1 or RELENG_6?

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


quota and snapshots in 6.1-RELEASE

2006-05-23 Thread Dmitriy Kirhlarov
Hi, list.

Some time ago quota and, AFAIR, snapshots in 6.1-RELEASE has deadlock
problems. What the current situation with this? I'm ready to test
patches, if needed.

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 6.1-STABLE + devel/php5-pcre incompatible?

2006-05-16 Thread Dmitriy Kirhlarov
Hi!

On Tue, May 16, 2006 at 11:50:48AM +0100, Dominic Marks wrote:
> Is the php5-pcre module really incompatible with FreeBSD 6.1? If so,
> is there a workaround or a version I can roll back to? Also, it is
> just me (:-)) or is the php5 port complaining about a checksum
> mismatch for everyone else?

Did you update checksum?
I update ports now and try update php5, but get error:
size mismatch: expected 5992825, actual 6356171

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 6.1-RELEASE, em0 high interrupt rate and nfsd eats lots of cpu

2006-05-15 Thread Dmitriy Kirhlarov
On Mon, May 15, 2006 at 06:15:49PM -0400, Rong-en Fan wrote:
> When do you start to notice this problem? Since 6.1-RC or?

I find it yesterday on 6.1-RC2, when update another machine over nfs.
On server I, also, use nullfs for jails. I was starting suspect
nullfs, but I could not stop jails during working hours for
investigation.
After your message, I think, problem not in nullfs.

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 6.1-RELEASE, em0 high interrupt rate and nfsd eats lots of cpu

2006-05-15 Thread Dmitriy Kirhlarov
On Mon, May 15, 2006 at 02:15:08PM -0400, Rong-en Fan wrote:
> Hi,
> 
> After upgrading from 5.5-PRERELEASE to 6.1-RELEASE on one
> nfs server today, I noticed that the load is very high, ranging from 4.x
> to 30.x, depends how many nfsd I run. From mrtg traffic graph, I did
> not notice there is high traffic. This box is 2 physical Xeon CPU w/

I have same situation today on RC2.
One client installing world from nfs share.
nfsd eat 91% CPU, load average 6-8. Very small disk activitie.
I don't look interrupt rate.
I, also, have em0.

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 6.1-RC and the audit group

2006-05-06 Thread Dmitriy Kirhlarov
Hi!

On Sat, May 06, 2006 at 02:03:16PM +1200, Mark Kirkwood wrote:
> after manually adding it, and re-running installworld, I noticed that (after 
> delete-old) the second 'mergemaster' has a group temporary file with 'audit' 
> in it (as 
> it wanted to remove mine and add its own - I'd used 70 instead of 77 as gid).
> 
> So...err, I obviously missed something in during mergemaster -p, where does 
> it do the 
> audit addition?
/usr/src/UPDATING.
20060204:
The 'audit' group was added to support the new auditing functionality
in the base system.  Be sure to follow the directions for updating,
    including the requirement to run mergemaster -p.

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: quota deadlock on 6.1-RC1

2006-05-03 Thread Dmitriy Kirhlarov
Hi!

On Wed, May 03, 2006 at 06:21:39PM -0700, David Kirchner wrote:
> However, one could argue that as quotas worked OK in releases prior to
> 6.0 (and perhaps earlier), that there is a longer-term regression. In

I'm interesting about quota and snapshots. Is it work in RELENG_5_5,
or broken too?

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: quota deadlock on 6.1-RC1

2006-05-02 Thread Dmitriy Kirhlarov
Hi!

On Tue, May 02, 2006 at 01:58:59PM -0400, Kris Kennaway wrote:
> Well, sorry folks, you should have told me in February.  Or if you
> only found out about the problem a week ago, you need to recognize

I find it several days ago, when start quota on this server. Another
server with older RC1 work fine (but I don't use gstripe on this
host).
May be, some fresh commit broke your fix again and we haven't chances
for find it in March? I'm very wondering, what quota feature used so
rarely, as you say.

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: quota deadlock on 6.1-RC1

2006-05-02 Thread Dmitriy Kirhlarov
Hi!

On Tue, May 02, 2006 at 01:22:26PM -0400, Kris Kennaway wrote:
> > I think it's same problem as in thread "fsck_ufs locked in snaplk".
> > Is this problem fixed in fresh 6.1-PRE?
> 
> I think we've reproduced the problem, but it probably won't be fixed
> before the release.  Sorry, the bug reports came too late in the
> release cycle.

Imho, it's bad idea -- create release with so important bug. It's not
coda, unionfs or something else. It's very useful.
I think, postpone release for fix this issue -- more fine.

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


quota deadlock on 6.1-RC1

2006-05-02 Thread Dmitriy Kirhlarov
Hi, list

I install FreeBSD 6.1-RC1 (from 11 Apr). I use gstripe for /home
volume. Also, I use quota on this volume.

After 6-8 hours without activities I can't read any data from
filesystem -- ls, pwd and any other commands hanging.
But, when I run
cat < /dev/stripe/st0 > /dev/null
I can see disk activiti in
systat -vm

I think it's same problem as in thread "fsck_ufs locked in snaplk".
Is this problem fixed in fresh 6.1-PRE?

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


coda6

2006-04-29 Thread Dmitriy Kirhlarov
Hi, list.

I'm interested in coda6 on freebsd6, but I can't repair it, with my
professional skills. If somebody write patch I will test it with
pleasure.
I try kern/80031. This patch can't be apply and look like comitted (I
look in .rej files).

WBR
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: console on sioN (not 0), RELENG_6

2006-04-27 Thread Dmitriy Kirhlarov
On Thu, Apr 27, 2006 at 08:16:42PM +0400, Dmitry Morozovsky wrote:
> Colleagues,
> 
> what should I do to drift serial console from sio0 to sio4 on puc (alas, com1 
> is broken on given motherboard, and there is no com2)? Quick googling and 
> looking through the Handbook does not help much.

look like impossible.

handbook.
22.6.5.2 Using Serial Port Other Than sio0 for the Console

Edit /etc/make.conf and set BOOT_COMCONSOLE_PORT to the address of the
port you want to use (0x3F8, 0x2F8, 0x3E8 or 0x2E8). Only sio0 through
sio3 (COM1 through COM4) can be used; multiport serial cards will not
work. No interrupt setting is needed.

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: bruteforce

2006-04-11 Thread Dmitriy Kirhlarov
On Tue, Apr 11, 2006 at 10:58:48AM +0200, Matteo 'egon' Baldi wrote:
> Hy, I'm triing to find a solution to bruteforce attack, mostly on port 22, 
> without 
> moving services on different ports.

try to use
/usr/ports/security/sshit

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Command doesn't run from Crontab ?

2006-04-10 Thread Dmitriy Kirhlarov
On Tue, Apr 11, 2006 at 04:10:52PM +1000, Adrian wrote:
> Hi,
> 
> I have setup this command to run nightly via a crontab.  It works
> fine from the root shell  (tcsh) but doesn't seem to run from the
> crontab:
> 
> /bin/cp /etc/master.passwd /etc/master.passwd_backup_`/bin/date +%Y%m%d`
escape %
/bin/cp /etc/master.passwd /etc/master.passwd_backup_`/bin/date +\%Y\%m\%d`

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: serial console installation of 6.1-BETA4

2006-04-05 Thread Dmitriy Kirhlarov
On Wed, Apr 05, 2006 at 05:46:59PM +0200, Harti Brandt wrote:
> 
> 
> is the above supposed to work? I tried to follow what is written in the 
> installation 
> manual: unplugging the keyboard does nothing, booting with 'boot -h' gives me 
> all the 
> kernel's device probing messages on both the serial console and the normal 
> console, 
> but after 'mounting root from ...'
> sysinstall appears on the normal console.

loader.conf:
# serial console
boot_multicons="YES"
boot_serial="YES"
console="comconsole"

WBR
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Backups

2006-03-31 Thread Dmitriy Kirhlarov
On Fri, Mar 31, 2006 at 07:01:10PM +0100, Brian Doherty wrote:
> Firstly let me say that I'm not sure if this is the right list to post to,
> so if I am incorrect I apologise. Also if there is a better list for me to
> post to, please direct me to it.
> 
> I have built a redundant freeBSD box for my mail server, and for my
> webserver, and am putting the redundant boxes in a different geographic
> location. I am looking for a way to backup the relevant data on the current
> mail and webservers to the new redundant boxes every night. I could use scp
> and do a full backup every night but I remember hearing of a piece of bsd
> software that can compare the two file systems and just copy the changes.
> This would dramatically cut down on the traffic across the link between the
> machines.
> 
> Is there a tried and trusted method of doing this?

rsync, unison

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: New sysinstall in 6.1-PRE. make own release

2006-03-24 Thread Dmitriy Kirhlarov
On Fri, Mar 24, 2006 at 06:57:51PM +0200, Nikolay Pavlov wrote:
> On Friday, 24 March 2006 at 17:09:36 +0300, Dmitriy Kirhlarov wrote:
> > Hi, all
> > 
> > I need building my own install server and want install my custom
> > world, custom kernel and other in non-interactive mode.
> > With 6.1-beta3 it work in mass (I not try install my kernel).
> > With 6.1-beta4 and more fresh I can't get non-interactive
> > installation.
> > 
> > 1. I can't find how to select timezone non-interactive.
> 
> You can find your timezone file in /usr/share/zoneinfo directory and copy it
> to /etc/localtime file. Next if your CMOS clock is set to local time you
> need to create empty file /etc/wall_cmos_clock.

I mean automatic answer for sysinstall, for disabling dialog "Country
Selection".

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


New sysinstall in 6.1-PRE. make own release

2006-03-24 Thread Dmitriy Kirhlarov
Hi, all

I need building my own install server and want install my custom
world, custom kernel and other in non-interactive mode.
With 6.1-beta3 it work in mass (I not try install my kernel).
With 6.1-beta4 and more fresh I can't get non-interactive
installation.

1. I can't find how to select timezone non-interactive.
2. I can't good variant for installing my own kernel (now I use
command=/dist/my.custom.installer
system

/dist/my.custom.installer -- simple script:

#!/bin/sh

cd /dist/kernels
./install.sh OILSPACE1
rm -rf /boot/kernel
ln -s /boot/OILSPACE1 /boot/kernel

but it's hack.


Also I have question about making my own release.

I can't understand, how to create my own loader.conf for pxeboot.
Default not work -- machine panic with "no init" diagnose. Reason --
need string in loader.conf:
vfs.root.mountfrom="ufs:/dev/md0c"
(I need some another strings for my own loader.conf)

For creating release I use command:
make release BUILDNAME=6.1-PRERELEASE CHROOTDIR=/usr/release \
CVSROOT=/home/ncvs EXTSRCDIR=/usr/src KERNELS=OILSPACE1 \
LOCAL_PATCHES=/usr/src_local_patches NO_FLOPPIES=yes NO_ISOS=yes \
NODOC=yes NOPORTS=yes RELEASETAG=RELENG_6 KERNELS_BASE="OILSPACE1 \
GENERIC"

My local patches -- only new unionfs currently.
install.cfg I put in /usr/src/release directory.

Can anybody help me with auto-select timezone, right way for
installing kernel and place in source tree for PXE loader.conf?

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: nss_ldap problem

2006-03-05 Thread Dmitriy Kirhlarov
On Sat, Mar 04, 2006 at 02:29:44PM -0500, David Magda wrote:
> 
> On Mar 4, 2006, at 04:04, Frode Nordahl wrote:
> 
> >>/etc/nsswitch.conf
> >>group: ldap files
> >>hosts: files dns
> >>networks: files
> >>passwd: ldap files
> >>shells: files
> >>imap: ldap
> >
> >Why do you have "ldap" first? I would use "files ldap" in any case so local 
> >changes 
> >can override the directory.
> 
> And if there's an issue with the network, things will slow down to a crawl 
> when the 
> system is waiting for the LDAP server to respond (which it won't, so you're 
> waiting 
> for the time out to occur).

Using this params in /usr/local/etc/{nss_,}ldap.conf can help:
bind_timelimit 4
bind_policy soft
idle_timelimit 8

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


nss_ldap problem

2006-02-26 Thread Dmitriy Kirhlarov
I use nss_ldap-1.239 and nss_ldap-1.244 on 5.4 and 6.0
I have a problem -- login success only if {CRYPT} mechanism used in
ldap database. Other services, authenticated in ldap, work fine
(pam_ldap, apache auth for example).

My configs:
/etc/pam.d/system
# auth
authsufficient  pam_opie.so no_warn no_fake_prompts
authrequisite   pam_opieaccess.so   no_warn allow_local
authsufficient  /usr/local/lib/pam_ldap.so  no_warn 
try_first_pass
authrequiredpam_unix.so no_warn try_first_pass 
nullok
# account
account requiredpam_login_access.so
account required/usr/local/lib/pam_ldap.so  
ignore_authinfo_unavail ignore_unknown_user
account requiredpam_unix.so
# session
session required/usr/local/lib/pam_mkhomedir.so skel=/etc/skel 
umask=0077
session requiredpam_lastlog.so  no_fail
# password
passwordsufficient  /usr/local/lib/pam_ldap.so  use_authtok
passwordrequiredpam_unix.so no_warn try_first_pass

/etc/nsswitch.conf
group: ldap files
hosts: files dns
networks: files
passwd: ldap files
shells: files
imap: ldap

/usr/local/etc/ldap.conf
uri ldaps://fbsd
base ou=users,o=oil-space
ldap_version 3
scope one
pam_filter objectClass=posixAccount
pam_login_attribute uid
pam_password md5
nss_base_passwd ou=users,o=oil-space?one
nss_base_shadow ou=users,o=oil-space?one
nss_base_group ou=groups,o=oil-space?one
ssl on
tls_cacertfile /usr/local/etc/ssl/cacert.pem

uname -rs && ls -l /usr/local/etc/nss_ldap.conf && pkg_info -Ix nss_ldap -x 
pam_ldap
FreeBSD 5.4-STABLE
lrwxr-xr-x  1 root  wheel  24 Feb 22 16:41 /usr/local/etc/nss_ldap.conf -> 
/usr/local/etc/ldap.conf
nss_ldap-1.244  RFC 2307 NSS module
pam_ldap-1.8.0  A pam module for authenticating with LDAP

Is somebody have the same problems?

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:[EMAIL PROTECTED]
OILspace - The resource enriched - www.oilspace.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ata softraid rebuild problem

2005-10-19 Thread Dmitriy Kirhlarov
Hi, list

I find problem.

On Tue, Oct 18, 2005 at 11:37:32AM +0400, Dmitriy Kirhlarov wrote:
> I use ata soft RAID1 on FreeBSD 5.4-RELEASE-p5.
> Now my raid in degraded status and I can't rebuild it.
> 
> ---
> [EMAIL PROTECTED] 11:32$ sudo atacontrol list
> ATA channel 0:
> Master:  ad0  ATA/ATAPI revision 6
> Slave:   no device present
> ATA channel 1:
> Master: acd0  ATA/ATAPI revision 0
> Slave:   ad3  ATA/ATAPI revision 6
> 
> [EMAIL PROTECTED] 11:32$ sudo atacontrol status ar0
> ar0: ATA RAID1 subdisks: ad0 DOWN status: DEGRADED
> 
> [EMAIL PROTECTED] 11:32$ sudo atacontrol rebuild ar0
> 
> [EMAIL PROTECTED] 11:32$ sudo atacontrol status ar0
> ar0: ATA RAID1 subdisks: ad0 DOWN status: DEGRADED
> 
> [EMAIL PROTECTED] 11:32$ sudo atacontrol addspare ar0 ad0
> atacontrol: ioctl(ATARAIDADDSPARE): Device busy
> 
> [EMAIL PROTECTED] 11:33$ dmesg | head -3
> ad0: deleted from ar0 disk0
> ar0: ERROR - array broken
> ad0: WARNING - removed from configuration
> 
> [EMAIL PROTECTED] 11:36$ uname -rs
> FreeBSD 5.4-RELEASE-p5
> ---

[EMAIL PROTECTED] 15:09$ sudo grep -iE "(disk|ata).*(disk|ata)" 
/var/run/dmesg.boot 
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
ar0: 76319MB  [9729/255/63] status: DEGRADED subdisks:
 disk0 READY on ad0 at ata0-master
 disk1 DOWN no device found for this disk

I has DOWN ad3. Not ad0.
Is "atacontrol status" -- wrong?
Why he report "ad0 down"?

--
WBR
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ata softraid rebuild problem

2005-10-18 Thread Dmitriy Kirhlarov
Hi, list

I use ata soft RAID1 on FreeBSD 5.4-RELEASE-p5.
Now my raid in degraded status and I can't rebuild it.

---
[EMAIL PROTECTED] 11:32$ sudo atacontrol list
ATA channel 0:
Master:  ad0  ATA/ATAPI revision 6
Slave:   no device present
ATA channel 1:
Master: acd0  ATA/ATAPI revision 0
Slave:   ad3  ATA/ATAPI revision 6

[EMAIL PROTECTED] 11:32$ sudo atacontrol status ar0
ar0: ATA RAID1 subdisks: ad0 DOWN status: DEGRADED

[EMAIL PROTECTED] 11:32$ sudo atacontrol rebuild ar0

[EMAIL PROTECTED] 11:32$ sudo atacontrol status ar0
ar0: ATA RAID1 subdisks: ad0 DOWN status: DEGRADED

[EMAIL PROTECTED] 11:32$ sudo atacontrol addspare ar0 ad0
atacontrol: ioctl(ATARAIDADDSPARE): Device busy

[EMAIL PROTECTED] 11:33$ dmesg | head -3
ad0: deleted from ar0 disk0
ar0: ERROR - array broken
ad0: WARNING - removed from configuration

[EMAIL PROTECTED] 11:36$ uname -rs
FreeBSD 5.4-RELEASE-p5
---

How I can rebuild my raid?

--
WBR,
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ggatec+gmirror

2005-08-05 Thread Dmitriy Kirhlarov
Hi, all!

I can't use in my script this variant:
ggate=`sbin/ggatec ${ggatec_flags}`
/sbin/gmirror insert ${mirror} ${ggate}

I have to use:
/sbin/ggatec ${ggatec_flags} > /dev/null
ggate=`/sbin/ggatec list`
/sbin/gmirror insert ${mirror} ${ggate}

Think in $ggate I get father-process STDOUT, but device name return child 
STDOUT.
Is it correct behaviour?

$ uname -rs
FreeBSD 5.4-RELEASE-p5

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


nfs problem

2005-07-26 Thread Dmitriy Kirhlarov
Hi, list

I can't mount shared resource over nfs, when use alias on network interface:
$ sudo mount_nfs 192.168.2.3:/usr/local/cvsroot /var/cvsbackup
[udp] clh.cluster:/usr/local/cvsroot: NFSPROC_NULL: RPC: Timed out

My config:
$ cat /etc/exports 
/usr -alldirs -mapall=nobody

$ ifconfig rl0 
rl0: flags=8843 mtu 1500
options=8
inet 192.168.0.221 netmask 0xff00 broadcast 192.168.0.255
inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255
inet 192.168.2.3 netmask 0x broadcast 192.168.2.3
ether 00:00:5e:00:01:01
media: Ethernet autoselect (100baseTX )
status: active

Problem in the netmask. When I try 192.168.2.1 all work fine.
How I can fix the problem?

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: TinyBSD Call For Testers

2005-07-20 Thread Dmitriy Kirhlarov
Hi Igor!

On Tue, 19 Jul 2005, Igor Pokrovsky wrote:

> On Mon, Jul 18, 2005 at 03:17:52PM -0300, Jean Milanez Melo wrote:
> > Hello gentlemen,
> > 
> > In the last saturday a new port has been added under sysutils/ category, 
> > ports/sysutils/tinybsd. TinyBSD is a tool which was meant to allow an 
> > easy way to build embedded systems based on FreeBSD. It is based on 
> > userland copying, library dependencies check/copy and kernel build.
> 
> What's wrong with PicoBSD?

AFAIR, PicoBSD not maintable on FreeBSD 5 and higher.

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: carp run script

2005-06-16 Thread Dmitriy Kirhlarov
Hi Ivan!

On Thu, 16 Jun 2005, Ivan B. Serezhkin wrote:

> Dmitriy Kirhlarov wrote:
>
> >Hi, list
> >
> >How I can use CARP for failover?
> >I need run script from CARP, when machine status change from backup to
> >master?
> >
> >
> Try to use freevrrpd.

I try.
In my /var/log/messages I get:
kernel: carp_input: packet received on non-carp interface: rl1
kernel: carp_input: packet received on non-carp interface: rl0
kernel: carp_input: packet received on non-carp interface: rl1
kernel: carp_input: packet received on non-carp interface: rl0
kernel: carp_input: packet received on non-carp interface: rl1

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


carp run script

2005-06-15 Thread Dmitriy Kirhlarov
Hi, list

How I can use CARP for failover?
I need run script from CARP, when machine status change from backup to master?

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


autofs

2005-06-10 Thread Dmitriy Kirhlarov
Hi, list.

Why autofs was exclude from FreeBSD?

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Show stopper for large disks with 5.4-RELEASE

2005-06-08 Thread Dmitriy Kirhlarov
Hi Pierre!

On Wed, 08 Jun 2005, Pierre DAVID wrote:

> Do you have a clue to help us use FreeBSD and not switch on Linux
> for this service?

Bad workaround.
You can create many small partitions and mount_unionfs.

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gmirror over ggate{d,c}

2005-03-09 Thread Dmitriy Kirhlarov
Hi Pawel!

On Sat, 05 Mar 2005, Pawel Jakub Dawidek wrote:

> First of all, can you increase buffers:
> 
> net.inet.tcp.sendspace=4194304
> net.inet.tcp.recvspace=4194304
> kern.ipc.maxsockbuf=2097152
> 
> And run ggated and ggatec with '-R 1048576 -S 1048576'?

$ sudo sysctl net.inet.tcp.sendspace=4194304
net.inet.tcp.sendspace: 32768 -> 4194304
$ sudo sysctl net.inet.tcp.recvspace=4194304
net.inet.tcp.recvspace: 65536 -> 4194304
$ sudo sysctl kern.ipc.maxsockbuf=2097152
kern.ipc.maxsockbuf: 262144 -> 2097152
$ sudo ggated -R 1048576 -S 1048576

And get messages on console:

clh1 ggated: Can't open stream socket: No buffer space available.
Mar  9 18:43:17 clh1 ggated: Exiting.

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gmirror over ggate{d,c}

2005-03-05 Thread Dmitriy Kirhlarov
Hi Pawel!

On Fri, 04 Mar 2005, Dmitriy Kirhlarov wrote:

> After that clh0 is hanging -- keyboard work and I can ping machine, but can't 
> login:
> $ ssh -v clh0
> OpenSSH_3.6.1p1 FreeBSD-20030924, SSH protocols 1.5/2.0, OpenSSL 0x0090703f
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Rhosts Authentication disabled, originating port will not be trusted.
> debug1: Connecting to clh0.office.higis.ru [192.168.0.221] port 22.
> debug1: Connection established.
> debug1: identity file /home/dimma/.ssh/identity type -1
> debug1: identity file /home/dimma/.ssh/id_rsa type -1
> debug1: identity file /home/dimma/.ssh/id_dsa type -1
> 
> On the console:
> login: dimma
> Password:
> That's all -- no shell prompt.

after very long time I get panic:
panic: kmem_malloc(16384): kmem_map too small: 174034944 total allocated
cpuid = 0
Uptime: 1d4h5m17s

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gmirror over ggate{d,c}

2005-03-04 Thread Dmitriy Kirhlarov
Hi Pawel!

On Mon, 28 Feb 2005, Pawel Jakub Dawidek wrote:

> +> I trying create distributed mirror.
> +> 
> +> Machines interconnect 1Gbit.
> +> I exporting slice /dev/ar0s1g via ggated on first node.
> +> Import them via ggatec on second node.
> +> Include ggate0 in gmirrored slice data and run "gmirror rebuild".
> +> After some time I get messages on console:
> +> GEOM_MIRROR: Synchronization request failed (error=5). ggate0[WRITE(offse
> +> t=511442944, length=131072)]
> +> GEOM_MIRROR: Device data: provider ggate0 disconnected.
> +> GEOM_MIRROR: Device data: rebuilding provider ggate0 stopped.
> +> 
> +> First node -- 5.3-STABLE. Second -- 5.3-RELEASE.
> +> 
> +> Any ideas?
> +> May be some enhanced information needed?
> 
> Please set kern.geom.gate.debug sysctl to 1, rerun your test and send
> console output.

I importing device from clh1 to clh0 and mirroring data from clh1 device to 
clh0 device.

clh1 -- FreeBSD 5.3-RELEASE
ggated running

clh0 -- FreeBSD 5.3-STABLE
ggatec and gmirror running

On the clh1:
Mar  3 16:01:00 clh1 ggated: Error while receiving hdr packet: Connection reset 
by peer.
Mar  3 16:01:00 clh1 ggated: Exiting.

On the clh0:
GEOM_MIRROR: Device data: provider ar0s1g detected.
GEOM_MIRROR: Device data: rebuilding provider ar0s1g.
GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=34684698624, length=16384)]
GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=34684715008, length=16384)]
GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=34692628480, length=131072)]
GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=3469312, length=114688)]
GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=34693562368, length=131072)]
GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=34693971968, length=114688)]
GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=34696445952, length=131072)]
GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=34698330112, length=131072)]
GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=34698608640, length=131072)]
GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=34699100160, length=131072)]
GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=34699313152, length=131072)]
GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=34699460608, length=131072)]
GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=34699919360, length=131072)]
GEOM_GATE[1]: Request timeout. ggate0[WRITE(offset=34700263424, length=131072)]
GEOM_GATE[1]: Request timeout. ggate0[READ(offset=802684928, length=131072)]
GEOM_MIRROR: Request failed (error=5). ggate0[WRITE(offset=34684698624, 
length=16384)]
GEOM_MIRROR: Device data: provider ggate0 disconnected.
GEOM_MIRROR: Device data: provider mirror/data destroyed.
GEOM_MIRROR: Device data: rebuilding provider ar0s1g stopped.

After that clh0 is hanging -- keyboard work and I can ping machine, but can't 
login:
$ ssh -v clh0
OpenSSH_3.6.1p1 FreeBSD-20030924, SSH protocols 1.5/2.0, OpenSSL 0x0090703f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: Connecting to clh0.office.higis.ru [192.168.0.221] port 22.
debug1: Connection established.
debug1: identity file /home/dimma/.ssh/identity type -1
debug1: identity file /home/dimma/.ssh/id_rsa type -1
debug1: identity file /home/dimma/.ssh/id_dsa type -1

On the console:
login: dimma
Password:
That's all -- no shell prompt.

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


gmirror over ggate{d,c}

2005-02-25 Thread Dmitriy Kirhlarov
Hi!

I trying create distributed mirror.

Machines interconnect 1Gbit.
I exporting slice /dev/ar0s1g via ggated on first node.
Import them via ggatec on second node.
Include ggate0 in gmirrored slice data and run "gmirror rebuild".
After some time I get messages on console:
GEOM_MIRROR: Synchronization request failed (error=5). ggate0[WRITE(offse
t=511442944, length=131072)]
GEOM_MIRROR: Device data: provider ggate0 disconnected.
GEOM_MIRROR: Device data: rebuilding provider ggate0 stopped.

First node -- 5.3-STABLE. Second -- 5.3-RELEASE.

Any ideas?
May be some enhanced information needed?

By.
Dmitriy

By.
Dmitriy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"