Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7826 - Kernel features not enabled even if they are compiled into the kernel
Summary: Kernel features not enabled even if they are compiled into the kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-12 05:23 UTC by Hillman Dai Hay Ming
Modified: 2003-02-04 19:42 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
my /boot/grub/menu.lst (menu.lst,134 bytes, text/plain)
2002-09-22 09:51 UTC, Hillman Dai Hay Ming
Details
/boot/System.map (System.map,577.17 KB, text/plain)
2002-09-23 12:05 UTC, Hillman Dai Hay Ming
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hillman Dai Hay Ming 2002-09-12 05:23:23 UTC
I have found that I haven't compiled the kernel with devfs features, then I add
devfs support into kernel core(not as modules) and recompile with the command
provided in the installation guide of gentoo:
make dep && make clean bzImage modules modules_install

After that, I copied the bzImage file to /boot and reboot the machine.
However, I found that it still complain that no devfs is enabled.
Also, after I have installed KDE and XFree86 and try to startx, it complains
that agparts haven't been compiled into the kernel. But I have already compiled
it...

The size of the bzImage haven't been increased but why doesn't those features
enabled?
Comment 1 SpanKY gentoo-dev 2002-09-12 09:57:25 UTC
umm my guess is you didnt do the kernel copy correctly

please review the steps you took to make sure you really did update the kernel 
in the /boot partition correctly
Comment 2 Hillman Dai Hay Ming 2002-09-12 21:31:06 UTC
Sorry that I have some typing error in my report...
I mean that the size of bzImage is increased after recompilation but
the features are still haven't enabled.

hmm...I just rename the original bzImage to something say bzImage.1
and then copy the one in /usr/src/linux/arch/i386/boot/bzImage to
/boot...This is based on the installation guide of gentoo, although
it is quite different with the one I learnt at school (copy vmlinuz
instead of bzImage for slackware)...
Comment 3 SpanKY gentoo-dev 2002-09-12 21:50:12 UTC
could you post your /boot/grub/menu.lst file as an attachment please ?

and vmlinuz / bzImage doesnt matter what you call them

i rename my kerns to vmlinuz ...
Comment 4 Brandon Low (RETIRED) gentoo-dev 2002-09-22 02:36:34 UTC
m00?
Comment 5 Hillman Dai Hay Ming 2002-09-22 09:51:07 UTC
Created attachment 4064 [details]
my /boot/grub/menu.lst

sorry for my late reply. Here is the file menu.lst
Comment 6 Brandon Low (RETIRED) gentoo-dev 2002-09-22 11:10:52 UTC
mount /boot && ls -la /boot
output plz ;-)

hope I'm not asking too dumb of stuff here, but this isn't really making sense
so I'm digging
Comment 7 Hillman Dai Hay Ming 2002-09-23 12:00:44 UTC
Output of  ls -la /boot

linux04 boot # ls -la
total 5712
drwxr-xr-x    3 root     root         4096 Sep 23 23:30 .
drwxr-xr-x   17 root     root         4096 Sep  7 21:37 ..
-rw-r--r--    1 root     root       591023 Sep  7 20:45 System.map
-rw-r--r--    1 root     root      1339204 Sep 10 21:38 bzImage
-rw-r--r--    1 root     root      1282550 Sep  6 02:05 bzImage.1
-rw-r--r--    1 root     root      1294462 Sep  6 02:48 bzImage.2
-rw-r--r--    1 root     root      1295484 Sep  7 02:05 bzImage.3
drwxr-xr-x    2 root     root         4096 Sep  7 21:48 grub

bzImage.1 to bzImage.3 are the previous backup of the kernel image...
Comment 8 Hillman Dai Hay Ming 2002-09-23 12:05:07 UTC
Created attachment 4104 [details]
/boot/System.map

and here is the /boot/System.map ...
Comment 9 Brandon Low (RETIRED) gentoo-dev 2002-10-03 18:22:20 UTC
hold up... can you try doing make clean dep && make bzImage modules instead of
what you were doing, because it is better that way...  also, the directory info
on /boot shows that the most recent kernel is september 10th, was that the day
when you re-compiled with devfs in?
Comment 10 Martin Holzer (RETIRED) gentoo-dev 2002-10-30 13:22:10 UTC
Have you done a make mrproper?  

# cd /usr/src/linux
 - save your config file
# cp .config ../config.save
# make mrproper
# mv ../config.save .config
# make menuconfig
 - make sure everything is as you want it 
# make dep && make bzImage modules && make modules_install

Comment 11 SpanKY gentoo-dev 2002-10-30 16:55:07 UTC
closed awaiting user feedback ...