From: Randy Dunlap <rdunlap@infradead.org>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
Amit Shah <amit.shah@redhat.com>,
virtualization@lists.linux-foundation.org
Subject: Re: linux-next: Tree for Feb 13 (virtio_console)
Date: Thu, 14 Feb 2013 10:55:06 -0800 [thread overview]
Message-ID: <511D330A.2050407@infradead.org> (raw)
In-Reply-To: <511D30B4.5020201@infradead.org>
On 02/14/13 10:45, Randy Dunlap wrote:
> On 02/13/13 19:00, Rusty Russell wrote:
>> Randy Dunlap <rdunlap@infradead.org> writes:
>>
>>> On 02/13/13 00:35, Stephen Rothwell wrote:
>>>> Hi all,
>>>>
>>>> Changes since 20130212:
>>>
>>> on i386:
>>>
>>> drivers/built-in.o: In function `in_intr':
>>> virtio_console.c:(.text+0x2dd31): undefined reference to `hvc_poll'
>>> virtio_console.c:(.text+0x2dd41): undefined reference to `hvc_kick'
>>> drivers/built-in.o: In function `resize_console':
>>> virtio_console.c:(.text+0x2e26f): undefined reference to `__hvc_resize'
>>> drivers/built-in.o: In function `unplug_port':
>>> virtio_console.c:(.text+0x2e572): undefined reference to `hvc_remove'
>>> drivers/built-in.o: In function `init_port_console':
>>> (.text+0x2fe59): undefined reference to `hvc_alloc'
>>> drivers/built-in.o: In function `virtio_cons_early_init':
>>> (.init.text+0x16d1): undefined reference to `hvc_instantiate'
>>>
>>>
>>> Full randconfig file is attached.
>>
>> This looks like an impossible config. CONFIG_VIRTIO_CONSOLE=y, but
>> CONFIG_HVC_DRIVER isn't set.
>>
>> From drivers/char/Kconfig:
>>
>> config VIRTIO_CONSOLE
>> tristate "Virtio console"
>> depends on VIRTIO
>> select HVC_DRIVER
>>
>> ???
>
> OK. It's probably yet another stinking problem with kvmtool and randconfig.
> Running *config reports:
>
> warning: (KVMTOOL_TEST_ENABLE && LGUEST_GUEST) selects VIRTIO_CONSOLE which has unmet direct dependencies (VIRTIO && TTY)
>
>
> I'll look a bit more...
Nope, that's not it. Stephen's comments were much closer.
The patch below fixes the kconfig warning and the build errors.
---
From: Randy Dunlap <rdunlap@infradead.org>
Fix kconfig warning for LGUEST_GUEST config by selecting TTY:
warning: (KVMTOOL_TEST_ENABLE && LGUEST_GUEST) selects VIRTIO_CONSOLE which has unmet direct dependencies (VIRTIO && TTY)
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
arch/x86/lguest/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20130213.orig/arch/x86/lguest/Kconfig
+++ linux-next-20130213/arch/x86/lguest/Kconfig
@@ -2,6 +2,7 @@ config LGUEST_GUEST
bool "Lguest guest support"
select PARAVIRT
depends on X86_32
+ select TTY
select VIRTUALIZATION
select VIRTIO
select VIRTIO_CONSOLE
next prev parent reply other threads:[~2013-02-14 18:54 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-13 8:35 linux-next: Tree for Feb 13 Stephen Rothwell
2013-02-13 8:35 ` Stephen Rothwell
2013-02-13 19:41 ` linux-next: Tree for Feb 13 (virtio_console) Randy Dunlap
2013-02-14 3:00 ` Rusty Russell
2013-02-14 3:00 ` Rusty Russell
2013-02-14 3:00 ` Rusty Russell
2013-02-14 7:06 ` Stephen Rothwell
2013-02-14 7:06 ` Stephen Rothwell
2013-02-14 18:45 ` Randy Dunlap
2013-02-14 18:45 ` Randy Dunlap
2013-02-14 18:55 ` Randy Dunlap [this message]
2013-02-14 23:55 ` Stephen Rothwell
2013-02-15 0:02 ` Greg KH
2013-02-15 0:23 ` Stephen Rothwell
2013-02-15 0:23 ` Stephen Rothwell
2013-02-15 0:51 ` Joe Millenbach
2013-02-15 0:51 ` Joe Millenbach
2013-02-15 0:02 ` Greg KH
2013-02-14 23:55 ` Stephen Rothwell
2013-02-14 18:55 ` Randy Dunlap
2013-02-13 19:41 ` Randy Dunlap
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=511D330A.2050407@infradead.org \
--to=rdunlap@infradead.org \
--cc=amit.shah@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
--cc=sfr@canb.auug.org.au \
--cc=virtualization@lists.linux-foundation.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.