[LinuxPPS] bug in kernel config

Jon Schewe jon.schewe at honeywell.com
Wed Feb 7 15:45:26 CET 2007


On Wed, 2007-02-07 at 15:12 +0100, Rodolfo Giometti wrote:
> On Wed, Feb 07, 2007 at 06:40:39AM -0600, Jon Schewe wrote:
> > I've found when I do make menuconfig and add in PPS support I'm given
> > the option of building PPS as a module.  This doesn't work as no module
> > appears to be created and I'm unable to sync anything as the 8250 serial
> > support is not even an option at this point.  If I change PPS to be
> > built directly into the kernel, I'm then able to choose 8250 serial
> > support and everything works just fine.  Could this change be made for
> > the next rev?
> 
> If you choose PPS as a module the file pps_core.ko will be created,
> and in this case you cannot enable serial support until you select
> serial core as a module too.
> 
> Here what you can find into drivers/pps/clients/Kconfig:
> 
>    config PPS_CLIENT_UART
>            bool "UART serial support"
>            depends on PPS && SERIAL_CORE && \
>                            ! ( PPS = m && SERIAL_CORE = y ) && EXPERIMENTAL
> 
> This is necessary since is not possible to load a serial driver as a
> module if pps_core is not already loaded into kernel, and someone may
> needs serial support but not the PPS one.

But serial core is set in a whole different menu (when I do make
menuconfig, the 8250 serial support option only shows up under PPS when
PPS is build directly into the kernel), so it's really confusing.  I had
no idea that I would need to go over to the serial options and make them
a module instead of built directly into the kernel to allow PPS support.
Could there be some kind of warning or compile error if one enables PPS
as a module and doesn't enable the appropriate serial modules?
Otherwise you get your kernel built and spend some time trying to figure
out why PPS isn't working.


________________________________________________________________________
http://lug.htc.honeywell.com/people/jschewe [Honeywell Intranet Only]
*My views may not represent those of my employers




More information about the LinuxPPS mailing list