Re: x86 git tree broken (bisected)

From: Yinghai Lu
Date: Mon Apr 14 2008 - 17:37:05 EST


On Mon, Apr 14, 2008 at 2:09 PM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
>
> On Monday, 14 of April 2008, Yinghai Lu wrote:
> > On Mon, Apr 14, 2008 at 1:21 PM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
> > >
> > > On Monday, 14 of April 2008, Yinghai Lu wrote:
> > > > On Sun, Apr 13, 2008 at 5:19 PM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
> > > > >
> > > > > On Monday, 14 of April 2008, Yinghai Lu wrote:
> > > > > > On Sun, Apr 13, 2008 at 3:10 PM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
> > > > > > >
> > > > > > > On Monday, 14 of April 2008, Yinghai Lu wrote:
> > > > > > > > On Sun, Apr 13, 2008 at 9:12 AM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
> > > > > > > > ...
> > > > > > > > > > can you try to apply the patch i sent to you about agp bridge order
> > > > > > > > > > reading for buggy silicon?
> > > > > > > > > >
> > > > > > > > > > Please boot kernel with "debug"...
> > > > > > > > > >
> > > > > > > > > > I want to verify if you can get
> > > > > > > > > >
> > > > > > > > > > "
> > > > > > > > > > Aperture conflicts with PCI mapping.
> > > > > > > > > > "
> > > > > > > > > >
> > > > > > > > > > in your boot log...
> > > > > > > > >
> > > > > > > > > It's not present in there:
> > > > > > > > >
> > > > > > > > > rafael@albercik:~> grep Aperture failing-with-patch-dmesg.log
> > > > > > > > > Aperture too small (32 MB)
> > > > > > > > > Aperture from AGP @ de000000 size 4096 MB (APSIZE 0)
> > > > > > > > > Aperture too small (0 MB)
> > > > > > > > > agpgart: Aperture pointing to RAM
> > > > > > > > > agpgart: Aperture from AGP @ de000000 size 4096 MB
> > > > > > > > > agpgart: Aperture too small (0 MB)
> > > > > > > > >
> > > > > > > > > Full dmesg output attached.
> > > > > > > >
> > > > > > > > please check attached debug patch. and check if you can change GART
> > > > > > > > size in your BIOS setup to 64M instead of 32M
> > > > > > >
> > > > > > > Hm, what tree am I supposed to apply it too:
> > > > > > > (1) current x86 git
> > > > > > > (2) current x86 git w/ some of your previous patches (which ones in this case)
> > > > > > > (3) failing (old) x86 git
> > > > > > > (4) failing (old) x86 git w/ some of your previous patches (which ones in this
> > > > > > > case)?
> > > > > >
> > > > > > (1) current x86.git
> > > > >
> > > > > Attached is dmesg output from current x86.git with debug_gart_checking.patch
> > > > > applied.
> > > >
> > > > please test the final one ... ...
> > > >
> > > > You should get back 64M memory back.
> > >
> > > Tested (current x86.git), dmesg output attached.
> >
> > thanks.
> >
> > looks good. as expected...
> >
> > Checking aperture...
> > AGP bridge at 00:04:00
> > Aperture from AGP @ de000000 old size 32 MB
> > Aperture size 4096 MB (APSIZE 0) is not right, using settings from NB
> > Aperture from AGP @ de000000 size 32 MB (APSIZE 0)
> > Node 0: aperture @ de000000 size 32 MB
> > Aperture too small (32 MB) than (64 MB)
> > ...
> > agpgart: Detected AGP bridge 20
> > Setting up ULi AGP.
> > agpgart: AGP aperture is 32M @ 0xde000000
>
> BTW, what exactly would be the benefit of increasing the aperture size, given
> that I use a PCI Express graphics adapter?
you don't need increase that before you are have less 4G RAM.

if you have more than 4G RAM, you may need to increase that to GART
for iommu. so other devices that support only dma32 could use extra
32M.

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/