Red Hat Bugzilla – Bug 42357
make modules_install removes files in /lib/modules/2.4.2-2/kernel/drivers/net
Last modified: 2007-04-18 12:33:25 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 95)
Description of problem:
I had a bare bones installation of a redhat 7.1 box to be used as a
firewall. I have two intel ethernet pro 100 network cards. All
connections to the cards work after installation...I can ping outside the
machine and so on. I then try to recompile the kernel with a make config
and change three things...
IP: multicasting -> from Y to N
IP: advanced route -> from N to Y
IP: TCP syncookie support -> from N to Y
I leave all the other settings the same. I then finish and do a
When machines comes back up eth0 and eth1 don't work any longer. I check
logs and find that /lib/modules/2.4.2-2/kernel/drivers/net/eepro100.o
cannot be found. I do a directory listing of that directory and there are
NO files to be found. Upon further digging and even changing the three
settings above back I found that if I have a sample eepro100.o file in the
above directory it will remain there until I run the make modules_install
command upon which the directory contents are emptied. I am planning on
re-installing again and see if I can trace down some errors and exactly
what is installed and what is done to the T.
Steps to Reproduce:
1. Install OS with bare bones installation plus a minute handful of
2. Recompile kernel with make config...make dep;make clean;make
bzlilo;make modules;make modules_install;init 6
Actual Results: I believe after the make modules_install it wipes out
the /lib/modules/2.4.2-2/kernel/drivers/net by deleting all files
contained in it. Thus insmod fails when booting up because it cannot find
Expected Results: Modules should have stayed put. I did double check
when going through compilation steps that the eepro100 was set to
Y...Can't get network cards working without totally reinstalling. Then, I
can't tune the kernel without losing network cards again. :)
Will try to get more information on Tuesday...
"eepro100 was set to Y" -> this will NOT give you a module!
It will build the driver into the kernel instead.
If you make it "M" then it will generate a module.
Also, which file out of "configs/" did you pick, or did you do the entire
configuration yourself ?
Created attachment 20253 [details]
Output of make config command
Created attachment 20254 [details]
Output of make dep command
Created attachment 20255 [details]
Output of make clean command
Created attachment 20256 [details]
Output of make bzlilo command (Notice the errors at the end of file)
Created attachment 20257 [details]
Output of make modules command (more errors at end of file)
Created attachment 20258 [details]
Output of make modules_install command (errors at end of file output)
random.c: In function `random_read':
random.c:1500: Internal compiler error in flow_depth_first_order_compute, at
Please submit a full bug report.
is a gcc bug.
And you forgot to use "make mrproper" as your first command.