LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 05-08-2004, 04:05 PM   #1
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
sound and cdrom problems in compiled 2.6.5


hi,

i compiled kernel 2.6.5.

when i run the new kernel, there's no sound. i guess i have to load it manually or something.

also, when i try to install packages using rpmdrake, and it asks me to put in the cd 1 for example, then i put it in, but then it ejects the cd and asks again. i can make it work by mounting /dev/cdrom /mnt/cdrom as root.

these 2 problems don't exist when i run the mdk10 kernel default. so i think i didn't config my 2.6.5 kernel correctly.

what should i do?

thanks.
 
Old 05-09-2004, 04:29 PM   #2
Muzzy
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo, Slackware
Posts: 333

Rep: Reputation: 30
1) Did you choose Alsa or OSS? Do you know what you were using before? Alsa takes a bit of effort to get working, you have to run alsamixer and alsactl, there are other threads that describe this in more detail, you can search for that. OSS is deprecated in the 2.6 series, but it still works, and you can still use it if you want to.

2) You probably did not patch your kernel with supermount. The Mandrake default kernel has a few patches applied to it, and supermount is one of them. Now you do not need supermount, but since you have been using it, you will probably miss its nice automounting feature, which saves you having to mount manually each time. To install supermount you have to patch your kernel, I had trouble patching the 2.6.6-rc1 with the latest supermount patch, but eventually got it working , as I mentioned in this thread:

http://linuxquestions.org/questions/...hreadid=179446

You may have more luck with the 2.6.5 kernel than I had with 2.6.6-rc1.

I hope this answers your questions. Please feel free to ask for further clarification.

Mark.
 
Old 05-09-2004, 04:49 PM   #3
mfeyzifar
LQ Newbie
 
Registered: Mar 2004
Location: Turkey
Distribution: FC 2 - WinXP
Posts: 8

Rep: Reputation: 0
i tried to post a personal message, but i have no permission to do.. ?! why ?

anyway,

i post a message about kernel 2.6.5, i think you compiled and you can help me to compile

my problem is:

when i try to compile new kernel, namely 2.6.5, an error message appears such as:

[root@abn134-175 linux-2.6.5]# make xconfig
HOSTCC scripts/basic/fixdep
/bin/sh: line 1: gcc: command not found
make[1]: *** [scripts/basic/fixdep] Hata 127
make: *** [scripts_basic] Hata 2

(i use turkish mandrake 10.0 (with 3cd); however, it doesn't matter which language i use.)
(hata = error)

if i compile under redhat 9, it's ok.

i installed mandrake almost all necessary packages.

where is the problem and how can i solve ?

--

thanks...
 
Old 05-09-2004, 05:13 PM   #4
Muzzy
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo, Slackware
Posts: 333

Rep: Reputation: 30
To mfeyzifar,

I have no idea why the personal message didn't work - I have never tried to use that feature.

It would be better to start a new thread for your question because:

a) You are hijacking someone else's thread before they have confirmed the problem is solved, which could be annoying and confusing for the original poster.
b) I might not know the answer to your question and then your questions would go unanswered because only a few people will see it, compared to how many would see it if you started a new thread.

Having said that, I do happen to know what is causing the problem, you need to install the developer tools (gcc, make, etc..) in order to be able to compile. Unfortunately I have never used Mandrake so I don't know the best way to do this on Mandrake. Can't help you more than that sorry, please make your own thread and maybe some of the others can help you! You could also try searching on Mandrake's website, or on this site, or with Google.
 
Old 05-10-2004, 12:32 AM   #5
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Original Poster
Rep: Reputation: 30
where can i get the supermount patch?
and after i patch the kernel, i guess i have to rerun config and choose 'yes' to include that feature in the kernel. then i have to run make bzImage.
but if i don't add modules, i don't have to make modules and make modules_install, right? please say yes because it takes so long.
thanks.
 
Old 05-10-2004, 12:58 AM   #6
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Original Poster
Rep: Reputation: 30
the sound problem seems to have disappeared. i can listen to music now. but i hope it stays this way.
 
Old 05-10-2004, 01:29 AM   #7
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Original Poster
Rep: Reputation: 30
actually,

isn't the sound card supposed to be able to support multiple programs? in winxp, if i play a song in winamp, then play another in windows media player, i can listen to both at the same time.

right now, in mdk10, while a song is playing in xine, when i try to play in xmms, it says the sound card is busy.

when i look at the config for the kernel i'm running, it only has 'sound card support' and 'advanced linux sound architecture' as modules. the reason sound card support is a module because it says if i want to say yes, i'd have to have all the information about my sound card, and i didn't.

when i look at the 'servives' section in 'system' under 'configure your computer,' i see that sound is running and starts at boot, but alsa is stopped and doesn't start at boot.

is this good enough or should i make it better (i don't like to see the 'sound card is busy' message )? what should i do?

thanks.
 
Old 05-10-2004, 01:55 PM   #8
Muzzy
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo, Slackware
Posts: 333

Rep: Reputation: 30
Wow lots of questions!

Supermount patch - I have been using my modified Supermount patch for a while and it seems it interferes with hotplugging or something, I am not really sure. I get this error when I plug in a USB device:
Code:
SUPERMOUNT ERROR [dev=unknown] Unrecognized mount option "umask=000"
This suggests to me that my patch is broken (although it seems to work fine for cds). Anyway I did a little research and found this website which looks promising:
http://members.optusnet.com.au/ckolivas/kernel/
and in particular
http://ck.kolivas.org/patches/2.6/2....io3-sng204.bz2
sng = Supermount-ng. I'm not sure what the schedioprio3 is about, but presumably it is some other patch. I might give this a go later.

You probably don't need to recompile your modules, but maybe you do, I don't know! I always do it just to be safe. You don't need to recompile your kernel if you are only adding modules. You should find that you can deactivate most modules and just keep the ones you actually use, which speeds up compile time dramatically, from maybe an hour to about ten minutes. There's no point compiling modules that you will never load.

As for your music+video, I get the same problem. Not sure what the solution is there unfortunately! let me know if you find out

Mark.
 
  


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
Problems with sound card and DVD/CDROM drive Vlcice Linux - Software 1 12-29-2004 08:26 PM
Newbie Slackware CDROM & Sound Problems SML Slackware 4 02-18-2004 02:18 PM
new compiled Kernel but CDROM filenames changed fbarre Linux - Newbie 3 08-29-2003 07:50 PM
CDROM-Root and Sound problems Pantherman Slackware 3 04-08-2003 10:00 PM
cdrom troubles with newly compiled kernel N_A_J_M Linux - General 9 12-09-2002 04:14 AM


All times are GMT -5. The time now is 08:10 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