Subject: Re: agp : panic with ali chipsets (PR24697 ?)
To: Tobias Nygren <tnn@netilium.org>
From: None <pandre@nerim.net>
List: port-i386
Date: 06/03/2004 12:54:38
Tobias Nygren <tnn@netilium.org> writes:

> Thanks, it works on my R30 :)
> I suggest you mail the patch to gnats-bugs@netbsd.org
> with subject "Re: kern/24697" so it doesn't get lost.

done

> 
> Great work!
> 

Thanks and sorry for the lack of line wrapping :  I am still wrestling
with gnus...

> --
> Tobias
> 
> 
> On 02 Jun 2004 17:39:38 +0200
> pandre@nerim.net wrote:
> 
> > 
> > Hi,
> > 
> > I have a thinkpad R30 with an ali chipset (pchb0: Acer Labs product 0x1621). As in PR24697, i get a panic at boot time with the GENERIC kernels of NetBSD 1.6.1, 1.6.2 and 2.0_BETA.
> > 
> > Until now, I have used a custom kernel without agp support. But as I have some spare time, I tracked the diffs between 2.0_BETA's agp_ali.c and Linux 2.6.1's ali-agp.c.
> > 
> > I have now a GENERIC 2.0_BETA kernel working on my thinkpad :
> > pchb0 at pci0 dev 0 function 0
> > pchb0: Acer Labs product 0x1621 (rev. 0x01)
> > agp0 at pchb0: aperture at 0xf0000000, size 0x4000000
> > ppb0 at pci0 dev 1 function 0: Acer Labs product 0x5247 (rev. 0x01)
> > 
> > the test program embedded in agp(4) seems to works fine too :
> >  barentz# ./agp_test
> >  version:        0.0
> >  id:             162110b9
> >  mode:           1b000203
> >  base:           f0000000
> >  size:           64M
> >  total mem:      241152
> >  system mem:     241152
> >  used mem:       0
> >  
> >  alloc key 0, paddr 0
> >  used mem now:   64
> >  
> >  agp test successful
> > 
> > Here is the diff against agp_ali.c v 1.4 :
> >