From: Steven Smith Subject: Re: Freeze on boot pv domU 2.6.31 with Xen 4.1 Date: Wed, 2 Jun 2010 21:07:26 +0100 Message-ID: <20100602200725.GA5497@weybridge.uk.xensource.com> References: <4C0538E4.3050701@goop.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1698231495==" Return-path: In-Reply-To: <4C0538E4.3050701@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Steven Smith , "Eric Chanudet (Intern)" , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============1698231495== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rQ2U398070+RC21q" Content-Disposition: inline --rQ2U398070+RC21q Content-Type: multipart/mixed; boundary="zx4FCpZtqtKETZ7O" Content-Disposition: inline --zx4FCpZtqtKETZ7O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > > I upgraded Xen to the last revision on the repository (21446) and > > installed it. 2.6.31.13 kernel (branch xen/stable-2.6.31.x) do not > > hang at boot time anymore (I have a 2.6.31.13 kernel on both Dom0 and > > pv DomU). > > > > Netchannel2 is added (and appears in guest), nevertheless, I get a > > triple fault from Xen's kernel when I try to start a dhcp client on > > the netchannel2 interface. Here is the crash report on Xen's console : > nc2 is very untested, so it isn't surprising that you're having problems > with it. Steven, do you have any thoughts about this? Does the attached patch help? Steven. --zx4FCpZtqtKETZ7O Content-Type: text/x-diff; charset=us-ascii Content-Disposition: inline; filename="fix_nc2_forward_port.diff" Content-Transfer-Encoding: quoted-printable commit 49b5467d72943a4f257fb6b926bbdd47bfff230c Author: Steven Smith Date: Wed Jun 2 19:56:18 2010 +0100 Fix stupid use of integer offset as pointer. =20 Signed-off-by: Steven Smith diff --git a/drivers/net/xen-netchannel2/util.c b/drivers/net/xen-netchanne= l2/util.c index 0d242a4..e8c3118 100644 --- a/drivers/net/xen-netchannel2/util.c +++ b/drivers/net/xen-netchannel2/util.c @@ -142,7 +142,7 @@ void pull_through(struct sk_buff *skb, unsigned count) if (this_frag > count) this_frag =3D count; va =3D page_address(skb_shinfo(skb)->frags[frag].page); - buf =3D skb->tail; + buf =3D skb_tail_pointer(skb); memcpy(buf, va + skb_shinfo(skb)->frags[frag].page_offset, this_frag); skb->tail +=3D this_frag; --zx4FCpZtqtKETZ7O-- --rQ2U398070+RC21q Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFMBrn9vAgSWYI3DVMRAgXJAKCyMfJ7+DqPCGYDvXXHnfkjtyx70QCgl/f7 WsZ4K6ca59HZ7pLOOOyw1+U= =n4iF -----END PGP SIGNATURE----- --rQ2U398070+RC21q-- --===============1698231495== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1698231495==--