From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751464AbdJAQrS (ORCPT ); Sun, 1 Oct 2017 12:47:18 -0400 Received: from imap.thunk.org ([74.207.234.97]:50336 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751311AbdJAQrQ (ORCPT ); Sun, 1 Oct 2017 12:47:16 -0400 Date: Sun, 1 Oct 2017 12:47:10 -0400 From: "Theodore Ts'o" To: Pintu Kumar Cc: Damian Tometzki , Valdis Kletnieks , linux-kernel@vger.kernel.org, kernelnewbies@kernelnewbies.org Subject: Re: How to verify linux-next Message-ID: <20171001164710.k3r45z57q4fomgzk@thunk.org> Mail-Followup-To: Theodore Ts'o , Pintu Kumar , Damian Tometzki , Valdis Kletnieks , linux-kernel@vger.kernel.org, kernelnewbies@kernelnewbies.org References: <159555.1506688878@turing-police.cc.vt.edu> <1506690885.1771.6.camel@icloud.com> <20170929215007.kpea2kan6hg7jzcw@thunk.org> <20170930052530.rf7bcwe3o327sobe@thunk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 01, 2017 at 09:58:37PM +0530, Pintu Kumar wrote: > Ok thank you so much for your reply. > Now I am able to boot with v4.14-rc2. But now I am facing another problem. > Now, I am not able to connect to internet from virtual box. > When I switch back to the default 4.10 the internet works normally. > I think the dlclient stopped working. > I am getting continuous logs related to apparmor like this: > apparmor="DENIED" comm=dhclient > apparmor="DENIED" comm=cups-browsed How about compiling the kernel without apparmor? Here are some very minimal kernel configs that are designed to work with qemu and Google Compute Engine (if you use the 64-bit configs): https://github.com/tytso/xfstests-bld/tree/master/kernel-configs Grab the latest 4.9 kernel configs (e.g., [1]); it will work with 4.14-rc2, copy it into your kernel build tree as .config, and then run "make olddefconfig". That's why I use with qemu (32-bit and 64-bit) and Google Compute Engine using a minimal debian chroot, and it works Just Fine. [1] https://github.com/tytso/xfstests-bld/blob/master/kernel-configs/x86_64-config-4.9 If you want an example of how to build a automatically generated test appliance image (which is repeatably built, and can be used as part of a discplined release engineering process), please see: https://github.com/tytso/xfstests-bld/blob/master/kvm-xfstests/test-appliance/gen-image Cheers, - Ted P.S. And here is an example of how a completely automated kernel testing report might look like. I ran a single command, and a few hours later, the following lands in my e-mail's inbox. Note the lack of using putty to manually configure a single test, and not a single terminal was opened during the entire test run. :-) TESTRUNID: ltm-20171001045435 KERNEL: kernel 4.14.0-rc2-ext4-00005-gcdfa281a30f5 #513 SMP Sun Oct 1 00:52:09 EDT 2017 x86_64 CMDLINE: --kernel gs://gce-xfstests/bzImage full CPUS: 2 MEM: 7680 ext4/4k 337 tests, 23 skipped, 6 errors, 10569 seconds generic/233 generic/361 generic/388 generic/451 generic/456 generic/459 ext4/1k 337 tests, 35 skipped, 8 errors, 12440 seconds generic/018 generic/232 generic/273 generic/361 generic/388 generic/451 generic/456 generic/459 ext4/ext3 336 tests, 73 skipped, 6 errors, 10639 seconds generic/232 generic/361 generic/382 generic/388 generic/451 generic/459 ext4/encrypt 327 tests, 97 skipped, 8 errors, 6785 seconds ext4/022 ext4/028 generic/081 generic/361 generic/382 generic/388 generic/459 shared/298 ext4/nojournal 334 tests, 60 skipped, 6 errors, 6107 seconds ext4/301 generic/113 generic/232 generic/441 generic/451 generic/459 ext4/ext3conv 336 tests, 23 skipped, 4 errors, 10039 seconds generic/361 generic/388 generic/451 generic/459 ext4/adv 335 tests, 28 skipped, 8 errors, 8732 seconds generic/232 generic/233 generic/361 generic/388 generic/399 generic/451 generic/456 generic/459 ext4/dioread_nolock 336 tests, 23 skipped, 5 errors, 7434 seconds generic/081 generic/233 generic/388 generic/451 generic/459 ext4/data_journal 336 tests, 33 skipped, 5 errors, 13027 seconds generic/361 generic/371 generic/388 generic/441 generic/459 ext4/bigalloc_1k 317 tests, 44 skipped, 10 errors, 8506 seconds generic/204 generic/235 generic/269 generic/273 generic/361 generic/388 generic/422 generic/451 generic/456 generic/459 FSTESTIMG: gce-xfstests/xfstests-201709302211 FSTESTPRJ: gce-xfstests FSTESTVER: e2fsprogs v1.43.6-85-g7595699d0 (Wed, 6 Sep 2017 22:04:14 -0400) FSTESTVER: fio fio-2.21 (Thu, 15 Jun 2017 12:25:03 -0600) FSTESTVER: quota 16f31b1 (Tue, 5 Sep 2017 16:53:11 +0200) FSTESTVER: stress-ng 977ae35 (Wed, 6 Sep 2017 23:45:03 -0400) FSTESTVER: xfsprogs v4.12.0 (Thu, 20 Jul 2017 10:57:14 -0500) FSTESTVER: xfstests-bld 0d85f98 (Sat, 30 Sep 2017 21:42:59 -0400) FSTESTVER: xfstests linux-v3.8-1693-ga71d59bc (Fri, 29 Sep 2017 23:56:42 -0400) FSTESTSET: -g auto FSTESTOPT: aex From mboxrd@z Thu Jan 1 00:00:00 1970 From: tytso@mit.edu (Theodore Ts'o) Date: Sun, 1 Oct 2017 12:47:10 -0400 Subject: How to verify linux-next In-Reply-To: References: <159555.1506688878@turing-police.cc.vt.edu> <1506690885.1771.6.camel@icloud.com> <20170929215007.kpea2kan6hg7jzcw@thunk.org> <20170930052530.rf7bcwe3o327sobe@thunk.org> Message-ID: <20171001164710.k3r45z57q4fomgzk@thunk.org> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Sun, Oct 01, 2017 at 09:58:37PM +0530, Pintu Kumar wrote: > Ok thank you so much for your reply. > Now I am able to boot with v4.14-rc2. But now I am facing another problem. > Now, I am not able to connect to internet from virtual box. > When I switch back to the default 4.10 the internet works normally. > I think the dlclient stopped working. > I am getting continuous logs related to apparmor like this: > apparmor="DENIED" comm=dhclient > apparmor="DENIED" comm=cups-browsed How about compiling the kernel without apparmor? Here are some very minimal kernel configs that are designed to work with qemu and Google Compute Engine (if you use the 64-bit configs): https://github.com/tytso/xfstests-bld/tree/master/kernel-configs Grab the latest 4.9 kernel configs (e.g., [1]); it will work with 4.14-rc2, copy it into your kernel build tree as .config, and then run "make olddefconfig". That's why I use with qemu (32-bit and 64-bit) and Google Compute Engine using a minimal debian chroot, and it works Just Fine. [1] https://github.com/tytso/xfstests-bld/blob/master/kernel-configs/x86_64-config-4.9 If you want an example of how to build a automatically generated test appliance image (which is repeatably built, and can be used as part of a discplined release engineering process), please see: https://github.com/tytso/xfstests-bld/blob/master/kvm-xfstests/test-appliance/gen-image Cheers, - Ted P.S. And here is an example of how a completely automated kernel testing report might look like. I ran a single command, and a few hours later, the following lands in my e-mail's inbox. Note the lack of using putty to manually configure a single test, and not a single terminal was opened during the entire test run. :-) TESTRUNID: ltm-20171001045435 KERNEL: kernel 4.14.0-rc2-ext4-00005-gcdfa281a30f5 #513 SMP Sun Oct 1 00:52:09 EDT 2017 x86_64 CMDLINE: --kernel gs://gce-xfstests/bzImage full CPUS: 2 MEM: 7680 ext4/4k 337 tests, 23 skipped, 6 errors, 10569 seconds generic/233 generic/361 generic/388 generic/451 generic/456 generic/459 ext4/1k 337 tests, 35 skipped, 8 errors, 12440 seconds generic/018 generic/232 generic/273 generic/361 generic/388 generic/451 generic/456 generic/459 ext4/ext3 336 tests, 73 skipped, 6 errors, 10639 seconds generic/232 generic/361 generic/382 generic/388 generic/451 generic/459 ext4/encrypt 327 tests, 97 skipped, 8 errors, 6785 seconds ext4/022 ext4/028 generic/081 generic/361 generic/382 generic/388 generic/459 shared/298 ext4/nojournal 334 tests, 60 skipped, 6 errors, 6107 seconds ext4/301 generic/113 generic/232 generic/441 generic/451 generic/459 ext4/ext3conv 336 tests, 23 skipped, 4 errors, 10039 seconds generic/361 generic/388 generic/451 generic/459 ext4/adv 335 tests, 28 skipped, 8 errors, 8732 seconds generic/232 generic/233 generic/361 generic/388 generic/399 generic/451 generic/456 generic/459 ext4/dioread_nolock 336 tests, 23 skipped, 5 errors, 7434 seconds generic/081 generic/233 generic/388 generic/451 generic/459 ext4/data_journal 336 tests, 33 skipped, 5 errors, 13027 seconds generic/361 generic/371 generic/388 generic/441 generic/459 ext4/bigalloc_1k 317 tests, 44 skipped, 10 errors, 8506 seconds generic/204 generic/235 generic/269 generic/273 generic/361 generic/388 generic/422 generic/451 generic/456 generic/459 FSTESTIMG: gce-xfstests/xfstests-201709302211 FSTESTPRJ: gce-xfstests FSTESTVER: e2fsprogs v1.43.6-85-g7595699d0 (Wed, 6 Sep 2017 22:04:14 -0400) FSTESTVER: fio fio-2.21 (Thu, 15 Jun 2017 12:25:03 -0600) FSTESTVER: quota 16f31b1 (Tue, 5 Sep 2017 16:53:11 +0200) FSTESTVER: stress-ng 977ae35 (Wed, 6 Sep 2017 23:45:03 -0400) FSTESTVER: xfsprogs v4.12.0 (Thu, 20 Jul 2017 10:57:14 -0500) FSTESTVER: xfstests-bld 0d85f98 (Sat, 30 Sep 2017 21:42:59 -0400) FSTESTVER: xfstests linux-v3.8-1693-ga71d59bc (Fri, 29 Sep 2017 23:56:42 -0400) FSTESTSET: -g auto FSTESTOPT: aex