WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Accessing serial port

I don't want to console into the port, I have data i need to gather from the port within a dom

Luke Crawford wrote:

First, to make grub use the serial console, I add:
serial --unit=0 --speed=9600
terminal --timeout=2 serial console

to my grub config (grub.conf or menu.lst)

then I make a grub section to boot xen and my dom0 like this:

title           xen-3.0.2-2/2.6.16-xen0
root            (hd0,0)
kernel          /boot/xen.gz com1=9600,8n1 dom0_mem=256000
module /boot/vmlinuz-2.6.16-xen0 console=/dev/ttyS0\ root=/dev/md0 ro qla2xxx
boot

I compiled the dom0 kernel with the serial drivers disabled (the xen compiliation foo does it for you... just don't re-enable them.)

then I uncomment the line in /etc/inittab that looks like this:
T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100


and from the box I'm using to console in (my console server is a FreeBSD box with an 8-port rocketport but a laptop with a crossover cable would work fine as well) I use cu -lttyR02 -s9600 (where ttyR02 is the serial port on the terminal server or laptop)

On Mon, 28 Aug 2006, Kanwar Ranbir Sandhu wrote:
On Mon, 2006-28-08 at 17:26 -0500, Richard Thomas wrote:
I am having issues getting the serial port to show up. I have
xencons=off I have tried  com1=auto,8n1,0x03E8,4 and various other
formats in my grub.conf and can't get the port to show up under xen in
iether the main domain or virtual domains.

If you search the archives, you'll find a few threads about this.  In
one, someone suggested that the only way to get access to the serial
port is to use the xen0 and xenU kernels.  You'll then be able to enable
the serial port for dom0, and turn it off for domU.

This worked for one guy, but hasn't for me - my serial port is still
toast.  It might work for you, so try it out.

Regards,

Ranbir

--
Kanwar Ranbir Sandhu
Linux 2.6.17-1.2142_FC4 i686 GNU/Linux
18:36:08 up 3 days, 12:05, 3 users, load average: 0.42, 0.34, 0.23



_______________________________________________
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



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

<Prev in Thread] Current Thread [Next in Thread>