From 0d611a58844e21ee718476c0d360effaf30b5dcc Mon Sep 17 00:00:00 2001 From: Ansuel Smith Date: Sat, 18 Mar 2017 12:08:32 +0100 Subject: [PATCH] cryptodev-linux: fix aria 2 spam message cryptodev log by default unecessary debug message With some app (like aria2) the syslog get spammed with lots of this message cryptodev: aria2c[3231] (adjust_sg_array:106): reallocating from 32 to 512 pages With this we disable logging of debug message as they are just for info purpose and they are not error at all. Signed-off-by: Ansuel Smith ansuelsmth@gmail.com --- utils/cryptodev-linux/Makefile | 6 ++++-- utils/cryptodev-linux/files/cryptodev.modules | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/utils/cryptodev-linux/Makefile b/utils/cryptodev-linux/Makefile index 45839015c..adc1ebb79 100644 --- a/utils/cryptodev-linux/Makefile +++ b/utils/cryptodev-linux/Makefile @@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=cryptodev-linux PKG_VERSION:=1.8.git-2017-02-09 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) @@ -20,6 +20,8 @@ PKG_MIRROR_HASH:=627ce96e3ba66ca9c8e14f5d80193061fbe9d45cd8d4b69a1bf4dd5a2d50eed PKG_SOURCE_URL:=https://github.com/cryptodev-linux/cryptodev-linux.git PKG_SOURCE_VERSION:=6818263667ca488f9b1c86e36ea624c4ea1c309f +PKG_MAINTAINER:=Ansuel Smith ansuelsmth@gmail.com + PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk @@ -70,7 +72,7 @@ endef define KernelPackage/cryptodev/install $(INSTALL_DIR) $(1)/etc/modules.d - $(INSTALL_DATA) ./files/cryptodev.modules $(1)/etc/modules.d/80-cryptodev + $(INSTALL_DATA) ./files/cryptodev.modules $(1)/etc/modules.d/50-cryptodev $(INSTALL_DIR) $(1)/lib/modules/$(LINUX_VERSION) $(INSTALL_DIR) $(1)/usr/sbin endef diff --git a/utils/cryptodev-linux/files/cryptodev.modules b/utils/cryptodev-linux/files/cryptodev.modules index fb39fcd6d..48194e27c 100644 --- a/utils/cryptodev-linux/files/cryptodev.modules +++ b/utils/cryptodev-linux/files/cryptodev.modules @@ -1 +1 @@ -cryptodev +cryptodev cryptodev_verbosity=-1