Unresolved symbols in 2.4.22-pa13
Hi there,
when compiling the parport driver as a module, I get an unresolved symbols error:
-----><--------
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.22-pa13; fi
depmod: *** Unresolved symbols in /lib/modules/2.4.22-pa13/kernel/drivers/parport/parport_pc.o depmod: outsb depmod: outsl depmod: insb depmod: insl
-----><--------
Can s.b. with CVS access add the necessary export symbol lines to parport_pc?
Greetings,
Ruediger
Quoted 7 lines · Ruediger Scholz
when compiling the parport driver as a module, I get an unresolved symbols error:
-----><--------
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia if [ -r System.map ]; then/sbin/depmod-ae -F System.map 2.4.22-pa13; fi
depmod: *** Unresolved symbols in/lib/modules/2.4.22-pa13/kernel/drivers/parport/parport_pc.o
Quoted 7 lines
depmod: outsb depmod: outsl depmod: insb depmod: insl-----><--------
Can s.b. with CVS access add the necessary export symbol lines toparport_pc?
I'm confused.
$ find arch/parisc -type f |xargs grep insb arch/parisc/kernel/parisc_ksyms.c:EXPORT_SYMBOL(insb); arch/parisc/lib/io.c:void insb (unsigned long port, void *dst, unsigned long count)
Did you perhaps configure ISA and PCI out but parport_pc in? If so ... user error.
Signature · 3 lines
"It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk
On Thu, 2003-11-06 16:20:55 +0000, Matthew Wilcox <[email protected]> wrote in message <[email protected]>:
Quoted 4 lines · Ruediger Scholz
Did you perhaps configure ISA and PCI out but
parport_pcin? If so ... user error.
Kconfig dependancy error.
MfG, JBG
Signature · 4 lines
Jan-Benedict Glaw [email protected] . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
Quoted 8 lines · Jan-Benedict Glaw
On Thu, 2003-11-06 16:20:55 +0000, Matthew Wilcox <[email protected]> wrote in message <[email protected]>:
Quoted 4 lines · Ruediger Scholz
Did you perhaps configure ISA and PCI out but
parport_pcin? If so ... user error.
Kconfigdependancy error.
This is 2.4. I'm not touching that config mess.
Shortly before receiving your message, I looked at it in 2.6 (which is worth fixing). My initial thought is:
@@ -34,7 +34,7 @@ config PARPORT
config PARPORT_PC
tristate "PC-style hardware"
- depends on PARPORT && (!SPARC64 || PCI) + depends on PARPORT && (!(SPARC64 || PARISC) || PCI)
---help---
You should say Y here if you have a PC-style parallel port. All IBM PC compatible computers and some Alphas have PC-style
But perhaps that should be:
depends on PARPORT && (!SPARC64 || PCI) && (!PARISC || SUPERIO)
Comments?
Signature · 3 lines
"It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk
On Thu, 2003-11-06 22:24:16 +0000, Matthew Wilcox <[email protected]> wrote in message <[email protected]>:
Review config PARPORT · line 37
Quoted 10 lines · Jan-Benedict Glaw
Quoted 3 lines
On Thu, 2003-11-06 16:20:55 +0000, Matthew Wilcox <[email protected]> wrote in message <[email protected]>:
Quoted 1 line · Ruediger Scholz
(quoted diff) +1
-1@@ -34,7 +34,7 @@ config PARPORT config PARPORT_PC tristate "PC-style hardware" - depends on PARPORT && (!SPARC64 || PCI) + depends on PARPORT && (!(SPARC64 || PARISC) || PCI)
This excludes certain possibilities. I'd go the other way...
Quoted 7 lines
(quoted diff) +0
-0---help--- You should say Y here if you have a PC-style parallel port. All IBM PC compatible computers and some Alphas have PC-styleBut perhaps that should be:
depends on PARPORT && (!SPARC64 || PCI) && (!PARISC || SUPERIO)
parport_pc uses inb/outb so I'd let it depend on busses that are capable of allowing inb/outb:
depends on PARPORT && (ISA || PCI || SUPERIO)
- ISA parport adaptors exist, either as build-in or as real ISA cards.
- There are PCI parport controllers
- SUPERIO seeme to be capable of doing parport_pc (I haven't used that...)
MfG, JBG
Signature · 4 lines
Jan-Benedict Glaw [email protected] . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));