From: Ian Campbell Subject: Re: Console is not working with 2.6.38.4 Dom0 and Xen unstable Date: Tue, 3 May 2011 14:21:58 +0100 Message-ID: <1304428918.18845.110.camel@zakaz.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Wei Liu Cc: "xen-devel@lists.xensource.com" , Stabellini Stefano List-Id: xen-devel@lists.xenproject.org On Sat, 2011-04-30 at 10:13 +0100, Wei Liu wrote: > Hi, > > I'm building my development with Debian Squeeze, Xen unstable and the > latest 2.6.38.4 kernel. > > According to Xen wiki page, graphic subsystem is not working with > 2.6.38 [1], so I disable GDM. I also set up various Xen and Linux > debug options, now that my grub entry looks like: > > --- start of grub config --- > multiboot /boot/xen-4.gz com1=115200,8n1 console=com1,vga > sync_console console_to_ring loglvl=all guest_loglvl=all noreboot > lapic=debug apic_verbosity=debug apic=debug iommu=off > > module /boot/vmlinuz-2.6.38.4-liuw+ console=hvc0,vga earlyprintk=xen > nomodeset initcall_debug debug loglevel=10 > root=UUID=fd49322b-830f-44d2-8bdf-de5c355bb159 ro quiet Seems like you've mostly got this sorted but FWIW "console=hvc0,vga" is not, AFAIK, a valid Linux kernel console= specification. Firstly you don't give multiple consoles separated with "," you need to give multiple "console=FOO" (with only the last one becoming /dev/console, I think). In Linux console= syntax a "," separates a console name from its options. Secondly the VGA console is called "tty" in Linux console= speak and not "vga" (this differs from Xen and Linux's earlyprintk=). Documentation/kernel-parameters.txt in the kernel source has a bit more info on the syntax, so do things like Documentation/serial-console.txt. Ian.