Hello:

I used the Athlon XP v1.4 (dated 9/11) Live CD disk 1 to do a Stage 3
install of Gentoo.  Everything *seemed* to go okay, until reboot, when
Grub couldn't find the kernel.

I used the Live CD as a rescue disk, looked at my install drive, and,
sure enough, no kernel was installed!  Also, the /lib/modules
directory tree was empty.

Now, I'm not (completely) crazy; I specifically remember (during the
initial install) doing an "emerge -k sys-kernel/gentoo-sources" then a
"emerge -k genkernel" and finally running "genkernel --config".  I
made a few minor configuration changes to the kernel (mostly removing
unneeded modules), then waited while it built bzImage, modules, did a
make modules_install, etc.  It took a while, so *something* was going
on :)  Unfortunately, I don't remember if it exited with an error code
(I'm pretty sure I would have noticed that though).

As I said, however, for some reason, neither the kernel nor the
modules (or even the initrd) got installed.  So I repeated the above
steps after rescueing from the Live CD.  My kernel config options had
persisted, and this time the kernel, initrd, modules, etc all actually
got installed.

But now I'm wondering if other things aren't quite right with my
installation.  For example, I installed from my cdrom, which is
typically /dev/hdc, but there's no hdc showing up in the /dev
directory.  (I'm using ide-scsi on that drive, but there also aren't
any /dev/scd* files.)

I'm trying to build the "nvidia-kernel" modules, but when I do this, I
get the following error:

emerge nvidia-kernel
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/nvidia-kernel-1.0.4496-r3 to /
>>> md5 src_uri ;-) NVIDIA-Linux-x86-1.0-4496-pkg0.run
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86-1.0-4496-pkg0
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86
1.0-4496.........................................................
 * Linux kernel 2.4.20
 >>> Source unpacked.
 rm -f nv.o os-agp.o os-interface.o os-registry.o  nv-linux.o
 nv_compiler.h *.d NVdriver nvidia.o
 echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" >
 nv_compiler.h
 gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
 -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual
 -Wno-multichar  -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES
 -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE
 -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4496
 -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86
 -DREMAP_PAGE_RANGE_4  -I. -I/usr/src/linux/include -Wno-cast-qual
 nv.c
 In file included from nv.c:14:
 nv-linux.h:24:31: linux/modversions.h: No such file or directory
 nv.c: In function `cleanup_module':
 nv.c:861: warning: unused variable `i'
 make: *** [nv.o] Error 1

 !!! ERROR: media-video/nvidia-kernel-1.0.4496-r3 failed.
 !!! Function src_compile, Line 117, Exitcode 2
 !!! (no error message)


And it's true, I don't have a
/usr/src/linux/include/linux/modversions.h file.

xmms also fails:


>>> emerge (40 of 54) media-sound/xmms-1.2.7-r20 to /
>>> md5 src_uri ;-) xmms-1.2.7.tar.gz
>>> Unpacking source...
>>> Unpacking xmms-1.2.7.tar.gz to
>>> /var/tmp/portage/xmms-1.2.7-r20/work
 * Applying xmms-jump.patch...
 [ ok ]
  * Applying xmms-sigterm.patch...
  [ ok ]

   * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
    *
         *   /usr/portage/distfiles/xmms-1.2.7-mmx.patch.gz


         !!! ERROR: media-sound/xmms-1.2.7-r20 failed.
         !!! Function epatch, Line 182, Exitcode 0
         !!! Cannot find $EPATCH_SOURCE!


Now, I'm not sure if these things are related to the kernel problem or
not...  I'm tempted to just re-do the whole install, but that takes a
fair amount of time.

Any suggestions or ideas?

Thanks!
Matt



--
[EMAIL PROTECTED] mailing list

Reply via email to