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

Re: [Xen-users] SuSE 9.3 serial bus problem



Robert Welz wrote:
Hello!
I am sucessfully running 2 domains but I cannot use the serial bus for my Belkin Universal UPS.

I have not tried this, but there is some info in the user documentation
(rpm xen-doc-{pdf,html,ps}, /usr/share/doc/packages/xen).

see section 2.4.2 Serial Console (optional)

In boot.msg I see:
8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled

I think this might be slightly misleading. I believe this
message is being printed by a driver in xen, and not by the
domO kernel at all.

but later on I see dozends of:
modprobe: FATAL: Error inserting 8250 (/lib/modules/2.6.11.4-21.9-xen/ kernel/drivers/serial/8250.ko): Device or resource busy

Xen has already grabbed the serial hardware (uart) so when the dom0
kernel tries by loading the 8250.ko module, it can't see the hardware.
Xen has hidden it from view I believe. You can't have both Xen and Dom0
trying simultaneously to use the bare harware or chaos follows.

Now, quoting from the docs...
One can also configure XenLinux to share the serial console;
to achieve this append ``console=ttyS0'' to your module line.

Robert Welz wrote:
My /boot/grub/menu.lst looks like:
###Don't change this comment - YaST2 identifier: Original name: xen###
title XEN
    kernel (hd0,11)/xen.gz dom0_mem=261000 xencons=off sched=bvt
module (hd0,11)/vmlinuz-xen root=/dev/Leia/root vga=0x317 selinux=0 splash=silent resume=/dev/md0 showopts
    module (hd0,11)/initrd-xen


Maybe if you change you module line to read
  module (hd0,11)/vmlinuz-xen .... console=ttyS0

..that will do it (I have not test this).

I think that option to the DomO kernel means "don't try to touch
the serial harware yourself, hand the serial data to xen, and xen
will use it's serial driver".

I would be glad to know if that works or not.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.