Frans Pop <[EMAIL PROTECTED]> writes: > On Tuesday 06 May 2008, Ferenc Wagner wrote: >> Ian Campbell <[EMAIL PROTECTED]> 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)?
vmlinuz-2.6.18-6-xen-686 suite=etch DEBIAN_FRONTEND=text (the kernel messages are those which using libc6-xen would get rid of, usually they cause performance degradation only): May 8 13:35:25 localechooser: info: Falling back to locale 'en_US.UTF-8' May 8 13:35:25 localechooser: info: Set debian-installer/locale = 'en_US.UTF-8' May 8 13:35:25 main-menu[670]: DEBUG: resolver (libc6): package doesn't exist (ignored) May 8 13:35:25 main-menu[670]: INFO: Menu item 'kbd-chooser' selected May 8 13:35:25 main-menu[670]: INFO: Falling back to the package description for console-keymaps-at May 8 13:35:25 main-menu[670]: INFO: Falling back to the package description for console-keymaps-at May 8 13:35:25 kbd-chooser[881]: DEBUG: Mounting usbdevfs to look for kbd May 8 13:35:25 kbd-chooser[881]: DEBUG: Adding generic entry for AT keymaps May 8 13:35:25 kbd-chooser[881]: INFO: keyboard type at: present: false May 8 13:35:25 kbd-chooser[881]: INFO: keyboard type at: present: unknown May 8 13:35:25 kbd-chooser[881]: INFO: Setting debian-installer/serial-console to false May 8 13:35:25 kbd-chooser[881]: INFO: Setting debian-installer/uml-console to false May 8 13:35:25 kbd-chooser[881]: INFO: kbd-chooser: arch at selected May 8 13:35:35 kernel: printk: 1245861 messages suppressed. May 8 13:35:35 kernel: 4gb seg fixup, process debconf (pid 669), cs:ip 73:b7e8ca2c May 8 13:35:35 kernel: 4gb seg fixup, process debconf (pid 669), cs:ip 73:b7e8ca3a May 8 13:35:35 kbd-chooser[881]: INFO: choose_keymap: keymap = us May 8 13:35:35 kbd-chooser[881]: INFO: kbd_chooser: setting keymap us May 8 13:35:35 kbd-chooser[881]: ERROR **: Couldn't get a file descriptor referring to the console May 8 13:35:35 main-menu[670]: WARNING **: Configuring 'kbd-chooser' failed with error code 1 May 8 13:35:35 main-menu[670]: WARNING **: Menu item 'kbd-chooser' failed. May 8 13:35:46 kernel: printk: 520 messages suppressed. May 8 13:35:46 kernel: 4gb seg fixup, process debconf (pid 669), cs:ip 73:b7e736e0 May 8 13:35:46 kernel: 4gb seg fixup, process debconf (pid 669), cs:ip 73:b7e8af09 May 8 13:35:46 main-menu[670]: INFO: Modifying debconf priority limit from 'high' to 'medium' May 8 13:35:46 debconf: Setting debconf/priority to medium May 8 13:35:46 main-menu[670]: DEBUG: resolver (libc6): package doesn't exist (ignored) May 8 13:36:03 kernel: printk: 5574 messages suppressed. May 8 13:36:03 kernel: 4gb seg fixup, process debconf (pid 669), cs:ip 73:b7e6cc68 May 8 13:36:03 kernel: 4gb seg fixup, process debconf (pid 669), cs:ip 73:b7e8af09 May 8 13:36:03 kernel: 4gb seg fixup, process debconf (pid 669), cs:ip 73:b7e8ca2c May 8 13:36:03 kernel: 4gb seg fixup, process debconf (pid 669), cs:ip 73:b7e8ca3a May 8 13:36:03 main-menu[670]: INFO: Menu item 'ethdetect' selected vmlinuz-2.6.25-1-xen-686 console=hvc0 suite=etch DEBIAN_FRONTEND=text: May 8 13:30:05 localechooser: info: Falling back to locale 'en_US.UTF-8' May 8 13:30:05 localechooser: info: Set debian-installer/locale = 'en_US.UTF-8' May 8 13:30:05 main-menu[653]: DEBUG: resolver (libc6): package doesn't exist (ignored) May 8 13:30:05 main-menu[653]: INFO: Menu item 'kbd-chooser' selected May 8 13:30:05 main-menu[653]: INFO: Falling back to the package description for console-keymaps-at May 8 13:30:05 main-menu[653]: INFO: Falling back to the package description for console-keymaps-at May 8 13:30:05 kbd-chooser[864]: DEBUG: Mounting usbdevfs to look for kbd May 8 13:30:05 kbd-chooser[864]: DEBUG: Adding generic entry for AT keymaps May 8 13:30:05 kbd-chooser[864]: INFO: keyboard type at: present: false May 8 13:30:05 kbd-chooser[864]: INFO: keyboard type at: present: unknown May 8 13:30:05 kbd-chooser[864]: INFO: Setting debian-installer/serial-console to false May 8 13:30:05 kbd-chooser[864]: INFO: Setting debian-installer/uml-console to false May 8 13:30:05 kbd-chooser[864]: INFO: kbd-chooser: arch at selected May 8 13:30:25 kbd-chooser[864]: INFO: choose_keymap: keymap = us May 8 13:30:25 kbd-chooser[864]: INFO: kbd_chooser: setting keymap us May 8 13:30:25 main-menu[653]: DEBUG: resolver (libc6): package doesn't exist (ignored) May 8 13:30:25 main-menu[653]: INFO: Menu item 'ethdetect' selected >> 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? Maybe sparing a question isn't worth this special-casing. That's a policy question, not a technical one. >> * 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. Unfortunately I don't know anything about other virtualization environments. > I'd suggest at least printing an info message in the syslog when that > happens. >From kbd-chooser.isinstallable? That would be easy. -- Thanks, Feri. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]