All of lore.kernel.org
 help / color / mirror / Atom feed
* Xen and intel-agp
@ 2004-11-30  9:31 Kurt Garloff
  2004-11-30 13:50 ` Ian Pratt
  2004-11-30 13:52 ` Dariusz Pietrzak
  0 siblings, 2 replies; 8+ messages in thread
From: Kurt Garloff @ 2004-11-30  9:31 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 272 bytes --]

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,
-- 
Kurt Garloff                   <kurt@garloff.de>             [Koeln, DE]

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Xen and intel-agp
  2004-11-30  9:31 Xen and intel-agp Kurt Garloff
@ 2004-11-30 13:50 ` Ian Pratt
  2004-11-30 13:52   ` Dariusz Pietrzak
  2004-11-30 13:52 ` Dariusz Pietrzak
  1 sibling, 1 reply; 8+ messages in thread
From: Ian Pratt @ 2004-11-30 13:50 UTC (permalink / raw)
  To: Kurt Garloff; +Cc: xen-devel, Ian.Pratt


> 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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Xen and intel-agp
  2004-11-30  9:31 Xen and intel-agp Kurt Garloff
  2004-11-30 13:50 ` Ian Pratt
@ 2004-11-30 13:52 ` Dariusz Pietrzak
  2004-11-30 14:10   ` Ian Pratt
  1 sibling, 1 reply; 8+ messages in thread
From: Dariusz Pietrzak @ 2004-11-30 13:52 UTC (permalink / raw)
  To: xen-devel

> 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.

-- 
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Xen and intel-agp
  2004-11-30 13:50 ` Ian Pratt
@ 2004-11-30 13:52   ` Dariusz Pietrzak
  0 siblings, 0 replies; 8+ messages in thread
From: Dariusz Pietrzak @ 2004-11-30 13:52 UTC (permalink / raw)
  To: xen-devel

> It should work OK now (phys vs bus confusion in agpgart code).
 Oh! that would be great!
-- 
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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Xen and intel-agp
  2004-11-30 13:52 ` Dariusz Pietrzak
@ 2004-11-30 14:10   ` Ian Pratt
  2004-11-30 14:22     ` Keir Fraser
  2004-11-30 14:39     ` Ming-Wei Shih
  0 siblings, 2 replies; 8+ messages in thread
From: Ian Pratt @ 2004-11-30 14:10 UTC (permalink / raw)
  To: Dariusz Pietrzak; +Cc: xen-devel, Ian.Pratt

> > 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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Xen and intel-agp
  2004-11-30 14:10   ` Ian Pratt
@ 2004-11-30 14:22     ` Keir Fraser
  2004-11-30 14:39     ` Ming-Wei Shih
  1 sibling, 0 replies; 8+ messages in thread
From: Keir Fraser @ 2004-11-30 14:22 UTC (permalink / raw)
  To: Ian Pratt; +Cc: Dariusz Pietrzak, xen-devel

> > > 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

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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Xen and intel-agp
  2004-11-30 14:10   ` Ian Pratt
  2004-11-30 14:22     ` Keir Fraser
@ 2004-11-30 14:39     ` Ming-Wei Shih
  2004-11-30 18:25       ` Milan Holzäpfel
  1 sibling, 1 reply; 8+ messages in thread
From: Ming-Wei Shih @ 2004-11-30 14:39 UTC (permalink / raw)
  To: xen-devel

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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Xen and intel-agp
  2004-11-30 14:39     ` Ming-Wei Shih
@ 2004-11-30 18:25       ` Milan Holzäpfel
  0 siblings, 0 replies; 8+ messages in thread
From: Milan Holzäpfel @ 2004-11-30 18:25 UTC (permalink / raw)
  To: xen-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 30 Nov 2004 15:39:56 +0100
Ming-Wei Shih <xming@spaceball.cjb.net> wrote:

> 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...)

> 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:

Here is the first of the two includes I mentioned (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:

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.

> 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

This is reiser4's definition of the macro I mentioned.

> 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

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 :) 

> 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/


- -- 

                   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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-11-30 18:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-30  9:31 Xen and intel-agp Kurt Garloff
2004-11-30 13:50 ` Ian Pratt
2004-11-30 13:52   ` Dariusz Pietrzak
2004-11-30 13:52 ` Dariusz Pietrzak
2004-11-30 14:10   ` Ian Pratt
2004-11-30 14:22     ` Keir Fraser
2004-11-30 14:39     ` Ming-Wei Shih
2004-11-30 18:25       ` Milan Holzäpfel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.