Help on loading modules

Hello,
I've problem with module loading. Currently in my application we load all the modules at the start of the application. so any part of the application if needs a modules it will call using the following method currently
var oModule:IModule = mainApp.getModule('name');
oModule.getSomething('param");
so, the main app has the references to all the modules which are loaded at the start of the application.. but now, we are trying to make the module loading dynamic - load on demand.
So, the mainApp has to load the module which is asked by the app and give the reference back to the oModule(above example) after loading the module. In mean time i would like to show loading page(with flash 'loading' displayed). How do i achieve this?
Thanks

Using a dependency injection framework like Parsley and the Cairngorm 3 module library will help you a lot. You will be able to inject into each module the dependencies (object instances) it needs without having the shell app referencing the module (hence the inversion of control).
Here's what I have implemented to show a loading animation for each module (loaderprocessmc is a Flex component created from Flash CS3 that has animation frames ranging from 1 to 100; it has a nested movieclip called animation):
In each module mxml:
<mx:Module
    preloader="com.db.views.ProgressDisplay"
ProgressDisplay.mxml
<?xml version="1.0" encoding="utf-8"?>
<preloaders:DownloadProgressBar xmlns:preloaders="mx.preloaders.*"
    xmlns:mx="http://www.adobe.com/2006/mxml"
    xmlns:local="*">
    <mx:Script>
    <![CDATA[
        import flash.events.Event;
        import flash.events.ProgressEvent;
        import mx.events.*;
        import mx.preloaders.Preloader;
        import mx.preloaders.DownloadProgressBar;
        import mx.core.Application;
        private var loader:loaderprocessmc;    
        override public function set preloader( preloader:Sprite ):void
            preloader.addEventListener( ProgressEvent.PROGRESS , SWFDownloadProgress );
            preloader.addEventListener( Event.COMPLETE , SWFDownloadComplete );
            preloader.addEventListener( FlexEvent.INIT_PROGRESS , FlexInitProgress );
            preloader.addEventListener( FlexEvent.INIT_COMPLETE , FlexInitComplete );
            loader = new loaderprocessmc();
            loader.x = stageWidth  / 2 - (loader.width / 2);
            loader.y = stageHeight / 2 - (loader.height / 2);
            addChild(loader);
            loader.animation.stop();
        private function SWFDownloadProgress( event:ProgressEvent ):void
            var percent:uint = (event.bytesLoaded / event.bytesTotal) * 100;
            loader.animation.gotoAndStop(percent);
        private function SWFDownloadComplete( event:Event ):void {}
        private function FlexInitProgress( event:Event ):void {}
        private function FlexInitComplete( event:Event ):void
            dispatchEvent( new Event( Event.COMPLETE ) );
     ]]>
    </mx:Script>
</preloaders:DownloadProgressBar>

Similar Messages

  • In need of some help understanding load-modules.sh and the boot proces

    umm i was bored a little whiel ago, then i rememberd recent posts about how slow arch boots,,
    and also relating the an article in the wiki, about disabling load-modules.sh in variosu ways.
    then i got thinking, why remove functionality for just 10 seconds? why not make it faster;;
    i know, let's write it in C and see what we can get out of it.
    anyway, a couple questions.
    i looked in /lib/udev/load-modules.sh; where i encounter these lines;;
    depmods="$(/sbin/modprobe -i --show-depends $1)"
    depmods="$(echo $depmods \
    | sed "s#^insmod /lib.*/\(.*\)\.ko.*#\1#g" \
    | sed 's|-|_|g')"
    i'm sure i must be missing something. but is $depmods really supposed to be return 1 element, i.e $1. ?
    and where does /lib/initcpio/udev/load-modules.sh come into play.

    @phrakture:
    hmm, i wanna boot the system in dash now... *itch*itch* should i scratch it?
    @klixon:
    the script works perfectly as-is,
    there was an update about an hour ago or something.
    the line you refer to, was broken. i was just messing around with it
    to see ho much faster i could make it.
    i scratched it,
    it booted ok,
    except when it came boot start the gdm daemon at the end of the daemons array.
    i couldn't test if it booted any faster as bootchartd had syntax errors, same as the gdm issue
    ===========================================================================================
    update::
    if [ -n "$BLACKLIST" ]; then
    depmods="$(/sbin/modprobe -i -q --show-depends $1 | sed -e 's|-|_|g')"
    if [ -z "$depmods" ]; then
    /usr/bin/logger -p info "cannot find module $1"
    #echo "MISSING[ $1 ]"
    exit 1
    fi
    for blackmod in $BLACKLIST; do
    if [[ $depmods == *"/$blackmod.ko"* ]]; then
    /usr/bin/logger -p info "udev load-modules: $blackmod is blacklisted"
    #echo "BLACKLISTED[ $blackmod ]"
    exit 1
    fi
    done
    fi
    it appears that by doing the search the other way round, i.e
    check if there is a blacklisted mod as dependency as opposed to a mod is blacklisted
    doing so we can eliminate most of the sensitization
    and chain the remaining san. to the modprobe,
    long story short
    the code above appears to be about 1.6 times faster than the current implementation
    Last edited by kumico (2008-03-18 10:53:47)

  • [bumblebee] Failed to load module "nouveau" (module does not exist, 0)

    Hello my friends,
    bumblebee does not work for me. I installed bumblebee, nvidia, nvidia-utils, mesa-libgl, bbswitch-dkms ...
    # lspci
    00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
    00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
    00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
    00:04.0 Signal processing controller: Intel Corporation 3rd Gen Core Processor Thermal Subsystem (rev 09)
    00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
    00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
    00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
    00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
    00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
    00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
    00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
    00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
    00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
    00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
    00:1f.6 Signal processing controller: Intel Corporation 7 Series/C210 Series Chipset Family Thermal Management Controller (rev 04)
    01:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M / GT 620M/625M/630M/720M] (rev a1)
    03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6235 (rev 24)
    nVidia 620M at PCIBus 01.00.0
    First, nvidia is disabled by bbswitch.
    # cat /proc/acpi/bbswitch
    0000:01:00.0 OFF
    Then I execute the command
    # optirun -vv glxspheres
    [ 505.314018] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
    [ 505.315297] [DEBUG]optirun version 3.2.1 starting...
    [ 505.315938] [DEBUG]Active configuration:
    [ 505.316203] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
    [ 505.316421] [DEBUG] X display: :8
    [ 505.316552] [DEBUG] LD_LIBRARY_PATH:
    [ 505.316674] [DEBUG] Socket path: /var/run/bumblebee.socket
    [ 505.316788] [DEBUG] Accel/display bridge: auto
    [ 505.316900] [DEBUG] VGL Compression: proxy
    [ 505.317014] [DEBUG] VGLrun extra options:
    [ 505.317126] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
    [ 505.317295] [DEBUG]Using auto-detected bridge virtualgl
    [ 506.597122] [INFO]Response: No - error: [XORG] (EE) Failed to load module "nouveau" (module does not exist, 0)
    [ 506.597316] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "nouveau" (module does not exist, 0)
    [ 506.597448] [DEBUG]Socket closed.
    [ 506.597538] [ERROR]Aborting because fallback start is disabled.
    [ 506.597654] [DEBUG]Killing all remaining processes.
    Now, the nvidia is enabled.
    # cat /proc/acpi/bbswitch
    0000:01:00.0 ON
    # modprobe nvidia
    modprobe: FATAL: Module nvidia not found.
    /etc/bumblebee/bumblebee.config
    # Configuration file for Bumblebee. Values should **not** be put between quotes
    ## Server options. Any change made in this section will need a server restart
    # to take effect.
    [bumblebeed]
    # The secondary Xorg server DISPLAY number
    VirtualDisplay=:8
    # Should the unused Xorg server be kept running? Set this to true if waiting
    # for X to be ready is too long and don't need power management at all.
    KeepUnusedXServer=false
    # The name of the Bumbleblee server group name (GID name)
    ServerGroup=bumblebee
    # Card power state at exit. Set to false if the card shoud be ON when Bumblebee
    # server exits.
    TurnCardOffAtExit=false
    # The default behavior of '-f' option on optirun. If set to "true", '-f' will
    # be ignored.
    NoEcoModeOverride=false
    # The Driver used by Bumblebee server. If this value is not set (or empty),
    # auto-detection is performed. The available drivers are nvidia and nouveau
    # (See also the driver-specific sections below)
    Driver=
    # Directory with a dummy config file to pass as a -configdir to secondary X
    XorgConfDir=/etc/bumblebee/xorg.conf.d
    ## Client options. Will take effect on the next optirun executed.
    [optirun]
    # Acceleration/ rendering bridge, possible values are auto, virtualgl and
    # primus.
    Bridge=auto
    # The method used for VirtualGL to transport frames between X servers.
    # Possible values are proxy, jpeg, rgb, xv and yuv.
    VGLTransport=proxy
    # List of paths which are searched for the primus libGL.so.1 when using
    # the primus bridge
    PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
    # Should the program run under optirun even if Bumblebee server or nvidia card
    # is not available?
    AllowFallbackToIGC=false
    # Driver-specific settings are grouped under [driver-NAME]. The sections are
    # parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
    # detection resolves to NAME).
    # PMMethod: method to use for saving power by disabling the nvidia card, valid
    # values are: auto - automatically detect which PM method to use
    # bbswitch - new in BB 3, recommended if available
    # switcheroo - vga_switcheroo method, use at your own risk
    # none - disable PM completely
    # https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
    ## Section with nvidia driver specific options, only parsed if Driver=nvidia
    [driver-nvidia]
    # Module name to load, defaults to Driver if empty or unset
    KernelDriver=nvidia
    PMMethod=auto
    # colon-separated path to the nvidia libraries
    LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
    # comma-separated path of the directory containing nvidia_drv.so and the
    # default Xorg modules path
    XorgModulePath=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules
    XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
    ## Section with nouveau driver specific options, only parsed if Driver=nouveau
    [driver-nouveau]
    KernelDriver=nouveau
    PMMethod=auto
    XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
    /etc/bumblebee/xorg.conf.nvidia
    Section "ServerLayout"
    Identifier "Layout0"
    Option "AutoAddDevices" "false"
    Option "AutoAddGPU" "false"
    EndSection
    Section "Device"
    Identifier "DiscreteNvidia"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BusID "PCI:01:00:0"
    # If the X server does not automatically detect your VGA device,
    # you can manually set it here.
    # To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
    # as you see in the commented example.
    # This Setting may be needed in some platforms with more than one
    # nvidia card, which may confuse the proprietary driver (e.g.,
    # trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
    # BusID "PCI:01:00:0"
    # Setting ProbeAllGpus to false prevents the new proprietary driver
    # instance spawned to try to control the integrated graphics card,
    # which is already being managed outside bumblebee.
    # This option doesn't hurt and it is required on platforms running
    # more than one nvidia graphics card with the proprietary driver.
    # (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
    # If this option is not set, the new Xorg may blacken the screen and
    # render it unusable (unless you have some way to run killall Xorg).
    Option "ProbeAllGpus" "false"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
    EndSection
    What is wrong? Thanks so much for help!

    Just did a downgrade and it's working again, here are my versions.
    linux 3.9.9-1
    linux-headers 3.9.9-1
    nvidia 319.32-2
    nvidia-utils 319.32-1
    bbswitch 0.7-4
    If you have conflicts, I found it easiest to remove those (bbswitch, virtualbox in my case), downgrade linux and then install the appropriate  bbs/vb packages

  • Could not load Module... A known bug in Logic Pro 7.3 with Snow Leopard?

    I know this issue has been discussed before, but on my brand new MacBook Pro it's still an issue, so can someone please help me out with this?
    Here goes:
    Loading Logic 7.2.3 in Snow Leopard:
    The previously selected audio interface is not available
    The built-in audio inputs and outputs of the computer will be used instead for this session.
    <ok>
    Could not load Module "FW-1884" (-43)
    <cancel>
    Could not load Module "HUI" (-43)
    <cancel>
    Could not load Module "Logic Control" (-43)
    <cancel>
    Could not load Module "TranzPort" (-43)
    <cancel>
    Logic loads, and everything seems to work just fine.
    <selecting a plugin ---> Bass Amp>
    CoreAudio:
    Resource not found. (-10109)
    This happens no matter which plugin I choose - Bass Amp, EXS 24, ES1 etc…
    <Continue>
    The plugin loads, and works, but the display is in "Controls" Mode. Trying to switch to "Editor" Mode resulsts in the same error as above.
    Is there anyone out there who knows why this happens?
    Thanks
    Warbler

    Given that so many things are funky, I'd suspect that one or both of the following is occurring:
    1) Your Logic Pro application/installation is corrupt. Logic is failing loading control surface modules which should be in the application bundle. Reinstall.
    2) You have an incompatibility between Logic and the necessary system frameworks because Logic is too old/your system/OS is too new. You can't expect to hold back on an old version of an application and press forward with the OS (or vice versa) forever - eventually, something will break, and you'll have a large leap to get things working again.
    It's probably better to stay on the update train unless there is a specific reason to get off, or at least, freeze your computer/OS version at the same tim as you freeze your application.

  • Errors when using Spark Buttons in dynamically loaded modules loaded by dynamically loaded modules

    Ok ... I have to admit this issue is rather special ;-)
    I have a flex application that loads a list of modules after the user logs in, depending on the permissions of the user.
    One of these modules contains a component, that allows the user to configure settings for different types of objects.
    For each object type (can be extended) there exists one module swf.
    The strange problem I am having now is that as soon as a Spark Button (or anything derived from one ... CheckBox) inside the settings-module. I get the following error (unfortunately in german ... but I'll try to translate).
    This error happens when using a spark CheckBox (Which is derived from Spark Button):
    ArgumentError: Error #2004: Einer der Parameter ist ungültig.
    at flash.display::Graphics/drawRect()
    at mx.graphics::RectangularDropShadow/drawShadow()[E:\dev\4.x\frameworks\projects\framework\ src\mx\graphics\RectangularDropShadow.as:575]
    at mx.skins.spark::BorderSkin/updateDisplayList()[E:\dev\4.x\frameworks\projects\sparkskins\ src\mx\skins\spark\BorderSkin.mxml:174]
    at mx.core::UIComponent/validateDisplayList()[E:\dev\4.x\frameworks\projects\framework\src\m x\core\UIComponent.as:8709]
    at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.x\frameworks\projects\framework \src\mx\managers\LayoutManager.as:663]
    at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.x\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:718]
    at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.x\frameworks\projects \framework\src\mx\managers\LayoutManager.as:1072]
    When having a look at the problem the cause is that width and height are not set (NaN).
    If I use a plain Button I get the same error in "drawRoundRect".
    As soon as I change back to a mx-Button/Checkbox, everything is fine.
    In my current Case I wanted to use a custom TreeItemRenderer to display a CheckBox in the tree. This tree Item renderer is included in a custom Lib that is used by all modules.
    I have one Second Level module using this renderer. I have one Third Level Module thas uses the exact same tree definition. If I use the MX CheckBox I get CheckBoxes in the Second- and Third-Level Module. If I use the Spark-CheckBox I get a CheckBox in my Second Level Module and the above Error in the Third Level Module.
    To make everything even stranger: I have a custom component loading my modules and I use this in the Top Level Module to load the Second Level Modules and in my Second Level Module to load my Third Level Modules (So I would guess If my loader is broken, then the Second Level Modules should not work either).
    Help is greatly appreciated :-)
    Regards,
          Chris

    Ok, I managed to find out what was going wrong and to get my stuff working again. I have to admit that I have no idea why my application / flex was showing this behaviour. The only way I could track this down was by undoing the Subversion checkins one by one. Finding out what was happening using common sense seems to be out of the question with this issue.
    My application is built up of a main application swf that loads module swfs and a library swc that contains common stuff and is used in the main application and the modules.
    I now had some custom TreeItemRenderers in my modules. The problem was caused by moving a custom TreeItemRenderer from one module to the library-swc. I could successfully reproduce this. If I add only one class extending TreeItemRenderer to my library (I don't even have to use it), the entire flex system goes haywire. As soon as I remove that class, everything is ok. I checked, if there might be a problem with third party libs containing flex core classes which might be used instead of the sdk ones, but after looking at the catalogs of the third party swcs I couldn't find a reference to TreeItemRenderer.
    Any Ideas? I sort of dislike the idea of being able to run into such strange problems. Is there a tool that allows me to check for class compatibility issues?

  • How to unload dynamically loaded modules?

    Hi,
    I have a problem with unloading module, which I loads dynamically.
    Here is a fragment my code:
    <TitledWindow .......creationComplete="init()"/>
    <mx:Accordion id="lista_ryzyk">
    </mx:Accordion>
    <mx:Script>
    public function init():void
    {    CairngormEventDispatcher.getInstance().addEventListener(LoadRisksEvent.EVENT_RESULT, populateAccordion);
    public function populateAccordion(event:CairngormEvent):void
         lista_ryzyk.removeAllChildern();
         for (i in risks)
              var m:ModuleLoader = new ModuleLoader();
              m.url = path_to_module;
              m.label = module_label;
              m.loadModule();
         lista_ryzyk.addChildAt(m,Number(i));
    </mx:Script>
    The modules loads fine. Each module adds own eventListener for some event. It works fine, but ONLY for first time. For next invoke populateAccordion function, the modules loads, but don't reacts for event. I investigate !!! that for events reacts that modules, which was loaded for the first time!!! How to remove it????

    Using array, didn't solve my problem, but it is possible that I'm doing something wrong.
    I still can't catch event in second time loaded module :-((( I have tried to solve this problem from wednesday! it goes me crazy!
    Could you, or anybody, try to inspect my code and help me? I have no idea how to manage it.
    I know exactly what is wrong, but I can't improve that. In module's creationComplete function I display the UID of this module, and in body of eventHandler function I do the same. In case of FIRST time  the displayed UID are the same, but when I load the module second time, the UID of the loaded module displayed in creationComplete function is new, but the UID displayed in handler function is the same as the first loaded module. So my event is catch by the wrong modul, and I don'tknow how to change it, how to process event in my newly loaded module.

  • /usr/lib/hpux64/dld.so: Unsatisfied code symbol 'pidbod' in load module

    Dear Gurus,
    Installation is cancelled at the phase DB creation due to the following error after oracle software installation.
    Oracle base software (10.2.0.1) is installed, patches (10.2.0.4) are applied. after this unable to login sqlplus
    with the following below error
    SQL*Plus: Release 10.2.0.4.0 - Production on Mon Jul 6 09:36:26 2009
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Enter user-name: /as sysdba
    /usr/lib/hpux64/dld.so: Unsatisfied code symbol 'pidbod' in load module '/oracle/GSP/102_64/bin/oracle'.
    ERROR:
    ORA-12547: TNS:lost contact
    Could you please guide us , what needs to be done to rectify this error.
    as long as sqlplus does not work, installation can not proceed further.
    Thanks and Regards
    Purna Chandra Rao.

    Hi,
    Check SAP Note 954896 - ORA-12547 connecting to sqlplus / as sysdba on AIX 5L
    SAP Note 505630 - Composite SAP Note ORA-12547
    Hope it helps
    Thanks
    Sunny

  • Error starting "app name": Error loading module "appname" Verify error

    I've downloaded 3 application on my device 9800.
    at last i've download one app from Blackberry App World.
    When i open that application, Its throws error.
    "Error starting "app name": Error loading module "appname" Verify error."
    I'm unble to open it. I've deleted and re install the app. Nothing has been help. I've tried to download others app. Its downloaded. But not open. the same problem has thrown.
    What is the problem. how to open it. Now, if i download new apps, its throws the same error, " *"Error starting "app name": Error loading module "appname" Verify error.""*
    Pls give a solution.

    Hi sgm_friends
                                  Have you tried a Battery Pull Restart  ?  As you are constantly getting that error and unable to open any Apps that you download then to rule out any Software issue please reload your device Software ,but do a complete Backup of your device before that :
    KB11320 : How to perform a clean reload of the BlackBerry Device software using BlackBerry desktop software for windows.
    I hope it will help.
    Prince
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • Failed to load module "record"

    I'm trying to install Arch Linux on my Dell GX270 with an Intel chipset I'm nusing the i686 version rather than the xf86_64 version. It has a 2.26 Ghz processor and 512mb RAM
    I've tried installing xorg and configured it with hwd -xa and such but when I do startx I get:
    (EE) Failed to load module "record" (module does not exist, 0)
    (EE) No devices detected
    lspci | grep VGA gives:
    00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
    Some other people seem to have had a similar problem but it was a problem with Nvidia chipsets and I have an Intel one. I tried commenting out the line of xorg.conf where it says to load module record as I've already had to comment the type1 one out but then it just says (EE) No devices detected.
    Can anyone help?

    It doesn't work from root either and gives the same error.
    I tried blacklisting it but it didn't seem to have any effect, and I don't really understand why it would. The problem is that it doesn't seem to exist.
    What does the module do anyway? I've never heard of it before and it just doesn't sound critical somehow. Googling it just returns this thread. Is it possible that the record module is just a minor thing like the type1 module which I had to comment out and the actual problem goes deeper?

  • Fails to load modules while lauching Xfce4 (SOLVED)

    When I type "startxfce4" I get something like this:
    Failed to load module: sis (module does not exist, 0)
    Failed to load module: vga (module does not exist, 0)
    Failed to load module: vesa (module does not exist, 0)
    Failed to load module: mouse (module does not exist, 0)
    Failed to load module: [AND_SOME_MORE] (module does not exist, 0)
    Fatal server error:
    no screens found
    Fatal IO error 104 (connecting reset by peer) on X server ":0.0"
    after 0 requests ( 0 known processed) o events remaining.
    I have no idea what it means (except that I miss some modules).
    /Richard

    those are xorg modules
    As xorg7 is modular, you'll need to install the modules you need. At least you should have for keyboard and mouse to work:
    pacman -S xf86-input-mouse xf86-input-keyboard
    Then you should have one for your video card
    pacman -S xf86-video-{your video}
    You can see which ones are available from
    pacman -Ss xf86-video
    Then you need to configure xorg if you haven't done so far.
    As root type 'xorgconfig' for a nice script to help you configure it.

  • Failed to load module "wfb"

    I just did a clean install and I get the message failed to load module "wfb" (module does not exist,0). I am using a Nvidia Gforce FX 5600 so it is supported by the latest drivers. Not sure where to find "wfb" module. Any help would be appreciated! Thanks!!! I searched this site and also google.com/linux and no help for my problem.
    Last edited by cphase (2007-02-20 00:30:12)

    Please do no cross-post:
    http://bbs.archlinux.org/viewtopic.php?id=30147

  • [SOLVED] "Loading Modules" Slow after Latest Upgrade (EeePC 901)

    After the latest upgrade, my EeePC is taking an incredibly long time (20+ seconds) at the "Loading Modules" stage of the boot process. I cannot find any error messages, and after the pause, the machine boots normally. This process used to be almost instantantaneous before the upgrade. The modules being loaded are rfkill and eeepc_laptop.
    Can anyone help?
    Thanks in advance
    Last edited by myrlin (2011-06-27 10:28:21)

    Hi Jason, thank you for helping me.
    Here is my rc.conf:
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
    # startup and during the boot process. If set to 'no', the C locale is used.
    # HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
    # in the hardware clock being left untouched (useful for virtualization)
    # Note: Using "localtime" is discouraged.
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    # VERBOSE: Verbose level (from 1 to 8). man 3 syslog for level info
    LOCALE="en_GB.UTF-8"
    DAEMON_LOCALE="no"
    HARDWARECLOCK="UTC"
    TIMEZONE="Europe/London"
    KEYMAP="uk"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    VERBOSE="3"
    # HARDWARE
    # MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
    # Replace every !module by an entry as on the following line in a file in
    # /etc/modprobe.d:
    # blacklist module
    # See "man modprobe.conf" for details.
    MOD_AUTOLOAD="yes"
    MODULES=(rfkill eeepc_laptop)
    # Udev settle timeout (default to 30)
    UDEV_TIMEOUT=30
    # Scan for FakeRAID (dmraid) Volumes at startup
    USEDMRAID="no"
    # Scan for BTRFS volumes at startup
    USEBTRFS="no"
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="eeepc"
    # Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
    # Wired network setup
    # - interface: name of device (required)
    # - address: IP address (leave blank for DHCP)
    # - netmask: subnet mask (ignored for DHCP)
    # - gateway: default route (ignored for DHCP)
    # Static IP example
    # interface=eth0
    # address=192.168.0.2
    # netmask=255.255.255.0
    # gateway=192.168.0.1
    # DHCP example
    # interface=eth0
    # address=
    # netmask=
    # gateway=
    interface=eth0
    address=
    netmask=
    gateway=
    # Setting this to "yes" will skip network shutdown.
    # This is required if your root device is on NFS.
    NETWORK_PERSIST="no"
    # Enable these netcfg profiles at boot-up. These are useful if you happen to
    # need more advanced network features than the simple network service
    # supports, such as multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This requires the netcfg package
    #NETWORKS=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    # If something other takes care of your hardware clock (ntpd, dual-boot...)
    # you should disable 'hwclock' here.
    DAEMONS=(syslog-ng dbus hal networkmanager privoxy netfs rfkill eeepc_laptop @ufw @crond @alsa !bluetooth @samba @cups)
    Here is my blacklist.conf (I have restored the framebuffer one):
    blacklist rt2800pci
    blacklist rt61pci
    blacklist rt2x00pci
    blacklist rt2800usb
    blacklist rt2800lib
    blacklist rt2x00usb
    blacklist rt2x00lib
    And here is the output of lsmod:
    Module Size Used by
    fuse 58669 3
    ipt_REJECT 2029 1
    ipt_LOG 6518 5
    xt_multiport 1498 2
    xt_limit 1423 7
    xt_tcpudp 1883 7
    xt_addrtype 2393 4
    nf_conntrack_ipv4 9601 7
    nf_defrag_ipv4 1023 1 nf_conntrack_ipv4
    xt_state 971 7
    ip6table_filter 1072 1
    ip6_tables 10461 1 ip6table_filter
    ipv6 249260 12
    nf_conntrack_netbios_ns 801 0
    nf_conntrack_broadcast 961 1 nf_conntrack_netbios_ns
    nf_conntrack_pptp 3857 0
    nf_conntrack_proto_gre 3241 1 nf_conntrack_pptp
    nf_conntrack 50208 6 nf_conntrack_ipv4,xt_state,nf_conntrack_netbios_ns,nf_conntrack_broadcast,nf_conntrack_pptp,nf_conntrack_proto_gre
    iptable_filter 1100 1
    ip_tables 9186 1 iptable_filter
    x_tables 11774 11 ipt_REJECT,ipt_LOG,xt_multiport,xt_limit,xt_tcpudp,xt_addrtype,xt_state,ip6table_filter,ip6_tables,iptable_filter,ip_tables
    btusb 9897 0
    bluetooth 115465 1 btusb
    uvcvideo 55020 0
    videodev 70734 1 uvcvideo
    media 8545 1 videodev
    joydev 7535 0
    snd_hda_codec_realtek 225687 1
    i915 557262 2
    snd_hda_intel 19261 1
    snd_hda_codec 66793 2 snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep 4919 1 snd_hda_codec
    drm_kms_helper 24245 1 i915
    snd_pcm 60311 2 snd_hda_intel,snd_hda_codec
    drm 147653 3 i915,drm_kms_helper
    uhci_hcd 19344 0
    snd_timer 15542 1 snd_pcm
    ehci_hcd 34847 0
    rt2860sta 479236 1
    intel_agp 8664 1 i915
    psmouse 55927 0
    snd 43527 8 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
    usbcore 119004 5 btusb,uvcvideo,uhci_hcd,ehci_hcd
    i2c_algo_bit 4431 1 i915
    iTCO_wdt 10333 0
    i2c_i801 7039 0
    serio_raw 3430 0
    pcspkr 1415 0
    sg 21022 0
    i2c_core 16665 6 videodev,i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
    evdev 7310 15
    intel_gtt 11417 3 i915,intel_agp
    crc_ccitt 1103 1 rt2860sta
    iTCO_vendor_support 1553 1 iTCO_wdt
    soundcore 5018 1 snd
    battery 8905 0
    processor 21884 0
    eeepc_laptop 12452 0
    atl1e 24804 0
    button 3654 1 i915
    sparse_keymap 2636 1 eeepc_laptop
    thermal 6603 0
    ac 2545 0
    video 9852 1 i915
    snd_page_alloc 5909 2 snd_hda_intel,snd_pcm
    pci_hotplug 21978 1 eeepc_laptop
    agpgart 22160 3 drm,intel_agp,intel_gtt
    rfkill 12510 2 bluetooth,eeepc_laptop
    ext4 334626 3
    mbcache 4321 1 ext4
    jbd2 59098 1 ext4
    crc16 1077 2 bluetooth,ext4
    sd_mod 25515 5
    ata_piix 18569 3
    pata_acpi 2396 0
    libata 154349 2 ata_piix,pata_acpi
    scsi_mod 110670 3 sg,sd_mod,libata
    I hope this all means more to you than it does to me!!!!

  • Loading modules from different domain

    when I load modules from the same location where is main application, everything is fine. But when modules are loaded from different adrress i got following error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
              at mx.utils::LoaderUtil$/isRSLLoaded()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\uti ls\LoaderUtil.as:525]
              at mx.utils::LoaderUtil$/http://www.adobe.com/2006/flex/mx/internal::processRequiredRSLs()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\utils\LoaderUtil.as:259]
              at mx.core::FlexModuleFactory/getRSLInfo()[E:\dev\4.5.1\frameworks\projects\framework\src\mx \core\FlexModuleFactory.as:582]
              at mx.core::FlexModuleFactory/update()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\cor e\FlexModuleFactory.as:470]
              at mx.core::FlexModuleFactory/moduleInitHandler()[E:\dev\4.5.1\frameworks\projects\framework \src\mx\core\FlexModuleFactory.as:819]
    any ideas what might be wrong?
    thanks for any help in advance

    This is a link to testing application:
    http://michalnpe.homeip.net:55001/bin-release/LoadModuleApp.html
    you can see source code of this app.
    Let's say we want to run module from different domain.
    so insert following address for crossdomain.xml and module (into TextInput in the applicataion above) .
    http://a2s.pl/crossdomain.xml
    http://www.a2s.pl/npe/softmgr/Michal/wymiana/TestModule.swf
    here is the code that loads the module:
    protected function loadModule(event:MouseEvent):void
                                            testloader.url = moduleAddress.text;
                                            //testloader.loadModule();
                                  public function setup():void { // run before loading modules
                                            Security.allowDomain("*");
                                            Security.loadPolicyFile(crossdomain.text);
                                            var request:URLRequest = new URLRequest(crossdomain.text);
                                            var loader:URLLoader = new URLLoader();
                                            loader.load(request);

  • Insuficient security privilege to load module.Agent in remote server contex

    *"Insuficient security privilege to load module.Agent in remote server contex"*
    This is the text that appears in the window, that is used to load a new module for a monitored host.
    I want to add the module that monitor File System Space.
    I logged whit the root user.
    I added the root user to all the groups, in the /etc/groups,
    and in the file /etc/passwd, ......
    someone can help me????''.......

    Hi Peter,
    PeterSteiner wrote:
    *"Insuficient security privilege to load module.Agent in remote server contex"*This has nothing to do with the security of the root user you're logging in as. Every Agent you install shares security with a single SunMC Server: although out-of-the-box it's visible (read-only) to other SunMC Servers. What that error message is telling you is that the Agent thinks the Server you logged into (i.e. from the Java Console or web interface) isn't the same primary Server the Agent shares security keys with. So it gives you read-only access... so you can see the existing modules but not load new ones.
    Look at the "Info" tab for that Agent in the Console. There's trap and event sections. Those sections show the hostname/IP that the Agent thinks is its primary Server. You likely logged into the wrong Server (if you have more than one) or the Agent is configured incorrectly.
    If the Agent is pointing to the wrong hostname/IP as its server you can re-run setup on that Agent, or edit the trap+event sections of the /var/opt/SUNWsymon/cfg/domain-config.x file and reseed/restart.
    Regards,
    [email protected]
    http://www.HalcyonInc.com
    New !! : http://forums.HalcyonInc.com !!

  • Can't load module: Out of memory or no room in system tables

    Hi,
    I had to install openSSH on Solaris 8. By default Solaris 8 doesn't have random devices. Moreover, that machine cannot be rebooted. Hence, I chose a patch which doesn't need a reboot if the random devices are created and the /kernel/drv/random module is force loaded.
    While force loading the module (modload /kernel/drv/random) I got the below error.
    " can't load module: Out of memory or no room in system tables "
    I have checked for the memory and there are no memory constraints. I need to force load the module.
    Could anyone help me out ?
    Thanx,
    Jaff

    I can see only 5 topics and all of them are very specific.
    Flash Install
    Live Upgrade
    Jumpstart
    Solaris Install from cd
    Solaris on x86
    Could you please suggest me the forum in which I need to post general help ?
    Thnx,
    Jaff

Maybe you are looking for

  • Automatic creation of Service Arrangements in SAP CRM 2007

    Dear all we're using SAP CRM Resource Planning with HCM integration, so get the Employee Master and requried Availability Info Types replicated from HCM via ALE. Unfortunately, between the creation of an Employee and the Time Distribution, a Service

  • Loading data from APO-BW cube into DP planning area

    Hello, Please explain to me how to load data from an infocube within APO into the DP planning area.  So far, I generated the data mart, created the update rules for the DP planning area (cube) and replicated data sources.  The problem that I am havin

  • Send Governor hanging issue on multiserver environment

    HI Experts, We really don't know how to overcome this send governor issue, in two days servers bounced 6 times to fix the send governor hanging isue. we are on BPC 7 MS, SP5, Multiserver environment(Two appservers and one database server)we have been

  • Recover emails with TC after reinstall off leopard disk

    if i reformat hd with leopard disk will i be able to recover emails using TC?

  • Hard Drive Of Zen Xtra problem... help me !

    After exactly 3months and 3 days the Zen Xtra went haywire. Exactly how ? How Should I explain it... I guess I should start by describing what happend. A few days ago , I was sitting down listening to my Zen when I heard this poping sound ... I sniff