Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting vanilla-sources + XFS + preempt to play nicely...
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Utoxin
Guru
Guru


Joined: 19 Apr 2002
Posts: 413
Location: American Fork, UT

PostPosted: Wed Jun 26, 2002 9:07 am    Post subject: Getting vanilla-sources + XFS + preempt to play nicely... Reply with quote

Can someone who has managed this contact me? My kernel compile keeps bombing out with the following message:

Code:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.18/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon    -I.. -funsigned-char -DKBUILD_BASENAME=xfs_super  -c -o xfs_super.o xfs_super.c
{standard input}: Assembler messages:
{standard input}:1157: Error: suffix or operands invalid for `bsf'
make[4]: *** [xfs_super.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4.18/fs/xfs/linux'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.18/fs/xfs/linux'
make[2]: *** [_subdir_linux] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.18/fs/xfs'
make[1]: *** [_subdir_xfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.18/fs'
make: *** [_dir_fs] Error 2


Help would be greatly appreciated.

Alternately: The reason I'm trying the vanilla-sources route is because xfsdump is corrupting my filesystem, and I thought a cleaner kernel might help. If anyone can give some pointers to help with that, I'd be greatful. I'd show you the error message, but my box goes down when I get it, so it's hard to get a copy.
_________________
Gentoo:
1. A small fast penguin from Antarctica.
2. A small fast penguin on your computer.

Cool.
Back to top
View user's profile Send private message
JefP@@
Apprentice
Apprentice


Joined: 09 May 2002
Posts: 179
Location: Belgium

PostPosted: Wed Jun 26, 2002 9:12 am    Post subject: Reply with quote

I have no clue ...

I downloaded the cvs xfs patch for the kernel, from the sgi website ... It should handle preemptive nicely, although it's still in devel. I haven't had any probs with my kernel, so far...

using : vanilla 2.4.18 sources with preemptive patch and cvs xfs patch
Back to top
View user's profile Send private message
Utoxin
Guru
Guru


Joined: 19 Apr 2002
Posts: 413
Location: American Fork, UT

PostPosted: Wed Jun 26, 2002 9:33 am    Post subject: Reply with quote

I've set vanilla-sources aside for now... Now trying the 2.5-xfs cvs tree from SGI to see if it'll compile cleanly.
_________________
Gentoo:
1. A small fast penguin from Antarctica.
2. A small fast penguin on your computer.

Cool.
Back to top
View user's profile Send private message
kode54
n00b
n00b


Joined: 16 May 2002
Posts: 42

PostPosted: Wed Jun 26, 2002 10:26 am    Post subject: Reply with quote

I got it to compile a working kernel, which seemed to have some problems. Vesafb wouldn't scroll properly using the same settings as with 2.4, I had a hell of a time getting nvidia-kernel to build properly, then it would proceed to take my whole system down when I tried to start X. Later, while examining some source files in nano, I got a sudden nano[#] exited with preempt_count of 1 and immediate kernel oops, which froze my system. I decided to reboot with my backup 2.4.19-gentoo-r7 and compiled SGI's 2.4.19-pre10-xfs source. I may later switch to -rc1, or just wait until the final 2.4.19 release.

You may not have the same problems, since I might have missed some fixes. Your mileage may vary.
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Wed Jun 26, 2002 5:54 pm    Post subject: Reply with quote

Did you have this problem before you switched to gcc3?
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Utoxin
Guru
Guru


Joined: 19 Apr 2002
Posts: 413
Location: American Fork, UT

PostPosted: Wed Jun 26, 2002 6:02 pm    Post subject: Reply with quote

No idea. I wasn't doing the backup back then. ;) And the backup worked a few times, then started crashing my filesystem, requiring a reboot (hard reset) to recover.
_________________
Gentoo:
1. A small fast penguin from Antarctica.
2. A small fast penguin on your computer.

Cool.
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Wed Jun 26, 2002 6:31 pm    Post subject: Reply with quote

Have you tried the xfs-sources kernel ?
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Utoxin
Guru
Guru


Joined: 19 Apr 2002
Posts: 413
Location: American Fork, UT

PostPosted: Wed Jun 26, 2002 6:34 pm    Post subject: Reply with quote

Not yet. I'd really like to have pre-empt, but I'm beginning to think I'll have to give up on that for now. Too many reports of problems with that combination.
_________________
Gentoo:
1. A small fast penguin from Antarctica.
2. A small fast penguin on your computer.

Cool.
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Wed Jun 26, 2002 6:39 pm    Post subject: Reply with quote

Yeah I switched from xfs to ext3 because I wanted preempt, but then ext3 was too slow for my tastes so when I built a gcc3 based gentoo I went with ReiserFS and am now quite happy.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Utoxin
Guru
Guru


Joined: 19 Apr 2002
Posts: 413
Location: American Fork, UT

PostPosted: Wed Jun 26, 2002 6:42 pm    Post subject: Reply with quote

How stable has your Reiser been? And is there any way to convert to it without having to back up all my data somewhere? (I still /would/, of course, but I'd like to know I wouldn't have to use that backup.)
_________________
Gentoo:
1. A small fast penguin from Antarctica.
2. A small fast penguin on your computer.

Cool.
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Wed Jun 26, 2002 6:56 pm    Post subject: Reply with quote

There is no way to convert an XFS partition to ReiserFS, so you will have to back it up, zero out the partition, make a reiserfs partition, then move all your data back.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Utoxin
Guru
Guru


Joined: 19 Apr 2002
Posts: 413
Location: American Fork, UT

PostPosted: Wed Jun 26, 2002 7:02 pm    Post subject: Reply with quote

Ickie. :?

Well, I suppose I'll look into figuring out a good way to do that easily on my system. I suppose I could boot with the stage1 ISO, and tarball the whole drive onto my fat partition, then do the format, and untar it back. Sound feasible?
_________________
Gentoo:
1. A small fast penguin from Antarctica.
2. A small fast penguin on your computer.

Cool.
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Wed Jun 26, 2002 8:14 pm    Post subject: Reply with quote

Yep, I have done it before.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Wed Jun 26, 2002 8:17 pm    Post subject: Reply with quote

But if you have a cdburner, broadband, and a little time I would suggest using the knoppix live cd as you can't get much better than a rescue disk that can run kde or gnome :D

http://www.knopper.net/knoppix/index-en.html
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Utoxin
Guru
Guru


Joined: 19 Apr 2002
Posts: 413
Location: American Fork, UT

PostPosted: Wed Jun 26, 2002 8:24 pm    Post subject: Reply with quote

Oooooh. Interesting idea! Downloading now.
_________________
Gentoo:
1. A small fast penguin from Antarctica.
2. A small fast penguin on your computer.

Cool.
Back to top
View user's profile Send private message
Utoxin
Guru
Guru


Joined: 19 Apr 2002
Posts: 413
Location: American Fork, UT

PostPosted: Wed Jun 26, 2002 8:35 pm    Post subject: Reply with quote

I see one problem (maybe). Does it have ReiserFS support built into it's kernel?
_________________
Gentoo:
1. A small fast penguin from Antarctica.
2. A small fast penguin on your computer.

Cool.
Back to top
View user's profile Send private message
Utoxin
Guru
Guru


Joined: 19 Apr 2002
Posts: 413
Location: American Fork, UT

PostPosted: Wed Jun 26, 2002 8:45 pm    Post subject: Reply with quote

Okay. Found Reiser in the changelog, so I guess it's there. (I think. It's in german.)
_________________
Gentoo:
1. A small fast penguin from Antarctica.
2. A small fast penguin on your computer.

Cool.
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Wed Jun 26, 2002 8:49 pm    Post subject: Reply with quote

It has ReiserFS support, here is quite impressive list of packages it includes:

http://download.linuxtag.org/knoppix/packages.txt
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Wed Jun 26, 2002 8:51 pm    Post subject: Reply with quote

Oh and wait till you see how well the automatic hardware configuration figures out what you have :D
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Utoxin
Guru
Guru


Joined: 19 Apr 2002
Posts: 413
Location: American Fork, UT

PostPosted: Wed Jun 26, 2002 8:52 pm    Post subject: Reply with quote

Bah. Another hour to wait while it downloads the ISO. ;)
_________________
Gentoo:
1. A small fast penguin from Antarctica.
2. A small fast penguin on your computer.

Cool.
Back to top
View user's profile Send private message
Utoxin
Guru
Guru


Joined: 19 Apr 2002
Posts: 413
Location: American Fork, UT

PostPosted: Wed Jun 26, 2002 11:50 pm    Post subject: Reply with quote

Well, until I get my hands on a 700 meg CD, that'll have to wait. My CD burner won't overburn well, and all I have are 650's. So I'm burning the gentoo ISO, and I'll do my work through it.
_________________
Gentoo:
1. A small fast penguin from Antarctica.
2. A small fast penguin on your computer.

Cool.
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Thu Jun 27, 2002 1:49 am    Post subject: Reply with quote

Sorry forgot to let you know about that, but still worth keeping around till you get a 700M cd.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Utoxin
Guru
Guru


Joined: 19 Apr 2002
Posts: 413
Location: American Fork, UT

PostPosted: Sat Jun 29, 2002 3:39 am    Post subject: Reply with quote

Well, I finally got the time and the extra hard drive to do this, and XFS is now gone from my system. Running Reiser now, since I'm a speed fiend.

Nice to have a (hopefully) stable system again.
_________________
Gentoo:
1. A small fast penguin from Antarctica.
2. A small fast penguin on your computer.

Cool.
Back to top
View user's profile Send private message
KiTaSuMbA
Guru
Guru


Joined: 28 Jun 2002
Posts: 430
Location: Naples Italy

PostPosted: Sat Jun 29, 2002 4:46 am    Post subject: strange stuff... Reply with quote

I have an 2.4.18 XFS kernel and the only crashes I got was due to the NVidia driver with my athlon XP (i.e. I can leave the box on in console mode for ages but with the nv modules loaded it crashes una tantum). BTW, I got the same "patterns" on my slack too so I don't overly worry... at least with XFS on gentoo I don't get all that "fsck -y -v " terror when shit happens.
_________________
Need to flame people LIVE on IRC? Join #gentoo-otw on freenode!
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Sat Jun 29, 2002 5:12 pm    Post subject: Re: strange stuff... Reply with quote

KiTaSuMbA wrote:
I have an 2.4.18 XFS kernel and the only crashes I got was due to the NVidia driver with my athlon XP (i.e. I can leave the box on in console mode for ages but with the nv modules loaded it crashes una tantum). BTW, I got the same "patterns" on my slack too so I don't overly worry... at least with XFS on gentoo I don't get all that "fsck -y -v " terror when shit happens.


Do you not get all those "foo-application exited with a preempt count of"?
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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