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?

Similar Messages

  • /etc/sysctl.conf not taking effect

    Hi, i created /etc/sysctl.conf which is not applied at startup. Is anyone able to tell me where i've gone wrong?
    ls -al /etc/sysctl.conf
    -rw-r--r-- 1 root wheel 121 Oct 13 10:05 /etc/sysctl.conf
    cat /etc/sysctl.conf
    net.inet.tcp.sendspace: 65536
    net.inet.tcp.recvspace: 65536
    After starting up i check with this command:
    sysctl net.inet.tcp
    And the results are:
    net.inet.tcp.sendspace: 32768
    net.inet.tcp.recvspace: 32768
    ....

    Your syntax is wrong. Use net.inet.tcp.sendspace=65536

  • [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

  • (solved) /etc/fstab does not list all the discs

    there are too usb discs: /dev/sdc1 and /dev/sdd1
    besides there are two hd too: /dev/sdb and /dev/sda
    arch linux has been installed on /dev/sdb
    1) the /etc/fstab is like this - no /dev/sda, no /dev/sdc1 neither /dev/sdd1 listed
    # /etc/fstab: static file system information
    # <file system> <dir>   <type>  <options>       <dump>  <pass>
    # UUID=6ea90d2a-f445-4dc2-88ae-cdedcd2be530
    /dev/sdb1               /               ext4            rw,relatime     0$
    # UUID=6b1c3042-97aa-46b6-a6cb-b2b9837748a9
    /dev/sdb2               /home           ext4            rw,relatime     0$
    # UUID=d039ad96-6474-4492-a9b0-abaf45a8f8c3
    /dev/sdb3               none            swap            defaults        0$
    2) the result of # lsblk -f is:
    [root@arch cezar]# lsblk -f
    NAME   FSTYPE LABEL   UUID                                 MOUNTPOINT
    sda                                                       
    ├─sda1 ntfs           9C7AC58F7AC5671C                     
    ├─sda2 ext4           33e515b1-4f01-4d50-a0c3-91621b80dbcc
    └─sda3 swap           5b3657af-7363-4f08-be60-7cdcfb277cfb
    sdb                                                       
    ├─sdb1 ext4           6ea90d2a-f445-4dc2-88ae-cdedcd2be530 /
    ├─sdb2 ext4           6b1c3042-97aa-46b6-a6cb-b2b9837748a9 /home
    └─sdb3 swap           d039ad96-6474-4492-a9b0-abaf45a8f8c3 [SWAP]
    sdc                                                       
    └─sdc1 ntfs   SAMSUNG 0E604C85604C758D                     /run/media/cezar
    sdd                                                       
    └─sdd1 ntfs           083818523818415C                     /run/media/cezar
    sr0
    3) I tried to add all the discs on /etc/fstab by hand, but the system crashed and I had to comment the lines I had added     
    # /etc/fstab: static file system information
    # <file system> <dir>   <type>  <options>       <dump>  <pass>
    # UUID=9C7AC58F7AC5671C
    #/dev/sda1               /mnt/win7       ntfs            defaults                  0 0
    # UUID=33e515b1-4f01-4d50-a0c3-91621b80dbcc
    #/dev/sda2               /               ext4            auto,rw,relatime,users    0 1
    # UUID=5b3657af-7363-4f08-be60-7cdcfb277cfb
    #/dev/sda3               none            swap            defaults                   0 0
    # UUID=6ea90d2a-f445-4dc2-88ae-cdedcd2be530
    /dev/sdb1               /               ext4            rw,relatime        0 1
    # UUID=6b1c3042-97aa-46b6-a6cb-b2b9837748a9
    /dev/sdb2               /home           ext4            rw,relatime        0 2
    # UUID=d039ad96-6474-4492-a9b0-abaf45a8f8c3
    /dev/sdb3               none            swap            defaults           0 0
    # UUID=0E604C85604C758D
    #/dev/sdc1              /run/media/cezar  ntfs           auto,rw,relatime,users     0 1
    # UUID=083818523818415C
    #/dev/sdd1             /run/media/cezar   ntfs           auto,rw,relatime,users     0 1
    how can that be fixed in order to all the discs be listed? thanks
    Last edited by cezarrangel (2014-06-25 18:23:24)

    ok trilby concerning swap. I will check the /run/media/cezar because these are the two differente usb discs. thank you so much.
    That is it Trilby, it has been solved: #mkdir /mnt/samsung1 for /dev/sdc1 and #mkdir /mnt/samsung2 for /dev/sdd1; I have also #cfdisk /dev/sda and deleted the swap partition over there.
    Last edited by cezarrangel (2014-06-25 18:22:55)

  • A perfect /etc/pacman.conf ??

    Hello guys,
    can someone please post a good working /etc/pacman.conf with uptodate servers ??
    I somehow broke mine...:/:/
    Thanks in advance and regards from Berlin
    Chris

    Here's mine with testing,community and unstable uncommented.
    # /etc/pacman.conf
    # NOTE: If you find a mirror that is geographically close to you, please
    # move it to the top of the server list, so pacman will choose it
    # first.
    # To re-sort your mirror lists by ping/traceroute results, use the
    # /usr/bin/sortmirrors script. It requires the "netselect" package.
    # See the pacman manpage for option directives
    # GENERAL OPTIONS
    [options]
    LogFile = /var/log/pacman.log
    NoUpgrade = etc/passwd etc/group etc/shadow etc/sudoers
    NoUpgrade = etc/fstab etc/raidtab etc/ld.so.conf
    NoUpgrade = etc/rc.conf etc/rc.local
    NoUpgrade = etc/modprobe.conf etc/modules.conf
    NoUpgrade = etc/lilo.conf boot/grub/menu.lst
    HoldPkg = pacman glibc
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    # REPOSITORIES
    # - can be defined here or included from another file
    # - pacman will search repositories in the order defined here.
    # - local/custom mirrors can be added here or in separate files
    [testing]
    Server = ftp://ftp.archlinux.org/testing/os/i686
    [current]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/current
    [extra]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/extra
    [unstable]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/unstable
    [community]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/community
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs

  • Stop applications not listed in Login Items from launching

    When I sign in, all Microsoft Office applications as well as others not listed in Login Items launch automatically. These include Skype, iChat, my HP Printer utility, etc., which are not listed at all in Login Items. Never had this problem with Leopard.
    How do I stop this?

    Open SysPrefs > General and unselect the option to "restore windows when quitting and re-opening apps." Then, when you log out make sure and unselect the option to "reopen windows when logging back in." You can quickly do this latter by tapping the space bar. 

  • Firewire module install with rpm not updating "/etc/grub.conf" file

    Hello,
    Thank you in advance! I am trying to setup Oracle10g RAC on RedHat Enterprise Linux ES 4.0. As a part of that process, I am trying to install the shared disk (Firewire) module on the node using 'rpm' as follows:
    rpm -ivh --force oracle-firewire-modules-2.6.9.EL-1286-1.i686.rpm
    It is getting installed perfectly. However, I am expecting with "-ivc" option, it is supposed to update "/etc/grub.conf" file. But it is not updating this file. Therefore reboot could NOT load this module and can not proceed further. Any help on this is really appreciated!
    Thanks again,
    Kishore

    karol's link did the deed!  I had gone to the page that shows the most up to date mirrors and used that for the install. But when I used the link that karol gave it not only gave me the same URL as I used earlier to install, it gave me some additional suffixes that didn't appear on the page that provided the updated links. When I added /$repo/os/$arch, pacman took off and started burning rubber. So many thanks!
    Now I can go ahead and install reflector, which is the first thing I try and do when I get an Arch install up and running. Thanks again.
    After seeing karol's script in post#4, I see that the /$repo/os//4arch was showing up there also. I didn't see anything like that when I copied the link to install.
    Last edited by pottzie (2012-03-14 02:42:28)

  • /etc/rc.conf: line 62: wlan0: command not found

    While Arch Linux starts up, I get this message repeatedly.
    /etc/rc.conf: line 62: wlan0: command not found
    Everything still ends up working alright (I'm using NetworkManager), but this message is really annoying -- how do I get rid of it?

    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime"
    # 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
    LOCALE="en_US.utf8"
    HARDWARECLOCK="localtime"
    TIMEZONE="US/Eastern"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # Scan hardware and load required modules at bootup
    MOD_AUTOLOAD="yes"
    # Module Blacklist - modules in this list will never be loaded by udev
    MOD_BLACKLIST=()
    # Modules to load at boot-up (in this order)
    #   - prefix a module with a ! to blacklist it
    MODULES=(sky2 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore acpi_cpufreq iwl4965)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    HOSTNAME="elisrivers"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
    # interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    #   - prefix an entry in INTERFACES with a ! to disable it
    #   - no hyphens in your interface names - Bash doesn't like it
    # Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
    lo="lo 127.0.0.1"
    eth0="dhcp"
    wlan0 ="dhcp"
    INTERFACES=(lo !eth0 !wlan0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    #   - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up.  These are only useful
    # if you happen to need 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-profiles
    #NET_PROFILES=(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
    DAEMONS=(syslog-ng hal !network netfs crond alsa cpufreq dhcdbd networkmanager fam)
    # End of file

  • Loading a module with the force flag in /etc/rc.conf

    I'm in a situation where I have to load a module forcing it (# modprobe -f coretemp) it make it work.  How can I do this in the module array in /etc/rc.conf or is it not possible?  I think that I can add a line to /etc/rc.local to do it.

    Ah, sorry, here is the reason why I need to force it

  • [solved] Blacklisting of modules in rc.conf not working

    Hi folks,
    the blacklisting of modules in rc.conf (putting an '!' in front of the modules name in the MODULES-array) seems to be broken. As I was a bit sloppy with my system I cannot pin down a certain date from which on this behaviour occured. It's happened in the last two weeks, and I assume, that it was caused by the update of rc.sysinit.
    Here the importants part of rc.conf
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(acpi-cpufreq cpufreq-ondemand !snd_seq_dummy !snd_seq_oss !snd_pcm_oss !8139cp !ipw2100 !yenta_socket !firewire_ohci)
    and the output of lsmod right after I the login
    [10:11 ~]$ lsmod
    Module Size Used by
    radeon 523682 2
    ttm 31045 1 radeon
    drm_kms_helper 21971 1 radeon
    drm 126556 5 radeon,ttm,drm_kms_helper
    i2c_algo_bit 4219 1 radeon
    snd_seq_dummy 1099 0
    usbhid 33451 0
    snd_intel8x0 21848 3
    snd_seq_oss 25304 0
    hid 61117 1 usbhid
    snd_seq_midi_event 4452 1 snd_seq_oss
    snd_intel8x0m 9195 1
    snd_ac97_codec 85937 2 snd_intel8x0,snd_intel8x0m
    snd_seq 42628 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
    snd_seq_device 4313 3 snd_seq_dummy,snd_seq_oss,snd_seq
    ipw2100 62412 0
    ac97_bus 750 1 snd_ac97_codec
    joydev 7768 0
    8139too 17116 0
    snd_pcm_oss 33693 0
    snd_mixer_oss 14810 1 snd_pcm_oss
    libipw 22851 1 ipw2100
    snd_pcm 57479 5 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss
    yenta_socket 19039 0
    iTCO_wdt 7577 0
    snd_timer 16117 3 snd_seq,snd_pcm
    uhci_hcd 19124 0
    8139cp 15404 0
    i2c_i801 7122 0
    rfkill 12320 0
    lib80211 3210 1 libipw
    snd 43847 16 snd_intel8x0,snd_seq_oss,snd_intel8x0m,snd_ac97_codec,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
    ehci_hcd 31594 0
    iTCO_vendor_support 1453 1 iTCO_wdt
    rsrc_nonstatic 8891 1 yenta_socket
    mii 3218 2 8139too,8139cp
    firewire_ohci 20266 0
    sr_mod 13161 0
    pcmcia_core 25643 2 yenta_socket,rsrc_nonstatic
    intel_agp 23225 1
    firewire_core 37529 1 firewire_ohci
    crc_itu_t 1041 1 firewire_core
    pcspkr 1347 0
    psmouse 56309 0
    agpgart 23331 3 ttm,drm,intel_agp
    container 1869 0
    soundcore 5007 1 snd
    led_class 1933 0
    shpchp 26592 0
    usbcore 118921 4 usbhid,uhci_hcd,ehci_hcd
    battery 7328 0
    i2c_core 15369 4 radeon,drm,i2c_algo_bit,i2c_i801
    sg 21079 0
    ac 2255 0
    pci_hotplug 23492 1 shpchp
    snd_page_alloc 5809 3 snd_intel8x0,snd_intel8x0m,snd_pcm
    wmi 4083 0
    cdrom 31625 1 sr_mod
    serio_raw 3620 0
    thermal 9326 0
    evdev 6970 10
    button 3638 0
    cpufreq_ondemand 6897 1
    acpi_cpufreq 5599 0
    freq_table 1955 2 cpufreq_ondemand,acpi_cpufreq
    processor 25790 2 acpi_cpufreq
    rtc_cmos 7504 0
    rtc_core 12011 1 rtc_cmos
    rtc_lib 1450 1 rtc_core
    sd_mod 24101 3
    ata_piix 17725 2
    libata 135578 1 ata_piix
    scsi_mod 78933 4 sr_mod,sg,sd_mod,libata
    jfs 163812 2
    If more details are needed I can provide them.
    Any hints or help are appreciated
    Regards
    Last edited by mbender (2010-03-02 13:51:35)

    I had some time to do a deeper research. I tinkered around in rc.sysinit and added calls to lsmod at different postitions. With this approach I reached following conclusion:
    The code in lines 78 to 84 in rc.sysinit loads nearly all the modules for my system (rtc-Modules are loaded before, modules for hdd-access come from the init-ramdisk, cpufreq-modules are not loaded). This includes modules blacklisted in rc.conf but not those modules blacklisted in /etc/modprobe.d/*.
    Without further research I would assume that udev doesn't care for the MODULES-Array in the rc.conf. So one should 'fix' udev or remove the blacklisting from rc.conf completly and leave blacklisting to /etc/modprobe.d/*.
    I'm still curious if some special circumstances on my system lead to this behaviour or if the other users just don't use the blacklisting in rc.conf respectivly use it combined with blacklisting in /etc/modpobe.d/*.
    I'm keeping my /etc/ in a git-repository and checkout the files I tinkered with after I'm finished. Therefore I guess that the chances of some modified configuration files are quite small. Anyway I'll check files if I get hints.
    To avoid confusion and clearify my findings I post the 'culprit'
    # Trigger udev uevents
    if /bin/pidof -o %PPID /sbin/udevd >/dev/null; then
    stat_busy "Triggering UDev uevents"
    /sbin/udevadm control --property=STARTUP=1
    /sbin/udevadm trigger
    stat_done
    fi
    I'm still offering cooperation for dealing with this issue.
    If this is no issue at all, I would be very happy if someone could (try to) explain this behaviour on my system (Yes, I like to solve riddles a lot...).
    Best regards
    edit: Typos
    Last edited by mbender (2010-02-26 10:36:02)

  • Set systemwide variable with /etc/launchd.conf does not work in 10.10

    Hi,
    before i upgraded my system, i set in file /etc/launchd.conf some variables. I need this for the Shell, Eclipse and some other tools.
    user@osx10-10:~$ cat /etc/launchd.conf
    setenv M2_HOME /opt/maven
    setenv MAVEN_OPTS "-Xmx2048m -Dmaven.surefire.debug=-Xmx2048m"
    user@osx10-10:~$
    With Mavericks there was no problem, since Yosemite no Variables are set.
    Also when i try to set it manually with launchctl setting xxxxx xxxx, no variable is set.
    Does anyone has a workaround for me?
    Regards
    Joerg

    Alex It should work . by the way your PATH variable should be placed in /etc/paths like this :
    /usr/bin
    /bin
    /usr/sbin
    /sbin
    /usr/local/bin
    /Users/alex/Dev/apache-ant-1.9.2/bin
    Note after each line there is a return key
    As for environment variables open your ~/.bash_profile and place the.
    export ANT_HOME = /Users/alex/Dev/apache-ant-1.9.2
    launchctl setenv ANT_HOME $ANT_HOME
    export ANT_OPTS = -Xmx512M
    launchctl setenv ANT_OPTS $ANT_OPTS
    make sure you save and restart all applications that need to read environment variables. I faced the same problem with intelliJ accessing M2_HOME
    As a side note : consulting the man pages of launchctl(1)
    DEPRECATED AND REMOVED FUNCTIONALITY
         launchctl no longer has an interactive mode, nor does it accept commands from stdin. The
         /etc/launchd.conf file is no longer consulted for subcommands to run during early boot time; this func-
         tionality was removed for security considerations. While it was documented that $HOME/.launchd.conf
         would be consulted prior to setting up a user's session, this functionality was never implemented.
         launchd no longer uses Unix domain sockets for communication, so the LAUNCHD_SOCKET environment vari-
         able is no longer relevant and is not set.
         launchd no longer loads configuration files from the network

  • I'm trying to find instructions on replacing the memory module in an older MacBook (1,1). This is the model that has the battery on the back. Anybody know where I can get this info? (It's not listed in the Apple Support info)

    I'm trying to find instructions on replacing the memory module in an older MacBook (1,1). This is the model that has the removeable battery on the back. Anybody know where I can get this info? (It's not listed in the Apple Support info)

    Video of the installation here:
    http://eshop.macsales.com/installvideos/macbook_13_mem_hd/
    MtD

  • [Solved]Add kernel26 to IgnorePkg in /etc/pacman.conf. Not ignored.

    Using kdemod4.3(32bit).  I re-installed kernel26-2.6.30.5-1-i686(earliest in pacman  pkg cache) and added kernel26 and kernel-headers to /etc/pacman.conf IgnorePkg but # "pacman -Syu" still asks to upgrade kernel to 2.30.6-1-i686. What do I add to that IgnorePkg to avoid kernel upgrade? Tried kernel, kernel26 and kernel26*. Adding nvidia,nvidia-utils and xorg-server to Ignorepkg give me that thee aren't upgraded(desirred result). Thanx.
    Last edited by lestoil (2009-10-08 18:08:14)

    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir     = /
    #DBPath      = /var/lib/pacman/
    #CacheDir    = /var/cache/pacman/pkg/
    #LogFile     = /var/log/pacman.log
    HoldPkg     = pacman glibc
    # If upgrades are available for these packages they will be asked for first
    SyncFirst   = pacman
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #XferCommand = /usr/bin/curl %u > %o
    #CleanMethod = KeepInstalled
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    IgnorePkg   = nvidia nvidia-utils xorg-server 
    #IgnoreGroup =
    #NoUpgrade   =
    #NoExtract   =
    # Misc options (all disabled by default)
    #UseSyslog
    #ShowSize
    #UseDelta
    #TotalDownload
    # REPOSITORIES
    #   - can be defined here or included from another file
    #   - pacman will search repositories in the order defined here
    #   - local/custom mirrors can be added here or in separate files
    #   - repositories listed first will take precedence when packages
    #     have identical names, regardless of version number
    #   - URLs will have $repo replaced by the name of the current repo
    # Repository entries are of the format:
    #       [repo-name]
    #       Server = ServerName
    #       Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # Testing is disabled by default.  To enable, uncomment the following
    # two lines.  You can add preferred servers immediately after the header,
    # and they will be used before the default mirrors.
    #[testing]
    #Include = /etc/pacman.d/mirrorlist
    #KDEmod4
    [kdemod-core]
    Server = http://mirror.rit.edu/kdemod/core/i686
    #KDEmod4
    [kdemod-extragear]
    Server = http://mirror.rit.edu/kdemod/extragear/i686
    [core]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [extra]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [community]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    #Yaourt
    [archlinuxfr]
    Server = http://repo.archlinux.fr/i686
    # An example of a custom package repository.  See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs
      Here is complete /etc/pacman.conf. file without the "kernel" or "kernel26" entry which doesn't work.

  • Tasklist.exe does not list all Modules in Windows 7 64-bit

    tasklist.exe does not list all Modules in Windows 7 64-bit.
    If I want to look at the DLLs loaded by Excel, I would type:
      tasklist /M /fi "imagename eq excel.exe"
    When I run this in XP or 32-bit Win7, it works fine, showing all the dlls loaded by excel.  However, in 64-bit windows, it does NOT show all dlls - only a limited subset.  If I use Process Explorer, I can still see all the DLLs loaded by excel,
    but that is useless for writing automated scripts.
    To check this out, try looking for kernel32.dll - it is always loaded by Excel, but tasklist does not display it in 64-bit Win7:
       tasklist /M kernel32.dll /fi "imagename eq excel.exe"
    So, since tasklist is broken, is there a good (command-line) way of looking at what dlls are loaded by a process?
    (Originally posted
    here)

    Have a look at ListDLLs, also from SysInternals.
    http://technet.microsoft.com/en-us/sysinternals/bb896656
    Example with Firefox
    Microsoft Windows [Version 6.2.7989]
    Copyright (c) 2011 Microsoft Corporation.  All rights reserved.
    C:\Users\Cyclops>cd downloads
    C:\Users\Cyclops\Downloads>cd ListDlls
    C:\Users\Cyclops\Downloads\ListDlls>listdlls firefox
    ListDLLs v3.0 - DLL lister for Win9x/NT
    Copyright (C) 1997-2010 Mark Russinovich
    Sysinternals - www.sysinternals.com
    firefox.exe pid: 3544
    Command line: "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
      Base                Size      Version         Path
      0x0000000000c60000  0xe0000   5.0.0.4183  C:\Program Files (x86)\Mozilla Firef
    ox\firefox.exe
      0x000000002a960000  0x1a9000  6.2.7989.0  C:\Windows\SYSTEM32\ntdll.dll
      0x0000000077a30000  0x43000   6.2.7989.0  C:\Windows\SYSTEM32\wow64.dll
      0x00000000779c0000  0x57000   6.2.7989.0  C:\Windows\system32\wow64win.dll
      0x0000000077a20000  0x8000    6.2.7989.0  C:\Windows\system32\wow64cpu.dll
      0x0000000000c60000  0xe0000   5.0.0.4183  C:\Program Files (x86)\Mozilla Firef
    ox\firefox.exe
      0x0000000077a80000  0x180000  6.2.7989.0  C:\Windows\SysWOW64\ntdll.dll
      0x0000000075860000  0x120000  6.2.7989.0  C:\Windows\SysWOW64\KERNEL32.DLL
      0x0000000076060000  0x98000   6.2.7989.0  C:\Windows\SysWOW64\KERNELBASE.dll
      0x0000000075480000  0x68000   6.2.7989.0  C:\Windows\SysWOW64\apphelp.dll
      0x0000000071330000  0xdcf000  5.0.0.4183  C:\Program Files (x86)\Mozilla Firef
    ox\xul.dll
      0x0000000071320000  0x7000    5.0.0.4183  C:\Program Files (x86)\Mozilla Firef
    ox\xpcom.dll
      0x0000000071310000  0x6000    5.0.0.4183  C:\Program Files (x86)\Mozilla Firef
    ox\mozalloc.dll
      0x00000000712d0000  0x31000   4.8.8.0  C:\Program Files (x86)\Mozilla Firefox\
    nspr4.dll
      0x00000000712c0000  0x7000    4.8.8.0  C:\Program Files (x86)\Mozilla Firefox\
    plc4.dll
      0x0000000076370000  0x150000  6.2.7989.0  C:\Windows\SysWOW64\USER32.dll
      0x0000000075630000  0x7000    6.2.7989.0  C:\Windows\SysWOW64\VERSION.dll
      0x0000000071210000  0xaf000   8.0.0.0  C:\Program Files (x86)\Mozilla Firefox\
    MOZCRT19.dll
      0x0000000071150000  0xbe000   3.7.5.0  C:\Program Files (x86)\Mozilla Firefox\
    mozsqlite3.dll
      0x0000000070f80000  0x1c2000                  C:\Program Files (x86)\Mozilla F
    irefox\mozjs.dll
      0x0000000070f60000  0x18000   3.12.9.0  C:\Program Files (x86)\Mozilla Firefox
    \smime3.dll
      0x0000000070f30000  0x21000   3.12.9.0  C:\Program Files (x86)\Mozilla Firefox
    \ssl3.dll
      0x0000000070e90000  0x9d000   3.12.9.0  C:\Program Files (x86)\Mozilla Firefox
    \nss3.dll
      0x0000000070e70000  0x14000   3.12.9.0  C:\Program Files (x86)\Mozilla Firefox
    \nssutil3.dll
      0x0000000070e60000  0x7000    4.8.8.0  C:\Program Files (x86)\Mozilla Firefox\
    plds4.dll
      0x0000000075fd0000  0x90000   6.2.7989.0  C:\Windows\SysWOW64\GDI32.dll
      0x0000000075180000  0x1d000   6.2.7989.0  C:\Windows\SysWOW64\WINMM.dll
      0x0000000075050000  0x7000    6.2.7989.0  C:\Windows\SysWOW64\WSOCK32.dll
      0x0000000077920000  0x9e000   6.2.7989.0  C:\Windows\SysWOW64\ADVAPI32.dll
      0x0000000076790000  0xd99000  6.2.7989.0  C:\Windows\SysWOW64\SHELL32.dll
      0x0000000075ee0000  0xe7000   6.2.7989.0  C:\Windows\SysWOW64\ole32.dll
      0x00000000755d0000  0x51000   6.2.7989.0  C:\Windows\SysWOW64\WINSPOOL.DRV
      0x0000000076630000  0x78000   6.2.7989.0  C:\Windows\SysWOW64\COMDLG32.dll
      0x00000000765d0000  0x60000   6.2.7989.0  C:\Windows\SysWOW64\IMM32.dll
      0x0000000074170000  0x5000    6.2.7989.0  C:\Windows\SysWOW64\MSIMG32.dll
      0x0000000076100000  0x63000   6.2.7989.0  C:\Windows\SysWOW64\SHLWAPI.dll
      0x00000000777b0000  0x5000    6.2.7989.0  C:\Windows\SysWOW64\PSAPI.DLL
      0x0000000075e90000  0x45000   6.2.7989.0  C:\Windows\SysWOW64\WS2_32.dll
      0x00000000766b0000  0xaa000   1.626.7989.0  C:\Windows\SysWOW64\USP10.dll
      0x0000000075a60000  0x88000   6.2.7989.0  C:\Windows\SysWOW64\OLEAUT32.dll
      0x0000000070db0000  0xaf000   8.0.0.0  C:\Program Files (x86)\Mozilla Firefox\
    MOZCPP19.dll
      0x0000000076520000  0xaf000   7.0.7989.0  C:\Windows\SysWOW64\msvcrt.dll
      0x00000000764e0000  0xa000    6.2.7989.0  C:\Windows\SysWOW64\LPK.dll
      0x00000000750d0000  0x1d000   6.2.7989.0  C:\Windows\SysWOW64\WINMMBASE.dll
      0x0000000076760000  0x2b000   6.2.7989.0  C:\Windows\SysWOW64\sechost.dll
      0x0000000076170000  0xf0000   6.2.7989.0  C:\Windows\SysWOW64\RPCRT4.dll
      0x0000000075af0000  0x100000  6.2.7989.0  C:\Windows\SysWOW64\combase.dll
      0x00000000744d0000  0x1b4000  6.10.7989.0  C:\Windows\WinSxS\x86_microsoft.win
    dows.common-controls_6595b64144ccf1df_6.0.7989.0_none_20f19b7e40a076fb\COMCTL32.
    dll
      0x00000000776c0000  0xd4000   6.2.7989.0  C:\Windows\SysWOW64\MSCTF.dll
      0x00000000777a0000  0x6000    6.2.7989.0  C:\Windows\SysWOW64\NSI.dll
      0x0000000075650000  0x60000   6.2.7989.0  C:\Windows\SysWOW64\SspiCli.dll
      0x0000000075640000  0xc000    6.2.7989.0  C:\Windows\SysWOW64\CRYPTBASE.dll
      0x00000000751a0000  0xc0000   6.2.7989.0  C:\Windows\SysWOW64\uxtheme.dll
      0x0000000075110000  0x13000   6.2.7989.0  C:\Windows\SysWOW64\dwmapi.dll
      0x0000000070c90000  0x11e000  6.2.7989.0  C:\Windows\SysWOW64\dwrite.dll
      0x0000000070b70000  0x112000  6.2.7989.0  C:\Windows\SysWOW64\dbghelp.dll
      0x00000000756b0000  0x1ac000  6.2.7989.0  C:\Windows\SysWOW64\SETUPAPI.dll
      0x0000000075a20000  0x32000   6.2.7989.0  C:\Windows\SysWOW64\CFGMGR32.dll
      0x0000000075980000  0x12000   6.2.7989.0  C:\Windows\SysWOW64\DEVOBJ.dll
      0x00000000759b0000  0x6d000   2001.12.8919.0  C:\Windows\SysWOW64\clbcatq.dll
      0x0000000072b60000  0x12a000  7.0.7989.0  C:\Windows\SysWOW64\propsys.dll
      0x00000000755a0000  0x21000   6.2.7989.0  C:\Windows\SysWOW64\ntmarta.dll
      0x0000000075d20000  0x43000   6.2.7989.0  C:\Windows\SysWOW64\WLDAP32.dll
      0x0000000075080000  0x1a000   6.2.7989.0  C:\Windows\SysWOW64\iphlpapi.dll
      0x0000000075060000  0x7000    6.2.7989.0  C:\Windows\SysWOW64\WINNSI.DLL
      0x0000000010000000  0x51000   1.0.118.0  C:\Program Files (x86)\Common Files\P
    C Tools\Lsp\PCTLsp.dll
      0x0000000073490000  0x46000   6.2.7989.0  C:\Windows\SysWOW64\mswsock.dll
      0x0000000072a30000  0x5000    6.2.7989.0  C:\Windows\SysWOW64\wshtcpip.dll
      0x0000000070b40000  0x21000   5.0.0.4183  C:\Program Files (x86)\Mozilla Firef
    ox\components\browsercomps.dll
      0x00000000764f0000  0x30000   6.2.7989.0  C:\Windows\SysWOW64\WINTRUST.dll
      0x0000000076260000  0x110000  6.2.7989.0  C:\Windows\SysWOW64\CRYPT32.dll
      0x0000000075e00000  0xc000    6.2.7989.0  C:\Windows\SysWOW64\MSASN1.dll
      0x0000000070b10000  0x27000   6.2.7989.0  C:\Windows\SysWOW64\d3d10_1.dll
      0x0000000070ad0000  0x3c000   6.2.7989.0  C:\Windows\SysWOW64\d3d10_1core.dll
      0x0000000070a80000  0x42000   6.2.7989.0  C:\Windows\SysWOW64\dxgi.dll
      0x0000000070910000  0x16a000  6.2.7989.0  C:\Windows\SysWOW64\d3d11.dll
      0x00000000708f0000  0x1d000   6.2.7989.0  C:\Windows\SysWOW64\t2embed.dll
      0x00000000725a0000  0x103000  6.2.7989.0  C:\Windows\SysWOW64\WindowsCodecs.dl
    l
      0x00000000750c0000  0xb000    6.2.7989.0  C:\Windows\SysWOW64\profapi.dll
      0x0000000072560000  0x32000   6.2.7989.0  C:\Windows\SysWOW64\EhStorShell.dll
      0x0000000074fb0000  0xd000    6.2.7989.0  C:\Windows\SysWOW64\WTSAPI32.dll
      0x0000000072540000  0x1b000   6.2.7989.0  C:\Windows\SysWOW64\POWRPROF.dll
      0x0000000072510000  0x23000   6.2.7989.0  C:\Windows\SysWOW64\POWRBASE.dll
      0x0000000072490000  0x74000   6.2.7989.0  C:\Windows\SysWOW64\ntshrui.dll
      0x0000000074ca0000  0x17000   6.2.7989.0  C:\Windows\SysWOW64\CRYPTSP.dll
      0x0000000074c60000  0x3b000   6.2.7989.0  C:\Windows\SysWOW64\rsaenh.dll
      0x00000000748f0000  0xf000    6.2.7989.0  C:\Windows\SysWOW64\napinsp.dll
      0x00000000734f0000  0x13000   6.2.7989.0  C:\Windows\SysWOW64\pnrpnsp.dll
      0x00000000734e0000  0xf000    6.2.7989.0  C:\Windows\SysWOW64\NLAapi.dll
      0x0000000074a60000  0x61000   6.2.7989.0  C:\Windows\SysWOW64\DNSAPI.dll
      0x0000000073480000  0x8000    6.2.7989.0  C:\Windows\SysWOW64\winrnr.dll
      0x0000000072310000  0x7b000   6.2.7989.0  C:\Windows\SysWOW64\mscms.dll
      0x0000000075130000  0xf000    6.2.7989.0  C:\Windows\SysWOW64\USERENV.dll
      0x00000000722d0000  0x3a000   6.2.7989.0  C:\Windows\SysWOW64\icm32.dll
      0x00000000708b0000  0x3f000                   C:\Program Files (x86)\NVIDIA Co
    rporation\3D Vision\Nv3DVStreaming.dll
      0x0000000072dd0000  0xa3000   9.0.30729.5491  C:\Windows\WinSxS\x86_microsoft.
    vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.5491_none_50964dbabcb53b28\MSVCR90.dll
      0x0000000070650000  0x25d000  8.17.12.7533  C:\Windows\SysWOW64\nvapi.dll
      0x00000000703c0000  0x28c000  6.2.7989.0  C:\Windows\SysWOW64\explorerframe.dl
    l
      0x0000000070370000  0x4f000   6.2.7989.0  C:\Windows\SysWOW64\DUser.dll
      0x0000000070260000  0x109000  6.2.7989.0  C:\Windows\SysWOW64\DUI70.dll
      0x0000000072a20000  0x5000    6.2.7989.0  C:\Windows\SysWOW64\wship6.dll
      0x0000000070230000  0x27000   3.12.9.0  C:\Program Files (x86)\Mozilla Firefox
    \softokn3.dll
      0x0000000070210000  0x18000   3.12.9.0  C:\Program Files (x86)\Mozilla Firefox
    \nssdbm3.dll
      0x00000000701c0000  0x44000   3.12.9.0  C:\Program Files (x86)\Mozilla Firefox
    \freebl3.dll
      0x0000000070160000  0x52000   1.81.0.0  C:\Program Files (x86)\Mozilla Firefox
    \nssckbi.dll
      0x0000000073430000  0x6000    6.2.7989.0  C:\Windows\SysWOW64\rasadhlp.dll
      0x0000000073440000  0x3b000   6.2.7989.0  C:\Windows\SysWOW64\fwpuclnt.dll
      0x0000000070150000  0xb000    6.2.7989.0  C:\Windows\SysWOW64\feclient.dll
      0x000000006fdf0000  0x1e8000  6.2.7989.0  C:\Windows\SysWOW64\d3d9.dll
      0x000000006f270000  0xb7f000  8.17.12.7533  C:\Windows\SysWOW64\nvd3dum.dll
      0x0000000009a50000  0x28000   7.17.12.7533  C:\Program Files (x86)\NVIDIA Corp
    oration\3D Vision\nvStereoApiI.dll
      0x000000000b920000  0x93000   7.17.12.7533  C:\Program Files (x86)\NVIDIA Corp
    oration\3D Vision\nvSCPAPI.dll
      0x0000000070080000  0x30000   6.2.7989.0  C:\Windows\SysWOW64\shdocvw.dll
      0x0000000070070000  0x8000    6.2.7989.0  C:\Windows\SysWOW64\LINKINFO.dll
      0x0000000070050000  0x1a000   6.2.7989.0  C:\Windows\SysWOW64\srvcli.dll
      0x0000000070040000  0xb000    6.2.7989.0  C:\Windows\SysWOW64\cscapi.dll
      0x0000000070000000  0x1a000   6.2.7989.0  C:\Windows\SysWOW64\thumbcache.dll
      0x0000000075bf0000  0x12c000  9.0.7989.0  C:\Windows\SysWOW64\urlmon.dll
      0x0000000077530000  0x182000  9.0.7989.0  C:\Windows\SysWOW64\iertutil.dll
      0x00000000777c0000  0x160000  9.0.7989.0  C:\Windows\SysWOW64\WININET.dll
      0x00000000764c0000  0x1d000   6.2.7989.0  C:\Windows\SysWOW64\bcrypt.dll
      0x00000000759a0000  0x3000    6.2.7989.0  C:\Windows\SysWOW64\Normaliz.dll
      0x0000000072b50000  0x8000    6.2.7989.0  C:\Windows\SysWOW64\Secur32.dll
      0x0000000074b20000  0x5b000   6.2.7989.0  C:\Windows\SysWOW64\winhttp.dll
      0x0000000074ad0000  0x4e000   6.2.7989.0  C:\Windows\SysWOW64\webio.dll
      0x0000000072950000  0x4f000   6.2.7989.0  C:\Windows\SysWOW64\RASAPI32.dll
      0x0000000072930000  0x14000   6.2.7989.0  C:\Windows\SysWOW64\rasman.dll
      0x0000000072920000  0xc000    6.2.7989.0  C:\Windows\SysWOW64\rtutils.dll
      0x0000000072910000  0x6000    6.2.7989.0  C:\Windows\SysWOW64\sensapi.dll
      0x000000006e780000  0x4d000   1.0.0.1  C:\Windows\SysWOW64\Wpc.dll
      0x000000006e730000  0x45000   6.2.7989.0  C:\Windows\SysWOW64\wevtapi.dll
      0x0000000075170000  0xf000    6.2.7989.0  C:\Windows\SysWOW64\samcli.dll
      0x000000006e710000  0x11000   6.2.7989.0  C:\Windows\SysWOW64\SAMLIB.dll
      0x000000006e700000  0x9000    6.2.7989.0  C:\Windows\SysWOW64\netutils.dll
      0x000000006e690000  0xf000    6.2.7989.0  C:\Program Files (x86)\Windows Defen
    der\MpOav.dll
    C:\Users\Cyclops\Downloads\ListDlls> 
    Comparison with Tasklist
    Microsoft Windows [Version 6.2.7989]
    Copyright (c) 2011 Microsoft Corporation.  All rights reserved.
    C:\Users\Cyclops>tasklist /m /fi "imagename eq firefox.exe"
    Image Name                     PID Modules
    ========================= ======== ============================================
    firefox.exe                   3544 ntdll.dll, wow64.dll, wow64win.dll,
                                       wow64cpu.dll
    C:\Users\Cyclops>

  • Modules Loaded By InitRD Vs. Modules Loaded By /etc/rc.conf

    I have udev disabled and specified my modules in the modules array in /etc/rc.conf and was messing around with mkinitcpio.conf and noticed that you could specify your modules there also. I have about 30 or so modules I need loaded. Which method is better (quicker)?

    in mkinitcpio you should only load those modules needed for booting the kernel. No need to add all your modules to mkinitcpio - it will slow down your boot.

Maybe you are looking for

  • Up Dating Address Book Entries

    Hi All I have just started using my address book on my mac in a big way and it is taking ages to copy my info across (from a paper address book) and I'm not sure if my data is up to date. I remember some time ago (a long time ago) I had an e-mail fro

  • How to use geturl using class in AS3

    i try this code (my class name is bAEForm) package {       import flash.display.SimpleButton;       import flash.display.Sprite;       import flash.net.navigateToURL;       import flash.net.URLRequest;       import flash.net.URLRequestMethod;       i

  • I had to give

    I'm a long time CL user. This is the very first time I'm giving up on a CL card. I have the XFi Fatality pro. This card was Great in XP. I built myself a new system and decided to make the move over to Vista Ult. The only hardware that came?over from

  • No sound from Touchsmart music.

    Touchsmart music sees all my music but when I try to play a song there is no sound.  Songs play ok in itunes and Windows Media player.  When I press on a song to hear it, it appears to be starting and then stops.  Any thoughts on what the problem is?

  • Resource Bundle var unknown in task flow

    Hello everyone, I'm using a resource bundle in my web-app. This is the entry in the faces-config.xml file: <resource-bundle>       <base-name>oracle.bundles.CustomUIBundle</base-name>       <var>bundle</var> </resource-bundle> When I use the EL expre