All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: 2.4.14-pre7 Unresolved symbols [PATCH]
  2001-11-02 10:53 2.4.14-pre7 Unresolved symbols jarausch
@ 2001-11-02 10:34 ` Eyal Lebedinsky
  2001-11-02 11:22 ` 2.4.14-pre7 Unresolved symbols Sebastian Dröge
  1 sibling, 0 replies; 11+ messages in thread
From: Eyal Lebedinsky @ 2001-11-02 10:34 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 441 bytes --]

jarausch@belgacom.net wrote:
> 
> Hi,
> 
> trying to build 2.4.14-pre7 breaks with the error message
> depmod: *** Unresolved symbols in /lib/modules/2.4.14-pre7/kernel/fs/romfs/romfs.o
> depmod:         unlock_page

Not an official patch, but as the symbol was introduced into
mm/filemap.c
and is used widely through linux/mm.h, I guess it should simply be
exported.

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.anu.edu.au/eyal/>

[-- Attachment #2: 2.4.14-pre7-filemap.patch --]
[-- Type: text/plain, Size: 278 bytes --]

--- linux/mm/filemap.c.orig	Fri Nov  2 21:28:22 2001
+++ linux/mm/filemap.c	Fri Nov  2 21:28:48 2001
@@ -785,6 +785,7 @@
 	if (waitqueue_active(&(page)->wait))
 	wake_up(&(page)->wait);
 }
+EXPORT_SYMBOL(unlock_page);
 
 /*
  * Get a lock on the page, assuming we need to sleep

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

* 2.4.14-pre7 Unresolved symbols
@ 2001-11-02 10:53 jarausch
  2001-11-02 10:34 ` 2.4.14-pre7 Unresolved symbols [PATCH] Eyal Lebedinsky
  2001-11-02 11:22 ` 2.4.14-pre7 Unresolved symbols Sebastian Dröge
  0 siblings, 2 replies; 11+ messages in thread
From: jarausch @ 2001-11-02 10:53 UTC (permalink / raw)
  To: linux-kernel

Hi,

trying to build 2.4.14-pre7 breaks with the error message
depmod: *** Unresolved symbols in /lib/modules/2.4.14-pre7/kernel/fs/romfs/romfs.o
depmod:         unlock_page

during make modules_install.

2.4.14-pre6 is running fine here.

Thank for hint,
Helmut Jarausch

Inst. of Technology
RWTH Aachen
Germany



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

* 2.4.14-pre7 Unresolved symbols
@ 2001-11-02 10:53 jarausch
  2003-09-17 14:08 ` Bas Mevissen
  0 siblings, 1 reply; 11+ messages in thread
From: jarausch @ 2001-11-02 10:53 UTC (permalink / raw)
  To: linux-kernel

Hi,

trying to build 2.4.14-pre7 breaks with the error message
depmod: *** Unresolved symbols in /lib/modules/2.4.14-pre7/kernel/fs/romfs/romfs.o
depmod:         unlock_page

during make modules_install.

2.4.14-pre6 is running fine here.

Thank for hint,
Helmut Jarausch

Inst. of Technology
RWTH Aachen
Germany




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

* 2.4.14-pre7 Unresolved symbols
@ 2001-11-02 10:53 jarausch
  2003-09-17 16:49 ` Richard B. Johnson
  0 siblings, 1 reply; 11+ messages in thread
From: jarausch @ 2001-11-02 10:53 UTC (permalink / raw)
  To: linux-kernel

Hi,

trying to build 2.4.14-pre7 breaks with the error message
depmod: *** Unresolved symbols in /lib/modules/2.4.14-pre7/kernel/fs/romfs/romfs.o
depmod:         unlock_page

during make modules_install.

2.4.14-pre6 is running fine here.

Thank for hint,
Helmut Jarausch

Inst. of Technology
RWTH Aachen
Germany



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

* 2.4.14-pre7 Unresolved symbols
@ 2001-11-02 10:53 jarausch
  0 siblings, 0 replies; 11+ messages in thread
From: jarausch @ 2001-11-02 10:53 UTC (permalink / raw)
  To: linux-kernel

Hi,

trying to build 2.4.14-pre7 breaks with the error message
depmod: *** Unresolved symbols in /lib/modules/2.4.14-pre7/kernel/fs/romfs/romfs.o
depmod:         unlock_page

during make modules_install.

2.4.14-pre6 is running fine here.

Thank for hint,
Helmut Jarausch

Inst. of Technology
RWTH Aachen
Germany




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

* Re: 2.4.14-pre7 Unresolved symbols
  2001-11-02 10:53 2.4.14-pre7 Unresolved symbols jarausch
  2001-11-02 10:34 ` 2.4.14-pre7 Unresolved symbols [PATCH] Eyal Lebedinsky
@ 2001-11-02 11:22 ` Sebastian Dröge
  2001-11-02 18:51   ` Michael H. Warfield
  1 sibling, 1 reply; 11+ messages in thread
From: Sebastian Dröge @ 2001-11-02 11:22 UTC (permalink / raw)
  To: linux-kernel

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

Hi
There are a more unresolved symbols in:

depmod: *** Unresolved symbols in
/lib/modules/2.4.14-pre7/kernel/drivers/block/loop.o
depmod:         unlock_page
depmod: *** Unresolved symbols in
/lib/modules/2.4.14-pre7/kernel/fs/isofs/isofs.o
depmod:         unlock_page
depmod: *** Unresolved symbols in
/lib/modules/2.4.14-pre7/kernel/fs/smbfs/smbfs.o
depmod:         unlock_page

Bye

Am Freitag, 2. November 2001 11:53 schrieb jarausch@belgacom.net:
> Hi,
>
> trying to build 2.4.14-pre7 breaks with the error message
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.14-pre7/kernel/fs/romfs/romfs.o depmod:
> unlock_page
>
> during make modules_install.
>
> 2.4.14-pre6 is running fine here.
>
> Thank for hint,
> Helmut Jarausch
>
> Inst. of Technology
> RWTH Aachen
> Germany
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE74oH/vIHrJes3kVIRAor2AKCUi5Uf98lvFCZwsIYaEnRS4Y7yhACcCJqG
HmAcNnrowgMPOaRyI9s1lD0=
=m5TA
-----END PGP SIGNATURE-----

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

* Re: 2.4.14-pre7 Unresolved symbols
  2001-11-02 11:22 ` 2.4.14-pre7 Unresolved symbols Sebastian Dröge
@ 2001-11-02 18:51   ` Michael H. Warfield
  2001-11-02 19:38     ` J Sloan
  0 siblings, 1 reply; 11+ messages in thread
From: Michael H. Warfield @ 2001-11-02 18:51 UTC (permalink / raw)
  To: Sebastian Dröge; +Cc: linux-kernel

On Fri, Nov 02, 2001 at 12:22:37PM +0100, Sebastian Dröge wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi
> There are a more unresolved symbols in:

> depmod: *** Unresolved symbols in
> /lib/modules/2.4.14-pre7/kernel/drivers/block/loop.o
> depmod:         unlock_page

	Also rd.o if you have that compiled as a module.

> depmod: *** Unresolved symbols in
> /lib/modules/2.4.14-pre7/kernel/fs/isofs/isofs.o
> depmod:         unlock_page
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.14-pre7/kernel/fs/smbfs/smbfs.o
> depmod:         unlock_page
> 
> Bye
> 
> Am Freitag, 2. November 2001 11:53 schrieb jarausch@belgacom.net:
> > Hi,
> >
> > trying to build 2.4.14-pre7 breaks with the error message
> > depmod: *** Unresolved symbols in
> > /lib/modules/2.4.14-pre7/kernel/fs/romfs/romfs.o depmod:
> > unlock_page
> >
> > during make modules_install.
> >
> > 2.4.14-pre6 is running fine here.
> >
> > Thank for hint,
> > Helmut Jarausch
> >
> > Inst. of Technology
> > RWTH Aachen
> > Germany

	Mike
-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw@WittsEnd.com
  /\/\|=mhw=|\/\/       |  (678) 463-0932   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!

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

* Re: 2.4.14-pre7 Unresolved symbols
  2001-11-02 18:51   ` Michael H. Warfield
@ 2001-11-02 19:38     ` J Sloan
  0 siblings, 0 replies; 11+ messages in thread
From: J Sloan @ 2001-11-02 19:38 UTC (permalink / raw)
  To: Michael H. Warfield; +Cc: Sebastian Dröge, linux-kernel

trivial patch, "works for me" (tm) -

diff -urN linux/kernel/ksyms.c linux-patched/kernel/ksyms.c
--- linux/kernel/ksyms.c Fri Nov  2 11:02:45 2001
+++ linux-patched/kernel/ksyms.c Fri Nov  2 10:09:48 2001
@@ -83,6 +83,7 @@
 EXPORT_SYMBOL(do_mmap_pgoff);
 EXPORT_SYMBOL(do_munmap);
 EXPORT_SYMBOL(do_brk);
+EXPORT_SYMBOL(unlock_page);
 EXPORT_SYMBOL(exit_mm);
 EXPORT_SYMBOL(exit_files);
 EXPORT_SYMBOL(exit_fs);



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

* Re: 2.4.14-pre7 Unresolved symbols
  2001-11-02 10:53 jarausch
@ 2003-09-17 14:08 ` Bas Mevissen
  2003-09-17 14:11   ` Bas Mevissen
  0 siblings, 1 reply; 11+ messages in thread
From: Bas Mevissen @ 2003-09-17 14:08 UTC (permalink / raw)
  To: jarausch; +Cc: linux-kernel

jarausch@belgacom.net wrote:
> Hi,
> 
> trying to build 2.4.14-pre7 breaks with the error message
> depmod: *** Unresolved symbols in /lib/modules/2.4.14-pre7/kernel/fs/romfs/romfs.o
> depmod:         unlock_page
> 
> during make modules_install.
> 
> 2.4.14-pre6 is running fine here.
> 

Why are you (still) using 2.4.14-preX? Current stable version is 2.4.22 
and 2.4.23-preX is under development.

Anyway, grep for "unlock_page" in all .c files, find out if the .o of it 
is built and if the symbol is exported with EXPORT_SYMBOL.

BTW. Did you save the .config file and ran "make mrproper" before 
building? It is very likely that after patching up in a "used" tree, the 
rebuild is not going entirely correctly.

Regards,

Bas.



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

* Re: 2.4.14-pre7 Unresolved symbols
  2003-09-17 14:08 ` Bas Mevissen
@ 2003-09-17 14:11   ` Bas Mevissen
  0 siblings, 0 replies; 11+ messages in thread
From: Bas Mevissen @ 2003-09-17 14:11 UTC (permalink / raw)
  To: Bas Mevissen; +Cc: jarausch, linux-kernel

Bas Mevissen wrote:

> jarausch@belgacom.net wrote:
> 
(snip)


Ah, somebody resend his 2-years old messages again :-)
Well, anyway. My answer is still valid :-)))

Bas.





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

* Re: 2.4.14-pre7 Unresolved symbols
  2001-11-02 10:53 jarausch
@ 2003-09-17 16:49 ` Richard B. Johnson
  0 siblings, 0 replies; 11+ messages in thread
From: Richard B. Johnson @ 2003-09-17 16:49 UTC (permalink / raw)
  To: jarausch; +Cc: linux-kernel

On Fri, 2 Nov 2001 jarausch@belgacom.net wrote:

> Hi,
>
> trying to build 2.4.14-pre7 breaks with the error message
> depmod: *** Unresolved symbols in /lib/modules/2.4.14-pre7/kernel/fs/romfs/romfs.o
> depmod:         unlock_page
>
> during make modules_install.
>
> 2.4.14-pre6 is running fine here.
>
> Thank for hint,
> Helmut Jarausch
>
> Inst. of Technology
> RWTH Aachen
> Germany
>

This message shouldn't prevent the new modules from being installed.
This comes from `depmod` which is creating /lib/modules/`uname
-r`/modules.dep. When you boot the new kernel, the boot-script
will (probably) execute `depmod -a`, fixing the problem. Your
new kernel probably has unlock_page exported. The older one
probably didn't.

Tty it. It should work okay.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.22 on an i686 machine (794.73 BogoMips).
            Note 96.31% of all statistics are fiction.



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

end of thread, other threads:[~2005-01-13 17:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-02 10:53 2.4.14-pre7 Unresolved symbols jarausch
2001-11-02 10:34 ` 2.4.14-pre7 Unresolved symbols [PATCH] Eyal Lebedinsky
2001-11-02 11:22 ` 2.4.14-pre7 Unresolved symbols Sebastian Dröge
2001-11-02 18:51   ` Michael H. Warfield
2001-11-02 19:38     ` J Sloan
  -- strict thread matches above, loose matches on Subject: below --
2001-11-02 10:53 jarausch
2003-09-17 16:49 ` Richard B. Johnson
2001-11-02 10:53 jarausch
2001-11-02 10:53 jarausch
2003-09-17 14:08 ` Bas Mevissen
2003-09-17 14:11   ` Bas Mevissen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.