Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eth0 problems with 8139
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
R2-D2
n00b
n00b


Joined: 05 May 2003
Posts: 28
Location: Wesel, Germany

PostPosted: Mon May 05, 2003 10:37 pm    Post subject: eth0 problems with 8139 Reply with quote

Hi there,
I have the same Problem discribed in this thread
https://forums.gentoo.org/viewtopic.php?t=51360&highlight=

but i can't solve that as easy as discribed there.

when I use "modprobe 8139too"
I get a message called:
"Couldn't find the Kernel version the module was compiled for"

I added 8139 Support in Kernel later after main Setup, und compiled it 2 or 3 times now. But i am not sure if he boots with the original Kernel or the new compiled one. What commands do I have to use, when compiling has finished?

be pleasant to me, im n00b with very little professional linux skills ^^

- R2-D2
Back to top
View user's profile Send private message
duffolonious
n00b
n00b


Joined: 04 Apr 2003
Posts: 34

PostPosted: Tue May 06, 2003 5:52 am    Post subject: kernel stuff Reply with quote

well that depends on how you compile the kernel:

example: (starting over with fresh kernel)
Quote:

emerge vanilla-sources
cd /usr/src/linux
make mrproper && make menuconfig && make bzImage && make dep && make modules && make modules_install && make install


for your second compile with the same source, replace "make mrproper" with "make clean", and that should do it.

If you do make mrproper on second compile your modules will have unresolved symbols when you boot that kernel.

I hope this is helpful.
_________________
~Duff
Back to top
View user's profile Send private message
duffolonious
n00b
n00b


Joined: 04 Apr 2003
Posts: 34

PostPosted: Tue May 06, 2003 6:12 am    Post subject: more kernel and module stuff Reply with quote

Also a couple of other things,

Loading your 8139too modules (I have the same card).

Now then...
(make sure you compile the card as a module "<M>" , no "<*>")

Loading the module in gentoo:
Quote:

$nano modules.autoload
add this: "8139too"
save and exit (control-x)


Back to the kernel: (I was out of order)
Quote:

mrproper - cleans kernel src, back to original.
menuconfig - menu to configure kernel
dep - make dependencies
bzImage - kernel image compressed
modules - makes modules
modules_install - installs modules
install - install kernel into bootloader, either grub or lilo, very handy.


Again, I hope this helps, I feel like I might be sidestepping your question.
_________________
~Duff
Back to top
View user's profile Send private message
R2-D2
n00b
n00b


Joined: 05 May 2003
Posts: 28
Location: Wesel, Germany

PostPosted: Tue May 06, 2003 6:18 am    Post subject: Reply with quote

thx 4 reply...
i ll test this ones
Back to top
View user's profile Send private message
freakallen
n00b
n00b


Joined: 02 May 2003
Posts: 1
Location: Augusta, Georgia USA

PostPosted: Thu May 08, 2003 5:47 pm    Post subject: Reply with quote

You can also if compiling 8139too into the kernel (setting it as * instead of M, make things work by doing a "make install at the end of all the other make commands then runing "lilo". Anouther way to do the same thing instead of "make install" is to "cp /usr/src/linux/arch/i386/boot/bzImage /boot"

Make sure to mount your boot partition first before the above steps by "mount /dev/hdxy /boot"

X being your drive such as a,b,c,etc and Y being your partition being 1,2,3,etc.

Then afterwards run "lilo" like the last option.


Its much easier though the way mentioned already of compiling it as a module (using M and not *) then just adding the appropriate lines mentioned already into the modules.autoload file. Hope this information is usefull for you.
Back to top
View user's profile Send private message
R2-D2
n00b
n00b


Joined: 05 May 2003
Posts: 28
Location: Wesel, Germany

PostPosted: Thu May 08, 2003 7:08 pm    Post subject: Reply with quote

thanks 4 help guys.
This could have taken me a long time,
but I read your comment again carfully,
and noticed that the M at Kernel Settings
means Module, I didn't think about that ^^

... a poor silly n00b mistake ^^

but big thanks for help :)

- R2-D2
Back to top
View user's profile Send private message
uzik
Apprentice
Apprentice


Joined: 17 Apr 2003
Posts: 257

PostPosted: Fri May 09, 2003 4:46 pm    Post subject: Reply with quote

did you actually boot using your new kernel once you compiled it?

You must do something like

# make kernel

# mount your boot partition as /boot
mount /dev/hda1 /boot
# copy old kernel JUST IN CASE YOU MESS IT UP!
cp /boot/bzImage /boot/bzImage.old
# copy new kernel to your boot partition
cp /usr/src/linux/arch/i386/boor/bzImage /boot
# tell boot loader new kernel size etc.
# you'll have to do something different for grub
lilo

I made up another boot entry called 'backup' in my lilo.config
I pointed it to bzImage.old. So if my new kernel
locked up my computer I could boot the old one from
the menu lilo provides at bootup. Once you get the kernel
working you can take out the menu if you like.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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