From: Guenter Roeck <linux@roeck-us.net>
To: "Bird, Tim" <Tim.Bird@sonymobile.com>,
Andy Lutomirski <luto@amacapital.net>
Cc: "shuah.kh@samsung.com" <shuah.kh@samsung.com>,
Rob Landley <rob@landley.net>,
"ksummit-discuss@lists.linuxfoundation.org"
<ksummit-discuss@lists.linuxfoundation.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: [Ksummit-discuss] kselftest - What's in 3.17 and plans for 3.18 and beyond
Date: Wed, 13 Aug 2014 10:10:59 -0700 [thread overview]
Message-ID: <53EB9C23.1060706@roeck-us.net> (raw)
In-Reply-To: <F5184659D418E34EA12B1903EE5EF5FD0130D4AC5B8F@seldmbx02.corpusers.net>
On 08/13/2014 09:44 AM, Bird, Tim wrote:
> On Wednesday, August 13, 2014 9:16 AM,Andy Lutomirski wrote:
>>
>> On Wed, Aug 13, 2014 at 9:11 AM, Guenter Roeck <linux@roeck-us.net> wrote:
>>> On 08/13/2014 01:35 AM, Linus Walleij wrote:
>>>>
>>>> On Tue, Aug 12, 2014 at 3:00 PM, Grant Likely wrote:
>>>>> I'm interested in this as well. I'm working on a tool that crossbuilds a
>>>>> very simple busybox rootfs and boots in QEMU for as many architectures
>>>>> as possible. I want to make it easy to sanity test all the major
>>>>> architectures. Right now it does little more than boot to a login
>>>>> prompt, but I'd like to get the kselftests into it also.
>>>>
>>>>
>>>> Hm that sounds like a goal similar to what Rob Landley has
>>>> described as one goal for Aboriginal Linux as well.
>>>> http://landley.net/aboriginal/about.html
>>>>
>>>
>>> Yes, and to some degree buildroot.
>>>
>>> Rob's attempts to support multiple architectures also shows its limitations.
>>> For example, his m68k images don't work, at least not for me, because the
>>> machine he uses (q800) is not supported in qemu 1.6 or 2.0 or 2.1.
>>> I have been unable to find a working combination of kernel configuration,
>>> qemu version, qemu command line, and root file system for m68k. Presumably
>>> that must exist, because qemu supports m68k, I just have not been able
>>> to figure out how to make it work.
>>>
>>> For my own qemu runtime tests, I ended up collecting root file systems and
>>> kernel configurations from all over the place. And then there is the problem
>>> of qemu command line parameters, where each target and architecture requires
>>> its own set of options, and it is sometimes all but impossible to find a
>>> working set of parameters for a given target/architecture combination.
>>>
>>
>> virtme has exactly this problem (except for the root image part --
>> virtme can use debootstrap output directly). In virtme, I'm trying to
>> solve it by just collecting known-working QEMU arguments and
>> documenting the corresponding kernel config requirements.
>
> I'm wondering if the kernel test tree might be a good place to keep such
> virtual machine/QEMU configurations. They should be only about 1 line
> (or a few lines) per machine, and they would be useful for automated testing.
> I also think they won't change every kernel release, so it shouldn't lead to the churn
> problem we had with defconfigs.
>
You would also need working configurations. There may be a few exceptions,
where one of the defconfigs can be used as is, but in most cases at least
some minor tweaks are needed to create a kernel that is working with qemu.
Or at least that is my experience.
Guenter
next prev parent reply other threads:[~2014-08-13 17:11 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-07 14:36 Shuah Khan
2014-08-07 18:24 ` Bird, Tim
2014-08-07 19:59 ` Shuah Khan
2014-08-08 2:18 ` Masami Hiramatsu
2014-08-11 14:11 ` Shuah Khan
2014-08-11 16:13 ` Masami Hiramatsu
2014-08-12 13:00 ` Grant Likely
2014-08-12 16:15 ` Guenter Roeck
2014-08-12 16:21 ` Masami Hiramatsu
2014-08-12 16:51 ` Geert Uytterhoeven
2014-08-12 17:15 ` Theodore Ts'o
2014-08-12 16:23 ` Grant Likely
2014-08-12 16:49 ` Mark Brown
2014-08-13 6:26 ` Grant Likely
2014-08-13 10:40 ` Mark Brown
2014-08-13 11:12 ` Geert Uytterhoeven
2014-08-13 12:42 ` Mark Brown
2014-08-13 13:08 ` Geert Uytterhoeven
2014-08-13 15:00 ` Kevin Hilman
2014-08-13 16:40 ` Olof Johansson
2014-08-13 17:11 ` Mark Brown
2014-08-12 17:46 ` Tim Bird
2014-08-12 18:06 ` Steven Rostedt
2014-08-12 20:52 ` Tim Bird
2014-08-14 16:35 ` Grant Likely
2014-08-12 17:30 ` Andy Lutomirski
2014-08-12 16:34 ` Shuah Khan
2014-08-13 8:35 ` Linus Walleij
2014-08-13 16:11 ` Guenter Roeck
2014-08-13 16:16 ` Andy Lutomirski
2014-08-13 16:44 ` Bird, Tim
2014-08-13 17:07 ` Grant Likely
2014-08-13 17:10 ` Andy Lutomirski
2014-08-13 17:10 ` Guenter Roeck [this message]
2014-08-18 3:10 ` Rob Landley
2014-08-18 3:08 ` Rob Landley
2014-08-18 7:16 ` Geert Uytterhoeven
2014-08-13 16:45 ` Masami Hiramatsu
2014-08-18 3:18 ` Rob Landley
2014-08-13 15:06 ` Aneesh Kumar K.V
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53EB9C23.1060706@roeck-us.net \
--to=linux@roeck-us.net \
--cc=Tim.Bird@sonymobile.com \
--cc=gregkh@linuxfoundation.org \
--cc=ksummit-discuss@lists.linuxfoundation.org \
--cc=luto@amacapital.net \
--cc=rob@landley.net \
--cc=shuah.kh@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox