On Thursday 18 September 2003 06:10 pm, Jason Stubbs wrote:
> On Friday 19 September 2003 06:57, Ernie Schroder wrote:
> > On Thursday 18 September 2003 01:21 pm, Ernie Schroder wrote:
> > > I just compiled gentoo sources 2.4.20-r7. First time through
> > > the compile failed. pretty cryptic messages seemed to refer to
> > > SMP. I went back in and added SMP support and the kernel built
> > > successfully. The problem is that it won't boot and it dies
> > > without logging anything useful. I whipped out the digital
> > > camera and snapped the screen where it died. I'll attempt to
> > > show what was there below:
> > >
> > > Partition check:
> > > /dev/ide/host0/bus0/target0/lun0: p1 p2 <kernelbug at
> > > sched.c:1141! invalid operand: 0000
> > > cpu: 0
> > > EIP:0010:[<c0218da6>] Not tainted
> > > EFLAGS: 00010202
> > > eax: 00000001 ebx: c0176000 ecx: 00000001 edx:00000000
> > > esi: c019afc0 edi: 00000000 ebp: c0177f34 esp: c0177f10
> > > ds: 0018 es: 0018 ss:0018
> > > Process swapper (pid: 0, stackpage=c0177000)
> > > Stack: (a whole bunch of 8 digit #'s)
> > > Call (unreadable) (more #'3
> > > Code: 0f 0b 75 04 dc f5 45 c0 e9 ef fb ff 8d b6 00 00 00 00 8d
> > > <0>Kernel panic:Aiee, killing interupt handler!
> > > In interupt handler - not syncing
> > >
> > > I need advice here Please.
> >
> > I've managed to completely mess things up here. I've re-emerged
> > the gentoo-sourced-2.4.20-r7, I've done make menuconfig and now I
> > can't get the kernel to build. Errors are below:
> >
> > make dep && make clean bzImage modules modules_install
> > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
> > scripts/mkdep scripts/mkdep.c
> > make[1]: Entering directory
> > `/usr/src/linux-2.4.20-gentoo-r7/arch/i386/boot'
> > make[1]: Nothing to be done for `dep'.
> > make[1]: Leaving directory
> > `/usr/src/linux-2.4.20-gentoo-r7/arch/i386/boot'
> > make -C scripts kconfig.tk
> > make[1]: Entering directory
> > `/usr/src/linux-2.4.20-gentoo-r7/scripts' gcc -Wall
> > -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o
> > tkparse.c
> > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o
> > tkcond.o tkcond.c
> > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o
> > tkgen.o tkgen.c
> > gcc -o tkparse tkparse.o tkcond.o tkgen.o
> > cat header.tk >> ./kconfig.tk
> > ./tkparse < ../arch/i386/config.in >> kconfig.tk
> > echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk
> > echo "set ARCH \"i386\"" >> kconfig.tk
> > cat tail.tk >> kconfig.tk
> > chmod 755 kconfig.tk
> > make[1]: Leaving directory
> > `/usr/src/linux-2.4.20-gentoo-r7/scripts' gcc -Wall
> > -Wstrict-prototypes -O2 -fomit-frame-pointer -o
> > scripts/makeproconfigdata scripts/makeproconfigdata.c
> > scripts/makeproconfigdata.c: In function `main':
> > scripts/makeproconfigdata.c:121: warning: long unsigned int
> > format, int arg (arg 3)
> > scripts/makeproconfigdata.c:195: warning: long unsigned int
> > format, int arg (arg 3)
> > scripts/mkdep -- init/*.c > .depend
> > scripts/mkdep -- `find
> > /usr/src/linux-2.4.20-gentoo-r7/include/asm
> > /usr/src/linux-2.4.20-gentoo-r7/include/linux
> > /usr/src/linux-2.4.20-gentoo-r7/include/scsi
> > /usr/src/linux-2.4.20-gentoo-r7/include/net
> > /usr/src/linux-2.4.20-gentoo-r7/include/math-emu \( -name SCCS -o
> > -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h
> > -print` > .hdepend
> > find: /usr/src/linux-2.4.20-gentoo-r7/include/asm: No such file
> > or directory
> > make _sfdep_kernel _sfdep_drivers _sfdep_mm _sfdep_fs _sfdep_net
> > _sfdep_ipc _sfdep_lib _sfdep_grsecurity _sfdep_crypto
> > _sfdep_arch/i386/kernel _sfdep_arch/i386/mm _sfdep_arch/i386/lib
> > _FASTDEP_ALL_SUB_DIRS="kernel drivers mm fs net ipc lib
> > grsecurity crypto arch/i386/kernel arch/i386/mm arch/i386/lib"
> > make[1]: Entering directory `/usr/src/linux-2.4.20-gentoo-r7'
> > make -C kernel fastdep
> > make[2]: Entering directory
> > `/usr/src/linux-2.4.20-gentoo-r7/kernel' make[2]: *** No rule to
> > make target
> > `/usr/src/linux-2.4.20-gentoo-r7/include/linux/autoconf.h',
> > needed by
> > `/usr/src/linux-2.4.20-gentoo-r7/include/linux/modules/signal.ver
> >'. Stop.
> > make[2]: Leaving directory
> > `/usr/src/linux-2.4.20-gentoo-r7/kernel' make[1]: ***
> > [_sfdep_kernel] Error 2
> > make[1]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r7'
> > make: *** [dep-files] Error 2
> >
> >
> > Can someone figure out what's going on?
>
> Don't know what's going on but I've seen other people having
> problems with gentoo-sources-2.4.20-r7. Check the mailing list
> archives and forums.
>
> Other than that, I recommend deleting the source tree manually
> before remerging a kernel.
>
> Jason
>
> --
> [EMAIL PROTECTED] mailing list
I ended up doing just that, actually I deleted the tree and then did
emerge -C for good measure, but still no joy. So, I went over to my
step son's house for dinner (he's a Gentoo dev) and we ssh'd in and
built it from there without making any changes and it worked. The
only difference is we didn't "make modules_install" in line with the
build in case there were problems. I can't figure out why but that
seemed to work. I have to reinstall network and Nvidia vid-card
drivers in the AM but it looks as if I'm good to go.
Thanks for your input.
--
Regards, Ernie
100% Microsoft and Intel free
--
[EMAIL PROTECTED] mailing list