[SOLVED]Where exactly do I add modules in `/etc/rc.conf`

I know you add modules somewhere in the "Hardware" section, but I'm not sure whether to add them inside of the parentheses here...
MODULES=(some-module-here)
... or just to list them below that.
This should probably be obvious, but I can't find any examples anywhere.
Last edited by ninjaaron (2012-07-26 22:29:41)

man rc.conf wrote:
HARDWARE
       MODULES=
       Modules to load at boot-up. To blacklist modules, see modprobe.d(5).
       Configuration files in /etc/modules-load.d/ are recommended instead (see
       modules-load.d(5)).
           MODULES=('kvm')
I found an example ;P

Similar Messages

  • [SOLVED] How to restore kernel image after wrong /etc/mkinitcpio.conf

    I wanted to learn a bit more about the kernel and boot, and I'm afraid I cannot start up my ArchLinux anymore.
    I updated the /etc/mkinitcpio.conf to make the boot faster (with this reference: http://kmandla.wordpress.com/2007/01/30 … initcpio/) and executed #mkinitcpio -p kernel26
    I thought that if there was any problem, I could start up with the "fallback image". Certainly, there was a problem (probably I didn´t loaded all the modules required) and when I tried the fallback image, I experimented the same problem:
    Root device '/dev/disk/by-uuid/...' doesn´t exist
    ramfs$
    In fact, both images are the same (or at least they have the same size)
    I tried the ArchLinux liveCD to recover my system. There's no recovery service, so I started up the CD-ROM, mounted my ArchLinux partitions, generated the images and copied into the /boot of my Archlinux partitions. But the same problem is still there.
    What could I do to fix it?
    Thank you in advance
    Last edited by jjjaime (2009-05-10 15:45:45)

    Thank you. I follow your instructions and it worked (perhaps it would be simpler with a "#pacman -Sy kernel26"). I didn't know the command chroot and it's really interesting.
    red_erik wrote:
    I have a similar problem, (read more in this thread), and I solve it by booting off the Live CD, and doing the following:
    (replace sda1 with your / partition)
    cd /
    mount -t ext3 /dev/sda1 /mnt
    mount -t proc proc /mnt/proc
    mount -t sysfs sys /mnt/sys
    mount -o bind /dev /mnt/dev
    chroot /mnt /bin/bash
    mkinitcpio -p kernel26
    after that, I exit chroot, unmount all of my partitions and reboot...:
    cd /
    umount -a
    exit
    cd /
    umount -a
    reboot
    hope this helps...

  • [solved]Delay mySQL startup by 30 secs in /etc/rc.conf

    Basically I use wpa_supplicant and it takes a a bit to connect, by the time /etc/rc.conf gets to the mysql startup service, mySQL cannot bind to my servers address,
    This is because wpa_supplicant probably hasn't got an IP address yet, so mySQL fails to start at bootup every time, however right after the boot I can log in and manually boot it just fine.
    Any Ideas?  Maybe delay the mysql by 30-40 seconds at boot? Anyone know how?
    Last edited by kr1zmo (2010-07-05 23:57:10)

    itsbrad212 wrote:
    You could put:
    /etc/rc.d/mysqld start
    in /etc/rc.local
    Thanks for the reply but I solved this by removing the @ before netprofiles, so that wpa_supplicant doesnt startup in the background, therefor everything else waits until wpa_supplicant is connected before it boots.
    Last edited by kr1zmo (2010-07-05 23:59:58)

  • Modules in /etc/rc.conf not listed in ..lsmod

         /etc/modules.conf also has alias for the modules missing in lsmod.
        Cannot find ohci..uhci..ohci-hcd...uhci-hcd listed in ...lsmod.
        What causes this?

       The kernel being pursued is 2.6.3 because it has been hyped as USB2.0 compatible...   References in googling say it has problems in usb-storage  
       Please advise how to enable IEEE1394 in kernel 2.6.3 which has a dearth of info on the net.....
      My latest post #33 refers to the data obtained from running :
          tail -f /var/log/messages
      The result doesn't indicate  any useful info for finding the solution.  I just ran into a brick wall and suspect that my external HDD is incompatible with the kernel in 2.0.
       I'd like to try IEEE1394 which is available in the HDD as well.
       So how do I get that started?

  • [SOLVED] How to add modules to build with the kernel?

    Hello i´m trying to learn how to build my own custom kernel and doing it the arch way https://wiki.archlinux.org/index.php/Ke … raditional. But unfortunately dm-crypt was not included in the kernel so it all failed.
    svart_alg% sudo mkinitcpio -k 3.15.6 -c /etc/mkinitcpio.conf -g /boot/initramfs-test.img
    ==> Starting build: 3.15.6
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [autodetect]
    -> Running build hook: [modconf]
    -> Running build hook: [lvm2]
    ==> ERROR: module not found: ‘dm-snapshot’
    -> Running build hook: [encrypt]
    ==> ERROR: module not found: ‘dm-crypt’
    -> Running build hook: [block]
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    ==> WARNING: No modules were added to the image. This is probably not what you want.
    ==> Creating gzip initcpio image: /boot/initramfs-test.img
    ==> WARNING: errors were encountered during the build. The image may not be complete.
    I have never don any of this before and have no idea of how to add a missing module to the kernel i´m building. So i search on internet and had a very hard time finding a good guide for this but i fond one possible solution. https://www.kernel.org/doc/Documentatio … odules.txt
    svart_alg% make -C /home/nigro_alko/Kernel/linux-3.15.6 M=/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in
    make: Entering directory ‘/home/nigro_alko/Kernel/linux-3.15.6‘
    mkdir: cannot create directory ‘/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in’: Not a directory
    scripts/Makefile.build:44: /home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in/Makefile: Not a directory
    make[1]: *** No rule to make target ‘/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in/Makefile’. Stop.
    Makefile:1310: recipe for target ‘_module_/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in’ failed
    make: *** [_module_/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in] Error 2
    make: Leaving directory ‘/home/nigro_alko/Kernel/linux-3.15.6‘
    So is there any one that have time to help a lost little newbie i would bee very happy  :-)
    Last edited by Moosey_Linux (2014-07-29 15:00:40)

    karol wrote:Why do you want a custom kernel in the first place?
    Moosey_Linux wrote:i´m trying to learn how to build my own custom kernel
    Reason enough IMO. But anyway... you refer to the Traditional build method in the wiki, but is it possible you didn't really read it? Or maybe you only skimmed it? Did you run make menuconfig? Did you try to build everything in instead of using modules? That mkinitcpio output suggests that you did.
    As suggested there for first-timers, it's a good idea to start with a kernel configuration that is known to work - the Arch config is the obvious choice, but there are other sources e.g. http://kernel-seeds.org/ .

  • Normal report and ALV report, where exactly both are differs?

    For Normal report and ALV report, where exactly both are differs, I mean from which part the process / coding will differ, pls le me know..?
    Akshitha.

    Hi Akshitha,
    In Normal reports we use formatting techniques to display the report list. We define heading and size everything to display report list. But where as in alv we need not to use any formating there are some function modules which will automatically display output list in LIST  and GRID format.
    In Normal report we cannot make changes to the output list where in ALV report we can change the ALV output display dynamically. You can find lots of options for  the ALV list such as you can download output list into Excel sheet and Sorting options Acending and decending order in ALV but in normal report We need to write syntax in the report to display output list in sorting order.  The ALV report is very easy way to display the output compared to Ordinary report.
    Check below some links which will help you to understand about ALV. If you know about Normal report you can campare by userself the difference.
    Simple ALV report
    http://www.sapgenie.com/abap/controls/alvgrid.htm
    http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox
    ALV
    1. Please give me general info on ALV.
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    2. How do I program double click in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=11601
    http://www.sapfans.com/forums/viewtopic.php?t=23010
    3. How do I add subtotals (I have problem to add them)...
    http://www.sapfans.com/forums/viewtopic.php?t=20386
    http://www.sapfans.com/forums/viewtopic.php?t=85191
    http://www.sapfans.com/forums/viewtopic.php?t=88401
    http://www.sapfans.com/forums/viewtopic.php?t=17335
    4. How to add list heading like top-of-page in ABAP lists?
    http://www.sapfans.com/forums/viewtopic.php?t=58775
    http://www.sapfans.com/forums/viewtopic.php?t=60550
    http://www.sapfans.com/forums/viewtopic.php?t=16629
    5. How to print page number / total number of pages X/XX in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=29597 (no direct solution)
    6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.
    http://www.sapfans.com/forums/viewtopic.php?t=64320
    http://www.sapfans.com/forums/viewtopic.php?t=44477
    7. How can I set the cell color in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=52107
    8. How do I print a logo/graphics in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=81149
    http://www.sapfans.com/forums/viewtopic.php?t=35498
    http://www.sapfans.com/forums/viewtopic.php?t=5013
    9. How do I create and use input-enabled fields in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=84933
    http://www.sapfans.com/forums/viewtopic.php?t=69878
    10. How can I use ALV for reports that are going to be run in background?
    http://www.sapfans.com/forums/viewtopic.php?t=83243
    http://www.sapfans.com/forums/viewtopic.php?t=19224
    11. How can I display an icon in ALV? (Common requirement is traffic light icon).
    http://www.sapfans.com/forums/viewtopic.php?t=79424
    http://www.sapfans.com/forums/viewtopic.php?t=24512
    12. How can I display a checkbox in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=88376
    http://www.sapfans.com/forums/viewtopic.php?t=40968
    http://www.sapfans.com/forums/viewtopic.php?t=6919
    Go thru these programs they may help u to try on some hands on
    ALV Demo program
    BCALV_DEMO_HTML
    BCALV_FULLSCREEN_DEMO ALV Demo: Fullscreen Mode
    BCALV_FULLSCREEN_DEMO_CLASSIC ALV demo: Fullscreen mode
    BCALV_GRID_DEMO Simple ALV Control Call Demo Program
    BCALV_TREE_DEMO Demo for ALV tree control
    BCALV_TREE_SIMPLE_DEMO
    BC_ALV_DEMO_HTML_D0100
    <b>Please Reward if useful<b>
    Regards,
    sunil kairam.

  • [SOLVED] Symbolic links for python (v2) modules

    I was blind, sry
    To solve the issue:
    https://code.google.com/p/git-repo/issues/detail?id=168
    rm ~/.repopickle_.gitconfig
    Didn't work before for me as I made a dumb fail...
    Hello,
    I tried to understand and follow the wiki (https://wiki.archlinux.org/index.php/an … nvironment) about building Android as good as I could.
    Everything works till the part with setting the virtualenv2 for using python 2 (python -V gives v2.7.9 back). I understood everything till there, and even after that. Sadly it still doesn't work
    The first problem accuring is that when issueing
    ln -s /usr/lib/python2.7/* /Data/Android_Build/venv/lib/python2.7/
    I get "file exists" for every existing file. Is that wanted as it only should "add" modules not being in 'android/venv/lib/python-2.7/' ? After that I tried issueing 'repo init -u' but sadly this just gives me a python error.
    $ repo init -u https://github.com/CyanogenMod/android.git -b cm-12.0
    Traceback (most recent call last):
    File "/home/leonard/android/system/.repo/repo/main.py", line 500, in <module>
    _Main(sys.argv[1:])
    File "/home/leonard/android/system/.repo/repo/main.py", line 476, in _Main
    result = repo._Run(argv) or 0
    File "/home/leonard/android/system/.repo/repo/main.py", line 155, in _Run
    result = cmd.Execute(copts, cargs)
    File "/home/leonard/android/system/.repo/repo/subcmds/init.py", line 390, in Execute
    self._SyncManifest(opt)
    File "/home/leonard/android/system/.repo/repo/subcmds/init.py", line 149, in _SyncManifest
    print('Get %s' % GitConfig.ForUser().UrlInsteadOf(opt.manifest_url),
    File "/home/leonard/android/system/.repo/repo/git_config.py", line 219, in UrlInsteadOf
    for new_url in self.GetSubSections('url'):
    File "/home/leonard/android/system/.repo/repo/git_config.py", line 206, in GetSubSections
    return self._sections.get(section, set())
    File "/home/leonard/android/system/.repo/repo/git_config.py", line 230, in _sections
    for name in self._cache.keys():
    File "/home/leonard/android/system/.repo/repo/git_config.py", line 247, in _cache
    self._cache_dict = self._Read()
    File "/home/leonard/android/system/.repo/repo/git_config.py", line 251, in _Read
    d = self._ReadPickle()
    File "/home/leonard/android/system/.repo/repo/git_config.py", line 269, in _ReadPickle
    return pickle.load(fd)
    File "/home/leonard/android/venv/lib/python2.7/pickle.py", line 1378, in load
    return Unpickler(file).load()
    File "/home/leonard/android/venv/lib/python2.7/pickle.py", line 858, in load
    dispatch[key](self)
    File "/home/leonard/android/venv/lib/python2.7/pickle.py", line 886, in load_proto
    raise ValueError, "unsupported pickle protocol: %d" % proto
    ValueError: unsupported pickle protocol: 4
    Last edited by LeonardK (2015-01-03 17:40:18)

    Yes! You are right. Now, this sounds so familiar. I vaguely remember doing this when I originally installed Arch on this laptop, but I must have done it as part of the "beginners guide" procedure. I guess this explains it:
    https://wiki.archlinux.org/index.php?ti … did=168068
    Now, I take it from this that I safely remove ALL the symlinks from my rc.local?
    rc.local:
    ln -s /dev/sr0 /dev/cdrom
    ln -s /dev/sr0 /dev/cdrw
    ln -s /dev/sr0 /dev/dvd
    ln -s /dev/sr0 /dev/dvdrw

  • Where exactly can we get the details of BI Java patch 7.31

    Hello,
    Can any one let me know where exactly can i see the BI Java Patch 7.31 in the system / in the Portal?
    Wiating for your replies!!!!
    With Regards,
    PJ.

    Hi PJ,
    To add to the previous answers, please be aware that the BI Java patches actually correspond to 5 separate SCAs so you need to ensure they're all at the same level (and never use patch level 0):
    BI-BASES.SCA
    BI-BASEE.SCA
    BI-BASEB.SCA
    BI-WEBAPP.SCA
    BI-IBC.SCA
    Hope it helps...

  • HT4623 I started the iOs 7 update in my mini iPad yesterday and it froze the screen at the area "Create a Password" at the Apple ID Security area where it asked to add a security question.  It just stopped and I can't go anywhere else.  What's up with tha

    I started to do the latest update to iOS7 in my iPad mini and it froze the screen at the area Apple ID security where it asks for "Add Security Question".  I press the next icon, and nothing happens.  The screen is frozen there and I can't get out.  I can go no further forward nor can I be back.  It's just stuck.  This has rendered my mini iPad useless.  What can I do?

    rvalezin wrote:
    If I need to back-up every hour of my life in order to be able to save everything from something like this I won´t do anything else.....at least we should be able to trust that Apple tests this updates so situations like this won´t happen.
    That's exactly what Time Machine does for you.  It backs up every hour, so you don't have to.  While it is backing up, you keep on working.  Time Macvhine came with your Mac and you chose not to use it.
    The 10.7.4 update did not cause your hard disk to fail.  Hard disk fail due to mechanical causes.  They are extremely reliable, but that doesn't mean every hard disk will last a long time.  Your mileage WILL vary!
    If you are dependent on your computer and the data stored on it, then you should make sure you have AT LEAST two copies of all data and probably three or four.  You should use at least two means of backing up in case the backup software has a problem.  And you should consider having a backup computer if you live in an area where replacement takes too long (whatever too long is for your business).
    Apple hardware and software is very, very good.  You have documented your experience of this.  But NO hardware or software is perfect.  You also have experience of this.
    It is YOUR responsibility to ensure that your system is set up to protect your data and availability of computing resources.

  • TS4268 When i go to settings and i go to facetime it says waiting for activaton but when i click on my apple id on top of it, it doesn't take me to go activate it, where exactly do i have to go do activation? do i have to see only hotmail? or somewhere?

    When i go to settings and i go to facetime it says waiting for activaton but when i click on my apple id on top of it, it doesn't take me to go activate it, where exactly do i have to go do activation? do i have to see only hotmail? or somewhere? i am on my iphone 4 6.1.3

    Hi debinarizona,
    I see the Handoff setting under "Settings > General > Handoff & Suggested Apps".
    Connect your iPhone, iPad, and iPod touch using Continuity
    Best Regards,
    Nubz

  • Sometimes my iphone 5S produces low sound even on full volume level. Then i do restart it. But i am not sure where exactly the problem is? Need help.

    Sometimes my iphone 5S produces low sound even on full volume level. Then i do restart it. But i am not sure where exactly the problem is? Need help.

    Hi saiyed adil, 
    Thank you for contributing to the Apple Support Communities. 
    It appears that your iPhone 5s sometimes produces low sound, but a restart corrects it. 
    It can take some time to isolate and resolve intermittent issues like this one, and I'd recommend going through the steps in this guide the next time it occurs:
    If you hear no sound or distorted sound from your iPhone, iPad, or iPod touch speaker - Apple Support
    All the best,
    Jeremy 

  • I have a license for CS3 Design Premium but no disk. Where exactly can I download the software? The solution offered on the Adobe website does not work ...

    I have a license for CS3 Design Premium but no disk. Where exactly can I download the software? The solution offered on the Adobe website (CS3-Produkte herunterladen) does not work ...

    If the page you linked does not work then it should so what happens when you try?  It is possible that it might be a simple matter of you enabling cookies or trying another web browser.
    You can also try to download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    CS3 and CS4: http://prodesigntools.com/download-adobe-cs4-and-cs3-free-trials-here.html

  • What is use of ejbPostCreate(), what it returns, where exactly can it be in

    what is use of ejbPostCreate(), what it returns, where exactly can it be invoked?

    Why don't you try reading or googling or something, rather than asking every question that pops into your head?

  • Mss reports - add module pool (dialog) to the list

    Hi experts,
    I need to add new reports to MSS reporting.
    Is it possible to add module pool (dialog) to the MSS reports list?
    I got an error when executing the program " no object stored within selected period".
    The portal seems like it cannot trigger the data from backend.
    Is it related to dialog program that we use?
    What is the best solution because we need the manager to choose from dropdown button through the MSS reports.
    Rgds,
    Nanie Arianie

    Solved
    Program error

  • Where exactly are the media files kept now?

    It used to be simple, the media files were all in the Final Cut Events folders and if you trashed them they were gone.
    However, now that I have updated my 10.0.9 projects and events to 10.1,  I apparently have identical  media files in the "Old Final Cut Projects and Events" folder together with the new Library.
    I believe that some of these are symbolic, but which ones?
    If I delete something from the "Old Final Cut Projects and Events" folder,  will it still be present in the new Library  .  .  .  .  .  and vice versa?
    What if I delete both lots?
    Where exactly are my old media files?

    It's a tricky bit of engineering. If you updated the projects and events and the media was already in the events then the media will appear to be in both plays simultaneously, but only taking the drive space of one. If you delete the old events, the drive space will not go down because the media is still on the hard drive.
    Here's the thing, when we say a media file is in a folder, it's not physically in the folder. It's somewhere on your hard drive, wherever there was space when the file was written to the drive. The file structure says they're in a folder or move from folder to folder, but in reality they never move. Only the directory structure changes. That's what's happening here. Both folders, old events, new libraries are pointing to same space on your physical hard drive where the media files are living. Both are holding the media files in their directory. If you delete them both the media will disappear from the directories and that drive space will be freed and eventually get physically overwritten as more stuff is written on the drive.

Maybe you are looking for

  • Performance Issue with VL06O report

    Hi, We are having performance issue with VL06O report, when run with forwarding agent. It is taking about an hour with forwarding agent. The issue is with VBPA table and we found one OSS note, but it is for old versions. ours is ECC 5.0. Can anybody

  • Supplier BP number on Cart entry screen (Sources of Supply / Service Agents

    Hi, Is it possible to get the system to allow the user to enter the supplier number instead on the supplier bp number on the Preferred Vendor field under Cart Sources of Supply / Service Agents? Our user base are more familiar with the R3 numbers and

  • Specific days of the week for a promotion

    Hello, I would like to customize a campaign that runs just some days of the week. For example: Mondays and Wednesdays only. How can this kind of promotion be customized in CRM? How can those special days be specified? Regards, Efrain

  • Print PO Price in Currency Format.

    Hi Everybody,    I want Print PO Price in currency format in alv report how do i get all countries currency values.    anybody tell me. thanks, s.muthu

  • IPhoto startup query

    When i open iphoto, i keep getting a message "15 photos have been found in the iPhoto Library that were not imported."  There are no photos and even if I choose not to import it twice imports an empty file.  How do I stop this?