View previous topic :: View next topic |
Author |
Message |
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Mon Feb 07, 2005 10:59 pm Post subject: AMD64 + Reiser4 now working (For real this time :) ) |
|
|
For all AMD64 people who are using or have tried but reiser4 namesys now has AMD64 harware. Until now i have been getting serious problems when doing large compiles but this is now solved Apply below patch from within <kernel_source>/fs/reiser4/ with the following command: patch -p0 < patch
Code: | --- 1.186/plugin/space/bitmap.c Wed Jan 19 18:52:52 2005
+++ edited/plugin/space/bitmap.c Mon Feb 7 16:18:37 2005
@@ -165,7 +165,7 @@
static int
find_next_zero_bit_in_word(ulong_t word, int start_bit)
{
- ulong_t mask = 1 << start_bit;
+ ulong_t mask = 1UL << start_bit;
int i = start_bit;
while ((word & mask) != 0) {
@@ -235,7 +235,7 @@
assert ("zam-965", start_bit < BITS_PER_LONG);
assert ("zam-966", start_bit >= 0);
- bit_mask = (1 << nr);
+ bit_mask = (1UL << nr);
while (bit_mask != 0) {
if (bit_mask & word) | I have been doing some big compiles and had the system comnpiling for an hour and a half without errors.
See this link for the archived thread which led to this patch. _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
Corona688 Veteran
Joined: 10 Jan 2004 Posts: 1204
|
Posted: Tue Feb 08, 2005 1:00 am Post subject: |
|
|
Veeery interesting. I wondered if it'd be something silly like that. That said I'll be happier about it's stability when you've been using it for a week, not a day. _________________ Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html |
|
Back to top |
|
|
ewan.paton Veteran
Joined: 29 Jul 2003 Posts: 1219 Location: glasgow, scotland
|
Posted: Tue Feb 08, 2005 2:10 am Post subject: |
|
|
yay ive got a 32bit reiser4 install that it will be cool to access, is it just compiling that locked it as i heard it was pretty much unusable. any idea if/when this patch will be integrated into the normal kernels _________________ Giay tay nam | Giay nam cao cap | Giay luoi |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Tue Feb 08, 2005 2:27 am Post subject: |
|
|
Well it locked up on all heavy disk/cpu loads for me, so that is basicly useless for gentoo with all the compilation going on. With this patch not once has it locked up, no log entry nothing. Some of the thing i compiled today, a new xorg 6.8.904 and tried to compile mozilla but crapped out at the end on freetype 2.1.9
Quote: | any idea if/when this patch will be integrated into the normal kernels | Most likely it will be in the next -mm _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
rcb1974 n00b
Joined: 12 Mar 2003 Posts: 56 Location: Ithaca, NY, USA
|
Posted: Tue Feb 08, 2005 11:51 pm Post subject: I knew it had to do with 32bits getting set to 64 |
|
|
I figured the bug was something like this. A 1 getting represented as a 64 bit value when it should have been an unsigned long (i.e. 32 bit)...
I applied the patch and am going to test it now... |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Thu Feb 10, 2005 7:53 pm Post subject: |
|
|
Still no lockups or oops's so it looks like reiser4 has been fixed on AMD64 _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
Corona688 Veteran
Joined: 10 Jan 2004 Posts: 1204
|
Posted: Thu Feb 10, 2005 8:31 pm Post subject: |
|
|
rcb1974 wrote: | I figured the bug was something like this. A 1 getting represented as a 64 bit value when it should have been an unsigned long (i.e. 32 bit)... | unsigned longs are 64-bit under amd64 If the 1 was getting represented as 64-bit, there'd be no problem, the compiler would just convert. But some of their constants aren't 64-bit. even though they try to use them that way. Any 32-bit value left-shifted 63 times becomes zero. infirit wrote: | Still no lockups or oops's so it looks like reiser4 has been fixed on AMD64 | Fantastic. What kernel did you patch it onto, by the way? _________________ Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Thu Feb 10, 2005 9:06 pm Post subject: |
|
|
Corona688 wrote: | Fantastic. What kernel did you patch it onto, by the way? |
I patched gentoo-dev-sources-2.6.10-r7 with this patch from namesys + the above. _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1222
|
Posted: Thu Feb 10, 2005 9:57 pm Post subject: |
|
|
Any ideas about when reiser4 will be in official 2.6 tree?
_________________ gentoo user |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Thu Feb 10, 2005 10:35 pm Post subject: |
|
|
tnt wrote: | Any ideas about when reiser4 will be in official 2.6 tree?
| Hard to say....
The actual filesystem can be merged soon but some of the special feature reiser4 brings to the kernel might take a while. See these 2 stories, link and link on kerneltrap for the complete story. No dicission has been made yet by linus as far as I know _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1222
|
Posted: Thu Feb 10, 2005 10:51 pm Post subject: |
|
|
Ok, thank you.
Probably something like 2.6.25+... _________________ gentoo user |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Thu Mar 03, 2005 12:56 pm Post subject: |
|
|
kernel 2.6.11-rc5-mm1 has the latest fixes for reiser4, including the amd64 patches.
Quote: | ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11-rc5/2.6.11-rc5-mm1/
- Lots of tuning/balancing changes in the CPU scheduler. Mainly targetted
at larger SMT/SMP/NUMA machines. It's going to be hard to work out whether
these are a net benefit.
- A pcmcia update which obsoletes cardmgr (although cardmgr still works) and
makes pcmcia work more like regular hotpluggable devices. See the
changelong in pcmcia-dont-send-eject-request-events-to-userspace.patch for
details.
- A new reiser4 code drop.
- A new rev of the NFS ACL code.
- I seem to be getting a lot of patches which don't compile if you breathe
on the .config file, let alone if you try them on another architecture. It
would be nice to receive less such patches, please. |
_________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
Trevoke Advocate
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Thu Mar 03, 2005 3:15 pm Post subject: |
|
|
I don't have the time to tinker and risk a system break right now, is there someone who's willing to try it for a week and let us know? _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Thu Mar 03, 2005 3:23 pm Post subject: |
|
|
Trevoke wrote: | I don't have the time to tinker and risk a system break right now, is there someone who's willing to try it for a week and let us know? | I have been running it from the date of the first post in this thread without problem. I also did a full install with 2 days of almost constant compiling. i'll try to put up a patch for gentoo-dev-sources 2.6.11 if i have the time _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Last edited by infirit on Fri Mar 04, 2005 2:07 pm; edited 1 time in total |
|
Back to top |
|
|
Trevoke Advocate
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Thu Mar 03, 2005 3:32 pm Post subject: |
|
|
So that fix you posted worked? I guess I'll make my own custom patch, I'm still running a slightly older kernel.. _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1222
|
Posted: Thu Mar 03, 2005 3:34 pm Post subject: |
|
|
That sounds realy realy good!
We should ask gentoo developers to add reiser4 patch in gentoo-dev-sources for ~amd64
OK, OK, I'm kidding... But I'm very happy to hear this news!
_________________ gentoo user |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Thu Mar 03, 2005 5:06 pm Post subject: |
|
|
tnt wrote: | We should ask gentoo developers to add reiser4 patch in gentoo-dev-sources for ~amd64 |
They would tell you "no - not for any arch" |
|
Back to top |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1222
|
Posted: Thu Mar 03, 2005 5:23 pm Post subject: |
|
|
I know...
_________________ gentoo user |
|
Back to top |
|
|
GurliGebis Retired Dev
Joined: 08 Aug 2002 Posts: 509
|
Posted: Fri Mar 04, 2005 11:45 am Post subject: |
|
|
tnt wrote: | We should ask gentoo developers to add reiser4 patch in gentoo-dev-sources for ~amd64 |
Well, I remember a certain developer (no names mentioned, go figure) talking about writing a revert patch for every kernel in portage, that removes the reiser4 filesystem again once its in the vanilla tree.
So when it gets into the vanilla kernel, it's not sure we will get it right away, if ever. _________________ Queen Rocks. |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Fri Mar 04, 2005 1:04 pm Post subject: |
|
|
UberLord wrote: | tnt wrote: | We should ask gentoo developers to add reiser4 patch in gentoo-dev-sources for ~amd64 |
They would tell you "no - not for any arch" | To quote our kernel maintainerWhen all the issues around vfs and reiser4 have been solved it will go into vanilla. _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
biehl Tux's lil' helper
Joined: 18 Feb 2003 Posts: 109 Location: Copenhagen/Denmark/European Union
|
Posted: Fri Mar 04, 2005 1:43 pm Post subject: |
|
|
Quote: | When all the issues around vfs and reiser4 have been solved it will go into vanilla. |
Yeah - but that sucks - and it seems to generate a chicken/egg situation when A. Morton says
Quote: |
- reiser4 is less clear. Once all the review comments have been addressed
and we start seeing a bit of vendor pull for it, maybe.
|
http://kerneltrap.org/node/4789
Including it in Gentoo IS "vendor pull"
-Anders _________________ 1) Dell Inspiron 8600, 1,4GHz PM, GeForce 5650Go
2) Custom, AMD64 Winchester 3000+, Asus A8V Deluxe, GeForce 5200 |
|
Back to top |
|
|
ahorn Guru
Joined: 01 Nov 2004 Posts: 366 Location: Ol' europe
|
Posted: Mon Mar 07, 2005 7:42 am Post subject: |
|
|
i've made a livecd with reiser4progs 1.0.4 and the latest reiser4 patches (2.6.11-nitro0) for amd 64bit cpus.
you can grab it from http://satanix.de/mirror/livecds/ in the morning (damn 16kb/s upload) another mirror will follow the next day.
it's my first livecd, it tested it, but i don't know if the cds works well on other pcs, so feel free to comment in this thread. _________________ Too many connections. Please try again later. |
|
Back to top |
|
|
Lucifeer Tux's lil' helper
Joined: 09 Jun 2004 Posts: 110 Location: Sweden
|
Posted: Mon Mar 07, 2005 11:10 am Post subject: |
|
|
ahorn wrote: | i've made a livecd with reiser4progs 1.0.4 and the latest reiser4 patches (2.6.11-nitro0) for amd 64bit cpus.
you can grab it from http://satanix.de/mirror/livecds/ in the morning (damn 16kb/s upload) another mirror will follow the next day.
it's my first livecd, it tested it, but i don't know if the cds works well on other pcs, so feel free to comment in this thread. | I could put it up on my server for a while, Im on a 10/10mbit-line. Downloading it now.
Could you add md5-checksums for the files? _________________ Amd64 3200+ 1024DDR - workstation
AmdXP 1800+ 512sdram - server
Celeron 1.2ghz 128sdram - laptop
AMD64 live-cd w/Reiser4-support http://livecd.todesmut.org/ |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Tue Mar 08, 2005 1:06 am Post subject: |
|
|
biehl wrote: | Quote: | When all the issues around vfs and reiser4 have been solved it will go into vanilla. |
Yeah - but that sucks - and it seems to generate a chicken/egg situation when A. Morton says
Quote: |
- reiser4 is less clear. Once all the review comments have been addressed
and we start seeing a bit of vendor pull for it, maybe.
|
http://kerneltrap.org/node/4789
Including it in Gentoo IS "vendor pull"
-Anders | Well don't let that stop you using it
Vendor pull will be Suse and Linspire which both want to use Reiser4 as their default fs in the near future. _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
ahorn Guru
Joined: 01 Nov 2004 Posts: 366 Location: Ol' europe
|
Posted: Tue Mar 08, 2005 7:33 am Post subject: |
|
|
Lucifeer wrote: | ahorn wrote: | i've made a livecd with reiser4progs 1.0.4 and the latest reiser4 patches (2.6.11-nitro0) for amd 64bit cpus.
you can grab it from http://satanix.de/mirror/livecds/ in the morning (damn 16kb/s upload) another mirror will follow the next day.
it's my first livecd, it tested it, but i don't know if the cds works well on other pcs, so feel free to comment in this thread. | I could put it up on my server for a while, Im on a 10/10mbit-line. Downloading it now.
Could you add md5-checksums for the files? |
just for the completeness, i put them up. _________________ Too many connections. Please try again later. |
|
Back to top |
|
|
|