I had a quick try to make it work, but no success thus far. Should it be enough to apply the patch and then boot with "console=/dev/hvc0"? Also, why do you comment out the EARLY_PRINTK stuff in Kconfig? J
Jeremy Fitzhardinge wrote:> I had a quick try to make it work, but no success thus far. Should it > be enough to apply the patch and then boot with "console=/dev/hvc0"?Without /dev/, i.e. "console=hvc0". But, yes, that should be it. Works for me.> Also, why do you comment out the EARLY_PRINTK stuff in Kconfig?Doesn't compile due to setup_early_printk() being gone. I also think we don't need early_printk in xen any more. The hvc console supports a two-step setup. One can be done very early at boot (hvc_instantiate) and one later on, once everything (memory, irqs) is up and running, during normal device initialization (hvc_alloc). I'm still playing with it a bit and browse through the console code. Right now early hvc initialization happens in console_init, I'll try to do it earlier at boot. cheers, Gerd -- Gerd Hoffmann <kraxel@suse.de>
Jeremy Fitzhardinge wrote:> I had a quick try to make it work, but no success thus far. Should it > be enough to apply the patch and then boot with "console=/dev/hvc0"?Patch updates ;) xen-kill-earlyprintk-hacks.patch reverse the hackish early_console bits for xen early-printk-boot-console.patch some generic early printk & boot console fixups (already sent to lkml). xen-hvc-console.patch slightly updated xen-hvc-console patch, CONFIG_EARLY_PRINTK isn't commented out any more. xen-hvc-earlyprintk.patch add early printk support via hvc console, enable using "earlyprintk=xen" on the kernel command line. cheers, Gerd -- Gerd Hoffmann <kraxel@suse.de> -------------- next part -------------- A non-text attachment was scrubbed... Name: xen-kill-earlyprintk-hacks.patch Type: text/x-patch Size: 1508 bytes Desc: not available Url : http://lists.linux-foundation.org/pipermail/virtualization/attachments/20070216/85b1a148/xen-kill-earlyprintk-hacks-0001.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: early-printk-boot-console.patch Type: text/x-patch Size: 3693 bytes Desc: not available Url : http://lists.linux-foundation.org/pipermail/virtualization/attachments/20070216/85b1a148/early-printk-boot-console-0001.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: xen-hvc-console.patch Type: text/x-patch Size: 6248 bytes Desc: not available Url : http://lists.linux-foundation.org/pipermail/virtualization/attachments/20070216/85b1a148/xen-hvc-console-0001.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: xen-hvc-earlyprintk.patch Type: text/x-patch Size: 1952 bytes Desc: not available Url : http://lists.linux-foundation.org/pipermail/virtualization/attachments/20070216/85b1a148/xen-hvc-earlyprintk-0001.bin