Skip to contentSkip to conversation

[Kernel-janitors] [[email protected]: Re: 2.6.1-mm4]

Kernel-janitors Arnaldo Carvalho de Melo 1 participant 2 messages Jan 18, 2004 Kernel janitors

lore
Share & tools
lore
#0 lore raw

This is something interesting to have in the TODO list... It requires a new gcc version to test tho. Andrew was using a cvs snapshot gcc, perhaps this started happening from 2.6 on, notice that one has to compile _and_ try to load the módule.

Patterns, perhaps this happens elsewhere... :)

- Arnaldo

----- Forwarded message from Andrew Morton <[email protected]> -----

Date: Sun, 18 Jan 2004 00:17:08 -0800
From: Andrew Morton <[email protected]>
Subject: Re: 2.6.1-mm4
To: "J.A. Magallon" <[email protected]>
Cc: [email protected], [email protected]
X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i686-pc-linux-gnu)

Quoted 17 lines · J.A. Magallon
Quoted 14 lines · Andrew Morton
Quoted 12 lines · J.A. Magallon
Quoted 4 lines · Andrew Morton

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.1/2.6.1-mm4/

Net driver problem:

 werewolf:/etc# modprobe --verbose 3c59x
 insmod /lib/modules/2.6.1-jam4/kernel/drivers/net/3c59x.ko 
 FATAL: Error inserting 3c59x (/lib/modules/2.6.1-jam4/kernel/drivers/net/3c59x.ko): Invalid argument
Quoted 6 lines
Quoted 2 lines

hmm, cute.

Yes.
It worked.
I thought of this, but why this and not the other parameters ? Compiler bug ?

Presumably, recent gcc's remove the variable altogether and just expand the constant inline. When the central module code checks for the parameter's existence in the module's symbol table it errors out.

----- End forwarded message -----

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors

#1 lore raw

Em Sun, Jan 18, 2004 at 06:51:55AM -0200, Arnaldo C. Melo escreveu:

Quoted 3 lines

This is something interesting to have in the TODO list... It requires a new gcc version to test tho. Andrew was using a cvs snapshot gcc, perhaps this started happening from 2.6 on, notice that one has to compile _and_

Sorry... I mean from gcc 3.3.* onwards.

- Arnaldo
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors