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] intel agp card support 2

To: "Ronald G. Minnich" <rminnich@xxxxxxxx>
Subject: Re: [Xen-devel] intel agp card support 2
From: Stijn De Weirdt <stijn.deweirdt@xxxxxxxxx>
Date: Thu, 6 Jan 2005 17:36:30 +0100
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 06 Jan 2005 17:59:36 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=TzGyMMEqzQkVuYYutbEC7IW8WnhjSH4NxtpRo4F07qQYqVS5/q5UVHaR5FAO0bQPcEWgHwyVU/VgG0wsKfel6CetCulckoNsk2a9uzhBhImliC5W2FeJiMq738Xqhx3ofREgGxhhBk6VSXx07fN/6aXRm+ThKt4c9Lx2Ce3PGcs=
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.58.0501060845210.1570@xxxxxxxxxx>
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>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D123246@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.58.0501060845210.1570@xxxxxxxxxx>
Reply-to: Stijn De Weirdt <stijn.deweirdt@xxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
no output from xm dmesg. so something else must be wrong (and probably
my fault ;)
output from xm dmesg after xend start

(111, 'Connection refused')
Error: Error connecting to xend, is xend running?

no so good 

/var/log/xend.log 
[2005-01-06 17:00:50 xend] INFO (SrvDaemon:607) Xend Daemon started

/var/log/xend-debug.log
xu_notifier_new()
error connecting to xcs(ctrl)! (111)
Traceback (most recent call last):
  File "/usr/sbin/xend", line 121, in ?
    sys.exit(main())
  File "/usr/sbin/xend", line 107, in main
    return daemon.start()
  File "/usr/lib/python2.2/site-packages/xen/xend/server/SrvDaemon.py",
line 522, in start
    self.run()
  File "/usr/lib/python2.2/site-packages/xen/xend/server/SrvDaemon.py",
line 610, in run
    self.listenNotifier()
  File "/usr/lib/python2.2/site-packages/xen/xend/server/SrvDaemon.py",
line 629, in listenNotifier
    p.startListening()
  File "/usr/lib/python2.2/site-packages/xen/xend/server/SrvDaemon.py",
line 90, in startListening
    self._connectToProtocol()
  File "/usr/lib/python2.2/site-packages/xen/xend/server/SrvDaemon.py",
line 108, in _connectToProtocol
    self.startReading()
  File "/usr/lib/python2.2/site-packages/twisted/internet/abstract.py", line 205
, in startReading
    self.reactor.addReader(self)
  File "/usr/lib/python2.2/site-packages/twisted/internet/pollreactor.py", line
89, in addReader
    self._updateRegistration(fd)
  File "/usr/lib/python2.2/site-packages/twisted/internet/pollreactor.py", line
52, in _updateRegistration
    poller.unregister(fd)
ValueError: file descriptor cannot be a negative integer (-1)

(i tried the writing to /dev/mem, and as ian guessed, it doesn't solve it)

stijn

On Thu, 6 Jan 2005 08:51:00 -0700 (MST), Ronald G. Minnich
<rminnich@xxxxxxxx> wrote:
> 
> 
> On Thu, 6 Jan 2005, Ian Pratt wrote:
> 
> > This might get you a stage further, but it will fail as soon as the
> > driver tries to access the frame bufffer via /dev/mem. We really need to
> > get to the bottom of whis this is failing on your system. Please can you
> > post the output of 'xm dmesg'.
> 
> I should be clearer. What we do here is get vgabios into a file, and then
> tell our emulator to use the file as the 'C segment' but to use /dev/mem
> for everything else. In that way we init the physical hardware. X11 ought
> to do this but I do not know if they support the option it at this point.
> It's easy: our code is just mods to the X11 emulator.
> 
> Is there any easy way to dump the mfn's for a guest -- that would tell us
> right away what is going on -- we should see pfn 0xc0 map to mfn
> 0xc0, i.e. dom 0 physical c0000 maps to vga bios at machine 0xc0000.
> 
> This is where having /proc/sys/xen/dom/#/{mem,mfn,etc} would be VERY handy
> :-)
> 
> ron
>


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel