From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RQZgg-0000FY-Kz for garchives@archives.gentoo.org; Wed, 16 Nov 2011 07:13:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B615021C0F1; Wed, 16 Nov 2011 07:13:25 +0000 (UTC) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 2C83921C085 for ; Wed, 16 Nov 2011 07:11:53 +0000 (UTC) Received: by bkaq10 with SMTP id q10so220664bka.40 for ; Tue, 15 Nov 2011 23:11:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=4r1SxHjAwAYzV6BhUvcZKiHx+kE9amlTyGj2je7w6JA=; b=cFhmeEWrkYDu8C5FwSBuTKeeV8PoZx0d/jfcPAKattv3m2OIDbzzej3AIb40seTpLC ACUr4FTf60YUMua2LTXnXvt9izQproAFSd6zDH+4WMlpBrWLd2pE6awMWjP1tq3Wj4Ka Iqk/ub8lr02NQ7ubI1601iiGY6R1gbxiwmXM8= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.205.138.129 with SMTP id is1mr19986325bkc.120.1321427513319; Tue, 15 Nov 2011 23:11:53 -0800 (PST) Received: by 10.204.177.76 with HTTP; Tue, 15 Nov 2011 23:11:53 -0800 (PST) In-Reply-To: <4EC215DE.50202@st.com> References: <4EC215DE.50202@st.com> Date: Wed, 16 Nov 2011 02:11:53 -0500 Message-ID: Subject: Re: [gentoo-user] swapping processor problem From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 7dc05eb0-eeea-43f2-a5d8-13a3a0ef9af7 X-Archives-Hash: 0621d5f958a551981abd6aa954c9482e On Tue, Nov 15, 2011 at 2:33 AM, Raffaele BELARDI wrote: > I have two gentoo boxes, X has an ASUS M2NPV-VM with AMD64 3500+ CPU, Y > has a AMD64 X2 5600+ CPU. Since I need more juice on X I thought I could > swap CPUs. > > After updating X's BIOS the system with the 'new' CPU boots up to the > MythTv screen with no error but does not respond to the USB keyboard nor > to the remote control keypresses. More precisely: > > - keyboard is fine at grub boot, I can select up and down or edit the > entries > - keyboard is no longer responsive at the init scripts start (when you > can press 'I' to select services) > > My first thought was that X (and Y) WERE compiled with '-march=native' > GCC flag and maybe the 5600+ does not execute properly the 3500+ code. > But a quick search on wikipedia shows that 5600+ has a superset of the > 3500+ so I should have problems putting the 3500+ in the Y box, not > vice-versa. > > Any suggestions? Play with your BIOS settings. Look for things like legacy USB support. Also, double-check that all the relevant USB drivers (UHCI, EHCI, XHCI, HID, etc) are either built-into the kernel, or are loaded as modules. Consider rebuilding your kernel. Just because one processor has a superset of the instructions of the other doesn't mean there may not be other compatibilities. Some time back, a thread on here discussed how to find out what -march=native becomes, in terms of -march and a bunch of other parameters. I've noticed parameters like cache line sizes and cache sizes, among a couple others. I imagine a bungling of, e.g., cache line sizes could break code that has heavy dependency on data locality and/or memory models; it might have broken your USB drivers, for example. But, really, I think BIOS settings and driver presence are the more likely culprit. -- :wq