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 1NpHo8-0003e4-7e for garchives@archives.gentoo.org; Wed, 10 Mar 2010 09:02:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 381BEE0C37; Wed, 10 Mar 2010 09:02:04 +0000 (UTC) Received: from mail-px0-f201.google.com (mail-px0-f201.google.com [209.85.216.201]) by pigeon.gentoo.org (Postfix) with ESMTP id E84AEE0C37 for ; Wed, 10 Mar 2010 09:02:03 +0000 (UTC) Received: by pxi39 with SMTP id 39so1435353pxi.2 for ; Wed, 10 Mar 2010 01:02:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=fvhPkGLOV72t3Jh+plLQoD09whdKZYJ1Afk/VafhbUI=; b=IqtCmMRWi2jZGv3mEjzgjYP+lj+mBaxp79tO7iQ1mBxVyg5Z39wOE7uIja361pWDy1 O5hc5TwRavSakJT1ujrbtx0Nc+l9zZHFtYo4/pS81wdkyo86iCyaBQFiyO0bdkSQhkvd V9/TSqB2bkkFd20mHgJck5l2r4ArED9JLvDwE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=WLxHZOPHgSlSLwBoJC5Qij6EevlVyVr2kxOIKLz8CboexnnZPVxsTTrqAV9gOHy0r9 /2hGh8aPDkoDPe8g7Wqe14qBRQRbmaiWHpPWcXZ0Zz6JssHDlTPLan7WUUdm7mdb3L7Y rqvBjzd2E7twMbbekrNYMK1YDwIOBDxnKZjYM= 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.115.64.5 with SMTP id r5mr697419wak.183.1268211723402; Wed, 10 Mar 2010 01:02:03 -0800 (PST) In-Reply-To: <20100310013650.GA6034@waltdnes.org> References: <20100310013650.GA6034@waltdnes.org> Date: Wed, 10 Mar 2010 01:02:03 -0800 Message-ID: Subject: Re: [gentoo-user] Problem with "make oldconfig" 2.6.30-8 ==> 2.6.31 From: Kaddeh To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=0016e64cc51c45fcd304816e8d20 X-Archives-Salt: 866dd24a-531a-4c5e-90ec-ba7923524661 X-Archives-Hash: 9ba15d374911df3ccd47a16a3e86d9e0 --0016e64cc51c45fcd304816e8d20 Content-Type: text/plain; charset=ISO-8859-1 Walter, I'd advise going back through and running a "make menuconfig" on 2.6.31-r6/10 and verify that everything is in order. The reason that I say this is that, in the event that your kernel -DID- revert back to defaults, if you have a non-ext2/3 partition, it isn't going t recognize it (EXT4, Reiserfs3.6/4, etc aren't "default" options). As for the warnings that you are talking about, those have existed for a while, they are obviously non-fatal and not really pertinent to your issue at hand. Cheers Kad On Tue, Mar 9, 2010 at 5:36 PM, Walter Dnes wrote: > Today is when running a lilo menu with "production" and "experimental" > kernels saved me. "production" is 2.6.30-r8. "experimental" is > 2.6.31-r6 or 2.6.31-r10 (same problems with either one). I set > /usr/src/linux to point at 2.6.31-r6 (or 10), copied .config from > 2.6.30-r8 and ran "make oldconfig". I got the warnings listed below > before the config process started. "make oldconfig" appears to have > reset to default values, and it was showing me some settings totally the > opposite of what I know I've set. When I ran through "make oldconfig", > compiled and rebooted, I got a framebuffer console, which I *KNOW* I > haven't selected. And there was a kernel panic because gentoo couldn't > find the boot device. > > I'm enough of a bit-twiddler that I can set up the kernel manually. > But I know from past experience that it's a long slow process. Is > there any trick to salvage "make oldconfig", before I resort to setting > up the kernel "the hard way"? Here's the output from "make oldconfig" > up to where it starts asking questions... > > > [d531][root][/usr/src/linux] make oldconfig > HOSTCC scripts/basic/fixdep > HOSTCC scripts/basic/docproc > HOSTCC scripts/basic/hash > HOSTCC scripts/kconfig/conf.o > scripts/kconfig/conf.c: In function 'conf_askvalue': > scripts/kconfig/conf.c:105: warning: ignoring return value of 'fgets', > declared with attribute warn_unused_result > scripts/kconfig/conf.c: In function 'conf_choice': > scripts/kconfig/conf.c:307: warning: ignoring return value of 'fgets', > declared with attribute warn_unused_result > HOSTCC scripts/kconfig/kxgettext.o > SHIPPED scripts/kconfig/zconf.tab.c > SHIPPED scripts/kconfig/lex.zconf.c > SHIPPED scripts/kconfig/zconf.hash.c > HOSTCC scripts/kconfig/zconf.tab.o > In file included from scripts/kconfig/zconf.tab.c:2486: > scripts/kconfig/confdata.c: In function 'conf_write': > scripts/kconfig/confdata.c:508: warning: ignoring return value of 'fwrite', > declared with attribute warn_unused_result > scripts/kconfig/confdata.c: In function 'conf_write_autoconf': > scripts/kconfig/confdata.c:745: warning: ignoring return value of 'fwrite', > declared with attribute warn_unused_result > scripts/kconfig/confdata.c:746: warning: ignoring return value of 'fwrite', > declared with attribute warn_unused_result > In file included from scripts/kconfig/zconf.tab.c:2487: > scripts/kconfig/expr.c: In function 'expr_print_file_helper': > scripts/kconfig/expr.c:1090: warning: ignoring return value of 'fwrite', > declared with attribute warn_unused_result > HOSTLD scripts/kconfig/conf > scripts/kconfig/conf -o arch/x86/Kconfig > * > * Restart config... > * > * > * Performance Counters > * > Kernel Performance Counters (PERF_COUNTERS) [N/y/?] (NEW) > > > -- > Walter Dnes > > --0016e64cc51c45fcd304816e8d20 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Walter,

I'd advise going back through and running a "make m= enuconfig" on 2.6.31-r6/10 and verify that everything is in order.
= The reason that I say this is that, in the event that your kernel -DID- rev= ert back to defaults, if you have a non-ext2/3 partition, it isn't goin= g t recognize it (EXT4, Reiserfs3.6/4, etc aren't "default" o= ptions).
As for the warnings that you are talking about, those have existed for a wh= ile, they are obviously non-fatal and not really pertinent to your issue at= hand.

Cheers

Kad

On Tue, M= ar 9, 2010 at 5:36 PM, Walter Dnes <waltdnes@waltdnes.org> wrote:
=A0Today is when= running a lilo menu with "production" and "experimental&quo= t;
kernels saved me. =A0"production" is 2.6.30-r8. =A0"experime= ntal" is
2.6.31-r6 or 2.6.31-r10 (same problems with either one). =A0I set
/usr/src/linux to point at 2.6.31-r6 (or 10), copied .config from
2.6.30-r8 and ran "make oldconfig". =A0I got the warnings listed = below
before the config process started. =A0"make oldconfig" appears to= have
reset to default values, and it was showing me some settings totally the opposite of what I know I've set. =A0When I ran through "make oldc= onfig",
compiled and rebooted, I got a framebuffer console, which I *KNOW* I
haven't selected. =A0And there was a kernel panic because gentoo couldn= 't
find the boot device.

=A0I'm enough of a bit-twiddler that I can set up the kernel manually.=
But I know from past experience that it's a long slow process. =A0Is there any trick to salvage "make oldconfig", before I resort to s= etting
up the kernel "the hard way"? =A0Here's the output from "= ;make oldconfig"
up to where it starts asking questions...


[d531][root][/usr/src/linux] make oldconfig
=A0HOSTCC =A0scripts/basic/fixdep
=A0HOSTCC =A0scripts/basic/docproc
=A0HOSTCC =A0scripts/basic/hash
=A0HOSTCC =A0scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function 'conf_askvalue':
scripts/kconfig/conf.c:105: warning: ignoring return value of 'fgets= 9;, declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function 'conf_choice':
scripts/kconfig/conf.c:307: warning: ignoring return value of 'fgets= 9;, declared with attribute warn_unused_result
=A0HOSTCC =A0scripts/kconfig/kxgettext.o
=A0SHIPPED scripts/kconfig/zconf.tab.c
=A0SHIPPED scripts/kconfig/lex.zconf.c
=A0SHIPPED scripts/kconfig/zconf.hash.c
=A0HOSTCC =A0scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2486:
scripts/kconfig/confdata.c: In function 'conf_write':
scripts/kconfig/confdata.c:508: warning: ignoring return value of 'fwri= te', declared with attribute warn_unused_result
scripts/kconfig/confdata.c: In function 'conf_write_autoconf':
scripts/kconfig/confdata.c:745: warning: ignoring return value of 'fwri= te', declared with attribute warn_unused_result
scripts/kconfig/confdata.c:746: warning: ignoring return value of 'fwri= te', declared with attribute warn_unused_result
In file included from scripts/kconfig/zconf.tab.c:2487:
scripts/kconfig/expr.c: In function 'expr_print_file_helper':
scripts/kconfig/expr.c:1090: warning: ignoring return value of 'fwrite&= #39;, declared with attribute warn_unused_result
=A0HOSTLD =A0scripts/kconfig/conf
scripts/kconfig/conf -o arch/x86/Kconfig
*
* Restart config...
*
*
* Performance Counters
*
Kernel Performance Counters (PERF_COUNTERS) [N/y/?] (NEW)


--
Walter Dnes <waltdnes@waltdnes.= org>


--0016e64cc51c45fcd304816e8d20--