LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-02-2006, 05:57 PM   #1
yougene
Member
 
Registered: Oct 2005
Posts: 65

Rep: Reputation: 15
How do you transfer modules from 2.4 kernel to 2.6 kernel?


I just downloaded the latest stable 2.6 today and installed it on my computer. It boots up fine but I noticed it doesn't load any modules even though I know I picked the correct ones(e.g BCM4400 module for my nic didn't load until I installed it again from source). Is there a way I can move over all the modules I need from 2.4 to 2.6?
 
Old 03-02-2006, 06:08 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Can you tell us which packages you installed with the 2.6 kernel? Also, did you try modprobe bcm4400 (I assume that's the name) to see if the module was there prior to compiling from the sources?
 
Old 03-02-2006, 06:24 PM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by yougene
Is there a way I can move over all the modules I need from 2.4 to 2.6?
what do you mean?? why not just recompile??

Last edited by win32sux; 03-02-2006 at 07:39 PM.
 
Old 03-02-2006, 07:13 PM   #4
yougene
Member
 
Registered: Oct 2005
Posts: 65

Original Poster
Rep: Reputation: 15
Honestly I don't remember every single module I installed.


I tried modprobe bcm4400 and it didn't work. I also didn't see, or too much else really when I did modules install. After I compiled and installed the module from the website it worked fine though.


The sound module isn't loading either which I know I toggled in menuconfig.


P.S
Sorry if I seem a bit incoherent right now, I have a pretty bad fever.
 
Old 03-02-2006, 07:36 PM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by yougene
After I compiled and installed the module from the website it worked fine though.
which website??
 
Old 03-02-2006, 08:27 PM   #6
yougene
Member
 
Registered: Oct 2005
Posts: 65

Original Poster
Rep: Reputation: 15
broadcom.com
 
Old 03-02-2006, 08:31 PM   #7
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by yougene
kernel.org
ummm, okay...

well, i've read through the thread like 5 times already and i can't seem to understand what's going on here... i can't make sense of anything... perhaps i am retarded... anyways, i'll go back to the sidelines now... good luck with your issue, whatever it may be...

BTW, sorry about your fever, i hope you get better...

Last edited by win32sux; 03-02-2006 at 08:50 PM.
 
Old 03-02-2006, 08:44 PM   #8
j79zlr
Member
 
Registered: Dec 2005
Location: Chicago
Distribution: Gentoo, Slackware, and FreeBSD
Posts: 38

Rep: Reputation: 15
You need to select the modules to build when you compile the kernel, you can then use /etc/rc.d/rc.modules to load them. Make sure that you have in fact compiled the bcm4400 module, that you haven't built it into the kernel [that works too though] and that it is uncommented in /etc/rc.d/rc.modules.
 
Old 03-02-2006, 09:42 PM   #9
rundarm
LQ Newbie
 
Registered: Jun 2004
Location: La Crosse, WI
Distribution: Red Hat Fedora Core 5 & 6
Posts: 22

Rep: Reputation: 15
Also make sure you include the file system in your kernel and not as a module. I include Resierfs with my kernel to eliminate having to create extra space for it later.

Last edited by rundarm; 03-02-2006 at 09:55 PM.
 
Old 03-03-2006, 02:10 AM   #10
Toods
Member
 
Registered: Dec 2005
Location: UK
Distribution: Slackware 12.1
Posts: 249

Rep: Reputation: 32
The .config file will have all the information about which modules were compiled.

Most distibutions of precompiled kernels will include the .config file, the System.map file together with the kernel itself.

Also, distributions of precompiled kernels should include a package of the modules as well.
 
Old 03-09-2006, 09:42 PM   #11
yougene
Member
 
Registered: Oct 2005
Posts: 65

Original Poster
Rep: Reputation: 15
ahhh the .config file was all whacked out. I got the nic working and everything else. The only problem I am having trouble getting to work is the sound. It seems that I can't or don't know how to get the snd module working, and in effect all other related modules. Here is a copy of my lsmod running on 2.4, that I need to get working in the 2.6 kernel.


Module Size Used by Not tainted
snd-pcm-oss 36736 0
snd-mixer-oss 12376 3 [snd-pcm-oss]
snd-hda-intel 7488 8
snd-hda-codec 50480 0 [snd-hda-intel]
snd-pcm 54344 1 [snd-pcm-oss snd-hda-intel snd-hda-codec]
snd-timer 13764 2 [snd-pcm]
snd 32772 2 [snd-pcm-oss snd-mixer-oss snd-hda-intel snd-hda-codec snd-pcm snd-timer]
soundcore 3396 3 [snd]
snd-page-alloc 4712 0 [snd-mixer-oss snd-hda-intel snd-pcm snd-timer snd]
pcmcia_core 39172 0
ntfs 51232 1 (autoclean)
ide-scsi 9392 0
bcm4400 32876 1
agpgart 45508 0 (unused)
 
Old 03-09-2006, 09:44 PM   #12
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
did you recompile alsa??
 
Old 03-09-2006, 10:23 PM   #13
yougene
Member
 
Registered: Oct 2005
Posts: 65

Original Poster
Rep: Reputation: 15
I did, here are some snippets from my .config file. I hope this isn't too much information.




#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_AC97_BUS=m
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_DUMMY=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set








#
# Open Sound System
#
CONFIG_SOUND_PRIME=m
# CONFIG_OBSOLETE_OSS_DRIVER is not set
# CONFIG_SOUND_FUSION is not set
CONFIG_SOUND_ICH=m
# CONFIG_SOUND_TRIDENT is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
CONFIG_SOUND_OSS=m
CONFIG_SOUND_TRACEINIT=y
CONFIG_SOUND_DMAP=y
# CONFIG_SOUND_AD1816 is not set
# CONFIG_SOUND_AD1889 is not set
# CONFIG_SOUND_ADLIB is not set
# CONFIG_SOUND_ACI_MIXER is not set
# CONFIG_SOUND_VMIDI is not set
# CONFIG_SOUND_TRIX is not set
# CONFIG_SOUND_MSS is not set
# CONFIG_SOUND_MPU401 is not set
# CONFIG_SOUND_PAS is not set
# CONFIG_SOUND_PSS is not set
# CONFIG_SOUND_SB is not set
# CONFIG_SOUND_OPL3SA2 is not set
# CONFIG_SOUND_UART6850 is not set
# CONFIG_SOUND_AEDSP16 is not set
# CONFIG_SOUND_TVMIXER is not set









# PCI devices
#
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0M=m
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VX222 is not set
CONFIG_SND_HDA_INTEL=m
 
Old 03-09-2006, 11:08 PM   #14
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
looks like you chose to build some of the options into the kernel instead of as modules this time, right?? maybe that has something to do with it... or maybe run alsaconf again... i'm not sure what else could be causing your sound not to work... anybody??

Last edited by win32sux; 03-10-2006 at 04:38 AM.
 
Old 03-10-2006, 09:33 AM   #15
yougene
Member
 
Registered: Oct 2005
Posts: 65

Original Poster
Rep: Reputation: 15
Thanks

I got the sound working. the sound driver needed to be built into the kernel and the oss needed to be built as seperate modules.


The sound is working fine, but I'm still a little worried because lsmod looks different in the 2.6 kernel compared to the original 2.4


my 2.6 modules

Module Size Used by
bcm4400 40716 -
snd_pcm_oss 48736 -
snd_mixer_oss 16904 -
pcmcia 32460 -
firmware_class 7688 -
pcmcia_core 36288 -
ntfs 226800 -





my 2.4 modules

Module Size Used by Not tainted
snd-pcm-oss 36736 0
snd-mixer-oss 12376 3 [snd-pcm-oss]
snd-hda-intel 7488 8
snd-hda-codec 50480 0 [snd-hda-intel]
snd-pcm 54344 1 [snd-pcm-oss snd-hda-intel snd-hda-codec]
snd-timer 13764 2 [snd-pcm]
snd 32772 2 [snd-pcm-oss snd-mixer-oss snd-hda-intel snd-hda-codec snd-pcm snd-timer]
soundcore 3396 3 [snd]
snd-page-alloc 4712 0 [snd-mixer-oss snd-hda-intel snd-pcm snd-timer snd]
pcmcia_core 39172 0
ntfs 51232 1 (autoclean)
ide-scsi 9392 0
bcm4400 32876 1
agpgart 45508 0 (unused)





I'm missing an awful lot of those snd modules!! What does this mean?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add own 2 kernel modules to kernel b123coder Linux - Newbie 0 12-10-2004 12:44 AM
How to transfer the compiled kernel to old kernel server ?? td0l2 Linux - Newbie 2 07-21-2004 01:22 AM
kernel: No module symbols loaded - kernel modules not enabled. Qucho Debian 9 05-26-2004 02:50 AM
How to keep modules/drivers across kernel recompiles and kernel versions? Pisces107 Linux - General 5 01-21-2004 08:29 PM
Kernel modules: why are some kernel modules zipped? hampel Slackware 3 06-30-2003 06:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration