Gentoo Archives: gentoo-user

From: Kevin O'Gorman <kogorman@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] kernel 2.6.25-r6 oddities; is this kernel really ready for stable?
Date: Wed, 23 Jul 2008 16:52:54
Message-Id: 9acccfe50807230952y795535cck52a8872d42b805c6@mail.gmail.com
1 I run gentoo x86 stable, so that I usually avoid this sort of thing.
2
3 This kernel, however, looks balky to me, because it's reporting
4 warnings and other oddities during compilation. I don't like warnings
5 at any time, and with the kernel's make wrappers cleaning up the
6 output they tend to stand out.
7
8 Here's what I get:
9 -- various type/attribute warnings
10 -- reports of deprecated elements
11 -- a report of "section mismatches", and instructions to use "make
12 CONFIG_DEBUG_SECTION_MISMATCH=y" to find details.
13
14 All that being said, the compilation completes, and I can boot it. I
15 don't know the cause, but I have been unable to get vmware-server
16 running on it, and I'm going back to the previous kernel for that
17 reason.
18
19 My .config is attached, as is the complete output of the above make command.
20
21 The details are
22
23 kernel/power/pm.c:203: warning: 'pm_register' is deprecated (declared
24 at kernel/power/pm.c:62)
25 kernel/power/pm.c:203: warning: 'pm_register' is deprecated (declared
26 at kernel/power/pm.c:62)
27 kernel/power/pm.c:204: warning: 'pm_send_all' is deprecated (declared
28 at kernel/power/pm.c:178)
29 kernel/power/pm.c:204: warning: 'pm_send_all' is deprecated (declared
30 at kernel/power/pm.c:178)
31 fs/cifs/dir.c: In function 'cifs_ci_compare':
32 fs/cifs/dir.c:583: warning: passing argument 1 of '__constant_memcpy'
33 discards qualifiers from pointer target type
34 fs/cifs/dir.c:583: warning: passing argument 1 of '__memcpy' discards
35 qualifiers from pointer target type
36 fs/partitions/check.c: In function 'add_partition':
37 fs/partitions/check.c:381: warning: ignoring return value of
38 'device_add', declared with attribute warn_unused_result
39 drivers/pci/search.c: In function 'pci_find_slot':
40 drivers/pci/search.c:135: warning: 'pci_find_device' is deprecated
41 (declared at include/linux/pci.h:506)
42 drivers/pci/search.c: At top level:
43 drivers/pci/search.c:478: warning: 'pci_find_device' is deprecated
44 (declared at drivers/pci/search.c:283)
45 drivers/pci/search.c:478: warning: 'pci_find_device' is deprecated
46 (declared at drivers/pci/search.c:283)
47 drivers/pci/search.c:479: warning: 'pci_find_slot' is deprecated
48 (declared at drivers/pci/search.c:132)
49 drivers/pci/search.c:479: warning: 'pci_find_slot' is deprecated
50 (declared at drivers/pci/search.c:132)
51
52 and the following (seen only with the make parameter quoted above):
53 WARNING: arch/x86/kernel/built-in.o(.cpuinit.text+0x29b9): Section
54 mismatch in reference from the function setup_trampoline() to the
55 variable .init.data:trampoline_end
56 The function __cpuinit setup_trampoline() references
57 a variable __initdata trampoline_end.
58 If trampoline_end is only used by setup_trampoline then
59 annotate trampoline_end with a matching annotation.
60
61 WARNING: arch/x86/kernel/built-in.o(.cpuinit.text+0x29be): Section
62 mismatch in reference from the function setup_trampoline() to the
63 variable .init.data:trampoline_data
64 The function __cpuinit setup_trampoline() references
65 a variable __initdata trampoline_data.
66 If trampoline_data is only used by setup_trampoline then
67 annotate trampoline_data with a matching annotation.
68
69 WARNING: drivers/serial/built-in.o(.data+0x2c8): Section mismatch in
70 reference from
71 the variable pci_serial_quirks to the function .devexit.text:pci_ite887x_exit()
72 The variable pci_serial_quirks references
73 the function __devexit pci_ite887x_exit()
74 If the reference is valid then annotate the
75 variable with __exit* (see linux/init.h) or name the variable:
76 *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
77
78 WARNING: drivers/serial/built-in.o(.data+0x2e4): Section mismatch in
79 reference from
80 the variable pci_serial_quirks to the function .devexit.text:pci_plx9050_exit()
81 The variable pci_serial_quirks references
82 the function __devexit pci_plx9050_exit()
83 If the reference is valid then annotate the
84 variable with __exit* (see linux/init.h) or name the variable:
85 *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
86
87 WARNING: drivers/serial/built-in.o(.data+0x300): Section mismatch in
88 reference from
89 the variable pci_serial_quirks to the function .devexit.text:pci_plx9050_exit()
90 The variable pci_serial_quirks references
91 the function __devexit pci_plx9050_exit()
92 If the reference is valid then annotate the
93 variable with __exit* (see linux/init.h) or name the variable:
94 *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
95
96 WARNING: drivers/serial/built-in.o(.data+0x338): Section mismatch in
97 reference from
98 the variable pci_serial_quirks to the function .devexit.text:pci_plx9050_exit()
99 The variable pci_serial_quirks references
100 the function __devexit pci_plx9050_exit()
101 If the reference is valid then annotate the
102 variable with __exit* (see linux/init.h) or name the variable:
103 *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
104
105 WARNING: drivers/serial/built-in.o(.data+0x38c): Section mismatch in
106 reference from the variable pci_serial_quirks to the function
107 .devexit.text:sbs_exit()
108 The variable pci_serial_quirks references
109 the function __devexit sbs_exit()
110 If the reference is valid then annotate the
111 variable with __exit* (see linux/init.h) or name the variable:
112 *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
113
114 WARNING: drivers/serial/built-in.o(.data+0x3a8): Section mismatch in
115 reference from the variable pci_serial_quirks to the function
116 .devexit.text:sbs_exit()
117 The variable pci_serial_quirks references
118 the function __devexit sbs_exit()
119 If the reference is valid then annotate the
120 variable with __exit* (see linux/init.h) or name the variable:
121 *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
122
123 WARNING: drivers/serial/built-in.o(.data+0x3c4): Section mismatch in
124 reference from the variable pci_serial_quirks to the function
125 .devexit.text:sbs_exit()
126 The variable pci_serial_quirks references
127 the function __devexit sbs_exit()
128 If the reference is valid then annotate the
129 variable with __exit* (see linux/init.h) or name the variable:
130 *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
131
132 WARNING: drivers/serial/built-in.o(.data+0x3e0): Section mismatch in
133 reference from the variable pci_serial_quirks to the function
134 .devexit.text:sbs_exit()
135 The variable pci_serial_quirks references
136 the function __devexit sbs_exit()
137 If the reference is valid then annotate the
138 variable with __exit* (see linux/init.h) or name the variable:
139 *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
140
141 WARNING: vmlinux.o(.cpuinit.text+0x2c5d): Section mismatch in
142 reference from the function setup_trampoline() to the variable
143 .init.data:trampoline_end
144 The function __cpuinit setup_trampoline() references
145 a variable __initdata trampoline_end.
146 If trampoline_end is only used by setup_trampoline then
147 annotate trampoline_end with a matching annotation.
148
149 WARNING: vmlinux.o(.cpuinit.text+0x2c62): Section mismatch in
150 reference from the function setup_trampoline() to the variable
151 .init.data:trampoline_data
152 The function __cpuinit setup_trampoline() references
153 a variable __initdata trampoline_data.
154 If trampoline_data is only used by setup_trampoline then
155 annotate trampoline_data with a matching annotation.
156
157 WARNING: vmlinux.o(.data+0x12c88): Section mismatch in reference from
158 the variable pci_serial_quirks to the function
159 .devexit.text:pci_ite887x_exit()
160 The variable pci_serial_quirks references
161 the function __devexit pci_ite887x_exit()
162 If the reference is valid then annotate the
163 variable with __exit* (see linux/init.h) or name the variable:
164 *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
165
166 WARNING: vmlinux.o(.data+0x12ca4): Section mismatch in reference from
167 the variable pci_serial_quirks to the function
168 .devexit.text:pci_plx9050_exit()
169 The variable pci_serial_quirks references
170 the function __devexit pci_plx9050_exit()
171 If the reference is valid then annotate the
172 variable with __exit* (see linux/init.h) or name the variable:
173 *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
174
175 WARNING: vmlinux.o(.data+0x12cc0): Section mismatch in reference from
176 the variable pci_serial_quirks to the function
177 .devexit.text:pci_plx9050_exit()
178 The variable pci_serial_quirks references
179 the function __devexit pci_plx9050_exit()
180 If the reference is valid then annotate the
181 variable with __exit* (see linux/init.h) or name the variable:
182 *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
183
184 WARNING: vmlinux.o(.data+0x12cf8): Section mismatch in reference from
185 the variable pci_serial_quirks to the function
186 .devexit.text:pci_plx9050_exit()
187 The variable pci_serial_quirks references
188 the function __devexit pci_plx9050_exit()
189 If the reference is valid then annotate the
190 variable with __exit* (see linux/init.h) or name the variable:
191 *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
192
193 WARNING: vmlinux.o(.data+0x12d14): Section mismatch in reference from
194 the variable pci_serial_quirks to the function
195 .devexit.text:pci_plx9050_exit()
196 The variable pci_serial_quirks references
197 the function __devexit pci_plx9050_exit()
198 If the reference is valid then annotate the
199 variable with __exit* (see linux/init.h) or name the variable:
200 *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
201
202 WARNING: vmlinux.o(.data+0x12d30): Section mismatch in reference from
203 the variable pci_serial_quirks to the function
204 .devexit.text:pci_plx9050_exit()
205 The variable pci_serial_quirks references
206 the function __devexit pci_plx9050_exit()
207 If the reference is valid then annotate the
208 variable with __exit* (see linux/init.h) or name the variable:
209 *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
210
211 WARNING: vmlinux.o(.data+0x12d4c): Section mismatch in reference from
212 the variable pci_serial_quirks to the function
213 .devexit.text:sbs_exit()
214 The variable pci_serial_quirks references
215 the function __devexit sbs_exit()
216 If the reference is valid then annotate the
217 variable with __exit* (see linux/init.h) or name the variable:
218 *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
219
220 WARNING: vmlinux.o(.data+0x12d68): Section mismatch in reference from
221 the variable pci_serial_quirks to the function
222 .devexit.text:sbs_exit()
223 The variable pci_serial_quirks references
224 the function __devexit sbs_exit()
225 If the reference is valid then annotate the
226 variable with __exit* (see linux/init.h) or name the variable:
227 *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
228
229 WARNING: vmlinux.o(.data+0x12d84): Section mismatch in reference from
230 the variable pci_serial_quirks to the function
231 .devexit.text:sbs_exit()
232 The variable pci_serial_quirks references
233 the function __devexit sbs_exit()
234 If the reference is valid then annotate the
235 variable with __exit* (see linux/init.h) or name the variable:
236 *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
237
238 WARNING: vmlinux.o(.data+0x12da0): Section mismatch in reference from
239 the variable pci_serial_quirks to the function
240 .devexit.text:sbs_exit()
241 The variable pci_serial_quirks references
242 the function __devexit sbs_exit()
243 If the reference is valid then annotate the
244 variable with __exit* (see linux/init.h) or name the variable:
245 *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
246
247
248
249
250 --
251 Kevin O'Gorman, PhD

Attachments

File name MIME type
.config application/octet-stream
debug.out application/octet-stream

Replies