Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

add new modules to new compiled kernel?

Status
Not open for further replies.

ady2012

MIS
Jun 6, 2010
108
0
0
US
I have compiled kernel 2.6.34.7 64 bit on centos 6.5 succefully.But I didn't have enough disk space to install a ll modules and deleted some sound and wifi modules in /usr/src/linux-2.6.34.7/ during make modules_install.
I also deleted /usr/src/linux-2.6.34.7 and untar new linux-2.6.34.7.tar.bz2.But I didnt run make bzImage because I already created bzImage previously.
I used same .config file and ran make modules and make modules_install to add all modules.
It didn't work.
Any ideas to solve this problem?



 
No idea, what exactly is the problem?

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
You didnt know it.Please don't answer it...:)
Thanks for your reply.
 
What I am telling you is that "It didn't work" is NOT sufficient information to provide a clue as to the actual problem.

You providing better information will mean that you will get better answers. The ONLY answer that can be given to: "It didn't work" is ... "Then you did something wrong"!

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
I meant my sound module and wifi modules didnt work../lib/modules/2.6.34.7 size around 854 mb.
 
Didn't 'work' or did not compile into the OS?

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
After I have done make modules and make modules_install.
Many modules didn't load it automatically when my centos 6.5 64 bit started up.Because I have done overwrite existing modules.
 
I don't think Linux is modular at that level, e.g. that binaries from different compiles can be mixed and expected to interact properly.

You could test that conjecture by getting yourself some more drive space and doing the compile and install as it was intended.

 
New compiled kernel 2.6.34.7
# lsmod
Module Size Used by
ext4 347096 1
mbcache 7470 1 ext4
jbd2 83775 1 ext4
sd_mod 36864 5
crc_t10dif 1507 1 sd_mod
usb_storage 49836 2
ahci 39585 1
video 20797 0
output 2471 1 video
dm_mirror 13928 0
dm_region_hash 10962 1 dm_mirror
dm_log 9832 2 dm_mirror,dm_region_hash
dm_mod 73504 2 dm_mirror,dm_log

# uname -a
Linux localhost.localdomain 2.6.34.7 #1 SMP Wed Feb 12 23:32:06 WIB 2014 x86_64 x86_64 x86_64 GNU/Linux

I can login from GUI Login screen and X - windows is working fine.

Existing updated kernel from centos 6.5 64 bit

# lsmod
Module Size Used by
fuse 73530 0
i915 624511 0
drm_kms_helper 44321 1 i915
drm 280012 2 i915,drm_kms_helper
i2c_algo_bit 5935 1 i915
bonding 127797 0
8021q 25349 1 bonding
garp 7152 1 8021q
stp 2218 1 garp
llc 5546 2 garp,stp
cpufreq_ondemand 10544 2
acpi_cpufreq 7763 0
freq_table 4936 2 cpufreq_ondemand,acpi_cpufreq
mperf 1557 1 acpi_cpufreq
iTCO_wdt 7115 0
iTCO_vendor_support 3056 1 iTCO_wdt
microcode 112685 0
i2c_i801 11359 0
uvcvideo 62688 0
videodev 75708 1 uvcvideo
v4l2_compat_ioctl32 7110 1 videodev
i2c_core 31084 6 i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801,videodev
sg 29350 0
btusb 16851 0
bluetooth 99271 1 btusb
lpc_ich 12803 0
mfd_core 1895 1 lpc_ich
r8169 59831 0
mii 5376 1 r8169
arc4 1475 2
ath9k 91969 0
mac80211 552581 1 ath9k
ipv6 317829 34 bonding,mac80211
ath9k_common 3193 1 ath9k
ath9k_hw 408176 2 ath9k,ath9k_common
ath 18078 3 ath9k,ath9k_common,ath9k_hw
cfg80211 619515 3 ath9k,mac80211,ath
rfkill 19255 2 bluetooth,cfg80211
snd_hda_codec_hdmi 28922 1
snd_hda_codec_realtek 43811 1
snd_hda_intel 40562 4
snd_hda_codec 179208 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 6780 1 snd_hda_codec
snd_seq 55727 0
snd_seq_device 6500 1 snd_seq
snd_pcm 87409 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer 22443 2 snd_seq,snd_pcm
snd 70569 16 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_device,snd_pcm,snd_timer
soundcore 7958 1 snd
snd_page_alloc 8856 2 snd_hda_intel,snd_pcm
ext4 374902 1
jbd2 93427 1 ext4
mbcache 8193 1 ext4
usb_storage 49068 2
sd_mod 39069 5
crc_t10dif 1541 1 sd_mod
ahci 42247 1
video 20674 1 i915
output 2409 1 video
dm_mirror 14384 0
dm_region_hash 12085 1 dm_mirror
dm_log 9930 2 dm_mirror,dm_region_hash
dm_mod 84209 2 dm_mirror,dm_log


# uname -a
Linux localhost.localdomain 2.6.32-431.5.1.el6.x86_64 #1 SMP Wed Feb 12 00:41:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top