Hi, everyone, I use Pycam with my milling machine. The process I follow is: design with OpenSCAD, export as DXF or STL format. Open with PYCAM and adjust settings for feedrate, speed, bit size and so forth as required for the project and material. Load the DXF or STL file and run one of the tool paths.
This has worked for years with no issues. Today, though, Pycam fails. No errors when the window closes suddenly withour finishing the job. So I started Pycam from the terminal windows and here are the error messages:
Psyco is not available (performance will probably suffer slightly) Enabled 8 parallel local processes Font directory: /usr/share/pycam/fonts Loading task settings file: /home/lesh/CNC/PYCAM/plywood.conf Imported STL model: 839 vertices, 0 edges, 1444 triangles No previous undo state available - request ignored Imported STL model: 518 vertices, 0 edges, 800 triangles radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x882000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x881000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x884000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x882000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x881000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x884000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x882000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x881000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x884000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x882000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x881000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x884000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x882000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x881000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x884000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x882000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x881000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x884000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x882000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x881000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x884000 Toolpath generation time: 6.927992 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x882000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x881000 radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x884000 Segmentation fault (core dumped)
Here is my machine configuration:
On Sun, 02 Oct 2016 09:34:52 -0700 Howard Howell hlhowell@pacbell.net wrote:
Hi, everyone, I use Pycam with my milling machine. The process I follow is: design with OpenSCAD, export as DXF or STL format. Open with PYCAM and adjust settings for feedrate, speed, bit size and so forth as required for the project and material. Load the DXF or STL file and run one of the tool paths.
This has worked for years with no issues. Today, though, Pycam fails. No errors when the window closes suddenly withour finishing the job. So I started Pycam from the terminal windows and here are the error messages:
Psyco is not available (performance will probably suffer slightly) Enabled 8 parallel local processes Font directory: /usr/share/pycam/fonts Loading task settings file: /home/lesh/CNC/PYCAM/plywood.conf Imported STL model: 839 vertices, 0 edges, 1444 triangles No previous undo state available - request ignored Imported STL model: 518 vertices, 0 edges, 800 triangles
I think these are just informational. I find this about psyco.
12 March 2012
Psyco is unmaintained and dead. Please look at PyPy for the state-of-the-art in JIT compilers for Python.
[snip]
radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x884000 Segmentation fault (core dumped)
This seems to be your problem. Since radeon is a kernel module, it is possible that it is a kernel issue. What happens if you boot a previous kernel?
If a previous kernel works, you should open a ticket against the kernel at https://bugzilla.redhat.com/ describing your problem with the radeon driver.
If it doesn't, then something else has changed. That will take further sleuthing to find.
On Sun, 2016-10-02 at 10:23 -0700, stan wrote:
On Sun, 02 Oct 2016 09:34:52 -0700 Howard Howell hlhowell@pacbell.net wrote:
Hi, everyone, I use Pycam with my milling machine. The process I follow is: design with OpenSCAD, export as DXF or STL format. Open with PYCAM and adjust settings for feedrate, speed, bit size and so forth as required for the project and material. Load the DXF or STL file and run one of the tool paths.
This has worked for years with no issues. Today, though, Pycam fails. No errors when the window closes suddenly withour finishing the job. So I started Pycam from the terminal windows and here are the error messages:
Psyco is not available (performance will probably suffer slightly) Enabled 8 parallel local processes Font directory: /usr/share/pycam/fonts Loading task settings file: /home/lesh/CNC/PYCAM/plywood.conf Imported STL model: 839 vertices, 0 edges, 1444 triangles No previous undo state available - request ignored Imported STL model: 518 vertices, 0 edges, 800 triangles
I think these are just informational. I find this about psyco.
12 March 2012
Psyco is unmaintained and dead. Please look at PyPy for the state-of-the-art in JIT compilers for Python.
[snip]
radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x884000 Segmentation fault (core dumped)
This seems to be your problem. Since radeon is a kernel module, it is possible that it is a kernel issue. What happens if you boot a previous kernel?
If a previous kernel works, you should open a ticket against the kernel at https://bugzilla.redhat.com/ describing your problem with the radeon driver.
If it doesn't, then something else has changed. That will take further sleuthing to find.
Ok, I tried the previous kernel, and had no luck.
I just remembered that I attempted to delete a package from my system and it started to erase things, but I stopped it. This may have done the damage. This was a real screw-up on my part, and so I don't think a bugzilla is the correct action.
It had also erased the Repetier host package that I used to generate the Gcodes for my K8200 printer. I reinstalled Repetier host and that works, but pycam still does not. Nothing else seems to be affected.
However if the Kernel is the location, is the radeon package in a separate file? If it is, what could I reinstall to recover that driver?
Regards, Les H
On Thu, 13 Oct 2016 12:08:06 -0700 Howard Howell hlhowell@pacbell.net wrote:
radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x884000 Segmentation fault (core dumped)
Ok, I tried the previous kernel, and had no luck.
Then, it is likely not a kernel issue. Was the error the same?
I just remembered that I attempted to delete a package from my system and it started to erase things, but I stopped it. This may have done the damage. This was a real screw-up on my part, and so I don't think a bugzilla is the correct action.
Did you try re-installing the package(s) that you think caused the problem? dnf reinstall [package] There should be a record of them in the dnf logs (/var/log/dnf*.log) That would put everything back the way it was before the delete (minus any configuration customization).
However if the Kernel is the location, is the radeon package in a separate file? If it is, what could I reinstall to recover that driver?
The radeon driver is built into all stock Fedora kernels, so it is always there. And a reboot always loads it fresh, so unless it was damaged on the disk in both kernels, it is probably not the problem. Is it possible you have a failing hard disk? You should be seeing warning messages if it is.
Is it possible that the video card itself is flaky? Is anything else failing occasionally? Is it really dusty?
You could try a reinstall of pycam, in case it has been damaged. It hasn't changed in ages, so there is no newer version to worry about. Is there any configuration that might have been accidentally changed?
Are there any errors showing up in the logs when you try the pycam command and it fails? You can try dmesg or journalctl -r which shows log messages in reverse time order.
Obviously, something changed, it's just figuring out what it is.
On Sun, 2016-10-02 at 10:23 -0700, stan wrote:
On Sun, 02 Oct 2016 09:34:52 -0700 Howard Howell hlhowell@pacbell.net wrote:
Hi, everyone, I use Pycam with my milling machine. The process I follow is: design with OpenSCAD, export as DXF or STL format. Open with PYCAM and adjust settings for feedrate, speed, bit size and so forth as required for the project and material. Load the DXF or STL file and run one of the tool paths.
This has worked for years with no issues. Today, though, Pycam fails. No errors when the window closes suddenly withour finishing the job. So I started Pycam from the terminal windows and here are the error messages:
Psyco is not available (performance will probably suffer slightly) Enabled 8 parallel local processes Font directory: /usr/share/pycam/fonts Loading task settings file: /home/lesh/CNC/PYCAM/plywood.conf Imported STL model: 839 vertices, 0 edges, 1444 triangles No previous undo state available - request ignored Imported STL model: 518 vertices, 0 edges, 800 triangles
I think these are just informational. I find this about psyco.
12 March 2012
Psyco is unmaintained and dead. Please look at PyPy for the state-of-the-art in JIT compilers for Python.
[snip]
radeon: Failed to deallocate virtual address for buffer: radeon: size : 4096 bytes radeon: va : 0x884000 Segmentation fault (core dumped)
This seems to be your problem. Since radeon is a kernel module, it is possible that it is a kernel issue. What happens if you boot a previous kernel?
If a previous kernel works, you should open a ticket against the kernel at https://bugzilla.redhat.com/ describing your problem with the radeon driver.
If it doesn't, then something else has changed. That will take further sleuthing to find.
Ok, I tried the previous kernel, and had no luck.
I just remembered that I attempted to delete a package from my system and it started to erase things, but I stopped it. This may have done the damage.
It had also erased the Repetier host package that I used to generate the Gcodes for my K8200 printer. I reinstalled Repetier host and that works, but pycam still does not. Nothing else seems to be affected.
However if the Kernel is the location, is the radeon package in a separate file? If it is, what could I reinstall to recover that driver?
Regards, Les H