Re: 2.6.5-rc3-ben0 freezes on old iBook

2004-04-22 Thread Geert Uytterhoeven
On Thu, 22 Apr 2004, Benjamin Herrenschmidt wrote: > On Thu, 2004-04-22 at 15:58, Michael Schmitz wrote: > > > > possible as modules. The idea was to build only offb into the kernel, > > > > and load the accelerated framebuffers as modules if desired. > > > > Unfortunately, this didn't work out fo

Re: 2.6.5-rc3-ben0 freezes on old iBook

2004-04-22 Thread Jens Schmalzing
Hi, Benjamin Herrenschmidt writes: > Ugh ? What 'number of powerpc-only low level drivers' ? Apart from pmac, there are swarm and mpc8xx. Probably not widely used, but they're there. > But I have more important issues to chase at this point. No worry, saving 200k can wait, especially when alm

Re: 2.6.5-rc3-ben0 freezes on old iBook

2004-04-22 Thread Jens Schmalzing
Hi, Michael Schmitz writes: > > unfortunately, IDE and fbdev's arent" good module citizens at this > > point. > > Only for powerpc, or in general? AFAICS, ide is specific to powerpc because of a number of powerpc-only low-level drivers that insist on being built into the kernel, while fbdevs ar

Re: 2.6.5-rc3-ben0 freezes on old iBook

2004-04-22 Thread Benjamin Herrenschmidt
On Thu, 2004-04-22 at 17:18, Jens Schmalzing wrote: > Hi, > > Michael Schmitz writes: > > > > unfortunately, IDE and fbdev's arent" good module citizens at this > > > point. > > > > Only for powerpc, or in general? > > AFAICS, ide is specific to powerpc because of a number of powerpc-only > low

Re: 2.6.5-rc3-ben0 freezes on old iBook

2004-04-22 Thread Michael Schmitz
> > possible as modules. The idea was to build only offb into the kernel, > > and load the accelerated framebuffers as modules if desired. > > Unfortunately, this didn't work out for radeonfb, aty128fb and atyfb, > > and I am still testing rivafb but strongly suspect it is not going to > > work as

Re: 2.6.5-rc3-ben0 freezes on old iBook

2004-04-22 Thread Benjamin Herrenschmidt
On Thu, 2004-04-22 at 15:58, Michael Schmitz wrote: > > > possible as modules. The idea was to build only offb into the kernel, > > > and load the accelerated framebuffers as modules if desired. > > > Unfortunately, this didn't work out for radeonfb, aty128fb and atyfb, > > > and I am still testin

Re: 2.6.5-rc3-ben0 freezes on old iBook

2004-04-21 Thread Benjamin Herrenschmidt
On Wed, 2004-04-21 at 23:49, Jens Schmalzing wrote: > Hi, > > Benjamin Herrenschmidt writes: > > > In the worst case (we can't get the driver to work) you still have > > the option of using offb in console, XFree has its own driver that > > should work. > > Um, are you sure about this? I just t

Re: 2.6.5-rc3-ben0 freezes on old iBook

2004-04-21 Thread Benjamin Herrenschmidt
On Thu, 2004-04-22 at 04:49, Jens Schmalzing wrote: > The thing is that Sven Luther and myself are currently putting > together 2.6 kernel-image packages for powerpc. In order to cut down > the size of the kernels, we are trying to build as many drivers as > possible as modules. The idea was to

Re: 2.6.5-rc3-ben0 freezes on old iBook

2004-04-21 Thread Jens Schmalzing
Hi, Michael Schmitz writes: > What's wrong with 2.6.5-rc3-ben0 and the Lombard? I've not had to > resort to offb, atyfb works fine. The thing is that Sven Luther and myself are currently putting together 2.6 kernel-image packages for powerpc. In order to cut down the size of the kernels, we ar

Re: 2.6.5-rc3-ben0 freezes on old iBook

2004-04-21 Thread Michael Schmitz
> > In the worst case (we can't get the driver to work) you still have > > the option of using offb in console, XFree has its own driver that > > should work. > > Um, are you sure about this? I just tried this on a Lombard, and both > plain XFree86 4.3.0 and Michel's XFree86 4.3.99 produce a white

Re: 2.6.5-rc3-ben0 freezes on old iBook

2004-04-21 Thread Jens Schmalzing
Hi, Benjamin Herrenschmidt writes: > In the worst case (we can't get the driver to work) you still have > the option of using offb in console, XFree has its own driver that > should work. Um, are you sure about this? I just tried this on a Lombard, and both plain XFree86 4.3.0 and Michel's XFre

Re: Solved (Re: 2.6.5-rc3-ben0 freezes on old iBook)

2004-04-21 Thread Benjamin Herrenschmidt
On Wed, 2004-04-21 at 22:42, Arnaud FONTAINE wrote: > I solved the problem by myself :-) > > In drivers/video/aty/atyfb_base.c I've replaced the MCLCK and the XCLCK > of the "3D RAGE Mobility L" Oh, yes, I remember, Apple's M1 has a weird clock setting. Still, you should post that to the linux-fb

Solved (Re: 2.6.5-rc3-ben0 freezes on old iBook)

2004-04-21 Thread Arnaud FONTAINE
I solved the problem by myself :-) In drivers/video/aty/atyfb_base.c I've replaced the MCLCK and the XCLCK of the "3D RAGE Mobility L" /* OLD VERSION */ ... /* 3D RAGE Mobility */ ... { 0x4c4e, 0x4c4e, 0x00, 0x00, m64n_mob_a, 230, 83, 125, M64F_GT | M64F_INTEGRATED | M64F_

Re: 2.6.5-rc3-ben0 freezes on old iBook

2004-04-21 Thread Benjamin Herrenschmidt
On Wed, 2004-04-21 at 17:46, Arnaud FONTAINE wrote: > The video chip of my iBook is a mach64; below the lpsci output > .../.. > > Thanks for helping me Unfortunately, I know little about the mach64 driver. Make sure you have CONFIG_FRAMEBUFFER_CONSOLE set. In the worst case (we can't get the driv

Re: 2.6.5-rc3-ben0 freezes on old iBook

2004-04-21 Thread Arnaud FONTAINE
The video chip of my iBook is a mach64; below the lpsci output :00:10.0 VGA compatible controller: ATI Technologies Inc Rage Mobility L AGP 2x (rev 64) (prog-if 00 [VGA]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- Status: Cap+ 6

Re: 2.6.5-rc3-ben0 freezes on old iBook

2004-04-20 Thread Benjamin Herrenschmidt
On Wed, 2004-04-21 at 00:58, Arnaud FONTAINE wrote: > Hi, > I've successfully compiled the 2.6.5-rc3-ben0 kernel on my iBook SE (the > shell), but when booting it freezes after writing > > openpic : exit I'm not sure which model of video chip you have precisely, a mach64 (Rage M1) or a rage128 mo

2.6.5-rc3-ben0 freezes on old iBook

2004-04-20 Thread Arnaud FONTAINE
Hi, I've successfully compiled the 2.6.5-rc3-ben0 kernel on my iBook SE (the shell), but when booting it freezes after writing openpic : exit I've made some tests, and it seems to come from a graphical problem. Here are some pieces of my .config CONFIG_FB_ATY=y CONFIG_FB_ATY_CT=y CONFIG_FB_ATY_G