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/
Home Products Support Community News


RE: [Xen-users] RE: Problem with GPLPV drivers 0.9.11.pre8

To: "Andy Burns" <lists.xensource.com@xxxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] RE: Problem with GPLPV drivers 0.9.11.pre8
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Sun, 20 Jul 2008 20:28:31 +1000
Delivery-date: Sun, 20 Jul 2008 03:29:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4882F0E5.1010207@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4881EB0B.8090100@xxxxxxxxxxxxxx><AEC6C66638C05B468B556EA548C1A77D0148FF28@trantor> <4882F0E5.1010207@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjqPwFffop+hYXgTj+DViYJrzHjtQAE10Ag
Thread-topic: [Xen-users] RE: Problem with GPLPV drivers 0.9.11.pre8
> On 20/07/2008 04:31, James Harper wrote:
> > I guess you've found out by now that the disk is toasted...
> Not as throughly as I expected

Well that's a first. Every time I have had this happen, my disk has been
completely unrecoverable, at least using standard tools. As far as
everything I tried is concerned the filesystem was dead. I guess you
just got lucky (or I've been unlucky :)

> > This will happen if the drivers get installed when /GPLPV is booted.
> > thing that concerns me is how easy this is to get wrong...
> It will need some considerable pointing out in release notes

Yes, although I'd prefer a system rather than procedure based solution -
as you found, you thought the drivers had been installed successfully
and sobooted up with /GPLPV, only to find that they had not in fact been
installed successfully...

> have you considered automating the boot.ini changes?

Yes, but for the reasons above decided it wasn't such a good idea at
this point so haven't implemented them. Also, if you google with the
right keywords (can't remember what they are) you'll find a few examples
of programs that do this but goofed and left the systems unbootable.

I think what I'll need to do is have xenhide fall back to not gplpv if
it detects that the AddDevice callback is running after boot time. I
don't know how easy it is to detect this though...

> Do you know what the other PV drivers do here to avoid this?

I did see some comments on other solutions stating that they required
modification to the Dom0 side of things to make it work. Something about
qemu only reporting the devices on the first call to the pci detection
(eg the BIOS).


Xen-users mailing list