Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A couple of kernel and kernel compile questions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
pen
n00b
n00b


Joined: 08 Jun 2002
Posts: 17
Location: Great NW

PostPosted: Sat Jun 08, 2002 11:46 pm    Post subject: A couple of kernel and kernel compile questions Reply with quote

I am running an AMD Athlon. I actually installed from the i686 ISO image. I unpacked the stage3 file and jumped in at 'Final steps".

I compiled the kernel (my first ever), accidently leaving it as i686. Can't remember if I compiled network support for my Realtek 8139 card as a module in "in-kernel". Anyway it booted and it ran, so I installed KDE3 and a couple of other things.

Today I decided to do another kernel build, this time for Athlon. I selected to have the 8139 support as a module. The compile appeared to run fine - or at least I think it did, the screen scrolls so fast who can tell. When I booted it the 8139too.o driver failed to load with an unresolved "_mmx_...." message.

Does the "_mmx_..." imply that it was looking to link to an Intel specific address point that was no long in my "Athlon" kernel? I got networking back by recompiling with direct 8139 support and am typing this message on the box.

Another question. When you build a kernel will it compile the driver modules as well ro do you have to do that specifically?

/Pen
Back to top
View user's profile Send private message
tomte
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2002
Posts: 122

PostPosted: Sat Jun 08, 2002 11:54 pm    Post subject: Re: A couple of kernel and kernel compile questions Reply with quote

pen wrote:
I am running an AMD Athlon. I actually installed from the i686 ISO image. I unpacked the stage3 file and jumped in at 'Final steps".

I compiled the kernel (my first ever), accidently leaving it as i686. Can't remember if I compiled network support for my Realtek 8139 card as a module in "in-kernel". Anyway it booted and it ran, so I installed KDE3 and a couple of other things.

Today I decided to do another kernel build, this time for Athlon. I selected to have the 8139 support as a module. The compile appeared to run fine - or at least I think it did, the screen scrolls so fast who can tell. When I booted it the 8139too.o driver failed to load with an unresolved "_mmx_...." message.

Does the "_mmx_..." imply that it was looking to link to an Intel specific address point that was no long in my "Athlon" kernel? I got networking back by recompiling with direct 8139 support and am typing this message on the box.

Another question. When you build a kernel will it compile the driver modules as well ro do you have to do that specifically?

/Pen


in /usr/src/linux do an
Code:

cp .config ..
make mrproper
mv ../.config .

before you start with make menuconfig etc. to get really rid of old stuff.

and yes, you have do build the modules (well not in any case /need/ to, but in any case useful ;) if you build a new kernel.

and don't forget to reemerge alsa-driver, nvidia-kernel, lm_sensors and/or any other package that builds kernel-modules that you have installed (if you don't have this stuff patched into the kernel, that is)


regards,
tom
Back to top
View user's profile Send private message
jay
l33t
l33t


Joined: 08 May 2002
Posts: 980

PostPosted: Sun Jun 09, 2002 8:17 am    Post subject: Reply with quote

pen: you didn't search the forum, didn't you ? :-)

There is a complete howto in the tips & Tricks section:
https://forums.gentoo.org/viewtopic.php?t=3913
_________________
Do you want your posessions identified? [ynq] (n)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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