Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54684 - Pegasos patches for gentoo-dev-sources
Summary: Pegasos patches for gentoo-dev-sources
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC All
: High enhancement
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-21 13:36 UTC by David Holm (RETIRED)
Modified: 2004-06-21 15:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
2500_radeon.patch (2500_radeon.patch,3.81 KB, patch)
2004-06-21 13:36 UTC, David Holm (RETIRED)
Details | Diff
2700_pegasos-2.6.6.patch (2700_pegasos-2.6.6.patch,12.18 KB, patch)
2004-06-21 13:37 UTC, David Holm (RETIRED)
Details | Diff
2905_uhci.patch (2905_uhci.patch,7.71 KB, patch)
2004-06-21 13:37 UTC, David Holm (RETIRED)
Details | Diff
4725_asfs-1.0b6.patch (4725_asfs-1.0b6.patch,154.92 KB, patch)
2004-06-21 13:38 UTC, David Holm (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Holm (RETIRED) gentoo-dev 2004-06-21 13:36:11 UTC
Please include the attached patches in all upcoming releases of gentoo-dev-sources in order to complete the move from ppc-dev-sources. The Pegasos patch is on it's way upstream, and the USB-UHCI patch is just a temporary workaround until a better solution is found. I will post any patch updates here unless you want to handle it in another fasion.
If possible, please include asap (preferably before we roll the final 2004.2 CD's for ppc). I need to update the docs for 2004.2 and kill off the pegasos-dev-sources branch.
Comment 1 David Holm (RETIRED) gentoo-dev 2004-06-21 13:36:49 UTC
Created attachment 33769 [details, diff]
2500_radeon.patch

Patch:	2500_radeon.patch
from:	http://people.debian.org/~luther/pegasos
desc:	Support for ATI Radeon RS300
Comment 2 David Holm (RETIRED) gentoo-dev 2004-06-21 13:37:23 UTC
Created attachment 33770 [details, diff]
2700_pegasos-2.6.6.patch

Patch:	2700_pegasos-2.6.6.patch
from:	http://people.debian.org/~luther/pegasos
desc:	Pegasos PowerPC motherboard support
Comment 3 David Holm (RETIRED) gentoo-dev 2004-06-21 13:37:51 UTC
Created attachment 33771 [details, diff]
2905_uhci.patch

Patch:	2905_uhci.patch
from:	bPlan GMBH, Nicolas DET
desc:	Temporary workaround for bug in USB-UHCI driver
Comment 4 David Holm (RETIRED) gentoo-dev 2004-06-21 13:38:27 UTC
Created attachment 33772 [details, diff]
4725_asfs-1.0b6.patch

Patch:	4725_asfs-1.0b6.patch
from:	http://march.home.staszic.waw.pl/asfs/
desc:	Support for the Amiga smart file system
Comment 5 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-21 13:46:45 UTC
I can't accept that uhci patch for everyone, that is just horrible code, sorry.

I'd prefer to wait until these patches made it upstream, as the quality of them
seems pretty dubious in places.  What's the rush to get rid of
the ppc-dev-sources tree?
Comment 6 David Holm (RETIRED) gentoo-dev 2004-06-21 14:09:00 UTC
ppc-dev-sources is already gone and Apple/IBM users have moved to gentoo-dev-sources. pegasos-dev-sources was created in the wake of ppc-dev-sources since it required these extra patches, and I couldn't let Pegasos users out of the loop since it's an officially supported platform. I was hoping to reduce the number of split sections in the handbook, currently some of the sections are split into Apple/IBM and Pegasos parts.

Sven Luther of Debian is in charge of the Pegasos patch. I'm not sure when it will move upstream, he told me it's on its way, but since Debian is moving slower than a snail I wouldn't hold my breath.

Currently I've been more or less dup:ing the gentoo-dev-sources tree and merged these patches. I was hoping to rid myself of that boring task. ;)

The most important patch is the Pegasos patch, were there any specific sections in this particular patch that you are opposed to? It would be enough to use only this patch. Do you have any objections to the ASFS patch? I have no contact with the author and therefore have no idea whether this has been sent upstream, or if he even intends to go upstream anytime soon. The main OS of this platform is MorphOS, a modern AmigaOS-compatible OS, that uses ASFS as it's main filesystem. 

I'm in a kind of friendly competition with Debian here as they are supposed to be the officially supported platform, but Gentoo was the first GNU/Linux distribution to support Pegasos on the official CDs. Because of this, the company who markets these boxes have started selling their boxes with both Debian and Gentoo installed (the inital idea was to only supply them with Debian), and they have some rather interesting clients, like Freescale (former Motorola Semiconductors). Therefore I'm rather eager to make sure I'm one step ahead of Debian at every turn. :)

I'm not going to try to force you to do anything you don't like. But if you could point out what parts of the Pegasos patch you don't like I'll see what I can do about it. The system works without that UHCI workaround, I'm not really sure what happens without it, but I have run my system without it for a while without noticing anything severe, and I'm sure a proper fix will surface soon.
Comment 7 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-21 15:00:12 UTC
Comment on attachment 33769 [details, diff]
2500_radeon.patch

Already in the 2.6.7 main kernel.org tree.
Comment 8 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-21 15:01:37 UTC
Comment on attachment 33772 [details, diff]
4725_asfs-1.0b6.patch

Rejected, based on the comments at:
http://thread.gmane.org/gmane.linux.file-systems/2180
Comment 9 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-21 15:02:03 UTC
Comment on attachment 33771 [details, diff]
2905_uhci.patch

Rejected based on the comments from the UHCI driver author on the
linux-usb-devel mailing list.
Comment 10 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-21 15:03:58 UTC
Ok, I'll take the 2700_pegasos-2.6.6.patch, but it does apply with fuzz to the 2.6.7 kernel.  

The others I'm not going to take right now.

I go make a new release with this patch and mark it here when it's done.
Comment 11 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-21 15:32:28 UTC
Ok, 2.6.7-r3 is now checked in with the 2700_pegasos patch.  Let me know if 
you have any problems with it.