How do build hooks (mkinitcpio) work?

Firstly, from the way I understand it (from the wiki) , hooks are a convenient way of automatically adding necessary kernel modules without running dkms after each kernel update. Coming from Ubuntu, I guess this is a must for a rolling release with kernels updating every day.
I set up two custom hooks, bbswitch abd nvidia, as I am building custom kernels. I then downloaded a tarball for linux-ck from the AUR, and built and installed it myself.
The problem is, even after that, the custom hooks do not appear to work. I had installed broadcom-wl and broadcom-wl-ck, nvidia and nvidia-ck, and when I boot into my new kernel, I have to manually reinstall the ck versions, at which point they work under linux-ck and stop working in default Arch kernel.
Aren't hooks supposed to take care of managing this so that I don't have to reinstall modules everytime?

falconindy wrote:Using mkinitcpio hooks to build kernel modules is entirely unsupported by the mkinitcpio developers (mostly me). It's intended to build your initramfs, not out of tree kernel modules. This is what dkms is for...
Hi thanks for clarifying. After more reading, I think mkinitcpio builds initramfs, which needs to be rebuilt on every update of  the current kernel. But when I switch kernels, I suppose I need to get new kernel modules as the old ones give me exec format error.
Hmm, I would have like to automate as well. Maybe the nvidia-hook can auto install optional nvidia drivers listed in the new kernel package?

Similar Messages

  • How do I  hook up Koss CS 100 voice recognition headset to my iMac and make it work?

    I just got a Koss CS 100  voice recognition headset to hook up to my iMac.  It has 2 plugs 3.5mm diameter (one for the mic and one for the earphones.  I cannot get the mic to work.  I have tried
    Preferences > Sound > input > audio port line in ....external microphone does not work
    Preferences > Dictation and Speech > line in  (and in automatic as well)......Ext Mic does not work
    I have tried every possible combo of above. 
    How do I make these work with my iMac so I may improve speech recognition for transcription of letters.  I am using the Apple speech recognition software supplied with OSX / Mavericks/
    iMac  OSX 10.9.4
    2.4 GHz Intel core2 Duo
    4GB 667 MHz DDR2 SDRAM

    Moat likely the input impedance and/or level are wrong for the input port. You will probably need some sort of sound card plug-in like the iMic Support | Griffin Technology. Or search Google for USB sound cards such as Newegg.com - usb sound card mac.
    If you plan to use Dragon Speech Recognition software, then they provide a headset as part of the purchase. See Dragon Dictate for Mac.

  • External video projector - How can I hook up my Mini DisplayPort to DVI Adapter onto my new MacBookAir if the machine does not have a mini port (but only 2 USBs and 1 Thunderbolt)?

    Hi
    How can I hook up my DVI Adapter onto my new MacBookAir if the machine does not have a mini port (but only 2 USBs and 1 Thunderbolt)?
    Is there a DVI adaptor already for Thunderbolt?
    Thanks,
    JFR

    The Mini Display port and Thunderbolt port use compatible connector bodies. Your current Mini Display to DVI or VGA adapter will still work as before on the newer Thunderbolt capable machines.

  • How to build the  FM data I_header and I_orgdata

    hi all,
    I’m working on the conversion program for AVL using the following function modules
    BBP_PD_AVL_GETLIST
    BBP_PD_AVL_CREATE
    BBP_PD_AVL_UPDATE
    BBP_PD_AVL_SAVE
    In the function module BBP_PD_AVL_CREATE , how to build the FM data  I_HEADER and I_ORGDATA.
    I'm giving 3 input in Export parameter in BBP_PD_AVL_GETLIST  and E_pdlist should contain data .
    but e_pdlist is not getting data...any suggestion..
    after execution it was showing  "Buffer table is not up to date"
    with regards,
    P.lokesh

    Hi Lokesh,
    We are also encountering same problem.
    How did you solve your problem?
    Would really appreciate your help.
    Thanks,
    Kezia

  • How to build a server?

    Hey,
    Can anybody tell where I can find online tutorials on how to build a server using java?
    Thanks

    @bender02
    Thx very much for your link. This ready-made solutions can help me to save a lot of otherwise wasted time. QNAP's NAS solution looks good and this Bubba|Two (though it doesn't have mirroring via raid1) is also very attractive.
    I am very interested in what server solution you use.
    My planned server is really for local network uses only. It should serve for file related purposes like file sharing over the network, backup (maybe with raid1) and a centralized data storage.
    I think I will settle with one of this commercial and ready-for-use systems. The thought to tinker around and to make everything by yourself is very temptating but I am getting weary of it. And I dont have the time to tinker around as I have to study enormous amounts
    If I did everything by myself I would have to learn how to handle ssh and rsync, which software is suited for what purpose, how I can configure each software to fit my needs and at last I would have to work on some scripts or search for them to achieve a workaround. And this takes for weeks and months, time that I can't afford -.- sometimes a desktop alone can be enough work to do, when I want everything to be "perfect" and "secure". In the past the guys worked on their motorcycles and now they work on their computers, hehe
    So if nobody has a very good reason why I should tinker around, then I'll buy some ready-for-use stuff.
    Last edited by hauntergeist (2009-04-11 20:55:56)

  • How do I hook up Acer G236hl monitor to my macbook pro?

    I recently purchased a macbook pro (non retina display) and an acer G236HL monitor. I would like to hook the monitor up to the macbook for a dual monitor display. There is no port on the macbook to go with the cables provided with the monitor (DVI cable and HDMI cable). How do I make this work? Is there some sort of adapter I can get or am I out of luck?

    Use a MiniDisplay Port to DVI or HDMI adapter.
    They are available fror Apple
    http://store.apple.com/us/product/MB570Z/B/mini-displayport-to-dvi-adapter
    or from may other sources you can Google.

  • Newb: How is endpoint path substitution working? I'd like to know what is going on, and when to manually define

    I'm looking over the flex dev guide http://livedocs.adobe.com/blazeds/1/blazeds_devguide/ but I really don't see the details of this covered.
    I have a single amf channel endpoint defined as such in my services-config.xml:
    <channel-definition id="emp-maint-amf" class="mx.messaging.channels.AMFChannel">
         <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
    </channel-definition>
    What I'd like to know is what is replacing server.name, server.port etc? I asume it's happening at run time since I certainly am not doing anything to set them.
    I also a lot of examples where those paths are hardcoded in, and then some, more complicated examples, where you somehow work on setting themselves through code.
    What are the pincipals here on when you neeed to define those vars and whe you can get by with them being left as is above?
    Shouldn't there be some documentation that covers this? Am I just not finding it? Thanks for any help or links that will help me understand what is going on in regard to figuring out how the path substitution is working.

    set the wake-on lan on the main computer
    The laptop's too far away from the router to be connected by ethernet. It's all wifi.
    No separate server app on the laptop, it's all samba
    The files are on a windows laptop and a hard drive hooked up to the windows laptop. The windows share server is pants, so I'd need some sort of third party server running. Maybe you weren't suggesting to use Samba to connect to the windows share though?
    I'm glad that you've all understood my ramblings and taken and interest, thanks The way I see it, I can't be the only netbook user these days looking for this kind of convenience, and I certainly won't be once chrome and moblin hit the market.
    Last edited by saft (2010-03-18 20:38:08)

  • How to build a array with high sampling rates 1K

    Hi All:
    Now I am trying to develop a project with CRio.
    But I am not sure how to build a array with high sampling rates signal, like >1K. (Sigle-point data)
    Before, I would like to use "Build Arrary" and "Shift Register" to build a arrary, but I found it is not working for high sampling rates.
    Is there anyother good way to build a data arrary for high sampling rates??
    Thanks
    Attachments:
    Building_Array_high_rates.JPG ‏120 KB

    Can't give a sample of the FPGA right now but here is a sample bit of RT code I recently used. I am acquiring data at 51,200 samples every second. I put the data in a FIFO on the FPGA side, then I read from that FIFO on the RT side and insert the data into a pre-initialized array using "Replace Array subset" NOT "Insert into array". I keep a count of the data I have read/inserted, and once I am at 51,200 samples, I know I have 1 full second of data. At this point, I add it to a queue which sends it to another loop to be processed. Also, I don't use the new index terminal in my subVI because I know I am always adding 6400 elements so I can just multiply my counter by 6400, but if you use the method described further down below , you will want to use the "new index" to return a value because you may not always read the same number of elements using that method.
    The reason I use a timeout of 0 and a wait until next ms multiple is because if you use a timeout wired to the FIFO read node, it spins a loop in the background that polls for data, which rails your processor. Depending on what type of acquisition you are doing, you can also use the method of reading 0 elements, then using the "elements remaining" variable, to wire up another node as is shown below. This was not an option for me because of my programs architecture and needing chunks of 1 second data. Had I used this method it would have overcomplicated things if I read more elements then I had available in my 51,200 buffer.
    Let me knwo if you have more qeustions
    CLA, LabVIEW Versions 2010-2013
    Attachments:
    RT.PNG ‏36 KB
    FIFO read.PNG ‏4 KB

  • Do I need flash builder 4 to work with the flex sdk?

    Is it necessary to use flash builder 4 to work with the flex sdk?
    Can you build apps just using the open source flex sdk. If so are there tutorials and books on how to do so?
    Thanks in advance for your help.

    No, you don't need Flash Builder to use the Flex SDK. If you download the SDK and unzip it, you'll find a 'bin' directory that has the mxmlc compiler in it. You can compile Actionscript or MXML files using that.
    ./mxmlc MyFlexApp.mxml
    If you are building an AIR application, you will use amxmlc
    ./amxmlc MyAIRFlexApp.mxml
    Then, launch your AIR application using adl
    ./adl.exe MyAIRFlexApp-app.xml
    Hope this helps,
    Joan

  • Got a used iPad from a friend and reset it with the password and now it wants to be connected to iTunes but I have no computer so how do I get it working???

    How do I get iPad working without itunes and a computer when it wants to be hooked to iTunes after a reset?

    rotes9 wrote:
    How do I get iPad working without itunes and a computer when it wants to be hooked to iTunes after a reset?
    Use a friends computer.  IF the ipad is telling you to connect to iTunes that is what you need to do, there is no bypassing this.

  • How to build JAVA script in CMD

    How to build JAVA script in CMD command prompt?
    I think it's build.all but it's not working plz help

    To build a Java class file (ie compile it) you need to call the Java compiler javac. There is software around to make this easier:
    - ANT a make like tool but with XML files usually called build.xml
    - Maven a more convention driven approach for much complexer systems
    - IDEs like JDeveloper, Netbeans, Eclipse, you name it.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to build Table of Content in Crystal Reports

    Hi,
    Initially, I am looking for an article about how to build Table of Content in Crystal Reports in table-based approach----including how to write to DB table from report:
    http://support.businessobjects.com/library/kbase/articles/c2011950.asp
    However, the link above is invalid. I also searched through SDN articles, but no luck.
    Can someone please forward me the link if you happend to know?---does not have to link to this specific article, any working solution is just fine.
    I am aware of another approach which put the TOC to the end of the report(http://www.ml-consult.co.uk/cryst-05.htm), which probably does not satisfy the requirement.
    If you have other solutions, your share is greatly appreciated.
    Thanks a ton!

    [Is it possible to create a table of contents in Crystal Reports?|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313335333133303330%7D.do]

  • How to make Open Source work on Solaris 10, x86 ?

    I'm trying to make this Open Source code for MDBTools work on my
    Solaris 10, x86.
    What this tool does is to read in a Microsoft Access MDB file, and
    outputs the contents of that database file, into an ASCII text file.
    I unzipped these files already, but how do I make "mdbtools" work on
    Solaris x86, version 10?
    http://sourceforge.net/search/?type_of_search=soft&words=mdbtools
    http://sourceforge.net/projects/mdbtools/files/mdbtools/mdbtools-0.6pre1.tar.gz/download

    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking for g++... no
    checking for c++... no
    checking for gpp... no
    checking for aCC... no
    checking for CC... no
    checking for cxx... no
    checking for cc++... no
    checking for cl... no
    checking for FCC... no
    checking for KCC... no
    checking for RCC... no
    checking for xlC_r... no
    checking for xlC... no
    checking whether we are using the GNU C++ compiler... no
    checking whether g++ accepts -g... no
    checking dependency style of g++... none
    checking how to run the C++ preprocessor... /lib/cpp
    checking for g77... no
    checking for f77... no
    checking for xlf... no
    checking for frt... no
    checking for pgf77... no
    checking for fl32... no
    checking for af77... no
    checking for fort77... no
    checking for f90... no
    checking for xlf90... no
    checking for pgf90... no
    checking for epcf90... no
    checking for f95... no
    checking for fort... no
    checking for xlf95... no
    checking for lf95... no
    checking for g95... no
    checking whether we are using the GNU Fortran 77 compiler... no
    checking whether accepts -g... no
    checking the maximum length of command line arguments... 262144
    checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok
    checking for objdir... .libs
    checking for ar... false
    checking for ranlib... :
    checking for strip... :
    checking if gcc static flag works... yes
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc supports -c -o file.o... yes
    checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... yes
    checking dynamic linker characteristics... solaris2.10 ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... no
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    configure: creating libtool
    appending configuration tag "CXX" to libtool
    checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
    libtool.m4: error: problem compiling CXX test program
    checking for g++ option to produce PIC...
    checking if g++ supports -c -o file.o... no
    checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... solaris2.10 ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... no
    appending configuration tag "F77" to libtool
    checking for flex... no
    checking for lex... no
    checking for yywrap in -lfl... no
    checking for yywrap in -ll... yes
    checking for bison... no
    checking for byacc... no
    checking for ANSI C header files... (cached) yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking for unistd.h... (cached) yes
    checking wordexp.h usability... yes
    checking wordexp.h presence... yes
    checking for wordexp.h... yes
    checking for an ANSI C-conforming const... yes
    checking for size_t... yes
    checking whether byte ordering is bigendian... no
    checking Are we using flex ... yes
    checking for SQLGetPrivateProfileString in -lodbcinst... no
    checking for pkg-config... /usr/bin/pkg-config
    checking for GLIB - version >= 2.0.0... yes (version 2.4.1)
    checking for libglade-2.0 libgnomeui-2.0... yes
    checking GNOME_CFLAGS... -DORBIT2=1 -mt -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include -I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
    checking GNOME_LIBS... -mt -lglade-2.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lmlib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lgobject-2.0 -lresolv -lnsl -lsocket -lm -lgmodule-2.0 -lgthread-2.0 -lglib-2.0
    checking gtk-doc version >= 1.0... yes
    checking for initscr in -lncurses... no
    checking for add_history in -lreadline... no
    configure: creating ./config.status
    config.status: creating src/Makefile
    config.status: creating libmdb.pc
    config.status: creating libmdbsql.pc
    config.status: creating src/util/Makefile
    config.status: creating src/extras/Makefile
    config.status: creating Makefile
    config.status: creating include/Makefile
    config.status: creating src/libmdb/Makefile
    config.status: creating src/sql/Makefile
    config.status: creating src/odbc/Makefile
    config.status: creating doc/Makefile
    config.status: creating src/gmdb2/Makefile
    config.status: creating src/gmdb2/gladefiles/Makefile
    config.status: creating src/gmdb2/pixmaps/Makefile
    config.status: creating src/gmdb2/help/Makefile
    config.status: creating src/gmdb2/help/C/Makefile
    config.status: creating mdbtools.spec
    config.status: creating include/mdbver.h
    config.status: creating include/config.h
    config.status: include/config.h is unchanged
    config.status: executing depfiles commands
    @

  • How to build formula?

    Hi,
    Maybe someone of you can help me in such issue.
    I have data in that form:
    City, salesman, revenue.
    In Webi I want to create report wich shows revenue per number of salesmen in city.
    F.e.
    In City_1 there are 4 salesmen and sum of their revenue is 10000,
    in City_2 there are 4 salesmen and sum of their revenue is 30000,
    In City_3 there are 6 salesmen and sum of their revenue is 60000.
    The report should shows:
    Number of salesmen,     Revenue
         4 salesmen ,                   40000
         6 salesmen ,                   60000
    There is no City and no salesmen dimensions in the report.
    The question is how to build formula for Number of salesmen.
    Thanks for replying.
    Regards.
    MG

    hiding report body is an issue, but it can be done some how.
    Tell me something
    do you want the report like below
    city       no of salesman      revenue
    city_1   4 salesman            10000
    city_2   5 salesman            30000
    then try this
    variable 1 : no of salesman  =  count(salesman) In city      (note:make sure you use IN keyword)
    variable 2 revenue by city  =  sum(revenue) in City      
    in your report pull
    city  variable1  variable2
    let me know if this works.
    Thanks,
    Karthik

  • How to install Leopard without working DVD-drive?

    I have a MacBook Pro 3,1 (A1226) without a working DVD-drive and I would like to replace the existing 80Gb drive with a 320Gb drive. The hardware is no problem, I did that a few times already, but how to get the OS working?
    I have an TimeMachine backup on a USB-disk of the 10.5.8 (9L31a) installed system. I do not wish to upgrade because there is some old licensed software on it that does not work with a newer OS.
    I also have another MacBook Pro (with 10.7.5) I could hook up with an Ethernet-cable. Theoretically even with a Firewire cable I do not have right now. But when I buy extra things I should perhaps better get an external hard disk enclosure for the 320Gb?
    Please advice.

    Am gonna solve it in another way. I will just get a so-called "9.5 mm PATA Optical Bay SATA Hard Drive Enclosure" and put the 320Gb drive in that one. Sorry to have distracted you.

Maybe you are looking for

  • Files not showing up in folders

    Files not showing up in folders. Saving files to folders, opening folders which are blank

  • Problem with jar including resource files.

    Have working project (classes + resources (video files)). After making executable jar file project still working, but without resource files. What can i do? Edited by: user13653211 on 08.01.2011 7:33

  • 'Classic' RFC library - password limited for rfc calls ?

    Hi , we are using the 'classic'  RFC library to connect  to SAP for calling RFC function modules. Due to the fact that there are often older SAP systems involed, we use only passwords with 8 digits. But now we have the requirement to use passwords fo

  • User-friendly name for Panel Which Does Not Appear in the Extensions Menu

    We are developing various Extensions panels for CS5 using ActionScript. We only want a single Extension, our Main panel, to appear in the Windows>Extensions menu. Once that Panel is opened, it would open other extensions, as required. The problem is,

  • Dynamic Table UI without wdDoModifyView

    Dear Friends, I have 2 tables in a single view. As per the line item choice made on the first table, the second table to need to rebuild with columns and data. I am successful doing this for a one time since code is written at wdDoModifyView method.