View previous topic :: View next topic |
Author |
Message |
Maheriano l33t
Joined: 18 Jun 2005 Posts: 623 Location: Calgary, Alberta
|
Posted: Wed Jul 13, 2005 12:49 am Post subject: |
|
|
Oh no, I can't MAKE anything, see my post https://forums.gentoo.org/viewtopic-t-358628-highlight-.html. Now I'm worse off than ever.
And also, by lspcia, did you mean type that into the Konsole? Nothing happened, it said command not found. I could probably figure this out with some research, but I really appreciate you helping me. |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Wed Jul 13, 2005 1:13 am Post subject: |
|
|
Maheriano,
it isn't lspcia, but lspci. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
Maheriano l33t
Joined: 18 Jun 2005 Posts: 623 Location: Calgary, Alberta
|
Posted: Wed Jul 13, 2005 1:52 am Post subject: |
|
|
My mistake.
tux ~ # lspci
0000:00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03)
0000:00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)
0000:00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
0000:00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82)
0000:00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02)
0000:00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
0000:01:0b.0 Communication controller: Agere Systems (former Lucent Microelectronics) V.92 56K WinModem (rev 03)
0000:01:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) |
|
Back to top |
|
|
Maheriano l33t
Joined: 18 Jun 2005 Posts: 623 Location: Calgary, Alberta
|
Posted: Wed Jul 13, 2005 4:15 am Post subject: |
|
|
NeddySeagoon wrote: | Maheriano,
That proves you dont have any sound modules made for your kernel.
They could still be built in though.
Follow the ALSA guide to install the sound things. If you find yourself in make menuconfig, trying to choose things that are already set to [*] your kernel is OK. If the settings are [ ], change the required ones to [M]
When you are done with make menuconfig, providing you have only changed settings from [ ] to [M] you need only do
Code: | make modules
make modules_install | to compile and add the modules to those alredy built.
Do not emerge alsa-drivers, the kernel modules are used instead.
To tell you which hardware module you need, I need to see your lspci output. |
I tried following the guide at http://www.gentoo.org/doc/en/alsa-guide.xml but the very first thing, "genkernel --menuconfig" doesn't work. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Wed Jul 13, 2005 5:12 pm Post subject: |
|
|
Maheriano,
You must be the root user and you probably need to
You only use genkernel at this step if you used genkernel to make your Gentoo kenrel when you installed.
I have never run genkernel but I do know it has problems on some systems.
Saying that somethings doesn't work doesn't yor readers diagnose the problem. Saying I typed xxx and got this error yyy...
is very useful. The error text may not mean much to you yet (it will) butu it hlps your helpers to pinpoint the problem.
You should always post errors as exactly as possible. Copy and past is preferred, say if you have retyped them, typos can creep in. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Maheriano l33t
Joined: 18 Jun 2005 Posts: 623 Location: Calgary, Alberta
|
Posted: Wed Jul 13, 2005 6:09 pm Post subject: |
|
|
NeddySeagoon wrote: | Maheriano,
You must be the root user and you probably need to
You only use genkernel at this step if you used genkernel to make your Gentoo kenrel when you installed.
I have never run genkernel but I do know it has problems on some systems.
Saying that somethings doesn't work doesn't yor readers diagnose the problem. Saying I typed xxx and got this error yyy...
is very useful. The error text may not mean much to you yet (it will) butu it hlps your helpers to pinpoint the problem.
You should always post errors as exactly as possible. Copy and past is preferred, say if you have retyped them, typos can creep in. |
haha, you'd never say I have a computer degree or that I troubleshoot the networks for Telus! I know exactly what you're talking about, I'll copy and paste the errors from now on, no troubles. I'm going to try it the way you suggested soon as I get home from work. Thanks. |
|
Back to top |
|
|
Maheriano l33t
Joined: 18 Jun 2005 Posts: 623 Location: Calgary, Alberta
|
Posted: Thu Jul 14, 2005 3:20 am Post subject: |
|
|
Here is a printout of the command as root....
tux linux # genkernel --menuconfig
Gentoo Linux Genkernel 3.1.5
Usage:
genkernel [options] all
Some useful options:
--menuconfig Run menuconfig after oldconfig
--no-clean Do not run make clean before compilation
--no-mrproper Do not run make mrproper before compilation,
this is implied by --no-clean.
For a detailed list of supported options and flags; issue:
genkernel --help |
|
Back to top |
|
|
Gnomaana n00b
Joined: 14 Jul 2005 Posts: 4
|
Posted: Thu Jul 14, 2005 3:52 pm Post subject: |
|
|
Maheriano wrote: | Here is a printout of the command as root....
tux linux # genkernel --menuconfig
Gentoo Linux Genkernel 3.1.5
Usage:
genkernel [options] all
|
You need to run genkernel --menuconfig all
Gnomaana |
|
Back to top |
|
|
Maheriano l33t
Joined: 18 Jun 2005 Posts: 623 Location: Calgary, Alberta
|
Posted: Thu Jul 14, 2005 6:19 pm Post subject: |
|
|
Can anyone confirm this? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Thu Jul 14, 2005 6:33 pm Post subject: |
|
|
Maheriano,
Did you use genkernel to make your kernel originally ?
If not do not use it now. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Maheriano l33t
Joined: 18 Jun 2005 Posts: 623 Location: Calgary, Alberta
|
Posted: Thu Jul 14, 2005 6:43 pm Post subject: |
|
|
Yes I did. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Thu Jul 14, 2005 7:16 pm Post subject: |
|
|
Maheriano,
The Code: | genkernel --menuconfig all | command is correct for you now. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Gnomaana n00b
Joined: 14 Jul 2005 Posts: 4
|
Posted: Thu Jul 14, 2005 10:05 pm Post subject: |
|
|
Maheriano wrote: | Here is a printout of the command as root....
tux linux # genkernel --menuconfig
Gentoo Linux Genkernel 3.1.5
Usage:
genkernel [options] all
Can anyone confirm this? |
That is what the Usage: line is telling you.
Gnomaana |
|
Back to top |
|
|
Maheriano l33t
Joined: 18 Jun 2005 Posts: 623 Location: Calgary, Alberta
|
Posted: Fri Jul 15, 2005 1:36 am Post subject: |
|
|
So do I just match all the settings exactly to what they list there? I thought the issue with the sound card was that it wasn't picking up what kind I have, not that it's configured incorrectly. Will this fix that? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Fri Jul 15, 2005 12:52 pm Post subject: |
|
|
Maheriano,
genkernel is used to compile your kernel
make menuconfig allows you to configure your kernel yourself, or at least, fix the things that genkernel does that you don't want.
For ALSA to work you need to make sure you have:-
Device Drivers -> Sound then choose
Sound card support
Advanced Linux Sound Architecture
Sequencer support
Sequencer dummy client
OSS Mixer API
OSS PCM (digital audio) API
OSS Sequencer API
RTC Timer support
Do not choose any of the debug options.
On the PCI devices and/or USB devices and/or ISA Devices menus,
choose your hardware device(s)
Go back the the Open Sound System menu and ensure it is off. You have selected OSS emulation in ALSA above. You may not use both ALSA and real OSS at the same time.
lspci will show your sound hardware, unless its ISA or USB. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Maheriano l33t
Joined: 18 Jun 2005 Posts: 623 Location: Calgary, Alberta
|
Posted: Sun Jul 17, 2005 2:59 am Post subject: |
|
|
I changed all the settings the way you have it and tried to run alsaconf to configure the ALSA drivers like the website says, but it didn't work. Here is a printout of what I typed as root and what I got as a result.
tux linux # alsaconf
-bash: alsaconf: command not found
tux linux # cd
tux ~ # alsaconf
-bash: alsaconf: command not found |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Sun Jul 17, 2005 3:11 am Post subject: |
|
|
Maheriano,
the following indicates that alsaconf is part of the alsa-utils package.
Code: | atl64 ~ # which alsaconf
/usr/sbin/alsaconf
atl64 ~ # equery belongs /usr/sbin/alsaconf
[ Searching for file(s) /usr/sbin/alsaconf in *... ]
media-sound/alsa-utils-1.0.9a (/usr/sbin/alsaconf)
atl64 ~ # |
You must therefore emerge alsa-utils. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
Maheriano l33t
Joined: 18 Jun 2005 Posts: 623 Location: Calgary, Alberta
|
Posted: Sun Jul 17, 2005 3:33 am Post subject: |
|
|
I remember seeing this on page 4....
Do not emerge alsa-driver.
and I thought it was alsa-utils, that's why I didn't do that. Good to know, thanks. |
|
Back to top |
|
|
Maheriano l33t
Joined: 18 Jun 2005 Posts: 623 Location: Calgary, Alberta
|
Posted: Sun Jul 17, 2005 3:43 am Post subject: |
|
|
RESULT OF ALSACONF
No supported PnP or PCI card found.
Would you like to probe legacy ISA sound cards/chips?
Did this unearth a bigger problem? |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Sun Jul 17, 2005 3:59 am Post subject: |
|
|
That means that none of the available ALSA drivers works with your soundcard. I believe that alsaconf only tries the compiled modules. If so, all modules that you chose not to compile, were not tested. Did you enable Device Drivers -> Sound -> ALSA -> ALSA -> PCI devices -> Intel/SiS/nVidia/AMD/ALI AC97 controller? _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
Maheriano l33t
Joined: 18 Jun 2005 Posts: 623 Location: Calgary, Alberta
|
Posted: Sun Jul 17, 2005 4:04 am Post subject: |
|
|
Yes, it is.
I remember setting up Gentoo before the compile of the kernel and pretty much guessing my sound card stats just to see if I could get the platform running. Obviously that could do it (though I could have guessed correctly, not sure), but can I check and see what type of sound card I had configured it for? And maybe change it? |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Sun Jul 17, 2005 4:22 am Post subject: |
|
|
Are you sure you selected it as a module <M> instead of compiling in the kernel <*>? You should compile it as a module. If you have to change the config, don't forget to recompile your kernel, reinstall the drivers, copy the kernel to /boot, updating GRUB and rebooting the system. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
Maheriano l33t
Joined: 18 Jun 2005 Posts: 623 Location: Calgary, Alberta
|
Posted: Sun Jul 17, 2005 4:52 am Post subject: |
|
|
jmbsvicetto wrote: | Are you sure you selected it as a module <M> instead of compiling in the kernel <*>? You should compile it as a module. If you have to change the config, don't forget to recompile your kernel, reinstall the drivers, copy the kernel to /boot, updating GRUB and rebooting the system. |
I had a *, not a M so I changed it. Now how do I compile the kernel while I'm using it, and what do I type? How do I reinstall the drivers? How do I copy the kernel to /boot? How do I update GRUB? How do I reboot.....wait, nevermind, I know that one! |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Sun Jul 17, 2005 5:52 am Post subject: |
|
|
Maheriano wrote: | Now how do I compile the kernel while I'm using it, and what do I type? How do I reinstall the drivers? How do I copy the kernel to /boot? How do I update GRUB? How do I reboot.....wait, nevermind, I know that one! |
Humm! Let me give you detailed instructions.
Code: | # cd /usr/src/linux
# make menuconfig
# make && make modules_install
# cp arch/i386/boot/bzImage /boot/kernel-version-gentoo
# cp System.map /boot/System.map-version-gentoo
# cp .config /boot/config-version-gentoo
# nano -w /boot/grub/grub.conf |
Update your existing boot option or add a new one. It's always a good idea to keep a backup kernel in case you have a problem with the new one.
Any more questions? _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
Maheriano l33t
Joined: 18 Jun 2005 Posts: 623 Location: Calgary, Alberta
|
Posted: Sun Jul 17, 2005 7:07 pm Post subject: |
|
|
I think I might have used i686 instead of i386, is that possible? And what do I do with grub.conf? It looks fine. |
|
Back to top |
|
|
|