|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Video fails when dom0 is given 1GB out of a total of 6GB
On Wed, Mar 31, 2010 at 07:22:07PM +1100, Yasir Assam wrote:
> This is a bug with Xen 4.0.0-rc8 running on dom0, using the latest
> xen/stable branch of the dom0 kernel (as of a couple of hours ago).
>
> This bug has been apparent on my system since at 4.0.0 rc2 (possibly
> earlier).
The issue isn't actually in Xen hypervisor but in the pv-ops kernel.
There is a .. umm... well, problems. Arvind spent three hard weeks
digging in the code and found a solution for the newer NV chipsets. His
patch fixes another bug (not this one). I think the problem you are
encountering here is similar to what Michael is hitting, but not
entirely sure.
>
> I have 6GB of RAM on my system. If I give 1GB to dom0 (as the following
> grub entry shows):
>
> title XEN 4.0rc8 (2.6.32.10)
> root (hd0,0)
> kernel /xen-4.0.0-rc8.gz dom0_mem=1gb noreboot
> module /vmlinuz-2.6.32.10-pvops-dom0 root=/dev/mapper/vg00-root ro
> module /initramfs.img-2.6.32.10-pvops-dom0
> savedefault
>
> the X server won't start and dmesg shows some errors (see below).
>
> If I give dom0 2gb, it works fine.
And the graphics work perfectly? You could run 'glxgears' or games and
such?
>
> I originally had only 2GB of RAM, and during this time the bug didn't
> make itself apparent (it only started when I added more RAM). I get the
> same problem with 8GB of RAM too (I haven't tried it with 4GB of RAM).
OK, can you give the 'lspci -vvv' output for your card.
.. snip ..
> [ 23.798706] xen: registering gsi 16 triggering 0 polarity 1
> [ 23.798709] xen_allocate_pirq: returning irq 16 for gsi 16
> [ 23.798711] xen: --> irq=16
> [ 23.798713] Already setup the GSI :16
> [ 23.798717] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> [ 23.798723] i915 0000:00:02.0: setting latency timer to 64
> [ 23.637546] mtrr: type mismatch for d0000000,10000000 old: write-back
> new: write-combining
> [ 23.637553] [drm] MTRR allocation failed. Graphics performance may
> suffer.
> [ 23.637771] alloc irq_desc for 1249 on node 0
> [ 23.637774] alloc kstat_irqs on node 0
> [ 23.637817] [drm] set up 127M of stolen space
> [ 23.986808] BUG: unable to handle kernel paging request at
> ffffc9000007c000
> [ 23.986815] IP: [<ffffffffa00dc0df>]
> intel_i915_chipset_flush+0x11/0x14 [intel_agp]
> [ 23.986823] PGD 3f80c067 PUD 3f80d067 PMD 3f80e067 PTE 0
> [ 23.986828] Oops: 0002 [#1] SMP
> [ 23.986831] last sysfs file: /sys/module/agpgart/initstate
> [ 23.986833] CPU 3
> [ 23.986835] Modules linked in: i915(+) drm_kms_helper drm
> i2c_algo_bit video output ppdev lp parport sco bnep rfcomm l2cap crc16
> bluetooth rfkill battery cpufreq_stats cpufreq_userspace
> cpufreq_conservative cpufreq_powersave fuse hwmon_vid k8temp eeprom
> i2c_nforce2 firewire_sbp2 firewire_core crc_itu_t loop
> snd_hda_codec_intelhdmi snd_hda_codec_realtek snd_hda_intel
> snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_midi
> snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device
> asus_atk0110 processor pcspkr i2c_i801 i2c_core evdev snd soundcore
> snd_page_alloc ext3 jbd mbcache dm_mod raid1 md_mod sg usbhid hid sr_mod
> cdrom sd_mod crc_t10dif ata_generic r8169 mii ata_piix pata_jmicron
> intel_agp libata scsi_mod ehci_hcd ide_pci_generic ide_core button
> usbcore nls_base agpgart thermal fan thermal_sys [last unloaded:
> scsi_wait_scan]
> [ 23.986900] Pid: 2526, comm: modprobe Not tainted
> 2.6.32.10-pvops-dom0 #31 System Product Name
> [ 23.986902] RIP: e030:[<ffffffffa00dc0df>] [<ffffffffa00dc0df>]
> intel_i915_chipset_flush+0x11/0x14 [intel_agp]
> [ 23.986907] RSP: e02b:ffff88003fbefb10 EFLAGS: 00010286
> [ 23.986909] RAX: ffffc9000007c000 RBX: ffff88003d901c00 RCX:
> 0000000000001000
> [ 23.986911] RDX: 0000000000000001 RSI: 00000000000007e9 RDI:
> ffff880002295c00
> [ 23.986913] RBP: ffff88003f352000 R08: ffff88003fbee000 R09:
> ffff88003fbee000
> [ 23.986915] R10: 0000000000000040 R11: ffff8800016a3000 R12:
> 0000000000000001
> [ 23.986916] R13: ffff8800023df0c0 R14: 0000000000000001 R15:
> 0000000000000001
> [ 23.986922] FS: 00007fdbe68c36f0(0000) GS:ffff880003440000(0000)
> knlGS:0000000000000000
> [ 23.986924] CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b
> [ 23.986926] CR2: ffffc9000007c000 CR3: 000000000219f000 CR4:
> 0000000000002660
> [ 23.986928] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
> 0000000000000000
> [ 23.986930] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7:
> 0000000000000400
> [ 23.986932] Process modprobe (pid: 2526, threadinfo ffff88003fbee000,
> task ffff880002a4f000)
> [ 23.986934] Stack:
> [ 23.986936] ffffffffa03013e3 ffff88003d901c00 ffff88003d901c00
> 0000000000000000
> [ 23.986939] <0> ffffffffa0302971 ffff8800023df0c0 ffff88003f352000
> 0000000000000000
> [ 23.986943] <0> ffff88003f847000 ffff88003d901c00 0000000000000438
> ffff8800023df0c0
> [ 23.986948] Call Trace:
> [ 23.986961] [<ffffffffa03013e3>] ?
> i915_gem_object_flush_cpu_write_domain+0x20/0x3e [i915]
> [ 23.986972] [<ffffffffa0302971>] ?
> i915_gem_object_set_to_gtt_domain+0x58/0x9a [i915]
> [ 23.986984] [<ffffffffa031a649>] ? intelfb_create+0x1de/0x5c1 [i915]
> [ 23.986988] [<ffffffffa02ecba4>] ?
> drm_fb_helper_single_fb_probe+0x1c9/0x415 [drm_kms_helper]
> [ 23.986994] [<ffffffff81036ca2>] ? check_events+0x12/0x20
> [ 23.987005] [<ffffffffa031a46b>] ? intelfb_create+0x0/0x5c1 [i915]
> [ 23.987008] [<ffffffff81036c8f>] ? xen_restore_fl_direct_end+0x0/0x1
> [ 23.987012] [<ffffffffa02ef226>] ?
> drm_helper_initial_config+0x56/0x5a [drm_kms_helper]
> [ 23.987021] [<ffffffffa02faa93>] ? i915_driver_load+0xe65/0xf10 [i915]
> [ 23.987027] [<ffffffffa02cfbf8>] ? drm_get_minor+0x226/0x27d [drm]
> [ 23.987032] [<ffffffffa02cff6a>] ? drm_get_dev+0x31b/0x427 [drm]
> [ 23.987037] [<ffffffff811bbed5>] ? local_pci_probe+0x12/0x16
> [ 23.987039] [<ffffffff811bca9c>] ? pci_device_probe+0x58/0x84
> [ 23.987043] [<ffffffff8123ae91>] ? driver_sysfs_add+0x42/0x69
> [ 23.987046] [<ffffffff8123afc1>] ? driver_probe_device+0x9c/0x123
> [ 23.987049] [<ffffffff8123b097>] ? __driver_attach+0x4f/0x6f
> [ 23.987052] [<ffffffff8123b048>] ? __driver_attach+0x0/0x6f
> [ 23.987055] [<ffffffff8123a690>] ? bus_for_each_dev+0x44/0x78
> [ 23.987058] [<ffffffff8123aade>] ? bus_add_driver+0xa8/0x1f2
> [ 23.987061] [<ffffffff8123b33c>] ? driver_register+0x8f/0xf7
> [ 23.987063] [<ffffffff811bcccd>] ? __pci_register_driver+0x4e/0xbe
> [ 23.987072] [<ffffffffa0337000>] ? i915_init+0x0/0x52 [i915]
> [ 23.987079] [<ffffffffa0337000>] ? i915_init+0x0/0x52 [i915]
> [ 23.987083] [<ffffffff8100a087>] ? do_one_initcall+0x63/0x191
> [ 23.987086] [<ffffffff8109f9a6>] ? sys_init_module+0xc6/0x220
> [ 23.987090] [<ffffffff81039c42>] ? system_call_fastpath+0x16/0x1b
> [ 23.987091] Code: 48 8b 4f 08 48 63 d2 48 89 f0 48 c1 e2 04 48 8b 49
> 20 48 0b 04 0a c3 31 c0 c3 48 8b 05 43 58 00 00 48 85 c0 74 07 ba 01 00
> 00 00 <89> 10 c3 48 8b 15 07 58 00 00 48 8b 8a e8 02 00 00 48 85 c9 75
> [ 23.987130] RIP [<ffffffffa00dc0df>]
> intel_i915_chipset_flush+0x11/0x14 [intel_agp]
> [ 23.987134] RSP <ffff88003fbefb10>
> [ 23.987135] CR2: ffffc9000007c000
> [ 23.987138] ---[ end trace 92fec4cdf129d18d ]---
> [ 29.072420] eth0: no IPv6 routers present
> [ 28.872271] peth0: no IPv6 routers present
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|