I tried what RK suggested, but I still get:

I've been doing depmod -ae after compiling kernel modules all along
without problems.

Hmmm...my /proc/interupts does not mention a sound card, but
/proc/ioports does.  Is that normal?

Here's the output RK asked about (after editing /etc/modules.conf as
per RK and doing modprobe snd-card-emu10k1)

+++ lsmod
Module                  Size  Used by
snd-pcm-oss            36104   0  (autoclean) (unused)
snd-pcm                51416   0  (autoclean) [snd-pcm-oss]
snd-timer              11116   0  (autoclean) [snd-pcm]
snd-mixer-oss           9548   0  (autoclean) [snd-pcm-oss]
snd                    27764   0  (autoclean) [snd-pcm-oss snd-pcm snd-timer 
snd-mixer-oss]
ne2k-pci                5684   1 
8390                    6340   0  [ne2k-pci]
dummy                    992   0  (unused)
soundcore               4004   0  [snd]
--- lsmod

+++ /etc/modules.conf
### This file is automatically generated by update-modules
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modutils and read
# the manpage for update-modules.
#
### update-modules: start processing /etc/modutils/0keep
# DO NOT MODIFY THIS FILE!
# This file is not marked as conffile to make sure if you upgrade modutils
# it will be restored in case some modifications have been made.
#
# The keep command is necessary to prevent insmod and friends from ignoring
# the builtin defaults of a path-statement is encountered. Until all other
# packages use the new `add path'-statement this keep-statement is essential
# to keep your system working
keep

### update-modules: end processing /etc/modutils/0keep

### update-modules: start processing /etc/modutils/aliases
# Aliases to tell insmod/modprobe which modules to use 

# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off            # Unix
# alias net-pf-2 off            # IPv4
# alias net-pf-3 off            # Amateur Radio AX.25
# alias net-pf-4 off            # IPX
# alias net-pf-5 off            # DDP / appletalk
# alias net-pf-6 off            # Amateur Radio NET/ROM
# alias net-pf-9 off            # X.25
# alias net-pf-10 off           # IPv6
# alias net-pf-11 off           # ROSE / Amateur Radio X.25 PLP
# alias net-pf-19 off           # Acorn Econet

## +++ DLD Sun Dec 16 14:02:35 2001
path[boot]=/lib/modules/current/kernel/drivers/sound
path[boot]=/lib/modules/current/kernel/drivers/net
## ---

###alias char-major-116 snd
###alias snd-card-0 snd-card-emu10k1
###alias sound-service-0-1 snd-seq-oss
###alias sound-service-0-8 snd-seq-oss

alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=1
alias snd-char-0 snd-card-emu10k1

# OSS/Free setup
alias char-major-14 soundcore
alias sound-slot-0 emu10k1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-12 snd-pcm-oss

##alias char-major-10-135       softdog
alias char-major-10-175 agpgart
alias char-major-81     bttv
alias char-major-108    ppp_generic
alias /dev/ppp          ppp_generic
alias tty-ldisc-3       ppp_async
alias tty-ldisc-14      ppp_synctty
alias ppp-compress-21   bsd_comp
alias ppp-compress-24   ppp_deflate
alias ppp-compress-26   ppp_deflate

# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0 loop_gen
alias loop-xfer-3 loop_fish2
alias loop-xfer-gen-10 loop_gen
alias cipher-2 des
alias cipher-3 fish2
alias cipher-4 blowfish
alias cipher-6 idea
alias cipher-7 serp6f
alias cipher-8 mars6
alias cipher-11 rc62
alias cipher-15 dfc2
alias cipher-16 rijndael
alias cipher-17 rc5


### update-modules: end processing /etc/modutils/aliases

### update-modules: start processing /etc/modutils/paths
# This file contains a list of paths that modprobe should scan,
# beside the once that are compiled into the modutils tools
# themselves.

# This used to be quite a list, but upstream merged some Debian patches
# so we currently don't need to do anything here

### update-modules: end processing /etc/modutils/paths

### update-modules: start processing /etc/modutils/setserial
#
# This is what I wanted to do, but logger is in /usr/bin, which isn't loaded
# when the module is first loaded into the kernel at boot time!
#
#post-install serial /etc/init.d/setserial start | logger -p daemon.info -t 
"setserial-module reload"
#pre-remove serial /etc/init.d/setserial stop | logger -p daemon.info -t 
"setserial-module uload"
post-install serial /etc/init.d/setserial modload > /dev/null 2> /dev/null
pre-remove serial /etc/init.d/setserial modsave  > /dev/null 2> /dev/null

### update-modules: end processing /etc/modutils/setserial

### update-modules: start processing /etc/modutils/arch/i386
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram
alias binfmt-0064 binfmt_aout
##alias char-major-10-135 rtc

### update-modules: end processing /etc/modutils/arch/i386

--- /etc/modules.conf

+++ cat /proc/interrupts
           CPU0       CPU1       
  0:      74075      53851    IO-APIC-edge  timer
  1:       1510       1525    IO-APIC-edge  keyboard
  2:          0          0          XT-PIC  cascade
 12:        627        457    IO-APIC-edge  PS/2 Mouse
 14:       2711       2399    IO-APIC-edge  ide0
 15:          0          6    IO-APIC-edge  ide1
 19:          7          8   IO-APIC-level  eth0
NMI:          0          0 
LOC:     127842     127840 
ERR:          0
MIS:          0
--- cat /proc/interrupts

+++ cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(set)
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(set)
0cf8-0cff : PCI conf1
4000-403f : Intel Corp. 82371AB PIIX4 ACPI
5000-501f : Intel Corp. 82371AB PIIX4 ACPI
c000-c01f : Intel Corp. 82371AB PIIX4 USB
c400-c41f : Winbond Electronics Corp W89C940
  c400-c41f : ne2k-pci
c800-c81f : Creative Labs SB Live! EMU10k1
cc00-cc07 : Creative Labs SB Live!
d000-d007 : Triones Technologies, Inc. HPT366 / HPT370
d400-d403 : Triones Technologies, Inc. HPT366 / HPT370
d800-d8ff : Triones Technologies, Inc. HPT366 / HPT370
  d800-d807 : ide2
  d810-d8ff : HPT366
dc00-dc07 : Triones Technologies, Inc. HPT366 / HPT370 (#2)
e000-e003 : Triones Technologies, Inc. HPT366 / HPT370 (#2)
e400-e4ff : Triones Technologies, Inc. HPT366 / HPT370 (#2)
  e400-e407 : ide3
  e410-e4ff : HPT366
f000-f00f : Intel Corp. 82371AB PIIX4 IDE
  f000-f007 : ide0
  f008-f00f : ide1
--- cat /proc/ioports

[EMAIL PROTECTED] writes:

> From: [EMAIL PROTECTED]
> Subject: Re: [Fwd: [Alsa-user] EMU10K1]
> To: Derek L Davies <[EMAIL PROTECTED]>
> Date: Thu, 20 Dec 2001 23:24:13 -0600
> 
> Derek L Davies wrote:
> > 
> > [EMAIL PROTECTED] writes:
> > >
> > > I had the same problem, and if I remember correctly, I did not have a
> > > /lib/modules/<kernel-version>/misc   directory. I created the directory,
> > > recompiled the alsa drivers, libs and utils, and things began to work. I
> > > don't know which linux  distribution you are using but I'm using RedHat
> > > 7.1, and the misc directory was not there.
> > >
> > > If the misc dir is there, you might do a 'lsmod' and see if the snd
> > > module is loaded. If not you can do a 'insmod snd' to get it loaded.
> > >
> > > You don't need ISAPNP if you don't have any ISA cards installed.
> > >
> 
> > 
> > I've got a misc dir and I can load all the modules (by hand, in the
> > right order) until I get to snd-card-emu10k1, then I get "device busy"
> > or some such.  If I cut to the chase and do modprobe snd-car-emu10k1
> > then I get the same results.
> > 
> > But, I do have support isapnp even though I have no cards -- let me
> > take that away and see what happens.
> > 
> > Thanks,
> > Derek
> > 
> > --
> 
> To find what resources are being used:
> 
>       cat /proc/interrupts      (for the irq assignments)
>       cat /proc/ioports         (for the io port usage)
> 
> isapnp should not be an issue.
> 
> For the "device busy", make sure any original sound related
> entries are gone, so you only have the new alsa entries.
> 
> Your /etc/modules.conf should look something like this:
> 
> # ALSA Section
> alias char-major-116 snd
> options snd snd_major=116 snd_cards_limit=1
> alias snd-card-0 snd-card-emu10k
> 
> and if you want the OSS compatibilty:
> 
> # OSS/Free setup
> alias char-major-14 soundcore
> alias sound-slot-0 emu10k
> alias sound-service-0-0 snd-mixer-oss
> alias sound-service-0-1 snd-seq-oss
> alias sound-service-0-3 snd-pcm-oss
> alias sound-service-0-12 snd-pcm-oss
> 
> It might help to try doing a "depmod -a" before the modprobe.
> 
> If you have a mixer open, or anything sound related in use when you try
> to do the modprobe, you'll get "device busy"
> 
> If you want to send me an:
> 
>       lsmod
>       copy of your /etc/modules.conf
>       cat /proc/interrupts
>       cat /proc/ioports
> 
> I'll see if I can see anything that might be a show stopper.
> 
> RK
> 
> 
> -- 
> Randy Kelsoe
> Dae Richt, Fear Nacht
> ----------
> 

-- 

_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to