Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
older kernel(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
Gankfest
l33t
l33t


Joined: 01 Aug 2007
Posts: 946
Location: Miami Beach, FL

PostPosted: Mon Mar 31, 2008 1:34 am    Post subject: older kernel(solved) Reply with quote

Is there a way to emerge an older kernel such as 2.6.19-gentoo-r3, instead of 2.6.24-gento-r3. The menuconfig is all messed up in 2.6.24 and would be great to use a stable version.
_________________
Gankfest™ (>")> ~*

Everyone has to start somewhere, it depends on where you end up that counts! (>")>


Last edited by Gankfest on Tue Apr 01, 2008 7:56 am; edited 1 time in total
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Mon Mar 31, 2008 2:21 am    Post subject: Reply with quote

paradox6996 wrote:
Is there a way to emerge an older kernel such as 2.6.19-gentoo-r3, instead of 2.6.24-gento-r3.
In general, emerge -av '=sys-kernel/gentoo-sources-2.6.19-r5'. If there is a specific need for sys-kernel/gentoo-sources/2.6.19-r3, the ebuild can be retrieved from sources.gentoo.org and placed in an overlay.
paradox6996 wrote:
The menuconfig is all messed up in 2.6.24 and would be great to use a stable version.
Is it nonfunctional or just unfamiliar?
Back to top
View user's profile Send private message
Gankfest
l33t
l33t


Joined: 01 Aug 2007
Posts: 946
Location: Miami Beach, FL

PostPosted: Mon Mar 31, 2008 2:39 am    Post subject: Reply with quote

it is missing drivers in the menu config. I'm trying to get my network working but I'm lost. I wanted to install an older kernel like 2.6.19-r5, but I don't know how.
_________________
Gankfest™ (>")> ~*

Everyone has to start somewhere, it depends on where you end up that counts! (>")>
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10733
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Mar 31, 2008 3:25 am    Post subject: Reply with quote

Well, 2.6.19-r3 isn't in portage, but 2.6.19-r5 is. Should be close enough. Just
Code:
emerge =sys-kernel/gentoo-sources-2.6.19-r5
That's all there is to it.

To see what versions of a package are in Portage, use equery, which is part of gentoolkit. For instance,
Code:
ceres ~ # equery list -p gentoo-sources
[ Searching for package 'gentoo-sources' in all categories among: ]
 * installed packages
[I--] [ ~] sys-kernel/reiser4-gentoo-sources-2.6.22-r5 (2.6.22-r5)
[I--] [ ~] sys-kernel/reiser4-gentoo-sources-2.6.24-r2 (2.6.24-r2)
 * Portage tree (/usr/portage)
[-P-] [  ] sys-kernel/gentoo-sources-2.6.16-r13 (2.6.16-r13)
[-P-] [  ] sys-kernel/gentoo-sources-2.6.19-r5 (2.6.19-r5)
[-P-] [M~] sys-kernel/gentoo-sources-2.6.20-r10 (2.6.20-r10)
[-P-] [  ] sys-kernel/gentoo-sources-2.6.22-r10 (2.6.22-r10)
[-P-] [  ] sys-kernel/gentoo-sources-2.6.23-r9 (2.6.23-r9)
[-P-] [M~] sys-kernel/gentoo-sources-2.6.24 (2.6.24)
[-P-] [M~] sys-kernel/gentoo-sources-2.6.24-r1 (2.6.24-r1)
[-P-] [M~] sys-kernel/gentoo-sources-2.6.24-r2 (2.6.24-r2)
[-P-] [  ] sys-kernel/gentoo-sources-2.6.24-r3 (2.6.24-r3)
ceres ~ #
Which is how I knew that 2.6.19-r5 was available.

Also, you might want to peruse the emerge man page and the Working with Gentoo and Working with Portage chapters of the Gentoo Handbook. :wink:

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Gankfest
l33t
l33t


Joined: 01 Aug 2007
Posts: 946
Location: Miami Beach, FL

PostPosted: Mon Mar 31, 2008 3:38 am    Post subject: Reply with quote

I emerged the kernel on chroot env through live cd, but couldn't figured out where it saved it. where does it save too and how can I make menuconfig for 2.6.19 in /usr/src/linux.
_________________
Gankfest™ (>")> ~*

Everyone has to start somewhere, it depends on where you end up that counts! (>")>
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10733
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Mar 31, 2008 4:15 am    Post subject: Reply with quote

It saves it in "/usr/src/<your_kernel_name_here>". In your case, that would be "/usr/src/linux-2.6.19-gentoo-r5". Go to "/usr/src" and do
Code:
ls -l
If the "linux" symlink doesn't point to the right source directory, then delete it and create a new symlink pointing to the correct source directory, like so:
Code:
rm linux
ln -s linux-2.6.19-gentoo-r5 linux
Then you can change into the "linux" directory and run "make menuconfig". Of course, you could've just changed into "linux-2.6.19-gentoo-r5" but the symlink should point to the kernel you're using.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Gankfest
l33t
l33t


Joined: 01 Aug 2007
Posts: 946
Location: Miami Beach, FL

PostPosted: Mon Mar 31, 2008 5:48 am    Post subject: Reply with quote

I recompiled a 2.6.19-r5 kernel and still have no networking. I have the kernel drivers built in for my mcp55 chipset. I get the error when starting dhcpcd:

err, eth0: timed out
warn, eth0: using ipv4ll address 169.254.217.174
err, eth0: failed to lookup hostname via dns: temp failure in name resolution

any help would be greatly appreciated, I've tried everything I know and am completely lost!
_________________
Gankfest™ (>")> ~*

Everyone has to start somewhere, it depends on where you end up that counts! (>")>
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10733
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Mar 31, 2008 1:10 pm    Post subject: Reply with quote

Some questions and actions:
  • Did you install the kernel and reboot?
  • Did you modify "grub.conf" to use the new kernel?
  • Is the driver built-in or built as a module? If as a module, did you remember to run "make modules_install"?
  • Please post the output of "lspci".
  • Please look at the tail end of "/var/log/messages" to see if there are any error messages associated with your network card driver.
- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Gankfest
l33t
l33t


Joined: 01 Aug 2007
Posts: 946
Location: Miami Beach, FL

PostPosted: Mon Mar 31, 2008 6:55 pm    Post subject: Reply with quote

I did installed and rebooted the kernel.

yes grub.conf is correct

the driver is built in

I cant post the whole lspci, but for eth cards it says:

00:08.0 bridge: Nvidia Corp mcp55 eth. (rev a2)
00:09.0 bridge: Nvidia Corp mcp55 eth. (rev a2)
I only using eth0, eth1 is not connected.

idk how to look at the tail of /var/log/message.

If you can tell me I'll be glad to post it
_________________
Gankfest™ (>")> ~*

Everyone has to start somewhere, it depends on where you end up that counts! (>")>
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10733
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Mar 31, 2008 7:20 pm    Post subject: Reply with quote

Just do
Code:
less /var/log/messages
and then press "ESC >" (hit the ESC key and then hit the "greater than" key), which will position you at the end of the file. You can then browse around with PgUp and PgDn and look for error messages.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Gankfest
l33t
l33t


Joined: 01 Aug 2007
Posts: 946
Location: Miami Beach, FL

PostPosted: Mon Mar 31, 2008 7:37 pm    Post subject: Reply with quote

ok i got what you mean by tail.

localhost dhcpcd[4733]: eth0: failed to lookup host name via DNS: temp failure in name resolution
localhost dhcpcd[4733]: eth0: adding ip add. 169.254.217.174/16

thats the end of it repeating of course.

anything else you need just ask. Thanx!
_________________
Gankfest™ (>")> ~*

Everyone has to start somewhere, it depends on where you end up that counts! (>")>
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10733
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Mar 31, 2008 9:19 pm    Post subject: Reply with quote

Yeah, look further up. Those are DHCP failures, which are being caused by your network driver problem. Look for something that is from the driver itself.

Also, could you let me know the exact kernel driver you're enabling? Device Drivers / Network device support / what?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Gankfest
l33t
l33t


Joined: 01 Aug 2007
Posts: 946
Location: Miami Beach, FL

PostPosted: Mon Mar 31, 2008 9:41 pm    Post subject: Reply with quote

I enabled the PHY Marvell drivers, and nvidia nforce ethernet drivers(forcedeth)

log shows for forcedeth and nvidia:

localhost loop: loaded (max 8 devices)
localhost Marvell 88e1101: registered new driver
localhost forcedeth.c: reverse engineered nforce eth driver ver 0.57

localhost forcedeth: using highdma
localhost eth0: forcedeth.c: subsystem: 01043:8239 bound to 0000:00:08.0

NFORCE-MCP55: ide controller at pci slot 0000:00:04.0
NFORCE-MCP55: chipset revision 161
NFORCE-MCP55: not 100% native mode: will probe irqa later
NFORCE-MCP55: 0000:00:04.0 (rev a1) udma133 controller

thats all I saw related to forcedeth and nvidia devices, if this isn't what you wanted I'm sorry, I have a mem stick pro duo that i can transfer the file to this computer and post if gentoo supports it.
_________________
Gankfest™ (>")> ~*

Everyone has to start somewhere, it depends on where you end up that counts! (>")>
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10733
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Mar 31, 2008 9:46 pm    Post subject: Reply with quote

Have you seen this guide in the Gentoo Wiki? Apparently others have been frustrated with the setup, but there are specific instructions on how to set the kernel configuration.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Gankfest
l33t
l33t


Joined: 01 Aug 2007
Posts: 946
Location: Miami Beach, FL

PostPosted: Mon Mar 31, 2008 9:54 pm    Post subject: Reply with quote

I followed a similar guide for AMD board M2N-E wiki guide, but that guide is the same nic wise. Thats why I'm so confused cuz I followed that guide and my network is still not working.
_________________
Gankfest™ (>")> ~*

Everyone has to start somewhere, it depends on where you end up that counts! (>")>
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