Fresh Install, LinuxCNC application won't start.

More
31 Aug 2015 08:12 - 12 Sep 2015 09:38 #61929 by cnccircuits
Hi, Im having some trouble getting LinuxCNC 2.6.4 running on my Asus m4a89gtd pro/usb3 (socket AM3) motherboard - specs .

When the OS begins to load it gets to a "loading.. please wait" screen then sits, then, shows this message (twice):
"""
[   35.046580] ata3.00: status: { DRDY }
[   35.046626] ata3: hard resetting link
[   35.538116] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   36.340115] ata3.00: configured for UDMA/100
[   37.140487] ata3: EH complete
[   68.116883] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[   68.116936] ata3.00: failed command: IDENTIFY PACKET DEVICE
[   68.116985] ata3.00: cmd a1/00:01:00:00:00/00:00:00:00:00/00 tag 0 pio 512 in
[   68.116986]          res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
[   68.117084] ata3.00: status: { DRDY }
"""

after which it continues to load to the login GUI and I am amble to use things like the web browser (currently am) and terminal emulators, just about anything not related to the CNC suite. However every time I attempt to load the LinuxCNC interface -or- run a latency test from stepconf wizard the entire system halts, the mouse still pans around but all i see is a black shell with some log text.. Power button is unresponsive, CTRL+AlT+F1 unresponsive, CTRL+ALT+T unresponsive, you get the idea..

I should mention that the Asus m4a89gtd pro/usb3 motherboard does not have an onboard LPT port! And maybe that's the root of my issue?? I am not sure if this board was a good choice but it seems to run Ubuntu 10.04 just fine.
And just for the record this past Saturday night I lost my good old CNC PC (due to age) so I was forced to try the live install on my other PC which I had connected to my 3D printer.
I understood that there was no parallel port and I just wanted to see if it could run but have not yet been able to verify.
However in order to remedy the problem of not having the LPT port issue on my Asus board I have just ordered a Sunix 4018A dual parallel port PCI card from Ebay and it should be here soon.
I'm now hoping to be able to have a nicer PC that I can both design on and run my CNC/3D printer software :D but whatever this is that's keeping LinuxCNC from starting is kinda bumming me out :(

I have attached the full dmesg output as a file named dmesg.txt for refrence.

Any suggestions would be appreciated? And Thanks!
Attachments:
Last edit: 12 Sep 2015 09:38 by cnccircuits.

Please Log in or Create an account to join the conversation.

More
31 Aug 2015 15:53 #61932 by ArcEye
Hi

[ 68.116883] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen


This is a hard drive error, what you try to access is coincidental.

It appears from other references it is a kernel ata ACPI error, ie the bus connected to your HDD, probably the combination of your MB and this kernel are producing the error

See this which shows others having the same problem with ubuntu too and the solution

ubuntuforums.org/archive/index.php/t-1034762.html

Note that you will have to create a file in /etc/modprobe.d/ called options.conf and put the line 'options libata noacpi=1'.
Later kernels only parse files with .conf extensions

regards

Please Log in or Create an account to join the conversation.

More
31 Aug 2015 22:49 - 31 Aug 2015 22:56 #61944 by cnccircuits
Thanks ArcEye for those recommendations. As soon as i saw your reply I jumped out of bed and read through that link you provided, then tried adding that command to a newly created file called "options.conf" in the "/etc/modprobe.d/" directory. rebooted and still got the errors. so i tried changing a bunch of ACPI and CPU related settings in the BIOS but nothing had any effect. As of now I have reset my BIOS and deleted the options.conf file :dry:

This is a hard drive error, what you try to access is coincidental.

I hope this is true as it sounds (relatively) easy to fix, however nowhere else in ubuntu do i experience problems, only the CNC related stuff. And this happens both on live and local installs.
Last edit: 31 Aug 2015 22:56 by cnccircuits.

Please Log in or Create an account to join the conversation.

More
31 Aug 2015 23:17 #61947 by ArcEye
This is the bug report at Ubuntu

bugs.launchpad.net/ubuntu/+source/linux/+bug/202767

You will notice it mentions S3 and suspend

I did notice in your dmesg, a reference to hibernation file and a failure on sata3
[   35.046378] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[   35.046431] ata3.00: failed command: IDENTIFY PACKET DEVICE
[   35.046481] ata3.00: cmd a1/00:01:00:00:00/00:00:00:00:00/00 tag 0 pio 512 in
[   35.046482]          res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
[   35.046580] ata3.00: status: { DRDY }
[   35.046626] ata3: hard resetting link
[   35.538116] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   36.340115] ata3.00: configured for UDMA/100
[   37.140487] ata3: EH complete
[   68.116883] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[   68.116936] ata3.00: failed command: IDENTIFY PACKET DEVICE
[   68.116985] ata3.00: cmd a1/00:01:00:00:00/00:00:00:00:00/00 tag 0 pio 512 in
[   68.116986]          res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
[   68.117084] ata3.00: status: { DRDY }
[   68.117130] ata3: hard resetting link
[   68.608621] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   69.410086] ata3.00: configured for UDMA/100
[   70.210473] ata3: EH complete
[   75.265303] PM: Starting manual resume from disk
[   75.265305] PM: Hibernation image partition 8:5 present
[   75.265307] PM: Looking for hibernation image.
[   75.265455] PM: Image not found (code -22)
[   75.265457] PM: Hibernation image not present or could not be loaded.
[   75.269864] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[   75.269866] EXT4-fs (sda1): write access will be enabled during recovery
[   75.928482] EXT4-fs (sda1): orphan cleanup on readonly fs
[   75.928487] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 5242894
[   75.928522] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 5242884
[   75.928531] EXT4-fs (sda1): 2 orphan inodes deleted
[   75.928532] EXT4-fs (sda1): recovery complete
[   76.031546] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   78.430900] udevd[453]: starting version 175
[   78.718672] wmi: Mapper loaded
[   79.010260] ACPI Warning: 0x00000b00-0x00000b07 SystemIO conflicts with Region \_SB_.PCI0.SBRG.ASOC.SMRG 1 (20120320/utaddress-251)
[   79.010266] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver

I would first try moving the HDD to another SATA port and detaching and reattaching the connector lead to make sure it is properly seated.

Then I would go into BIOS and disable all the power saving, hibernation, suspend to disk, wake up modes (S2 S3 S4 etc). They should not be enabled for a machine controller.

Then try a couple of reboots and see what happens.

The previous link certainly seems to work for some people and the errors smell like HDD, it is just a case of why they are occuring

Good Luck

Please Log in or Create an account to join the conversation.

More
12 Sep 2015 09:42 - 12 Sep 2015 09:44 #62490 by cnccircuits
Just a follow up, after a good few various attempts given the suggestions in this post I was still unable to get things working on my Asus motherboard. so.. I ordered and just received an Intel Atom board with a solid state HDD and i have to say that those little buggers work wonderfully!

Cheers.
Last edit: 12 Sep 2015 09:44 by cnccircuits.

Please Log in or Create an account to join the conversation.

Time to create page: 0.119 seconds
Powered by Kunena Forum