LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-26-2004, 04:56 PM   #1
c31c
Member
 
Registered: Mar 2004
Location: Planet Earth
Distribution: Arch Linux
Posts: 106

Rep: Reputation: 15
kernel compiling and config problems


Hi
I've just recompiled kernel 2.6.5 over and over again...
I finally got framebuffer and logo to work.

But I still can't get no sound.
I've tried alsaconf to fix the sound, but no pci card type is detected, although I'm pretty sure my sound card is of that type.
I got an Asus P4P800 Mainboard with onBoard sound.
On WinXP my card is called SoundMAX Integrated Digital Audio from Analog Devices.

and I get some "Fatal" errors during boot. Can anyone tell me where I can find the boot logs, so I can tell you guys the details?
By the way, I don't know where to look for any log of anything. Where do I find logs for e.g. the Xserver ??

thanks in advance
 
Old 04-26-2004, 05:04 PM   #2
regorbro
Member
 
Registered: Jun 2003
Location: Australia
Distribution: FC7
Posts: 37

Rep: Reputation: 15
No sound with SoundMax

Hi
Using the same motherboard (Asus P4P800) and version of kernel (2.6.5) I got sound to work like this.

1. Be sure the kernel is compiled with OSS and ALSA options enabled from menuconfig. Theoretically the OSS option should not be necessary as the default is ALSA based, but I needed it to get the sound to work.

2 Install the latest ALSA drivers (I used version 1.0.4).

3. Once this is done and the system rebooted, make sure you un-mute the volume control - it still starts muted by default.

Let me know if it works, or if not, what the error messages are

Cheers
 
Old 04-26-2004, 05:22 PM   #3
c31c
Member
 
Registered: Mar 2004
Location: Planet Earth
Distribution: Arch Linux
Posts: 106

Original Poster
Rep: Reputation: 15
hi
thanks for your help. I only found 0.9.6
where can I get 1.0.x ?
 
Old 04-27-2004, 03:15 AM   #4
regorbro
Member
 
Registered: Jun 2003
Location: Australia
Distribution: FC7
Posts: 37

Rep: Reputation: 15
Hi
Go to http://www.alsa-project.org

Download all components of the latest stable release (currently 1.0.4) except firmware - you probably don't need it.

Compile and install all modules, making sure you do the driver LAST.

When you do the driver, do the following:
cd /(alsa-driver directory)
export CC="gcc32"
./configure --with-cards=intel8x0 --with-oss-yes --with-sequencer=yes
make
make install

To get all the useful details on how to set it up after that go to
RedHat/Fedora ALSA mini-Howto
in Linuxquestions. I got almost everything from that - it is detailed and really helpful. The only bit that stumped me for a while was the need to compile the driver with gcc32 (the "export" command above).

Good luck
 
Old 04-27-2004, 04:38 AM   #5
c31c
Member
 
Registered: Mar 2004
Location: Planet Earth
Distribution: Arch Linux
Posts: 106

Original Poster
Rep: Reputation: 15
ok, thank you!
I'll try that as soon as I get home
I tried it this morning but :/config -option.... returned some error
I've read the readme for my card on http://www.alsa-project.org, but there was nothing said about that. Maybe the export CC="gcc32" will help.
But shouldn't *THEY* configure that in a make file or alike?

anyway, I'll check this out
 
Old 04-27-2004, 12:43 PM   #6
c31c
Member
 
Registered: Mar 2004
Location: Planet Earth
Distribution: Arch Linux
Posts: 106

Original Poster
Rep: Reputation: 15
shit...I have some errors....I tried to recompile the kernel...
I did everything the way I did before, but I changed some things from compiled in to module.....
before I did "make clean;make bzImage; cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.6.5; make modules; make modules_install; cp System.map /boot/System.map-2.6.5; cp .config /boot/config-2.6.5"

I have symbolic links in boot vmlinuz to vmlinuz-2.6.5 and System.map and config to the files mentioned above....
I don't know why, but first, when it still worked, I got some errors during boot:

Module dependencies up to date (no new kernel modules found)
FATAL: Module agpgart not found
FATAL: Module ide_scsi not found

after that I changed some things to module, and it won't boot at all. ABSOLUTELY NOTHING

Is there anyone that can tell me which options to choose?
I have a Asus P4P800 mainboard. 512 mb ram. Asus GeForce FX 5200. a usb printer, mouse and keyboard. No scsi or firewire stuff. That is everything I use at the moment.
I have no problem to get the NVIDIA drivers to work, and I configured the mouse wheel right.
Maybe that is some problem with the module settings? Could anyone help me with getting the modules to work?

and: @regorbro: how do I compile the alsa lib and stuff modules and install them?

I have no clew, although I read the readme and stuff. I am an almost total linux newbie. I use Slackware 9.1, kernel is 2.6.5

Please help me....
 
Old 04-27-2004, 12:49 PM   #7
c31c
Member
 
Registered: Mar 2004
Location: Planet Earth
Distribution: Arch Linux
Posts: 106

Original Poster
Rep: Reputation: 15
sorry, i forgot, Pentium4, 2600MHz, with HyperThreading
 
  


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
compiling an old kernel using a new config file? slinky2004 Linux - General 5 10-06-2005 11:40 AM
Problems compiling a Kernel (make config/menuconfig) Janusz11 Slackware 5 08-15-2005 05:40 PM
Compiling the Kernel, config hell. dataangel Linux - Newbie 4 09-05-2004 10:24 PM
Lilo config for compiling new kernel problem Zaskar Debian 4 07-31-2004 02:11 PM
use of .config file while kernel compiling rvijay17 General 4 04-03-2003 05:06 PM


All times are GMT -5. The time now is 02:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration