Skip to contentSkip to conversation

How to enable serial driver on 2.6.18 for Intel DQ35JO?

DISCUSSION Neo Jia 3 participants 5 messages Jun 19, 2008 – Jun 20, 2008

lore
Share & tools
lore

Neo Jia

author
#0 lore raw

I need to use the onboard serial port to debug DomU. But I can't see it from the dmesg | grep tty output.

Is there anybody can use this board to debug DomU?

Thanks,
Neo

Signature · 2 lines
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
#1 lore raw
Quoted 2 lines

I need to use the onboard serial port to debug DomU. But I can't see it from the dmesg | grep tty output.

Serial port is (usually) assigned to Xen + Dom0. You can however use xencons to debug your DomU.
Gerd Hoffman's XenSummit presentation is a good resource to learn about xencons:
http://xen.xensource.com/files/xensummit_4/xensummit_linux_console_slides.pdf

In my DomU config files I have:
extra = "console=xvc0 xencons=xvc"
This should be enough to get you started.

Cheers
Gr(z)egor(z)

Quoted 14 lines

Is there anybody can use this board to debug DomU?

Thanks,
Neo
--
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#2 lore raw

I need to pass through (not VT-d) the real serial port to the DomU and debug it with kgdb. And I even can't see anything in my dmesg | grep tty, which is executed in dom0.

I just compared the linux-xen config file for x86_64 and x86_32. It looks that we disable the serial 8250 driver on x86_64 machine.

Thanks,
Neo

Quoted 30 lines · Grzegorz Miłoś
Quoted 2 lines

I need to use the onboard serial port to debug DomU. But I can't see it from the dmesg | grep tty output.

Serial port is (usually) assigned to Xen + Dom0. You can however use xencons to debug your DomU.
Gerd Hoffman's XenSummit presentation is a good resource to learn about xencons:
http://xen.xensource.com/files/xensummit_4/xensummit_linux_console_slides.pdf

In my DomU config files I have:
extra = "console=xvc0 xencons=xvc"
This should be enough to get you started.

Cheers
Gr(z)egor(z)

Quoted 14 lines

Is there anybody can use this board to debug DomU?

Thanks,
Neo
--
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 2 lines
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

Neo,

You should try in your config file:

serial="/dev/ttyS0"

2008/6/20 Neo Jia <[email protected]>:

Quoted 56 lines

I need to pass through (not VT-d) the real serial port to the DomU and debug it with kgdb. And I even can't see anything in my dmesg | grep tty, which is executed in dom0.

I just compared the linux-xen config file for x86_64 and x86_32. It looks that we disable the serial 8250 driver on x86_64 machine.

Thanks,
Neo

Quoted 8 lines · Grzegorz Miłoś
Quoted 2 lines

I need to use the onboard serial port to debug DomU. But I can't see it from the dmesg | grep tty output.

Serial port is (usually) assigned to Xen + Dom0. You can however use xencons to debug your DomU.
Gerd Hoffman's XenSummit presentation is a good resource to learn about xencons:
http://xen.xensource.com/files/xensummit_4/xensummit_linux_console_slides.pdf

Quoted 22 lines

In my DomU config files I have:
extra = "console=xvc0 xencons=xvc"
This should be enough to get you started.

Cheers
Gr(z)egor(z)

Quoted 14 lines

Is there anybody can use this board to debug DomU?

Thanks,
Neo
--
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

--
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 1 line
Jean Guyader

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#4 lore raw

I will try that tomorrow. This should work even I don't see any tty in dom0 dmesg?

Thanks,
Neo

2008/6/20 Jean Guyader <[email protected]>:

Quoted 69 lines

Neo,

You should try in your config file:

serial="/dev/ttyS0"

2008/6/20 Neo Jia <[email protected]>:

Quoted 46 lines

I need to pass through (not VT-d) the real serial port to the DomU and debug it with kgdb. And I even can't see anything in my dmesg | grep tty, which is executed in dom0.

I just compared the linux-xen config file for x86_64 and x86_32. It looks that we disable the serial 8250 driver on x86_64 machine.

Thanks,
Neo

Quoted 8 lines · Grzegorz Miłoś
Quoted 2 lines

I need to use the onboard serial port to debug DomU. But I can't see it from the dmesg | grep tty output.

Serial port is (usually) assigned to Xen + Dom0. You can however use xencons to debug your DomU.
Gerd Hoffman's XenSummit presentation is a good resource to learn about xencons:
http://xen.xensource.com/files/xensummit_4/xensummit_linux_console_slides.pdf

Quoted 22 lines

In my DomU config files I have:
extra = "console=xvc0 xencons=xvc"
This should be enough to get you started.

Cheers
Gr(z)egor(z)

Quoted 14 lines

Is there anybody can use this board to debug DomU?

Thanks,
Neo
--
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Quoted 10 lines

--
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

--
Jean Guyader

Signature · 2 lines
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel