I am using Xen in FC4. I can''t use my serial port in dom0. I didn''t use serial port in Xen''s boot command. I wonder what can be wrong. It can''t be hardware problem. I can use serial port when booting without Xen. And I tried the 2.6.12 kernel and Xen3. It is the same. My grub.conf is as follows: ==================================================================title Fedora Core (2.6.11-1.1369_FC4xen0) root (hd0,0) kernel /xen.gz module /vmlinuz-2.6.11-1.1369_FC4xen0 ro root=LABEL=/ module /initrd-2.6.11-1.1369_FC4xen0.img ================================================================== Please help. Thanks. Kun _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> I am using Xen in FC4. I can''t use my serial port in dom0. > I didn''t use serial port in Xen''s boot command. I wonder what > can be wrong. It can''t be hardware problem. I can use serial > port when booting without Xen. And I tried the 2.6.12 kernel > and Xen3. It is the same.Please post the boot messages. ''xm dmesg'' and ''dmesg'' should be OK. Why do you want to drive the serial port directly from dom0 rather than via Xen? Are you connecting a modem or some other gadget? Are you sure your kernel has the appropriate uart driver? Is the port detected in the boot messages? Does xencons appear to be grabbing ttyS0 regardless? (You could try xencons=off on the kernel command line) Ian> My grub.conf is as follows: > ==================================================================> title Fedora Core (2.6.11-1.1369_FC4xen0) > root (hd0,0) > kernel /xen.gz > module /vmlinuz-2.6.11-1.1369_FC4xen0 ro root=LABEL=/ > module /initrd-2.6.11-1.1369_FC4xen0.img > ==================================================================> > Please help. Thanks. > > Kun > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ian Pratt wrote:> Please post the boot messages. ''xm dmesg'' and ''dmesg'' should be OK. > > Why do you want to drive the serial port directly from dom0 rather than > via Xen? Are you connecting a modem or some other gadget? > > Are you sure your kernel has the appropriate uart driver? Is the port > detected in the boot messages? Does xencons appear to be grabbing ttyS0 > regardless? > > (You could try xencons=off on the kernel command line) > > IanHi, I am new to Xen. I don''t understand what you mean by drive serial port via Xen. Even after I boot with "com1=115200,8n1" command line. I still can''t use ttyS0 from dom0. The attached xmdmesg file is the one boot with no com1 in command line but has "xencons=off". The xmdmeg-with-com1 is the one has com1 setting. It seems xencons grabbing ttyS0 regardless isn''t it? Because the first line shows the Error message. Another person told me that the provided kernel is without serial port driver, the solution is to recompile the kernel myself, is it true? Thanks a lot for the help. Kun _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ian Pratt wrote:> > >>I am using Xen in FC4. I can''t use my serial port in dom0. >>I didn''t use serial port in Xen''s boot command. I wonder what >>can be wrong. It can''t be hardware problem. I can use serial >>port when booting without Xen. And I tried the 2.6.12 kernel >>and Xen3. It is the same. > > > Please post the boot messages. ''xm dmesg'' and ''dmesg'' should be OK. > > Why do you want to drive the serial port directly from dom0 rather than > via Xen? Are you connecting a modem or some other gadget? > > Are you sure your kernel has the appropriate uart driver? Is the port > detected in the boot messages? Does xencons appear to be grabbing ttyS0 > regardless? > > (You could try xencons=off on the kernel command line)I got it... Sorry I didn''t understand in the beginning. (I don''t have serial driver in dom0 Linux kernel and the boot setting is not correct) Now it works prefectly after I install serial driver and set the xencons=off at module line. But I still don''t know how to use ttyS0 via xen. In xen boot command line I have to set the baud rate and DSP. What if I need to change it when I use it in XenLinux ? (Use ttyS0 to talk to settop box, robots, etc). Kun _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> I got it... > Sorry I didn''t understand in the beginning. (I don''t have > serial driver in dom0 Linux kernel and the boot setting is > not correct) > > Now it works prefectly after I install serial driver and set > the xencons=off at module line. > > But I still don''t know how to use ttyS0 via xen. In xen boot > command line I have to set the baud rate and DSP. What if I > need to change it when I use it in XenLinux ? (Use ttyS0 to > talk to settop box, robots, etc).If you''ve given the serial port to Xen to use for its debug console you can''t monkey with it in Linux. Use a second serial port if you have one. Best, Ian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users