LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-20-2003, 04:06 PM   #1
Geosharp
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSE 7.3
Posts: 13

Rep: Reputation: 0
Unhappy Kernel woes


Okay, I give up, i submit, and i'm generally fed up to the back teeth.
This all started a long time ago (well, about a month ago anyway, it just seems longer), when I tried updating my kernel, by downloading to source rpm for SuSE 8.2 off their FTP (I ran 7.3 at the time). This just completely blew up my linux box when I tried to use the compiled result (no init found, etc) as well as seeming to produce a dud reiserfs module. I FTP installed up to SuSE 8.2, only this didn't fix it. Much help from a suse mailing list got me a running kernel again. However, sound was defunct.
So off I toddle to recompile again. This time, I remembered to keep my working kernel and system.map.
The new kernel blows up in my face. Still no sound, but also now X won't start, complaining it can't find module char-major-195.
So I rename it and the System.map, and plonk back in my old kernel.....which now seems to have stopped working as well
I'm stuck, i'm sick of compiling kernels, and i've got a knackered linux box. Can anybody offer any assistance as to how to get a working kernel up and going, preferably with sound working?
System is a Duron processor, SB live! sound card (one that works with linux I know, as it did right at the start), kernel 2.4.20-4GB-athlon all on SuSE 8.2
Any help at all would be very, very appreciated
 
Old 08-20-2003, 04:25 PM   #2
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 50
char major 195 i seem to remember is the nvidia driver, the problem is a part of the nvidia driver is dependant on the kernel so when you used the new kernel, the nvidia driver wasnt available so X bombed out, this is easy to fix by either reinstalling the nvidia driver, or using the normal nv driver with X, i would reccommend the second until you have a working kernel.

i cant help with sound as i have never used oss, only alsa so i have to recompile the drivers everythime i recompile a kernel.

i think the reason your old kernel doesnt work properly is because youve installed new modules over it. every time you do a 'make modules_install' it copies the the new modules to /lib/modules/`uname -r`/ so if you compile two kernels that are the same version they overwrite each others modules, the solution to this is to change the value of EXTRAVERSION in the kernel makefile

cant you just grab the old kernel rpm off an install disk and get right back to where you were?

hope some of that helps
 
Old 08-20-2003, 04:33 PM   #3
Geosharp
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSE 7.3
Posts: 13

Original Poster
Rep: Reputation: 0
Hey there, thanks for the quick response.
The problem is nvidia drivers is it. That would explain a lot, as I didn't re-install, as last time I did any major recompiling (back with kernel 2.2) I never needed to re-instal. Ah well.
As for the sound, i'm trying to use ALSA. The erro complains that it can't find the snd-card-0 module, and to be fair, neither can I. However, alsa support, the emu10k1 driver (or whatever the SBlive! driver is called, and OSS compatibilty are all set to be compiled as modules.
Do I need to re-install alsa? If so, how? The SuSE kernel appears to have it all built in (see above).
Any ideas?
Thanks again, I feel more hopeful now
 
Old 08-20-2003, 05:11 PM   #4
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 50
if your kernel has been patched with alsa then you should just be able to choose the right kernel config options to get the modules, what modules do you have in

/lib/modules/'kernelversion'/kernel/drivers/sound

also check your /etc/modules.conf mines not set up properly but apparently it should look something like this:

alias char-major-14 soundcore
alias char-major-116 snd

alias snd-card-0 snd-<soundcard-name>

alias sound-slot-0 snd-card-0

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-midi

Last edited by kev82; 08-20-2003 at 05:12 PM.
 
Old 08-20-2003, 05:35 PM   #5
Geosharp
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSE 7.3
Posts: 13

Original Poster
Rep: Reputation: 0
Well kev82, you were right, a quick re-run of the NVidia installer, and i'm back in the work of X again

As for modules.conf, thats set up right (I hope) as I ran alsaconf, hoping that would fix things.....it does indeed contain all the lines you mentioned.

Okay, in /lib/modules/2.4.20-4GB-athlon/kernel/drivers/sound I have;
a load of drivers which won't affect this (viaxxx.o, ac97.o, etc)
sb_lib.o
sb.o
sound.o
and a dir called emu10k1, which contains,
emu10k1.o

Thats it. That sounds a little sparse to me, but you'l probably know more than I do....
Thanks for the help
 
Old 08-20-2003, 06:00 PM   #6
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 50
what happens if you modprobe emu10k1
 
Old 08-21-2003, 08:45 AM   #7
Geosharp
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSE 7.3
Posts: 13

Original Poster
Rep: Reputation: 0
Well, if I modprobe emu10k1 I got an error about the file (or was it device?) not existing, followed by a couple more errors.

However, today my boxed 8.2 pro turned up from Amazon, so I re-installed the kernel sources (well, told it to update them) then recompiled, but this time compiled into the kernel all the alsa options, along with the emu10k1 driver. I'd tried this before and it failed then, but I thought i'd give it a go, this time making use of the EXTRAVERSION in the makefile you mentioned (thats damn useful isn't it Thanks for telling me about that, will come in handy).

Anyway, I did all that, and rebooted, selecting the new kernel, and this time for some reason it worked fine!?
Sound is up and running, it's even accepting sound from my WinTV card (for the first time in my entire linux history)
So, a big thanks for all the assistance you've given me kev82, it's certainly taught me a few things for the future.
Thanks again

Last edited by Geosharp; 08-21-2003 at 08:46 AM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel 2.6.11.9 woes onelung02 Slackware 6 05-15-2005 05:09 AM
More kernel compilation woes Ross Clement Fedora 1 07-26-2004 07:46 PM
Kernel 2.6.2 Woes slapshotct Linux - General 4 02-05-2004 12:06 PM
Kernel compiling woes.... noobix Slackware 7 06-04-2003 11:24 PM
Kernel Recompile Woes... Bear Linux - Software 11 04-10-2002 11:23 PM


All times are GMT -5. The time now is 10:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration