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.
Hi,
I req. some help. Slack 11(2.4 kernel).Ali1543 chipset,K6II 450. Recompiled after patching to 2.4.33.7 and v4l2(kraxel). Grub (n RPM) used. Can't get my ISA SB Vibra 16 sound card to work in the new kernel (OK in orig. kernel).Looked at 2 how-to's, but did not follow all the steps to the T...but have reinstalled alsa after booting to the new kernel:upgradepkg --reinstall /home/alsa.....(the alsa tgz copied from slack cd to /home first).These are the steps i differed from DrOzz' guide:
Now Its Time To Install Your New Kernel~!
--------------------------------------------
1. Remove the following links:
rm -rf /boot/System.map
rm -rf /boot/vmlinuz
2. Then copy the newly created kernel and system.map to /boot
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-x.x.x
cp /usr/src/linux/System.map /boot/System.map-x.x.x
3. Make the new links:
ln -s /boot/vmlinuz-x.x.x /boot/vmlinuz
ln -s /boot/System.map-x.x.x /boot/System.map
4.Edit Your /etc/grub.conf file (or menu.lst)
Exit and Save grub.conf
type "/sbin/grub-install"
My steps:
1.Using konqueror i followed only step 2.
2.For 4th step, only menu.lst was modified.
"isapnp" is not there in 2nd case.
In /lib/modules/2.4.33.3/kernel,there is a folder called "sound" ; but in /lib/modules/2.4.33.7vl2media/kernel, the "sound" folder was missing (even tho'i did not change anything in the SOUND part of the original .config file).I started investigating when alsaconf was terminated quite fast (i think w/o the legacy isa card screen coming up).I copied the "sound" folder from former location to the latter location. Now, when i alsaconf, the sound card (sb16) can be selected, but i get "No legacy cards found" (Even when either yes/no is selected to "try all poss. comb. of irq/dma) "
One more "sound" folder at /lib/modules/2.4.33.7vl2media/kernel/drivers is present in both cases.I have recompiled kernel atleast 6 times and in all cases pci_hotplug was not deselected in the .config file (i hope this is not a factor???).
3.If i want to upgrade to 2.4.34 kernel .Are the foll. steps correct:
1.D/l patches 2.4.33.1,2.4.33.2,2.4.33.3
2.patch -p1 -R < ../patch-2.4.33.3
3.patch -p1 -R < ../patch-2.4.33.2
4.patch -p1 -R < ../patch-2.4.33.1
5.patch -p1 < ../patch2.4.34
You should not remove the old patches. kernel patches are cumulative -to get from 2.4.33 to 2.4.33.4 you need to apply each patch in order and leave them (no -R).
Thanks Guys.
gnashley,i asked because when i patched 2.4.33.7 to 2.4.34 ,kernel compile did not work. Will try my method (and post the result here) if i am first successful in getting alsa to work for the recompiled kernel 2.4.33.7vl2media.
vyankey,where do i get the alsa 1.0.11 source? D/l alsa-driver-1.0.11_2.4.33.3-i486-1.gz from a link in slackware site...this isn't the source, isn't it (it has same size as the .tgz on the cd)?
Or will the latest alsa do (if yes, won't the libs,etc. have to be the latest)?
lsmod (ibare2.4.33.3):
Module Size Used by Not tainted
snd-seq-oss 23104 0 (unused)
snd-seq-midi-event 3208 0 [snd-seq-oss]
snd-seq 33552 2 [snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 28928 0 (unused)
snd-mixer-oss 11928 0 [snd-pcm-oss]
snd-sb16 6728 1
snd-pnp 2864 0 [snd-sb16]
isa-pnp 29328 0 [snd-sb16 snd-pnp]
snd-sb16-dsp 5560 0 [snd-sb16]
snd-sb16-csp 14632 0 [snd-sb16]
snd-sb-common 7676 0 [snd-sb16 snd-sb16-dsp snd-sb16-csp]
snd-opl3-lib 5636 0 [snd-sb16]
snd-hwdep 4156 0 [snd-sb16-csp snd-opl3-lib]
snd-mpu401-uart 3120 0 [snd-sb16]
snd-rawmidi 12224 0 [snd-mpu401-uart]
snd-seq-device 3716 0 [snd-seq-oss snd-seq snd-opl3-lib snd-rawmidi]
snd-pcm 52804 1 [snd-pcm-oss snd-sb16 snd-sb16-dsp]
snd-timer 13168 0 [snd-seq snd-opl3-lib snd-pcm]
snd 34304 0 [snd-seq-oss snd-seq-midi-event snd-seq snd-pc m-oss snd-mixer-oss snd-sb16 snd-sb16-dsp snd-sb16-csp snd-sb-common snd-opl3-li b snd-hwdep snd-mpu401-uart snd-rawmidi snd-seq-device snd-pcm snd-timer]
snd-page-alloc 4980 0 [snd-seq-oss snd-seq snd-mixer-oss snd-sb16-cs p snd-sb-common snd-hwdep snd-rawmidi snd-seq-device snd-pcm snd-timer snd]
soundcore 3300 8 [snd]
usbcore 56812 1
ohci1394 23568 0 (unused)
ieee1394 41156 0 [ohci1394]
ide-scsi 9392 0
agpgart 45092 0 (unused)
apm
I tried putting "isapnp" in /etc/rc.local....no difference in dmesg....maybe i have to put options like conffile for isapnp??? Anyone?
BTW (for a noobie's benefit), after applying the kraxel patch and compiling, i got only 2 errors:in /usr/src/linux/drivers/media/video, in bttv-driver.c (i think) there was a syntax error ( had to delete 2 dots- no mention of this in .rej file). In bttv-if.c, had to manually delete last 2 lines (also syntax error,i think). Of course, all .rej's files were manually checked/compared first.
Regards
Thanks once again vyankey. Success (thanks to a post by a member "flyfishin".)
For benefit of newbies:
1.Boot from newly compiled kernel.
1.D/l (or find it in cd4 or5) alsa-driver folder ( 1.0.11 source) from ftp://dl.xs4all.nl/pub/mirror/slackw...11.0/source/l/ (thanks to Bruno from scotfinnie forums) to /home (no need to compile alsa-utils, alsa-oss, etc.).
2.cd to above directory.Untar the bz2 file.(tar xvjf alsa-driver-1.0.11.tar.bz2)
3.At the command line type: sh alsa-driver.SlackBuild
4.Step 3 creates a new alsa-driver....tgz file in /tmp. Go to /tmp and do an upgradepkg --reinstall alsa-driver...tgz
5.alsaconf/alsamixer/alsactl restore.
Regards
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.