public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.21-rc7 SMP module unresolved symbols
@ 2003-06-04  0:28 Dan Christian
  2003-06-04  0:32 ` Marc-Christian Petersen
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Dan Christian @ 2003-06-04  0:28 UTC (permalink / raw)
  To: linux-kernel

I can build a 2.4.21-rc7 Athlon single processor kernel and modules 
without problem.

When I enable SMP, most (but not all) modules have unresolved symbols.  
This is basic stuff like prink and kmalloc.  I've tried both with and 
without symbol versioning.

The build line was:
make clean && make dep && make bzImage && make modules && make 
modules_install

I'm building on RedHat 7.3.
#rpm -q gcc binutils modutils
gcc-2.96-113
binutils-2.11.93.0.2-11
modutils-2.4.18-3.7x

I'm not on the list.  Please CC me.

-Dan

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.4.21-rc7 SMP module unresolved symbols
  2003-06-04  0:28 2.4.21-rc7 SMP module unresolved symbols Dan Christian
@ 2003-06-04  0:32 ` Marc-Christian Petersen
  2003-06-04 16:00   ` Dan Christian
  2003-06-04  5:30 ` Keith Owens
  2003-06-04  8:31 ` J.A. Magallon
  2 siblings, 1 reply; 11+ messages in thread
From: Marc-Christian Petersen @ 2003-06-04  0:32 UTC (permalink / raw)
  To: Daniel.A.Christian, linux-kernel

On Wednesday 04 June 2003 02:28, Dan Christian wrote:

Hi Dan,

> I can build a 2.4.21-rc7 Athlon single processor kernel and modules
> without problem.
> When I enable SMP, most (but not all) modules have unresolved symbols.
> This is basic stuff like prink and kmalloc.  I've tried both with and
> without symbol versioning.
> The build line was:
> make clean && make dep && make bzImage && make modules && make
> modules_install
> I'm building on RedHat 7.3.
> #rpm -q gcc binutils modutils
> gcc-2.96-113
> binutils-2.11.93.0.2-11
> modutils-2.4.18-3.7x
> I'm not on the list.  Please CC me.
w/o your .config a most impossible mission to fix this up.

Just a guess: Did you switch from UP to SMP with out doing "make mrproper"?

ciao, Marc


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.4.21-rc7 SMP module unresolved symbols
  2003-06-04  0:28 2.4.21-rc7 SMP module unresolved symbols Dan Christian
  2003-06-04  0:32 ` Marc-Christian Petersen
@ 2003-06-04  5:30 ` Keith Owens
  2003-06-04  8:31 ` J.A. Magallon
  2 siblings, 0 replies; 11+ messages in thread
From: Keith Owens @ 2003-06-04  5:30 UTC (permalink / raw)
  To: Daniel.A.Christian; +Cc: linux-kernel

On Tue, 3 Jun 2003 17:28:41 -0700, 
Dan Christian <Daniel.A.Christian@NASA.gov> wrote:
>I can build a 2.4.21-rc7 Athlon single processor kernel and modules 
>without problem.
>
>When I enable SMP, most (but not all) modules have unresolved symbols.  

On 2.4 kernels, you must make mrproper when switching between SMP and
UP.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.4.21-rc7 SMP module unresolved symbols
  2003-06-04  0:28 2.4.21-rc7 SMP module unresolved symbols Dan Christian
  2003-06-04  0:32 ` Marc-Christian Petersen
  2003-06-04  5:30 ` Keith Owens
@ 2003-06-04  8:31 ` J.A. Magallon
  2003-06-04  9:34   ` Clemens Schwaighofer
  2 siblings, 1 reply; 11+ messages in thread
From: J.A. Magallon @ 2003-06-04  8:31 UTC (permalink / raw)
  To: Daniel.A.Christian; +Cc: linux-kernel


On 06.04, Dan Christian wrote:
> I can build a 2.4.21-rc7 Athlon single processor kernel and modules 
> without problem.
> 
> When I enable SMP, most (but not all) modules have unresolved symbols.  
> This is basic stuff like prink and kmalloc.  I've tried both with and 
> without symbol versioning.
> 
> The build line was:
> make clean && make dep && make bzImage && make modules && make 
> modules_install
> 

You're missing a make install, I think ( at least this is what I do,
perhaps something is redundant:

make clean
make dep
make bzImage
make install  <<<<<<<<<<<<<<<<
make modules
make modules_install

Wthout the make install yu don't have nor the new kernel nor the System.map
in /boot.

-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.2 (Cooker) for i586
Linux 2.4.21-rc7-jam1 (gcc 3.3 (Mandrake Linux 9.2 3.3-1mdk))

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.4.21-rc7 SMP module unresolved symbols
  2003-06-04  8:31 ` J.A. Magallon
@ 2003-06-04  9:34   ` Clemens Schwaighofer
  2003-06-04 15:57     ` Dan Christian
  0 siblings, 1 reply; 11+ messages in thread
From: Clemens Schwaighofer @ 2003-06-04  9:34 UTC (permalink / raw)
  To: J.A. Magallon; +Cc: Daniel.A.Christian, linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

J.A. Magallon wrote:

> You're missing a make install, I think ( at least this is what I do,
> perhaps something is redundant:

make install only works if you have something like "install_kernel.sh"
script available in your system. not all systems have that. so it might
just fail. and there is no problem by copying the System.map and bzImage
by hand to the /boot directory

- --
Clemens Schwaighofer - IT Engineer & System Administration
==========================================================
Tequila Japan, 6-17-2 Ginza Chuo-ku, Tokyo 104-8167, JAPAN
Tel: +81-(0)3-3545-7703            Fax: +81-(0)3-3545-7343
http://www.tequila.jp
==========================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+3b0WjBz/yQjBxz8RAj+3AKDJj10rIQqgCSlBJbqUbp4GImoU5QCdFswF
z+rzMeBmzsWZOxscKODMNNg=
=AmJW
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.4.21-rc7 SMP module unresolved symbols
  2003-06-04  9:34   ` Clemens Schwaighofer
@ 2003-06-04 15:57     ` Dan Christian
  0 siblings, 0 replies; 11+ messages in thread
From: Dan Christian @ 2003-06-04 15:57 UTC (permalink / raw)
  To: Clemens Schwaighofer, J.A. Magallon; +Cc: linux-kernel

On Wednesday 04 June 2003 02:34, Clemens Schwaighofer wrote:
> J.A. Magallon wrote:
> > You're missing a make install, I think ( at least this is what I
> > do, perhaps something is redundant:
>
> make install only works if you have something like
> "install_kernel.sh" script available in your system. not all systems
> have that. so it might just fail. and there is no problem by copying
> the System.map and bzImage by hand to the /boot directory

Right.  I just copy by hand.

The kernel will boot just fine, but it can't load most of it's modules.

-Dan

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.4.21-rc7 SMP module unresolved symbols
  2003-06-04  0:32 ` Marc-Christian Petersen
@ 2003-06-04 16:00   ` Dan Christian
  0 siblings, 0 replies; 11+ messages in thread
From: Dan Christian @ 2003-06-04 16:00 UTC (permalink / raw)
  To: Marc-Christian Petersen, linux-kernel

On Tuesday 03 June 2003 17:32, Marc-Christian Petersen wrote:
> Just a guess: Did you switch from UP to SMP with out doing "make
> mrproper"?
>
> ciao, Marc

No, I didn't do "make mrproper".  I'll try that.

It used to be that it wasn't needed and it liked to blow away .config 
(an extreme mis-feature if I ever saw one).

Thanks,
-Dan

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.4.21-rc7 SMP module unresolved symbols
       [not found] <434747C01D5AC443809D5FC5405011314BEC@bobcat.unickz.com>
@ 2003-06-04 18:06 ` Dan Christian
  2003-06-04 19:36   ` Samuel Flory
  2003-06-04 21:33   ` Alan Cox
  0 siblings, 2 replies; 11+ messages in thread
From: Dan Christian @ 2003-06-04 18:06 UTC (permalink / raw)
  To: John Appleby, linux-kernel

On Wednesday 04 June 2003 09:20, John Appleby wrote:
> > No, I didn't do "make mrproper".  I'll try that.
> >
> > It used to be that it wasn't needed and it liked to blow away
> > .config (an extreme mis-feature if I ever saw one).
>
> Not a mis-feature for those making diffs on the kernel tree and not
> wanting their .config to be included erroneously :)
>
> Regards,
>
> John

"make mrproper" fixes it.

For the record, I think this stinks!

"make mrproper" should  be an expert only utility because it does blow 
away valuable configuration information (a painfull lesson that can 
only be learned "the hard way", since the README neglicts to mention 
this).  For that matter, the README makes it look like creating a 
config from scratch (all 1500+ options) is no big deal!

"make clean; make dep" should have been enough for any config changes 
(it used to be in the past).

-Dan

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.4.21-rc7 SMP module unresolved symbols
  2003-06-04 18:06 ` Dan Christian
@ 2003-06-04 19:36   ` Samuel Flory
  2003-06-04 20:00     ` Richard B. Johnson
  2003-06-04 21:33   ` Alan Cox
  1 sibling, 1 reply; 11+ messages in thread
From: Samuel Flory @ 2003-06-04 19:36 UTC (permalink / raw)
  To: Daniel.A.Christian; +Cc: John Appleby, linux-kernel

Dan Christian wrote:

>
>"make mrproper" fixes it.
>
>For the record, I think this stinks!
>
>"make mrproper" should  be an expert only utility because it does blow 
>away valuable configuration information (a painfull lesson that can 
>only be learned "the hard way", since the README neglicts to mention 
>this).  For that matter, the README makes it look like creating a 
>config from scratch (all 1500+ options) is no big deal!
>  
>

  Most developers have a std config file that they simply copy over, and 
run "make oldconfig".  This is why menuconfig, and xconfig get broken 
every few patches.

-- 
There is no such thing as obsolete hardware.
Merely hardware that other people don't want.
(The Second Rule of Hardware Acquisition)
Sam Flory  <sflory@rackable.com>



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.4.21-rc7 SMP module unresolved symbols
  2003-06-04 19:36   ` Samuel Flory
@ 2003-06-04 20:00     ` Richard B. Johnson
  0 siblings, 0 replies; 11+ messages in thread
From: Richard B. Johnson @ 2003-06-04 20:00 UTC (permalink / raw)
  To: Samuel Flory; +Cc: Daniel.A.Christian, John Appleby, linux-kernel

On Wed, 4 Jun 2003, Samuel Flory wrote:

> Dan Christian wrote:
>
> >
> >"make mrproper" fixes it.
> >
> >For the record, I think this stinks!
> >
> >"make mrproper" should  be an expert only utility because it does blow
> >away valuable configuration information (a painfull lesson that can
> >only be learned "the hard way", since the README neglicts to mention
> >this).  For that matter, the README makes it look like creating a
> >config from scratch (all 1500+ options) is no big deal!
> >
> >
>
>   Most developers have a std config file that they simply copy over, and
> run "make oldconfig".  This is why menuconfig, and xconfig get broken
> every few patches.

Yes. I was expecting somebody to be a bit more 'direct'.

$ cd /usr/src/linux-whatever
$ cp .config ..
$ make mrproper
$ cp ../.config .
$ make oldconfig
$ make dep ; make bzImage ; make modules ; make modules_install

...trivial...

FYI, a <not recommended by many who have gotten burned> easy way to
make quick changes in the .config is to edit .config directly, then
execute `make oldconfig`. This usually works so you don't have to
answer a thousand questions.


Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.4.21-rc7 SMP module unresolved symbols
  2003-06-04 18:06 ` Dan Christian
  2003-06-04 19:36   ` Samuel Flory
@ 2003-06-04 21:33   ` Alan Cox
  1 sibling, 0 replies; 11+ messages in thread
From: Alan Cox @ 2003-06-04 21:33 UTC (permalink / raw)
  To: Daniel.A.Christian; +Cc: John Appleby, Linux Kernel Mailing List

On Mer, 2003-06-04 at 19:06, Dan Christian wrote:
> "make mrproper" fixes it.
> 
> For the record, I think this stinks!

Fixed in 2.5 - but rewriting the config system for the stable release
is "problematic"



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-06-04 22:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-04  0:28 2.4.21-rc7 SMP module unresolved symbols Dan Christian
2003-06-04  0:32 ` Marc-Christian Petersen
2003-06-04 16:00   ` Dan Christian
2003-06-04  5:30 ` Keith Owens
2003-06-04  8:31 ` J.A. Magallon
2003-06-04  9:34   ` Clemens Schwaighofer
2003-06-04 15:57     ` Dan Christian
     [not found] <434747C01D5AC443809D5FC5405011314BEC@bobcat.unickz.com>
2003-06-04 18:06 ` Dan Christian
2003-06-04 19:36   ` Samuel Flory
2003-06-04 20:00     ` Richard B. Johnson
2003-06-04 21:33   ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox