From: Krzysiek Taraszka <dzimi@pld.org.pl>
To: Santiago Garcia Mantinan <manty@manty.net>,
Andrzej Krzysztofowicz <ankry@green.mif.pg.gda.pl>
Cc: kernel list <linux-kernel@vger.kernel.org>,
marcelo@conectiva.com.br, Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: Linux 2.4.21-rc3
Date: Fri, 30 May 2003 22:55:58 +0200 [thread overview]
Message-ID: <200305302255.58353.dzimi@pld.org.pl> (raw)
In-Reply-To: <20030526175354.GA4051@man.beta.es>
[-- Attachment #1: Type: text/plain, Size: 1011 bytes --]
Dnia pon 26. maja 2003 19:53, Santiago Garcia Mantinan napisał:
> The patch Andrzej sent only solves part of the problem, I can still see
> this:
>
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.21-rc3/kernel/drivers/ide/ide-probe.o
> depmod: do_ide_request
> depmod: ide_add_generic_settings
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.21-rc3/kernel/drivers/ide/ide-proc.o
> depmod: ide_find_setting_by_name
> depmod: ide_modules
> depmod: ide_read_setting
> depmod: generic_subdriver_entries
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.21-rc3/kernel/drivers/ide/ide.o
> depmod: ide_release_dma
> depmod: pnpide_init
> depmod: ide_scan_pcibus
> Hope this helps fixing ide modules compiling before 2.4.21 is released.
Yes, my patch should fix it (I test it :))
So, Marcelo, Alan, please apply my patch.
--
Krzysiek Taraszka (dzimi@pld.org.pl)
http://cyborg.kernel.pl/~dzimi/
[-- Attachment #2: ide-symbols.patch --]
[-- Type: text/x-diff, Size: 2619 bytes --]
diff -urN linux-2.4.20-rc6.orig/drivers/ide/Makefile linux-2.4.20-rc6/drivers/ide/Makefile
--- linux-2.4.20-rc6.orig/drivers/ide/Makefile Fri May 30 22:52:30 2003
+++ linux-2.4.20-rc6/drivers/ide/Makefile Fri May 30 22:17:16 2003
@@ -43,9 +43,8 @@
endif
obj-$(CONFIG_BLK_DEV_ISAPNP) += ide-pnp.o
-
-ifeq ($(CONFIG_BLK_DEV_IDE),y)
-obj-$(CONFIG_PROC_FS) += ide-proc.o
+ifeq ($(CONFIG_PROC_FS),y)
+obj-$(CONFIG_BLK_DEV_IDE) += ide-proc.o
endif
ifeq ($(CONFIG_BLK_DEV_IDE),y)
diff -urN linux-2.4.20-rc6.orig/drivers/ide/ide-io.c linux-2.4.20-rc6/drivers/ide/ide-io.c
--- linux-2.4.20-rc6.orig/drivers/ide/ide-io.c Fri May 30 22:52:30 2003
+++ linux-2.4.20-rc6/drivers/ide/ide-io.c Fri May 30 22:25:30 2003
@@ -896,6 +896,8 @@
ide_do_request(q->queuedata, IDE_NO_IRQ);
}
+EXPORT_SYMBOL(do_ide_request);
+
/*
* un-busy the hwgroup etc, and clear any pending DMA status. we want to
* retry the current request in pio mode instead of risking tossing it
diff -urN linux-2.4.20-rc6.orig/drivers/ide/ide.c linux-2.4.20-rc6/drivers/ide/ide.c
--- linux-2.4.20-rc6.orig/drivers/ide/ide.c Fri May 30 22:52:31 2003
+++ linux-2.4.20-rc6/drivers/ide/ide.c Fri May 30 22:47:00 2003
@@ -190,6 +190,8 @@
ide_module_t *ide_modules;
ide_module_t *ide_probe;
+EXPORT_SYMBOL(ide_modules);
+
/*
* This is declared extern in ide.h, for access by other IDE modules:
*/
@@ -597,6 +599,9 @@
{ "capacity", S_IFREG|S_IRUGO, proc_ide_read_capacity, NULL },
{ NULL, 0, NULL, NULL }
};
+
+EXPORT_SYMBOL(generic_subdriver_entries);
+
#endif
@@ -1181,6 +1186,8 @@
return setting;
}
+EXPORT_SYMBOL(ide_find_setting_by_name);
+
/**
* auto_remove_settings - remove driver specific settings
* @drive: drive
@@ -1241,6 +1248,8 @@
return val;
}
+EXPORT_SYMBOL(ide_read_setting);
+
int ide_spin_wait_hwgroup (ide_drive_t *drive)
{
ide_hwgroup_t *hwgroup = HWGROUP(drive);
@@ -1414,6 +1423,8 @@
#endif
}
+EXPORT_SYMBOL(ide_add_generic_settings);
+
/*
* Delay for *at least* 50ms. As we don't know how much time is left
* until the next tick occurs, we wait an extra tick to be safe.
@@ -2820,6 +2831,8 @@
devfs_unregister (ide_devfs_handle);
}
+EXPORT_SYMBOL(ide_release_dma);
+
#else /* !MODULE */
__setup("", ide_setup);
diff -urN linux-2.4.20-rc6.orig/drivers/ide/setup-pci.c linux-2.4.20-rc6/drivers/ide/setup-pci.c
--- linux-2.4.20-rc6.orig/drivers/ide/setup-pci.c Fri May 30 22:52:31 2003
+++ linux-2.4.20-rc6/drivers/ide/setup-pci.c Fri May 30 22:49:02 2003
@@ -830,3 +830,5 @@
pci_register_driver(d);
}
}
+
+EXPORT_SYMBOL(ide_scan_pcibus);
\ No newline at end of file
next prev parent reply other threads:[~2003-05-30 20:42 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-26 14:00 Linux 2.4.21-rc3 Andrzej Krzysztofowicz
2003-05-26 17:53 ` Santiago Garcia Mantinan
2003-05-30 20:55 ` Krzysiek Taraszka [this message]
2003-05-30 20:23 ` Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2003-05-23 12:42 Martijn Uffing
2003-05-23 13:10 ` Carl-Daniel Hailfinger
2003-05-23 13:30 ` Martijn Uffing
2003-05-23 15:00 ` Matthias Andree
2003-05-26 17:11 ` Alan Cox
2003-05-23 7:00 Melchior FRANZ
2003-05-22 22:19 Marcelo Tosatti
2003-05-22 23:46 ` J.A. Magallon
2003-05-26 17:04 ` Alan Cox
2003-05-23 0:51 ` Barry K. Nathan
2003-05-23 5:32 ` Marc-Christian Petersen
2003-05-23 8:27 ` Benjamin Herrenschmidt
2003-05-26 13:16 ` Santiago Garcia Mantinan
2003-05-27 1:14 ` Jeff Chua
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=200305302255.58353.dzimi@pld.org.pl \
--to=dzimi@pld.org.pl \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=ankry@green.mif.pg.gda.pl \
--cc=linux-kernel@vger.kernel.org \
--cc=manty@manty.net \
--cc=marcelo@conectiva.com.br \
/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