WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] monitoring all xenstore 'traffic'

To: "Dietmar Hahn" <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] monitoring all xenstore 'traffic'
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Fri, 7 Nov 2008 21:35:21 +1100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 07 Nov 2008 02:36:35 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200811071122.28509.dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AEC6C66638C05B468B556EA548C1A77D0154FAFC@trantor> <200811071122.28509.dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclAwtZhiWVpQioYRgOzfvyM7UmXsQAASfEw
Thread-topic: [Xen-devel] monitoring all xenstore 'traffic'
> 
> You must set
> export XENSTORED_TRACE=1
> before starting xend. You can search for XENSTORED_TRACE in
/usr/bin/xend.
> Then a trace file /var/log/xen/xenstored-trace.log is written.
> You will see such lines:
> IN  0x516a70 20081010 08:20:33 GET_DOMAIN_PATH (1 )
> OUT 0x516a70 20081010 08:20:33 GET_DOMAIN_PATH (/local/domain/1 )
> IN  0x5373e0 20081010 08:20:33 READ (/local/domain/1/serial/0/ring-ref
)
> OUT 0x5373e0 20081010 08:20:33 ERROR (ENOENT )
> 

Should xend restart without any problems?
After restarting xend, xenstore-ls just says:

"
tool = ""
 xenstored = ""
vm = ""
Segmentation fault

Message from syslogd@bitvs2 at Fri Nov  7 21:33:34 2008 ...
bitvs2 kernel: invalid opcode: 0000 [3] SMP
"

And this is in dmesg:

"
----------- [cut here ] --------- [please bite here ] ---------
Kernel BUG at drivers/xen/xenbus/xenbus_dev.c:112
invalid opcode: 0000 [4] SMP
CPU 0
Modules linked in: iptable_filter ip_tables ipmi_poweroff ipmi_si
ipmi_devintf ipmi_msghandler tun tcp_diag inet_diag mptctl mptbase
xt_physdev x_tables ppdev parport_pc lp parport button ac battery ipv6
bridge fuse xen_scsibk eeprom sg 8021q netloop loop shpchp pci_hotplug
serial_core pcspkr i2c_nforce2 i2c_core st tsdev evdev xfs dm_mirror
dm_snapshot dm_mod raid1 md_mod ide_generic ide_cd cdrom sata_nv libata
usbhid cciss tg3 generic aic7xxx scsi_transport_spi scsi_mod amd74xx
ohci_hcd ehci_hcd ide_core fan
Pid: 17077, comm: xenstore-ls Not tainted 2.6.18-6-xen-amd64 #1
RIP: e030:[<ffffffff80369201>]  [<ffffffff80369201>]
queue_reply+0x61/0x93
RSP: e02b:ffff88000c9e9e88  EFLAGS: 00010206
RAX: 0000000000001248 RBX: ffff880035abc000 RCX: 0000000000001238
RDX: 0000000000001200 RSI: ffff880035abd239 RDI: ffff880018152048
RBP: ffff880018150000 R08: ffff880018152038 R09: 0000000000000000
R10: ffff880018150024 R11: ffff88003a218770 R12: ffff880018152048
R13: 0000000000001238 R14: ffff880018150024 R15: 0000000000602100
FS:  00002adefe772af0(0000) GS:ffffffff804c3000(0000)
knlGS:0000000000000000
CS:  e033 DS: 0000 ES: 0000
Process xenstore-ls (pid: 17077, threadinfo ffff88000c9e8000, task
ffff88003a218770)
Stack:  0000000000000001  0000000000000000  ffff880018150000
0000000000000001
 ffff880035abc000  ffffffff803695c5  ffff88003a218770  0000000000000004
 0000000000000000  0000000200000000
Call Trace:
 [<ffffffff803695c5>] xenbus_dev_write+0x18a/0x33f
 [<ffffffff80216ac9>] vfs_write+0xce/0x174
 [<ffffffff802172ec>] sys_write+0x45/0x6e
 [<ffffffff8025be4a>] system_call+0x86/0x8b
 [<ffffffff8025bdc4>] system_call+0x0/0x8b


Code: 0f 0b 68 2e e8 41 80 c2 70 00 4c 89 e7 e8 db 5c ef ff 41 58
RIP  [<ffffffff80369201>] queue_reply+0x61/0x93
 RSP <ffff88000c9e9e88>
"

Good thing I'm using my dev machine :)

Thanks

James


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel