Re: [Emc-users] Why doesn't LinuxCNC run? Error log attached.

2013-06-27 Thread Mark Wendt
On Thu, Jun 27, 2013 at 12:01 AM, Gregg Eshelman g_ala...@yahoo.com wrote:


  It's moronic to run windows.



Fixed that for ya...  ;-)

Mark
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why doesn't LinuxCNC run? Error log attached.

2013-06-26 Thread Gregg Eshelman
On Tue, 6/25/13, Alex Joni alex.j...@robcon.ro wrote:

 Subject: Re: [Emc-users] Why doesn't LinuxCNC run? Error log attached.
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Date: Tuesday, June 25, 2013, 1:47 AM
 
 The error is in your log:
 
 [  216.183331] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED
 BUT NOT 
 AVAILABLE/ENABLED.
 
 and a good description (including a fix) can be found here:
 
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?TroubleShooting#emc2_doesn_t_run_missing_lapic
 
 Regards,
 Alex

Well that might fix it, if I knew how to change it from read only so it can be 
edited. Were this Windows I could run a text editor with elevated Administrator 
rights, make the change, save it then it goes back to its usual untouchable 
setting.

Is there a way to change settings so I can be a user with full access to 
everything so I don't have to constantly be entering a password for Every 
Little Change until I have the system working? Have to enter a password just to 
change the power management settings so it won't go to sleep. (Shouldn't the 
defaults be pre-changed to no sleeping or standby for LinuxCNC?)

On Windows I have my login with Administrator rights and turn off User Account 
Control so I don't have the OS constantly pestering me about Do you really 
want to do that? Are you *really* sure you want to do that? Come on, you 
really don't want to do that!.

I'd like to do that with Linux, have it so I can do everything I need to do 
without having to constantly genuflect to the ghod of security, then lock 
things down when it's ready for the less computer savvy to use. Ie, when a 
configuration file needs edited I want to be able to edit it without having to 
hop around in a spinward circle while holding my nose and whistling the 
Katamari Damacy theme song. ;-)

I've used and fixed computers for 30 years, DOS since 2.1, Windows since 3.0, 
Mac System 7.1 through 9.2.2. Haven't bothered much with Linux or OS X, tried 
BeOS until that company went out of business.

I've been looking around at what's included in this CD image and I see several 
things that could be left out. Firefox, some multimedia software, Gnumeric and 
some others. Has anyone done a stripped down, bare bones install that has 
nothing but Ubuntu, LinuxCNC and the window manager/gui?

I want this box to not have anything on it except for LinuxCNC because that is 
all it will be doing. It won't be used for CAD or altering designs. Its sole 
purpose will be moving a cutting torch. Put a piece of metal on the table, open 
the design file, cut it. That's it. Has to be something I can easily train the 
people who'll be operating it.

Having other software installed will only tempt some operator to try to do 
other things. Lemme guess, it'll ask for a password just to uninstall Firefox, 
if it isn't an operation restricted to root access?

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why doesn't LinuxCNC run? Error log attached.

2013-06-26 Thread Viesturs Lācis
2013/6/26 Gregg Eshelman g_ala...@yahoo.com

 On Tue, 6/25/13, Alex Joni alex.j...@robcon.ro wrote:

  Subject: Re: [Emc-users] Why doesn't LinuxCNC run? Error log attached.
  To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
  Date: Tuesday, June 25, 2013, 1:47 AM

  The error is in your log:

  [  216.183331] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED
  BUT NOT
  AVAILABLE/ENABLED.

  and a good description (including a fix) can be found here:

 http://wiki.linuxcnc.org/cgi-bin/wiki.pl?TroubleShooting#emc2_doesn_t_run_missing_lapic

  Regards,
  Alex

 Well that might fix it, if I knew how to change it from read only so it
 can be edited. Were this Windows I could run a text editor with elevated
 Administrator rights, make the change, save it then it goes back to its
 usual untouchable setting.


If I understand correctly, what you are asking, then opening a text editor
with root privileges is very simple - in terminal execute sudo gedit.

-- 
Viesturs

If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why doesn't LinuxCNC run? Error log attached.

2013-06-26 Thread Gregg Eshelman
Now LinuxCNC runs. So does the latency test.

On Wed, 6/26/13, Viesturs Lācis viesturs.la...@gmail.com wrote:

 Subject: Re: [Emc-users] Why doesn't LinuxCNC run? Error log attached.
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Date: Wednesday, June 26, 2013, 2:03 AM
 
 2013/6/26 Gregg Eshelman g_ala...@yahoo.com
 
  On Tue, 6/25/13, Alex Joni alex.j...@robcon.ro
 wrote:
 
   Subject: Re: [Emc-users] Why doesn't LinuxCNC
 run? Error log attached.
   To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
   Date: Tuesday, June 25, 2013, 1:47 AM
 
   The error is in your log:
 
   [  216.183331] RTAI[hal]: ERROR, LOCAL APIC
 CONFIGURED
   BUT NOT
   AVAILABLE/ENABLED.
 
   and a good description (including a fix) can be
 found here:
 
  http://wiki.linuxcnc.org/cgi-bin/wiki.pl?TroubleShooting#emc2_doesn_t_run_missing_lapic
 
   Regards,
   Alex
 
  Well that might fix it, if I knew how to change it from
 read only so it
  can be edited. Were this Windows I could run a text
 editor with elevated
  Administrator rights, make the change, save it then it
 goes back to its
  usual untouchable setting.
 
 
 If I understand correctly, what you are asking, then opening
 a text editor
 with root privileges is very simple - in terminal execute
 sudo gedit.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why doesn't LinuxCNC run? Error log attached.

2013-06-26 Thread Mark Wendt
On Wed, Jun 26, 2013 at 3:35 AM, Gregg Eshelman g_ala...@yahoo.com wrote:

 On Tue, 6/25/13, Alex Joni alex.j...@robcon.ro wrote:
 Well that might fix it, if I knew how to change it from read only so it
 can be edited. Were this Windows I could run a text editor with elevated
 Administrator rights, make the change, save it then it goes back to its
 usual untouchable setting.

 Is there a way to change settings so I can be a user with full access to
 everything so I don't have to constantly be entering a password for Every
 Little Change until I have the system working? Have to enter a password
 just to change the power management settings so it won't go to sleep.
 (Shouldn't the defaults be pre-changed to no sleeping or standby for
 LinuxCNC?)

 On Windows I have my login with Administrator rights and turn off User
 Account Control so I don't have the OS constantly pestering me about Do
 you really want to do that? Are you *really* sure you want to do that?
 Come on, you really don't want to do that!.

 I'd like to do that with Linux, have it so I can do everything I need to
 do without having to constantly genuflect to the ghod of security, then
 lock things down when it's ready for the less computer savvy to use. Ie,
 when a configuration file needs edited I want to be able to edit it without
 having to hop around in a spinward circle while holding my nose and
 whistling the Katamari Damacy theme song. ;-)

 I've used and fixed computers for 30 years, DOS since 2.1, Windows since
 3.0, Mac System 7.1 through 9.2.2. Haven't bothered much with Linux or OS
 X, tried BeOS until that company went out of business.

 I've been looking around at what's included in this CD image and I see
 several things that could be left out. Firefox, some multimedia software,
 Gnumeric and some others. Has anyone done a stripped down, bare bones
 install that has nothing but Ubuntu, LinuxCNC and the window manager/gui?

 I want this box to not have anything on it except for LinuxCNC because
 that is all it will be doing. It won't be used for CAD or altering designs.
 Its sole purpose will be moving a cutting torch. Put a piece of metal on
 the table, open the design file, cut it. That's it. Has to be something I
 can easily train the people who'll be operating it.

 Having other software installed will only tempt some operator to try to do
 other things. Lemme guess, it'll ask for a password just to uninstall
 Firefox, if it isn't an operation restricted to root access?



Different mind set on security between Windows and Unix/Linux.  su to
root should only be given to folks what know their way around under the
hood, since root privs mean you can really mess up the system.

You can set your system to be able to log into the root account from the
login prompt.  When logged in to your normal user account, type sudo
passwd.  This will allow you to set the root password on your system,
which I believe comes standard with the root account locked.  You can then
log in to the root account through the regular login account.

Sudo is a way to give certain users some, or all, of the privileges given
to the root account.  Do a man sudo to see what can be done,
privilege-wise, based on permissions set in the /etc/sudoers under the
Ubuntu OS, or /etc/sudo.conf on other systems.

Mark
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why doesn't LinuxCNC run? Error log attached.

2013-06-26 Thread Eric Keller
On Wed, Jun 26, 2013 at 5:58 AM, Mark Wendt wendt.m...@gmail.com wrote:
 On Wed, Jun 26, 2013 at 3:35 AM, Gregg Eshelman g_ala...@yahoo.com wrote:

 On Windows I have my login with Administrator rights and turn off User
 Account Control so I don't have the OS constantly pestering me about Do
 you really want to do that? Are you *really* sure you want to do that?
 Come on, you really don't want to do that!.

It's moronic to run windows as an administrator unless you need to do
so.  I give myself a power user account and have a separate admin
account.  To do anything else is asking for infections.  I thought
msft was adopting a sudo-like capability, but it doesn't work as well
as it should.  Hardly surprising given the stupidity they have shown
since Ballmer took over.  Yeah, microsoft, I want my desktop with a
30 monitor to work just like my iPhone, that's the ticket.  The fact
that they make every user an administrator by default has led to more
and more restrictions on the power of an administrator.  You used to
be able to do anything, now you have to seek help for anything out of
the ordinary.  And they are making new computers so that administrator
accounts can't even control how it works.



 Sudo is a way to give certain users some, or all, of the privileges given
 to the root account.  Do a man sudo to see what can be done,
 privilege-wise, based on permissions set in the /etc/sudoers under the
 Ubuntu OS, or /etc/sudo.conf on other systems.

sudo also has a time limit that means you don't have to type a
password if you run it multiple times in a certain time period.  That
time limit is probably settable.

You can also make a root account, but then you probably have to worry
about permissions.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why doesn't LinuxCNC run? Error log attached.

2013-06-26 Thread Mark Wendt
On Wed, Jun 26, 2013 at 9:56 AM, Eric Keller eekel...@psu.edu wrote:

snippage

 Sudo is a way to give certain users some, or all, of the privileges given
  to the root account.  Do a man sudo to see what can be done,
  privilege-wise, based on permissions set in the /etc/sudoers under the
  Ubuntu OS, or /etc/sudo.conf on other systems.

 sudo also has a time limit that means you don't have to type a
 password if you run it multiple times in a certain time period.  That
 time limit is probably settable.

 You can also make a root account, but then you probably have to worry
 about permissions.


The root account is already created, but it's locked.  At least it is on
every Ubuntu build I've ever done, either for LinuxCNC or the desktops and
laptops I've built here at work.

You are correct about the time limit, the default is 15 minutes.  You can
change that by using the timestamp_timeout option in the /etc/sudoers file,
and if set to 0 will always request a password, or if set to a value less
than 0 the users timestamp will never expire.

Mark
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why doesn't LinuxCNC run? Error log attached.

2013-06-26 Thread Mark Wendt
On Wed, Jun 26, 2013 at 11:21 AM, Eric Keller eekel...@psu.edu wrote:

 On Wed, Jun 26, 2013 at 10:22 AM, Mark Wendt wendt.m...@gmail.com wrote:

  The root account is already created, but it's locked.  At least it is on
  every Ubuntu build I've ever done, either for LinuxCNC or the desktops
 and
  laptops I've built here at work.

 I'm pretty sure all you have to do is give the root account a
 password.  I'm starting to question the security of the sudo approach
 that has been taken with Ubuntu because sometimes I will be logged in
 for hours, and when the computer tells me there is an update, it
 doesn't ask for a password.  This is on a 12.04 machine.  Seems like
 installing things as root is the way to go.



Yup, that's what I said earlier when I mentioned the sudo passwd trick to
give the root account a password.

Not everything is needed to be installed under root, unless it affects the
OS.  A lot of the software is installed in the user space area, and has
no effect on the system operation.  Kinda like compiling software for your
own use, rather than something that will affect system wide like kernel
patches and such.

Mark
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why doesn't LinuxCNC run? Error log attached.

2013-06-26 Thread Eric Keller
On Wed, Jun 26, 2013 at 10:22 AM, Mark Wendt wendt.m...@gmail.com wrote:

 The root account is already created, but it's locked.  At least it is on
 every Ubuntu build I've ever done, either for LinuxCNC or the desktops and
 laptops I've built here at work.

I'm pretty sure all you have to do is give the root account a
password.  I'm starting to question the security of the sudo approach
that has been taken with Ubuntu because sometimes I will be logged in
for hours, and when the computer tells me there is an update, it
doesn't ask for a password.  This is on a 12.04 machine.  Seems like
installing things as root is the way to go.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why doesn't LinuxCNC run? Error log attached.

2013-06-26 Thread Gregg Eshelman
On Wed, 6/26/13, Eric Keller eekel...@psu.edu wrote:

 Subject: Re: [Emc-users] Why doesn't LinuxCNC run? Error log attached.
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Date: Wednesday, June 26, 2013, 7:56 AM
 
 On Wed, Jun 26, 2013 at 5:58 AM, Mark
 Wendt wendt.m...@gmail.com
 wrote:
  On Wed, Jun 26, 2013 at 3:35 AM, Gregg Eshelman g_ala...@yahoo.com
 wrote:
 
  On Windows I have my login with Administrator
 rights and turn off User
  Account Control so I don't have the OS constantly
 pestering me about Do
  you really want to do that? Are you *really* sure
 you want to do that?
  Come on, you really don't want to do that!.
 
 It's moronic to run windows as an administrator unless you
 need to do so.  I give myself a power user account and have a
 separate admin

-
That's what I do. I login with Administrator *rights* not with the 
Administrator account.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why doesn't LinuxCNC run? Error log attached.

2013-06-25 Thread Marius Liebenberg
Open a terminal and type dmesg to see what went wrong.

On 2013/06/25 09:01 AM, Gregg Eshelman wrote:
 Just trying to run LinuxCNC to have a look at it and it won't even run. I 
 also tried the latency test and nothing at all happens, *nothing*, not even 
 an error message. Just got done with a fresh install off the 2.5 disk then 
 updated to 2.5.2. I first tried one of the simulation setups, then tried 
 gantry-hs. Then I tried the wizard setup and kept clicking forward until it 
 was done. I just want to have a look around to get a feel for the program.

 I get this same fail to run every time.

 2.5 did this same thing, I was hoping 2.5.2 would fix whatever is wrong.

 The PC is a Dell Dimension L1000R 1.0 Ghz Pentium III with 512 meg RAM and an 
 80 gig hard drive.
 http://gdgt.com/dell/dimension/l1000r/specs/


 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev


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

-- 
Regards / Groete

Marius D. Liebenberg
MasterCut cc
Cel: +27 82 698 3251
Tel: +27 12 743 6064
Fax: +27 86 551 8029
Skype: marius_d.liebenberg



---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 130624-2, 2013/06/24
Tested on: 2013/06/25 09:09:40 AM
avast! - copyright (c) 1988-2013 AVAST Software.
http://www.avast.com


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why doesn't LinuxCNC run? Error log attached.

2013-06-25 Thread andy pugh
On 25 June 2013 08:01, Gregg Eshelman g_ala...@yahoo.com wrote:

 I get this same fail to run every time.

I think that the problem might be here:

[0.00] Local APIC disabled by BIOS -- you can enable it with lapic
[0.00] APIC: disable apic facility

http://wiki.linuxcnc.org/cgi-bin/wiki.pl?TroubleShooting#emc2_doesn_t_run_missing_lapic

Suggests a boot parameter, but it is worth looking int he BIOS setup first.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why doesn't LinuxCNC run? Error log attached.

2013-06-25 Thread Alex Joni
The error is in your log:

[  216.183331] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT 
AVAILABLE/ENABLED.

and a good description (including a fix) can be found here:
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?TroubleShooting#emc2_doesn_t_run_missing_lapic

Regards,
Alex

- Original Message - 
From: Gregg Eshelman g_ala...@yahoo.com
To: emc-users@lists.sourceforge.net
Sent: Tuesday, June 25, 2013 10:01 AM
Subject: [Emc-users] Why doesn't LinuxCNC run? Error log attached.


 Just trying to run LinuxCNC to have a look at it and it won't even run. I 
 also tried the latency test and nothing at all happens, *nothing*, not 
 even an error message. Just got done with a fresh install off the 2.5 disk 
 then updated to 2.5.2. I first tried one of the simulation setups, then 
 tried gantry-hs. Then I tried the wizard setup and kept clicking forward 
 until it was done. I just want to have a look around to get a feel for the 
 program.

 I get this same fail to run every time.

 2.5 did this same thing, I was hoping 2.5.2 would fix whatever is wrong.

 The PC is a Dell Dimension L1000R 1.0 Ghz Pentium III with 512 meg RAM and 
 an 80 gig hard drive.
 http://gdgt.com/dell/dimension/l1000r/specs/





 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev





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


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users