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.
I'm mounting up small problems with my Slackware. I've been very happy with it until I bought a new VGA card: Asus card based on NVIDIA fx 5700.
I couldn't make it work with slack 10 standard kernel 2.4.26. When starting X the computer just hung up. I didn't even get Xserver log in /var/log/. X had been working fine with my NVIDIA MX-card. I recompiled the NVIDIA driver but it didn't help.
So I install kernel 267 + modules + headers from slack 10 cd 2. Now I get 3D acceleration BUT:
1) I lose sound. When I start kde it says that it can't find /dev/dsp. What should I do with this?
2) I lose printing. When using 2.4.26 kernel I had modules parport, parport_pc and lp loaded. Now they don't load when I start kernel 2.6.7. What should I do with this problem?
I'll enclose my modprobe.conf and lsmod and a bit of rc.modules
---------------------------------------------------------------
and modprobe.conf
alias eth0 8139too
alias eth1 e100
alias char-major-195* nvidia
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.5 ---
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---
--------------------------------------------------------------------
#### PC parallel port support ###
if cat /proc/ksyms | grep "\[parport_pc\]" 1> /dev/null 2> /dev/null ; then
echo "parport0 is built-in, not loading module" > /dev/null
else
if [ -r /lib/modules/$RELEASE/misc/parport_pc.o \
-o -r /lib/modules/$RELEASE/misc/parport_pc.o.gz \
-o -r /lib/modules/$RELEASE/kernel/drivers/parport/parport_pc.o \
-o -r /lib/modules/$RELEASE/kernel/drivers/parport/parport_pc.o.gz ]; then
# Generic setup example:
/sbin/modprobe parport_pc
# Hardware specific setup example (required for PLIP and better
# performance in general):
#/sbin/modprobe parport_pc io=0x378 irq=7
fi
fi
#### Parallel printer support ###
if cat /proc/ksyms | grep "\[lp\]" 1> /dev/null 2> /dev/null ; then
echo "lp support built-in, not loading module" > /dev/null
else
if [ -r /lib/modules/$RELEASE/misc/lp.o \
-o -r /lib/modules/$RELEASE/misc/lp.o.gz \
-o -r /lib/modules/$RELEASE/kernel/drivers/char/lp.o \
-o -r /lib/modules/$RELEASE/kernel/drivers/char/lp.o.gz ]; then
/sbin/modprobe lp
fi
fi
I'm guessing you lost sounds because the ALSA drivers were compiled for the previous kernel version. They version of the ALSA drivers has to match the kernel version. So, the version you currently have installed were compiled against the 2.4.26 kernel. You need to acquire and install either the Slack .tgz files for the ALSA drivers that pertain to your kernel -- or better yet, download the required source files from www.alsa-project.org and build them yourself. You will have to do this every time you install a new kernel, but then again, you'll get the latest and greatest sound drivers without having to rely on someone else to build and publish the .tgz versions.
You seem to have nailed the printing problem down. I had this problem when I first moved to the 2.6.x kernel. The easiest way to solve the problem is to put the following in your /etc/rc.d/rc.local file:
/sbin/modprobe parport_pc
/sbin/modprobe lp
The parport_pc module will load both parport_pc and parport. If you decide to build the ALSA drivers from source, you may also need to add the correct "modprobes" for that as well to the rc.local file.
thanks for advice. I actually kompiled myself a 2.6.9 kernel and I seem to have got it all back. I know there's a problem with NVIDIA and 2.6.9, but I think I'll get that solved too pretty soon.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.