LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-14-2007, 08:49 AM   #1
bmaamba
LQ Newbie
 
Registered: Dec 2006
Posts: 13

Rep: Reputation: 0
Help-2.4.33.7+v4l2patch=nosound(sb vibra 16)


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.

1.Am i correct?

2.dmesg using original kernel (last lines):
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
scsi singledevice 0 0 0 1
scsi singledevice 0 0 0 2
scsi singledevice 0 0 0 3
scsi singledevice 0 0 0 4
scsi singledevice 0 0 0 5
scsi singledevice 0 0 0 6
scsi singledevice 0 0 0 7
scsi singledevice 0 0 1 1
scsi singledevice 0 0 1 2
scsi singledevice 0 0 1 3
scsi singledevice 0 0 1 4
scsi singledevice 0 0 1 5
scsi singledevice 0 0 1 6
scsi singledevice 0 0 1 7
scsi singledevice 0 0 2 0
scsi singledevice 0 0 3 0
scsi singledevice 0 0 4 0
scsi singledevice 0 0 5 0
scsi singledevice 0 0 6 0
scsi singledevice 0 0 7 0
i8253 count too high! resetting..
isapnp: Scanning for PnP cards...
isapnp: SB audio device quirk - increasing port range
isapnp: Card 'Creative ViBRA16X PnP'
isapnp: 1 Plug & Play card detected total

dmesg using recompiled kernel (last lines):

usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
scsi singledevice 0 0 0 1
scsi singledevice 0 0 0 2
scsi singledevice 0 0 0 3
scsi singledevice 0 0 0 4
scsi singledevice 0 0 0 5
saa7134[0]/audio: audio carrier scan failed, using 5.500 MHz [default]
scsi singledevice 0 0 0 6
scsi singledevice 0 0 0 7
scsi singledevice 0 0 1 1
scsi singledevice 0 0 1 2
scsi singledevice 0 0 1 3
scsi singledevice 0 0 1 4
scsi singledevice 0 0 1 5
scsi singledevice 0 0 1 6
scsi singledevice 0 0 1 7
scsi singledevice 0 0 2 0
scsi singledevice 0 0 3 0
scsi singledevice 0 0 4 0
scsi singledevice 0 0 5 0
scsi singledevice 0 0 6 0
scsi singledevice 0 0 7 0

"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

Thanks
 
Old 07-14-2007, 03:00 PM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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).
 
Old 07-14-2007, 03:24 PM   #3
vyankey
LQ Newbie
 
Registered: Dec 2003
Distribution: Slackware 13.37
Posts: 7

Rep: Reputation: 0
After compiling new kernels I have always recompiled the modules, including the alsa-driver modules for the 2.4 kernels.
 
Old 07-23-2007, 11:37 PM   #4
bmaamba
LQ Newbie
 
Registered: Dec 2006
Posts: 13

Original Poster
Rep: Reputation: 0
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

lsmod (recompiled kernel):
Module Size Used by Not tainted
usbcore 56204 1
tuner 11848 1 (autoclean)
saa7134 68396 0 (unused)
video-buf 10560 0 [saa7134]
i2c-core 11876 0 [tuner saa7134]
soundcore 3396 0 [saa7134]
ir-common 1764 0 [saa7134]
input 3040 0 [saa7134 ir-common]
videodev 5888 3 [saa7134]
v4l2-common 3008 0 [saa7134]
v4l1-compat 11112 0 [saa7134]
ohci1394 23152 0 (unused)
ieee1394 40900 0 [ohci1394]
ide-scsi 9264 0
agpgart 13832 0 (unused)
apm 9324 2


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
 
Old 07-24-2007, 09:52 AM   #5
vyankey
LQ Newbie
 
Registered: Dec 2003
Distribution: Slackware 13.37
Posts: 7

Rep: Reputation: 0
I got mine from the source CD. You should be able to download the source from one of the Slackware mirrors.
 
Old 07-28-2007, 09:12 AM   #6
bmaamba
LQ Newbie
 
Registered: Dec 2006
Posts: 13

Original Poster
Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No Sound - ISA SB16 Vibra 16 creeve2007 Slackware 6 12-15-2006 04:18 AM
quake2 nosound Nille_kungen Linux - Games 1 01-18-2006 07:47 PM
another nosound with sblive (redhat 9) hesher Linux - Hardware 1 05-24-2004 09:19 PM
module for vibra 128 Cubix Linux - Hardware 0 08-03-2003 12:11 PM
Creative Vibra 16 NiM Linux - Hardware 4 07-04-2002 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration