FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 03-07-2011, 03:13 PM
Risto Suominen
 
Default Bug#614221: iMac-G3 fails to boot with 2.6.37-1-powerpc (Bug#614221)

2011/3/5, Ben Hutchings <ben@decadent.org.uk>:
>
> * 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?
>
I tested on my iMac G4 with nVidia graphics. Same problem, the penguin
never appears.

Another odd phenomenon on this machine: if I enter OF and manually
give the boot command on the prompt, the colours are natural, but if I
press Option and select Linux from the graphical boot menu, the
colours are 'inverted': red text on white background.

Risto



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTikiuqgbNmAnKbO+HEqZ_AWeyjDJvWBsFs_iNwtg@mail .gmail.com">http://lists.debian.org/AANLkTikiuqgbNmAnKbO+HEqZ_AWeyjDJvWBsFs_iNwtg@mail .gmail.com
 
Old 03-07-2011, 04:40 PM
Elimar Riesebieter
 
Default Bug#614221: iMac-G3 fails to boot with 2.6.37-1-powerpc (Bug#614221)

* Ben Hutchings [110306 15:39 +0000]:
> 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!

The motivation for me to built in radeon and the firmware was to get
the complete boot protocol on screen. If you compile the kms stuff
as a module and load the firmware from /lib/firmware the bootscreen
starts later on, you have no bootlogo, but it works ;-) And please
notice that my config uses the pata drivers and the hd-led function
via a separate patch, though.

Elimar

--
You cannot propel yourself forward by
patting yourself on the back.
 
Old 03-07-2011, 07:30 PM
Benjamin Herrenschmidt
 
Default Bug#614221: iMac-G3 fails to boot with 2.6.37-1-powerpc (Bug#614221)

On Mon, 2011-03-07 at 10:45 +0100, Michel Dänzer wrote:
>
> 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?

I have hacks. But I never got it working reliably. In fact, on the
laptop I have here, even with PCI GART, it's still unstable if I use
KMS/DRI2.

> * 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?

Dave ? Was this ever merged ?

> * 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.

Right, and the later aren't getting any better :-( It's busted even
without KMS nowadays.

Unfortunately, I have about 0 time to spend on that at the moment.

I recommend that distros stick to radeonfb + UMS for the time being on
ppc32.

Cheers,
Ben.





--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1299529827.9759.19.camel@pasglop">http://lists.debian.org/1299529827.9759.19.camel@pasglop
 
Old 03-08-2011, 11:00 AM
Michel Dänzer
 
Default Bug#614221: iMac-G3 fails to boot with 2.6.37-1-powerpc (Bug#614221)

On Die, 2011-03-08 at 07:30 +1100, Benjamin Herrenschmidt wrote:
> On Mon, 2011-03-07 at 10:45 +0100, Michel Dänzer wrote:
> >
> > 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?
>
> I have hacks.

FWIW, I've been using the hack at the end of this mail for AGP >1x.

> But I never got it working reliably. In fact, on the laptop I have
> here, even with PCI GART, it's still unstable if I use KMS/DRI2.

I know your PowerBook was affected by the problem fixed by commit
b7d8cce5b558e0c0aa6898c9865356481598b46d ('drm/radeon/kms: MC vram map
needs to be >= pci aperture size'), which went into 2.6.37. Still no
better with that?


> > * 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?
>
> Dave ? Was this ever merged ?

Apparently it went into 2.6.37, I didn't notice because it went into
different places in the code compared to the patch I had from you.


> > * Various endianness issues in the Mesa drivers.
>
> Right, and the later aren't getting any better :-( It's busted even
> without KMS nowadays.
>
> Unfortunately, I have about 0 time to spend on that at the moment.
>
> I recommend that distros stick to radeonfb + UMS for the time being on
> ppc32.

One problem being that the classic Mesa r300 driver is essentially
unmaintained, and evidently rotting....


commit 9a86d7fa5bb0b4fe228becf9ed9831bac985702c
Author: Michel Dänzer <daenzer@vmware.com>
Date: Thu Jan 6 18:34:28 2011 +0100

agp/uninorth: Fix lockups with radeon KMS and >1x.

diff --git a/drivers/char/agp/uninorth-agp.c b/drivers/char/agp/uninorth-agp.c
index f845a8f..a32c492 100644
--- a/drivers/char/agp/uninorth-agp.c
+++ b/drivers/char/agp/uninorth-agp.c
@@ -80,7 +80,7 @@ static void uninorth_tlbflush(struct agp_memory *mem)
ctrl | UNI_N_CFG_GART_INVAL);
pci_write_config_dword(agp_bridge->dev, UNI_N_CFG_GART_CTRL, ctrl);

- if (uninorth_rev <= 0x30) {
+ if (!mem && uninorth_rev <= 0x30) {
pci_write_config_dword(agp_bridge->dev, UNI_N_CFG_GART_CTRL,
ctrl | UNI_N_CFG_GART_2xRESET);
pci_write_config_dword(agp_bridge->dev, UNI_N_CFG_GART_CTRL,


--
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: 1299585600.14068.229.camel@thor.local">http://lists.debian.org/1299585600.14068.229.camel@thor.local
 
Old 03-08-2011, 09:39 PM
Benjamin Herrenschmidt
 
Default Bug#614221: iMac-G3 fails to boot with 2.6.37-1-powerpc (Bug#614221)

On Tue, 2011-03-08 at 13:00 +0100, Michel Dänzer wrote:
> On Die, 2011-03-08 at 07:30 +1100, Benjamin Herrenschmidt wrote:
> > On Mon, 2011-03-07 at 10:45 +0100, Michel Dänzer wrote:
> > >
> > > 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?
> >
> > I have hacks.
>
> FWIW, I've been using the hack at the end of this mail for AGP >1x.

.../...

Ok I'll try to give it another go here one of these days, I think I
still have some of my old hacks too.

Cheers,
Ben.

> > But I never got it working reliably. In fact, on the laptop I have
> > here, even with PCI GART, it's still unstable if I use KMS/DRI2.
>
> I know your PowerBook was affected by the problem fixed by commit
> b7d8cce5b558e0c0aa6898c9865356481598b46d ('drm/radeon/kms: MC vram map
> needs to be >= pci aperture size'), which went into 2.6.37. Still no
> better with that?
>
>
> > > * 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?
> >
> > Dave ? Was this ever merged ?
>
> Apparently it went into 2.6.37, I didn't notice because it went into
> different places in the code compared to the patch I had from you.
>
>
> > > * Various endianness issues in the Mesa drivers.
> >
> > Right, and the later aren't getting any better :-( It's busted even
> > without KMS nowadays.
> >
> > Unfortunately, I have about 0 time to spend on that at the moment.
> >
> > I recommend that distros stick to radeonfb + UMS for the time being on
> > ppc32.
>
> One problem being that the classic Mesa r300 driver is essentially
> unmaintained, and evidently rotting....
>
>
> commit 9a86d7fa5bb0b4fe228becf9ed9831bac985702c
> Author: Michel Dänzer <daenzer@vmware.com>
> Date: Thu Jan 6 18:34:28 2011 +0100
>
> agp/uninorth: Fix lockups with radeon KMS and >1x.
>
> diff --git a/drivers/char/agp/uninorth-agp.c b/drivers/char/agp/uninorth-agp.c
> index f845a8f..a32c492 100644
> --- a/drivers/char/agp/uninorth-agp.c
> +++ b/drivers/char/agp/uninorth-agp.c
> @@ -80,7 +80,7 @@ static void uninorth_tlbflush(struct agp_memory *mem)
> ctrl | UNI_N_CFG_GART_INVAL);
> pci_write_config_dword(agp_bridge->dev, UNI_N_CFG_GART_CTRL, ctrl);
>
> - if (uninorth_rev <= 0x30) {
> + if (!mem && uninorth_rev <= 0x30) {
> pci_write_config_dword(agp_bridge->dev, UNI_N_CFG_GART_CTRL,
> ctrl | UNI_N_CFG_GART_2xRESET);
> pci_write_config_dword(agp_bridge->dev, UNI_N_CFG_GART_CTRL,
>
>





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

Thread Tools




All times are GMT. The time now is 11:36 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org