Xen and intel-agp
Hi,
starting to use Xen 2.0.1 with a self-compiled xen0 kernel on my laptop (IBM T40):
It crashes immediately, if I insmod intel-agp in domain0.
Is this a known problem?
Regards,
Signature · 1 line
Kurt Garloff <[email protected]> [Koeln, DE]
Quoted 7 lines
starting to use Xen 2.0.1 with a self-compiled xen0 kernel on my laptop (IBM T40):
It crashes immediately, if I insmod intel-agp in domain0.
Is this a known problem?
Unless you're running a very recent 2.0-testing, the patches/linux-2.6.9/agpgart.patch file was not being applied automatically on xen0 builds.
It should work OK now (phys vs bus confusion in agpgart code).
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://productguide.itmanagersjournal.com/
Quoted 1 line
It should work OK now (phys vs bus confusion in agpgart code).
Oh! that would be great!
Signature · 9 lines
Dariush Pietrzak, Key fingerprint = 40D0 9FFB 9939 7320 8294 05E0 BCC7 02C4 75CC 50D9 ------------------------------------------------------- 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://productguide.itmanagersjournal.com/
Quoted 4 lines
starting to use Xen 2.0.1 with a self-compiled xen0 kernel on my laptop (IBM T40):
It crashes immediately, if I insmod intel-agp in domain0. Is this a known problem?
I asked the same about IBM X30, aparrently agpgart does not work under
xen, thus, I booted without graphical modules and it works fine.
You could play with vga or vesa drivers, IIRC they do not depend on
agpgart.
Signature · 9 lines
Dariush Pietrzak, Key fingerprint = 40D0 9FFB 9939 7320 8294 05E0 BCC7 02C4 75CC 50D9 ------------------------------------------------------- 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://productguide.itmanagersjournal.com/
Quoted 8 lines
Quoted 4 lines
starting to use Xen 2.0.1 with a self-compiled xen0 kernel on my laptop (IBM T40):
It crashes immediately, if I insmod intel-agp in domain0. Is this a known problem?I asked the same about IBM X30, aparrently agpgart does not work under
xen, thus, I booted without graphical modules and it works fine.
You could play with vga or vesa drivers, IIRC they do not depend on
agpgart.
If you want VESA to work you'll need to use the very latest bleeding edge xen-unstable tree that supports vm86 mode.
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://productguide.itmanagersjournal.com/
Quoted 9 lines
Quoted 8 lines
Quoted 4 lines
starting to use Xen 2.0.1 with a self-compiled xen0 kernel on my laptop (IBM T40):
It crashes immediately, if I insmod intel-agp in domain0. Is this a known problem?I asked the same about IBM X30, aparrently agpgart does not work under
xen, thus, I booted without graphical modules and it works fine.
You could play with vga or vesa drivers, IIRC they do not depend on
agpgart.
Quoted 4 lines
If you want VESA to work you'll need to use the very latest bleeding edge xen-unstable tree that supports vm86 mode.
Ian
It's in the 2.0-testing tree as well.
-- 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://productguide.itmanagersjournal.com/
Hi all,
Did anyone has xen built with reiser4? I am using 2.6.9 + reiser4 (not mm) and this is what I get while building xen0, xenU built without problem
Ming-Wei
CC fs/reiser4/status_flags.o
In file included from include/linux/page-flags.h:10,
from fs/reiser4/status_flags.c:6:include/asm-xen/asm/pgtable.h: In function `arbitrary_virt_to_phys':include/asm-xen/asm/pgtable.h:477: error: `init_mm' undeclared (first use in this function) include/asm-xen/asm/pgtable.h:477: error: (Each undeclared identifier is reported only once include/asm-xen/asm/pgtable.h:477: error: for each function it appears in.)
In file included from include/linux/mm.h:4,
from include/linux/highmem.h:6,
from include/linux/bio.h:23,
from fs/reiser4/status_flags.c:7:include/linux/sched.h: At top level:include/linux/sched.h:678: error: `init_mm' used prior to declaration
In file included from include/linux/bio.h:27,
from fs/reiser4/status_flags.c:7:include/asm-xen/asm/io.h:379:5: warning: "__UNSAFE_IO__" is not defined
In file included from fs/reiser4/status_flags.c:12:fs/reiser4/dformat.h:44:1: warning: "PACKED" redefined
In file included from include/asm-xen/asm/page.h:18,
from include/asm/thread_info.h:13,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/percpu.h:3,
from include/linux/page-flags.h:8,
from fs/reiser4/status_flags.c:6:include/asm-xen/xen-public/xen.h:13:1: warning: this is the location of the previous definition make[2]: *** [fs/reiser4/status_flags.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 5 lines · On Tue, 30 Nov 2004 15:39:56 +0100 Ming-Wei Shih <[email protected]>…
Hi all,
Did anyone has xen built with reiser4? I am using 2.6.9 + reiser4 (not mm) and this
is what I get while building xen0,
Yup, I did. I came across these two things: reiser4 and Xen both define a macro with one name, but the macro's "content" is exactly the same IIRC. I'm not sure whether renaming either one is necessary. reiser4 includes two header files which leads to an error. If one includes the second one of these two files first, everything is fine. More details on how to fix them below. (note, I'm using the first "official release" of reiser4, which is a snapshot from 2004-08-13, so it's quite old. Maybe new probs have introduced since then...)
However, I didn't come to test whether it actually works (see nv_sata problems...)
Quoted 7 lines
xenU built without problem
Ming-Wei
CC
fs/reiser4/status_flags.o
In file included frominclude/linux/page-flags.h:10,
fromfs/reiser4/status_flags.c:6:
Here is the first of the two includes I mentioned (status_flags.c:6)
Quoted 10 lines
include/asm-xen/asm/pgtable.h: In function `arbitrary_virt_to_phys':include/asm-xen/asm/pgtable.h:477: error: `init_mm' undeclared (first use in this function)include/asm-xen/asm/pgtable.h:477: error: (Each undeclared identifier is reported only onceinclude/asm-xen/asm/pgtable.h:477: error: for each function it appears in.) In file included frominclude/linux/mm.h:4,
frominclude/linux/highmem.h:6,
frominclude/linux/bio.h:23,
fromfs/reiser4/status_flags.c:7:
And this is the second one. (status_flags.c:7). So just switch lines 6 and 7 of fs/reiser4/status_flags.c, and it should work fine.
Quoted 7 lines
include/linux/sched.h: At top level:include/linux/sched.h:678: error: `init_mm' used prior to declaration In file included frominclude/linux/bio.h:27,
fromfs/reiser4/status_flags.c:7:include/asm-xen/asm/io.h:379:5: warning: "__UNSAFE_IO__" is not defined In file included fromfs/reiser4/status_flags.c:12:fs/reiser4/dformat.h:44:1: warning: "PACKED" redefined
This is reiser4's definition of the macro I mentioned.
Quoted 9 lines
In file included from
include/asm-xen/asm/page.h:18,
frominclude/asm/thread_info.h:13,
frominclude/linux/thread_info.h:21,
frominclude/linux/spinlock.h:12,
frominclude/linux/percpu.h:3,
frominclude/linux/page-flags.h:8,
fromfs/reiser4/status_flags.c:6:include/asm-xen/xen-public/xen.h:13:1: warning: this is the location of the previous definition
And here comes Xen's. Since it only says "warning", you probably don't need to change anything to make it compile, but you may want to check xen.h:13 and status_flags.c:12 to make sure they are exactly the same, since I only remember that they looked the same :)
Quoted 8 lines
make[2]: *** [
fs/reiser4/status_flags.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2
Quoted 5 lines
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
- --
Milan Holzäpfel alias jagdfalke alias jag
Antworten direkt an mich Answers directly to me gehen bitte an eine Addresse, go to an address one die man hier finden kann: can find here, please:
Kontaktinfos sowie Contact infos as well as
Öff GnuPG-Schlüssel <URL:http://con.mjh.name/> GnuPG Public Key
GnuPG Fingerabdruck 4C8A 5FAF 5D32 6125 89D1 GnuPG Fingerprint
0CE5 DB0C AF4F 6583 7966
http://www.deppenleerzeichen.de/ -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFBrLsW2wyvT2WDeWYRAhrPAJ4uluvuJ7CV6z8fCGmHUUgzrUgglgCg3Bju EbbXHyY23qZJld5rQt9vILE=
=7I0V
-----END PGP SIGNATURE-----
-------------------------------------------------------
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://productguide.itmanagersjournal.com/