From: Grant Grundler <grundler@parisc-linux.org>
To: Joel Soete <jsoe0708@tiscali.be>
Cc: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] warning: minor abi change
Date: Sat, 5 Jul 2003 17:08:34 -0600 [thread overview]
Message-ID: <20030705230834.GB9682@dsl2.external.hp.com> (raw)
In-Reply-To: <3ED70CF10000AE2E@ocpmta2.freegates.net>
On Fri, Jun 27, 2003 at 06:14:58PM +0200, Joel Soete wrote:
> I need it to make work my ide cdrom onto my b2k (I grab this stuff
> from another platform)
Joel,
I've reworked the __save_and_cli and __save_and_sti mess so that's ok to
commit along with most of what you previously preposed. I've tested on
64-bit (a500) but am having several problems with 32-bit (c3000) config.
Patch applies to our current CVS:
ftp://ftp.parisc-linux.org/patches/diff-2.4.21-pa2
My .config and untested kernel/modules are at:
ftp://ftp.parisc-kernel.org/kernels/c3000/2.4.21-pa2.tgz
Summary of issues that follow:
1) __canonicalize_funcptr_for_compare still a problem with 32-bit modules
2) Makefiles messed up for ide-proc.o (seems to have a fix already)
3) various IDE modules not exporting symbols.
4) added EXPORT_SYMBOL(sys_wait4) as well.
5) Lack of a test machine at home. Can someone test c3000/2.4.21-pa2.tgz?
Patch also fixes asm problem with arch/parisc/kernel/real2.S.
Details:
1) Dave warned us last December about __canonicalize_funcptr_for_compare
and gcc-3.3. "make modules_install" fails with this symbol missing in:
drivers/ide/ide-disk.o (fixed in patch but won't be committed)
drivers/scsi/aic79xx/aic79xx.o
fs/smbfs/smbfs.o
lib/zlib_deflate/zlib_deflate.o
Having no clue how to properly fix this in either the toolchain
or where to find the man page for __canonicalize_funcptr_for_compare(),
I disabled the last three in my .config and hacked ide-disk.c
to use (void *) for comparisons.
Any volunteer to write some sample code for this?
2) CONFIG_IDE=m leads to lots of unresolved symbols in IDE modules.
Willy just pointed me at
http://www.ussg.iu.edu/hypermail/linux/kernel/0307.0/0995.html
which should solve this problem. The description below is just FYI.
I'll rework the IDE patch to follow "upstream" fix in the next
couple of days.
Basic problem starts with drivers/Makefile:
subdir-$(CONFIG_IDE) += ide
causing the "make vmlinux" to ignore drivers/ide subdir if CONFIG_IDE=m.
This doesn't work when CONFIG_PROC_FS=y. ide-proc.o doesn't get built.
drivers/ide/Makefile:
ifeq($(CONFIG_BLK_DEV_IDE),y)
obj-$(CONFIG_PROC_FS) += ide-proc.o
endif
I hacked drivers/ide/Makefile to read:
ifeq ($(CONFIG_PROC_FS),y)
obj-$(CONFIG_BLK_DEV_IDE) += ide-proc.o
endif
It presumes (1) PROC_FS is y or n and never 'm' and (2) IDE /proc
support should be loaded as a module if CONFIG_BLK_DEV_IDE=m.
3) various IDE modules not exporting symbols.
+EXPORT_SYMBOL_GPL(ide_release_dma);
+EXPORT_SYMBOL(do_ide_request);
+EXPORT_SYMBOL(ide_modules);
+EXPORT_SYMBOL(generic_subdriver_entries);
+EXPORT_SYMBOL(ide_find_setting_by_name);
+EXPORT_SYMBOL(ide_read_setting);
+EXPORT_SYMBOL(ide_add_generic_settings);
+EXPORT_SYMBOL_GPL(ide_scan_pcibus);
4) added EXPORT_SYMBOL(sys_wait4) as well.
5) Lack of a test machine at home. I'm waiting for c3k's I've ordered.
Nice folks sent me "workstation power cord kit" via priority mail but
no sign of the workstation itself. :^/
If someone can test this patch on a C3k, I'd be willing to commit
the non-IDE parts of it. IDE needs rework to follow upstream's fix.
hth,
grant
next prev parent reply other threads:[~2003-07-05 23:08 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20030627151546.GA30607@dsl2.external.hp.com>
[not found] ` <3ED70CF10000AE2E@ocpmta2.freegates.net>
2003-06-27 16:54 ` [parisc-linux] warning: minor abi change Grant Grundler
2003-06-28 10:48 ` Joel Soete
2003-07-05 23:08 ` Grant Grundler [this message]
2003-07-05 23:53 ` John David Anglin
2003-07-06 4:12 ` Grant Grundler
2003-07-06 16:12 ` Joel Soete
2003-07-07 20:02 ` Carlos O'Donell
2003-07-07 20:19 ` John David Anglin
2003-07-08 1:45 ` Carlos O'Donell
2003-07-06 5:57 ` [parisc-linux] IDE modules build prob Grant Grundler
2003-07-06 6:31 ` Grant Grundler
2003-07-06 7:23 ` Alan Cox
[not found] <20030711065156.GA17025@dsl2.external.hp.com>
2003-07-11 8:26 ` [parisc-linux] warning: minor abi change Joel Soete
2003-07-11 10:24 ` Alan Cox
2003-06-26 13:54 Matthew Wilcox
2003-06-26 17:03 ` Joel Soete
2003-06-26 17:06 ` Matthew Wilcox
2003-06-26 17:45 ` Randolph Chung
2003-06-27 14:41 ` Joel Soete
2003-06-27 16:21 ` Joel Soete
2003-06-27 16:52 ` Alan Cox
2003-07-07 16:00 ` Joel Soete
2003-07-07 16:05 ` Alan Cox
2003-07-07 16:31 ` Matthew Wilcox
2003-07-07 16:39 ` Joel Soete
2003-07-07 16:33 ` Joel Soete
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=20030705230834.GB9682@dsl2.external.hp.com \
--to=grundler@parisc-linux.org \
--cc=jsoe0708@tiscali.be \
--cc=parisc-linux@lists.parisc-linux.org \
/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