[Aurora-sparc-devel] Building a kernel
IT3 Stuart Blake Tener, USN
teners at bh90210.net
Sun Dec 18 11:31:55 EST 2005
Aurora Developers:
First thing I wanted to do was build a custom kernel, yet, I had no kernel
source code installed when my installation finished. I am not sure what
group of packages I didn't install to end up in that situation, but I do
have the gcc compiler and other developer tools installed.
(1) What RPMs are required to have all the things requisite to build a
kernel on Aurora?
Thinking I had installed the proper single RPM for giving me kernel source
the process started to move forward. So, I "did the right thing" and went
and saved the original ".config" file, and started to create my own custom
.config file for my kernel using the make menuconfig command.
Next I did a make clean
Then I did a make
Then I saw the following:
[root at e450lx 2.6.13-1.1603sp8-smp-sparc64]# pwd
/usr/src/kernels/2.6.13-1.1603sp8-smp-sparc64
[root at e450lx 2.6.13-1.1603sp8-smp-sparc64]# make clean
/usr/src/kernels/2.6.13-1.1603sp8-smp-sparc64/fs/hostfs/Makefile:11:
arch/um/scripts/Makefile.rules: No such file or directory
make[2]: *** No rule to make target `arch/um/scripts/Makefile.rules'. Stop.
make[1]: *** [fs/hostfs] Error 2
make: *** [_clean_fs] Error 2
[root at e450lx 2.6.13-1.1603sp8-smp-sparc64]# make
CHK include/linux/version.h
make[1]: *** No rule to make target `init/main.o', needed by
`init/built-in.o'. Stop.
make: *** [init] Error 2
[root at e450lx 2.6.13-1.1603sp8-smp-sparc64]# uname -a
Linux e450lx 2.6.13-1.1603sp8smp #1 SMP Tue Nov 15 10:36:20 EST 2005 sparc64
sparc64 sparc64 GNU/Linux
[root at e450lx 2.6.13-1.1603sp8-smp-sparc64]# cat /proc/cpuinfo
cpu : TI UltraSparc II (BlackBird)
fpu : UltraSparc II integrated FPU
promlib : Version 3 Revision 30
prom : 3.30.0
type : sun4u
ncpus probed : 4
ncpus active : 4
D$ parity tl1 : 0
I$ parity tl1 : 0
Cpu0Bogo : 494.59
Cpu0ClkTck : 000000000ec82e00
Cpu1Bogo : 494.59
Cpu1ClkTck : 000000000ec82e00
Cpu2Bogo : 494.59
Cpu2ClkTck : 000000000ec82e00
Cpu3Bogo : 494.59
Cpu3ClkTck : 000000000ec82e00
MMU Type : Spitfire
State:
CPU0: online
CPU1: online
CPU2: online
CPU3: online
[root at e450lx 2.6.13-1.1603sp8-smp-sparc64]#
(2) What is required if I wish to patch up a stock kernel (2.6.latest..) to
work?
I posted a message to the user list indicating that I wanted to get this
NewEgg card working which is a 1394/USB/ATA card, though I have not yet
purchased or tried that card yet, as I cant even build a regular kernel to
support the hardware I have now (a basic E450 with only an ATI video card in
it).
--
Stuart
More information about the Aurora-sparc-devel
mailing list