LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-25-2003, 07:08 PM   #16
patientzero
Member
 
Registered: Aug 2003
Location: Toronto
Distribution: Gentoo 1.4
Posts: 95

Original Poster
Rep: Reputation: 15

Yeah, aparently I need the stuff in the main /alsa dir to build the referenced echomixer.c in the /alsa/pci/echomixer dir ...

Makes no sense to me...

If i run it, I get a :

echoaudio # cc -Wall `gtk-config --libs` `gtk-config --cflags` -lasound pci/echoaudio/echomixer.c -o Emixer
gcc: pci/echoaudio/echomixer.c: No such file or directory

Yay

Maybe there are problems with gcc/gtk ?
 
Old 09-25-2003, 07:12 PM   #17
patientzero
Member
 
Registered: Aug 2003
Location: Toronto
Distribution: Gentoo 1.4
Posts: 95

Original Poster
Rep: Reputation: 15
BLoody hell

I replied to my own post already and it didnt show up...

Uh,

Yeah if I don't run that line from /alsa but from /alsa/pci/echomixer (where the echomixer.c file is) which referes to the /alsa/pci/echomixer dir anyways, then i get a no such file blah blah...

lol sounds like a plan

Could i have a gcc/gtk error?
 
Old 09-25-2003, 07:14 PM   #18
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
I dont think so. what version of gcc are you with? there was a problem with gcc-3.3.1-r2, but that was taken down after a bit (and after I screwed half my system compiling updates against it)

it wont work from the ./echoaudio dir because -lasound pci/echoaudio/echomixer.c is expected to be under that.

so long as ./pci/echoaudio/echomixer.c is directly underneath ./alsa-driver-0.9.6 it _should_ be working.

what package did you emerge to get this echomixer thing?

I'm getting drunk and had to update this.... my support skills are going down the loo LITERALLY!!!!!

Last edited by fatgod; 09-25-2003 at 07:16 PM.
 
Old 09-25-2003, 07:23 PM   #19
patientzero
Member
 
Registered: Aug 2003
Location: Toronto
Distribution: Gentoo 1.4
Posts: 95

Original Poster
Rep: Reputation: 15
Basically, I have a pro-studio sound card t oallow me to record in 24bit+/96khz+ I want to get the fack out of winblows an into linux using ardour.

Here is a link to the instructions I am following to get this to work (it has worked in Red Hat, but I don't understand gentoo's module stuff like I do RH's)

http://space.virgilio.it/g_pochini@virgilio.it/ea.html

So basically what I do, is a grab the latest alsa driver and then the two latest echo audio drivers (supplied by that html) uncompress the alsa (doing this in my user dir /home/patientzero) then from within that dir I do a tar xvjf ../ea*** and ../eag*** then i type in a patch ocmmand and blah blah bah get everything installed...

problem 1 is that i have no idea how to unload the emuk10k1 stuff (i have two sound card in my pc, an sblive platinum for fun and the echo for work) as i just want to use my echo card period in linux for playback and recording. in redhat, i just made my modules.conf look like this:

alias eth0 3c59x
alias scsi_hostadapter advansys
alias usb-controller usb-ohci
alias usb-controller1 ehci-hcd
#alias sound-slot-0 echoaudio
#post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
#pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
options 3c59x irq=11
alias char-major-195 nvidia
post-install snd-mixart /usr/bin/mixartloader
#alias sound-slot-1 emu10k1
alias snd-card-0 snd-echoaudio
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-12 snd-pcm-oss

so...

but i dunno how to work with gentoo's stuff... so..

=\
 
Old 09-25-2003, 07:54 PM   #20
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
I've never had to delve into module stuff really but anyway...

do you really need to unload emuk10k1? If you compiled it as a module then you can 'rmmod' it. It seems as though I've got mine compiled into the kernel so I don't know the module name.

Is it in /etc/modules.autoload.d/kernel-2.4 ? asuming that your still using a 2.4 kernel... you can # it out from here.

gentoo also has a modules.conf thats full of alias' have you modded this?
 
Old 09-25-2003, 07:58 PM   #21
patientzero
Member
 
Registered: Aug 2003
Location: Toronto
Distribution: Gentoo 1.4
Posts: 95

Original Poster
Rep: Reputation: 15
Yes I need to kill emuk10k1 ... i don't think i can rmmod it... i think it's kernel based which sucks ass... but I need it gone for my card to work....

There is nothing in kernel-2.4 :

# /etc/modules.autoload.d/kernel-2.4: kernel modules to load
when system boots. # $Header: /home/cvsroot/gentoo-src/rc-
scripts/etc/modules.autoload.d/kernel-2.4,v 1.1 2003/03/09
09:06:23 azarah Exp $ # # Note that this file is for 2.4 kernels.
If you need different modules # for a 2.5 kernel, you can create
/etc/modules.autoload.d/kernel-2.5 # # Add the names of modules
that you'd like to load when the system # starts into this file,
one per line. Comments begin with # and # are ignored. Read man
modules.autoload for additional details.

# For example:
# 3c59x
nls_iso8859-1
nls_cp437
vfat
fat
ppp_synctty
ppp_async
ppp_generic
slhc
nvnet
3c59x
floppy
serial
isa-pnp
usb-storage
hid
usb-ohci
ehci-hcd
usbcore
nvidia
 
Old 09-25-2003, 08:03 PM   #22
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
ok then why dont you go and modify your kernel source and make emuk10k1 a module and just dont load it?

can you recomplie your kernel? ie, do you know how? it's easy when you know how...
 
Old 09-25-2003, 08:05 PM   #23
patientzero
Member
 
Registered: Aug 2003
Location: Toronto
Distribution: Gentoo 1.4
Posts: 95

Original Poster
Rep: Reputation: 15
Don't even have a clue for that one....

The more I look at things the more I think reinstall... but I also had a rough time during the gentoo install so... =\
 
Old 09-25-2003, 08:12 PM   #24
patientzero
Member
 
Registered: Aug 2003
Location: Toronto
Distribution: Gentoo 1.4
Posts: 95

Original Poster
Rep: Reputation: 15
Why don't we do this through instant messaging instead of running through webbrowsers and evolution every 5 sec ?

patientzero_x@hotmail.com
 
Old 09-25-2003, 08:23 PM   #25
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
NONONONONONONO reinstall is bad man... your showing your former windowsness there If you can install gentoo you can do anything in linux for gods sake.

kernel compilation is easy.

look... do this ....

cd /usr/src/linux
make menuconfig
(whoa the menu you have is your kernel options )
goto Sound
then change Creative SBLive from a '*' to 'M'
and then recompile your kernel.

quit and save the changes.
then, dude, you just do this...

Follow the instructions from step 16.5 in the Gentoo install instructions

Or....

"mount /boot"
"make dep && make clean bzImage modules modules_install"
"cp /usr/src/linux/arch/i386/boot/bzImage /boot"

And dont load the module into /etc/modules.autoload.d

Luck bro

BTW you heard odf a trance mob called Talamasca?
 
Old 09-25-2003, 08:25 PM   #26
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
BTW I work with savagemindz
 
Old 09-25-2003, 08:29 PM   #27
patientzero
Member
 
Registered: Aug 2003
Location: Toronto
Distribution: Gentoo 1.4
Posts: 95

Original Poster
Rep: Reputation: 15
;P Small blue planet ....

So to clarify, is recompiling my kernel the

"mount /boot"
"make dep && make clean bzImage modules modules_install"
"cp /usr/src/linux/arch/i386/boot/bzImage /boot"
part?

I am having problems killing gdm... i do a /etc/init.d/xdm stop and it says xdm was not started...
 
Old 09-25-2003, 08:34 PM   #28
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
almost....

do all this as root.
cd /usr/src/linux
make menuconfig
--Choose your options, ie goto 'Sound' then change Creative SBLive from a '*' to 'M' then quit
then
"mount /boot"
"make dep && make clean bzImage modules modules_install"
"cp /usr/src/linux/arch/i386/boot/bzImage /boot"

And stuff gdm, it dont matter whats running

Do you use lilo?

cause if you do then run "lilo" after all that )

Last edited by fatgod; 09-25-2003 at 08:35 PM.
 
Old 09-25-2003, 09:23 PM   #29
patientzero
Member
 
Registered: Aug 2003
Location: Toronto
Distribution: Gentoo 1.4
Posts: 95

Original Poster
Rep: Reputation: 15
so that was a horrible idea...

the emu module was already "M" but it doesn't appear to be loading fro manywhere so I excluded it... saved my old config and so forth.... mount /boot didn't work because my boot is not a separate drive... didn't bother runnin lilo

reboot to a completely useless command line... linux doesnt load anything, no net drivers, nothing... tells me it does load nvidia though...

so i'm worse off than before!

yay!

=\
 
Old 09-25-2003, 10:32 PM   #30
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
if you use lilo then you need to run /sbin/lilo at the end, i suggest though not going the generic route that way, always have a working backup kernel

nano -w /etc/lilo.conf

now add a second lilo entry exactly the same as the first but change the label, not when you do the cp dont just do /boot use /boot/bzImage-uniquenameforyourkernel
and then use that instead of /boot/bzImage in your second lilo entry at the end run /sbin/lilo thsi way you keep a working system and if your new kernel works then you can get rid of the old entry in order to get a working system again i suggest going to /usr/src/ and doing an ls if theres more than one entry besides /usr/src/linux then go into each and do "make dep clean bzImage" then copying both kernels into /boot the way it was explained before wiht more than one entry in lilo this way at least one of them should be your old kernel if that doesnt work then you need to learn more about compiling your own kernel or else give us as much detail as possible about your system and we may be able to make a working config file that you can use to make a new kernel
-good luck
 
  


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
nvidia gentoo freezes rjwhite Linux - General 8 08-10-2005 06:45 PM
nvidia on gentoo issue... tarionyx Linux - Hardware 2 07-03-2005 09:46 PM
gentoo resolution / nvidia pureevil4 Linux - Distributions 5 04-09-2004 04:40 AM
hate it,but - nVidia problem WannaLearnLinux Linux - Newbie 3 01-26-2004 03:34 AM
Gentoo NVIDIA error dalek Linux - General 2 10-15-2003 10:31 PM


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