linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* IEEE1284 (Parallel Port) Kernel Build Problem
@ 2003-11-28 18:46 Stan Zitello
  2003-12-01 21:07 ` Randy.Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Stan Zitello @ 2003-11-28 18:46 UTC (permalink / raw)
  To: linux-kernel; +Cc: tim

** Please CC me on any replies, as I am not subscribed to the mailing list **

It appears that the build process for the parport.o and parport_pc.o kernel
modules is not properly picking up the value of 'CONFIG_PARPORT_1284'.  Even
though my .config file contains 'CONFIG_PARPORT_1284=y', a build of the kernel
does not successfully include IEEE1284 support, as evidenced by this message
in the system log file:

kernel: parport: IEEE1284 not supported in this kernel

I was able to generate a simple workaround, which I verified works, by adding 
a "#define" to the relevant source code in drivers/parport/.  I would have
preferred to have found the actual build problem, but I must admit to not being
able to completely decipher the build process...sorry.

I am not sure if this is relevant, but you will notice that my entire parallel
port support is via modules. The rest of the relevant entrys from .config:

#
# Parallel port support
#
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_CML1=m
# CONFIG_PARPORT_SERIAL is not set
# CONFIG_PARPORT_PC_FIFO is not set
# CONFIG_PARPORT_PC_SUPERIO is not set
CONFIG_PARPORT_PC_PCMCIA=m
# CONFIG_PARPORT_AMIGA is not set
# CONFIG_PARPORT_MFC3 is not set
# CONFIG_PARPORT_ATARI is not set
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_SUNBPP is not set
# CONFIG_PARPORT_OTHER is not set
CONFIG_PARPORT_1284=y

IF it helps:
Linux llinuxi 2.4.22 #2 Wed Nov 26 13:39:27 EST 2003 i686 unknown
 
Gnu C                  3.2
Gnu make               3.79.1
util-linux             2.11u
mount                  2.11u
modutils               2.4.19
e2fsprogs              1.27
Linux C Library        2.2.5
Dynamic linker (ldd)   2.2.5
Linux C++ Library      5.0.0
Procps                 2.0.7
Net-tools              1.60
Kbd		       1.06
Sh-utils               2.0
Modules Loaded         qcamvc_pp qcamvc videodev maestro3 rtc apm 3c59x ppp_deflate zlib_deflate ppp_async ppp_generic slhc lp parport_pc parport


regards,

Stan Zitello
stan_zitello@bellsouth.net

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

* Re: IEEE1284 (Parallel Port) Kernel Build Problem
  2003-11-28 18:46 IEEE1284 (Parallel Port) Kernel Build Problem Stan Zitello
@ 2003-12-01 21:07 ` Randy.Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2003-12-01 21:07 UTC (permalink / raw)
  To: Stan Zitello; +Cc: linux-kernel, tim

On Fri, 28 Nov 2003 13:46:49 -0500 Stan Zitello <stan_zitello@bellsouth.net> wrote:

| ** Please CC me on any replies, as I am not subscribed to the mailing list **
| 
| It appears that the build process for the parport.o and parport_pc.o kernel
| modules is not properly picking up the value of 'CONFIG_PARPORT_1284'.  Even
| though my .config file contains 'CONFIG_PARPORT_1284=y', a build of the kernel
| does not successfully include IEEE1284 support, as evidenced by this message
| in the system log file:
| 
| kernel: parport: IEEE1284 not supported in this kernel
| 
| I was able to generate a simple workaround, which I verified works, by adding 
| a "#define" to the relevant source code in drivers/parport/.  I would have
| preferred to have found the actual build problem, but I must admit to not being
| able to completely decipher the build process...sorry.
| 
| I am not sure if this is relevant, but you will notice that my entire parallel
| port support is via modules. The rest of the relevant entrys from .config:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
So IEEE1284 support is also built into those modules.

I used these same .config settings except with PARPORT_PC_PCMCIA not set
and the IEEE1284 code is compiled into the parport.o module file.
And it's not just the stubs for "IEEE1284 not supported in this kernel".

Are you sure that you have loaded the correct parport*.o modules?
If so, please post more of your kernel log file, showing the surrounding
messages as well.

| #
| # Parallel port support
| #
| CONFIG_PARPORT=m
| CONFIG_PARPORT_PC=m
| CONFIG_PARPORT_PC_CML1=m
| # CONFIG_PARPORT_SERIAL is not set
| # CONFIG_PARPORT_PC_FIFO is not set
| # CONFIG_PARPORT_PC_SUPERIO is not set
| CONFIG_PARPORT_PC_PCMCIA=m
| # CONFIG_PARPORT_AMIGA is not set
| # CONFIG_PARPORT_MFC3 is not set
| # CONFIG_PARPORT_ATARI is not set
| # CONFIG_PARPORT_GSC is not set
| # CONFIG_PARPORT_SUNBPP is not set
| # CONFIG_PARPORT_OTHER is not set
| CONFIG_PARPORT_1284=y
| 
| IF it helps:
| Linux llinuxi 2.4.22 #2 Wed Nov 26 13:39:27 EST 2003 i686 unknown
|  
| Gnu C                  3.2
| Gnu make               3.79.1
| util-linux             2.11u
| mount                  2.11u
| modutils               2.4.19
| e2fsprogs              1.27
| Linux C Library        2.2.5
| Dynamic linker (ldd)   2.2.5
| Linux C++ Library      5.0.0
| Procps                 2.0.7
| Net-tools              1.60
| Kbd		       1.06
| Sh-utils               2.0
| Modules Loaded         qcamvc_pp qcamvc videodev maestro3 rtc apm 3c59x ppp_deflate zlib_deflate ppp_async ppp_generic slhc lp parport_pc parport

--
~Randy
MOTD:  Always include version info.

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

end of thread, other threads:[~2003-12-01 21:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-28 18:46 IEEE1284 (Parallel Port) Kernel Build Problem Stan Zitello
2003-12-01 21:07 ` Randy.Dunlap

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).