From alsa-devel-owner@alsa.jcu.cz  Sun Feb 14 12:35:18 1999
Received: from entry.jcu.cz (IDENT:perex@entry.jcu.cz [160.217.1.111])
	by marvin.jcu.cz (8.9.1a/8.9.1) with SMTP id MAA09171;
	Sun, 14 Feb 1999 12:33:51 +0100
Date: Sun, 14 Feb 1999 12:33:51 +0100 (CET)
From: Jaroslav Kysela <perex@jcu.cz>
To: Tuomas Heino <iheino@cc.hut.fi>
cc: alsa-devel@alsa.jcu.cz, alsa-user@alsa.jcu.cz
Subject: Re: current CVS: snd: unable to register major device number 14
In-Reply-To: <Pine.OSF.3.96.990214112637.11962B-100000@alpha.hut.fi>
Message-ID: <Pine.LNX.3.96.990214120546.6456A-100000@entry.jcu.cz>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

On Sun, 14 Feb 1999, Tuomas Heino wrote:

> Is this a known problem? ;)
> (and no, I don't have OSS/Free / OSS/Linux loaded; both load & unload gracefully)
> Feb 14 11:22:35 bx3 kernel: snd: unable to register major device number 14
> Feb 14 11:22:35 bx3 insmod: /lib/modules/2.2.1/misc/snd.o: init_module: Device or resource busy
> ... I think pre3:ish versions didn't have that prob

I'm afraid that I see this sort of bugs. I'm looking for various
conditions in the ALSA driver code, but I don't see any bug.
It seems that users use wrong configuration.

Please, check also if 'make install' command copies ALSA driver modules to
right location to /lib/modules/*. It's important mainly for some pre
versions of kernel (like 2.2.2ac2 etc..).

I need help from users in this point.

2.2.0+ kernels:

1) You must have soundcore.o module compiled from standard kernel tree.
   It means select sound support in kernel (first line in menuconfig
   is enough)!!!
2) If you have more soundcards, please, apply soundcore-2.2.1.patch
   from alsa.jcu.cz:/pub/driver directory to the kernel.
3) If something doesn't work, you may check if LINUX_2_2 is defined
   correctly in include/driver.h file. ALSA driver mustn't request
   char major number 14 for 2.2.0+ kernels!!!
   The message 'unable to register major device number 14' mustn't
   appear with 2.2.0+ kernels!!! I really don't know where is bug.

2.0.0+ kernels:

1) You must disable kernel sound support.

Please, follow INSTALL file in both cases.

I really appreciate e-mail like 'I solved this problem.'. Thank you.

							Jaroslav

-----
Jaroslav Kysela <perex@jcu.cz>
Academic Computer Centre, University of South Bohemia
Branisovska 31, C. Budejovice, CZ-370 05 Czech Republic



