Re: [gentoo-user] NIC not detected after Kernel upgrade
Also, you should avoid using oldconfig except for really minor kernel upgrades. I know this is mentioned in documentation elsewhere, but just a useful reminder. ~daid This has been discussed on this list before. Running make oldconfig works fine. I, and a lot of others, have said this many times. I configed one kernel about 5 years ago and have used oldconfig ever since. It is faster and less prone to problems than starting from scratch. If you are going from 2.4 to 2.6, then you should start fresh. I recently went from 2.6.23 to a 2.6.28 with no problem, other than trying to figure out that new group stuff. Dale Huh. I was going from 2.6.23 to 2.6.26 about 2 weeks ago and using oldconfig was giving me some major trouble as I recall. Not sure specifically now, but I know CONFIG_HPET_TIMER had to be turned off later during manual configuration, or my machine was hanging after some ACPI scripts. This behavior is replicated elsewhere for similar hardware, though the author claimed it was fixed after 2.6.25 which I found to clearly not be the case. I had also not manually configured my own kernel either, so I thought it's worth the experience. I could save my current configuration for 2.6.26 and try oldconfig again from 2.6.23.9 to make another 2.6.26 kernel and see what the problem was. ~daid
Re: [gentoo-user] NIC not detected after Kernel upgrade
I'm inclined to sumbit to the expertise of others when choosing kernel compilation options, and so I generally boot a recent liveCD and take a copy of the kernel .config from there (`zcat /proc/config.gz`) System Rescue CD uses a kernel of about the same vintage as the one you're trying to upgrade to. I suggest you boot with it see if your NIC works. If so, copy the kernel config `make oldconfig`. http://www.sysresccd.org/Main_Page Stroller. I'm pretty sure the kernels used for LiveCDs are absolutely huge because they just assume you have basically every piece of hardware available, and thus take much longer to boot (comparing a LiveCD on my machine to my kernel, maybe 4 to 5 times longer). So, sure this will make your computer work, but it doesn't really seem like a good way to go about things, at least not other than for the first boot and a backup kernel. Come to think of it, this sounds like an amazing way to make a backup kernel for when something goes wrong so I don't have to throw in the Live CD (assuming grub is still booting at that point). But not for your primary kernel for daily use. ~daid
Re: [gentoo-user] NIC not detected after Kernel upgrade
On Wed, 18 Feb 2009 19:59:38 +0900, daid kahl wrote: I'm pretty sure the kernels used for LiveCDs are absolutely huge because they just assume you have basically every piece of hardware available, and thus take much longer to boot (comparing a LiveCD on my machine to my kernel, maybe 4 to 5 times longer). The kernel itself isn't that large, all the drivers are compiled as modules and anyneeded for booting are stuffed into an initrd. The slow boot times are due to the whole filesystem being stored as a compressed image on a slow medium. -- Neil Bothwick Obscenity is the crutch of inarticulate motherfuckers. signature.asc Description: PGP signature
Re: [gentoo-user] NIC not detected after Kernel upgrade
daid kahl пишет: Also, you should avoid using oldconfig except for really minor kernel upgrades. I know this is mentioned in documentation elsewhere, but just a useful reminder. ~daid This has been discussed on this list before. Running make oldconfig works fine. I, and a lot of others, have said this many times. I configed one kernel about 5 years ago and have used oldconfig ever since. It is faster and less prone to problems than starting from scratch. If you are going from 2.4 to 2.6, then you should start fresh. I recently went from 2.6.23 to a 2.6.28 with no problem, other than trying to figure out that new group stuff. Dale Huh. I was going from 2.6.23 to 2.6.26 about 2 weeks ago and using oldconfig was giving me some major trouble as I recall. Not sure specifically now, but I know CONFIG_HPET_TIMER had to be turned off later during manual configuration, or my machine was hanging after some ACPI scripts. This behavior is replicated elsewhere for similar hardware, though the author claimed it was fixed after 2.6.25 which I found to clearly not be the case. I had also not manually configured my own kernel either, so I thought it's worth the experience. I could save my current configuration for 2.6.26 and try oldconfig again from 2.6.23.9 to make another 2.6.26 kernel and see what the problem was. ~daid Hm, may be it's off-topic but I've seen such behavior on one of my servers - some ACPI events were hanging server with last kernels. The only thing I had to be done is to turn off ACPI in BIOS. Now service local isn't working and CPU frequency is not scaling also. Is this normal or can this parameter (CONFIG_HPET_TIMER) help me? Best regards, Evgeniy B. smime.p7s Description: S/MIME Cryptographic Signature
Re: [gentoo-user] NIC not detected after Kernel upgrade
2009/2/16 Guillermo Garron guillermo.fed...@gmail.com Hi, I am new to Gentoo, and yes I am also new to compiling kernels. I recently got in to configuring my own kernel (I'm not sure if you're at this level or using other people's .config files); it's a bit lazy and maybe risky not to configure it yourself, but you have to start somewhere. In any case, the two things I found most helpful are kccmp and http://cateee.net. The first is a program to compare two kernel configurations, and tell you the differences between them, and so on, displayed in a nice table in X; you can find it in the portage tree. Before I found that, I was literally like comparing the files by hand on print outs and stuff...what a nightmare. The other is a Debian developer's site, but there is a large part on kernel configuration (specifically at http://cateee.net/lkddb/). I didn't actually find a really easy way to search the site besides doing a google site-limited query (CONFIG_BLAH_BLAH site:cateee.net), but once you get to a config page, at the bottom there is also a google bar with a radio button for just searching that site. There could be better places to look for kernel configuration options, but that's what I was using, and obviously, if you want to configure your kernel, you should have a place to look up the options, and that database has a basic description of most (but not all) configurations at least for up to 2.6.26 (maybe later, but that's what I'm using right now). Maybe other people can point to other resources? Also, you should avoid using oldconfig except for really minor kernel upgrades. I know this is mentioned in documentation elsewhere, but just a useful reminder. ~daid
Re: [gentoo-user] NIC not detected after Kernel upgrade
On Tue, Feb 17, 2009 at 11:37 AM, daid kahl daid...@gmail.com wrote: 2009/2/16 Guillermo Garron guillermo.fed...@gmail.com Hi, I am new to Gentoo, and yes I am also new to compiling kernels. I recently got in to configuring my own kernel (I'm not sure if you're at this level or using other people's .config files); it's a bit lazy and maybe risky not to configure it yourself, but you have to start somewhere. In any case, the two things I found most helpful are kccmp and http://cateee.net. The first is a program to compare two kernel configurations, and tell you the differences between them, and so on, displayed in a nice table in X; you can find it in the portage tree. Before I found that, I was literally like comparing the files by hand on print outs and stuff...what a nightmare. The other is a Debian developer's site, but there is a large part on kernel configuration (specifically at http://cateee.net/lkddb/). I didn't actually find a really easy way to search the site besides doing a google site-limited query (CONFIG_BLAH_BLAH site:cateee.net), but once you get to a config page, at the bottom there is also a google bar with a radio button for just searching that site. There could be better places to look for kernel configuration options, but that's what I was using, and obviously, if you want to configure your kernel, you should have a place to look up the options, and that database has a basic description of most (but not all) configurations at least for up to 2.6.26 (maybe later, but that's what I'm using right now). Maybe other people can point to other resources? Also, you should avoid using oldconfig except for really minor kernel upgrades. I know this is mentioned in documentation elsewhere, but just a useful reminder. Thanks a lot friend, I am trying to configure my Kernel myself (I am not that lazy :)). I will try all the advices here, and will come back to tell you which was the one which works, it will take me some time, As I can only work on this briefly at nights and on weekends. regards. ~daid -- Guillermo Garron Linux IS user friendly... It's just selective about who its friends are. (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org
Re: [gentoo-user] NIC not detected after Kernel upgrade
On Mon, Feb 16, 2009 at 5:36 PM, Dirk Heinrichs dirk.heinri...@online.de wrote: Am Sonntag, 15. Februar 2009 22:52:42 schrieb Guillermo Garron: sudo lspci -v | grep Ether 00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02) Where did I write |grep Ether? That's pretty much useless as there is nothing new in it. Sorry pal. I did no realize I was giving the same info twice, but using the full version of the output with no greps. on the working kernel I got that the driver that is working is E1000 but when I activate it on the new kernel, it does not work either. Bye... Dirk -- Guillermo Garron Linux IS user friendly... It's just selective about who its friends are. (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org
Re: [gentoo-user] NIC not detected after Kernel upgrade
On Mon, Feb 16, 2009 at 5:40 PM, Dirk Heinrichs dirk.heinri...@online.de wrote: Am Montag, 16. Februar 2009 02:17:36 schrieb Stroller: System Rescue CD uses a kernel of about the same vintage as the one you're trying to upgrade to. I suggest you boot with it see if your NIC works. If so, copy the kernel config `make oldconfig`. Or even better: use lspci -v while running from CD, and enable the driver it tells you. Bye... Hi, I have run lspci -v on a Crunchbang Linux live CD, here is the output 00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02) Subsystem: Intel Corporation Device 0001 Flags: bus master, fast devsel, latency 0, IRQ 216 Memory at 9220 (32-bit, non-prefetchable) [size=128K] Memory at 92224000 (32-bit, non-prefetchable) [size=4K] I/O ports at 20e0 [size=32] Capabilities: access denied Kernel driver in use: e1000e Kernel modules: e1000e I will go to gentoo and configure the kernel that way. Dirk -- Guillermo Garron Linux IS user friendly... It's just selective about who its friends are. (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org
Re: [gentoo-user] NIC not detected after Kernel upgrade
Hi, I am top posting because it is solved. I want to help you all for your help, I am not sure about the problem but here are some hints, you will realize what it was. As I said before, I used this info for the new configuration. 00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02) Subsystem: Intel Corporation Device 0001 Flags: bus master, fast devsel, latency 0, IRQ 216 Memory at 9220 (32-bit, non-prefetchable) [size=128K] Memory at 92224000 (32-bit, non-prefetchable) [size=4K] I/O ports at 20e0 [size=32] Capabilities: access denied Kernel driver in use: e1000e Kernel modules: e1000e That info comes from lspci -v run on the Crunchbang Linux live CD. But I have also realized that I always was saving my configurations as. guille1.config, guille2.config, and so on. but this time I also did this. cp guille5.config .config and then compiled the kernel, I am almost sure that matters. thanks again for your help and time. regards, Guillermo Garron On Tue, Feb 17, 2009 at 8:40 PM, Guillermo Garron guillermo.fed...@gmail.com wrote: On Mon, Feb 16, 2009 at 5:40 PM, Dirk Heinrichs dirk.heinri...@online.de wrote: Am Montag, 16. Februar 2009 02:17:36 schrieb Stroller: System Rescue CD uses a kernel of about the same vintage as the one you're trying to upgrade to. I suggest you boot with it see if your NIC works. If so, copy the kernel config `make oldconfig`. Or even better: use lspci -v while running from CD, and enable the driver it tells you. Bye... Hi, I have run lspci -v on a Crunchbang Linux live CD, here is the output 00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02) Subsystem: Intel Corporation Device 0001 Flags: bus master, fast devsel, latency 0, IRQ 216 Memory at 9220 (32-bit, non-prefetchable) [size=128K] Memory at 92224000 (32-bit, non-prefetchable) [size=4K] I/O ports at 20e0 [size=32] Capabilities: access denied Kernel driver in use: e1000e Kernel modules: e1000e I will go to gentoo and configure the kernel that way. Dirk -- Guillermo Garron Linux IS user friendly... It's just selective about who its friends are. (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org -- Guillermo Garron Linux IS user friendly... It's just selective about who its friends are. (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org
Re: [gentoo-user] NIC not detected after Kernel upgrade
daid kahl wrote: Also, you should avoid using oldconfig except for really minor kernel upgrades. I know this is mentioned in documentation elsewhere, but just a useful reminder. ~daid This has been discussed on this list before. Running make oldconfig works fine. I, and a lot of others, have said this many times. I configed one kernel about 5 years ago and have used oldconfig ever since. It is faster and less prone to problems than starting from scratch. If you are going from 2.4 to 2.6, then you should start fresh. I recently went from 2.6.23 to a 2.6.28 with no problem, other than trying to figure out that new group stuff. Dale :-) :-)
Re: [gentoo-user] NIC not detected after Kernel upgrade
Am Sonntag, 15. Februar 2009 22:52:42 schrieb Guillermo Garron: sudo lspci -v | grep Ether 00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02) Where did I write |grep Ether? That's pretty much useless as there is nothing new in it. Bye... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] NIC not detected after Kernel upgrade
Am Montag, 16. Februar 2009 02:17:36 schrieb Stroller: System Rescue CD uses a kernel of about the same vintage as the one you're trying to upgrade to. I suggest you boot with it see if your NIC works. If so, copy the kernel config `make oldconfig`. Or even better: use lspci -v while running from CD, and enable the driver it tells you. Bye... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] NIC not detected after Kernel upgrade
Am Sonntag, 15. Februar 2009 22:31:40 schrieb Guillermo Garron: Here you can find the config file for my current kernel. This has CONFIG_E1000=y And the used to generate the new kernel (where NIC is not detected) This has both CONFIG_E1000=y and CONFIG_E1000E=y, maybe that's the problem. What does lspci -v tell about the used driver? Anything useful in the dmesg output? BTW: There are also some other NICs enabled in both your configs. HTH... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] NIC not detected after Kernel upgrade
I think you need just E1000E for your NIC. I use E1000E * for my intel: 00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03) signature.asc Description: PGP signature
Re: [gentoo-user] NIC not detected after Kernel upgrade
On Sun, Feb 15, 2009 at 5:40 PM, Dirk Heinrichs dirk.heinri...@online.de wrote: Am Sonntag, 15. Februar 2009 22:31:40 schrieb Guillermo Garron: Here you can find the config file for my current kernel. This has CONFIG_E1000=y And the used to generate the new kernel (where NIC is not detected) This has both CONFIG_E1000=y and CONFIG_E1000E=y, maybe that's the problem. What does lspci -v tell about the used driver? Anything useful in the dmesg output? Hi, Thanks for your prompt response. Here is the output of this command sudo lspci -v | grep Ether 00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02) BTW: There are also some other NICs enabled in both your configs. Yes, that is because I am not good a compiling kernels and did not know how to discover what NIC I have to enable only that driver or module. :( HTH... Dirk -- Guillermo Garron Linux IS user friendly... It's just selective about who its friends are. (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org
Re: [gentoo-user] NIC not detected after Kernel upgrade
On Sun, Feb 15, 2009 at 5:50 PM, Kenneth Prugh ken69...@gmail.com wrote: I think you need just E1000E for your NIC. I use E1000E * for my intel: 00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03) Hi, I think that is the one I should use! cause it seems I have the same card. I will try and let you know. regards. -- Guillermo Garron Linux IS user friendly... It's just selective about who its friends are. (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org
Re: [gentoo-user] NIC not detected after Kernel upgrade
On Sun, Feb 15, 2009 at 5:54 PM, Guillermo Garron guillermo.fed...@gmail.com wrote: On Sun, Feb 15, 2009 at 5:50 PM, Kenneth Prugh ken69...@gmail.com wrote: I think you need just E1000E for your NIC. I use E1000E * for my intel: 00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03) Hi, I think that is the one I should use! cause it seems I have the same card. I will try and let you know. I think I talked to fast, I have that enabled. I will try to disable the other one, and lets see. regards, Guillermo. regards. -- Guillermo Garron Linux IS user friendly... It's just selective about who its friends are. (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org -- Guillermo Garron Linux IS user friendly... It's just selective about who its friends are. (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org
Re: [gentoo-user] NIC not detected after Kernel upgrade
On 15 Feb 2009, at 21:31, Guillermo Garron wrote: ... I am running now uname -a Linux gentoo 2.6.25-gentoo-r8 #7 SMP Sun Nov 16 16:29:29 BOT 2008 i686 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz GenuineIntel GNU/Linux ... And the used to generate the new kernel (where NIC is not detected) http://www.go2linux.org/pics/other_files/gentoo/guille1.config.txt I'm inclined to sumbit to the expertise of others when choosing kernel compilation options, and so I generally boot a recent liveCD and take a copy of the kernel .config from there (`zcat /proc/config.gz`) System Rescue CD uses a kernel of about the same vintage as the one you're trying to upgrade to. I suggest you boot with it see if your NIC works. If so, copy the kernel config `make oldconfig`. http://www.sysresccd.org/Main_Page Stroller.
Re: [gentoo-user] NIC not detected after Kernel upgrade
On Sun, Feb 15, 2009 at 9:17 PM, Stroller strol...@stellar.eclipse.co.uk wrote: On 15 Feb 2009, at 21:31, Guillermo Garron wrote: ... I am running now uname -a Linux gentoo 2.6.25-gentoo-r8 #7 SMP Sun Nov 16 16:29:29 BOT 2008 i686 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz GenuineIntel GNU/Linux ... And the used to generate the new kernel (where NIC is not detected) http://www.go2linux.org/pics/other_files/gentoo/guille1.config.txt I'm inclined to sumbit to the expertise of others when choosing kernel compilation options, and so I generally boot a recent liveCD and take a copy of the kernel .config from there (`zcat /proc/config.gz`) System Rescue CD uses a kernel of about the same vintage as the one you're trying to upgrade to. I suggest you boot with it see if your NIC works. If so, copy the kernel config `make oldconfig`. Thanks a lot, did not know about that I will try to make it that way. best regards, Guillermo. http://www.sysresccd.org/Main_Page Stroller. -- Guillermo Garron Linux IS user friendly... It's just selective about who its friends are. (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org