Re: [lfs-support] Segmentation fault

2016-01-11 Thread Ken Moffat
On Mon, Jan 11, 2016 at 04:25:36PM +, Sainadh J wrote:
> 
> 
> 
> 
> On Sunday, 10 January 2016 9:42 PM, Ken Moffat  
> wrote:
> 
> 
> 
> On Sun, Jan 10, 2016 at 09:59:28AM +, Sainadh J wrote:
> 
> > Hello,
> > i tried to Entering the Chroot Environment into lfs system so that i first 
> > mount my partiotion and then i tried to follow the >instructions from 
> > LFS-7.8 chapter 06 i get the following error is "Segmentation fault" i am 
> > very much confusing about this error i >never seen this type of 
> > error.please guide me how to resolve this error.regards.
> 
> >A segmentation fault occurs when a program attempts to access
> >memory it is not entitled to access, or (I suppose) instructions
> >which are not implemented on the current CPU.  There are many
> >possible causes:
> 
> >1. Program bugs (not particularly likely in your case).
> 
> 
> >2. I think this can happen if you compile current gmp on a
> high-specification machine, and then try to use the binaries on an
> earlier CPU.  If you are on the machine where you built /tools then
> that possibility will not apply.
> 
> >3. General hardware problems (memory became bad, power-supply
> inadequate, electricity problems ('a brownout' - low voltage),
> cooling fan(s) blocked or broken, hardware "having a bad day").
> 
> >I suggest that you first power off, let the machine cool down for a
> few minutes, then retry : if that works, it probably implies a
> cooling problem or a brownout.  If it still fails, get memtest86 or
> memtest86+, boot that (from CD or, I suppose, a bootable usb stick)
> and leave it running for a few hours to see if any errors show up.
> 
> >One of my machines is somewhat prone to "having a bad day", when it
> is compiling, and I think I very occasionally (much less than once a
> year) get a compiled program which segfaults.
> 
> >ĸen
> -- 
> >This email was written using 100% recycled letters.
> 
> Hi ken,
> 
> 
> Thanks for your replay.i am using Slackware 14.1 xface desktop environment 
> when i mount my LFS Filesystem after i tried to mount `mount -v --bind /dev 
> $LFS/dev` i getting the `segmentation fault`.then i run the `xwmconfig` in 
> terminal after selecting the kde desktop environment and again i run `mount 
> -v --bind /dev $LFS/dev` works fine. i am not getting any error like 
> segmentation fault. i am little bit confusing about this why this error 
> encounter when i use xface desktop environment and why i am not encounter any 
> error when i use kde.could you please tell me why this happens?
> Thanks in advance

No idea.  Copying back to the list, and I don't need a personal copy
if anybody replies.

ĸen
-- 
This email was written using 100% recycled letters.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Segmentation fault

2016-01-11 Thread Sainadh J






On Tuesday, 12 January 2016 4:34 AM, Ken Moffat  wrote:
On Mon, Jan 11, 2016 at 04:25:36PM +, Sainadh J wrote:
> 
> 
> 
> 
> On Sunday, 10 January 2016 9:42 PM, Ken Moffat  
> wrote:
> 
> 
> 
> On Sun, Jan 10, 2016 at 09:59:28AM +, Sainadh J wrote:
> 
> > Hello,
> > i tried to Entering the Chroot Environment into lfs system so that i first 
> > mount my partiotion and then i tried to follow the >instructions from 
> > LFS-7.8 chapter 06 i get the following error is "Segmentation fault" i am 
> > very much confusing about this error i >never seen this type of 
> > error.please guide me how to resolve this error.regards.
> 
> >A segmentation fault occurs when a program attempts to access
> >memory it is not entitled to access, or (I suppose) instructions
> >which are not implemented on the current CPU.  There are many
> >possible causes:
> 
> >1. Program bugs (not particularly likely in your case).
> 
> 
> >2. I think this can happen if you compile current gmp on a
> high-specification machine, and then try to use the binaries on an
> earlier CPU.  If you are on the machine where you built /tools then
> that possibility will not apply.
> 
> >3. General hardware problems (memory became bad, power-supply
> inadequate, electricity problems ('a brownout' - low voltage),
> cooling fan(s) blocked or broken, hardware "having a bad day").
> 
> >I suggest that you first power off, let the machine cool down for a
> few minutes, then retry : if that works, it probably implies a
> cooling problem or a brownout.  If it still fails, get memtest86 or
> memtest86+, boot that (from CD or, I suppose, a bootable usb stick)
> and leave it running for a few hours to see if any errors show up.
> 
> >One of my machines is somewhat prone to "having a bad day", when it
> is compiling, and I think I very occasionally (much less than once a
> year) get a compiled program which segfaults.
> 
> >ĸen
> -- 
> >This email was written using 100% recycled letters.
> 
> Hi ken,
> 
> 
> Thanks for your replay.i am using Slackware 14.1 xface desktop environment 
> when i mount my LFS Filesystem after i tried to mount `mount -v --bind /dev 
> $LFS/dev` i getting the `segmentation fault`.then i run the `xwmconfig` in 
> terminal after selecting the kde desktop environment and again i run `mount 
> -v --bind /dev $LFS/dev` works fine. i am not getting any error like 
> segmentation fault. i am little bit confusing about this why this error 
> encounter when i use xface desktop environment and why i am not encounter any 
> error when i use kde.could you please tell me why this happens?
> Thanks in advance

No idea.  Copying back to the list, and I don't need a personal copy
if anybody replies.


ĸen
-- 
This email was written using 100% recycled letters.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Segmentation fault

2016-01-10 Thread Ken Moffat
On Sun, Jan 10, 2016 at 09:59:28AM +, Sainadh J wrote:
> Hello,
> i tried to Entering the Chroot Environment into lfs system so that i first 
> mount my partiotion and then i tried to follow the instructions from LFS-7.8 
> chapter 06 i get the following error is "Segmentation fault" i am very much 
> confusing about this error i never seen this type of error.please guide me 
> how to resolve this error.regards.

A segmentation fault occurs when a program attempts to access
memory it is not entitled to access, or (I suppose) instructions
which are not implemented on the current CPU.  There are many
possible causes:

1. Program bugs (not particularly likely in your case).

2. I think this can happen if you compile current gmp on a
high-specification machine, and then try to use the binaries on an
earlier CPU.  If you are on the machine where you built /tools then
that possibility will not apply.

3. General hardware problems (memory became bad, power-supply
inadequate, electricity problems ('a brownout' - low voltage),
cooling fan(s) blocked or broken, hardware "having a bad day").

I suggest that you first power off, let the machine cool down for a
few minutes, then retry : if that works, it probably implies a
cooling problem or a brownout.  If it still fails, get memtest86 or
memtest86+, boot that (from CD or, I suppose, a bootable usb stick)
and leave it running for a few hours to see if any errors show up.

One of my machines is somewhat prone to "having a bad day", when it
is compiling, and I think I very occasionally (much less than once a
year) get a compiled program which segfaults.

ĸen
-- 
This email was written using 100% recycled letters.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Segmentation fault

2016-01-10 Thread Richard Melville
On 10 January 2016 at 17:58, Bruce Dubbs  wrote:
> Ken Moffat wrote:
>>
>> On Sun, Jan 10, 2016 at 04:12:34PM +, Ken Moffat wrote:
>>>
>>>
>>> One of my machines is somewhat prone to "having a bad day", when it
>>> is compiling, and I think I very occasionally (much less than once a
>>> year) get a compiled program which segfaults.
>>
>>
>> Now that I've put on my pedant's hat, what I meant was that I very
>> occasionally get a normally-good program which segfaults.  For other
>> programs such as firefox, occasional segfaults are par for the
>> course.
>
>
> That really points to HW.  I've been building a new system for a few days
> now and noticing a lot of details.  I have installed lm_sensors and display
> info via a program not in BLFS called gkrellm.

Regarding lm_sensors (and according to the Arch Linux forums
https://bbs.archlinux.org/viewtopic.php?id=193048) there appears to be
a remote possibility that an lm_sensors scan can mess up the Vcom
calibration on a monitor screen.  Should there be a health warning on
the BLFS page, and the method shown to rectify it should it occur?

BTW gkrelim seems like an interesting tool set.  I wasn't aware of it.
Could it be added to the BLFS book?

Richard
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Segmentation fault

2016-01-10 Thread Bruce Dubbs

Richard Melville wrote:

On 10 January 2016 at 17:58, Bruce Dubbs  wrote:

Ken Moffat wrote:


On Sun, Jan 10, 2016 at 04:12:34PM +, Ken Moffat wrote:



One of my machines is somewhat prone to "having a bad day", when it
is compiling, and I think I very occasionally (much less than once a
year) get a compiled program which segfaults.



Now that I've put on my pedant's hat, what I meant was that I very
occasionally get a normally-good program which segfaults.  For other
programs such as firefox, occasional segfaults are par for the
course.



That really points to HW.  I've been building a new system for a few days
now and noticing a lot of details.  I have installed lm_sensors and display
info via a program not in BLFS called gkrellm.


Regarding lm_sensors (and according to the Arch Linux forums
https://bbs.archlinux.org/viewtopic.php?id=193048) there appears to be
a remote possibility that an lm_sensors scan can mess up the Vcom
calibration on a monitor screen.  Should there be a health warning on
the BLFS page, and the method shown to rectify it should it occur?

BTW gkrelim seems like an interesting tool set.  I wasn't aware of it.
Could it be added to the BLFS book?


It's possible, but users should be able to do it themselves by the time 
they need it.


less INSTALL
make
sudo make PREFIX=/usr install

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Segmentation fault

2016-01-10 Thread Bruce Dubbs

Ken Moffat wrote:


I'm not in front of my desktops at the moment, but I do use the
meaningful values provided by lm_sensors [ generally, very few of
the values on my machines look reliable ] and I don't think I've
ever seen the CPU as low as 24°C when idle.


My skylake i5-6500 is rated at only 65W, so it's not really capable of 
generating a lot of heat.  Right now my UPS says 153 watts, but that 
includes two 24-inch flat panel monitors.


http://ark.intel.com/products/88184/Intel-Core-i5-6500-Processor-6M-Cache-up-to-3_60-GHz

  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style