Re: [Emc-developers] Parport-related compile errors.

2021-07-11 Thread andy pugh
On Sun, 11 Jul 2021 at 19:10, andy pugh  wrote:

> I am re-building with the config copied from the preempt kernel.

And it is now 33M. I will try it tomorrow and put it up on the server
if it works better.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-07-11 Thread andy pugh
On Sun, 11 Jul 2021 at 18:52, andy pugh  wrote:

> But for whatever reason it isn't just the parport drivers that are
> missing, USB to serial is also absent. (So I can't program the STMBL)

I am re-building with the config copied from the preempt kernel.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-07-11 Thread andy pugh
On Fri, 2 Jul 2021 at 05:45, Alec Ari  wrote:

>   linux-image-4.14.174..> 2020-09-04 11:30   29M
>   linux-image-4.19.195..> 2021-06-27 14:23  6.2M
>
> Any idea why the 4.19.195 kernel is 23MB smaller?

I think I see why, it's probably because the config is all wrong and
leaves lots of things out.

Possibly the "make olddefconfig" didn't work?

But for whatever reason it isn't just the parport drivers that are
missing, USB to serial is also absent. (So I can't program the STMBL)

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-07-02 Thread andy pugh
On Fri, 2 Jul 2021 at 05:45, Alec Ari  wrote:
>
> One thing I noticed:
>
> https://www.linuxcnc.org/dists/buster/base/binary-amd64/
>
>   linux-image-4.14.174..> 2020-09-04 11:30   29M
>   linux-image-4.19.195..> 2021-06-27 14:23  6.2M
>
> Any idea why the 4.19.195 kernel is 23MB smaller? Maybe they switched to XZ 
> compression for bzImage and kernel modules? Buster is frozen but apparently 
> they're making quite a few changes to the kernel which is unexpected, unless 
> the build process has somehow changed?

That's a good question. I wish I had an equally good answer. It does
appear to work..
(But I will make a point of switching back to it, I was using
preempt-rt most recently as I was working on a uspace driver)

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-07-01 Thread Alec Ari via Emc-developers
Oh cool, thanks!

Alec


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-07-01 Thread Alec Ari via Emc-developers
One thing I noticed:

https://www.linuxcnc.org/dists/buster/base/binary-amd64/

  linux-image-4.14.174..> 2020-09-04 11:30   29M  
  linux-image-4.19.195..> 2021-06-27 14:23  6.2M 

Any idea why the 4.19.195 kernel is 23MB smaller? Maybe they switched to XZ 
compression for bzImage and kernel modules? Buster is frozen but apparently 
they're making quite a few changes to the kernel which is unexpected, unless 
the build process has somehow changed?

Alec


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-07-01 Thread Andy Pugh


> On 1 Jul 2021, at 22:31, Alec Ari  wrote:
> 
> Hi Andy,
> 
> Just wanted to check in and see how the debs are doing.

They have been on the server for a few days now. 




___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-07-01 Thread Alec Ari via Emc-developers
Hi Andy,

Just wanted to check in and see how the debs are doing.

Thanks!

Alec


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-06-26 Thread Alec Ari via Emc-developers
Lots of options are labeled as NEW even when then they've been in there for an 
extremely long time, don't go by that all. When you reload a config, a lot of 
those options will no longer say NEW. That's a menuconfig thing, not an actual 
change to Kconfig source. I just ignore all of those. "Experimental" is 
actually done in Kconfig (put in manually by the developers) but that's not 
around very much.

In any case, PARPORT code doesn't change very much:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/parport

Cheers!


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-06-26 Thread andy pugh
On Sat, 26 Jun 2021 at 06:17, Alec Ari via Emc-developers
 wrote:
>
> The Multi-IO and PC-style hardware drivers date back at least to 2.6.12-rc2
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/parport/Kconfig?=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2

Sorry. I seem to be confusing the situation again.
I thought that the PARPORT options still had (experimental) and (new)
tags in the current kernel. But don't see them now.
It is possible that I saw them in a config during my googling to fix
the issue, and did not notice that they are no longer marked as new or
experimental.

It still leaves open the question as to whether the additional
sub-options have been enabled in previous kernels.
(and, to an extent, the question of whether PARPORT is really off by
default in the current kernel)

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-06-25 Thread Alec Ari via Emc-developers
The Multi-IO and PC-style hardware drivers date back at least to 2.6.12-rc2

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/parport/Kconfig?=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2

Alec


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-06-24 Thread andy pugh
On Thu, 24 Jun 2021 at 22:43, Alec Ari via Emc-developers
 wrote:

> Which drivers? How new are we talking, like 5.4 kernel drivers?

I haven't the faintest idea.

But if you tunnel down into the parport device drivers in menuconfig,
there are options to enable some "multi-io" boards, which _might_ be
the ones that need a firmware putting in to them at boot time. Which
parport_pc would probably do.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-06-24 Thread Alec Ari via Emc-developers
Andy,

Which drivers? How new are we talking, like 5.4 kernel drivers?

Alec


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-06-24 Thread andy pugh
On Thu, 24 Jun 2021 at 22:23, Alec Ari via Emc-developers
 wrote:
>
> Heh! I will add PARPORT and PPDEV to the Kconfig patch the (0003 kernel 
> patch) to make sure this won't happen again.


You might want to look at the other interesting new drivers, that look
like they might work for the combination cards.


-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-06-24 Thread Alec Ari via Emc-developers
Heh! I will add PARPORT and PPDEV to the Kconfig patch the (0003 kernel patch) 
to make sure this won't happen again.

Thanks!

Alec


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-06-24 Thread Gene Heskett
On Thursday 24 June 2021 16:25:09 andy pugh wrote:

> On Thu, 24 Jun 2021 at 21:10, Alec Ari via Emc-developers
>
>  wrote:
> > So what was the PARPORT fix for you? What was the issue? Were they
> > just turned off?
>
> Yes, they were just turned off.
>
> > If you loaded the debian kernel config, then did debian actually
> > disable PARPORT in their upstream kernel?
>
> It looks like they might have, yes.
>
> Which could be a real problem if they do the same to the pre-packaged
> preemp-rt kernels that we use.

I'd say they have turned them off. I just put the new kernel in this 
morning, and dmesg, looking for "parp" is an emtpy return. I am not 
using it anyplace, so I'm not affected.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-06-24 Thread andy pugh
On Thu, 24 Jun 2021 at 21:10, Alec Ari via Emc-developers
 wrote:

> So what was the PARPORT fix for you? What was the issue? Were they just 
> turned off?

Yes, they were just turned off.

> If you loaded the debian kernel config, then did debian actually disable 
> PARPORT in their upstream kernel?

It looks like they might have, yes.

Which could be a real problem if they do the same to the pre-packaged
preemp-rt kernels that we use.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-06-24 Thread Alec Ari via Emc-developers
So what was the PARPORT fix for you? What was the issue? Were they just turned 
off? If you loaded the debian kernel config, then did debian actually disable 
PARPORT in their upstream kernel?

Alec


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-06-24 Thread andy pugh
On Thu, 24 Jun 2021 at 18:12, andy pugh  wrote:

> (This core2duo all-in-one really does give good numbers:
> https://photos.app.goo.gl/kRSnairDtRLksUma7 )

Sorry, I just checked, it is a Core i3, 2800Mhz.

Version: Intel(R) Core(TM) i3-3220T CPU @ 2.80GHz
Max Speed: 3800 MHz
Current Speed: 2800 MHz

Manufacturer: RM plc
Product Name: RM ONE ECOQUIET 320

You are unlikely to find one outside the UK, though, as they were
basically UK classroom PCs.
https://computeuk.co.uk/shop/Computer-PC-Systems/RM-One-3330

But with a parallel port and two PCI ports it makes a good LinuxCNC
test machine.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-06-24 Thread andy pugh
On Thu, 24 Jun 2021 at 10:08, andy pugh  wrote:

> > I believe PARPORT and PPDEV need to be built as modules only.

It seems not. I have them as built-in and it's all looking good.

(This core2duo all-in-one really does give good numbers:
https://photos.app.goo.gl/kRSnairDtRLksUma7 )

Though that is running the latency test via ssh, so the local display
is doing nothing.


-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-06-24 Thread andy pugh
On Thu, 24 Jun 2021 at 10:00, Alec Ari via Emc-developers
 wrote:
>
> One more thing,
>
> I believe PARPORT and PPDEV need to be built as modules only.

I will find out when I get home.

On the plus side there seems to be (new) support for some of the
multi-io boards that take a driver at startup. It is possible that we
might be able to get these working now.
(If parport_pc uploads a firmware, as they need, then that firmware
will still be in place when LinuxCNC takes over)


--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-06-24 Thread Alec Ari via Emc-developers
One more thing,

I believe PARPORT and PPDEV need to be built as modules only.

Alec


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-06-23 Thread Alec Ari via Emc-developers
Hi Andy,

LinuxCNC with RTAI always depends on CONFIG_PPDEV which depends on 
CONFIG_PARPORT

That error is expected if that driver is off, previous versions it's the same 
thing. For some reason, CONFIG_PARPORT and CONFIG_PPDEV are disabled. In the 
past, you had those on hence no compiling error.

Alec






On Tuesday, June 22, 2021, 11:50:52 PM UTC, andy pugh  
wrote: 





On Wed, 23 Jun 2021 at 00:29, andy pugh  wrote:
>
> Trying to compile 2.8 under the 4.19.195 RTAI kernel I get the output below.

> [/home/andypugh/linuxcnc-dev/src/hal_parport.ko] undefined!
> WARNING: "parport_claim"

Looks to be a real problem:

halcmd: loadrt hal_parport cfg="0x378"
insmod: ERROR: could not insert module
/home/andypugh/linuxcnc-dev/rtlib/hal_parport.ko: Unknown symbol in
module


-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport-related compile errors.

2021-06-22 Thread andy pugh
On Wed, 23 Jun 2021 at 00:29, andy pugh  wrote:
>
> Trying to compile 2.8 under the 4.19.195 RTAI kernel I get the output below.

> [/home/andypugh/linuxcnc-dev/src/hal_parport.ko] undefined!
> WARNING: "parport_claim"

Looks to be a real problem:

halcmd: loadrt hal_parport cfg="0x378"
insmod: ERROR: could not insert module
/home/andypugh/linuxcnc-dev/rtlib/hal_parport.ko: Unknown symbol in
module

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Parport-related compile errors.

2021-06-22 Thread andy pugh
Trying to compile 2.8 under the 4.19.195 RTAI kernel I get the output below.

Is this usual at the moment, or something specific to my RTAI setup?

make[1]: Leaving directory '/usr/src/linux-headers-4.19.195-rtai'
WARNING: "parport_find_number"
[/home/andypugh/linuxcnc-dev/src/pluto_step.ko] undefined!
WARNING: "parport_unregister_device"
[/home/andypugh/linuxcnc-dev/src/pluto_step.ko] undefined!
WARNING: "parport_claim"
[/home/andypugh/linuxcnc-dev/src/pluto_step.ko] undefined!
WARNING: "parport_release"
[/home/andypugh/linuxcnc-dev/src/pluto_step.ko] undefined!
WARNING: "parport_register_device"
[/home/andypugh/linuxcnc-dev/src/pluto_step.ko] undefined!
WARNING: "parport_put_port"
[/home/andypugh/linuxcnc-dev/src/pluto_servo.ko] undefined!
WARNING: "parport_find_base"
[/home/andypugh/linuxcnc-dev/src/pluto_servo.ko] undefined!
WARNING: "parport_find_number"
[/home/andypugh/linuxcnc-dev/src/pluto_servo.ko] undefined!
WARNING: "parport_unregister_device"
[/home/andypugh/linuxcnc-dev/src/pluto_servo.ko] undefined!
WARNING: "parport_claim"
[/home/andypugh/linuxcnc-dev/src/pluto_servo.ko] undefined!
WARNING: "parport_release"
[/home/andypugh/linuxcnc-dev/src/pluto_servo.ko] undefined!
WARNING: "parport_register_device"
[/home/andypugh/linuxcnc-dev/src/pluto_servo.ko] undefined!
WARNING: "parport_put_port"
[/home/andypugh/linuxcnc-dev/src/hm2_7i90.ko] undefined!
WARNING: "parport_find_base"
[/home/andypugh/linuxcnc-dev/src/hm2_7i90.ko] undefined!
WARNING: "parport_find_number"
[/home/andypugh/linuxcnc-dev/src/hm2_7i90.ko] undefined!
WARNING: "parport_unregister_device"
[/home/andypugh/linuxcnc-dev/src/hm2_7i90.ko] undefined!
WARNING: "parport_claim" [/home/andypugh/linuxcnc-dev/src/hm2_7i90.ko]
undefined!
WARNING: "parport_release"
[/home/andypugh/linuxcnc-dev/src/hm2_7i90.ko] undefined!
WARNING: "parport_register_device"
[/home/andypugh/linuxcnc-dev/src/hm2_7i90.ko] undefined!
WARNING: "parport_put_port"
[/home/andypugh/linuxcnc-dev/src/hm2_7i43.ko] undefined!
WARNING: "parport_find_base"
[/home/andypugh/linuxcnc-dev/src/hm2_7i43.ko] undefined!
WARNING: "parport_find_number"
[/home/andypugh/linuxcnc-dev/src/hm2_7i43.ko] undefined!
WARNING: "parport_unregister_device"
[/home/andypugh/linuxcnc-dev/src/hm2_7i43.ko] undefined!
WARNING: "parport_claim" [/home/andypugh/linuxcnc-dev/src/hm2_7i43.ko]
undefined!
WARNING: "parport_release"
[/home/andypugh/linuxcnc-dev/src/hm2_7i43.ko] undefined!
WARNING: "parport_register_device"
[/home/andypugh/linuxcnc-dev/src/hm2_7i43.ko] undefined!
WARNING: "parport_put_port"
[/home/andypugh/linuxcnc-dev/src/hal_ppmc.ko] undefined!
WARNING: "parport_find_base"
[/home/andypugh/linuxcnc-dev/src/hal_ppmc.ko] undefined!
WARNING: "parport_find_number"
[/home/andypugh/linuxcnc-dev/src/hal_ppmc.ko] undefined!
WARNING: "parport_unregister_device"
[/home/andypugh/linuxcnc-dev/src/hal_ppmc.ko] undefined!
WARNING: "parport_claim" [/home/andypugh/linuxcnc-dev/src/hal_ppmc.ko]
undefined!
WARNING: "parport_release"
[/home/andypugh/linuxcnc-dev/src/hal_ppmc.ko] undefined!
WARNING: "parport_register_device"
[/home/andypugh/linuxcnc-dev/src/hal_ppmc.ko] undefined!
WARNING: "parport_put_port"
[/home/andypugh/linuxcnc-dev/src/hal_parport.ko] undefined!
WARNING: "parport_find_base"
[/home/andypugh/linuxcnc-dev/src/hal_parport.ko] undefined!
WARNING: "parport_find_number"
[/home/andypugh/linuxcnc-dev/src/hal_parport.ko] undefined!
WARNING: "parport_unregister_device"
[/home/andypugh/linuxcnc-dev/src/hal_parport.ko] undefined!
WARNING: "parport_claim"
[/home/andypugh/linuxcnc-dev/src/hal_parport.ko] undefined!
WARNING: "parport_release"
[/home/andypugh/linuxcnc-dev/src/hal_parport.ko] undefined!
WARNING: "parport_register_device"
[/home/andypugh/linuxcnc-dev/src/hal_parport.ko] undefined!



-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers