atom feed122 messages in com.xensource.lists.xen-develRe: [Xen-devel] pvops: AHCI problems ...
FromSent OnAttachments
Jeremy FitzhardingeSep 18, 2009 6:19 pm 
Marc - A. DahlhausSep 19, 2009 3:35 am 
Patrick ScharrenbergSep 19, 2009 7:45 am.png
Boris DerzhavetsSep 19, 2009 9:07 am.gz
Marc - A. DahlhausSep 20, 2009 12:29 pm.gz, .gz
Patrick ScharrenbergSep 20, 2009 10:57 pm 
Pasi KärkkäinenSep 20, 2009 11:22 pm 
Marc - A. Dahlhaus [ Administration | Westermann GmbH ]Sep 21, 2009 1:48 am 
Pasi KärkkäinenSep 21, 2009 2:02 am 
Marc - A. Dahlhaus [ Administration | Westermann GmbH ]Sep 21, 2009 2:17 am 
Konrad Rzeszutek WilkSep 21, 2009 7:38 am 
Konrad Rzeszutek WilkSep 21, 2009 7:43 am 
Konrad Rzeszutek WilkSep 21, 2009 8:06 am 
Pasi KärkkäinenSep 21, 2009 8:20 am 
Pasi KärkkäinenSep 21, 2009 12:24 pm 
Jeremy FitzhardingeSep 21, 2009 12:29 pm 
Pasi KärkkäinenSep 21, 2009 12:49 pm 
Jeremy FitzhardingeSep 21, 2009 1:20 pm 
Pasi KärkkäinenSep 21, 2009 1:26 pm 
Jeremy FitzhardingeSep 21, 2009 1:29 pm 
Pasi KärkkäinenSep 21, 2009 1:35 pm 
Patrick ScharrenbergSep 22, 2009 2:00 am 
Konrad Rzeszutek WilkSep 22, 2009 7:08 am 
Patrick ScharrenbergSep 23, 2009 12:37 am 
Konrad Rzeszutek WilkSep 23, 2009 5:06 am 
Konrad Rzeszutek WilkSep 23, 2009 5:09 am 
Christian TramnitzSep 23, 2009 6:15 am 
Jeremy FitzhardingeSep 23, 2009 12:22 pm 
Konrad Rzeszutek WilkSep 23, 2009 12:32 pm 
Jeremy FitzhardingeSep 23, 2009 1:09 pm 
Jeremy FitzhardingeSep 23, 2009 1:13 pm 
Jeremy FitzhardingeSep 23, 2009 1:30 pm 
Konrad Rzeszutek WilkSep 23, 2009 2:24 pm 
Jeremy FitzhardingeSep 23, 2009 2:55 pm 
Qing HeSep 23, 2009 8:10 pm 
Zhang, XiantaoSep 24, 2009 1:14 am.patch, .patch
Konrad Rzeszutek WilkSep 24, 2009 5:43 am 
Christian TramnitzSep 24, 2009 6:19 am 
Andy BurnsSep 24, 2009 10:46 am 
Jeremy FitzhardingeSep 24, 2009 11:22 am 
Thiago Camargo Martins CordeiroSep 24, 2009 11:29 am 
Patrick ScharrenbergSep 24, 2009 12:11 pm 
Thiago Camargo Martins CordeiroSep 24, 2009 12:31 pm 
Jeremy FitzhardingeSep 24, 2009 12:37 pm 
Jeremy FitzhardingeSep 24, 2009 12:55 pm 
Jeremy FitzhardingeSep 24, 2009 1:00 pm 
Konrad Rzeszutek WilkSep 24, 2009 2:35 pm 
Zhang, XiantaoSep 24, 2009 6:43 pm 
Pasi KärkkäinenOct 11, 2009 8:38 am 
Konrad Rzeszutek WilkOct 12, 2009 1:02 pm 
Pasi KärkkäinenOct 14, 2009 2:13 pm 
Konrad Rzeszutek WilkOct 15, 2009 1:03 pm 
Boris DerzhavetsOct 16, 2009 12:47 am.gz
Pasi KärkkäinenOct 16, 2009 2:01 am 
Konrad Rzeszutek WilkOct 20, 2009 9:57 am.patch
Pasi KärkkäinenOct 21, 2009 4:53 am 
Konrad Rzeszutek WilkOct 21, 2009 11:31 am 
Pasi KärkkäinenOct 21, 2009 11:51 am 
Jeremy FitzhardingeOct 21, 2009 12:49 pm 
Pasi KärkkäinenOct 21, 2009 1:21 pm 
Pasi KärkkäinenOct 27, 2009 8:46 am 
Konrad Rzeszutek WilkOct 27, 2009 9:59 am.makefile, .c
Pasi KärkkäinenOct 27, 2009 10:29 am 
Konrad Rzeszutek WilkOct 27, 2009 12:40 pm 
Pasi KärkkäinenOct 27, 2009 12:45 pm 
Konrad Rzeszutek WilkOct 27, 2009 1:12 pm 
Pasi KärkkäinenOct 27, 2009 1:17 pm 
Pasi KärkkäinenOct 27, 2009 1:23 pm 
Pasi KärkkäinenOct 27, 2009 1:35 pm 
Jeremy FitzhardingeNov 11, 2009 4:46 pm 
Jeremy FitzhardingeNov 11, 2009 4:59 pm 
Jeremy FitzhardingeNov 12, 2009 3:50 pm 
Zhang, XiantaoNov 12, 2009 9:26 pm 
Keir FraserNov 12, 2009 11:24 pm 
Jeremy FitzhardingeNov 13, 2009 3:56 pm 
Keir FraserNov 14, 2009 12:04 am 
Zhang, XiantaoNov 16, 2009 2:37 am.patch, .patch
Jeremy FitzhardingeNov 16, 2009 10:37 am 
Zhang, XiantaoNov 16, 2009 7:12 pm 
Keir FraserNov 16, 2009 7:44 pm 
42 later messages
Subject:Re: [Xen-devel] pvops: AHCI problems with SB600
From:Jeremy Fitzhardinge (jer@goop.org)
Date:Sep 23, 2009 1:09:17 pm
List:com.xensource.lists.xen-devel

On 09/23/09 12:32, Konrad Rzeszutek Wilk wrote:

On Wed, Sep 23, 2009 at 12:22:32PM -0700, Jeremy Fitzhardinge wrote:

On 09/23/09 05:06, Konrad Rzeszutek Wilk wrote:

I've gotten my hands on machine with SB700 and it exhibits similar problems. The SB700 AHCI controller stops working if I have more than 4GB in the machine.

You mean just with this kernel? I presume it works OK normally.

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1514 has the details.

It looks that the calls to ioremap_nocache return an address that is not synchronized with the physical address.

Synchronized in what sense? ioremap_* is all common code, so I would expect it to fail or not fail. I guess the possibilities are that that the physaddr is getting truncated to 32-bits somewhere, or _PAGE_PCD is getting masked out (either from __supported_pte_flags, or elsewhere in the process).

But you mention in the bug that the appears to be problems with the AGP aperture. Do you get the "Aperture pointing to e820 RAM. Ignoring" message when booting native?

We use the real BIOS-provided e820 map and then trim it according to the provided memory size, so there should always be the same holes in the E820 map that BIOS provides.

arch/x86/kernel/aperture_64.c has the test:

if (!no_iommu && max_pfn > MAX_DMA32_PFN && !printed_gart_size_msg) { printk(KERN_ERR "you are using iommu with agp, but GART size is less than
64M\n"); printk(KERN_ERR "please increase GART size in your BIOS setup\n"); printk(KERN_ERR "if BIOS doesn't have that option, contact your HW
vendor!\n"); printed_gart_size_msg = 1; }

I guess the "!no_iommu" clause is triggering because we have swiotlb set, but I wonder if that's specifically testing for the presence of a GART IOMMU?

How does ioremap_nocache fit into this? Is the mapping failing in some way and causing this code to fail? Or am I misunderstanding?

This is exhibited only when dom0 has more than 4GB, so if you do dom_mem=max:4GB the machine boots succesfully.

The test above also tests "max_pfn > MAX_DMA32_PFN" which limiting memory would avoid.

J