[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building custom kernel

Small, Jim wrote:
> I am trying to build a custom kernel under Debian Sparc64 using a recent
> kernel.
> I am running the latest of everything (unstable) via apt-get dist-upgrade.
> I tried to install the minimum amount of packages necessary.  I am running
> on a 2 CPU Ultra 60.  I did an apt-get kernel-source-2.4.25 (also tried
> .24), unbzipped and tarred under /usr/src.
> Now when I do a make menuconfig, it hangs after the Preparing scripts
> debian{root}:/usr/src/linux<264>make menuconfig
> rm -f include/asm
> ( cd include ; ln -sf asm-sparc64 asm)
> make -C scripts/lxdialog all
> make[1]: Entering directory
> make[1]: Leaving directory
> /bin/sh scripts/Menuconfig arch/sparc64/config.in
> Using defaults found in arch/sparc64/defconfig
> Preparing scripts: functions,
> parsing...........................................................done.
> (Where /usr/src/linux is a symlink to /usr/src/kernel-source-2.4.25)
> I don't understand why it hangs at the end.  make -d menuconfig didn't
> to reveal anything useful either.  Ideas?

Are you running this from a "sparc32 bash"?
If not, you need to switch to it:
    sparc32 bash
    make ARCH=sparc64 menuconfig
or just from your current shell:
    sparc32 make ARCH=sparc64 menuconfig

Same thing for make vmlinux, modules, modules_install.


Mustafa Hussein

Reply to: