[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Skip kbd-chooser when running under Xen



On Tuesday 06 May 2008, Ferenc Wagner wrote:
> Ian Campbell <ijc@hellion.org.uk> writes:
> > I've been using console=hvc0 -- I wonder if that has the same effect as
> > console=ttyS0 in terms of skipping the keymap stuff...
>
> Just managed to check this.  No, console=hvc0 doesn't skip the keymap
> question, but looks like the kernels which have hvc don't throw and
> error running kbd-chooser.  At least that's the case under 2.6.25-xen,
> which I tested a couple of minutes ago.

What is the output in the syslog from kbd-chooser in both cases (the failing 
one and the one with hvc)?

> So let me raise the issue again (and risk some bikeshed effect):
>  * Does kbd-chooser make any sense under Xen?  (I guess not.)

That's completely up to you (plural).

>  * Should we skip running it from a virtualized D-I?  (I guess yes,
>    especially that it's so simple to achieve.)

What is the difference with the previous point?

>  * Would a simple [ -d /sys/bus/xen ] check do?

I guess that would be OK. Unless a different test could also catch other 
virtualized environments.
I'd suggest at least printing an info message in the syslog when that 
happens.

Cheers,
FJP

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: