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

Re: Compiling debian stock kernel with badram (Was: Re: Broken part of ram -- 100% broken?)



On 5/11/05, Alexander Toresson <alexander.toresson@gmail.com> wrote:
 
> I wanted to compile a kernel equivalent to the stock debian
> 2.6.8-2-686, but with badram and compiled for pentium 2/celeron.
> Therefore, I downloaded the kernel source from the apt repository,
> extracted it, patched it with the badram patch for 2.6.8.1 kernels,
> copied /boot/config-2.6.8-2-686 to
> /usr/src/kernel-source-2.6.8-2-686/.config, ran make oldconfig (which
> asked about badram, andI answered yes), I then ran make menuconfig,
> and changed so that it's going tobe compiled for pentium 2/celeron,
> and then I exited.
> 
> I then ran:
> 
> make-kpkg --append-to-version=badram --revision=lex.badram.1.0 kernel_package
> 
> (I also use ccache)
> 
> Then I installed the kernel-image package created in /usr/src.
> I have no idea how to create an initrd equal to the stock debian,
> so I used the stock debian. (added the appropriate commands to
> /boot/grub/menu.lst)
> 
> When I then tried to boot the kernel, I got a lot of errors about
> "module not found",
> then a lot of errors about "/lib/modules/2.6.8badram/modules.dep not
> found", and then "Kernel panic: attempted to kill init".
> 
> What am I doing wrong?

You forgot the --initrd flag.

-- 
Paolo Alexis Falcone
pfalcone@gmail.com



Reply to: