Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
re-compile doesn't change anything
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
geordie
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2004
Posts: 99
Location: Newcastle UK

PostPosted: Sat Apr 24, 2004 6:56 pm    Post subject: re-compile doesn't change anything Reply with quote

I have re-compiled the kernel to include support for reiserfs but it has made no difference, it reports that the kernel does not support that fs.
I feel I'm missing something in the re-compile.
I deleted the bzImage from the sources file (saving the one in boot to another folder) before recompiling.
I also changed alsa to modules but it is still compiled into the kernel.

What am I doing wrong?

Thanks in advance,
geordie
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54798
Location: 56N 3W

PostPosted: Sat Apr 24, 2004 7:08 pm    Post subject: Reply with quote

geordie,

Are you mounting /boot before you copy bzImage there?
Are you installing the modules with make modules_install?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
geordie
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2004
Posts: 99
Location: Newcastle UK

PostPosted: Sat Apr 24, 2004 7:26 pm    Post subject: Reply with quote

Hi neddyseagoon and thanks for the prompt reply.

I'm doing:
make && make modules_install

I wasn't mounting /boot but I just tried it, copied from linux and rebooted but it's still the same. I can't understand it grub is getting its information from the new bzImage, but ignoring the changes .
Any suggestions?

geordie
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54798
Location: 56N 3W

PostPosted: Sat Apr 24, 2004 7:41 pm    Post subject: Reply with quote

geordie,

make modules and make modules_install is OK.

Have a look on /lib/modules/<kernel_version>/... and see if you can see the module. Can you modprobe it?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Artherio
n00b
n00b


Joined: 09 Jan 2004
Posts: 65

PostPosted: Sat Apr 24, 2004 7:41 pm    Post subject: Reply with quote

Type uname -a in a terminal to see if you actually are running the new kernel.
Back to top
View user's profile Send private message
geordie
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2004
Posts: 99
Location: Newcastle UK

PostPosted: Sat Apr 24, 2004 7:51 pm    Post subject: Reply with quote

Hi
modprobe gives me a complaint of invalid module format - now I'm really baffled.
Worse than that when I did uname -a (thanks for that) it told me the kernel was compiled last Sunday - that was the original compilation of 2.6.5, I've recompiled four times since then with no success. The information for the original kernel must be coming from somwhere else - I didn't think grub was that clever!

I'm really lost.

geordie
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54798
Location: 56N 3W

PostPosted: Sat Apr 24, 2004 8:06 pm    Post subject: Reply with quote

geordie,

Lets do the kerenl build from the ground up.
Go into the kernel source tree (directly, not via /usr/src/linux) and edit the makefile to change the EXTRAVERSION at the top of the file. Add anything you like to what is already there. geordie ?

Now do make make modules_install.
Mount /boot and copy the arch/i386/boot/bzImage to /boot/kernel-geordie.
Now you have two kernels installed.
Edit grub.conf to include a second block like the 3 or 4 lines that commence with the title line.

In the new block, change the title so you can tell the kerenls apart. Change the kernel name to kernel-geordie, if thats what you used for the new kernel.

Now you have two kernels and two sets of modules. Look in /lib/modules and you will find a directory for each kernel.

Reboot and choose kernel-geordie. If its broken you can always boot your old kernel.

What does uname -a say?
Does reiserfs work now?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
geordie
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2004
Posts: 99
Location: Newcastle UK

PostPosted: Sat Apr 24, 2004 8:58 pm    Post subject: solved Reply with quote

Thanks neddyseagoon problem solved.

geordie
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
Page 1 of 1

 
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