1 |
On Fri, 2005-09-30 at 15:07 -0700, Mike Rosset wrote: |
2 |
> ok, I'm thinking either one of two things, if you have |
3 |
> kernel-dependent packages that need to be added to |
4 |
> boot/kernel/{kernel}/packages in your stage2 spec file ... add them. |
5 |
> if they are in there and you are using kerncache turn kerncache off |
6 |
> and give it a pass. |
7 |
|
8 |
Also, try turning off ccache for the livecd run. |
9 |
|
10 |
For some reason it appears to be bombing out on your kernel config. |
11 |
Anyway, we'd probably need you to go back and |
12 |
check /var/tmp/catalyst/tmp/default/livecd-stage2-$whatever/var/log/genkernel.log so we can see what actual errors you're getting. The grep information isn't always the best output. |
13 |
|
14 |
> On 9/30/05, Chip DeVoge <bflochip@×××.com> wrote: |
15 |
> It is for a chemistry professor at a local university and all |
16 |
> he wants is |
17 |
> the basics I listed. |
18 |
> |
19 |
> |
20 |
> * Gentoo Linux Genkernel; Version 3.3.6 |
21 |
> * Running with options: --no-mountboot |
22 |
> --kerneldir=/usr/src/linux |
23 |
> --kernel-config=/var/tmp/gentoo.config |
24 |
> --minkernpackage=/usr/portage/packages/gk_binaries/gentoo-2005.chip.tar.bz2 |
25 |
> all --kernel-cc=/usr/lib/ccache/bin/gcc |
26 |
> --utils-cc=/usr/lib/ccache/bin/gcc |
27 |
> |
28 |
> * Linux Kernel 2.6.12-gentoo-r10 for x86... |
29 |
> * WARNING: No mounted /boot partition detected! |
30 |
> * Run ``mount /boot`` to mount it! |
31 |
> |
32 |
> * kernel: >> Running mrproper... |
33 |
> * config: Using config from /var/tmp/gentoo.config |
34 |
> * Previous config backed up to .config.bak |
35 |
> * >> Running oldconfig... |
36 |
> * kernel: >> Cleaning... |
37 |
> * kernel: >> Making dependencies... |
38 |
> * ERROR: Failed to compile the "prepare" target... |
39 |
> |
40 |
> * -- Grepping log... -- |
41 |
> |
42 |
> * Gentoo Linux Genkernel; Version 3.3.6 |
43 |
> * Running with options: --no-mountboot |
44 |
> --kerneldir=/usr/src/linux |
45 |
> --kernel-config=/var/tmp/gentoo.config |
46 |
> --minkernpackage=/usr/portage/packages/gk_binaries/gentoo-2005.chip.tar.bz2 |
47 |
> all --kernel-cc=/usr/lib/ccache/bin/gcc |
48 |
> --utils-cc=/usr/lib/ccache/bin/gcc |
49 |
> |
50 |
> * Linux Kernel 2.6.12-gentoo-r10 for x86... |
51 |
> * WARNING: No mounted /boot partition detected! |
52 |
> -- |
53 |
> SCSI generic support (CHR_DEV_SG) [N/m/y/?] n |
54 |
> * |
55 |
> * Some SCSI devices (e.g. CD jukebox) support multiple LUNs |
56 |
> * |
57 |
> Probe all LUNs on each SCSI device (SCSI_MULTI_LUN) [N/y/?] |
58 |
> n |
59 |
> Verbose SCSI error reporting (kernel size +=12K) |
60 |
> (SCSI_CONSTANTS) [N/y/?] |
61 |
> n |
62 |
> -- |
63 |
> * kernel: >> Cleaning... |
64 |
> COMMAND: make -j2 CC="/usr/lib/ccache/bin/gcc" LD="ld" AS="as" |
65 |
> clean |
66 |
> awk: cmd. line:2: fatal: cannot open file |
67 |
> `/usr/src/linux-2.6.12-gentoo-r10 /include/linux/version.h' |
68 |
> for reading (No |
69 |
> such file or directory) |
70 |
> * kernel: >> Making dependencies... |
71 |
> COMMAND: make -j2 CC="/usr/lib/ccache/bin/gcc" LD="ld" AS="as" |
72 |
> dep |
73 |
> *** Warning: make dep is unnecessary now. |
74 |
> -- |
75 |
> Second extended fs support (EXT2_FS) [Y/n/m/?] y |
76 |
> Ext2 extended attributes (EXT2_FS_XATTR) [N/y/?] (NEW) |
77 |
> aborted! |
78 |
> |
79 |
> Console input/output is redirected. Run 'make oldconfig' to |
80 |
> update |
81 |
> configuration. |
82 |
> |
83 |
> make[2]: *** [silentoldconfig] Error 1 |
84 |
> make[1]: *** [silentoldconfig] Error 2 |
85 |
> make: *** [include/linux/autoconf.h] Error 2 |
86 |
> * Gentoo Linux Genkernel; Version 3.3.6 |
87 |
> * Running with options: --no-mountboot |
88 |
> --kerneldir=/usr/src/linux |
89 |
> --kernel-config=/var/tmp/gentoo.config |
90 |
> --minkernpackage=/usr/portage/packages/gk_binaries/gentoo-2005.chip.tar.bz2 |
91 |
> all --kernel-cc=/usr/lib/ccache/bin/gcc |
92 |
> --utils-cc=/usr/lib/ccache/bin/gcc |
93 |
> |
94 |
> * ERROR: Failed to compile the "prepare" target... |
95 |
> |
96 |
> * -- End log... -- |
97 |
> |
98 |
> * Please consult /var/log/genkernel.log for more information |
99 |
> and any |
100 |
> * errors that were reported above. |
101 |
> |
102 |
> * Report any genkernel bugs to bugs.gentoo.org and |
103 |
> * assign your bug to genkernel@g.o. Please include |
104 |
> * as much information as you can in your bug report; attaching |
105 |
> * /var/log/genkernel.log so that your issue can be dealt with |
106 |
> effectively. |
107 |
> * |
108 |
> * Please do *not* report compilation failures as genkernel |
109 |
> bugs! |
110 |
> * |
111 |
> |
112 |
> !!! catalyst: Runscript kernel build failed |
113 |
> |
114 |
> |
115 |
> Traceback (most recent call last): |
116 |
> File "modules/livecd_stage2_target.py", line 324, in |
117 |
> run_local |
118 |
> self.build_kernel() |
119 |
> File "modules/livecd_stage2_target.py", line 309, in |
120 |
> build_kernel |
121 |
> "Runscript kernel build failed") |
122 |
> File "/usr/lib/catalyst/modules/catalyst_support.py", line |
123 |
> 102, in cmd |
124 |
> raise CatalystError,myexc |
125 |
> CatalystError: <unprintable instance object> |
126 |
> None |
127 |
> |
128 |
> !!! catalyst: Runscript aborting due to error. |
129 |
> |
130 |
> |
131 |
> |
132 |
> From: Mike Rosset <schizoid29@×××××.com> |
133 |
> Reply-To: gentoo-catalyst@l.g.o |
134 |
> To: gentoo-catalyst@l.g.o |
135 |
> Subject: Re: [gentoo-catalyst] making of a catalyst livecd |
136 |
> Date: Fri, 30 Sep 2005 12:35:20 -0700 |
137 |
> |
138 |
> Chip: |
139 |
> |
140 |
> If that's all you really need to do then possible the knoppix |
141 |
> livecd might |
142 |
> be a better choice. But if you what to hack through catalyst. |
143 |
> can you post |
144 |
> the actual error message you are getting. |
145 |
> |
146 |
> Regrads, |
147 |
> |
148 |
> Mike Rosset |
149 |
> |
150 |
> |
151 |
> -- |
152 |
> gentoo-catalyst@g.o mailing list |
153 |
> |
154 |
> |
155 |
-- |
156 |
Chris Gianelloni |
157 |
Release Engineering - Strategic Lead |
158 |
x86 Architecture Team |
159 |
Games - Developer |
160 |
Gentoo Linux |