惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
博客园_首页
大猫的无限游戏
大猫的无限游戏
Recent Announcements
Recent Announcements
量子位
H
Help Net Security
D
Docker
小众软件
小众软件
Google DeepMind News
Google DeepMind News
U
Unit 42
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
InfoQ
S
SegmentFault 最新的问题
罗磊的独立博客
云风的 BLOG
云风的 BLOG
Vercel News
Vercel News
Martin Fowler
Martin Fowler
D
DataBreaches.Net
AI
AI
SecWiki News
SecWiki News
V
Visual Studio Blog
Google Online Security Blog
Google Online Security Blog
腾讯CDC
J
Java Code Geeks
Jina AI
Jina AI
O
OpenAI News
N
News | PayPal Newsroom
Help Net Security
Help Net Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Cloudbric
Cloudbric
S
Secure Thoughts
V
V2EX
N
News and Events Feed by Topic
F
Full Disclosure
MyScale Blog
MyScale Blog
The Cloudflare Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
Attack and Defense Labs
Attack and Defense Labs
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Forbes - Security
Forbes - Security
T
Troy Hunt's Blog
WordPress大学
WordPress大学
H
Hacker News: Front Page
D
Darknet – Hacking Tools, Hacker News & Cyber Security
B
Blog
Engineering at Meta
Engineering at Meta
Latest news
Latest news
Blog — PlanetScale
Blog — PlanetScale
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org

博客园 - cxun

使用 Sublime Text 将含下划线的字符串批量替换为驼峰命名法格式的字符串 如何使用iTunes与iTools导出微信聊天记录 git 常用命令粗略总结 如何从第三方应用下载广播电台的缓存节目内容 在 Windows 10 中启用 Windows Photo Viewer iOS版微信朋友圈数据库的简要分析 如何将密切好友的微信聊天记录恢复到自己的微信中 Hash工具下载地址 微信聊天记录查看器(程序+源码) - iOS版 利用 Serial Over Lan(SOL)搭建 XEN 的调试信息输出环境 Windows内核开发中如何区分文件对象究竟是文件还是文件夹? 白盒密码入门 [转] win32内核程序中进程的pid,handle,eprocess之间相互转换的方法 Windows Language Packs Downloading Links 使用VirtualBox SDK之初步编译 VirtualBox开发环境的搭建详解 最简单的7z API接口 Chrome的Awesome Screenshot的插件离线下载 Chrome插件安装文件提取方法及 PwdHash Port 的插件下载
XEN的启动信息输出到“Platform timer is 14.318MHz HPET”就暂停接收的解决办法
cxun · 2014-06-23 · via 博客园 - cxun

使用Serial Over Lan(SOL)来双机调试 XEN,在 XEN 启动时,引导信息输出到以下这一句时,就不再发送调试信息了:

...
(XEN) Intel machine check reporting enabled (XEN) I/O virtualisation disabled (XEN) Enabled directed EOI with ioapic_ack_old on! (XEN) ENABLING IO-APIC IRQs (XEN) -> Using old ACK method (XEN) ..TIMER: vector
=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1 (XEN) Platform timer is 14.318MHz HPET (

相当奇怪,输出到上文的“(”时就不再有调试信息了,只有当 XEN 所在的 Linux 关机时,断电的瞬间才把剩下的所有调试信息一下子发送到接收端。后来查了相关信息,原来是因为 XEN 异步输出信息时会与 Intel AMT 相冲突。解决办法很简单,在 grub 中的“kernel”那一行中增加一个参数即可:“sync_console”:

title CentOS (3.1.2-xen-SOL)
    root(hd0,0)
    kernel /xen.gz dom0_mem=512M loglvl=all guest_loglvl=all sync_console console_to_ring console=vga,com1 com1=115200,8n1,0x1808,17
    module /vmlinuz-3.1.2 ro root=/dev/mapper/vg_livecd-lv_root console=hvc0 console=tty0 earlyprintk=xen
    module /initramfs-3.1.2.img

这时再重启查看调试信息,问题就解决了,同时XEN的调试信息中也给出了提醒:

(XEN) **********************************************
(XEN) ******* WARNING: CONSOLE OUTPUT IS SYNCHRONOUS
(XEN) ******* This option is intended to aid debugging of Xen by ensuring
(XEN) ******* that all output is synchronously delivered on the serial line.
(XEN) ******* However it can introduce SIGNIFICANT latencies and affect
(XEN) ******* timekeeping. It is NOT recommended for production use!
(XEN) **********************************************
(XEN) 3... 2... 1... 

大概意思就是为了调试方便可以添加这一项,但是在生成产品时要把这参数去掉,否则会影响性能。