From owner-freebsd-xen@FreeBSD.ORG Sun Jun 7 05:31:49 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 AEDC3106566C for ; Sun, 7 Jun 2009 05:31:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 61F9B8FC08 for ; Sun, 7 Jun 2009 05:31:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qyk3 with SMTP id 3so3444386qyk.3 for ; Sat, 06 Jun 2009 22:31:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=+xjVsjqlSko5sOMHF3A2iP6uwQty+bf6BV9wiesu890=; b=GZMHmk+mNuZ3UQPio++qa+t8BX/p4uxnZh8LfZaGp9RNxT77sXrAZH5rtN+84zUfJW yKJXfO6Mo+bUnx3XPklHNZBPirQfTbrYp//ErK8zMBUSjFdR18a9EEWgQr4kFmvshxYH j+eWbFKjJhgEJ+8EQYVamwqOdP+gVNvBJuJ0M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Lcx7iarJBi7Ek309sPRuKh3NK/0qMEe+w6LgxzCBWu2U/D1XMzNp9oTV7VOS9o+3rw 0pt/XPPrYD8w9LXXKceIU2/oXcwwvfk+EgpfHGqHtqLbJGgrEScee5k8jvRyOoKZACcZ C9grHEYWmFVzmcHHcSHe32y5A+8VC9/Hv3y8s= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.74.212 with SMTP id v20mr1172691qcj.16.1244352708577; Sat, 06 Jun 2009 22:31:48 -0700 (PDT) In-Reply-To: <4A2B4BDC.2020900@ruomad.net> References: <4A2864E1.40208@ruomad.net> <4A28A674.6020809@ruomad.net> <4A28AA18.3010808@ruomad.net> <4A2A962A.9050207@ruomad.net> <4A2B4412.8030704@ruomad.net> <4A2B4BDC.2020900@ruomad.net> Date: Sun, 7 Jun 2009 13:31:48 +0800 X-Google-Sender-Auth: 013ac27ea7e7de0e Message-ID: From: Adrian Chadd To: Bruno Damour Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org Subject: Re: freebsd on opensolaris dom0 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: Sun, 07 Jun 2009 05:31:49 -0000 I can't trigger this here with my Centos 5.3 domU. I have a feeling this may be related to the hypervisor/dom0 environment. Not to say it isn't a bug, it is just going to take me more time to try and figure out. I'll commit some more Xen tidyups to -current and build a new image for you. It'll still have the bug but it will at least include the local source changes I am trying out. That will make testing a bit easier on me. Thanks, Adrian 2009/6/7 Bruno Damour : > Adrian Chadd wrote: >> >> What, so fetching data from ftpd running on the xen domU to another >> LAN connected host? >> >> >>> >>> so the problem seems to come more from upload traffic than download ? >>> >> >> See, thats the sort of information I need to reproduce the problem. :) >> >> > > I enable a ftp on a local LAN host (not the dom0) and it confirms that = =A0ftp > get works whereas a ftp put command triggers an immediate crash : > > =A0 # ftp 192.168.0.103 > =A0 ftp: Unknown port `ftp', using port 21 > =A0 Connected to 192.168.0.103. > =A0 220 random FTP server ready. > =A0 Name (192.168.0.103): bruno > =A0 331 Password required for bruno. > =A0 Password: > =A0 230 User bruno logged in. > =A0 Remote system type is UNIX. > =A0 Using binary mode to transfer files. > =A0 ftp> get zaum_by_slbprod-2.6.sql > =A0 local: zaum_by_slbprod-2.6.sql remote: zaum_by_slbprod-2.6.sql > =A0 229 Entering Extended Passive Mode (|||14185|) > =A0 150 Opening BINARY mode data connection for zaum_by_slbprod-2.6.sql > =A0 (10514 bytes). > =A0 226 Transfer complete. > =A0 10514 bytes received in 00:00 (31.29 KB/s) > =A0 ftp> put foobar > =A0 local: foobar remote: foobar > =A0 229 Entering Extended Passive Mode (|||20050|) > =A0 150 Opening BINARY mode data connection for foobar. > =A0 Kernel page fault with the following non-sleepable locks held: > =A0 exclusive sleep mutex xennetif_tx (network transmit lock) r =3D 0 > =A0 (0xc39430a0) locked @ > > /home/adrian/work/freebsd/xen/svn/head/sys/dev/xen/netfront/netfront.c:11= 44 > =A0 KDB: stack backtrace: > =A0 X_db_sym_numargs(c03578d2,c3527ab4,c01166d5,c037b2c8,478,...) at > =A0 X_db_sym_numargs+0x146 > =A0 kdb_backtrace(c037b2c8,478,ffffffff,c050a9cc,c3527aec,...) at > =A0 kdb_backtrace+0x29 > =A0 witness_display_spinlock(c0359db5,c3527b00,4,1,0,...) at > =A0 witness_display_spinlock+0x75 > =A0 witness_warn(5,0,c0383c74,c3527b5c,c,...) at witness_warn+0x1fd > =A0 trap(c3527b88) at trap+0x13e > =A0 alltraps(c39430a0,0,c037b2c8,478,2,...) at alltraps+0x1b > =A0 xlvbd_add(c3943000,c3527cc8,c00c6924,c03ce780,c3782538,...) at > =A0 xlvbd_add+0x36b3 > =A0 intr_event_execute_handlers(c37087ec,c3782500,c034fbb5,4e9,c3782570,.= ..) > =A0 at intr_event_execute_handlers+0x125 > =A0 intr_event_add_handler(c3948140,c3527d38,c034f8e8,335,c37087ec,...) > =A0 at intr_event_add_handler+0x41f > =A0 fork_exit(c00afe50,c3948140,c3527d38) at fork_exit+0xb8 > =A0 fork_trampoline() at fork_trampoline+0x8 > =A0 --- trap 0, eip =3D 0, esp =3D 0xc3527d70, ebp =3D 0 --- > > > =A0 Fatal trap 12: page fault while in kernel mode > =A0 cpuid =3D 0; apic id =3D 00 > =A0 fault virtual address =A0 =3D 0x2 > =A0 fault code =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D supervisor read, page not p= resent > =A0 instruction pointer =A0 =A0 =3D 0x21:0xc02f719b > =A0 stack pointer =A0 =A0 =A0 =A0 =A0 =3D 0x29:0xc3527bc8 > =A0 frame pointer =A0 =A0 =A0 =A0 =A0 =3D 0x29:0xc3527bf8 > =A0 code segment =A0 =A0 =A0 =A0 =A0 =A0=3D base 0x0, limit 0xf9800, type= 0x1b > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D DPL 1, pres 1, de= f32 1, gran 1 > =A0 processor eflags =A0 =A0 =A0 =A0=3D interrupt enabled, resume, IOPL = =3D 0 > =A0 current process =A0 =A0 =A0 =A0 =3D 12 (irq135: xn) > =A0 [thread pid 12 tid 100024 ] > =A0 Stopped at =A0 =A0 =A0xlvbd_add+0x204b: =A0 =A0 =A0 cmpl =A0 =A0$0,0(= %edx) > =A0 db> bt =A0 Tracing pid 12 tid 100024 td 0xc3756d80 > =A0 xlvbd_add(c39430a0,0,c037b2c8,478,2,...) at xlvbd_add+0x204b > =A0 xlvbd_add(c3943000,c3527cc8,c00c6924,c03ce780,c3782538,...) at > =A0 xlvbd_add+0x36b3 > =A0 intr_event_execute_handlers(c37087ec,c3782500,c034fbb5,4e9,c3782570,.= ..) > =A0 at intr_event_execute_handlers+0x125 > =A0 intr_event_add_handler(c3948140,c3527d38,c034f8e8,335,c37087ec,...) > =A0 at intr_event_add_handler+0x41f > =A0 fork_exit(c00afe50,c3948140,c3527d38) at fork_exit+0xb8 > =A0 fork_trampoline() at fork_trampoline+0x8 > =A0 --- trap 0, eip =3D 0, esp =3D 0xc3527d70, ebp =3D 0 --- > =A0 db> > >