Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net.eth0 absent.
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sat Mar 24, 2007 5:16 pm    Post subject: Reply with quote

Black Zer0 wrote:
Ok, but I still want to know how to get a newer kernel version and/or why it would be a good/bad idea
Nothing wrong with a later version, 2.6.20-r3 is running happily here ... but YMMV :)

The latest stable gentoo-sources is 2.6.19-r5, if you want a later one (i.e. an "unstable" one)
Code:
echo 'gentoo-sources' >> /etc/portage/package.keywords
and "emerge gentoo-sources" will install the source of 2.6.20-r3.

You may want to get the symbolic link /usr/src/linux changed whever you emerge a new gentoo-sources
Code:
echo 'gentoo-sources symlink' >> /etc/portage/packages.use
will do this for you.

If you go backwards and forwards between kernel versions, you will then have to check that the symlink is pointing to the source of the kernel you are compiling each time.

Black Zer0 wrote:
Also I used an i686 tarball so why is the arch folder i386(not because you told me to write i386 but because it actualy exists)
This is just the name of the directory under arch. Originally the kernel was for 80386's, then, when the 486 came out, code to run better on that was added. Now, under i386, you have everything from an 80386 to a Pentium 4, including AMDs k6, Duron and Athlon XP, WinChip, VIA Nehemiah and so on.. They are all x86 architecture bundled together under the old name.

Black Zer0 wrote:
I am very much sick of this error
Code:
(chroot) livecd linux # make && make modules_install && make install
scripts/kconfig/conf -s arch/i386/Kconfig
 ...
rm: cannot remove `/lib/modules/2.6.19-gentoo-r5/kernel/fs': Function not implemented
rm: cannot remove `/lib/modules/2.6.19-gentoo-r5/kernel/crypto': Function not implemented
rm: cannot remove `/lib/modules/2.6.19-gentoo-r5/kernel/drivers': Function not implemented
rm: cannot remove `/lib/modules/2.6.19-gentoo-r5/kernel/lib': Function not implemented
rm: cannot remove `/lib/modules/2.6.19-gentoo-r5/kernel/arch': Function not implemented
rm: cannot remove `/lib/modules/2.6.19-gentoo-r5/kernel/net': Function not implemented
make: *** [_modinst_] Error 1
Not the toolchain, probably /proc not mounted.

chrooting from Updating KC11 — kernel compiling for the beginner
Code:
livecd ~ # mount /dev/sda3 /mnt/gentoo
livecd ~ # mount /dev/sda1 /mnt/gentoo/boot
livecd ~ # cd /
livecd / # mount -t proc proc /mnt/gentoo/proc
livecd / # chroot /mnt/gentoo /bin/bash
livecd / # env-update && source /etc/profile
Note, you may have to change sda3 and sda1 to suit your layout.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
Black Zer0
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2007
Posts: 131
Location: Almonte Ontario Canada

PostPosted: Sat Mar 24, 2007 5:37 pm    Post subject: Reply with quote

oh of course I'm 100% sure I forgot to mount /proc because I am on the livecd because X isnt working--------->Thread:Xorg:noscreens

EDIT: thank you thats one problem solved all I had to do was boot the new kernel and it worked. Now to get X working.(Link above)

This post was not made from the livecd but in links
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
Goto page Previous  1, 2
Page 2 of 2

 
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