Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25661 - "Error loading emu10k1" at "Calculating module dependencies" at bootup
Summary: "Error loading emu10k1" at "Calculating module dependencies" at bootup
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-31 12:40 UTC by Benjamin Judas (RETIRED)
Modified: 2004-02-06 04:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/modules.autoload.d/kernel-2.4 (kernel-2.4,524 bytes, text/plain)
2003-07-31 12:41 UTC, Benjamin Judas (RETIRED)
Details
/etc/modules.autoload.d/kernel-2.4 (kernel-2.4,524 bytes, application/octet-stream)
2003-07-31 12:42 UTC, Benjamin Judas (RETIRED)
Details
/etc/modules.d/emu10k1 (emu10k1,101 bytes, text/plain)
2003-07-31 12:43 UTC, Benjamin Judas (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Judas (RETIRED) gentoo-dev 2003-07-31 12:40:31 UTC
Since I installed Kernel-2.6test1 I have a problem with the emu10k1 driver (not
the one from kernel or alsa - I am talking of the external driver "emerge emu10k1").

At bootup I get the message "Failed to load emu10k1". But a check says to me,
that the driver is loaded. The Problem seems to be /etc/modules.d/emu10k1 (see
attachment).

It looks like the post-install / pre-remove directives are causing this problem.
After the module is loaded, "emu10k1-script restore" should be called.

I can call that script directly from commandline, and it also works as it is
supposed to do. But it doesn't automatically at bootup.

I already tried to replace "emu10k1-script" with "emu-script" - no success.
I also reemerged the package - no success.

So what can I do? At the moment I have to run the script manually - otherwise I
won't have the possibility to change Bass/Treble-Settings.

Reproducible: Always
Steps to Reproduce:
n/a

Actual Results:  
see details

Expected Results:  
see details

n/a
Comment 1 Benjamin Judas (RETIRED) gentoo-dev 2003-07-31 12:41:50 UTC
Created attachment 15292 [details]
/etc/modules.autoload.d/kernel-2.4

the modules.autoload list
Comment 2 Benjamin Judas (RETIRED) gentoo-dev 2003-07-31 12:42:10 UTC
Created attachment 15293 [details]
/etc/modules.autoload.d/kernel-2.4

the modules.autoload list
Comment 3 Benjamin Judas (RETIRED) gentoo-dev 2003-07-31 12:43:44 UTC
Created attachment 15294 [details]
/etc/modules.d/emu10k1

/etc/modules.d/emu10k1
Comment 4 Benjamin Judas (RETIRED) gentoo-dev 2003-07-31 22:15:52 UTC
Before someone is asking : Yes, I did an update-modules, so the contents of /etc/modules.d/emu10k1 are present in /etc/modules.conf.

And btw : The problem occours with kernel-2.4.20-xfs-r3. I don't use the external emu10k1 with 2.6 (looks like ALSA is better there and also no 2.6-compatible Version of emu10k1 is available for 2.6 in tree)
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-06 04:51:16 UTC
The emu10k1 driver is not compatible with the 2.6 kernel yet... as for what's happening with 2.4, I'm guessing you probably don't have /usr mounted when the module runs.  This is because /etc/init.d/modules does not depend on /etc/init.d/localmount.  However, this needs to be the case as /etc/init.d/modules might load modules for the filesystems used by localmount.

So the solution is to put 'modprobe emu10k1' in /etc/conf.d/local.start or use hotplug.  Also, remove it from the modules.autoload.