Modify

Opened 3 years ago

#18792 new defect

cryptsetup fals due to dm_mod: Unknown symbol dm_kobject_release

Reported by: rossbcan@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: kmod-dm Cc:

Description

opkg install cryptsetup
insmd fail
dmesg
...
dm_mod: Unknown symbol dm_kobject_release (err 0)
many other Unknown symbols (cascade of dm_mod fail)

looked into this and, it is a consequence of this kernel change:

https://lkml.org/lkml/2014/2/7/196

which basically moved this symbol to builtin, but Makefile does not list as dependency. so, patch:
target/linux/x86_64/patches/012-dm_kobject_release.patch

--- a/drivers/md/Makefile	2015-01-20 10:38:04.415713013 -0500
+++ b/drivers/md/Makefile	2015-01-20 10:42:28.386283490 -0500
@@ -3,7 +3,8 @@
 #

 dm-mod-y	+= dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \
-                  dm-ioctl.o dm-io.o dm-kcopyd.o dm-sysfs.o dm-stats.o
+                  dm-ioctl.o dm-io.o dm-kcopyd.o dm-sysfs.o dm-stats.o \
+                  dm-builtin.o
 dm-multipath-y += dm-path-selector.o dm-mpath.o
 dm-snapshot-y  += dm-snap.o dm-exception-store.o dm-snap-transient.o \
                    dm-snap-persistent.o

also, a suggestion, fix dependencies in
feeds/packages/utils/cryptsetup/Makefile

define Package/cryptsetup/Default
  SECTION:=utils
  CATEGORY:=Utilities
  TITLE:=Cryptsetup
  #DEPENDS:=+libblkid +libuuid +libpopt +lvm2 +libdevmapper +@KERNEL_DIRECT_IO
  DEPENDS:=+libblkid +libuuid +libpopt +libdevmapper +@KERNEL_DIRECT_IO \
           +kmod-crypto-aes +kmod-crypto-cbc +kmod-crypto-iv kmod-crypto-xts
  URL:=http://code.google.com/p/cryptsetup/
endef

kmod-dm - 3.14.4-1

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.