NetBSD Problem Report #44684

From www@NetBSD.org  Sat Mar  5 03:13:16 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id B800363B91F
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  5 Mar 2011 03:13:15 +0000 (UTC)
Message-Id: <20110305031314.EFC9063B907@www.NetBSD.org>
Date: Sat,  5 Mar 2011 03:13:14 +0000 (UTC)
From: gabberstudio@mail.ru
Reply-To: gabberstudio@mail.ru
To: gnats-bugs@NetBSD.org
Subject: xen problem, pf problem domu
X-Send-Pr-Version: www-1.0

>Number:         44684
>Category:       port-xen
>Synopsis:       xen problem, pf problem domu
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-xen-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 05 03:15:00 +0000 2011
>Closed-Date:    Sun Mar 06 13:58:55 +0000 2011
>Last-Modified:  Sun Mar 06 13:58:55 +0000 2011
>Originator:     Serg
>Release:        NetBSD 5.1 (XEN3PAE_DOM0)
>Organization:
>Environment:
NetBSD 5.1 (XEN3PAE_DOM0)
>Description:
NetBSD 5.1 pf domu Does not work
pfctl: /dev/pf: Device not configured

------and

brctl: not found
brctl: not found
/usr/pkg/lib/python2.6/site-packages/xen/xend/XendAPI.py:538: DeprecationWarning: object.__new__() takes no parameters
  return object.__new__(cls, *args, **kwds)
/usr/pkg/lib/python2.6/xmlrpclib.py:612: DeprecationWarning: The xmllib module is obsolete.  Use xml.sax instead.
  import xmllib # lazy subclassing (!)
Exception in thread XMLRPCServer:
Traceback (most recent call last):
  File "/usr/pkg/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/pkg/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/pkg/lib/python2.6/site-packages/xen/xend/server/XMLRPCServer.py", line 230, in run
    self.server.handle_request()
  File "/usr/pkg/lib/python2.6/SocketServer.py", line 264, in handle_request
    fd_sets = select.select([self], [], [], timeout)
error: (4, 'Interrupted system call')


---------and

xenbackendd[291]: Failed to read /local/domain/0/backend/console/23/0/script (No such file or directory)

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: port-xen-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
        netbsd-bugs@NetBSD.org
Subject: Re: port-xen/44684: xen problem, pf problem domu
Date: Sat, 5 Mar 2011 13:47:37 +0100

 On Sat, Mar 05, 2011 at 03:15:01AM +0000, gabberstudio@mail.ru wrote:
 > >Number:         44684
 > >Category:       port-xen
 > >Synopsis:       xen problem, pf problem domu
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       medium
 > >Responsible:    port-xen-maintainer
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Sat Mar 05 03:15:00 +0000 2011
 > >Originator:     Serg
 > >Release:        NetBSD 5.1 (XEN3PAE_DOM0)
 > >Organization:
 > >Environment:
 > NetBSD 5.1 (XEN3PAE_DOM0)
 > >Description:
 > NetBSD 5.1 pf domu Does not work
 > pfctl: /dev/pf: Device not configured

 Yes, pf(4) is not inclued in default Xen kernels. You have to rebuild your
 own kernel (or use ipf(4)).

 > 
 > ------and
 > 
 > brctl: not found
 > brctl: not found
 > /usr/pkg/lib/python2.6/site-packages/xen/xend/XendAPI.py:538: DeprecationWarning: object.__new__() takes no parameters
 >   return object.__new__(cls, *args, **kwds)
 > /usr/pkg/lib/python2.6/xmlrpclib.py:612: DeprecationWarning: The xmllib module is obsolete.  Use xml.sax instead.
 >   import xmllib # lazy subclassing (!)
 > Exception in thread XMLRPCServer:
 > Traceback (most recent call last):
 >   File "/usr/pkg/lib/python2.6/threading.py", line 532, in __bootstrap_inner
 >     self.run()
 >   File "/usr/pkg/lib/python2.6/threading.py", line 484, in run
 >     self.__target(*self.__args, **self.__kwargs)
 >   File "/usr/pkg/lib/python2.6/site-packages/xen/xend/server/XMLRPCServer.py", line 230, in run
 >     self.server.handle_request()
 >   File "/usr/pkg/lib/python2.6/SocketServer.py", line 264, in handle_request
 >     fd_sets = select.select([self], [], [], timeout)
 > error: (4, 'Interrupted system call')

 This is a different issue. Something timed out but from the log
 I can't guess what.

 > 
 > ---------and
 > 
 > xenbackendd[291]: Failed to read /local/domain/0/backend/console/23/0/script (No such file or directory)

 this is harmless.

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

From: gabberstudio <gabberstudio@mail.ru>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-xen/44684: xen problem, pf problem domu
Date: Sat, 5 Mar 2011 16:24:42 +0300

 The kernel gathered with support pf, the same problem
 P/S excuse me for my English, I use googletranslate

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: port-xen-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
        netbsd-bugs@NetBSD.org, gabberstudio@mail.ru
Subject: Re: port-xen/44684: xen problem, pf problem domu
Date: Sat, 5 Mar 2011 14:30:30 +0100

 On Sat, Mar 05, 2011 at 01:25:02PM +0000, gabberstudio wrote:
 > The following reply was made to PR port-xen/44684; it has been noted by GNATS.
 > 
 > From: gabberstudio <gabberstudio@mail.ru>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: port-xen/44684: xen problem, pf problem domu
 > Date: Sat, 5 Mar 2011 16:24:42 +0300
 > 
 >  The kernel gathered with support pf, the same problem
 >  P/S excuse me for my English, I use googletranslate

 you mean, you still see the "Device not configured" when running pfctl ?
 Can you send you kernel config file ?

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

From: gabberstudio <gabberstudio@mail.ru>
To: Manuel Bouyer <bouyer@antioche.eu.org>
Cc: 
Subject: Re: port-xen/44684: xen problem, pf problem domu
Date: Sun, 6 Mar 2011 11:58:58 +0300

 ÷ Sat, 5 Mar 2011 14:30:30 +0100
 Manuel Bouyer <bouyer@antioche.eu.org> ÐÉÛÅÔ:

 > you mean, you still see the "Device not configured" when running
 > pfctl ? Can you send you kernel config file ?


 So will be more correct

 	PF	
 nano /etc/rc.conf
 pf=YES
 pflogd=YES
 pflog_enable=YES

 and
 	KERNEL
 nano /usr/src/sys/arch/i386/conf/XEN3PAE_DOMU

 options 	PFIL_HOOKS	# pfil(9) packet filter hooks
 pseudo-device	pf		# PF packet filter
 pseudo-device	pflog		# PF log interface


 and
 	ALTQ ALL UNCOMENT

 config /usr/src/sys/arch/i386/conf/XEN3PAE_DOMU
 cd /usr/src/sys/arch/i386/compile/XEN3PAE_DOMU
 make depend && make && make install && make clean

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gabberstudio <gabberstudio@mail.ru>
Cc: gnats-bugs@netbsd.org
Subject: Re: port-xen/44684: xen problem, pf problem domu
Date: Sun, 6 Mar 2011 13:06:18 +0100

 On Sun, Mar 06, 2011 at 11:58:58AM +0300, gabberstudio wrote:
 > ? Sat, 5 Mar 2011 14:30:30 +0100
 > Manuel Bouyer <bouyer@antioche.eu.org> ?????:
 > 
 > > you mean, you still see the "Device not configured" when running
 > > pfctl ? Can you send you kernel config file ?
 > 
 > 
 > So will be more correct
 > 
 > 	PF	
 > nano /etc/rc.conf
 > pf=YES
 > pflogd=YES
 > pflog_enable=YES
 > 
 > and
 > 	KERNEL
 > nano /usr/src/sys/arch/i386/conf/XEN3PAE_DOMU

 in your original report you're talking about XEN3PAE_DOM0.
 Did you edit the right config file.
 please include the full uname -a output from the same machine
 you're running pfctl on.

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

From: gabberstudio <gabberstudio@mail.ru>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-xen/44684: xen problem, pf problem domu
Date: Sun, 6 Mar 2011 15:26:35 +0300

 ÷ Sun,  6 Mar 2011 12:10:05 +0000 (UTC)
 Manuel Bouyer <bouyer@antioche.eu.org> ÐÉÛÅÔ:

 > The following reply was made to PR port-xen/44684; it has been noted
 > by GNATS.
 > 
 > From: Manuel Bouyer <bouyer@antioche.eu.org>
 > To: gabberstudio <gabberstudio@mail.ru>
 > Cc: gnats-bugs@netbsd.org
 > Subject: Re: port-xen/44684: xen problem, pf problem domu
 > Date: Sun, 6 Mar 2011 13:06:18 +0100
 > 
 >  On Sun, Mar 06, 2011 at 11:58:58AM +0300, gabberstudio wrote:
 >  > ? Sat, 5 Mar 2011 14:30:30 +0100
 >  > Manuel Bouyer <bouyer@antioche.eu.org> ?????:
 >  > 
 >  > > you mean, you still see the "Device not configured" when running
 >  > > pfctl ? Can you send you kernel config file ?
 >  > 
 >  > 
 >  > So will be more correct
 >  > 
 >  > 	PF	
 >  > nano /etc/rc.conf
 >  > pf=YES
 >  > pflogd=YES
 >  > pflog_enable=YES
 >  > 
 >  > and
 >  > 	KERNEL
 >  > nano /usr/src/sys/arch/i386/conf/XEN3PAE_DOMU
 >  
 >  in your original report you're talking about XEN3PAE_DOM0.
 >  Did you edit the right config file.
 >  please include the full uname -a output from the same machine
 >  you're running pfctl on.
 >  
 >  -- 
 >  Manuel Bouyer <bouyer@antioche.eu.org>
 >       NetBSD: 26 ans d'experience feront toujours la difference
 >  --
 >  
 > 

 XEN3PAE_DOM0 The machine of problems has no.
 Problem by machine XEN3PAE_DOMU

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: port-xen-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
        netbsd-bugs@NetBSD.org, gabberstudio@mail.ru
Subject: Re: port-xen/44684: xen problem, pf problem domu
Date: Sun, 6 Mar 2011 13:33:42 +0100

 On Sun, Mar 06, 2011 at 12:30:04PM +0000, gabberstudio wrote:
 > The following reply was made to PR port-xen/44684; it has been noted by GNATS.
 > 
 > From: gabberstudio <gabberstudio@mail.ru>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: port-xen/44684: xen problem, pf problem domu
 > Date: Sun, 6 Mar 2011 15:26:35 +0300
 > 
 >  ÷ Sun,  6 Mar 2011 12:10:05 +0000 (UTC)
 >  Manuel Bouyer <bouyer@antioche.eu.org> ÐÉÛÅÔ:
 >  
 >  > The following reply was made to PR port-xen/44684; it has been noted
 >  > by GNATS.
 >  > 
 >  > From: Manuel Bouyer <bouyer@antioche.eu.org>
 >  > To: gabberstudio <gabberstudio@mail.ru>
 >  > Cc: gnats-bugs@netbsd.org
 >  > Subject: Re: port-xen/44684: xen problem, pf problem domu
 >  > Date: Sun, 6 Mar 2011 13:06:18 +0100
 >  > 
 >  >  On Sun, Mar 06, 2011 at 11:58:58AM +0300, gabberstudio wrote:
 >  >  > ? Sat, 5 Mar 2011 14:30:30 +0100
 >  >  > Manuel Bouyer <bouyer@antioche.eu.org> ?????:
 >  >  > 
 >  >  > > you mean, you still see the "Device not configured" when running
 >  >  > > pfctl ? Can you send you kernel config file ?
 >  >  > 
 >  >  > 
 >  >  > So will be more correct
 >  >  > 
 >  >  > 	PF	
 >  >  > nano /etc/rc.conf
 >  >  > pf=YES
 >  >  > pflogd=YES
 >  >  > pflog_enable=YES
 >  >  > 
 >  >  > and
 >  >  > 	KERNEL
 >  >  > nano /usr/src/sys/arch/i386/conf/XEN3PAE_DOMU
 >  >  
 >  >  in your original report you're talking about XEN3PAE_DOM0.
 >  >  Did you edit the right config file.
 >  >  please include the full uname -a output from the same machine
 >  >  you're running pfctl on.
 >  >  
 >  >  -- 
 >  >  Manuel Bouyer <bouyer@antioche.eu.org>
 >  >       NetBSD: 26 ans d'experience feront toujours la difference
 >  >  --
 >  >  
 >  > 
 >  
 >  XEN3PAE_DOM0 The machine of problems has no.

 OK; but your problem report mentionned XEN3PAE_DOM0 in "environnement",
 so this information was wrong.

 >  Problem by machine XEN3PAE_DOMU

 please post the output of "uname -a" on the domU then

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

From: gabberstudio <gabberstudio@mail.ru>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-xen/44684: xen problem, pf problem domu
Date: Sun, 6 Mar 2011 16:07:48 +0300

 ² Sun,  6 Mar 2011 12:35:02 +0000 (UTC)
 Manuel Bouyer <bouyer@antioche.eu.org> ßØèÕâ:

 > The following reply was made to PR port-xen/44684; it has been noted
 > by GNATS.
 > 
 > From: Manuel Bouyer <bouyer@antioche.eu.org>
 > To: gnats-bugs@NetBSD.org
 > Cc: port-xen-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
 >         netbsd-bugs@NetBSD.org, gabberstudio@mail.ru
 > Subject: Re: port-xen/44684: xen problem, pf problem domu
 > Date: Sun, 6 Mar 2011 13:33:42 +0100
 > 
 >  On Sun, Mar 06, 2011 at 12:30:04PM +0000, gabberstudio wrote:
 >  > The following reply was made to PR port-xen/44684; it has been
 >  > noted by GNATS.
 >  > 
 >  > From: gabberstudio <gabberstudio@mail.ru>
 >  > To: gnats-bugs@NetBSD.org
 >  > Cc: 
 >  > Subject: Re: port-xen/44684: xen problem, pf problem domu
 >  > Date: Sun, 6 Mar 2011 15:26:35 +0300
 >  > 
 >  >  ÷ Sun,  6 Mar 2011 12:10:05 +0000 (UTC)
 >  >  Manuel Bouyer <bouyer@antioche.eu.org> ÐÉÛÅÔ:
 >  >  
 >  >  > The following reply was made to PR port-xen/44684; it has been
 >  >  > noted by GNATS.
 >  >  > 
 >  >  > From: Manuel Bouyer <bouyer@antioche.eu.org>
 >  >  > To: gabberstudio <gabberstudio@mail.ru>
 >  >  > Cc: gnats-bugs@netbsd.org
 >  >  > Subject: Re: port-xen/44684: xen problem, pf problem domu
 >  >  > Date: Sun, 6 Mar 2011 13:06:18 +0100
 >  >  > 
 >  >  >  On Sun, Mar 06, 2011 at 11:58:58AM +0300, gabberstudio wrote:
 >  >  >  > ? Sat, 5 Mar 2011 14:30:30 +0100
 >  >  >  > Manuel Bouyer <bouyer@antioche.eu.org> ?????:
 >  >  >  > 
 >  >  >  > > you mean, you still see the "Device not configured" when
 >  >  >  > > running pfctl ? Can you send you kernel config file ?
 >  >  >  > 
 >  >  >  > 
 >  >  >  > So will be more correct
 >  >  >  > 
 >  >  >  > 	PF	
 >  >  >  > nano /etc/rc.conf
 >  >  >  > pf=YES
 >  >  >  > pflogd=YES
 >  >  >  > pflog_enable=YES
 >  >  >  > 
 >  >  >  > and
 >  >  >  > 	KERNEL
 >  >  >  > nano /usr/src/sys/arch/i386/conf/XEN3PAE_DOMU
 >  >  >  
 >  >  >  in your original report you're talking about XEN3PAE_DOM0.
 >  >  >  Did you edit the right config file.
 >  >  >  please include the full uname -a output from the same machine
 >  >  >  you're running pfctl on.
 >  >  >  
 >  >  >  -- 
 >  >  >  Manuel Bouyer <bouyer@antioche.eu.org>
 >  >  >       NetBSD: 26 ans d'experience feront toujours la difference
 >  >  >  --
 >  >  >  
 >  >  > 
 >  >  
 >  >  XEN3PAE_DOM0 The machine of problems has no.
 >  
 >  OK; but your problem report mentionned XEN3PAE_DOM0 in
 > "environnement", so this information was wrong.
 >  
 >  >  Problem by machine XEN3PAE_DOMU
 >  
 >  please post the output of "uname -a" on the domU then
 >  
 >  -- 
 >  Manuel Bouyer <bouyer@antioche.eu.org>
 >       NetBSD: 26 ans d'experience feront toujours la difference
 >  --
 >  
 > 

 OMG/// As I could so to be mistaken, excuse me for a panic.
 It was necessary to palm off a kernel in DOM0

From: gabberstudio <gabberstudio@mail.ru>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-xen/44684: xen problem, pf problem domu
Date: Sun, 6 Mar 2011 16:44:28 +0300

 Thanks for the help Manuel Bouyer !

State-Changed-From-To: open->closed
State-Changed-By: bouyer@NetBSD.org
State-Changed-When: Sun, 06 Mar 2011 13:58:55 +0000
State-Changed-Why:
pf(4) is not enabled by default in Xen kernels. Fixed by rebuilding
a kernel with pf(4) enabled.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.