Gentoo Archives: gentoo-user

From: Francisco Ares <frares@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] (sort of) strange things after upgrading the kernel
Date: Sun, 14 Oct 2012 13:38:30
Message-Id: CAHH9eM5gLNKic-FAvHubsM4HG5noAR0CQ5kuJhrcgttSL_6axg@mail.gmail.com
In Reply to: Re: [gentoo-user] [OT] (sort of) strange things after upgrading the kernel by Dale
1 2012/10/13 Dale <rdalek1967@×××××.com>
2
3 > Francisco Ares wrote:
4 >
5 >
6 > 2012/10/12 Dale <rdalek1967@×××××.com>
7 >
8 >> Francisco Ares wrote:
9 >> >
10 >> >
11 >> > Thanks for your reply, Dale.
12 >> >
13 >> > Yes, everything works as expected when using the old kernel.
14 >> >
15 >> > I decided to re-emerge some base libraries, and nothing worked, until
16 >> > I remembered to re-emerge udev. After the build, it announced two
17 >> > wrong lines in the new kernel "config" file:
18 >> >
19 >> > CONFIG_SYSFS_DEPRECATED=y
20 >> > CONFIG_SYSFS_DEPRECATED_V2=y
21 >> >
22 >> > After correcting them and building the kernel again, now everything is
23 >> > back to normal.
24 >> >
25 >> > Thanks again
26 >> > Francisco
27 >> >
28 >> >
29 >> > --
30 >> > "If you have an apple and I have an apple and we exchange apples then
31 >> > you and I will still each have one apple. But if you have an idea and
32 >> > I have one idea and we exchange these ideas, then each of us will have
33 >> > two ideas." - George Bernard Shaw
34 >>
35 >>
36 >> Do you use oldconfig or build each one from scratch? I use oldconfig so
37 >> that I at least have what I know works. It's just a matter of if I need
38 >> anything new enabled. Some claim oldconfig shouldn't be used but I have
39 >> only had it to fail once in the last 10 years or so. Most everyone I
40 >> know of uses oldconfig.
41 >>
42 >> Glad you got it going tho.
43 >>
44 >> Dale
45 >>
46 >> :-) :-)
47 >>
48 >> --
49 >> I am only responsible for what I said ... Not for what you understood or
50 >> how you interpreted my words!
51 >>
52 >>
53 >>
54 >
55 > I normally also use oldconfig. I think there might be a reason for it to
56 > be around. But this time I didn't, because the old kernel was version
57 > 2.6.39 and I thought oldconfig would mess things up more than help on the
58 > new 3.4.9. Don't know how right or wrong is this assumption, though.
59 >
60 > I just was lazy to upgrade the kernel, as it takes an hour or so to check
61 > most of menucofig.
62 >
63 > Francisco
64 >
65 >
66 > I would have tried it but that is a LOT of updates. It may be faster to
67 > start from scratch in that case. I know a few years ago there was some
68 > changes that kept oldconfig from working as it should. That was the only
69 > time it failed me but I do upgrade more often to avoid this sort of thing.
70 > I try to upgrade every couple months. Now if I have long uptimes, I may
71 > not actually ever use that kernel but I have a config file to copy over
72 > that is a bit more up to date.
73 >
74 > I would suggest printing or something the output of the following: lspci
75 > -k That tells you what you need for your hardware, that is of course from
76 > a kernel where all your hardware works. There may be some specific things
77 > for certain software that is needed but at least you can boot up and have a
78 > system to work with. I usually leave the rest to defaults unless I am sure
79 > there is something I don't need.
80 >
81 > Glad you got it sorted out and working tho.
82 >
83 > Dale
84 >
85 > :-) :-)
86 >
87 > --
88 > I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
89 >
90 >
91
92 Hi, Dale
93
94 As my old kernel is from the 2.6 series and the new is from the 3.4, I
95 decided to do a "menuconfig" from scratch. I do use "lspci" and also I
96 always build the kernel allowing "/proc/config.gz", so it is easy to get
97 exactly what is working, although I keep my own bacup copies of ".config",
98 for future references. When I am building a kernel, I use to open the
99 latest ".config" in a separate console, for reference. That has kept me of
100 forgetting plenty of details.
101
102 Thanks
103 Francisco
104 --
105 "If you have an apple and I have an apple and we exchange apples then you
106 and I will still each have one apple. But if you have an idea and I have
107 one idea and we exchange these ideas, then each of us will have two ideas."
108 - George Bernard Shaw

Replies

Subject Author
Re: [gentoo-user] [OT] (sort of) strange things after upgrading the kernel Dale <rdalek1967@×××××.com>