The reccomended method in Gentoo is a custom kernel...however...

If you link /usr/src/linux to the new kernel then run genkernel it generally 
works fine. The downside is that it compiles everything so it takes a while. 
I suspect the kernel compile won't matter compared to X/QT/GTK/KDE/Gnome if 
you are going for a desktop box.

I believe the method is:

#emerge -va genkernel
#genkernel all

then make sure grub/lilo is happy.

Nick

On Saturday 18 November 2006 18:42, you wrote:
> OK, I hooked up to ethernet (yes, sitting on the dryer) and did an
> emerge -sync. Seems like an apt-get update - I can understand that.
>
> I then tried specifically installing the 2.6.17-gentoo-r7 sources
> again, but got the same error as below. I then emerged gentoo-sources
> and ended up with the source to 2.6.18-r2.
>
> So while I'm in a different position, I'm still in a bad position. I
> cannot seem to get the same kernel and kernel source on my machine.
>
> Maybe I'm bringing the wrong mindset to the party. Is there such a
> thing as a compiled kernel in the Gentoo world, or now that I have the
> 2.6.18-gentoo-r2 source, am I expected to compile it and then boot
> into it?
>
> I'm OK with that if that's how it is. I'm just concerned that if I'm
> supposed to be able to get a compiled kernel then I apparently have a
> problem.
>
> Thanks!
>
> Quoting Nick Wiltshire <[EMAIL PROTECTED]>:
> > Ok, it looks like your portage tree is outdated. Seems odd a program
> > would require a kernel source that isn't provided.
> >
> > You need to emerge --sync but thats hard with no network.
> >
> > As for searching, you can use emerge -s or -S but those are pretty slow.
> > If you can install gentoolkit use equery like so:
> >
> > #equery l search-pattern -p
> >
> > The l means "list" and -p tells it to search the entire portage tree.
> >
> > If you can do this:
> >
> > #emerge -va gentoolkit
> >
> > then do this:
> >
> > #equery l gentoo-sources -p
> >
> > Nick
> >
> > On Saturday 18 November 2006 18:09, [EMAIL PROTECTED] wrote:
> >> Hmm...closer. I get this:
> >>
> >> !!! 'sys-kernel/gentoo-sources-2.6.17-r7' is not a valid package atom.
> >> !!! Please check ebuild(5) for full details.
> >> !!! (Did you specify a version but forget to prefix with '='?)
> >>
> >>
> >> I know that I have to figure out how to use portage/emerge, but that's
> >> hard to do without an Internet connection. Once I get this card
> >> running, I'll be more self sufficient, I swear :)
> >>
> >> Is there like an apt-cache search for portage?
> >>
> >> J
> >>
> >> Quoting Nick Wiltshire <[EMAIL PROTECTED]>:
> >> > Ahh ok,
> >> >
> >> > try this:
> >> >
> >> > #emerge -va sys-kernel/gentoo-sources-2.6.17-r7
> >> >
> >> > On Saturday 18 November 2006 17:46, you wrote:
> >> >> Hey Nick,
> >> >>
> >> >> I get that part, but my issue is that I don't have the source for my
> >> >> running kernel. I ended up running gentoo-r7, but the only sources in
> >> >> my /usr/src is gentoo-r5.
> >> >>
> >> >> In order to emerge my ipw3945 package, the running kernel and
> >> >> available source have to jive. My two options, therefore, are to
> >> >> either downgrade my running kerel to gentoo-r5 to match my sources,
> >> >> or to install the source for gentoo-r7.
> >> >>
> >> >> I'd prefer to install the sources for gentoo-r7, but I cam't figure
> >> >> out how to. Google seems to think that emerging gentoo-sources will
> >> >> work, but it doesn't. It leaves me with just the gentoo-r5 sources.
> >> >>
> >> >> Is there some way I can specify "go get the gentoo-r7 sources"?
> >> >>
> >> >> Thanks!
> >> >>
> >> >> J
> >> >>
> >> >> Quoting Nick Wiltshire <[EMAIL PROTECTED]>:
> >> >> > Make sure the symlink /usr/src/linux is pointing to the correct
> >> >> > sources.
> >> >> >
> >> >> > #cd /usr/src
> >> >> > #ls -l
> >> >> >
> >> >> > if it isn't...
> >> >> >
> >> >> > #rm linux (type carefully!)
> >> >> > #ln -s 2.6.17-gentoo-r7 linux
> >> >> >
> >> >> > HTH
> >> >> > Nick
> >> >> >
> >> >> > On Saturday 18 November 2006 17:33, [EMAIL PROTECTED] wrote:
> >> >> >> Yes, I'm trying to install Gentoo. Actually, more correctly, I
> >> >> >> have Gentoo installed and am now trying to clean up the little
> >> >> >> bits that don't work. At the moment, I am trying to install the
> >> >> >> net-wireless/ipw3945 package. However, I don't have the right
> >> >> >> kernel sources.
> >> >> >>
> >> >> >> I am running 2.6.17.-gentoo-r7 but only have sources for
> >> >> >> 2.6.17-gentoo-r5. I can't, for the lifeof me, figure out how to
> >> >> >> install the r7 sources. I've tried all of the obvious
> >> >> >> gentoo-sources that pop up on Google, but no go.
> >> >> >>
> >> >> >> Anyone wanna throw me a bone?
> >> >> >>
> >> >> >> thanks!
> >> >> >>
> >> >> >> _______________________________________________
> >> >> >> clug-talk mailing list
> >> >> >> [email protected]
> >> >> >> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> >> >> >> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> >> >> >> **Please remove these lines when replying
> >> >> >
> >> >> > _______________________________________________
> >> >> > clug-talk mailing list
> >> >> > [email protected]
> >> >> > http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> >> >> > Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> >> >> > **Please remove these lines when replying
> >> >
> >> > _______________________________________________
> >> > clug-talk mailing list
> >> > [email protected]
> >> > http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> >> > Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> >> > **Please remove these lines when replying
> >>
> >> _______________________________________________
> >> clug-talk mailing list
> >> [email protected]
> >> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> >> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> >> **Please remove these lines when replying
> >
> > _______________________________________________
> > clug-talk mailing list
> > [email protected]
> > http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> > Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> > **Please remove these lines when replying

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to