Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
UNRESOLVED SYMBOLS ON REBUILD KERNEL PROBLEM...(solved)
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
marina
n00b
n00b


Joined: 22 Jun 2004
Posts: 16

PostPosted: Thu Jul 08, 2004 9:30 pm    Post subject: UNRESOLVED SYMBOLS ON REBUILD KERNEL PROBLEM...(solved) Reply with quote

Hi guys....


At the moment I am still using kernel 2.4 for my laptop IBM R32...cause when I try to used kernel 2.6...my internal modem still not really works (I am still using dial up connection).

So yesterday I try to rebuild my current kernel linux-2.4.26-gentoo-r3 (genkernel) to enable sound cards and IPtables as Modules.

I did the instruction to rebuild the kernel following instructions:

1. ln -sf /usr/src/linux-2.4.26-gentoo-r3 /usr/src/linux
2. cd /usr/src/linux
3. make mrproper
4. make menuconfig ( enable sound cards as modules, networks,iptables and NAT as modules).
5. make dep && clean bzImage modules modules_install
6. cp arch/i386/boot/bzImage /boot/kernel-2.4.26-gentoo-r3
7. cp System.map /boot/System.map-2.4.26-gentoo-r3
8. cp .config /boot/config-2.4.26-gentoo-r3
9. emerge alsa-driver
10. emerge alsa-oss
11. emerge alsa-utils
12. modules-update

And I've got very long list of.... depmod: *** Unresolved symbols in /lib/modules/2.4.26-gentoo-r3


And then I've already try different kernels like ...vanila-sources,gs-sources and end up with same error.


So far I've done removed/moved old modules on lib :

mv /lib/modules/linux-2.4.26-gentoo-r3 /lib/modules/linux-2.4.26-gentoo-r3.old

But still..have problem..

Any kernel guru..help me out...that'll be great


Cheers


Last edited by marina on Sun Jul 11, 2004 5:55 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri Jul 09, 2004 3:13 pm    Post subject: Reply with quote

marina,

Step 5a mount /boot
Do
Code:
uname -a
and check the kernel build date, just to see if its the kernel you think it is.

Issue all the make commands one at a time so that you can see if one breaks.
_________________
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
marina
n00b
n00b


Joined: 22 Jun 2004
Posts: 16

PostPosted: Fri Jul 09, 2004 9:56 pm    Post subject: Reply with quote

NeddySeagoon wrote:
marina,

Step 5a mount /boot
Do
Code:
uname -a
and check the kernel build date, just to see if its the kernel you think it is.

Issue all the make commands one at a time so that you can see if one breaks.



yupe I did it but still no luck:
Code:

bash-2.05b# uname -a
Linux SexyBabe 2.4.26-gentoo-r3 #1 Sat Jul 10 13:01:20 AUST 2004 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz GenuineIntel GNU/Linux


BTW the day before I did emerge -uD world Will that be the problem?? I mean...like a new gcc stuff? cause I try different kernel with same result.
Back to top
View user's profile Send private message
marina
n00b
n00b


Joined: 22 Jun 2004
Posts: 16

PostPosted: Fri Jul 09, 2004 10:07 pm    Post subject: Reply with quote

OK I tried different method:
Code:



1. ln -sf /usr/src/linux-2.4.26-gentoo-r3 /usr/src/linux
2. cd /usr/src/linux
3. make mrproper
4. make menuconfig ( enable sound cards as modules, networks,iptables and NAT as modules).
4.a mv /lib/modules/2.4.26-gentoo-r3 /lib/modules/2.4.26-gentoo-r3.old
5. make dep && clean bzImage modules modules_install
5.a mount /boot
6. cp arch/i386/boot/bzImage /boot/kernel-2.4.26-gentoo-r3
7. cp System.map /boot/System.map-2.4.26-gentoo-r3
8. cp .config /boot/config-2.4.26-gentoo-r3
9. emerge alsa-driver
10. emerge alsa-oss
11. emerge alsa-utils
12. modules-update



Notice that 4a and 5a but still same error result.... along time ago I never have problem like this when I rebuilt my kernel.
And I am beginning to think..may be because that emerge -uD world I did the day before...

I need that IP tables modules really badly cause..I am running vmware on my laptop (trying to run windows 2003 server as test server..)

And now I have to get back to genkernel cause I cannot used IPtables..


Any advise..anyone..

Cheerss
Back to top
View user's profile Send private message
marina
n00b
n00b


Joined: 22 Jun 2004
Posts: 16

PostPosted: Sat Jul 10, 2004 4:15 am    Post subject: Reply with quote

Allright I was searching on kernel bugs problem for modules upload..it seems to me gcc-3.3 have alot problem for modules-update


So I am going to downgrade my gcc-3.3.3 to gcc-3.2.4

Anyone want to tell me what is the best way to downgrade gcc-3.2.4??


I've been thinking to upgrading my gcc to 3.3 but different version..how you guys did it?

if I do this :
Code:

emerge -eUp world


edit: I just realised in my /etc/make.conf:
Code:

#ACCEPT_KEYWORDS="~arch"


Should that be change to x86 or ~x86...?? and remove #.



Will that be changing gcc version? instead of emerge -uD world..?
Back to top
View user's profile Send private message
marina
n00b
n00b


Joined: 22 Jun 2004
Posts: 16

PostPosted: Sun Jul 11, 2004 5:59 am    Post subject: Reply with quote

I've solved the problem ....I found that problem on gcc :gcc-3.3.3-r2..... I've upgraded to gcc-3.3.3-r6.

It means that gcc-3.3.3-r2 still buggy cause I couldn't rebuild any kernel( vanilla sources-2.4.26, gentoo-sources,gs sources,etc) to enable modules on alsa,pcmcia,iptables,NAT (could be anything else).
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