Try pulling the USB cable and re-inserting.
Did a lot of times, also rebooted all things.
The driver is ok and Serial Monitor opens correctly on COM16, The problem could be in the upload script.
What OS are you using?
Also can you include a screen shot or copy the exact error messages you are getting?
I'm using Windows 7, see the attached file in the original post that contains the whole compiler trace.
Had the same Arduino sketch incomplete upload issue along with the OS halt happen to me. Also noticed the same thing happened when I tried to upload an Node.js project from the Intel XDK application.
About the same time the Arduino upload problem started, the Edison started posting this error during start up - "[FAILED] Failed to start Update UTMP about System Boot/Shutdown. See 'systemctl status systemd-update-utmp.service' for details."
After some digging around on the Edison, I discovered the journal files had filled up my root directory (/dev/root)
'df -h' showed my Edison '/' was at 100%
'du -a /var | sort -n -r | head -n 10' showed me the large journal files.
My plan is to change the /etc/systemd/journald.conf file to limit the size the journals can grow, but for now I just deleted the oldest and largest ones from /var/log/journal directory.
Now that I reclaimed disk space on root, the Arduino sketch uploads and the UTMP error is gone. Going to test an XDK upload later today, but expect that should work now.
1 of 1 people found this helpful
You're right Doug, after deleted all contents in from /var/log/journal directory the sketch was correctly uploaded.
Thanks a lot.
@ Intel Edison Team: the upload script could be improved in order to avoid /dev/root over filling
Thanks for this post, I also just looked at my machine again and it showed the root full. did like Roberto and deleted everything in the /var/log/journal directory and now it shows that the root is 68% full.
I also agree that the default journal control should be updated to avoid this.
as mentioned in another mail thread you can configure the journalctl behaviour by modifying /etc/systemd/journald.conf
Is this something that can be done from the command line in PuTTY, or is it much more involved? I suspect that a few of us who aren't linux conversant will have difficulties.
Edison is Linux based, all system operations are managed from command line. Tell me if you need the exact sequence.
I just got a peek of the journal files and most of the records are related to the mDSN system.
I wonder how to stop it.
Much thanks for the offer. I figured it out, however. Tricky, since I don't speak linux.
Hello Roberto.Valgolio ,
This seems to be the most recent thread on "space" becoming full on the Edison and users not being able to transfer their successful compiled sketches!
I went back to an older thread Can I increase the size of the Root '/' partition? to find even more info and found out that there seems to be a few things that fill up space. So this brought up a lot of questions; if you wouldn't mind helping to answer them I would greatly appreciate it !
1. My "/dev/root" is currently full and when I type " # rm -ir /dev/root " I get the message "rm: can't remove '/dev/root': No such file or directory" , not sure if I'm trying to completely delete it (no good) or just erase what's on it. How do I properly erase this?
1.a. Even if I do this successfully it's not a permanent solution, does that mean every time I upload a sketch it will fill and eventually get full? If so that's okay so long as it doesn't randomly get full while it's running the sketch over a long period of time (which is won't right?)
2. On the older thread that I posted above, on page 2, the user rubidium found that every time he was rebooting the Edison an additional 8M of space was being added, mhahn explained that it might be the journal , and rubidium showed "[Journal]" to change Storage=persistent to Storage=none. mhahn showed the path to access it and explained that this would mean no journal logs, by entering the specified path into Putty are the settings changeable from Putty? and does "no journal logs" mean that no readable error messages show up when sketching in the Arduino IDE?
Very sorry for the long convoluted questions, just started all this a few days ago and Arduino last wekk, but this my current issue along with many more, and would greatly appreciate any assistance or guidance
Edit: I try entering the Journal path " /etc/systemd/journald.conf " into Putty and I get "Permission denied" am I not suppose to access it from Putty?
To avoid filling the partition i set "/etc/systemd/journald.conf as:
Try if it works for you..