Jaroslav Kysela wrote:

> On Wed, 31 Mar 2004, Clemens Ladisch wrote:
>
> > But now:
> >
> > # modprobe snd
> > modprobe: Too deep recursion in module dependencies!
> > modprobe: Circular dependency? snd-page-alloc snd
> >
> > snd_pci_compat_get_pci_driver() is called from
> > pci_compat_pm_callback() in misc.c.
>
> I don't see the circular dependency for this function.

Sorry, I didn't remember that snd-page-alloc should not depend on snd.

The circular dependency is caused by snd_pci_compat_request_region()
which calls request_region() which is #defined to be
snd_wrapper_request_region() in wrappers.c.

snd_pci_compat_request_region() clearly didn't intend to use the
wrapper function, so I added another wrapper function to call the
original function.


Now the modules load.  However, loading snd-usb-audio doesn't do
anything, and unloading and reloading it results in a crash or a hang.
Still debugging ...


Regards,
Clemens




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to