Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-07 Thread Eric Martin

Neil Bothwick wrote:

On Tue, 6 Jan 2009 15:06:28 +, Peter Humphrey wrote:

  

I've seen a dev complain that most of the problems he's had to deal
with have been due to oldconfig, so I don't use it at all. I copy
the config in from the previous tree, then I run menuconfig and
search for lines ending in [NEW] or [DEPRECATED].  

How is this different from using make oldconfig, apart from the UI?  
  
I don't know; I just pick up my clues where I can. Perhaps there's a 
difference in handling of unchanged or default values.



Unchanged values are just that. When a config option is new, make
oldconfig prompts for a choice,with a default option (the same default
that menuconfig uses). The only real difference is that with menuconfig
you have to go through the options, looking for those marked NEW (and
risking missing an important one) while oldconfig presents them to you in
sequence,asking for your choice on each one.

I have boxes running 2.6.28 on which I have used oldconfig on every
change since switching them from2.4 to 2.6
Amen to that.  I've been doing that since 2.4 also and I'm not having 
any problems.  Any other way is just creating unnecessary work.




Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-07 Thread Dirk Heinrichs
Am Mittwoch, 7. Januar 2009 07:26:44 schrieb Alan McKinnon:
> e1000e breaks the hardware
> e1000 does not break the hardware
> Or maybe it's the other way round

Nope. None does. That bug was only present in one or two .27 release 
candidates and has been fixed since weeks.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-06 Thread Andreas Niederl
Alan McKinnon wrote:
> On Wednesday 07 January 2009 00:37:31 Denis wrote:
>> I'm doubtful that using oldconfig would make a driver not work because
>> I have done it this way for a while, going between various 2.6.x
>> versions, like 2.6.21 to 2.6.24...  And there was never an issue.
>> Maybe the E1000 driver somehow got messed up in this particular
>> version of the kernel.
>>
>> Now, that e1000e driver someone mentioned - how is it different from
>> the e1000 driver, and does the kernel float two versions, or it
>> depends on which kernel it is?
> 
> e1000e breaks the hardware
> e1000 does not break the hardware
> Or maybe it's the other way round
> 
> Anyway, two different drivers for the same hardware, the broken one was 
> removed from the sources till it gets fixed. You can always build both 
> drivers in a case like this but obviously you can only use one of them at a 
> time

Actually, there was a bug with Ftrace overwriting the flash ROM of a NIC
(which shouldn't have been mapped RW anyway) with e1000e in certain
cases. IIRC this was only present in the 2.6.27 release candidates and
got "fixed" by mapping it read-only for the final release.
2.6.28 then had the fix for the Ftrace bug.


Regards,
Andi



Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-06 Thread Alan McKinnon
On Wednesday 07 January 2009 00:37:31 Denis wrote:
> I'm doubtful that using oldconfig would make a driver not work because
> I have done it this way for a while, going between various 2.6.x
> versions, like 2.6.21 to 2.6.24...  And there was never an issue.
> Maybe the E1000 driver somehow got messed up in this particular
> version of the kernel.
>
> Now, that e1000e driver someone mentioned - how is it different from
> the e1000 driver, and does the kernel float two versions, or it
> depends on which kernel it is?

e1000e breaks the hardware
e1000 does not break the hardware
Or maybe it's the other way round

Anyway, two different drivers for the same hardware, the broken one was 
removed from the sources till it gets fixed. You can always build both 
drivers in a case like this but obviously you can only use one of them at a 
time



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-06 Thread Norberto Bensa
On Tuesday January 6 2009 20:37:31 Denis wrote:
> I'm doubtful that using oldconfig would make a driver not work because

Unless the "driver" (module) changed name ;)  (ata->pata/sata anyone?)

Anyway, I've always used oldconfig except when moving from 2.4 to 2.6

Regards,
Norberto



Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-06 Thread Denis
I'm doubtful that using oldconfig would make a driver not work because
I have done it this way for a while, going between various 2.6.x
versions, like 2.6.21 to 2.6.24...  And there was never an issue.
Maybe the E1000 driver somehow got messed up in this particular
version of the kernel.

Now, that e1000e driver someone mentioned - how is it different from
the e1000 driver, and does the kernel float two versions, or it
depends on which kernel it is?

Thanks,
Denis



Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-06 Thread Dale
Neil Bothwick wrote:
> On Tue, 6 Jan 2009 15:06:28 +, Peter Humphrey wrote:
>
>   
 I've seen a dev complain that most of the problems he's had to deal
 with have been due to oldconfig, so I don't use it at all. I copy
 the config in from the previous tree, then I run menuconfig and
 search for lines ending in [NEW] or [DEPRECATED].  
 
>>> How is this different from using make oldconfig, apart from the UI?  
>>>   
>> I don't know; I just pick up my clues where I can. Perhaps there's a 
>> difference in handling of unchanged or default values.
>> 
>
> Unchanged values are just that. When a config option is new, make
> oldconfig prompts for a choice,with a default option (the same default
> that menuconfig uses). The only real difference is that with menuconfig
> you have to go through the options, looking for those marked NEW (and
> risking missing an important one) while oldconfig presents them to you in
> sequence,asking for your choice on each one.
>
> I have boxes running 2.6.28 on which I have used oldconfig on every
> change since switching them from2.4 to 2.6.
>
>
>   

I been using oldconfig a long time too and never had trouble with it. 
It basically will make the same kernel but with bug/security fixes.  I
even copied the config over then forgot to run oldconfig and it compiled
and booted just fine. 

I think FUD was the right term for this one.  Major versions, make it by
hand; incremental upgrades works fine with oldconfig.

Dale

:-)  :-) 



Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-06 Thread Neil Bothwick
On Tue, 6 Jan 2009 15:06:28 +, Peter Humphrey wrote:

> > > I've seen a dev complain that most of the problems he's had to deal
> > > with have been due to oldconfig, so I don't use it at all. I copy
> > > the config in from the previous tree, then I run menuconfig and
> > > search for lines ending in [NEW] or [DEPRECATED].  
> >
> > How is this different from using make oldconfig, apart from the UI?  
> 
> I don't know; I just pick up my clues where I can. Perhaps there's a 
> difference in handling of unchanged or default values.

Unchanged values are just that. When a config option is new, make
oldconfig prompts for a choice,with a default option (the same default
that menuconfig uses). The only real difference is that with menuconfig
you have to go through the options, looking for those marked NEW (and
risking missing an important one) while oldconfig presents them to you in
sequence,asking for your choice on each one.

I have boxes running 2.6.28 on which I have used oldconfig on every
change since switching them from2.4 to 2.6.


-- 
Neil Bothwick

You know it's going to be a bad day when you forget your new password.


signature.asc
Description: PGP signature


Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-06 Thread Peter Humphrey
On Tuesday 06 January 2009 12:45:15 Neil Bothwick wrote:
> On Tue, 6 Jan 2009 12:13:05 +, Peter Humphrey wrote:
> > I've seen a dev complain that most of the problems he's had to deal
> > with have been due to oldconfig, so I don't use it at all. I copy the
> > config in from the previous tree, then I run menuconfig and search for
> > lines ending in [NEW] or [DEPRECATED].
>
> How is this different from using make oldconfig, apart from the UI?

I don't know; I just pick up my clues where I can. Perhaps there's a 
difference in handling of unchanged or default values.

On the other hand, maybe the dev was complaining about the way people use 
the two methods rather than the way they operate, in which case I can be a 
bit less paranoid. As I don't have the time to investigate how Make works, 
I propose to continue to take the path of least resistance.

-- 
Rgds
Peter



Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-06 Thread Neil Bothwick
On Tue, 6 Jan 2009 12:13:05 +, Peter Humphrey wrote:

> I've seen a dev complain that most of the problems he's had to deal
> with have been due to oldconfig, so I don't use it at all. I copy the
> config in from the previous tree, then I run menuconfig and search for
> lines ending in [NEW] or [DEPRECATED].

How is this different from using make oldconfig, apart from the UI?


-- 
Neil Bothwick

Approx. 1 in 36000 people will break a leg within 3 weeks of reading this
post


signature.asc
Description: PGP signature


Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-06 Thread Peter Humphrey
On Tuesday 06 January 2009 11:42:58 Neil Bothwick wrote:
> On Tue, 6 Jan 2009 09:34:31 +0100, Nicolas Sebrecht wrote:
> > > That's just FUD.
> >
> > You should tell it to the documentation team.
>
> The last time I looked at the docs for this, which was a while ago,
> they recommended against using it for major version updates, which makes
> perfect sense.

I've seen a dev complain that most of the problems he's had to deal with 
have been due to oldconfig, so I don't use it at all. I copy the config in 
from the previous tree, then I run menuconfig and search for lines ending 
in [NEW] or [DEPRECATED]. This is far quicker and less error-prone than 
going through the entire set of options.

-- 
Rgds
Peter



Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-06 Thread Neil Bothwick
On Tue, 6 Jan 2009 09:34:31 +0100, Nicolas Sebrecht wrote:

> > That's just FUD.   
> 
> You should tell it to the documentation team.

The last time I looked at the docs for this, which was a while ago,
they recommended against using it for major version updates, which makes
perfect sense.


-- 
Neil Bothwick

Artificial Intelligence usually beats real stupidity.


signature.asc
Description: PGP signature


Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-06 Thread Eray Aslan
On 06.01.2009 12:14, Steven Susbauer wrote:
> Dirk Heinrichs wrote:
>> Am Dienstag, 6. Januar 2009 02:56:28 schrieb Denis:
>>> I have Intel network hardware that
>>> runs on the E1000 driver
>>
>> Did you try e1000e?
>>
>> Bye...
>>
>> Dirk
> 
> e1000e had been disabled in 2.6.27 versions, was it put back in by -r7?

Supposed to be back in 2.6.27-r1.  Can't check at the moment tho.

http://bugs.gentoo.org/show_bug.cgi?id=238489

-- 
Eray




Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-06 Thread Dirk Heinrichs
Am Dienstag, 6. Januar 2009 11:14:08 schrieb Steven Susbauer:
> e1000e had been disabled in 2.6.27 versions, was it put back in by -r7?

Don't know. In vanilla-sources, it has always been there.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-06 Thread Steven Susbauer

Dirk Heinrichs wrote:
> Am Dienstag, 6. Januar 2009 02:56:28 schrieb Denis:
>> I have Intel network hardware that
>> runs on the E1000 driver
> 
> Did you try e1000e?
> 
> Bye...
> 
>   Dirk

e1000e had been disabled in 2.6.27 versions, was it put back in by -r7?




Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-06 Thread Francisco Ares
On Tue, Jan 6, 2009 at 1:44 AM, Nicolas Sebrecht
 wrote:
>
> On Tue, Jan 06, 2009 at 12:59:13AM -0200, Francisco Ares wrote:
>
> 
>
> Avoid the HTML format in your mail, please.
> Also, learn to quote.

sorry about that

>
> --
> Nicolas Sebrecht
>
>

Francisco



Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-06 Thread Nicolas Sebrecht

On Tue, Jan 06, 2009 at 07:54:30AM +, Neil Bothwick wrote:

> That's just FUD. 

You should tell it to the documentation team.

-- 
Nicolas Sebrecht




Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-05 Thread Neil Bothwick
On Tue, 6 Jan 2009 03:25:44 +0100, Nicolas Sebrecht wrote:

> The use of 'oldconfig' when upgrading from a previous .z kernel (as in
> 2.6.z) is a bad idea. There are too much changes between such upgrades.
> Please retry a compilation from scratch

That's just FUD. oldconfig is intended to be used on minor version
upgrades and is generally highly reliable. It can
cause problems when configuration options move, but manual configuration
each time suffers from the same thing and wastes a lot of time each
time you upgrade. As long as you read the help text when working
through oldconfig, you shouldn't have problems.

To the OP, I'd try building the driver as a module, then you can look for
messages when modprobing it with various options.


-- 
Neil Bothwick

Reality is an obstacle to hallucination.


signature.asc
Description: PGP signature


Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-05 Thread Dirk Heinrichs
Am Dienstag, 6. Januar 2009 02:56:28 schrieb Denis:
> I have Intel network hardware that
> runs on the E1000 driver

Did you try e1000e?

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-05 Thread Nicolas Sebrecht

On Tue, Jan 06, 2009 at 12:59:13AM -0200, Francisco Ares wrote:



Avoid the HTML format in your mail, please.
Also, learn to quote.

-- 
Nicolas Sebrecht




Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-05 Thread Francisco Ares
On Tue, Jan 6, 2009 at 12:25 AM, Nicolas Sebrecht  wrote:

>
> On Mon, Jan 05, 2009 at 08:56:28PM -0500, Denis wrote:
>
> > Hello and Happy New Year!
>
> Happy new year to every members here.
>
> > I was just updating from kernel linux-2.6.24-gentoo-r7 to
> > linux-2.6.27-gentoo-r7 using the "oldconfig" method, and I cannot get
> > the new kernel to load my network.
>
> The use of 'oldconfig' when upgrading from a previous .z kernel (as in
> 2.6.z) is a bad idea. There are too much changes between such upgrades.
> Please retry a compilation from scratch.
>
> > I have Intel network hardware that
> > runs on the E1000 driver, which I generally compile right into the
> > kernel - never had any problem.  For some reason, the
> > linux-2.6.27-gentoo-r7 kernel leaves me netless.  I try to start the
> > "net.eth0", and it says 'please verify your hardware driver' or
> > something to that extent.  Has anyone else encountered this problem?
>
> If compiled as a module, check if it is loaded. Then, check if the
> driver is working using the 'ifconfig -a' command (upgrade
> sys-apps/net-tools if avaible).
> If the module can't load or if it isn't working when loaded, post your
> 'dmesg' and 'emerge --info' outputs.
>
> > I just compiled linux-2.6.25-gentoo-r9, and everything runs fine - no
> > network problems at all!
>
> Ok. What about the 2.6.28 series ?
>
> --
> Nicolas Sebrecht
>
>
>
I always do a genkernel --menuconfig  (or --xconfig) --splash --install all
and then wander here and there in the menu tree.

lspci -k and lsmod are good companions.

Have an excellent new year!
Francisco

-- 
"If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have one
idea and we exchange these ideas, then each of us will have two ideas." -
George Bernard Shaw


Re: [gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-05 Thread Nicolas Sebrecht

On Mon, Jan 05, 2009 at 08:56:28PM -0500, Denis wrote:

> Hello and Happy New Year!

Happy new year to every members here.

> I was just updating from kernel linux-2.6.24-gentoo-r7 to
> linux-2.6.27-gentoo-r7 using the "oldconfig" method, and I cannot get
> the new kernel to load my network.  

The use of 'oldconfig' when upgrading from a previous .z kernel (as in
2.6.z) is a bad idea. There are too much changes between such upgrades.
Please retry a compilation from scratch.

> I have Intel network hardware that
> runs on the E1000 driver, which I generally compile right into the
> kernel - never had any problem.  For some reason, the
> linux-2.6.27-gentoo-r7 kernel leaves me netless.  I try to start the
> "net.eth0", and it says 'please verify your hardware driver' or
> something to that extent.  Has anyone else encountered this problem?

If compiled as a module, check if it is loaded. Then, check if the
driver is working using the 'ifconfig -a' command (upgrade
sys-apps/net-tools if avaible).
If the module can't load or if it isn't working when loaded, post your
'dmesg' and 'emerge --info' outputs.

> I just compiled linux-2.6.25-gentoo-r9, and everything runs fine - no
> network problems at all!

Ok. What about the 2.6.28 series ?

-- 
Nicolas Sebrecht




[gentoo-user] kernel linux-2.6.27-gentoo-r7 won't load network!

2009-01-05 Thread Denis
Hello and Happy New Year!

I was just updating from kernel linux-2.6.24-gentoo-r7 to
linux-2.6.27-gentoo-r7 using the "oldconfig" method, and I cannot get
the new kernel to load my network.  I have Intel network hardware that
runs on the E1000 driver, which I generally compile right into the
kernel - never had any problem.  For some reason, the
linux-2.6.27-gentoo-r7 kernel leaves me netless.  I try to start the
"net.eth0", and it says 'please verify your hardware driver' or
something to that extent.  Has anyone else encountered this problem?

I just compiled linux-2.6.25-gentoo-r9, and everything runs fine - no
network problems at all!

Is this a known problem, or have I run into a freak case of bad luck?

Cheers,
Denis