WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Console getting disk debug output?

To: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Console getting disk debug output?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 17 Feb 2004 22:42:07 +0000
Cc: "MAGENHEIMER,DAN (HP-FtCollins,ex1)" <dan.magenheimer@xxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 17 Feb 2004 22:51:08 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Tue, 17 Feb 2004 21:53:09 GMT." <E1AtD9S-000326-00@xxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> 
> > I'm trying to connect to a Xen (1.2) console via a terminal
> > concentrator and, on boot, instead of getting console output
> > I'm getting literally thousands of lines as follows:
> > 
> > hdb: 0x0080 0x000001cb7376
> > [A]
> > hdb: writing: LBAsect=30110710, sectors=128, buffer=0x00253000,
> 
> This is bizarre. 
> 
> Someone has commented out the "#ifdef DEBUG" in
> xen/drivers/ide/ide-disk.c in several places.
> 
> The strange thing is that the changelog suggest this was done 13
> months ago! Why hasn't anyone noticed before?
> 
> We do most of our testing on SCSI, but there are *loads* of
> people using IDE in production environments. Surely this debug
> output hasn't been coming out the whole time without anyone
> noticing? I suspect that something else must have been gating it
> until very recently, but I'm not sure what. I'll investigate.
> 
> In the meantime, remove the comments from ide-disk.c

Amusing! The reason is that until recently we had not run Xen on a
system with an IDE disc using "48-bit LBA mode". The older 28-bit LBA
mode can address up to 137GB discs, but of course now 160GB is the
"knee" of the price-capacity curve (which is where everyone buys their
IDE discs).

So we are just beginning to run Xen on discs of sufficient capacity to
require LBA-48 addressing, which executes hardly-tested code paths in
Xen. Debugging was never turned back off on those paths. :-)

I'll turn the debugging off...

 -- Keir


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>