John McDermott (U.S. Navy Employee)
2011-Feb-03 17:34 UTC
[Xen-users] Is grub menu supposed to work over the serial console, in Xen 4.0.1?
Xen-users, I am having trouble getting to the grub boot menu, via a serial console. The serial console is working and even gives me "Press any key to continue." many times very nicely, but when I press the any key, I get no menu and grub eventually times out and boots the default hypervisor. I am using terminal --timeout=10 console serial on a machine that has a serial port, using a null modem cable. The menu works fine over the directly connected keyboard and monitor, so I am sure it is not a broken menu per se. I have tried lots of combinations of grub set up, all with the same results or worse, e.g with and without "sync_console", putting "serial" before "console", leaving either "console" or "serial" out. I also tried a number of different line speeds from 115200 all the way down to 9600, but nothing seems to make a difference. I could not find anything in the Xen wiki about grub menu over serial, and nothing googled either. Before I try any more, does anyone know if the grub menu is even supposed to work over serial, for Xen 4.0.1? Sincerely, John ---- What is the formal meaning of the one-line program #include "/dev/tty" J.P. McDermott building 12 Code 5542 mcdermott@itd.nrl.navy.mil Naval Research Laboratory voice: +1 202.404.8301 Washington, DC 20375, US fax: +1 202.404.7942 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Steven Timm
2011-Feb-03 18:10 UTC
Re: [Xen-users] Is grub menu supposed to work over the serial console, in Xen 4.0.1?
Do you also have a line in grub.conf of the form serial --unit=0 --speed=115200 terminal --timeout=10 serial console I don''t have xen 4.0.1 myself and so can''t test it with that, but this functionality is part of grub and shouldn''t matter whether you are using Xen or not. At this state you have not loaded anything that is xen-dependent. Steve Timm On Thu, 3 Feb 2011, John McDermott (U.S. Navy Employee) wrote:> Xen-users, > > I am having trouble getting to the grub boot menu, via a serial console. The serial console is working and even gives me "Press any key to continue." many times very nicely, but when I press the any key, I get no menu and grub eventually times out and boots the default hypervisor. I am using > > terminal --timeout=10 console serial > > on a machine that has a serial port, using a null modem cable. > > The menu works fine over the directly connected keyboard and monitor, so I am sure it is not a broken menu per se. > > I have tried lots of combinations of grub set up, all with the same results or worse, e.g with and without "sync_console", putting "serial" before "console", leaving either "console" or "serial" out. I also tried a number of different line speeds from 115200 all the way down to 9600, but nothing seems to make a difference. I could not find anything in the Xen wiki about grub menu over serial, and nothing googled either. > > Before I try any more, does anyone know if the grub menu is even supposed to work over serial, for Xen 4.0.1? > > Sincerely, > > John > ---- > What is the formal meaning of the one-line program > #include "/dev/tty" > > J.P. McDermott building 12 > Code 5542 mcdermott@itd.nrl.navy.mil > Naval Research Laboratory voice: +1 202.404.8301 > Washington, DC 20375, US fax: +1 202.404.7942 > > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- ------------------------------------------------------------------ Steven C. Timm, Ph.D (630) 840-8525 timm@fnal.gov http://home.fnal.gov/~timm/ Fermilab Computing Division, Scientific Computing Facilities, Grid Facilities Department, FermiGrid Services Group, Group Leader. Lead of FermiCloud project. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
John McDermott (U.S. Navy Employee)
2011-Feb-03 18:54 UTC
Re: [Xen-users] Is grub menu supposed to work over the serial console, in Xen 4.0.1?
Steve, Yes, thanks, my grub.conf is ok, otherwise my serial connection would not be working at all. Everything else about my serial connection works fine and has for months. John ---- On Feb 3, 2011, at 1:10 PM, Steven Timm wrote:> Do you also have a line in grub.conf of the form > > serial --unit=0 --speed=115200 > terminal --timeout=10 serial console > > I don''t have xen 4.0.1 myself and so can''t test it with that, > but this functionality is part of grub and shouldn''t matter > whether you are using Xen or not. At this state you have not > loaded anything that is xen-dependent. > > Steve Timm---- What is the formal meaning of the one-line program #include "/dev/tty" J.P. McDermott building 12 Code 5542 mcdermott@itd.nrl.navy.mil Naval Research Laboratory voice: +1 202.404.8301 Washington, DC 20375, US fax: +1 202.404.7942 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Niccolò Belli
2011-Feb-03 21:39 UTC
Re: [Xen-users] Is grub menu supposed to work over the serial console, in Xen 4.0.1?
I use serial connection with grub2 and xen-4.0.1 without any problem. Darkbasic _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users