Between jan 30th and feb 7th, the serial console stopped working for domain 0. I used to be able to log into a getty on domain 0 using the serial console, but this no longer works. I can get data out of the serial console though, by echoing things to /dev/ttyS0 from inside domain 0 - the problem is getting data in... -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Mon, Feb 14, 2005 at 12:00:32AM -0500, Rik van Riel wrote:> Between jan 30th and feb 7th, the serial console stopped > working for domain 0. I used to be able to log into a > getty on domain 0 using the serial console, but this no > longer works. > > I can get data out of the serial console though, by > echoing things to /dev/ttyS0 from inside domain 0 - the > problem is getting data in...I''ve always had this problem :( -- patrick ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
I''ve noticed this too. However, it''s not reliable. I can boot the same xen/xenolinux images and have the console work, and subsequently have it not work. And then work again. I haven''t figured out what causes it to change states yet. -----Original Message----- From: xen-devel-admin@lists.sourceforge.net [mailto:xen-devel-admin@lists.sourceforge.net] On Behalf Of Rik van Riel Sent: Monday, February 14, 2005 5:01 AM To: xen-devel@lists.sourceforge.net Subject: [Xen-devel] serial console stopped working Between jan 30th and feb 7th, the serial console stopped working for domain 0. I used to be able to log into a getty on domain 0 using the serial console, but this no longer works. I can get data out of the serial console though, by echoing things to /dev/ttyS0 from inside domain 0 - the problem is getting data in... -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Mon, 14 Feb 2005, Michael A Fetterman wrote:> I''ve noticed this too. However, it''s not reliable. > > I can boot the same xen/xenolinux images and have the console work, > and subsequently have it not work. And then work again. I haven''t > figured out what causes it to change states yet.When the serial console does not work, Xen spews out this line when I type my first character at mgetty: (XEN) Unexpected IRQ trap at vector 29. If I type into the serial console while eth0 is being initialised, I get an infinite (well, I stopped after 5 minutes) sequence of: (XEN) Unexpected IRQ trap at vector 79. (XEN) Unexpected IRQ trap at vector 79. (XEN) Unexpected IRQ trap at vector 79. I haven''t yet run into the magical way to make it work ... Note that I _can_ type letters into the serial console during the earlier phases of the bootup process, eg. before udev is started. -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Mon, 14 Feb 2005, Rik van Riel wrote:> I haven''t yet run into the magical way to make it work ...I''ve rebooted my (SMP, dual PIII-800) test system continuously for most of today now, and I still can''t get the serial port to work any more...> Note that I _can_ type letters into the serial console during > the earlier phases of the bootup process, eg. before udev is > started.This sometimes doesn''t work, either. -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> On Mon, 14 Feb 2005, Rik van Riel wrote: > > > I haven''t yet run into the magical way to make it work ... > > I''ve rebooted my (SMP, dual PIII-800) test system continuously > for most of today now, and I still can''t get the serial port to > work any more... > > > Note that I _can_ type letters into the serial console during > > the earlier phases of the bootup process, eg. before udev is > > started. > > This sometimes doesn''t work, either.I''ve just checked in a potential fix. The symptoms sound a lot like what happens when the per-cpu IDTs get out of sync, so the patch ensures that updates to the cpu0 IDT also get written to any other IDTs that have been allocated. -- Keir ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Thu, Feb 17, 2005 at 05:38:34AM +0000, Keir Fraser wrote:> > On Mon, 14 Feb 2005, Rik van Riel wrote: > > > > > I haven''t yet run into the magical way to make it work ... > > > > I''ve rebooted my (SMP, dual PIII-800) test system continuously > > for most of today now, and I still can''t get the serial port to > > work any more... > > > > > Note that I _can_ type letters into the serial console during > > > the earlier phases of the bootup process, eg. before udev is > > > started. > > > > This sometimes doesn''t work, either. > > I''ve just checked in a potential fix. The symptoms sound a lot like > what happens when the per-cpu IDTs get out of sync, so the patch > ensures that updates to the cpu0 IDT also get written to any other > IDTs that have been allocated. >It didn''t help here I''m afraid. -- patrick ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> > I''ve just checked in a potential fix. The symptoms sound a lot like > > what happens when the per-cpu IDTs get out of sync, so the patch > > ensures that updates to the cpu0 IDT also get written to any other > > IDTs that have been allocated. > > > > It didn''t help here I''m afraid.Has serial input *ever* worked for you? If not there must be some longer-term bug -- perhaps will get fixed when we move the IRQ setup code out to domain0. -- Keir ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Fri, Feb 18, 2005 at 12:59:32PM +0000, Keir Fraser wrote:> > > I''ve just checked in a potential fix. The symptoms sound a lot like > > > what happens when the per-cpu IDTs get out of sync, so the patch > > > ensures that updates to the cpu0 IDT also get written to any other > > > IDTs that have been allocated. > > > > > > > It didn''t help here I''m afraid. > > Has serial input *ever* worked for you? If not there must be some > longer-term bug -- perhaps will get fixed when we move the IRQ setup > code out to domain0.Not on this box no - even with smp disabled. I''ll try it on my much newer DELL box when I can get a suitable serial lead connected up to it. -- patrick ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Thu, 17 Feb 2005, Keir Fraser wrote:> I''ve just checked in a potential fix. The symptoms sound a lot like > what happens when the per-cpu IDTs get out of sync, so the patch > ensures that updates to the cpu0 IDT also get written to any other > IDTs that have been allocated.Serial console now seems to work reliably on my SMP test system. -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> > Has serial input *ever* worked for you? If not there must be some > > longer-term bug -- perhaps will get fixed when we move the IRQ setup > > code out to domain0. > > Not on this box no - even with smp disabled. I''ll try it on > my much newer DELL > box when I can get a suitable serial lead connected up to it.Have you confirmed the serial line works under normal Linux? Are you sure it''s enabled in the BIOS, the cable works etc? Ian ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Sun, Feb 20, 2005 at 10:58:51AM -0000, Ian Pratt wrote:> > > Has serial input *ever* worked for you? If not there must be some > > > longer-term bug -- perhaps will get fixed when we move the IRQ setup > > > code out to domain0. > > > > Not on this box no - even with smp disabled. I''ll try it on > > my much newer DELL > > box when I can get a suitable serial lead connected up to it. > > Have you confirmed the serial line works under normal Linux? Are you > sure it''s enabled in the BIOS, the cable works etc?Absolutely 100% sure I''m afraid. This box has not had a video cable plugged into it for nearly a year now and works fine on serial console when booted with a "normal" Linux kernel. -- patrick ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel