1 |
did you build the gcloop.o module with: |
2 |
|
3 |
make KERNEL_DIR=pathtomycustomppckernelsource |
4 |
|
5 |
gcloop and cloop are two different things. Gcloop 0.66.3 and 0.66.2 are |
6 |
incompatible. livecd.gcloop on the rc6 and rc5 cds were build using |
7 |
gcloop 0.66.3. gcloop needs to be compiled against the kernel version |
8 |
you are going to insmod the module in. (otherwise it builds against |
9 |
/usr/src/linux ) |
10 |
|
11 |
You need to build the gcloop 0.66.3 against your kernel source (dunno |
12 |
if cross compilation is going to work - imho that's what complicating |
13 |
things). I've used 2.4.20-benh-r10 on the latest livecd. |
14 |
(ppc-sources-2.4.20-r4). The linuxrc in the initrd insmods |
15 |
/lib/modules/misc/gcloop.o - place your custom gcloop.o module there. |
16 |
|
17 |
On Tuesday, April 15, 2003, at 06:56 PM, Andrew Gaffney wrote: |
18 |
|
19 |
> I am banging my head against the wall in frustration on this one. I |
20 |
> built a NuBus kernel that actually booted (Yea!) but the gcloop.o |
21 |
> module on the LiveCD will not load. It craps out with a bunch of |
22 |
> dependency errors. Ok, so I tried building the gcloop.o module on my |
23 |
> x86 gentoo box to extract the files. Can't compile 0.66.2 or 0.66.3 |
24 |
> against kernel 2.4.20 or 2.5.67. Okay, fine. So I try just cloop.o. I |
25 |
> can build that against my 2.4.20 kernel sources. So I do. I reboot |
26 |
> with my 2.4.20 kernel and load the module with the PPC LiveCD |
27 |
> live.gcloop file as an argument. When I try to mount /dev/cloop/0 I |
28 |
> get all kinds of errors. Yes, I specified '-t ext2'. I was going to |
29 |
> extract the files and put them in a regular ISO and modify the LiveCD |
30 |
> slightly to be used with my custom kernel. Well, it looks like that's |
31 |
> out now too. What do I do?! |
32 |
> |
33 |
> Pieter Van den Abeele wrote: |
34 |
>> source is on http://cvs.gentoo.org/~lu_zero |
35 |
>> the source used to build the ppc livecd: |
36 |
>> http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-src/pvdabeel/ |
37 |
>> ppclivecd/files/cloop/ |
38 |
>> On Tuesday, April 15, 2003, at 04:49 PM, Andrew Gaffney wrote: |
39 |
>>> Where can I get the source for the gcloop.o module? I got a working |
40 |
>>> kernel but it can't load the pre-built module from the livecd |
41 |
>>> |
42 |
>>> Pieter Van den Abeele wrote: |
43 |
>>> |
44 |
>>>> On Mon, 14 Apr 2003, Andrew Gaffney wrote: |
45 |
>>>> |
46 |
>>>>> I just joined this list, so I don't know if this subject has been |
47 |
>>>>> covered before. I have a PowerMac 6100/60. Unfortunately, its |
48 |
>>>>> pre-PCI, |
49 |
>>>>> so its *cringe* NuBus. Well, I'm currently running YellowDog Linux |
50 |
>>>>> 2.1 |
51 |
>>>>> on it using a custom kernel patched with support for NuBus that i |
52 |
>>>>> cross |
53 |
>>>>> compiled from one of my x86 boxes. Can this same thing be done |
54 |
>>>>> with Gentoo? |
55 |
>>>>> I was skimming the PPC Install doc and it said something about |
56 |
>>>>> auto-probing PCI hardware, which if I'm not mistaken, would cause |
57 |
>>>>> the |
58 |
>>>>> box to lock up. So, even if I compiled a custom kernel, would I get |
59 |
>>>>> caught here trying to install? |
60 |
>>>> |
61 |
>>>> With the old 1.2 cd probably not. The newest ppc livecd is probably |
62 |
>>>> what |
63 |
>>>> you're looking for. Just replace the kernel, boot using bootX and |
64 |
>>>> the |
65 |
>>>> thing should work.(if you can get the gcloop.o module to compile |
66 |
>>>> and run |
67 |
>>>> for your config) I can build a custom nubus livecd if you send me |
68 |
>>>> the |
69 |
>>>> kernel source and the config you're using. I might be able to build |
70 |
>>>> a |
71 |
>>>> really small one especially for nubus if you want. |
72 |
>>>> gcloop hasn't been tested on oldworld yet I think, but it should |
73 |
>>>> work. |
74 |
>>>> without gcloop the livecd wouldn't be that small (more like 200-300 |
75 |
>>>> meg |
76 |
>>>> instead of 60M |
77 |
>>>> |
78 |
>>>>> If I can get past this, are there any other pitfalls that anyone |
79 |
>>>>> else |
80 |
>>>>> who has done this before would care to tell me about? Also, does |
81 |
>>>>> anyone |
82 |
>>>>> have a URL to a doc on how to set up a cross-compiler in Gentoo? |
83 |
>>>> |
84 |
>>>> join #gentoo-embedded ask zwelch |
85 |
>>>> |
86 |
>>>>> I've installed Gentoo many times on x86 boxes and love it. It has |
87 |
>>>>> quickly become my favorite distribution. I want all of my |
88 |
>>>>> computers to |
89 |
>>>>> be running Gentoo :) |
90 |
>>>> |
91 |
>>>> :-) |
92 |
>>>> |
93 |
>>>>> -- |
94 |
>>>>> Andrew Gaffney |
95 |
>>>>> |
96 |
>>>>> |
97 |
>>>>> -- |
98 |
>>>>> gentoo-ppc-user@g.o mailing list |
99 |
>>>>> |
100 |
>>>> -- |
101 |
>>>> gentoo-ppc-user@g.o mailing list |
102 |
>>> |
103 |
>>> |
104 |
>>> -- |
105 |
>>> Andrew Gaffney |
106 |
>>> |
107 |
>>> |
108 |
>>> -- |
109 |
>>> gentoo-ppc-user@g.o mailing list |
110 |
>>> |
111 |
> |
112 |
> -- |
113 |
> Andrew Gaffney |
114 |
> |
115 |
> |
116 |
> -- |
117 |
> gentoo-ppc-user@g.o mailing list |
118 |
> |
119 |
|
120 |
|
121 |
-- |
122 |
gentoo-ppc-user@g.o mailing list |