LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-26-2009, 08:58 AM   #1
chandramani_yadav
Member
 
Registered: Jan 2007
Location: Vienna
Distribution: Redhat
Posts: 47

Rep: Reputation: 19
Serial port access from DomU


Background:- I have tested a Gentoo Virtual machine (DOMU) to access the serial port of Physical machine (opensuse 11.1) (DOM0) using the following configuration.

Step1: Following modules should be loaded on the DOM0
8250
8250_pnp
serial_core

check is using "lsmod" command.

Step 2:- Finding the IRQ and ioport ranges.

Run the following command on the DOM0 to find the irq for the serial port.

# dmesg |grep tty
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A

and run the following command to find the ioport


# cat /proc/ioports |grep serial
02f8-02ff : serial
03f8-03ff : serial

now add the following lines in the DOMU config file ( i mean configuration file of virtual machine)


domU config:
irq = [ 4 ]
ioports = [ "02f8-02ff" ]

check with minicom

if you are unsuccessful then try the other value.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Access serial port over Bluetooth Jaykob Linux - Software 2 02-17-2009 09:08 AM
Speed of direct serial port access Vinter Linux - Hardware 1 08-01-2007 01:00 PM
How to access the second serial port cheema Programming 2 07-29-2004 01:26 PM
Serial Port Access stweaver Linux - Newbie 3 09-14-2003 01:21 AM
Serial Port Access gblydenburgh Linux - General 3 08-21-2001 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration