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