1 |
I don't have any problem with a normal kernel. |
2 |
|
3 |
Reverted back to the gentoo-sources which is the 2.4.26-gentoo-r9, works fine |
4 |
with the devicemapper. |
5 |
(mempool_alloc_slab included in ./include/linux/mempool.h) |
6 |
|
7 |
The problem with the gs-sources are that somehow it's patched for HA Cluster |
8 |
as well, there's where this mempool_alloc_slab comes from, and I haven't |
9 |
found any other reference to that one either in the 2.4.25_pre7-gss-r11 |
10 |
version. |
11 |
|
12 |
I'll stick to the gentoo-source, it doesn't have evms which I wanted to try |
13 |
out but still fullfilles all my other requirements. |
14 |
|
15 |
--Robert |
16 |
|
17 |
On Thursday 16 September 2004 03:14, Chris Smart wrote: |
18 |
> On Thu, 16 Sep 2004 01:57 am, Linux wrote: |
19 |
> > Thanks for the tip Martin |
20 |
> > |
21 |
> > Had forgotten that part of mrproper, but it didn't help so I unmerged the |
22 |
> > gs-sources and removed the kernel directory and reinstalled it |
23 |
> > completely. |
24 |
> > |
25 |
> > But it still doesn't compile properly.... Still getting the same error... |
26 |
> > Any other good advices |
27 |
> > |
28 |
> > -- Problem part -- |
29 |
> > make dep && make bzImage |
30 |
> > I'll get an error in compiling |
31 |
> > dm.c: In function 'alloc_md': |
32 |
> > dm.c:785: error: 'mempool_alloc_slab' undeclared (first use in this |
33 |
> > function) ... |
34 |
> > dm.c:786: error: 'mempool_free_slab' undeclared (first use in this |
35 |
> > function) |
36 |
> > |
37 |
> > --Robert |
38 |
> |
39 |
> Hey Robert, |
40 |
> |
41 |
> I recently setup Raid5 and LVM on my new dual opteron server. |
42 |
> |
43 |
> Can you use a 2.6 kernel? Or do you need to use gs-sources? |
44 |
> |
45 |
> One thing I found handy was to build a vanilla kernel, to get the system |
46 |
> booting and iron out bugs (also good as a backup kernel if something goes |
47 |
> wrong) then try and configure the kernel I want once the system is happy. |
48 |
> |
49 |
> Chris. |
50 |
> |
51 |
> > On Wednesday 15 September 2004 10:33, Martin Hajduch wrote: |
52 |
> > > just a stupid one: |
53 |
> > > |
54 |
> > > if you have compiled it couple of times before with different options, |
55 |
> > > then try this: |
56 |
> > > |
57 |
> > > backup .config |
58 |
> > > make mrproper |
59 |
> > > restore config |
60 |
> > > |
61 |
> > > compile again |