Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AMD64 + Reiser4 now working (For real this time :) )
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Mon Feb 07, 2005 10:59 pm    Post subject: AMD64 + Reiser4 now working (For real this time :) ) Reply with quote

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 8) 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
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Tue Feb 08, 2005 1:00 am    Post subject: Reply with quote

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
View user's profile Send private message
ewan.paton
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1219
Location: glasgow, scotland

PostPosted: Tue Feb 08, 2005 2:10 am    Post subject: Reply with quote

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
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Tue Feb 08, 2005 2:27 am    Post subject: Reply with quote

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 :cry:
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
View user's profile Send private message
rcb1974
n00b
n00b


Joined: 12 Mar 2003
Posts: 56
Location: Ithaca, NY, USA

PostPosted: Tue Feb 08, 2005 11:51 pm    Post subject: I knew it had to do with 32bits getting set to 64 Reply with quote

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
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Thu Feb 10, 2005 7:53 pm    Post subject: Reply with quote

Still no lockups or oops's so it looks like reiser4 has been fixed on AMD64 :lol:
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Thu Feb 10, 2005 8:31 pm    Post subject: Reply with quote

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 :lol:
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
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Thu Feb 10, 2005 9:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1222

PostPosted: Thu Feb 10, 2005 9:57 pm    Post subject: Reply with quote

Any ideas about when reiser4 will be in official 2.6 tree?

:roll:
_________________
gentoo user
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Thu Feb 10, 2005 10:35 pm    Post subject: Reply with quote

tnt wrote:
Any ideas about when reiser4 will be in official 2.6 tree?

:roll:
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 :cry:
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1222

PostPosted: Thu Feb 10, 2005 10:51 pm    Post subject: Reply with quote

Ok, thank you.

Probably something like 2.6.25+... :(
_________________
gentoo user
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Thu Mar 03, 2005 12:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Trevoke
Advocate
Advocate


Joined: 04 Sep 2004
Posts: 4099
Location: NY, NY

PostPosted: Thu Mar 03, 2005 3:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Thu Mar 03, 2005 3:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Trevoke
Advocate
Advocate


Joined: 04 Sep 2004
Posts: 4099
Location: NY, NY

PostPosted: Thu Mar 03, 2005 3:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1222

PostPosted: Thu Mar 03, 2005 3:34 pm    Post subject: Reply with quote

That sounds realy realy good! :D

We should ask gentoo developers to add reiser4 patch in gentoo-dev-sources for ~amd64 :lol:



OK, OK, I'm kidding... But I'm very happy to hear this news!


:D
_________________
gentoo user
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Mar 03, 2005 5:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1222

PostPosted: Thu Mar 03, 2005 5:23 pm    Post subject: Reply with quote

:lol:

I know... :lol:

:lol:
_________________
gentoo user
Back to top
View user's profile Send private message
GurliGebis
Retired Dev
Retired Dev


Joined: 08 Aug 2002
Posts: 509

PostPosted: Fri Mar 04, 2005 11:45 am    Post subject: Reply with quote

tnt wrote:
We should ask gentoo developers to add reiser4 patch in gentoo-dev-sources for ~amd64 :lol:


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
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Fri Mar 04, 2005 1:04 pm    Post subject: Reply with quote

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 maintainer
Quote:
No way!
When 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
View user's profile Send private message
biehl
Tux's lil' helper
Tux's lil' helper


Joined: 18 Feb 2003
Posts: 109
Location: Copenhagen/Denmark/European Union

PostPosted: Fri Mar 04, 2005 1:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
ahorn
Guru
Guru


Joined: 01 Nov 2004
Posts: 366
Location: Ol' europe

PostPosted: Mon Mar 07, 2005 7:42 am    Post subject: Reply with quote

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
View user's profile Send private message
Lucifeer
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2004
Posts: 110
Location: Sweden

PostPosted: Mon Mar 07, 2005 11:10 am    Post subject: Reply with quote

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
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Tue Mar 08, 2005 1:06 am    Post subject: Reply with quote

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 :wink:

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
View user's profile Send private message
ahorn
Guru
Guru


Joined: 01 Nov 2004
Posts: 366
Location: Ol' europe

PostPosted: Tue Mar 08, 2005 7:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum