Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Bug#614221: iMac-G3 fails to boot with 2.6.37-1-powerpc (Bug#614221) (http://www.linux-archive.org/debian-kernel/497618-bug-614221-imac-g3-fails-boot-2-6-37-1-powerpc-bug-614221-a.html)

Gunther Furtado 03-05-2011 06:19 PM

Bug#614221: iMac-G3 fails to boot with 2.6.37-1-powerpc (Bug#614221)
 
Em 05.Mar.2011 (sábado), Risto Suominen <risto.suominen@gmail.com>
disse:

> I would try video=ofonly.
>

And you would correct!

Just added _ append="video=ofonly" _ to /etc/yaboot.conf, run ybin and
rebooted into 2.6.37-2-powerpc which did not complete the booting
procces just the way 2.6.37-1-powerpc did.

thanks,


--
"...agora, só nos sobrou o futuro...", visto em www.manuchao.net

Gunther Furtado
Curitiba - Paraná - Brasil
gunfurtado@gmail.com




--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110305161946.57215f4a@azul.GBCM">http://lists.debian.org/20110305161946.57215f4a@azul.GBCM

Ben Hutchings 03-05-2011 07:43 PM

Bug#614221: iMac-G3 fails to boot with 2.6.37-1-powerpc (Bug#614221)
 
On Sat, 2011-03-05 at 16:19 -0300, Gunther Furtado wrote:
> Em 05.Mar.2011 (sábado), Risto Suominen <risto.suominen@gmail.com>
> disse:
>
> > I would try video=ofonly.
> >
>
> And you would correct!
>
> Just added _ append="video=ofonly" _ to /etc/yaboot.conf, run ybin and
> rebooted into 2.6.37-2-powerpc which did not complete the booting
> procces just the way 2.6.37-1-powerpc did.

This also works on a PowerBook G4 here. Presumably, without this
vga16fb tries to take over from offb, and this does not work. I didn't
imagine that it would try to do that!

* Has anyone tested 2.6.37-{1,2} on a non-Mac system yet, and does
vga16fb work there?

Using this parameter, I can get as far as running some of the init
scripts, but as soon as the radeon driver (*not* radeonfb) is loaded -
either by udev or the X server, depending on modprobe configuration -
the screen goes black - handover from offb to radeon is not working.

I also tested 2.6.38-rc6-1~experimental.1. Here, the radeon driver
prints a few lines, ending with:

"fb: conflicting fb hw usage radeondrmfrb vs OFfb ATY,Xia_A - removing
generic driver"

and then nothing more is displayed on the screen (though the system is
otherwise alive). So it seems that radeon is not yet able to take over
from offb and we need to stay with radeonfb and UMS in X for now.

* Could some Mac users test and report whether i915 or nouveau can
successfully take over the display from offb in 2.6.37 or 2.6.38-rc6?

Ben.

--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Elimar Riesebieter 03-06-2011 05:27 AM

Bug#614221: iMac-G3 fails to boot with 2.6.37-1-powerpc (Bug#614221)
 
* Ben Hutchings [110305 20:43 +0000]:
> On Sat, 2011-03-05 at 16:19 -0300, Gunther Furtado wrote:
> > Em 05.Mar.2011 (sábado), Risto Suominen <risto.suominen@gmail.com>
> > disse:
> >
> > > I would try video=ofonly.
> > >
> >
> > And you would correct!
> >
> > Just added _ append="video=ofonly" _ to /etc/yaboot.conf, run ybin and
> > rebooted into 2.6.37-2-powerpc which did not complete the booting
> > procces just the way 2.6.37-1-powerpc did.
>
> This also works on a PowerBook G4 here. Presumably, without this
> vga16fb tries to take over from offb, and this does not work. I didn't
> imagine that it would try to do that!
>
> * Has anyone tested 2.6.37-{1,2} on a non-Mac system yet, and does
> vga16fb work there?
>
> Using this parameter, I can get as far as running some of the init
> scripts, but as soon as the radeon driver (*not* radeonfb) is loaded -
> either by udev or the X server, depending on modprobe configuration -
> the screen goes black - handover from offb to radeon is not working.
>
> I also tested 2.6.38-rc6-1~experimental.1. Here, the radeon driver
> prints a few lines, ending with:
>
> "fb: conflicting fb hw usage radeondrmfrb vs OFfb ATY,Xia_A - removing
> generic driver"
>

model : PowerBook5,8
detected as : 287 (PowerBook G4 15")

Works fine with "append=radeon.agpmode=1"
on
Linux version 2.6.38-rc7-samweis
Linux version 2.6.37-samweis
Linux version 2.6.36-samweis

nonfree firmware package is needed:

$ cat /proc/fb
0 radeondrmfb

Elimar

--
Learned men are the cisterns of knowledge,
not the fountainheads ;-)

Ben Hutchings 03-06-2011 05:48 AM

Bug#614221: iMac-G3 fails to boot with 2.6.37-1-powerpc (Bug#614221)
 
On Sun, 2011-03-06 at 07:27 +0100, Elimar Riesebieter wrote:
[...]
> model : PowerBook5,8
> detected as : 287 (PowerBook G4 15")
>
> Works fine with "append=radeon.agpmode=1"
> on
> Linux version 2.6.38-rc7-samweis
> Linux version 2.6.37-samweis
> Linux version 2.6.36-samweis
>
> nonfree firmware package is needed:
>
> $ cat /proc/fb
> 0 radeondrmfb

Can you send the kernel .config file for 2.6.38-rc7-samweis?

Ben.

--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Elimar Riesebieter 03-06-2011 05:56 AM

Bug#614221: iMac-G3 fails to boot with 2.6.37-1-powerpc (Bug#614221)
 
* Ben Hutchings [110306 06:48 +0000]:
> On Sun, 2011-03-06 at 07:27 +0100, Elimar Riesebieter wrote:
> [...]
> > model : PowerBook5,8
> > detected as : 287 (PowerBook G4 15")
> >
> > Works fine with "append=radeon.agpmode=1"
> > on
> > Linux version 2.6.38-rc7-samweis
> > Linux version 2.6.37-samweis
> > Linux version 2.6.36-samweis
> >
> > nonfree firmware package is needed:
> >
> > $ cat /proc/fb
> > 0 radeondrmfb
>
> Can you send the kernel .config file for 2.6.38-rc7-samweis?

Attached.

Elimar

--
Alles was viel bedacht wird ist bedenklich!;-)
Friedrich Nietzsche

Ben Hutchings 03-06-2011 02:39 PM

Bug#614221: iMac-G3 fails to boot with 2.6.37-1-powerpc (Bug#614221)
 
On Sun, 2011-03-06 at 07:56 +0100, Elimar Riesebieter wrote:
> * Ben Hutchings [110306 06:48 +0000]:
> > On Sun, 2011-03-06 at 07:27 +0100, Elimar Riesebieter wrote:
> > [...]
> > > model : PowerBook5,8
> > > detected as : 287 (PowerBook G4 15")
> > >
> > > Works fine with "append=radeon.agpmode=1"
> > > on
> > > Linux version 2.6.38-rc7-samweis
> > > Linux version 2.6.37-samweis
> > > Linux version 2.6.36-samweis
> > >
> > > nonfree firmware package is needed:
> > >
> > > $ cat /proc/fb
> > > 0 radeondrmfb
> >
> > Can you send the kernel .config file for 2.6.38-rc7-samweis?
>
> Attached.

Ah, you built in radeon and left out offb. I expected that to work but
it's unsuitable for an official kernel which has to support more than
just Radeon hardware!

Ben.

--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Ben Hutchings 03-07-2011 01:24 AM

Bug#614221: iMac-G3 fails to boot with 2.6.37-1-powerpc (Bug#614221)
 
On Sat, 2011-03-05 at 20:43 +0000, Ben Hutchings wrote:
[...]
> * Has anyone tested 2.6.37-{1,2} on a non-Mac system yet, and does
> vga16fb work there?

I'm still interested in the answer to this.

[...]
> * Could some Mac users test and report whether i915 or nouveau can
> successfully take over the display from offb in 2.6.37 or 2.6.38-rc6?

i915 on a powerpc, eh? What was I thinking?

I've now talked briefly to the DRI and powerpc upstream maintainers, and
the answer is that radeon is mostly broken on at least 32-bit powerpc
while nouveau is in better shape but not quite stable yet. So I'm going
to revert most of the FB configuration changes I made in 2.6.37-1 for
the next upload to unstable.

Ben.

--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Michel Dänzer 03-07-2011 08:45 AM

Bug#614221: iMac-G3 fails to boot with 2.6.37-1-powerpc (Bug#614221)
 
On Mon, 2011-03-07 at 02:24 +0000, Ben Hutchings wrote:
> On Sat, 2011-03-05 at 20:43 +0000, Ben Hutchings wrote:
> [...]
> > * Could some Mac users test and report whether i915 or nouveau can
> > successfully take over the display from offb in 2.6.37 or 2.6.38-rc6?
>
> i915 on a powerpc, eh? What was I thinking?
>
> I've now talked briefly to the DRI and powerpc upstream maintainers, and
> the answer is that radeon is mostly broken on at least 32-bit powerpc [...]

I've been using radeon KMS on my PowerBook ever since I got it working
initially about 1.5 years ago and fixing issues as time permits.

The major outstanding issues I'm aware of are:

* The uninorth AGP driver doesn't allow AGP transfer rates beyond
1x to work reliably with KMS. Benjamin Herrenschmidt (CC'd) was
working on a fix for this, any progress Ben?
* Come to think of it, the OFfb handover probably only works for
me thanks to a patch "drm/radeon: Add early unregister of
firmware fb's" by BenH. Ben/Dave, what's the status of that?
* LVDS backlight control was only added for 2.6.38, and some
concerns were raised about the prerequisite backlight
infrastructure changes, so I'm not sure if it's staying in for
2.6.38 final.
* No suspend to RAM support yet. Suspend to disk seems to work
though without AGP, I have some hackish fixes for it to work
with AGP as well that I need to clean up and submit.
* Various endianness issues in the Mesa drivers.


--
Earthling Michel Dänzer | http://www.vmware.com
Libre software enthusiast | Debian, X and DRI developer



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1299491118.14068.175.camel@thor.local">http://lists.debian.org/1299491118.14068.175.camel@thor.local

Dave Airlie 03-07-2011 09:11 AM

Bug#614221: iMac-G3 fails to boot with 2.6.37-1-powerpc (Bug#614221)
 
>
> I've been using radeon KMS on my PowerBook ever since I got it working
> initially about 1.5 years ago and fixing issues as time permits.
>
> The major outstanding issues I'm aware of are:
>
> * * ** The uninorth AGP driver doesn't allow AGP transfer rates beyond
> * * * *1x to work reliably with KMS. Benjamin Herrenschmidt (CC'd) was
> * * * *working on a fix for this, any progress Ben?
> * * ** Come to think of it, the OFfb handover probably only works for
> * * * *me thanks to a patch "drm/radeon: Add early unregister of
> * * * *firmware fb's" by BenH. Ben/Dave, what's the status of that?

That was merged in 2.6.37.

> * * ** LVDS backlight control was only added for 2.6.38, and some
> * * * *concerns were raised about the prerequisite backlight
> * * * *infrastructure changes, so I'm not sure if it's staying in for
> * * * *2.6.38 final.

I've no idea where the backlight stuff ended up I think its sitting in
akpm's tree
due to requiring the other changes.

> * * ** No suspend to RAM support yet. Suspend to disk seems to work
> * * * *though without AGP, I have some hackish fixes for it to work
> * * * *with AGP as well that I need to clean up and submit.
> * * ** Various endianness issues in the Mesa drivers.
>

Dave.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTimmL9+948733=-qZRx8OtkMgrJMyJS=nxmCJxgd@mail.gmail.com">http://lists.debian.org/AANLkTimmL9+948733=-qZRx8OtkMgrJMyJS=nxmCJxgd@mail.gmail.com

Julien Cristau 03-07-2011 10:25 AM

Bug#614221: iMac-G3 fails to boot with 2.6.37-1-powerpc (Bug#614221)
 
On Mon, Mar 7, 2011 at 10:45:18 +0100, Michel Dänzer wrote:

> On Mon, 2011-03-07 at 02:24 +0000, Ben Hutchings wrote:
> > On Sat, 2011-03-05 at 20:43 +0000, Ben Hutchings wrote:
> > [...]
> > > * Could some Mac users test and report whether i915 or nouveau can
> > > successfully take over the display from offb in 2.6.37 or 2.6.38-rc6?
> >
> > i915 on a powerpc, eh? What was I thinking?
> >
> > I've now talked briefly to the DRI and powerpc upstream maintainers, and
> > the answer is that radeon is mostly broken on at least 32-bit powerpc [...]
>
> I've been using radeon KMS on my PowerBook ever since I got it working
> initially about 1.5 years ago and fixing issues as time permits.
>
> The major outstanding issues I'm aware of are:
>
> * The uninorth AGP driver doesn't allow AGP transfer rates beyond
> 1x to work reliably with KMS. Benjamin Herrenschmidt (CC'd) was
> working on a fix for this, any progress Ben?
> * Come to think of it, the OFfb handover probably only works for
> me thanks to a patch "drm/radeon: Add early unregister of
> firmware fb's" by BenH. Ben/Dave, what's the status of that?

That seems to be a56f7428d7534f162fbb089c5c79012bf38a7c29 upstream.

> * LVDS backlight control was only added for 2.6.38, and some
> concerns were raised about the prerequisite backlight
> infrastructure changes, so I'm not sure if it's staying in for
> 2.6.38 final.
> * No suspend to RAM support yet. Suspend to disk seems to work
> though without AGP, I have some hackish fixes for it to work
> with AGP as well that I need to clean up and submit.
> * Various endianness issues in the Mesa drivers.
>
Cheers,
Julien



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110307112535.GP12480@radis.liafa.jussieu.fr">htt p://lists.debian.org/20110307112535.GP12480@radis.liafa.jussieu.fr


All times are GMT. The time now is 07:35 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.