View previous topic :: View next topic |
Author |
Message |
bob_t n00b
Joined: 18 Apr 2002 Posts: 23 Location: ithaca, ny, usa
|
Posted: Fri May 03, 2002 7:21 pm Post subject: XFS patch for gentoo-sources 2.4.19-gentoo-r1 |
|
|
I searched around, but didn't see discussion of this anywhere, so here goes. Sorry if it is a duplicate.
Some kind soul released an XFS patch for the gentoo sources. I applied it last night, and as they say, "it works for me." YMMV.
You can get the patch at:
http://www.SuxOS.org/~styx/gentoo/linux-gentoo-2.4.19-r1-r2.patch.bz2
Here's what I did, largely duplicated from the gentoo-user mailing list:
emerge rsync
emerge gentoo-sources
cd /usr/src
wget the patch; bunzip2 it
apply the patch: patch -p0 < linux-gentoo-2.4.19-r1-r2.patch
and then make the kernel as normal, using either your old config or making a new one. Copy over the bzImage to /boot and you should be good to go.
note: I'm not the author of this patch. I just applied it and it rocks - new kernel with all the preempt stuff plus XFS. For all I know, it could eat your disk, or as the author of the patch said "kill your mother in law"
There is a noticeable enhancement in speed while doing desktop stuff over 2.4.17r5, which is what I was running earlier. If you want more info, search the mailing list. Enjoy! |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Fri May 03, 2002 8:58 pm Post subject: Sticky |
|
|
I've noticed alot of talk about this on the mailing-list too, I haven't tried it yet.
Anyone who does try it, I think others, myself included, would like to hear how it goes.
I think this topic deserves to be sticky, I bet this question will get asked alot. _________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't.
Last edited by Nitro on Sat May 04, 2002 1:41 pm; edited 1 time in total |
|
Back to top |
|
|
crashman n00b
Joined: 13 Apr 2002 Posts: 23 Location: Midwest City, Ok
|
Posted: Sat May 04, 2002 6:40 am Post subject: This patch ROCKS!!! |
|
|
I am also using this patch. I'm using it on a SMP machine so no worries if you got one also. |
|
Back to top |
|
|
mdpye Tux's lil' helper
Joined: 18 Apr 2002 Posts: 102 Location: Nottingham, England
|
Posted: Sat May 04, 2002 12:16 pm Post subject: I thought... |
|
|
I thought the XFS patches where fully integrated into the gentoo kernal sources. I know I am runninf XFS on my / and /home partitions without changing anything from my 1.0 release (built from scratch).
Also, what is the difference between gentoo-sources and linux-sources? They seem to have the same revisions, so what is different?
MP _________________ Cheers, MP |
|
Back to top |
|
|
rachaef n00b
Joined: 19 Apr 2002 Posts: 39 Location: Vienna/Austria/Europe
|
Posted: Sat May 04, 2002 12:32 pm Post subject: |
|
|
There is no linux-sources anymore. It's all explained in the old linux-sources ebuild script:
/usr/portage/sys-kernel/linux-sources/linux-sources-2.4.19-r1.ebuild
rachaef |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Sat May 04, 2002 7:37 pm Post subject: |
|
|
The guy who made the original gentoo-source -> xfs-source patch has updated his patch. Below is the quote from the mailing list.
Gentoo-Dev Mailing List wrote: |
I've cleaned up the XFS patch and upgraded it to XFS 1.1. Feel free to test
it, but keep in mind it is just as experimental as the previous one.
Changes:
XFS 1.1 (in stead of an old CVS snapshot)
Quota works
General cleanup
I would really appreciate if you could test the general stability of it, and
especially if you use highmem support.
The URLs:
http://www.SuxOS.org/~styx/gentoo/linux-gentoo-2.4.19-r1-r2.patch.bz2
http://www.SuxOS.org/~styx/gentoo/linux-gentoo-2.4.19-r2.patch.bz2
Notes:
* The difference between the two patches is that the one at the top is and
incremental patch that you should apply to a clean gentoo-sources-2.4.19-r1
tree, while the latter one should be applied to a clean 2.4.18 tree.
* The old patches have been moved to www.SuxOS.org/~styx/gentoo/old-patches
(note that the URLs are the same as in the announcement of the old patches).
I'd like to thank Rigo Ketelings for helping me test the old patch, and giving
me lots of feedback.
Best Regards,
--
Joachim Blaabjerg
styx@SuxOS.org
www.SuxOS.org
|
http://lists.gentoo.org/pipermail/gentoo-dev/2002-May/011728.html _________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
Back to top |
|
|
snoop Guest
|
Posted: Sat May 04, 2002 10:28 pm Post subject: ebuild |
|
|
Hello,
wouldn't it be possible to create an ebuild for this so
one can just "emerge sys-kernel/gentoo-sources-xfs"
or something similar?
cu
Torsten |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Sat May 04, 2002 11:10 pm Post subject: Re: ebuild |
|
|
snoop wrote: | Hello,
wouldn't it be possible to create an ebuild for this so
one can just "emerge sys-kernel/gentoo-sources-xfs"
or something similar?
cu
Torsten | It might happen, but at this point in time the gentoo+xfs kernel source is untested and is still experimental. _________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
Back to top |
|
|
illogic-al n00b
Joined: 05 May 2002 Posts: 18
|
Posted: Sun May 05, 2002 7:03 pm Post subject: |
|
|
I don't have any problems with xfs. It works just fine. the only compilation problems I seem to be running into have to do with my usb mouswe modules not showing up. I'm positive I chose to compile them as modules but the usbmouse module is nowhere in either /dev or /lib/modules _________________ You can use Windows for a couple hours and it seems like days.
You can use Linux for a couple days and it seems like hours. THAT'S superiority. |
|
Back to top |
|
|
AutoBot l33t
Joined: 22 Apr 2002 Posts: 968 Location: Usually Out
|
Posted: Tue May 07, 2002 3:54 am Post subject: |
|
|
Patches are no longer needed the new gentoo-sources include xfs support and is labeled:
linux-2.4.19-gentoo-r3 _________________ This message self destructed a long time ago. |
|
Back to top |
|
|
phraktle n00b
Joined: 21 Apr 2002 Posts: 11
|
Posted: Tue May 07, 2002 1:20 pm Post subject: "exited with preempt_count" kernel msgs |
|
|
after installing the new gentoo kernel (2.4.19-gentoo-r3) with preemtption enabled i get lots of kernel msgs, like below:
Code: |
rc[13] exited with preempt_count 9
mount[18] exited with preempt_count 4
rc[17] exited with preempt_count 7
cat[19] exited with preempt_count 3
mount[24] exited with preempt_count 1
devfsd[26] exited with preempt_count 481
mount[31] exited with preempt_count 2
ls[56] exited with preempt_count 13
depscan.sh[55] exited with preempt_count 3
ls[278] exited with preempt_count 1
|
any ideas what causes this, and how can i fix it?
thx |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Wed May 08, 2002 8:34 pm Post subject: |
|
|
I'm unsticking this topic, it is no longer "special" because the gentoo-sources-r3+ include the XFS patch. _________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
Back to top |
|
|
|