Can rc.conf's MODULES detect which kernel I'm booting?

...because on one kernel I have some things compiled in that I want loaded by MODULES in another kernel.
Right now I either get "FATAL: Module not found" errors (and probably some time loss) when I specifiy the large set of modules and boot the kernel with compiled in stuff, or modules have to be loaded manually afterwards (making for an even larger time loss) when I specify the small set but launch the core kernel.
Weird setup?

Cerebral wrote:
Could you not just bugger around with rc.conf, something like:
[ "$(uname -s)" = "kernel26-ARCH" ] && MODULES=(module1 module2)
[ "$(uname -s)" = "kernel26-viper" ] && MODULES=(....)
Would that work?
It seems so:
[ "$(uname -r)" = "2.6.24-zen1-20080206" ] && MODULES=(...)
worked fine, and I haven't yet tried to boot the core kernel.
Thanks a lot for all your suggestions. It should be a smoother experience now.

Similar Messages

  • [Solved] Can't find usbnet module in stock kernel

    Hi,
    I was trying to get USB tethering to work, and found that I don't have the "usbnet" module. Pkgfile tells me that linux and linux-lts both provide usbnet, but I can't find the module (in /usr/lib/modules/...) at all (I'm on the 3.6.10-1 kernel, just reinstalled it from the repositories to make sure). I checked the file list of the 3.6.9-1 kernel that I had in pacman's cache, and the module wasn't there either. Does anyone know why I'm not getting this module with my kernel?
    Last edited by Ploink (2012-12-29 16:00:42)

    pacman -Ql linux | grep usbnet
    linux /usr/lib/modules/3.6.10-1-ARCH/kernel/drivers/net/usb/usbnet.ko.gz
    Edit: oops, I see you said you checked the file list.  Sorry, I typed faster than I read.  If you do not get similar output to this, then the linux package isn't properly installed.
    Last edited by Trilby (2012-12-29 14:31:32)

  • [SOLVED] Can't build vboxdrv module

    I can't build vboxdrv module with latest kernel 2.6.32.When I run vbox_build_module, I get
    Makefile:152: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
    make[1]: Leaving directory `/opt/VirtualBox/src/vboxdrv'
    make: *** [all] Error 2
    but, when I run
    KERN_DIR=/usr/src/linux-2.6.32-ARCH vbox_build_module
    I get this error
    Makefile:179: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again. Stop.
    make[1]: Leaving directory `/opt/VirtualBox/src/vboxdrv'
    make: *** [all] Error 2
    What is the problem here?
    Last edited by na12 (2009-12-31 09:26:34)

    Also using Virtualbox here and was able to build the modules against the new kernel using this procedure:
    Update kernel 31 --> 32
    install kernel26-headers (seems to me you have the wrong kernel-headers package)
    reboot
    rebuild mkinitcpio (KMS)
    reboot
    rebuild vbox modules
    modprobe them or reboot
    Last edited by ulukai (2009-12-31 08:38:07)

  • Use different cpufreq governors based on which kernel is running?

    Following the advice in https://wiki.archlinux.org/index.php/Pro_Audio, I've got to the cpufreq part. I've got both the default kernel and linux-rt installed. I think I want linux-rt to use the performance cpufreq governor, but suspect it would be inappropriate for general non-audio use. Is there a way to make Grub 2 boot linux-rt with performance, without it affecting the default kernel's cpufreq governor? Or maybe some other addition to the boot process that would detect which kernel is running, and then decide which cpufreq governor to use? Unless of course, linux-rt uses performance anyway, which would be convenient. I'm new here. Thanks!

    Use a BASH script, which maybe looks for "rt" in `uname -r`
    To change to performance (an echo for each "cpu"):
    cd /sys/devices/system/cpu/ &&
    for c in cpu[0-9]* ; do
    echo performance > $c/cpufreq/scaling_governor
    done

  • Which kernel modules are needed for Elantech touchpad?

    I've compiled a very minimal kernel for my system, which works just fine, I get booted into XFCE etc. and the keyboard works in the virtual consoles, but my (Elantech) touchpad does not function. Here is the lsmod from the standard kernel where the touchpad does work:
    Module Size Used by
    nvidia 7817056 26
    ipv6 248388 10
    aes_generic 26944 0
    aes_i586 32896 1
    cpufreq_ondemand 7180 1
    ext2 62472 1
    fuse 42260 2
    pcmcia 32556 0
    sdhci 15364 0
    mmc_core 43524 1 sdhci
    ohci1394 28848 0
    yenta_socket 23052 3
    ieee1394 79800 1 ohci1394
    rsrc_nonstatic 11008 1 yenta_socket
    pcmcia_core 32664 3 pcmcia,yenta_socket,rsrc_nonstatic
    firewire_ohci 16128 0
    firewire_core 36544 1 firewire_ohci
    crc_itu_t 2304 1 firewire_core
    psmouse 36496 0
    serio_raw 5636 0
    rtc_cmos 7584 0
    rtc_core 15496 1 rtc_cmos
    rtc_lib 2944 1 rtc_core
    tpm_infineon 7976 0
    tpm 12320 1 tpm_infineon
    tpm_bios 6272 1 tpm
    i2c_i801 8848 0
    i2c_core 19328 2 nvidia,i2c_i801
    pcspkr 2944 0
    container 3840 0
    video 16016 5
    output 3200 1 video
    sg 26640 0
    intel_agp 21780 0
    agpgart 27352 2 nvidia,intel_agp
    thermal 13084 0
    evdev 9344 7
    fan 3844 0
    button 6544 0
    battery 10756 2
    ac 4612 0
    snd_seq_oss 29440 0
    snd_seq_midi_event 6528 1 snd_seq_oss
    snd_seq 47056 4 snd_seq_oss,snd_seq_midi_event
    snd_seq_device 6924 2 snd_seq_oss,snd_seq
    arc4 2176 2
    ecb 3072 2
    snd_hda_intel 289952 3
    snd_hwdep 7300 1 snd_hda_intel
    snd_pcm_oss 37024 0
    snd_pcm 68996 2 snd_hda_intel,snd_pcm_oss
    snd_timer 19204 2 snd_seq,snd_pcm
    snd_page_alloc 8072 2 snd_hda_intel,snd_pcm
    snd_mixer_oss 14464 2 snd_pcm_oss
    snd 44772 13 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
    soundcore 6368 2 snd
    iwl3945 84968 0
    mac80211 117132 1 iwl3945
    cfg80211 11528 1 mac80211
    r8169 26244 0
    acpi_cpufreq 11420 1
    freq_table 3984 2 cpufreq_ondemand,acpi_cpufreq
    processor 29400 4 thermal,acpi_cpufreq
    ext3 121992 1
    jbd 43412 1 ext3
    mbcache 6912 2 ext2,ext3
    sr_mod 14884 0
    cdrom 33824 1 sr_mod
    sd_mod 22656 5
    pata_acpi 5248 0
    ehci_hcd 32524 0
    uhci_hcd 22672 0
    usbcore 125292 3 ehci_hcd,uhci_hcd
    ata_piix 14724 4
    ata_generic 5252 0
    libata 138352 3 pata_acpi,ata_piix,ata_generic
    I've activated serio_raw and psmouse in the kernel, but what am I overlooking thats preventing the touchpad to work?
    Last edited by HyperBaton (2008-03-09 15:00:32)

    need to bump this thread i guess.
    i also have a elantech touchpad on my zepto 3215w, and ive found this: http://arjan.opmeer.net/elantech/
    the only available driver for elantech touchpads for linux.
    i have kernel 2.6.25-arch now, also heard theres a 2.6.26 up n coming. can this patch be implemented in these kernels in some way?
    and i dont know anything about kernel stuff so.. a helping hand would be nice on how to do it if its possible.

  • Which kernel module for Intel PRO/100 S Desktop Adapt

    Which kernel module I should load for support LAN Card "Intel® PRO/100 S Desktop Adapter" Board ID "751767-004" , Based on Controller 82550

    Finded in /usr/src/linux-2.6.5/drivers/net/Kconfig
    config E100
        tristate "Intel(R) PRO/100+ support"
        depends on NET_PCI && PCI
        select MII
        ---help---
          This driver supports Intel(R) PRO/100 family of adapters, which
          includes:
          Controller  Adapter Name                       Board IDs
          82558       PRO/100+ PCI Adapter               668081-xxx,
          689661-xxx
          82558       PRO/100+ Management Adapter        691334-xxx,
          701738-xxx,
          721383-xxx
          82558       PRO/100+ Dual Port Server Adapter  714303-xxx,
          711269-xxx,
          A28276-xxx
          82558       PRO/100+ PCI Server Adapter        710550-xxx
          82550       PRO/100 S Server Adapter           752438-xxx
          82559                                          A56831-xxx,
          A10563-xxx,
          A12171-xxx,
          A12321-xxx,
          A12320-xxx,
          A12170-xxx
          748568-xxx
          748565-xxx
          82550       PRO/100 S Desktop Adapter          751767-xxx
          82559                                          748592-xxx,
          A12167-xxx,
          A12318-xxx,
          A12317-xxx,
          A12165-xxx,
          748569-xxx
          82559       PRO/100+ Server Adapter            729757-xxx
          82559       PRO/100 S Management Adapter       748566-xxx,
          748564-xxx
          82550       PRO/100 S Dual Port Server Adapter A56831-xxx
          82551       PRO/100 M Desktop Adapter          A80897-xxx
          PRO/100 S Advanced Management Adapter
          747842-xxx,
          745171-xxx
          CNR         PRO/100 VE Desktop Adapter         A10386-xxx,
          A10725-xxx,
          A23801-xxx,
          A19716-xxx
          PRO/100 VM Desktop Adapter         A14323-xxx,
          A19725-xxx,
          A23801-xxx,
          A22220-xxx,
          A23796-xxx
          To verify that your adapter is supported, find the board ID number
          on the adapter. Look for a label that has a barcode and a number
          in the format 123456-001 (six digits hyphen three digits). Match
          this to the list of numbers above.
          For more information on how to identify your adapter, go to the
          Adapter & Driver ID Guide at:
          http://support.intel.com/support/networ … /21397.htm
          For the latest Intel PRO/100 network driver for Linux, see:
          http://appsr.intel.com/scripts-df/support_intel.asp
          More specific information on configuring the driver is in
          <file:Documentation/networking/e100.txt>.
          To compile this driver as a module, choose M here and read
          <file:Documentation/networking/net-modules.txt>.  The module
          will be called e100.

  • What are the modules in which we can create a party site?

    Hi Gurus,
    I would like to know, what are the modules from which we can create a party site.
    Please repond.
    Thanks,
    Venkatesh

    Hi,
    There can be numerous modules which create party sites , Leads/Quotes/Order/Recievable/HR/IB/ISupport etc.
    Actual number of modules depend on the kind of implementation.
    Run this query in your Oracle instance , to get an idea of various modules which has created Party sites in your system.
    SELECT meaning,
    description
    FROM fnd_lookup_values
    WHERE lookup_type = 'HZ_CREATED_BY_MODULES'
    AND lookup_code IN (SELECT DISTINCT created_by_module
    FROM hz_party_sites)
    -Idris

  • Which kernel module should I use for Marvell Yukon 88E8001?

    Which kernel module should I use for Marvell Yukon 88E8001?
    a. sky2
    b. skge
    c. sk98lin

    I found this in the kernel''s /driver/net/Kconfig:
    config SKGE
    tristate "New SysKonnect GigaEthernet support"
    depends on PCI
    select CRC32
    ---help---
    This driver support the Marvell Yukon or SysKonnect SK-98xx/SK-95xx
    and related Gigabit Ethernet adapters. It is a new smaller driver
    with better performance and more complete ethtool support.
    It does not support the link failover and network management
    features that "portable" vendor supplied sk98lin driver does.
    This driver supports adapters based on the original Yukon chipset:
    Marvell 88E8001, Belkin F5D5005, CNet GigaCard, DLink DGE-530T,
    Linksys EG1032/EG1064, 3Com 3C940/3C940B, SysKonnect SK-9871/9872.
    It does not support the newer Yukon2 chipset: a separate driver,
    sky2, is provided for Yukon2-based adapters.
    To compile this driver as a module, choose M here: the module
    will be called skge. This is recommended.
    Looks like your module is "skge"

  • Sd_mod, sr_mod: which kernel options?

    Hello all,
    I just started fiddling around with compiling my own kernel because I'm not satisfied with the performance/latency of my desktop system.
    I thought it would be a good thing to start with
    http://wiki.archlinux.org/index.php/Kernel_Compilation_From_Source
    to get a hang of the whole procedure. I compiled a few kernels with minor changes (moving modules into the kernel etc.) just to see what happens and practice a bit. It all worked fine, adjusting menu.lst, mkinitcpio and so on...
    Then I started to remove all the stuff that I (thought I ) didn't need for my laptop (TravelMate 4650). I ran into problems when mkinitcpio reported 'ata_piix' and other ata stuff missing but I went back to gconfig and it was easy to find out what I shouldn't have removed.
    Now -- after ruthlessly double-clicking around in gconfig ("if it doesn't sound familiar, it has to go" ) -- mkinitcpio tells me I need 'sr_mod' and 'sd_mod', some really important SCSI modules (apparently). I don't even have SCSI devices but my disks are all /dev/sd* so that means I need SCSI support, right? This is the message:
    [13:50:26][luke@calculon][~/kernelbuild/linux-2.6.23]$ sudo mkinitcpio -k 2.6.23-MY_ARCH -g /boot/kernel26-my-arch.img
    :: Begin build
    :: Parsing hook [base]
    :: Parsing hook [udev]
    :: Parsing hook [autodetect]
    :: Parsing hook [pata]
    ERROR: module 'sd[-_]mod' not found
    ERROR: module 'sr[-_]mod' not found
    :: Parsing hook [keymap]
    :: Parsing hook [filesystems]
    :: Generating module dependencies
    :: Generating image '/boot/kernel26-my-arch.img'...SUCCESS
    My problem now is that I can't figure out which kernel options are related to these two modules. The 'SCSI device support' section lists 'BLK_DEV_SD' and 'BLK_DEV_SR' which I activated with the 'M' (I looked up the config from abs to find the standard settings). I still get the same message. Does it make a difference (to mkinitcpio) if you mark something 'M' or 'Y'? I mean, does it realize that if something isn't there as a modul it might be integrated in the kernal already?
    All in all I have to say is that the whole kernel compilation is not that complicated. I was always afraid to try but now (thanks to Arch) I started diving into the innards (eewww) of a Linux system. The important thing is to keep a working backup version in case something goes wrong (which will happen).
    I've read a little (only superficially so far) about patching the kernel to increase performance/responsiveness on the desktop (which is my ultimate goal). There seems to be a big discussion going on (with Con Colivas and all) about this issue. I know, there are a lot of topics about this already but is applying kernel patches worth the effort? Can you feel a difference in performance? I've set the Processor Family option the Pentium-M (my CPU) and I set the Preemption Model to PREEMPT but that hasn't really made a difference. If you ask me, it's probably worse than before.
    OK, the last paragraph was a little OT, my main problem are 'sd_mod' and 'sr_mod' .  It takes 20 minutes to compile every time so I'm a little reluctant to just use trial and error with every module.
    Thanks for immediate help or giving relevant links. Is there something that tells you exactly which module is linked to which config option? That would be really helpful.
    --masterluke
    Last edited by mmmasterluke (2008-02-13 13:47:56)

    I tried to mkinitcpio with both scsi disk support built into the kernel and as a module both ways I am not able to make my system work with the new kernel.
    I get the same error if I try to run mkinitcpio with scsi disk support build into the kernel.
    When the scisi disk sopport is left to be loaded later as a module, mkinitcpio works fine but later while booting the system complains that the partition was not found, i.e /dev/disk/by-uuid/"some kinda code" was not found.
    I am not able to boot into my new kernel.
    please help.

  • [Sloved] Can't load wl module for b43 wireless card

    I'm trying to run b43 on my arch.
    But i can't load wl module.
    Below i put output from my broadcom-wl  installation
    My installaction stucks on modprobe wl. This command does not stop.
    Ps: I forgot to tell that i must install kernel 3.10
    testing/linux 3.10.1-1 (base) [installed]
    core/linux 3.9.9-1 (base) [installed: 3.10.1-1]
    and system don't want to turn off.
    what logs will be helpful?
    How to check which kernel is run?
    [skoczo@localhost broadcom-wl]$ sudo pacman -R broadcom-wl
    checking dependencies...
    Packages (1): broadcom-wl-5.100.82.112-13
    Total Removed Size: 1.07 MiB
    :: Do you want to remove these packages? [Y/n]
    (1/1) removing broadcom-wl [############################] 100%
    [skoczo@localhost broadcom-wl]$ makepkg -f
    ==> Making package: broadcom-wl 5.100.82.112-13 (Mon Jul 15 21:32:50 CEST 2013)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Found hybrid-portsrc_x86_32-v5_100_82_112.tar.gz
    -> Found modprobe.d
    -> Found license.patch
    -> Found linux-recent.patch
    ==> Validating source files with sha1sums...
    hybrid-portsrc_x86_32-v5_100_82_112.tar.gz ... Passed
    modprobe.d ... Passed
    license.patch ... Passed
    linux-recent.patch ... Passed
    ==> Extracting sources...
    -> Extracting hybrid-portsrc_x86_32-v5_100_82_112.tar.gz with bsdtar
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    patching file Makefile
    patching file src/include/bcmutils.h
    patching file src/wl/sys/wl_cfg80211.c
    patching file src/wl/sys/wl_iw.h
    patching file src/wl/sys/wl_linux.c
    patching file src/wl/sys/wl_linux.c
    Hunk #1 succeeded at 244 (offset 4 lines).
    make: Entering directory `/usr/src/linux-3.10.1-1-ARCH'
    CFG80211 API is prefered for this kernel version
    Using CFG80211 API
    CC [M] /home/skoczo/Pobrane/broadcom-wl/src/src/shared/linux_osl.o
    CC [M] /home/skoczo/Pobrane/broadcom-wl/src/src/wl/sys/wl_linux.o
    CC [M] /home/skoczo/Pobrane/broadcom-wl/src/src/wl/sys/wl_cfg80211.o
    LD [M] /home/skoczo/Pobrane/broadcom-wl/src/wl.o
    Building modules, stage 2.
    CFG80211 API is prefered for this kernel version
    Using CFG80211 API
    MODPOST 1 modules
    LD [M] /home/skoczo/Pobrane/broadcom-wl/src/wl.ko
    make: Leaving directory `/usr/src/linux-3.10.1-1-ARCH'
    ==> Entering fakeroot environment...
    ==> Starting package()...
    ==> Tidying install...
    -> Purging unwanted files...
    -> Compressing man and info pages...
    -> Stripping unneeded symbols from binaries and libraries...
    ==> Creating package "broadcom-wl"...
    -> Generating .PKGINFO file...
    -> Adding install file...
    -> Generating .MTREE file...
    -> Compressing package...
    ==> Leaving fakeroot environment.
    ==> Finished making: broadcom-wl 5.100.82.112-13 (Mon Jul 15 21:33:05 CEST 2013)
    [skoczo@localhost broadcom-wl]$ su
    Password:
    [root@localhost broadcom-wl]# pacman -U broadcom-wl-5.100.82.112-13-i686.pkg.tar.xz
    loading packages...
    resolving dependencies...
    looking for inter-conflicts...
    Packages (1): broadcom-wl-5.100.82.112-13
    Total Installed Size: 1.07 MiB
    :: Proceed with installation? [Y/n]
    (1/1) checking keys in keyring [############################] 100%
    (1/1) checking package integrity [############################] 100%
    (1/1) loading package files [############################] 100%
    (1/1) checking for file conflicts [############################] 100%
    (1/1) checking available disk space [############################] 100%
    (1/1) installing broadcom-wl [############################] 100%
    [root@localhost broadcom-wl]# pacman -Ss broadcom
    extra/bluez-firmware 1.2-7
    Firmwares for Broadcom BCM203x and STLC2300 Bluetooth chips
    [root@localhost broadcom-wl]# pacman -Q broadcom
    error: package 'broadcom' was not found
    [root@localhost broadcom-wl]# pacman -Q wl
    error: package 'wl' was not found
    [root@localhost broadcom-wl]# modprobe wl
    _______STUCK__________
    Last edited by skoczo (2013-07-16 17:49:53)

    lspci -nn
    0:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 03)
    00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) [8086:2a02] (rev 03)
    00:02.1 Display controller [0380]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) [8086:2a03] (rev 03)
    00:1a.0 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 [8086:2834] (rev 03)
    00:1a.1 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 [8086:2835] (rev 03)
    00:1a.7 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 [8086:283a] (rev 03)
    00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 03)
    00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 [8086:283f] (rev 03)
    00:1c.1 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 [8086:2841] (rev 03)
    00:1c.2 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 [8086:2843] (rev 03)
    00:1d.0 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 [8086:2830] (rev 03)
    00:1d.1 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 [8086:2831] (rev 03)
    00:1d.2 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 [8086:2832] (rev 03)
    00:1d.7 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 [8086:2836] (rev 03)
    00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev f3)
    00:1f.0 ISA bridge [0601]: Intel Corporation 82801HM (ICH8M) LPC Interface Controller [8086:2815] (rev 03)
    00:1f.1 IDE interface [0101]: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller [8086:2850] (rev 03)
    00:1f.2 IDE interface [0101]: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [IDE mode] [8086:2828] (rev 03)
    00:1f.3 SMBus [0c05]: Intel Corporation 82801H (ICH8 Family) SMBus Controller [8086:283e] (rev 03)
    02:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express [14e4:1693] (rev 02)
    04:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11b/g WLAN [14e4:4311] (rev 01)
    0f:06.0 CardBus bridge [0607]: Texas Instruments PCIxx12 Cardbus Controller [104c:8039]
    0f:06.1 FireWire (IEEE 1394) [0c00]: Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller [104c:803a]
    0f:06.2 Mass storage controller [0180]: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) [104c:803b]
    0f:06.3 SD Host controller [0805]: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller [104c:803c]
    lsmod
    Module Size Used by
    joydev 7339 0
    iTCO_wdt 4471 0
    iTCO_vendor_support 1545 1 iTCO_wdt
    pcmcia 40181 0
    snd_hda_codec_realtek 30689 1
    wl 2427712 1
    acer_wmi 21383 0
    mperf 991 0
    sparse_keymap 2582 1 acer_wmi
    uvcvideo 63657 0
    coretemp 4926 0
    tg3 139344 0
    videobuf2_vmalloc 2604 1 uvcvideo
    microcode 9872 0
    videobuf2_memops 1683 1 videobuf2_vmalloc
    videobuf2_core 24309 1 uvcvideo
    ptp 6844 1 tg3
    pcspkr 1487 0
    i915 509478 2
    psmouse 85971 0
    pps_core 7728 1 ptp
    videodev 84340 2 uvcvideo,videobuf2_core
    libphy 17299 1 tg3
    lib80211 3037 1 wl
    media 8577 2 uvcvideo,videodev
    cfg80211 339155 1 wl
    snd_hda_intel 29956 0
    rfkill 12682 2 cfg80211,acer_wmi
    evdev 7528 11
    serio_raw 3969 0
    i2c_i801 9873 0
    of_i2c 1774 1 i2c_i801
    wmi 7099 1 acer_wmi
    snd_hda_codec 126979 2 snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep 4746 1 snd_hda_codec
    yenta_socket 30036 0
    snd_pcm 63876 2 snd_hda_codec,snd_hda_intel
    pcmcia_rsrc 9064 1 yenta_socket
    pcmcia_core 11892 3 pcmcia,pcmcia_rsrc,yenta_socket
    snd_page_alloc 5974 2 snd_pcm,snd_hda_intel
    snd_timer 14942 1 snd_pcm
    snd 44383 6 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
    nsc_ircc 12533 0
    soundcore 4386 1 snd
    lpc_ich 11197 0
    irda 88855 1 nsc_ircc
    crc_ccitt 1095 1 irda
    drm_kms_helper 31518 1 i915
    ac 2668 0
    thermal 7144 0
    drm 186917 3 i915,drm_kms_helper
    video 10027 2 i915,acer_wmi
    i2c_algo_bit 4583 1 i915
    i2c_core 19967 7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,of_i2c,videodev
    intel_agp 8720 1 i915
    intel_gtt 10172 3 i915,intel_agp
    agpgart 22047 3 drm,intel_agp,intel_gtt
    battery 5557 0
    button 3685 1 i915
    processor 24819 1
    ext4 413470 2
    crc16 1091 1 ext4
    mbcache 4290 1 ext4
    jbd2 68896 1 ext4
    sr_mod 13055 0
    cdrom 29900 1 sr_mod
    sd_mod 28214 4
    ata_generic 2434 0
    pata_acpi 2367 0
    ata_piix 20824 3
    libata 149195 3 pata_acpi,ata_generic,ata_piix
    scsi_mod 108388 3 libata,sd_mod,sr_mod
    sdhci_pci 9751 0
    sdhci 25111 1 sdhci_pci
    tifm_7xx1 4253 0
    firewire_ohci 27494 0
    mmc_core 85568 2 sdhci,sdhci_pci
    tifm_core 3865 1 tifm_7xx1
    firewire_core 44439 1 firewire_ohci
    crc_itu_t 1095 1 firewire_core
    ehci_pci 3404 0
    uhci_hcd 21448 0
    ehci_hcd 42520 1 ehci_pci
    usbcore 151915 4 uhci_hcd,uvcvideo,ehci_hcd,ehci_pci
    usb_common 1172 1 usbcore
    pacman -Qs broad
    local/broadcom-wl 5.100.82.112-13
    Broadcom 802.11abgn hybrid Linux networking device driver
    local/mobile-broadband-provider-info 20120614-1
    Network Management daemon
    local/modemmanager 0.7.991-1
    Mobile broadband modem management service
    ip link
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: irda0: <NOARP> mtu 2048 qdisc noop state DOWN mode DEFAULT qlen 8
    link/irda 00:00:00:00 brd ff:ff:ff:ff
    3: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000
    link/ether 00:1d:72:2a:a7:45 brd ff:ff:ff:ff:ff:ff
    uname -a
    Linux localhost 3.10.1-1-ARCH #1 SMP PREEMPT Sun Jul 14 11:47:37 CEST 2013 i686 GNU/Linux

  • Should modules for different kernels differ?

    I'm trying to build acpi_call-git from the AUR. The build seems to go rather too smoothly. I uninstalled a custom kernel (which I only have for debugging) which leaves the standard Arch and Arch LTS kernels installed. I have the headers installed for both kernels:
    $ pacman -Qs linux-[lts-]*headers
    local/linux-headers 3.11.4-1
    Header files and scripts for building modules for Linux kernel
    local/linux-lts-headers 3.10.15-1
    Header files and scripts for building modules for Linux-lts kernel
    What is confusing me is that the package seems to build identical modules for the two kernels and I am not sure whether that's right:
    $ diff pkg/acpi_call-git/usr/lib/modules/extramodules-3.11-ARCH/acpi_call.ko.gz pkg/acpi_call-git/usr/lib/modules/extramodules-3.10-lts/acpi_call.ko.gz
    $ echo $?
    0
    Shouldn't there be a difference between the two? That is, I know that you typically need modules which match the kernel - otherwise the modules can't be loaded. So presumably if building module M for kernel K1 produces M1, and building module M for kernel K2 produces M2, then M1 cannot be identical with M2.
    Is there a problem here or am I just horribly confused?

    If the kernel functions (especially the specifications) used by acpi_call haven't changed, then the module could indeed be the same for both kernels.
    You'd have to check the kernel commits for acpi related changes to be sure.

  • Hyper-V kernel modules prevent Xen-kernel from finding disk drives

    Hi,
        I tried booting Xen-kernel 4.3 in a Hyper-V virtual machine. The vm runs Debian7, which uses hv modules for Hyper-V. When I boot the normal kernel, it is fine, but booting Debian's xen-kernel doesn't work, because no virtual disk drives
    can be found. This looks like an issue with the hv modules, because without them, the xen-kernel boots fine. I tested this by using an older Debian6, where hv modules are not loaded by default.
    Regards,
    Sladi

    the PV kernel "kernel-xen" is specific to the xen hypervisor.
    This kernel will not boot on any other hypervisor.
    Where the xen VM container in this case is a PV VM.  Hyper-V only creates HVM type VM containers (To use xen language).
    So yes, the pae or 'regular' kernel will wirk in a Hyper-V vm, the PV kernel ('kernel-xen') will not.
    It has nothing to do with the hv components - it is the kernel itself and the differences in how they work and their expectations.
    Also, only the HVM type VM is transportable across hypervisor platforms.  The xen PV type VM is not, it will only run on xen.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.
    Disclaimer: Attempting change is of your own free will.

  • [solved] Canonical way to detect what kernels are installed?

    Planning to do a PKGBUILD for the nvidia modules which would install modules for all installed kernels (would basically steal the current PKGBUILD but run it separately for every kernel and have the modules installed seperately in each /lib/modules/<kernel_name>. Mainly for personal use, as I don't think it's 'allowable' for the AUR (please correct me if I'm wrong).
    Currently I already have one PKGBUILD doing this, for phc-intel, where I basically do:-
    for _KERNEL in `ls /lib/modules` ; do
    Is this the 'correct' way to detect all installed kernels, or should I sed on the contents of /usr/src?:-
    for _KERNEL in `ls /usr/src | sed 's/linux-//'` ; do
    Or is there some other FHS-compliant manner of detecting all kernels installed?
    Last edited by ngoonee (2009-10-02 10:08:44)

    ugkbunb wrote:Well not sure if this is relevant... but n my /lib/modules folder I still have 2.6.29-ARCH and 2.6.30-ARCH although the current and only kernel installed is 2.6.31-ARCH. Is it safe to remove these? And would your method attempt to install it for these older/no longer installed kernels?
    I would think that if you still have 2.6.29-ARCH and 2.6.30-ARCH they would be empty? Or only contain separately compiled modules. Could you please ls the contents, and check whether you have corresponding /usr/src folders.

  • Script to easily build modules for custom kernels

    I got bored, and thought of this ages ago. I have no use for it now, but i'm sure someone else will.
    run:
    abs-module $modulename $kernel
    $modulename is any kernel module that's available in /var/abs, so if you have some that arent in a default abs, put em in /var/abs/local and they will be spotted by this.
    $kernel is the name of the kernel that you want to compile for. this can be found with 'uname -r'. If $kernel is not specified, then it will default to what you are running now.
    this will only work for module packages that have a variable called _kernver which sets the kernel it will be compiled for. I know all the winmodems, ATi and drivers I maintain do, not sure about some of the others. nvidia won't work.
    #! /bin/bash
    # Set the variables up
    module="$1"
    kernel="$2"
    pacman="1"
    current="`uname -r`"
    # Check things
    if [ -z "$module" ]; then
    echo "No module specified"
    return 1
    fi
    if [ -z "$kernel" ]; then
    echo "No kernel specified, building for: $current"
    kernel="$current"
    fi
    if [ ! -e "/lib/modules/$kernel/build" ]; then
    echo "Specified kernel is not installed"
    return 1
    fi
    # Check if module exists
    origdir="`find /var/abs -type d -name $module`"
    if [ -z "$origdir" ]; then
    echo "Specified module does not exist"
    return 1
    fi
    # Prepare to build
    newdir="/var/abs/local/$module-$kernel"
    if [ -d "$newdir" ]; then
    rm -rf "$newdir"
    fi
    cp -R $origdir $newdir
    cd $newdir
    source PKGBUILD
    if [ -z "$_kernver" ]; then
    echo "PKGBUILD does not have $_kernver."
    return 1
    fi
    sed "s/$_kernver/$kernel/g" -i PKGBUILD
    sed "s/pkgname=$pkgname/pkgname=$pkgname-$kernel/g" -i PKGBUILD
    # Build!
    makepkg
    # Post build messages/install
    if [ $? = 0 ]; then
    package="`find $newdir -name *pkg.tar.gz`"
    # variable is at top
    if [ "$pacman" = "1" ]; then
    pacman -U $package
    else
    echo "Package is ready to install: $package"
    fi
    else
    echo "Build failed"
    fi
    sorry if there's any stupid bash in there, i'm tired. and yeah, I know it's a tad verbose and spacy, but it seems to works fine.
    James

    Iphitus > I'm looking 4 something like your script that will allow me to load spca5xx when running my custom kernelbeyond
    Unfortunetely spca5xx seems not to be manageable by your abs-module script, as its PKGBUILD doesn't have a variable called _kernver.
    Log :
    /usr/bin/abs-make-module spca5xx
    No kernel specified, building for: 2.6.17-beyond-LLEWELLYN
    PKGBUILD does not have .
    /usr/bin/abs-make-module: line 52: return: can only `return' from a function or sourced script
    sed: -e expression #1, char 0: no previous regular expression
    ==> Making package: spca5xx-2.6.17-beyond-LLEWELLYN 0.60.00-2 (Sun Jul 23 11:44:52 CEST 2006)
    ==> Validating source files with MD5sums
        spca5xx-20060501.tar.gz ... Passed
    ==> Extracting Sources...
    ==>     tar --use-compress-program=gzip -xf spca5xx-20060501.tar.gz
    tar: spca5xx-20060501/drivers: implausibly old time stamp 1970-01-01 01:00:00
    ==> Starting build()...
    ./PKGBUILD: line 13: cd: /var/abs/local/spca5xx-2.6.17-beyond-LLEWELLYN/src/spca5xx-2.6.17-beyond-LLEWELLYN-20060501: No such file or directory
    make: *** No targets specified and no makefile found.  Stop.
    ==> ERROR: Build Failed.  Aborting...
    Build failed

  • How can i add FICO module to the SAP Netweaver ABAP 7.02 trial version

    Dear Brothers
    I am a new learner of SAP and interested in learning FICO. As part of that I installed SAP Netweaver ABAP trial version and after the installation I had problem in Logging in but it was solved lately. Now I face an other challenge which I may share with u guys. After logging in I wanna start with a new company code creation for FICO but I cant find the Enterprise Structure for in SAP Reference IMG. Only I see the following structure
    SAP Customizing Implementation Guide
         Activate Business functions
         SAP Net weaver
         Cross-Application Components
         Financial Supply Chain Management
         Integration with Other my Sap.com components
    I expanded the tree structure but could not find the Enterprise Structure> Definition> Financial Accounting--> Define Company
    So is this because of missing FICO module if so how can I install that module for I can learn myself @ home. Kindly help me to fix this prob and hope to hear from the SAP experts around the world.
    W8ng for a reply have a gr8 day a head
    Thnx
    Cherian

    My problem is solved ,, thanx whoever looked at it :).
    the solution was that I downloaded and NSP license key but for an other version of the product.
    Thanx.

Maybe you are looking for

  • Err=9006-cannot finish downloading purchased movie

    I am trying to download the 10 commandments; but it stops almost immediately and shows only 7 kilobytes downloaded with err-9006 in the download progress column. The movie is in my download list but when i try to "resume" the download, it wont downlo

  • My app tabs won't survive a restart. Must I re-pin them with each new session?

    I like app tabs. But for some reason, mine disappear each time I restart. Is this how they're supposed to work? Is there something I need to do to save them? Or am I doing something wrong? I have an Intel iMac running OS X 10.6.7.

  • XSU ERROR when reading from a OR-Table

    When i try to read Data (SELECT * from named_pointlist) from a Nasted Table with the function "getXMLString()" i get the following Error: java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError: oracle .jdbc.oracore.OracleTypeCOLLECT

  • Poor photo brightness accuracy on Photosmart printers

    I had a 3 year old HP photosmart printer that did not accurately reproduce the image I was seeing on my Sony LCD computer screen.  Photos printed much darker than they appeared on my screen or camera viewfinder,  This happens irrespective of the phot

  • Safari Graphics not displaying:

    Safari, 5.0.4 (Latest version). Noticed graphics on google weather plug in not displaying (empty square, can load in a different window). Refreshing page has no effect. Problem also appears on Apples website, where I cannot see any of the titles in t