- LinuxCNC
- General LinuxCNC Questions
- How to modifying the HAL_SIZE in linuxcnc (Insufficient memory PROBLEM)
How to modifying the HAL_SIZE in linuxcnc (Insufficient memory PROBLEM)
- fery15sty
- Offline
- Senior Member
Less
More
- Posts: 79
- Thank you received: 9
22 Sep 2023 08:05 - 22 Sep 2023 14:26 #281352
by fery15sty
How to modifying the HAL_SIZE in linuxcnc (Insufficient memory PROBLEM) was created by fery15sty
I created a configuration that contains a lot of hal components.
Previously I was using Debian Wheezy 2.8.4, everything worked fine.
but when I updated to Debian Buster 2.8.4 but an error like this appeared...
how do i increase hal memory??
I've read posts with the same problem, but I don't know how to do it
forum.linuxcnc.org/10-advanced-configura...-signal-pin?start=20
Previously I was using Debian Wheezy 2.8.4, everything worked fine.
but when I updated to Debian Buster 2.8.4 but an error like this appeared...
how do i increase hal memory??
I've read posts with the same problem, but I don't know how to do it
forum.linuxcnc.org/10-advanced-configura...-signal-pin?start=20
Attachments:
Last edit: 22 Sep 2023 14:26 by fery15sty.
Please Log in or Create an account to join the conversation.
- Aciera
- Away
- Administrator
Less
More
- Posts: 4001
- Thank you received: 1728
22 Sep 2023 13:35 #281374
by Aciera
Replied by Aciera on topic How to modifying the HAL_SIZE in linuxcnc (Insufficient memory PROBLEM)
If I understand the linked thread correctly then you can only increase the hal memory if you compile linuxcnc on your computer (aka a RIP or run-in-place installation).
If you installed linuxcnc using a package or an ISO image you cannot increase hal memory size.
So the question is: How did you install Linuxcnc?
If you installed linuxcnc using a package or an ISO image you cannot increase hal memory size.
So the question is: How did you install Linuxcnc?
The following user(s) said Thank You: fery15sty
Please Log in or Create an account to join the conversation.
- fery15sty
- Offline
- Senior Member
Less
More
- Posts: 79
- Thank you received: 9
22 Sep 2023 14:38 #281384
by fery15sty
Replied by fery15sty on topic How to modifying the HAL_SIZE in linuxcnc (Insufficient memory PROBLEM)
I installed Linuxcnc using an ISO image.
OK, I will try to use the RIP installation method.
Thank you very much
OK, I will try to use the RIP installation method.
Thank you very much
Please Log in or Create an account to join the conversation.
- fery15sty
- Offline
- Senior Member
Less
More
- Posts: 79
- Thank you received: 9
22 Sep 2023 17:09 #281394
by fery15sty
Replied by fery15sty on topic How to modifying the HAL_SIZE in linuxcnc (Insufficient memory PROBLEM)
Sorry, I don't understand how to install Linuxcnc Run in Place.
I've read the instructions here:
linuxcnc.org/docs/html/code/building-linuxcnc.html
but I'm getting confused
I've read the instructions here:
linuxcnc.org/docs/html/code/building-linuxcnc.html
but I'm getting confused
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19460
- Thank you received: 6529
22 Sep 2023 17:32 #281401
by tommylight
Replied by tommylight on topic How to modifying the HAL_SIZE in linuxcnc (Insufficient memory PROBLEM)
Just the quick start part, 1.1, most probably.
Please Log in or Create an account to join the conversation.
- Aciera
- Away
- Administrator
Less
More
- Posts: 4001
- Thank you received: 1728
22 Sep 2023 17:39 - 22 Sep 2023 17:54 #281403
by Aciera
Replied by Aciera on topic How to modifying the HAL_SIZE in linuxcnc (Insufficient memory PROBLEM)
Running this should create a folder named 'linuxcnc-dev' containing the source files:
$ git clone github.com/linuxcnc/linuxcnc.git linuxcnc-dev
Run these to get the most up-to-date packages
sudo apt update
sudo apt upgrade
Then install these dependencies (not all may be needed and/or you may need to install others but these should give you a good start )
sudo apt install automake
sudo apt install libudev-dev
sudo apt install libusb-1.0-0-dev
sudo apt install glib
sudo apt install libglib2.0-dev
sudo apt install libgtk-3-dev
sudo apt install yapps2
sudo apt install intltool
sudo apt install tcl8.6-dev tk8.6-dev
sudo apt install bwidget
sudo apt install tclx
sudo apt install libreadline-gplv2-dev
sudo apt install libxmu6
sudo apt install libxmu-dev
sudo apt install asciidoc
sudo apt install libmodbus-dev
sudo apt install libgtk2.0-dev
sudo apt install libboost-python-dev
sudo apt install python3-gi
sudo apt install libpango-1.0-0
then do
$ cd linuxcnc-dev/src
$ ./autogen.sh
$ ./configure --with-realtime=uspace --disable-build-documentation-translation --enable-non-distributable
Note there may be errors here about missing dependencies. If unsure post the error here.
If the above command completed without error then do:
$ make && sudo make setuid
This will take a while. If it finishes without errors then do
$ cd ..
On a rip installation, every time you open a new terminal you need to set the source to start linuxcnc
$ source scripts/rip-environment
then you can see if it works
$ linuxcnc
[edit]
Use the more current doc here:
linuxcnc.org/docs/devel/html/code/building-linuxcnc.html
$ git clone github.com/linuxcnc/linuxcnc.git linuxcnc-dev
Run these to get the most up-to-date packages
sudo apt update
sudo apt upgrade
Then install these dependencies (not all may be needed and/or you may need to install others but these should give you a good start )
sudo apt install automake
sudo apt install libudev-dev
sudo apt install libusb-1.0-0-dev
sudo apt install glib
sudo apt install libglib2.0-dev
sudo apt install libgtk-3-dev
sudo apt install yapps2
sudo apt install intltool
sudo apt install tcl8.6-dev tk8.6-dev
sudo apt install bwidget
sudo apt install tclx
sudo apt install libreadline-gplv2-dev
sudo apt install libxmu6
sudo apt install libxmu-dev
sudo apt install asciidoc
sudo apt install libmodbus-dev
sudo apt install libgtk2.0-dev
sudo apt install libboost-python-dev
sudo apt install python3-gi
sudo apt install libpango-1.0-0
then do
$ cd linuxcnc-dev/src
$ ./autogen.sh
$ ./configure --with-realtime=uspace --disable-build-documentation-translation --enable-non-distributable
Note there may be errors here about missing dependencies. If unsure post the error here.
If the above command completed without error then do:
$ make && sudo make setuid
This will take a while. If it finishes without errors then do
$ cd ..
On a rip installation, every time you open a new terminal you need to set the source to start linuxcnc
$ source scripts/rip-environment
then you can see if it works
$ linuxcnc
[edit]
Use the more current doc here:
linuxcnc.org/docs/devel/html/code/building-linuxcnc.html
Last edit: 22 Sep 2023 17:54 by Aciera.
Please Log in or Create an account to join the conversation.
- LinuxCNC
- General LinuxCNC Questions
- How to modifying the HAL_SIZE in linuxcnc (Insufficient memory PROBLEM)
Time to create page: 0.067 seconds