Tony Clark
2006-Apr-20 14:05 UTC
[Fedora-xen] FC5 - serial console - no characters received by host?
Hi there, I''ve been working with the FC5 Xen stuff for the past few weeks after trawling many options for building a redundant server farm; It''s a great build and congratulations to all who put this together. I have a little issue with my serial console which is putting hte brakes on deployment though: I want to use the serial console on com2 (the default on the Intel mainboard I use) to give me the grub console, Xen console and Linux consoles. I''ve had this working fine on previous releases from SuSE and others and on the current hardware. When happens at the moment is that the machine boots, gives me the grub menu, where I can choose my boot system (so it''s hearing my keystrokes) but once it proceeds into the Xen and ultimately Linux, it doesn''t want to hear keystrokes from me any more: I can''t CTRL-A (x3) and get the Xen console, nor the linux console which is configured in /etc/inittab. I see the boot messages go past and get a login prompt, but no keystrokes get through or can control the machine. It''s making it tricky to send the box to co-lo as I can''t get serial control if I take down the network, or Hypervisor control to reboot Dom0. My rpms are: kernel-xen0-2.6.16-1.2080_FC5 xen-3.0.1-4 and my grub.conf is: default=0 timeout=5 #splashimage=(hd0,0)/grub/splash.xpm.gz #hiddenmenu # serial --unit=1 --speed=9600 --word=8 --parity=no --stop=1 terminal --timeout=10 serial console # title Fedora Core (2.6.16-1.2080_FC5xen0) root (hd0,0) kernel /xen.gz-2.6.16-1.2080_FC5 dom0_mem=384000 com2=9600,8n1 console=com2,vga sync_console module /vmlinuz-2.6.16-1.2080_FC5xen0 ro root=/dev/ VolGroup00/LogVol00 rhgb selinux=0 module /initrd-2.6.16-1.2080_FC5xen0.img I''d appreciate any guidance on silly things I may have done here; I''m banging my head on this one. Many thanks, Tony tony clark director - tony.clark@rsp.com.au --------------------------------------------------------------- rising sun pictures - www.rsp.com.au redefining visual effects delivery --------------------------------------------------------------- address level 1 / 133 gouger street adelaide south australia 5000 --------------------------------------------------------------- adelaide ph +61 8 8400 6400 fax +61 8 8400 6401 sydney ph +61 2 9338 6400 fax +61 2 9338 6401 --------------------------------------------------------------- rising sun research - http://research.rsp.com.au ---------------------------------------------------------------
Nathan
2006-Apr-21 03:16 UTC
Re: [Fedora-xen] FC5 - serial console - no characters received by host?
I ran into the same problem too, see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=185744 boot with pnpacpi=off on the kernel command line and it should work (serial console works fine for me though I''m using com1 at 115200). Thanks again to James Morris for finding the workaround for this one! Nathan On Thu, Apr 20, 2006 at 11:35:24PM +0930, Tony Clark wrote:> Hi there, > > I''ve been working with the FC5 Xen stuff for the past few weeks after > trawling many options for building a redundant server farm; It''s a > great build and congratulations to all who put this together. > > I have a little issue with my serial console which is putting hte > brakes on deployment though: I want to use the serial console on com2 > (the default on the Intel mainboard I use) to give me the grub > console, Xen console and Linux consoles. I''ve had this working fine > on previous releases from SuSE and others and on the current hardware. > > When happens at the moment is that the machine boots, gives me the > grub menu, where I can choose my boot system (so it''s hearing my > keystrokes) but once it proceeds into the Xen and ultimately Linux, > it doesn''t want to hear keystrokes from me any more: I can''t CTRL-A > (x3) and get the Xen console, nor the linux console which is > configured in /etc/inittab. I see the boot messages go past and get > a login prompt, but no keystrokes get through or can control the > machine. > > It''s making it tricky to send the box to co-lo as I can''t get serial > control if I take down the network, or Hypervisor control to reboot > Dom0. > > My rpms are: > > kernel-xen0-2.6.16-1.2080_FC5 > xen-3.0.1-4 > > and my grub.conf is: > > default=0 > timeout=5 > #splashimage=(hd0,0)/grub/splash.xpm.gz > #hiddenmenu > # > serial --unit=1 --speed=9600 --word=8 --parity=no --stop=1 > terminal --timeout=10 serial console > # > title Fedora Core (2.6.16-1.2080_FC5xen0) > root (hd0,0) > kernel /xen.gz-2.6.16-1.2080_FC5 dom0_mem=384000 > com2=9600,8n1 console=com2,vga sync_console > module /vmlinuz-2.6.16-1.2080_FC5xen0 ro root=/dev/ > VolGroup00/LogVol00 rhgb selinux=0 > module /initrd-2.6.16-1.2080_FC5xen0.img > > I''d appreciate any guidance on silly things I may have done here; I''m > banging my head on this one. > > Many thanks, > > Tony > > > tony clark > director - tony.clark@rsp.com.au > --------------------------------------------------------------- > rising sun pictures - www.rsp.com.au > redefining visual effects delivery > --------------------------------------------------------------- > address level 1 / 133 gouger street > adelaide south australia 5000 > --------------------------------------------------------------- > adelaide ph +61 8 8400 6400 fax +61 8 8400 6401 > sydney ph +61 2 9338 6400 fax +61 2 9338 6401 > --------------------------------------------------------------- > rising sun research - http://research.rsp.com.au > --------------------------------------------------------------- > > >> -- > Fedora-xen mailing list > Fedora-xen@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen
Tony Clark
2006-Apr-21 03:54 UTC
Re: [Fedora-xen] FC5 - serial console - no characters received by host?
Thanks to both Yongkang and Nathan for their quick responses on this; I tried both approaches and they did everything I needed. My boot options now follow this message for the record and I have a happy serial console. Tony title Fedora Core (2.6.16-1.2080_FC5xen0) root (hd0,0) kernel /xen.gz-2.6.16-1.2080_FC5 dom0_mem=384000 com2=9600,8n1 console=com2,vga sync_console,acpi=off module /vmlinuz-2.6.16-1.2080_FC5xen0 ro root=/dev/ VolGroup00/LogVol00 rhgb selinux=0 pci=noacpi console=tty0 console=ttyS0 module /initrd-2.6.16-1.2080_FC5xen0.img title Fedora Core (2.6.16-1.2080_FC5xen0 PNP) root (hd0,0) kernel /xen.gz-2.6.16-1.2080_FC5 dom0_mem=384000 com2=9600,8n1 console=com2,vga sync_console module /vmlinuz-2.6.16-1.2080_FC5xen0 ro root=/dev/ VolGroup00/LogVol00 rhgb selinux=0 console=tty0 console=ttyS0 pnpacpi=off module /initrd-2.6.16-1.2080_FC5xen0.img On 21/04/2006, at 12:46 PM, Nathan wrote:> I ran into the same problem too, see > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=185744 > > boot with pnpacpi=off on the kernel command line and it should work > (serial console works fine for me though I''m using com1 at 115200). > > Thanks again to James Morris for finding the workaround for this one! > > Nathan > > On Thu, Apr 20, 2006 at 11:35:24PM +0930, Tony Clark wrote: >> Hi there, >> >> I''ve been working with the FC5 Xen stuff for the past few weeks after >> trawling many options for building a redundant server farm; It''s a >> great build and congratulations to all who put this together. >> >> I have a little issue with my serial console which is putting hte >> brakes on deployment though: I want to use the serial console on com2 >> (the default on the Intel mainboard I use) to give me the grub >> console, Xen console and Linux consoles. I''ve had this working fine >> on previous releases from SuSE and others and on the current >> hardware. >> >> When happens at the moment is that the machine boots, gives me the >> grub menu, where I can choose my boot system (so it''s hearing my >> keystrokes) but once it proceeds into the Xen and ultimately Linux, >> it doesn''t want to hear keystrokes from me any more: I can''t CTRL-A >> (x3) and get the Xen console, nor the linux console which is >> configured in /etc/inittab. I see the boot messages go past and get >> a login prompt, but no keystrokes get through or can control the >> machine. >> >> It''s making it tricky to send the box to co-lo as I can''t get serial >> control if I take down the network, or Hypervisor control to reboot >> Dom0. >> >> My rpms are: >> >> kernel-xen0-2.6.16-1.2080_FC5 >> xen-3.0.1-4 >> >> and my grub.conf is: >> >> default=0 >> timeout=5 >> #splashimage=(hd0,0)/grub/splash.xpm.gz >> #hiddenmenu >> # >> serial --unit=1 --speed=9600 --word=8 --parity=no --stop=1 >> terminal --timeout=10 serial console >> # >> title Fedora Core (2.6.16-1.2080_FC5xen0) >> root (hd0,0) >> kernel /xen.gz-2.6.16-1.2080_FC5 dom0_mem=384000 >> com2=9600,8n1 console=com2,vga sync_console >> module /vmlinuz-2.6.16-1.2080_FC5xen0 ro root=/dev/ >> VolGroup00/LogVol00 rhgb selinux=0 >> module /initrd-2.6.16-1.2080_FC5xen0.img >> >> I''d appreciate any guidance on silly things I may have done here; I''m >> banging my head on this one. >> >> Many thanks, >> >> Tony >> >> >> tony clark >> director - tony.clark@rsp.com.au >> --------------------------------------------------------------- >> rising sun pictures - www.rsp.com.au >> redefining visual effects delivery >> --------------------------------------------------------------- >> address level 1 / 133 gouger street >> adelaide south australia 5000 >> --------------------------------------------------------------- >> adelaide ph +61 8 8400 6400 fax +61 8 8400 6401 >> sydney ph +61 2 9338 6400 fax +61 2 9338 6401 >> --------------------------------------------------------------- >> rising sun research - http://research.rsp.com.au >> --------------------------------------------------------------- >> >> >> > >> -- >> Fedora-xen mailing list >> Fedora-xen@redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-xentony clark director - tony.clark@rsp.com.au --------------------------------------------------------------- rising sun pictures - www.rsp.com.au redefining visual effects delivery --------------------------------------------------------------- address level 1 / 133 gouger street adelaide south australia 5000 --------------------------------------------------------------- adelaide ph +61 8 8400 6400 fax +61 8 8400 6401 sydney ph +61 2 9338 6400 fax +61 2 9338 6401 --------------------------------------------------------------- rising sun research - http://research.rsp.com.au ---------------------------------------------------------------