Linuxathome.net

Linux news and help for home broadband internet users
It is currently Fri Nov 24, 2017 10:12 pm

All times are UTC + 10 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: kernel recompile on rh8
PostPosted: Tue Oct 08, 2002 3:20 am 
Offline
Newbie

Joined: Fri Aug 30, 2002 2:19 pm
Posts: 8
Location: Perth
Having some problems recompiling the kernel on a rh8 install.

I've taken the config from /boot/config-2.4.18-14 (i presume this is the config the system is installed with), removed pcmcia support (will compile my own version later) and added in wireless networking.

make dep,clean,bzImage all run fine, but when I next try to run make modules I get;

Quote:
gcc -E -D__KERNEL__ -I/usr/local/src/linux-2.4.19/include -traditional -DCHIP=71
0 fake7.c | grep -v '^#' | perl -s script_asm.pl -ncr7x0_family
script_asm.pl : Illegal combination of registers in line 72 : MOVE CTEST7 & 0x
ef TO CTEST7
Either source and destination registers must be the same,
or either source or destination register must be SFBR.
make[2]: *** [sim710_d.h] Error 255
make[2]: Leaving directory `/usr/local/src/linux-2.4.19/drivers/scsi'
make[1]: *** [_modsubdir_scsi] Error 2
make[1]: Leaving directory `/usr/local/src/linux-2.4.19/drivers'
make: *** [_mod_drivers] Error 2


Anyone got any ideas? Driving me nuts.

Ta


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 09, 2002 6:52 pm 
Offline
Newbie

Joined: Sat Jun 29, 2002 7:29 pm
Posts: 18
mc wrote:
I've taken the config from /boot/config-2.4.18-14 (i presume this is the config the system is installed with)


I believe it is (2.4.18 is default with RH8). I haven't had a chance to install RH8, I've been busy with W2K stuff for the last few months + my box has been at a client's site on evaluation.

I am hoping to get it back this Friday and then I'll install RH8. I might try taking the default config and compile 2.4.19 to see if I get any errors.

In the meantime I would suggest that you compile using the original config in 2.4.19. Take notes from the 2.4.18 config if you like and try re-compiling. :)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 09, 2002 7:03 pm 
Offline
Newbie

Joined: Fri Aug 30, 2002 2:19 pm
Posts: 8
Location: Perth
After a few days of mucking around and trying to come up with a solution I came up with the a fix..

I removed scsi support (I didn't require it, and that was the module it kept falling over on) from the kernel and the make modules (& modules_install) worked fine.

There's probably more to it than that, but seemed to do the trick for me.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 09, 2002 7:07 pm 
Offline
Newbie

Joined: Sat Jun 29, 2002 7:29 pm
Posts: 18
Cool, good to hear that you've got it sorted. :)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 10 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group