From owner-freebsd-xen@FreeBSD.ORG Mon Sep 7 11:07:12 2009 Return-Path: Delivered-To: freebsd-xen@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80DB410656C0 for ; Mon, 7 Sep 2009 11:07:12 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6EEF78FC1C for ; Mon, 7 Sep 2009 11:07:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n87B7CFD010453 for ; Mon, 7 Sep 2009 11:07:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n87B7Bc1010449 for freebsd-xen@FreeBSD.org; Mon, 7 Sep 2009 11:07:11 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 7 Sep 2009 11:07:11 GMT Message-Id: <200909071107.n87B7Bc1010449@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-xen@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-xen@FreeBSD.org X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 11:07:12 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/136251 xen [xen] [patch] xn0 doesn't DHCP o kern/135421 xen [xen] FreeBSD Xen PVM DomU network failure - netfronc. o kern/135179 xen [xen] Xen domU does not properly reboot o kern/135178 xen [xen] Xen domU outgoing data transfer stall when TSO i o kern/135069 xen [xen] FreeBSD-current/Xen SMP doesn't function at all o kern/135008 xen [xen] FreeBSD-current/Xen timecounter jumps o kern/134926 xen [xen] [panic] FreeBSD-current Xen DomU networking pani 7 problems total. From owner-freebsd-xen@FreeBSD.ORG Sat Sep 12 06:37:02 2009 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 767591065672 for ; Sat, 12 Sep 2009 06:37:02 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by mx1.freebsd.org (Postfix) with ESMTP id 352F78FC19 for ; Sat, 12 Sep 2009 06:37:01 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id d14so670086and.13 for ; Fri, 11 Sep 2009 23:37:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=o5OyD2J5LHE7H5IwzVJdtnWazhwBOOIUJqejAjIe6Tc=; b=eboydeilQlITqidT8gSyHOhpSmRx5PubVaKTQIelT8x5ZFxWNMHC1GY3g38PQSzx7v M8pBGfOJBnC6vV8t/hoUfFBEAUXpqRduyjdwHfo50ZojLngv09FGtB2Al64YhbLneFQ3 ADKhV+S4oTa+oOJ2vzjeFcAjPUS1TqoGn1EG0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=aUhK67t6bVW07gSuF4eWiY7XWEy0dmxQ1bHL+fOJeFcYCZwyt1OgQw2K7XTj9BYMpm o9wnAKXch+tiQxqyPG/YXhUWd1ixJRDiI6Otbd71ZYEUiO5n2ufvsSnzgIx+t8C5kyoL 0PjQF6DU5wzpQezEFwI1eP95a8lREFHKrQMWk= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.101.194.8 with SMTP id w8mr4254772anp.190.1252735702436; Fri, 11 Sep 2009 23:08:22 -0700 (PDT) Date: Fri, 11 Sep 2009 23:08:22 -0700 X-Google-Sender-Auth: 911f08574fb6d515 Message-ID: <3c1674c90909112308u1778ce71ud1198236fe6a675a@mail.gmail.com> From: Kip Macy To: freebsd-xen Content-Type: text/plain; charset=ISO-8859-1 Subject: gdbserver-xen updates X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 06:37:02 -0000 In case you're not already familiar with it, gdbserver-xen is something I added to xen several years ago, it makes it possible to debug domU guests as if they were ordinary single or threaded processes (UP or SMP). You can find an updated patch for xen-3.3 and xen-3.4 at: http://people.freebsd.org/~kmacy/xen/ pandemonium is a linux xen host delirium is a freebsd system patch xen-3.3 (or xen-3.4) cd xen-3.3/tools make sudo -c make install cd ../debugger/gdb ./gdbbuild sudo -c cp gdb-6.8-linux-i386-xen/gdb/gdbserver/gdbserver-xen /usr/local/bin [root@pandemonium ~]# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 5093 4 r----- 281.0 ExampleDomain 1 3000 1 -b---- 39.5 [root@pandemonium kmacy]# ip addr show dev eth0 6: eth0: mtu 1500 qdisc noqueue link/ether 00:30:48:94:f5:62 brd ff:ff:ff:ff:ff:ff inet 192.168.1.152/16 brd 192.168.255.255 scope global eth0 inet6 fe80::230:48ff:fe94:f562/64 scope link valid_lft forever preferred_lft forever [root@pandemonium kmacy]# gdbserver-xen 192.168.1.152:5555 --attach 1 xc_ptrace(PTRACE_ATTACH, 1, 0, 0) Attached; pid = 1 Listening on port 5555 % gdb /usr/home/kmacy/svn_checkouts/objdir/i386/usr/home/kmacy/svn_checkouts/head_new/sys/XEN/kernel.debug GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... (gdb) target remote 192.168.1.152:5555 Remote debugging using 192.168.1.152:5555 [New Thread 1] 0xc003e3a7 in hypercall_page () at /usr/home/kmacy/svn_checkouts/head_new/sys/i386/xen/locore.s:249 249 /* At the end of our stack, we shall have free space - so store it */ warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. warning: shared library handler failed to enable breakpoint Current language: auto; currently asm (gdb) (gdb) bt #0 0xc003e3a7 in hypercall_page () at /usr/home/kmacy/svn_checkouts/head_new/sys/i386/xen/locore.s:249 #1 0xc032b5df in idle_block () at hypercall.h:189 #2 0xc0314ed7 in cpu_idle_hlt (busy=1) at /usr/home/kmacy/svn_checkouts/head_new/sys/i386/i386/machdep.c:1200 #3 0xc03142c2 in cpu_idle (busy=1) at /usr/home/kmacy/svn_checkouts/head_new/sys/i386/i386/machdep.c:1324 #4 0xc00f7d32 in sched_idletd (dummy=0x0) at /usr/home/kmacy/svn_checkouts/head_new/sys/kern/sched_ule.c:2562 #5 0xc00aeed8 in fork_exit (callout=0xc00f7ca0 , arg=0x0, frame=0xc5a4fd38) at /usr/home/kmacy/svn_checkouts/head_new/sys/kern/kern_fork.c:843 #6 0xc030f5b4 in fork_trampoline () at /usr/home/kmacy/svn_checkouts/head_new/sys/i386/xen/exception.s:271 (gdb) To debug from boot pass -p to xm create to pause at the first instruction. -- When harsh accusations depart too far from the truth, they leave bitter consequences. --Tacitus