> 2010年4月20日 20:36:56 +0300 <pasik@xxxxxx> wrote:
>
> On Mon, Apr 19, 2010 at 04:56:48PM +0200, Matej Zary wrote:
> > Hello all,
> >
> > I compiled from source Xen 4.0 with the default 2.6.31.13 pv_ops dom0 kernel on barebone Debian Lenny installation. Problem is, this dom0 kernel won't boot. First complaining about ioapic, so I tried with noioapci, still no luck (the screen blackens during boot and computer reboots). :( So here comes serial console. This PC is older shady Asrock nForce 430 board with AMD Athlon X2 1,9 Ghz CPU => no onboard serial port. Therefore I added PCI card with i/o ports.
> >
> > dmesg | grep tty
> > [ 0.004000] console [tty0] enabled
> > [ 0.923873] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> > [ 0.924008] 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> > [ 7.887891] .&checktime(0000,01,0,':')a.0: ttyS1 at I/O 0xec00 (irq = 18) is a 16550A
> > [ 7.887891] .&checktime(0000,01,0,':')a.0: ttyS2 at I/O 0xe480 (irq = 18) is a 16550A
> >
> >
> > According to http://wiki.xensource.com/xenwiki/XenSerialConsole I used usb->com cable on my laptop and tried the link test with minicom on both sides - chatting worked flawlessly (using /dev/ttyS1 on "server" side).
> >
> > Problem is, I'm not able configure boot options for Xen to work with this serial port. My grub menu.lst (one from many experiments):
> >
> > title Xen 4.0, Linux kernel 2.6.31.13 with serial console
> > root (hd0,0)
> > kernel /boot/xen-4.0.gz dom0_mem=512M loglvl=all guest_loglvl=all com2=115200, 8n1, 0xec00, 18 console=com2
>
>
> Try this instead:
> kernel /boot/xen-4.0.gz dom0_mem=512M loglvl=all guest_loglvl=all com1=115200,8n1,0xec00,18 console=com1
>
> You can't have spaces between the parameters.
> dom0 kernel line looks OK.
>
> If that doesn't work then try specifying 0 as the IRQ (instead of 18).
> Also.. hmm.. I wonder if the irq should be in hex or in decimal..
>
My value was written as above without 0x prefix and appears to function.
Also since you are using a non-standard serial IO address please make sure:
CONFIG_SERIAL_NONSTANDARD=y
http://cateee.net/lkddb/web-lkddb/SERIAL_NONSTANDARD.html >
> > module /boot/vmlinuz-2.6.31.13 root=/dev/sda1 ro console=hvc0 earlyprintk=xen nomodeset
> > module /boot/initrd.img-2.6.31.13
> >
> > Tried many variations, but still no luck getting the xen boot process on my serial connected console.
> >
> > Any hints?
> >
> >
> > Many thanks.
> >
> > Matej
> >
> >
> >
> >
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
Hotmail & Messenger.
Get them on your phone now.