On Wed, Jan 16, 2002 at 09:44:14AM +0800, Wayne Chan wrote: > Hi, > > Just some info for Slackware-8.0 users that I have discovered. > > For those who install the kernel 2.4.5 image and source, please note that > the kernel is compile with "/dev file system support" enable under "File > systems". > > This create a problem when compiling alsa driver. Alsa config will assuming > that devfs will be automatically mounted at boot. So after compiling and > install the alsa drivers, when you do a modprobe, the alsa driver will tries > to create the "/dev" directory under devfs (Under normal case, "/dev" should > be at /proc/asound). So without this "/dev" directory, even though you see > the driver loaded correctly, there will no sound and all alsa utilities > throw out error like "mixer not found" blah blah blah. > > Solutions: Before compiling alsa drivers, do either > > 1) With kernel 2.4.5 and higher source, > - do "make menuconfig". > - Unselect "/dev file system support" under file system. > - Save and exit > - do "make dep" > (Recompile of kernel not necessary)
recompilation of the kernel would be necessary since you are going to have to compile that kernel for not having that support. any other previous kernels, unless you had compiled them yourself, will have DevFS support and loadable at boot time (Pat V. throws in a monolithic kernel for stock installation). > Or > > 2) Recompile kernel with "/dev file system support" AND "Automatically mount > at boot" enable. > (Note: Slackware-8.0 have already prepared /etc/rc.S to mount devfs > whenever necessary) This totally has worked for me since alsa 0.5.10. If you're enabling DevFS support, it will have to be started BEFORE you do your modprobe for the alsa module. If not, it'll croak, or you'll have to use ./snddevices to create the device before doing the modprobe. It's best that if you do use DevFS that you SHOULD enable it at boot time. (there is no reason for you to NOT mount it at boot time.) BTW.. make xconfig works wonders. :) BL. -- Brad Littlejohn | Email: [EMAIL PROTECTED] Unix Systems Administrator, | [EMAIL PROTECTED] Web + NewsMaster, BOFH.. Smeghead! :) | http://www.wizard.com/~tyketto PGP: 1024D/E319F0BF 6980 AAD6 7329 E9E6 D569 F620 C819 199A E319 F0BF
msg01607/pgp00000.pgp
Description: PGP signature