(usagi-users 03571) USAGI on a SUSE Linux PC compile errors

Tim McFadden <[email protected]>
Newsgroups gmane.linux.ipv6.usagi.users
Message-ID <[email protected]>
Dear USAGI,

I am trying to load USAGI on a Linux PC and get compile errors in the 
kernel code and would appreciate help with finding the correct options 
to use.

I am using SUSE 10.1. The current Linux kernel is “2.6.13-15-default”

After the prepare and mrproper, in ./kernel/linux26 I do:

“make”

The supplied code from “USAGI STABLE Release 6” gets assembly errors in

./kernel/linux26/arch/<whatever_architecture>/kernel/process.c.

E.g., /kernel/linux26/arch/i386/kernel/process.c.

I am using “gcc 4.0.2 20050901 (prerelease)”, supplied on the SUSE CD. I 
can't find any relevant bug reports on the SUSE site.

The error messages are:

“Error: suffix or operands invalid for mov”

 From the assembly listing, they object to any:

“movl %gs....” or “movl %fs....”

E.g., the following code gets errors:

-------------------------------
#APP
movl %fs,504(%ebp)
movl %gs,508(%ebp)
#NO_APP

I've tried the “make menuconfig” processor options that seem to make 
sense, but still get the errors. I've compiled process.c separately from 
a small script and plugged in all the “gcc” options I could find for 
“-march”, etc., which also fail.

No options I can find can deal with code like:

“movl %gs....” or “movl %fs....”

The version of process.c supplied with the SUSE CD kernel code uses:

“mov %fs...”

and is quite different code, anyway.

I haven't been able to download the relevant Intel processor manuals 
from their site, to help shed light on the problem.

Thank you for any help.

Tx,
Tim McFadden
--------------------------------------
Interniche Technologies, Inc.
51 East Campbell Avenue, Suite 160
Campbell, CA 95008
408-540-1160x207
[email protected]
www.iniche.com
--------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.