/srv/irclogs.ubuntu.com/2017/12/08/#ubuntu-kernel.txt

zkandaHello, there is a fix in mainline linux-firmware that I want to apply to 17.10 linux-firmware, I'm following the wiki from here: https://wiki.ubuntu.com/Kernel/Dev/LinuxFirmwareMaintenance05:51
zkandaHowever there's no instruction on how to compile and get a .deb, anyone here who can point me to the right direction?05:53
apwzkanda: either amke a source package with dpkg-buildpackage -S and throw that in a ppa, or dpkg-buildpackage -b in a chroot06:37
=== himcesjf_ is now known as him-cesjf
jainyHey, I have a bug in kernel module related to locks. So I enabled lockdep and tried to compile it; however, it is throwing me this error. Is there any way I can fix go around this and to use LOCKDEP?  12:05
jainyKernel built with CONFIG_DEBUG_LOCK_ALLOC which is incompatible     *** with the CDDL license and will prevent the module linking stage     *** from succeeding.  You must rebuild your kernel without this     *** option enabled.12:05
jainyany help is appreciated, thank you..12:06
jainyalso what modules in ubuntu kernel uses CDDL licence?12:14
apwjainy, that sounds more like somethign outside the kernel12:15
apwjainy, oh unless it is the vbox drivers12:16
apwjainy, or indeed zfs ... so it is zfs, so you would have to build with do_zfs=false12:17
apwassuming you don't need zfs12:17
jainyzfs makes sense. okay, I will try to compile with do_zfs=false12:18
jainy@apw, "fakeroot debian/rules DEB_BUILD_OPTIONS="debug nostrip noopt parallel=12"  binary-headers binary-generic do_zfs=false" is the command line, right?12:19
apwyou might have to put that before binary-headers, but i think that is right12:19
apwgit grep do_zfs debian12:20
apwto confirm12:20
jainyokay, thank you12:20
jainy@apw, Now I an getting "I: Checking modules for generic...    reading new modules...read 4614 modules.    reading old modules...       MISS: spl       MISS: splat       MISS: zavl       MISS: zcommon       MISS: zfs       MISS: znvpair       MISS: zpios       MISS: zunicode"12:49
jainyhow do I specify to skip zfs without failing there? 12:50
alexzzzHi all! I want to check hybrid polling on 4.10.0-40-generic and have some problems. I have ubuntu 16.04 with linux-generic-hwe-16.04 package installed. I've set scsi_mod.use_blk_mq=y and rebooted. After that i see that for my ssd drive scheduler is set to "none". I'm trying to change io_poll_delay to 0, but "echo" command fails with error: -bash: echo: write error: Invalid argument. Hope for help 12:50
apwjainy, is it erroring there?  i thought rules marked those ok when you disable12:50
apwit will still report them as missing, just not die12:51
jainyfind /home/vuzzer/zless4.4/4.4/linux-4.4.0/debian/build/build-generic/ -name \*.ko | \ sed -e 's/.*\/\([^\/]*\)\.ko/\1/' | sort > /home/vuzzer/zless4.4/4.4/linux-4.4.0/debian.master/abi/4.4.0-97.120/amd64/generic.modules II: Checking modules for generic...    reading new modules...read 4614 modules.    reading old modules...       MISS: spl       MISS: splat       MISS: zavl       MISS: zcommon       MISS: zfs       MISS: znv12:51
apwno i don't see it saying (ignored)12:51
jainyEE: Missing modules (start begging for mercy) debian/rules.d/4-checks.mk:12: recipe for target 'module-check-generic' failed make: *** [module-check-generic] Error 112:51
jainyso make failed 12:52
apwhrm, ok so that is broken12:52
apw        do_zfs_disable:=$(shell cat $(DROOT)/zfs-modules.ignore >>$(prev_abidir)/../modules.ignore)12:52
apwthere is al ine like that in debian/rules, you wanna make that not conditional 12:53
apwand that should not be there in the makefile12:53
apwhrm12:53
jainyin which can I find that line ? 12:53
apwgrep is your friend12:54
apwbut i think it is debian/rules12:54
jainyyes, 12:54
jainylet me check12:54
apwjainy, http://paste.ubuntu.com/26139268/ something like that might do the trick12:55
apwif it works likely that needs applying across the board13:00
jainyit should be this -> ifeq ($(do_zfs),false), right?  a small typo.. I am testing it now13:01
apwindeed it sh13:38
apwjainy, indeed it should be that13:38
apwwe only normally disable zfs for cross builds, so i hadn't realised it was broke13:39
jainythe compilation is successfully completed  13:45
apwgreat, i will test the other use cases13:47
apwjainy, bug #173717613:53
ubot5bug 1737176 in linux (Ubuntu) "Disabling zfs does not always disable module checks for the zfs modules" [Low,In progress] https://launchpad.net/bugs/173717613:53
jainyHi, I am trying to lockdep feature provided by kernel. When the deadlock occurs what I see in the kernel log is "INFO: lockdep is turned off." Even though I have provided "CONFIG_DEBUG_LOCK_ALLOC=y" I see a warning message as following:17:42
jainyscripts/kconfig/conf  --silentoldconfig Kconfig17:43
jainy.config:4268:warning: override: M686 changes choice state17:43
jainy.config:9596:warning: override: reassigning to symbol DEBUG_LOCK_ALLOC17:43
jainy.config:9599:warning: override: reassigning to symbol DEBUG_SPINLOCK17:44
jainy Restart config...17:44
jainycould this be the problem? if so, how do I stop overriding these changes?17:45
jainyAny help is appreciated..17:45

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!