On Mon, 24 May 1999, Ali Onur UYAR wrote: > What this means is that, as the 16-bit dma channel you have to pass another > 8-bit dma channel that is instead of passing irq 5,6,7 etc. you have to pass > irq > 0,1,2,3 > At some point an error message is displayed, something similar to > "Bad dma channel." > Simply IGNORE THIS MSG. Everthing works fine once configuration is complete. > The message is displayed because the sb module expectes one 8-bit an another > 16-bit dma channel, but you have to pass teo 8-bit dma channels to the module.
Odd. All this time i've been passing dma16=5 to the sb module and everything worked fine. pnpdump (and windows, for that matter) gave the same number for 16-bit dma. insmod sb io=0x220 irq=9 dma=1 dma16=5 mpu_io=0x300 type=6 (the type=6 came from the soundcard manual, i'm not completely sure if the sb module uses it at all... or where i even got the option 'type' from) > Before invoking pnpdump, do not forget to remove all the sound modules first. > This was one of the mistakes I made. If you skip this step some of the irq's > might be marked as being used. and pnpdump will not produce the correct > results. > Using lsmod and rmmod may be helpful. If it's not too late, do the pnpdump before booting to a kernel that even has sound support. That way you can't have the modules causing problems. Check the output anyway, especially if you know what the numbers should be. > Summary > Install pci utils > pnpdump -c > /etc/isapnp.conf > Install the following modules: sb, sound. soundcore, uart401, opl3 adlib_card too. > Using insmod what I did for testing was > insmod soundcore > insmod sound > insmod uart401 > insmod sb irq=5 dma=1 dma16=3 io=0x220 mpu_io=0x330 Pull the numbers out of isapnp.conf, they could easily be different for your computer. > insmod opl3 io=0x388 Instead of the line above, i do this: modprobe adlib_card io=0x388 Probably a well-placed modprobe could be used in place of a good number of the other insmods, but i'm too lazy to mess around with it when it works ;) > Then > cat /dev/sndstat Just to check if things are sane. Another good check is to try playing a sound and see if it works! i do this every time i compile a new kernel (as well as checking net access and my printer)