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

Re: Kernel Compile Fails



Just add:
	initrd=/boot/initrd-2.4.2-k7     <--whichever initrd image is present in 
/boot

to lilo.conf and re-run lilo. The error is normal. There seems to be a 
problem with the comx.o module.

-Scott


On Sunday 01 April 2001 01:15, Shih Lin wrote:
> Dear Scott or any experienced debian linux user:
>
> before I change boot loader, I did get error when dpkg -i kernel-image
>
>
>
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.2-k7/kernel/drivers/net/wan/comx.o
> /boot/initrd does not exist. Installing from scratch, eh?
>
> I searched debian site, modutils contain depmod, I installed it
> and ldconfig
>
> reinstall kernel image, still get same error
>
> hope to see your tech help
> sincere
> eric
>
> From: "eric" <lshih@qwest.net>
>
> >To: <shlinlin@hotmail.com>
> >Subject: Fw: Kernel Compile Fails
> >Date: Fri, 30 Mar 2001 23:27:33 -0700
> >
> >
> >----- Original Message -----
>
> From: "Scott E. Graves" <scottg@lintuit.com>
>
> >To: "eric" <lshih@qwest.net>
> >Sent: Friday, March 30, 2001 2:01 PM
> >Subject: Re: Kernel Compile Fails
> >
> > > Since 2.4.2-k7 utilizes an initial ramdisk (initrd), your lilo.conf
> > > file should look similar to this:
> > >
> > > # This file was created automatically by liloconfig
> > > # Automatic creation, will do it every time
> > > # run dpkg-reconfigure lilo if you want to change the way this operates
> > > install=/boot/boot-menu.b
> > > delay=20
> > > map=/boot/map
> > > vga=extended
> > > lba32
> > > read-only
> > >
> > > image=/boot/vmlinuz-2.4.2-k7
> > >     initrd=/boot/initrd-2.4.2-k7
> > >     label=Debian
> > >
> > > image=/boot/vmlinuz-2.2.18pre21-ide
> > >     label=DebianSafe
> > >
> > >
> > > Then, re-run lilo and reboot. 2.4.2-k7 should load.
> > >
> > > -scott
> > >
> > > On Wednesday 28 March 2001 02:16, eric wrote:
> > > > Scott E. Graves wrote:
> > > > > When doing a make install in /usr/src/linux for kernel 2.4.2 I
> >
> >receive:
> > > > > make[1]: Entering directory
> > > > > `/usr/src/kernel-source-2.4.2/arch/i386/boot' ld -m elf_i386 -Ttext
> >
> >0x0
> >
> > > > > -s -oformat binary bbootsect.o -o bbootsect ld: cannot open binary:
> >
> >No
> >
> > > > > such file or directory
> > > > > make[1]: *** [bbootsect] Error 1
> > > > > make[1]: Leaving directory
> >
> >`/usr/src/kernel-source-2.4.2/arch/i386/boot'
> >
> > > > > make: *** [install] Error 2
> > > > > localhost:/usr/src/linux#
> > > > >
> > > > > What is causing ld to fail? I just recently upgraded to sid on this
> > > > > machine. Prior to this, the compilation worked fine.
> > > > >
> > > > > Scott
> > > >
> > > > why do not you upgrade directly from .deb,  I also try upgrade kernel
> > > > from kernel.org's 2.4.2.tar.gz but failed at make zImage
> > > > but I do have a 2.4.2 k7 kernel image . deb
> > > > but keep not know how to upgrade it, I try dpkg -i  xxx,  I have
> > > > configure loader and read
> > > > kernel-image.conf,  I tried and change /etc/kernel-iamge.conf  Do
> >
> >System
> >
> > > > link to /boot/xxx(I already have 2.4.2 k7 's kernel image)
> > > > then reboot
> > > > still only see 2.2.18,  would that possible you give me your
> >
> >experience
> >
> > > > to upgrade to 2.4.2?
> > > >
> > > > hope to see your warm help
> > > > sincere
> > > > eric
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com



Reply to: