Package Details: modprobed-db 2.48-1

Git Clone URL: https://aur.archlinux.org/modprobed-db.git (read-only, click to copy)
Package Base: modprobed-db
Description: Keeps track of EVERY kernel module ever used - useful for make localmodconfig
Upstream URL: https://wiki.archlinux.org/index.php/Modprobed-db
Licenses: MIT
Conflicts: modprobed_db
Replaces: modprobed_db
Submitter: graysky
Maintainer: graysky
Last Packager: graysky
Votes: 258
Popularity: 1.13
First Submitted: 2013-11-15 22:21 (UTC)
Last Updated: 2024-09-04 21:51 (UTC)

Latest Comments

« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 Next › Last »

graysky commented on 2011-11-05 00:01 (UTC)

$ makepkg -s ==> Making package: modprobed_db 1.5-3 (Fri Nov 4 20:00:57 EDT 2011) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving Sources... -> Found modprobed_db -> Found reload_database -> Found modprobed_db.conf ==> Validating source files with sha256sums... modprobed_db ... Passed reload_database ... Passed modprobed_db.conf ... Passed ==> Extracting Sources... ==> Entering fakeroot environment... ==> Starting build()... ==> Tidying install... -> Purging other files... -> Compressing man and info pages... -> Stripping unneeded symbols from binaries and libraries... ==> Creating package... -> Generating .PKGINFO file... -> Adding install file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: modprobed_db 1.5-3 (Fri Nov 4 20:00:57 EDT 2011) ???

ethail commented on 2011-11-04 20:29 (UTC)

makepkg fails at building: ==> ERROR: install file (('readme.install')) does not exist.

graysky commented on 2011-11-04 20:14 (UTC)

@maxr - this is a good idea. Done in 1.5-3. Any other common ones to suggest?

Maxr commented on 2011-11-04 07:23 (UTC)

Would like to suggest adding some popular modules (which have to be build seperately) to modprobed_db.conf: osscore oss_hdaudio oss_usb (open sound system) tp_smapi thinkpad_ec (tp_smapi from the aur)

<deleted-account> commented on 2011-06-20 23:09 (UTC)

@graysky -Thought you might like to see to see this little trick I figured out. You can use grep all by it's lonesome (well with a little help from sort) to diff the modules. Instead of this line: cat /proc/modules | awk '{print $1}' | sort -k 1,1 | grep -Ev "`echo ${ignore[*]} | sed -e 's/^/^(/' -e 's/ /|/g' -e 's/$/)$/'`" try this: grep -Fvf <(echo "${ignore[*]}" | tr " " "\n") <(cut -d" " -f1 /proc/modules) | sort --parallel=2 (fastest) or grep -Fvf <(echo "${ignore[*]}" | tr " " "\n") <(gawk '{print$1}' /proc/modules) | sort --parallel=2 (slightly slower) Let grep do all the hard work! Your lists don't even have to be sorted first for grep to diff them (see Note) that's why sort is at the end. Also, as sort is at the end of the list it will have already been filtered so sort runs faster now. Just thought you might be interested in this! Note: It's not really diffing them it's using your "ignore" variable as regex to find the inverse in /proc/modules.

misc commented on 2011-04-18 18:44 (UTC)

Here: http://pastebin.com/zPvEubew I always run modprobed_db as root.

graysky commented on 2011-04-17 21:22 (UTC)

@misc - odd... post your /etc/modprobed_db.conf then post the output of: ls -l /path/to/your/dbpath/from/that/file

misc commented on 2011-04-17 21:17 (UTC)

For some reason my db file constantly gets deleted. Bit tough collecting data for a week this way…

<deleted-account> commented on 2011-04-02 16:02 (UTC)

@graysky - Still using your excellent tool to learn awk (and to make ck-kernels). I finally figured out how to do the whole ${db} creation in awk alone. Here it is if you interested: Note: I'm using mawk so change to whichever awk version you use. This also hinges on the bash ${ignore[*]} variable being sourced as you have it. mawk -v x="$(echo ${ignore[*]})" 'BEGIN { split(x,ignore," ")}; NR == FNR {for (i in ignore); if ($0 ~ i); print $1 | "sort"}' /proc/modules > ${db} Enjoy!

maggie commented on 2011-02-12 13:54 (UTC)

nice tool!