linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kai Germaschewski <kai-germaschewski@uiowa.edu>
To: Bob_Tracy <rct@gherkin.frus.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.38: modular IDE broken
Date: Mon, 23 Sep 2002 17:51:28 -0500 (CDT)	[thread overview]
Message-ID: <Pine.LNX.4.44.0209231749050.13892-100000@chaos.physics.uiowa.edu> (raw)
In-Reply-To: <m17takZ-0005khC@gherkin.frus.com>

On Mon, 23 Sep 2002, Bob_Tracy wrote:

> This may well have been broken in earlier versions...  The last one I
> tried to compile before 2.5.38 was 2.5.34.  Quick problem summary:
> 
> ide-proc.o doesn't get built if CONFIG_BLK_DEV_IDE isn't "y", so
> depmod complains about unresolved symbols.

Yup, drivers/ide/Makefile should have

===== Makefile 1.5 vs edited =====
--- 1.5/drivers/ide/Makefile	Wed Sep 18 20:11:21 2002
+++ edited/Makefile	Mon Sep 23 17:50:05 2002
@@ -24,7 +24,7 @@
 obj-$(CONFIG_BLK_DEV_IDEDMA_PCI)	+= ide-dma.o
 obj-$(CONFIG_BLK_DEV_ISAPNP)		+= ide-pnp.o
 
-ifeq ($(CONFIG_BLK_DEV_IDE),y)
+ifdef CONFIG_BLK_DEV_IDE
 obj-$(CONFIG_PROC_FS)			+= ide-proc.o
 endif
 
> If I edit linux/drivers/ide/Makefile to force the build, I still end
> up with various depmod errors, some of which would doubtless go away
> if I turned off module versioning.  Anyone got a quick fix that I'm
> too tired to see?  Here's the depmod output with ide-proc.o forced:
> 
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.5.38; fi
> depmod: *** Unresolved symbols in /lib/modules/2.5.38/kernel/drivers/ide/ide-disk.o
> depmod:         proc_ide_read_geometry_R50fed6f7
> depmod: *** Unresolved symbols in /lib/modules/2.5.38/kernel/drivers/ide/ide-floppy.o
> depmod:         proc_ide_read_geometry_R50fed6f7
> depmod: *** Unresolved symbols in /lib/modules/2.5.38/kernel/drivers/ide/ide-probe.o
> depmod:         do_ide_request
> depmod:         ide_add_generic_settings
> depmod:         create_proc_ide_interfaces_Rab2c600e
> depmod:         ide_bus_type
> depmod: *** Unresolved symbols in /lib/modules/2.5.38/kernel/drivers/ide/ide.o
> depmod:         proc_ide_create_Ra8e0f104
> depmod:         ide_remove_proc_entries_R5a5a621b
> depmod:         ide_add_proc_entries_Rce569c25
> depmod:         destroy_proc_ide_drives_Ra54f63e5
> depmod:         proc_ide_destroy_R35e1351c
> depmod:         bus_unregister
> depmod:         proc_ide_read_capacity_R46b2a30d
> depmod:         create_proc_ide_interfaces_Rab2c600e
> depmod:         ide_scan_pcibus
> make: *** [_modinst_post] Error 1

Basically, for all symbols which don't end in _R*, an EXPORT_SYMBOL() 
statement is missing. Add as necessary ;)

--Kai



  reply	other threads:[~2002-09-23 22:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-23 21:28 2.5.38: modular IDE broken Bob_Tracy
2002-09-23 22:51 ` Kai Germaschewski [this message]
2002-09-24 14:13   ` Bob_Tracy
2002-09-24 16:30     ` Kai Germaschewski
2002-09-26 16:10     ` Alan Cox
2002-09-27 20:37       ` Bob_Tracy
2002-09-27 22:41         ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0209231749050.13892-100000@chaos.physics.uiowa.edu \
    --to=kai-germaschewski@uiowa.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rct@gherkin.frus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).