From mboxrd@z Thu Jan 1 00:00:00 1970 From: me@tobin.cc (Tobin C. Harding) Date: Tue, 23 Oct 2018 17:16:42 +1100 Subject: Boot all yes config kernel with QEMU In-Reply-To: <24628.1540268564@turing-police.cc.vt.edu> References: <20181023025642.GD9944@eros> <24628.1540268564@turing-police.cc.vt.edu> Message-ID: <20181023061642.GE9944@eros> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Tue, Oct 23, 2018 at 12:22:44AM -0400, valdis.kletnieks at vt.edu wrote: > On Tue, 23 Oct 2018 13:56:42 +1100, "Tobin C. Harding" said: > > > I'd like to build and boot an allyesconfig kernel with QEMU. Building > > is no problem but when I try to boot it I get problems because the host > > system does not support features requested by the VM. > > > > How does one go about testing an allyesconfig kernel? > > As you have noticed, there's no guarantee that a allyesconfig kernel will boot in > a VM because the VM doesn't support something. Note that you're going to have > the exact same issues booting on real hardware - you'll discover that there's configs > that won't boot on real hardware either - and even if it boots, you'll probably not have > the I/O devices to test even a third of the drivers unless you have a really well stocked > test lab. > > But then, all(yes|mod|no)config aren't intended for actual booting and testing - they're > pretty much build testing all the options in one build. > > Basically, one of two things happen after building an all-something-config: > > 1) The build completes and you get on with your life > > 2) The build fails, and you get to send an email telling the maintainer that > their driver for the Frobnozz 1300 Widget won't build in =y in kernel 4.21-rc2, > or whatever your build died on. I love this answer :) thanks Valdis. If you are taking a walk and feel like pondering something; any ideas how I could get the most files possible to show up in /proc and /sys? thanks, Tobin. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: