From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HqA87-0007gh-IG for qemu-devel@nongnu.org; Mon, 21 May 2007 11:49:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HqA85-0007fv-VJ for qemu-devel@nongnu.org; Mon, 21 May 2007 11:49:03 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HqA85-0007fl-LF for qemu-devel@nongnu.org; Mon, 21 May 2007 11:49:01 -0400 Received: from mail.windriver.com ([147.11.1.11] helo=mail.wrs.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HqA85-0001x5-2w for qemu-devel@nongnu.org; Mon, 21 May 2007 11:49:01 -0400 Received: from ALA-MAIL03.corp.ad.wrs.com (ala-mail03 [147.11.57.144]) by mail.wrs.com (8.13.6/8.13.6) with ESMTP id l4LFmwRk000967 for ; Mon, 21 May 2007 08:48:59 -0700 (PDT) Message-ID: <4651BF78.3000000@windriver.com> Date: Mon, 21 May 2007 10:49:12 -0500 From: Jason Wessel MIME-Version: 1.0 Subject: Re: [Qemu-devel] MIPS64 problem with ethernet References: <4651B40F.3000704@windriver.com> <4651BD4D.9020008@aurel32.net> In-Reply-To: <4651BD4D.9020008@aurel32.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Aurelien Jarno wrote: > Jason Wessel a =E9crit : > =20 >> The ethernet device does not come up correctly on a 64 MIPS target wit= h=20 >> a 64 bit kernel. >> =20 > > Which Ethernet card are you using? The pcnet one is working correctly > here. I am using a 2.6.21.1 kernel. > > =20 It works perfectly fine if I boot a 32bit kernel on the 64bit mips qemu=20 with the pcnet32. It is when I boot the 64bit kernel on the 64bit mips=20 qemu that I see the issue. The only difference I can see is the math=20 operations in the kcalloc() inline because the sizes are different in 32=20 vs 64 of course. I too was using a 2.6.21.1 kernel with mips.org=20 patches. Likely that I am using a different compiler though. Keeping=20 in mind that the same kernel 32bit and 64bit kernels works fine on real=20 hardware. Jason.