LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2006, 04:12 PM   #1
stu_mueller
Member
 
Registered: Aug 2006
Location: England
Distribution: Slackware, Zenwalk
Posts: 114

Rep: Reputation: 15
Modules gone!


I have just installed slackware 11 using hte bareaspi.i kernel.

everything worked out of the box, including my sound, doing a modprobe showed my sound module loaded and the ac97 codec.

Checking under /lib/modules/2.4.33.3/kernel/sound I could find the modules that were being loaded.

I was trying to get bootsplash to work, so I added the bootsplash patch to my kernel source in /usr/src/linux and copied my config file from /boot to /usr/src/linux/.config

I ran make xconfig and all my settings seemed to be retained, I added the bootsplash stuff, and also changed my processor type to a p4. I then ran make dep and make clean and then make bzImage. All finished fine. I ran make modules and make modules_install.

copied my bzImages over to my boot folder( retaining my existing image) rebooted and it came back up.

However there was no sound. checking lsmod it is not loading the modules for my card and checking under /lib/modules/2.4.33.3/kernel there is no sound folder, I can't find hte modules anywhere. where have they gone?

To top it all I've installed hte bootsplash client copied splash over to /sbin and can't get that to work either!

Where would my modules have gone. if I used the config file from /boot why would make modules not have compiled the correct sound modules?

Thanks

stu
 
Old 12-15-2006, 05:02 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
It sounds like you did not configure your sound modules when you installed the new kernel. I am pretty sure that the config in the /boot directory is more of a template or a bare defualt and not one customized to your system.
 
Old 12-15-2006, 05:07 PM   #3
stu_mueller
Member
 
Registered: Aug 2006
Location: England
Distribution: Slackware, Zenwalk
Posts: 114

Original Poster
Rep: Reputation: 15
When I run make menuconfig now in my /usr/src/linux directory under sound cards--> it has my sound card listed, along with a load of others and it has an <M> by it! should I run make modules and make modules_install again?
 
Old 12-15-2006, 06:08 PM   #4
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Probably and also when your new kernel starts up post the output of lsmod and lspci.
 
Old 12-15-2006, 07:21 PM   #5
anakin
LQ Newbie
 
Registered: Feb 2006
Location: Tirnaveni, Romania
Distribution: Slackware 12.2 (current)
Posts: 24

Rep: Reputation: 15
i had the same problem one year ago but just when I re-compiled the default kernel it seemed to delete many modules...try to rename the modules folder before you compile the kernel...and check the new kernel and if it doesnt work delete the new modules folder, rename the old one back as it was and reboot...you will have the old sys back...try to compile a new kernel from scratch
 
Old 12-16-2006, 07:00 AM   #6
stu_mueller
Member
 
Registered: Aug 2006
Location: England
Distribution: Slackware, Zenwalk
Posts: 114

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jstephens84
Probably and also when your new kernel starts up post the output of lsmod and lspci.
Here is lspci:

lspci
00:00.0 Host bridge: ATI Technologies Inc RS200/RS200M AGP Bridge [IGP 340M] (rev 02)
00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 340M]
00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
00:07.0 ISA bridge: ALi Corporation M1533/M1535 PCI to ISA Bridge [Aladdin IV/V/V+]
00:08.0 Modem: ALi Corporation M5457 AC'97 Modem Controller
00:0a.0 CardBus bridge: O2 Micro, Inc. OZ601/6912/711E0 CardBus/SmartCardBus Controller
00:0b.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
00:0b.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
00:0b.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
00:0c.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
00:11.0 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
00:12.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon IGP 330M/340M/350M
02:00.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
*******************************************************

and here is lsmod:

lsmod
Module Size Used by Not tainted
soundcore 3684 0 (autoclean)
input 3200 0 (autoclean)
uhci 25404 0 (unused)
ehci-hcd 19116 0 (unused)
ohci1394 25136 0 (unused)
ieee1394 45092 0 [ohci1394]
natsemi 16416 0 (unused)
crc32 2880 0 [natsemi]
ds 7092 2
yenta_socket 10916 1
pcmcia_core 42820 0 [ds yenta_socket]
ntfs 54848 1 (autoclean)
ide-scsi 10224 0
ndiswrapper 147864 0
usbcore 61484 1 [uhci ehci-hcd ndiswrapper]
agpgart 47940 0 (unused)

Cheers

Stu
 
Old 12-16-2006, 08:20 AM   #7
stu_mueller
Member
 
Registered: Aug 2006
Location: England
Distribution: Slackware, Zenwalk
Posts: 114

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by anakin
i had the same problem one year ago but just when I re-compiled the default kernel it seemed to delete many modules...try to rename the modules folder before you compile the kernel...and check the new kernel and if it doesnt work delete the new modules folder, rename the old one back as it was and reboot...you will have the old sys back...try to compile a new kernel from scratch
I renamed my modules/2.4.33.3 folder to /modules/2.4.33.3.old

did make mrproper
copied my .config back
make dep
make clean
make bzImage
make modules
make modules_install

and still no sound card modules!

Do I need to merge my .config file in with make oldconfig before I compile my kernel? but it seems to have all the settings. It even has <M> by sound card support and <M> by my sound card!

Could I just download the drivers for my card, if I can find them for Linux?

Cheers

Stu
 
Old 12-16-2006, 08:28 AM   #8
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,594

Rep: Reputation: 124Reputation: 124
Do you have /etc/rc.d/rc.udev set executable? Try "chmod 755 /etc/rc.d/rc.udev" as root and then "/etc/rc.d/rc.udev restart". Then look if lsmod shows new modules loaded.
 
Old 12-16-2006, 09:36 AM   #9
stu_mueller
Member
 
Registered: Aug 2006
Location: England
Distribution: Slackware, Zenwalk
Posts: 114

Original Poster
Rep: Reputation: 15
I am using kernel 2.4 I didn't think that used udev. I do have the rc.udev script in rc.d, it was marked executable. I tried rc.udev restart and rc.hotplug restart but still no joy

Could I download that module from somewhere?
 
Old 12-16-2006, 09:51 AM   #10
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,594

Rep: Reputation: 124Reputation: 124
Sorry, of course you're right, 2.4.x uses hotplug not udev.
 
Old 12-16-2006, 10:06 AM   #11
stu_mueller
Member
 
Registered: Aug 2006
Location: England
Distribution: Slackware, Zenwalk
Posts: 114

Original Poster
Rep: Reputation: 15
OK if I download kernel 2.4.33.3 from source, rename my current /usr/src/linux-2.4.33.3 to /usr/src/linux-2.4.33.3.old
and rename my current /lib/modules/2.4.33.3

extract the newly downloaded kernel source

run make menuconfig after putting my .config file back

make dep
make clean
make bzImage
make modules
make modules_install

then remove the downloaded kernel source rename my original kernel source back! might that be an option. That way I'm not inserting a new kernel image, my existing patched one is still in place, but with newly downloaded kernel source the sound modules may compile and install?

Or is it just too comlicated!?!

Cheers

Stu
 
Old 12-16-2006, 06:14 PM   #12
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
I don't think you need make dep and make clean. I normally just type make, make modules_install. I think you answered this but what kernel are you going to? IE 2.4 > 2.6 or just 2.4 > 2.4. Also when you copy over your .config I would first do a make oldconfig.
 
Old 12-17-2006, 06:10 AM   #13
stu_mueller
Member
 
Registered: Aug 2006
Location: England
Distribution: Slackware, Zenwalk
Posts: 114

Original Poster
Rep: Reputation: 15
I'm doing 2.4.33.3 to 2.4.33.3

I'vr tried doing a make oldconfig but it throws up a load of prompts, and I feel more comfortable with make menuconfg or make xconfig and then opening my .config file!

I may try removing my .config then just adding in the soundcard modules and nothing else, then doing a make madoules and make modules_install see if that works.

I've had a look around the net and can't find the snd_ali5451 module or the ali soundcard drivers!
 
Old 12-17-2006, 02:14 PM   #14
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
If you want to by pass all the prompts I believe you can do something like
Code:
make silentoldconfig
if you look through the readme it will tell you what all you can run with make.
I was wrong. You still need make modules and make modules_install.

another note is if you run make xconfig make sure to check under options to show all options.

but I would use the old .config.
 
Old 12-18-2006, 06:40 AM   #15
stu_mueller
Member
 
Registered: Aug 2006
Location: England
Distribution: Slackware, Zenwalk
Posts: 114

Original Poster
Rep: Reputation: 15
I have just installed slackware 11 on a new machine. could someone explain the following differences

on hte new machine under /lib/modules/2.4.33.3/kernel/ I have a folder called sounds under this sounds folder I have other folders one of which is called pci. I then have variuos snd-*.o.gz files I also have a folder called ali5451 which contains snd-ali5451.o.gz

However I also have a folder structure /lib/modules/2.4.33.3/kernel/drivers/sound which contain *.o.gz files
What is the difference between these two folders and hte .o.gz files? which one is used?

On my machine that has no sound under /lib/modules/2.4.33.3/kernel/drivers/sound all the files are just *.o not *.o.gz is this a problem?

Thanks for all your time

Stuart
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
FATAL: Could not load /lib/modules/2.6.14-default/modules.dep no such file exist dr_zayus69 Linux - Software 3 12-26-2005 07:44 PM
/etc/conf.modules is more recent than /lib/module/2.2.15-4mdk/modules.dep Derek-kun Linux - Newbie 3 09-26-2003 03:56 AM
Slack9 - no PPP (can't open dependencies file /lib/modules/2.4.18/modules.dep) bluehz Slackware 1 05-04-2003 03:32 PM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 02:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 02:40 AM


All times are GMT -5. The time now is 06:10 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration