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