SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
this is extented from another thread called "mixer fails". why?? because, during the time, i was going through the process in solving my sound, accidentally, i met another problem for my agp.
Q1. noticed that, my i810_rng is unused from the lsmod prompting. why?? do i need to do something to make it working? FYI, i am using kernel .23. and then, how do i interelated it to the x-windows graphic?? i am quite confusing?? pls explain...and also, when, i launch my gxine for vcd, i cant really make it fullscreen. it halts as soon as i turn it into fullscreen mode.
Q2. how can i know the modules i have i compiled into my kernel? how do i list them all?
about the gxine problem: It dies every time I got to fullscreen on every computer I have installed it on...possible bug? Xine works fine in fullscreen though.
mi6: but, my xine-ui seems to be the same as gxine... not working at fullscreen though....
PEACEDOG: yes i configured. my ques is that, how come my i810_rng module is unused??? but then, my x-windows still working?? so, what is the logic?? u get what i mean???
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
Quote:
PEACEDOG: yes i configured. my ques is that, how come my i810_rng module is unused??? but then, my x-windows still working?? so, what is the logic?? u get what i mean???
my first thought is that your sys is using the generic drivers that slack installs by default. i'm not sure on this as i have yet had the need to recompile a kernel (i should probaly do that soon as it will add to my learning and to my ability to help here in these forums.). i may be mistaken here (if i am, could a linux ninja educate us both), but, if the module is not being used then x is running on something (possibly the generic driver) other than the driver/module for the i810. outside of those thoughts i'll need to search around and see what i can find to help you, and, educate myself. as slow as i type some may have already answered your ? ha!
good luck till we next meet.
sorry to be no more help.
this is extented from another thread called "mixer fails". why?? because, during the time, i was going through the process in solving my sound, accidentally, i met another problem for my agp.
Q1. noticed that, my i810_rng is unused from the lsmod prompting. why?? do i need to do something to make it working? FYI, i am using kernel .23. and then, how do i interelated it to the x-windows graphic?? i am quite confusing?? pls explain...and also, when, i launch my gxine for vcd, i cant really make it fullscreen. it halts as soon as i turn it into fullscreen mode.
Q2. how can i know the modules i have i compiled into my kernel? how do i list them all?
A1. The i810_rng is Intel Random Number Generator. I don't think you need this, but it won't hurt to have it compiled into your kernel. It's not in my current kernel. I have an Asus P4PE mobo with that chipset. I disabled the onboard sound in CMOS and installed a SoundBlaster Audgiy ES PCI soundcard.
I don't know what you mean (interelate it to the x-windows graphic), but don't be concerned about i810_rng anymore. That is not a problem for you.
I know nothing whatsoever about gxine. Start a thread with your gxine questions only, after you have searched LQ and www.google.com/linux first, and I think you will get better answers for that.
A2. You can know the modules you have compiled into your kernel by the command ->
# lsmod
which you've already run. From that I can tell that you have the module for a SoundBlaster card and not the module for the onboard Intel i810 sound chip. This is my lsmod ->
I have read your other thread (mixer fails) and learned some more about your situation. I think you may actually have 2 separate problems. I also know it's not easy communicating in a second language. I'm from the U.S.A., but living in China. I am still learning Chinese, but I couldn't ask questions in a forum in Chinese.
Please answer these questions, as I think I can help you ->
What motherboard do you have?
What soundcard do you have? If it's the onboard soundcard, then all you need to do is go to -> http://www.alsa-project.org/alsa-doc...odule=intel8x0
and use that information to install ALSA. The reason you get the error ->
alsamixer: function snd_ctl_open failed for default: No such device
is because ALSA is not installed in your new kernel. That's an easy problem to solve. If your soundcard is the onboard Intel i810, then that document will tell you all you need to do to get it fixed. If you have a PCI soundcard that you installed, just list which one it is and we can give you the ALSA link to make it work.
What graphics card do you have?
When you post this, I think we can help you get it all worked out.
I, too, am learning Linux - as we say in China, "man man lai" - little by little. Have a great day!
thanks, chinaman... i am a malaysian, but speaking mandirin. "man man lai" is a bit tolerance to my machine... i cant wait anymore...it should be "kuai yi dian" BUT, anyway i am totally enjoy it...
>>What motherboard do you have?
i cant remember the name of the motherboard, i know, i have a lauzy branded motherboard. i had it when i was in uni first year... during that time, i was dumb of computer, then i just simply bought one for doing assignment... moreover, i was not a CS student, actually, i was a EE student....old story... now, i am pretty regret and wish to buy another...anyway, this is a taiwanese product, really cant remember right now, but, i can check it when i get home...
>>What soundcard do you have?
i bought a soundblaster live 5.1 soundcard a few year ago.. and i remembered i had disable the built-in sound system.
last night, i just uncommented /etc/rc.d/rc.modules for sblaster part. then, my mixer was working perfectly, but, when i prompted alsamixer, it was still giving me this: alsamixer: function snd_ctl_open failed for default: No such device..(FYI: i was in .23 kernel)
but, this wouldnt happen, when i loaded my slack9.1 with kernel 2.6test11.. alsamixer was showing me some bars of adjusting sound for my speaker, CD and etc.....
>>What graphics card do you have?
i dont have a good graphic card.. bcz i didnt play game at all...so, i am using the onboard graphic... i am sure my graphic is intel 810 chipset..more specifically it is Intel Corp. 82810E DC-133 CGC [Chipset Graphics Controller] (rev 03). i saw this on kernel 2.6 's menuconfig setting.. but, it is not in .23 yet....
Also, i have a winmodem, motorola sm56 which is totally not working after i wipe off my windows XP...
anyway, how can i know a list of modules that compiled in my kernel??
i have a stupid way, during kernel compilation, "make modules_install", i redirected it to a file... so that i can keep refering what are the modules in my current kernel...so, anyone knows how to view a list of modules that had compiled into my current kernel??
I am waiting for the brand and model of your motherboard, sound card, and video card. Since your motherboard is from Taiwan, let's pray that it is an Asus motherboard. They are the best.
I do think all of the SoundBlaster cards work with the emu10k1 module. You must install and configure the ALSA files, and not just enter the module in the kernel. ALSA is probably compiled in the 2.6 kernel, but I didn't see it in 2.4.23. If you look at the ALSA project page, and then pick your soundcard, and then follow those directions, I think it will work. Go to this page -> http://www.alsa-project.org/alsa-doc...ve_Labs#matrix
and see if your soundcard is there. Then get the latest ALSA files from the ALSA home page. You just need the driver, library, and utilities files. I had the SoundBlaster Live 5.1 card I bought here in China, but it said China Edition. It said it didn't work except in Windows Chinese Simplified Operating System only. And that is true, so I bought a SoundBlaster Audigy ES. I used the instructions for SoundBlaster Live and that worked! I think they all have the same emu10k1 chip.
Just a note. My onboard Intel i810 sound chip sounds just as good as the SoundBlaster Audigy ES. It just doesn't work as good in *nix with ALSA as it does in Windoze with the driver from Asus.
There are two ways (that I know) to get a list of your kernel modules. One is to run as root # lsmod. From man lsmod -> lsmod -- program to show the status of modules in the Linux Kernel. The other way is cat /proc/modules and it will give you the same output as lsmod.
If you want to know the other things that are built into the kernel, and not just installed as modules, the only way I know is to look at your .config file for your kernel. That will show you everything you selected. That file will be located in /usr/src/linux-2.4.23 or whatever the directory is for the kernel you are interested in looking at.
"Kuai yi dian" indeed! Quickly! Quickly! That's the battle cry! We must run from Micro$loth as quickly as we can!
Originally posted by yenonn anyway, how can i know a list of modules that compiled in my kernel??
i have a stupid way, during kernel compilation, "make modules_install", i redirected it to a file... so that i can keep refering what are the modules in my current kernel...so, anyone knows how to view a list of modules that had compiled into my current kernel??
I know one way to know which modules are compiled into the kernel.
No matter if you ever recompiled your kernel or if you're using the one which comes with slackware installation you should find some config- files in your /boot/ directory.
The one which your kernel is using now should be:
config-'uname -r' (where 'uname -r' is your kernel version, subversion, extraversion etc.)
If you read that file with any text editor (or just more/less it), you can have a look at which parts are compiled into the kernel or as a module or not set at all.
This is an example:
Code:
CONFIG_X86=y
# CONFIG_SBUS is not set
CONFIG_UID16=y
#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
#
# Loadable module support
#
CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not set
CONFIG_KMOD=y
When you see 'y' it means it's compiled into the kernel and when you see 'm' it's a module.
Originally posted by kc00l I know one way to know which modules are compiled into the kernel.
No matter if you ever recompiled your kernel or if you're using the one which comes with slackware installation you should find some config- files in your /boot/ directory.
The one which your kernel is using now should be:
config-'uname -r' (where 'uname -r' is your kernel version, subversion, extraversion etc.)
This is not necessarily true. I have recompiled my kernel, and I didn't put the config file into my /boot directory. The only config file there now is the one from the original Slackware 9.1 install, and it isn't the one I'm using. Look at this ->
Code:
mingdao@paul:~$ ls -aFlc /boot
total 4251
drwxr-xr-x 3 root root 384 Dec 7 18:25 ./
drwxr-xr-x 20 root root 456 Dec 11 22:26 ../
lrwxrwxrwx 1 root root 21 Dec 2 02:43 System.map -> System.map-ide-2.4.22
-rw-r--r-- 1 root root 609166 Dec 2 02:43 System.map-ide-2.4.22
-rw-r--r-- 1 root root 697857 Dec 7 18:23 System.map-new-2.4.23
-rw-r--r-- 1 root root 512 Dec 2 06:05 boot.0300
lrwxrwxrwx 1 root root 17 Dec 2 02:43 config -> config-ide-2.4.22
-rw-r--r-- 1 root root 38645 Dec 2 02:43 config-ide-2.4.22
-rw------- 1 root root 47104 Dec 7 18:25 map
lrwxrwxrwx 1 root root 18 Dec 2 02:43 vmlinuz -> vmlinuz-ide-2.4.22
-rw-r--r-- 1 root root 1226706 Dec 2 02:43 vmlinuz-ide-2.4.22
-rw-r--r-- 1 root root 1715369 Dec 7 18:19 vmlinuz-new-2.4.23
However, each of the .config files used for kernel compiles is in the /usr/src directory under the particular kernel version compiled, unless you specifically remove it ->
Code:
mingdao@paul:~$ ls -aFlc /usr/src
total 29146
drwxr-xr-x 7 root root 288 Dec 8 09:28 ./
drwxr-xr-x 20 root root 704 Dec 11 22:26 ../
-rw-r--r-- 1 root root 567 Dec 2 02:45 2.4.22.nat.diff
drwxr-xr-x 5 root root 536 Dec 8 10:35 alsa/
lrwxrwxrwx 1 root root 12 Dec 7 16:19 linux -> linux-2.4.23/
drwxr-xr-x 15 root root 584 Dec 2 02:54 linux-2.4.22/
drwxr-xr-x 15 573 573 712 Dec 7 18:14 linux-2.4.23/
-rw-r--r-- 1 root root 29832609 Dec 7 16:10 linux-2.4.23.tar.bz2
drwxr-xr-x 7 root root 168 Dec 2 02:43 rpm/
drwxr-xr-x 2 root root 432 Dec 2 02:45 xfs-2.4.22/
I have three kernels on this box. One is xfs-2.4.22 which has never been configured. The config file for it is at /usr/src/xfs-2.4.22/config-xfs-2.4.22. The second one is the kernel that Slack compiled on the initial install. It is located at /usr/src/linux-2.4.22/.config and also at /boot/config-ide-2.4.22. The third kernel is the one that I'm running. That config file is only located at /usr/src/linux-2.4.23/.config. If you read the config file in my /boot directory you will not see the configuration of kernel 2.4.23 that I am running.
When you look at the correct config file for your kernel with pico it will tell you what is built into your kernel with a (Y) and what is compiled as a module with (M). You must be looking at the correct config file, however. And lsmod is the proper command to tell you what modules are installed. That's where you'll see all the details for your soundcard. You won't actually see everything about the soundcard modules in the config file if you installed ALSA after you installed the new kernel.
I hope this clears up any confusion you may have as to which set of modules is loaded into your kernel.
i dont have any external video card..i think i am most probably using the onboard graphic. it is most probably intel graphic for 810 chipset..., i remembered when i was in windows xp, i always use Intel Graphics Driver for 810/810E/815/815E/815EM Chipsets.
last night, i wiped off slack9.1, reload a new one.... now, i have a clean slack9.1 and get ready for configuration...i hope u can help me a lot... thanks...for advices...
Don't be ashamed. Just use what you got - mei wenti! Your motherboard uses the Intel® 82810 & 82801AA chipset. I think it will be detected by the 2.4.22 kernel, and uses the vesa driver. If you have a x-window and desktop environment now when you enter startx, then you are probably okay. In a console do ->
$ glxgears
and post your output. It will be something like ->
Code:
mingdao@paul:~$ glxgears
11945 frames in 5.0 seconds = 2389.000 FPS
13966 frames in 5.0 seconds = 2793.200 FPS
13496 frames in 5.0 seconds = 2699.200 FPS
13603 frames in 5.0 seconds = 2720.600 FPS
13716 frames in 5.0 seconds = 2743.200 FPS
24687 frames in 5.0 seconds = 4937.400 FPS
13455 frames in 5.0 seconds = 2691.000 FPS
13566 frames in 5.0 seconds = 2713.200 FPS
Okay, you can use the new drivers at the ALSA site. Go to this link-> http://www.alsa-project.org/
and download the first three files ->
alsa-driver-1.0.0rc2.tar.bz2
alsa-lib-1.0.0rc2.tar.bz
alsa-utils-1.0.0rc2.tar.bz22
and then follow the instructions from this link -> http://www.alsa-project.org/alsa-doc...module=emu10k1
If you have problems following those instructions, let me know and I will copy and paste just the part you need.
When you get to the line that says ->
Code:
Now insert the modules into the kernel.
modprobe snd-emu10k1;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
that is almost the last thing. After that, just type alsamixer and unmute all the channels (you do this by moving the arrow keys to the different fields and unmute with the m key on your keyboard. Then, as root, do ->
# alsactl store
so that you settings will be saved and return when you reboot.
Quote:
i dont have any external video card..i think i am most probably using the onboard graphic. it is most probably intel graphic for 810 chipset..., i remembered when i was in windows xp, i always use Intel Graphics Driver for 810/810E/815/815E/815EM Chipsets.
You are correct. I put the chipset in this post up above. I think you will be okay with the vesa driver. If you still have problems, post your /etc/X11/XF86Config file and we'll look at it.
Quote:
last night, i wiped off slack9.1, reload a new one.... now, i have a clean slack9.1 and get ready for configuration...i hope u can help me a lot... thanks...for advices... [/B]
Now which kernel you are running? You can still do ->
$ lsmod
to see which modules are loaded in your kernel and ->
$ uname -r
if you aren't sure which kernel you're running.
I sure hope I can help you, too. If I can't there are many people here who know more than I who can help you.
Wo shui jiao. Dui bu qi - wo hen mang!
Last edited by Bruce Hill; 12-11-2003 at 11:21 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.