Re: [gentoo-user] Re: [was: What can cause printer to crop top of page?] /etc/papersize is ignored

2017-12-30 Thread Alan McKinnon
On 30/12/2017 02:44, Peter Humphrey wrote:
> On Friday, 29 December 2017 16:45:33 GMT Wols Lists wrote:
> 
>> (Plus, of course, so much development is done for the American market,
>> so they don't realise how hard it is to get a change like A4 to stick :-(
> 
> Damned colonials. It's like the baseball "world series": no-one outside 
> north America plays it

[random OT factoid]
baseball is hugely popular in Japan. Rugby too :-)

[2nd random OT factoid]
It's the "world series" because the first sponsor was a newspaper "News
of the World" iirc (plus some typical US bravado)


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Re: [was: What can cause printer to crop top of page?] /etc/papersize is ignored

2017-12-30 Thread Wols Lists
On 30/12/17 12:55, Alan McKinnon wrote:
> [2nd random OT factoid]
> It's the "world series" because the first sponsor was a newspaper "News
> of the World" iirc (plus some typical US bravado)

Actually it was the New York World. So actually imho it was originally
perfectly legit.

As usual, however, things change, meanings change, and now it gives
completely the wrong impression.

[3rd random OT factoid]
The News Of The World was a British tabloid, which shut down after the
phone hacking scandal - a lot of their stories were obtained by hacking
into celebrities, politicians, royals voicemails, and while it was very
hard to prove it was also blatantly obvious that journalists were acting
under pressure, if not actual orders, from the very top.

Cheers,
Wol



Re: [gentoo-user] Re: [was: What can cause printer to crop top of page?] /etc/papersize is ignored

2017-12-30 Thread Neil Bothwick
On Sat, 30 Dec 2017 14:32:32 +, Wols Lists wrote:

> [3rd random OT factoid]
> The News Of The World was a British tabloid, which shut down after the
> phone hacking scandal - a lot of their stories were obtained by hacking
> into celebrities, politicians, royals voicemails, and while it was very
> hard to prove it was also blatantly obvious that journalists were acting
> under pressure, if not actual orders, from the very top.

This had been going on for years, and not just the NotW, but even though
the allegations were made no one really cared. Then they were accused of
hacking the voicemail of a murdered teenager and suddenly it mattered.

Of course, the paper didn't really close down, it was almost immediately
relaunched under a different name.


-- 
Neil Bothwick

"Unthinking respect for authority is the greatest enemy of truth."
 (Albert Einstein)


pgpU0j8ydkWR_.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] segfault in gedit / glib

2017-12-30 Thread Mart Raudsepp
On Sat, 2017-12-30 at 11:58 +1100, Adam Carter wrote:
> > The segfault message would exist in the dmesg/journalctl.  Please
> > open a user shell in Gnome and type "gedit ", substituting a
> > text file for .  Press enter.  Does this segfault and if so
> > is there anything else printed?
> >  
> > 
> 
> The journalctl message is;
> Dec 29 12:17:32 phat kernel: gedit[1177]: segfault at 7f7c0d36e880 ip
> 7f7c2550ba74 sp 7fff66834850 error 4 in libglib-
> 2.0.so.0.5200.3[7f7c254c+114000]
> 
> the gedit  message is;
> Segmentation fault (core dumped)

* Install gdb if it isn't already installed

* Make sure a core file is presend in coredumpd, coredumpctl should
show; if not, have it crash again so it's fresh and saved in there

* coredumpctl gdb gedit

* bt full

Post output of that "bt full"


Mart



[gentoo-user] dispatch-conf, the big pic?

2017-12-30 Thread Ian Zimmerman
I realized I don't really understand it - I just repeat by rote some
keystrokes.  In particular:

What do the 'z' and 'n' commands do exactly, and what's the difference
between them?

After I do a 'm', how do I actually use the result of the merge?  Is the
merged file now the same as the 'new' one, or the same as the 'old' one?
IOW, if I do 'm' and then 'z', will the merged version be the active
one?

Neither manpage nor wiki is of any help answering these.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



Re: [gentoo-user] dispatch-conf, the big pic?

2017-12-30 Thread Mike Gilbert
On Sat, Dec 30, 2017 at 1:10 PM, Ian Zimmerman  wrote:
> I realized I don't really understand it - I just repeat by rote some
> keystrokes.  In particular:
>
> What do the 'z' and 'n' commands do exactly, and what's the difference
> between them?

The 'z' command throws away the new config file, leaving the existing
config file in place. Use this when you don't care about the changes
in the new file at all.

The 'n' command skips over the current file, and does nothing. If you
quit and re-run dispatch-conf, you should be prompted to do something
with the file again.

> After I do a 'm', how do I actually use the result of the merge?  Is the
> merged file now the same as the 'new' one, or the same as the 'old' one?
> IOW, if I do 'm' and then 'z', will the merged version be the active
> one?

After completing the merge, use the 'u' command to use the merged
version. Use the 'z' command to throw away the merged version and
stick with the old file.



[gentoo-user] Kernel upgrade confusion

2017-12-30 Thread Jalus Bilieyich
Recently there was a kernel update and I don't want to reconfigure it
from scratch. In the official documentation, it told me to move the old
.config into the new kernel source tree and type
make oldconfig

This is where I'm confused; which .config file (/proc/config.gz or
/boot/config) and where in the kernel source tree do I put this file in.



Re: [gentoo-user] Kernel upgrade confusion

2017-12-30 Thread Wol's lists

On 30/12/17 18:43, Jalus Bilieyich wrote:

Recently there was a kernel update and I don't want to reconfigure it
from scratch. In the official documentation, it told me to move the old
.config into the new kernel source tree and type
make oldconfig

This is where I'm confused; which .config file (/proc/config.gz or
/boot/config) and where in the kernel source tree do I put this file in.



/usr/src/linux/.config

Cheers,
Wol



Re: [gentoo-user] Kernel upgrade confusion

2017-12-30 Thread Andrew Barchuk
Hi Jalus,

> This is where I'm confused; which .config file (/proc/config.gz or
> /boot/config)

The two should have the same content most of the time. You can use
either. config.gz needs to be decompressed (e.g. with zcat).

> where in the kernel source tree do I put this file in.

In the root of the kernel source tree which is /usr/src/linux if the new
kernel is set with eselect kernel.

Make sure to read https://wiki.gentoo.org/wiki/Kernel/Upgrade which
explains all these steps in detail.

---
Andrew



Re: [gentoo-user] Kernel upgrade confusion

2017-12-30 Thread Mick
Hi Jalus,

On Saturday, 30 December 2017 18:43:12 GMT Jalus Bilieyich wrote:
> Recently there was a kernel update and I don't want to reconfigure it
> from scratch. In the official documentation, it told me to move the old
> .config into the new kernel source tree and type
> make oldconfig
> 
> This is where I'm confused; which .config file (/proc/config.gz or
> /boot/config) and where in the kernel source tree do I put this file in.

You will need to *copy* your old/existing kernel .config file to the new 
kernel source directory.

Where you copy it from depends on where you have stored your previous kernel 
.config file.  It may be in your /boot, if you have copied it there from /usr/
src/linux/.config last time you compiled your kernel.  It should be in /usr/
src/linux/ if this symlink is still pointing to your previous kernel.  You may 
be able to obtain it from your /proc/config.gz if you have configured your 
kernel to use this option.

So, as root you would for example do:

cp /usr/src/linux-4.4.87-r1/.config /usr/src/linux/4.9.49-r1/ && \
rm /usr/src/linux && \
ln -s /usr/src/linux-4.9.49-r1 linux && \
cd /usr/src/linux && \
make oldconfig

to copy the existing .config into the new kernel sources directory,
to remove the symlink pointing to the previous kernel,
to create a new symlink to the new kernel sources directory,
to change your working directory into the new kernel source tree, and
finally to run make oldconfig in order to configure any new options available 
in kernel 4.9.49-r1, without having to reconfigure each and every option 
already set in your kernel 4.4.87-r1.

If you have a /proc/config.gz you can unpack it and redirect it to your new 
kernel source directory:

zcat /proc/config.gz > /usr/src/linux-4.9.49-r1/.config

before you proceed with the last four steps I showed above.

HTH.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Kernel upgrade confusion

2017-12-30 Thread Wol's lists

On 30/12/17 19:11, Mick wrote:

to remove the symlink pointing to the previous kernel,
to create a new symlink to the new kernel sources directory,


Or, to use the supplied gentoo tools ...

eselect kernel list

eselect kernel set n

to see what kernels the system thinks are available, and to change the 
current selected kernel.


Note that "emerge --depclean" will clear out all the files IT KNOWS 
ABOUT in /usr/src, so if you don't clean it out manually it will be full 
of debris from previous kernels - basically all the output of make.


But eselect kernel won't show those as available because depclean clears 
up all the references to them.


Cheers,
Wol



Re: [gentoo-user] Kernel upgrade confusion

2017-12-30 Thread Jalus Bilieyich
This worked.

Thank you all a thousand times!



Re: [gentoo-user] Kernel upgrade confusion

2017-12-30 Thread Alan McKinnon
On 30/12/2017 20:43, Jalus Bilieyich wrote:
> Recently there was a kernel update and I don't want to reconfigure it
> from scratch. In the official documentation, it told me to move the old
> .config into the new kernel source tree and type
> make oldconfig
> 
> This is where I'm confused; which .config file (/proc/config.gz or
> /boot/config) and where in the kernel source tree do I put this file in.
> 


Either. As long as the *running* kernel is the one you want to copy
from, the contents are identical. You als very likely have a third copy
is /usr/src/, assuming you left the sources intact after
kernel installation (the usual case)

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Kernel 4.14.7 no longer switches to VT7

2017-12-30 Thread Frank Steinmetzger
On Sat, Dec 30, 2017 at 02:18:12AM +0200, Alan McKinnon wrote:

> It's probably a dodgy kernel point bersion, 4.14 is problematic.
> 
> Alice Ferrazzi posted this to gentoo-dev earlier today:
> 
> =start quote=
> [ lots of problems ]
> = end quote=

Now that’s interesting. On my thinkpad, 4.14 crashes with a nullpointer
derefenence when I build audio support into it. Built as a module it works,
but the sound card order is wrong (first HDMI, then PCM).
Hence I’m still on 4.9. ¯\_(ツ)_/¯

-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

Supernatural divinities are the primitives’ answer
for why the sun goes down at night.


signature.asc
Description: Digital signature


Re: [gentoo-user] Kernel 4.14.7 no longer switches to VT7

2017-12-30 Thread Michael Orlitzky
It took a lot of work, but this latest kernel 14.4 enables support for
machines with 128 pebibytes of RAM, up from the old limit of 256 TiB.


On 12/30/2017 05:16 PM, Frank Steinmetzger wrote:
>  
> On my thinkpad, 4.14 crashes ... when I build audio support into it.


But who uses that?



Re: [gentoo-user] segfault in gedit / glib

2017-12-30 Thread Adam Carter
* Install gdb if it isn't already installed

>
> * Make sure a core file is presend in coredumpd, coredumpctl should
> show; if not, have it crash again so it's fresh and saved in there
>
> * coredumpctl gdb gedit
>
> * bt full
>
> Post output of that "bt full"
>
> (gdb) bt full
#0  0x7f60cd333a74 in g_main_context_prepare () from
/usr/lib64/libglib-2.0.so.0
No symbol table info available.
#1  0x7f60cd33449b in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2  0x7f60cd334693 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3  0x7f60d047676a in g_application_run () from
/usr/lib64/libgio-2.0.so.0
No symbol table info available.
#4  0x563890d41d59 in main ()
No symbol table info available.

FWIW I have -fomit-frame-pointer set - should i rebuild glib & gedit with
that or some other options changed?


[gentoo-user] Re: Kernel 4.14.7 no longer switches to VT7

2017-12-30 Thread Ian Zimmerman
On 2017-12-30 17:26, Michael Orlitzky wrote:

> It took a lot of work, but this latest kernel 14.4 enables support for
> machines with 128 pebibytes of RAM, up from the old limit of 256 TiB.
> 
> 
> On 12/30/2017 05:16 PM, Frank Steinmetzger wrote:
> >  
> > On my thinkpad, 4.14 crashes ... when I build audio support into it.
> 
> 
> But who uses that?

LOL! I hope you have more coming on April 1 ;-)

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



Re: [gentoo-user] dispatch-conf, the big pic?

2017-12-30 Thread Neil Bothwick
On Sat, 30 Dec 2017 10:10:33 -0800, Ian Zimmerman wrote:

> I realized I don't really understand it - I just repeat by rote some
> keystrokes.  In particular:
> 
> What do the 'z' and 'n' commands do exactly, and what's the difference
> between them?
> 
> After I do a 'm', how do I actually use the result of the merge?  Is the
> merged file now the same as the 'new' one, or the same as the 'old' one?
> IOW, if I do 'm' and then 'z', will the merged version be the active
> one?
> 
> Neither manpage nor wiki is of any help answering these.

Can I suggest you try conf-update. I find it far more intuitive than
dispatch-conf and everything you asked is completely obvious in it. Of
course, you may decide you hate it, but it's worth a look to find out.


-- 
Neil Bothwick

Indecision is the key to flexibility.


pgp4xeLkqZ8HD.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Kernel 4.14.7 no longer switches to VT7

2017-12-30 Thread Peter Humphrey
On Saturday, 30 December 2017 00:18:12 GMT Alan McKinnon wrote:

> If you want to fix the bugs, then by all means soldier on. But if your
> intent is to have a working system that boots, probably drop using
> 4.14.x and go back to say 4.12.x ?

But the whole 4.12 branch has been masked, so that won't do. Here, I've had 
to go back to 4.9.49-r1 (amd64, not ~amd64). But now I see 4.9.72 has been 
stabilised. I think I'll wait for some stabiliity in the kernel version 
offerings before I make another move. Three kernel compilations on six 
systems within a week are a few too many.

-- 
Regards,
Peter.




Re: [gentoo-user] Kernel 4.14.7 no longer switches to VT7

2017-12-30 Thread Peter Humphrey
On Sunday, 31 December 2017 00:33:34 GMT Peter Humphrey wrote:
> On Saturday, 30 December 2017 00:18:12 GMT Alan McKinnon wrote:
> > If you want to fix the bugs, then by all means soldier on. But if your
> > intent is to have a working system that boots, probably drop using
> > 4.14.x and go back to say 4.12.x ?
> 
> But the whole 4.12 branch has been masked, so that won't do. Here, I've
> had to go back to 4.9.49-r1 (amd64, not ~amd64). But now I see 4.9.72 has
> been stabilised.

Oops! That's on an x86 box. On this amd64 box the latest version is still 
4.9.49-r1.

> I think I'll wait for some stabiliity in the kernel
> version offerings before I make another move. Three kernel compilations
> on six systems within a week are a few too many.

-- 
Regards,
Peter.




[gentoo-user] Re: Kernel 4.14.7 no longer switches to VT7

2017-12-30 Thread Ian Zimmerman
On 2017-12-31 00:33, Peter Humphrey wrote:

> But the whole 4.12 branch has been masked, so that won't do. Here,
> I've had to go back to 4.9.49-r1 (amd64, not ~amd64). But now I see
> 4.9.72 has been stabilised. I think I'll wait for some stabiliity in
> the kernel version offerings before I make another move. Three kernel
> compilations on six systems within a week are a few too many.

FWIW, I find 4.9.73 (upstream, not gentoo) rock solid.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



Re: [gentoo-user] Re: Kernel 4.14.7 no longer switches to VT7

2017-12-30 Thread Peter Humphrey
On Sunday, 31 December 2017 01:13:26 GMT Ian Zimmerman wrote:
> On 2017-12-31 00:33, Peter Humphrey wrote:
> > But the whole 4.12 branch has been masked, so that won't do. Here,
> > I've had to go back to 4.9.49-r1 (amd64, not ~amd64). But now I see
> > 4.9.72 has been stabilised. I think I'll wait for some stabiliity in
> > the kernel version offerings before I make another move. Three kernel
> > compilations on six systems within a week are a few too many.
> 
> FWIW, I find 4.9.73 (upstream, not gentoo) rock solid.

Well, I haven't fallen into whatever holes have been found in other versions 
yet either, as far as I know.

If you don't mind my asking, what factors make you prefer vanilla to gentoo 
sources? (I assume that's what you use.)

-- 
Regards,
Peter.




Re: [gentoo-user] Re: [was: What can cause printer to crop top of page?] /etc/papersize is ignored

2017-12-30 Thread Peter Humphrey
On Saturday, 30 December 2017 14:32:32 GMT Wols Lists wrote:
> On 30/12/17 12:55, Alan McKinnon wrote:
> > [2nd random OT factoid]
> > It's the "world series" because the first sponsor was a newspaper "News
> > of the World" iirc (plus some typical US bravado)
> 
> Actually it was the New York World. So actually imho it was originally
> perfectly legit.

I don't agree. In that case it should have been called the New York World 
Series.

> As usual, however, things change, meanings change, and now it gives
> completely the wrong impression.

All true, alas.

> [3rd random OT factoid]
> The News Of The World was a British tabloid

A Sunday "newspaper", popularly known as the Screws of the World - no 
hardship guessing why. I can't imagine how they managed to sell a single 
copy.

> which shut down after the phone hacking scandal - a lot of their stories
> were obtained by hacking into celebrities, politicians, royals voicemails,
> and while it was very hard to prove it was also blatantly obvious that
> journalists were acting under pressure, if not actual orders, from the
> very top.

They had it coming, didn't they?

-- 
Regards,
Peter.




[gentoo-user] Troubleshooting mounting local filesystems

2017-12-30 Thread Daniel Frey

Some background:

A little while back I had a drive drop out of my hardware RAID. I don't 
think this has anything to do with the problem I'm having, but I thought 
I should mention it. The RAID health is fine and I can see there's not 
any delay in dmesg (the RAID array is detected as /dev/sdc).


On startup, I share the RAID, and hence I mount it locally under /mnt, 
then again under /nfs4exports.


Note: I'm using openrc.

For some reason, the entry under /mnt does not mount on startup. There's 
no error or any indication of anything going wrong during startup 
(nothing in dmesg or /var/log/messages regarding any sort of mount trouble.)


So what happens is nfs starts up but it's missing the one export. I have 
to stop nfs, unmount the entry under /nfs4exports, unmount the entry 
under /mnt, then mount /dev/sdc1 to /mnt, the mount the entry under 
/nfs4exports. After this, everything is mounted properly and I restart nfs.


I looked at the /etc/init.d/localmount script and it's supposed to spit 
out a message if something cannot mount but it does not report any error.


Is there any sort of logging I can enable to tell me exactly what's 
happening? Other local filesystems (total of three) all mount fine.


Dan



Re: [gentoo-user] Troubleshooting mounting local filesystems

2017-12-30 Thread Adam Carter
On Sun, Dec 31, 2017 at 2:22 PM, Daniel Frey  wrote:

> Some background:
>
> A little while back I had a drive drop out of my hardware RAID. I don't
> think this has anything to do with the problem I'm having, but I thought I
> should mention it. The RAID health is fine and I can see there's not any
> delay in dmesg (the RAID array is detected as /dev/sdc).
>
> On startup, I share the RAID, and hence I mount it locally under /mnt,
> then again under /nfs4exports.
>
> Note: I'm using openrc.
>
> For some reason, the entry under /mnt does not mount on startup. There's
> no error or any indication of anything going wrong during startup (nothing
> in dmesg or /var/log/messages regarding any sort of mount trouble.)
>
> So what happens is nfs starts up but it's missing the one export. I have
> to stop nfs, unmount the entry under /nfs4exports, unmount the entry under
> /mnt, then mount /dev/sdc1 to /mnt, the mount the entry under /nfs4exports.
> After this, everything is mounted properly and I restart nfs.
>
> I looked at the /etc/init.d/localmount script and it's supposed to spit
> out a message if something cannot mount but it does not report any error.
>
> Is there any sort of logging I can enable to tell me exactly what's
> happening? Other local filesystems (total of three) all mount fine.
>
>
What does the fstab entry look like?

Can you cut and paste the terminal session of the post boot fixes?


[gentoo-user] init id c5 response too fast disabled for 5 min

2017-12-30 Thread thelma
I'm getting a strange error trying to boot my system.

init id c5 response too fast disabled for 5 min

the error appears right after when it to start mysql at boot.
In addition when the system starts I see:

ata4.00 failed command read DMA

It is hart to post any information as I can not even boot the system.  I
just took a video trying to see if I can read any relevant information.
Though, I can boot strap the system via CD

-- 
Joseph



Re: [gentoo-user] init id c5 response too fast disabled for 5 min

2017-12-30 Thread mad.scientist.at.large
that would most likely be a failing/failed hard drive or a bad 
connection/cable.  I'd suggest carefully checking the cable and then boot off a 
cd and back up anything you care about on the drive, you might check the SMART 
status of the drive.  In any case back it up first, worry about understanding 
it/finding the bug later.  Once everything is backed up you can run the drives 
self test routines.    Back it up before you do anything else, the next time it 
mounts may be the last (i've used a lot of very old drives from tivo's that 
were thrown out, you may or may not get it to mount again and may or may not be 
able to recover your' data).

good luck.

mad.scientist.at.large (a good madscientist)
--
God bless the rich, the greedy and the corrupt politicians they have put into 
office.   God bless them for helping me do the right thing by giving the rich 
my little pile of cash.  After all, the rich know what to do with money.


30. Dec 2017 23:32 by the...@sys-concept.com:


> I'm getting a strange error trying to boot my system.
>
> init id c5 response too fast disabled for 5 min
>
> the error appears right after when it to start mysql at boot.
> In addition when the system starts I see:
>
> ata4.00 failed command read DMA
>
> It is hart to post any information as I can not even boot the system.  I
> just took a video trying to see if I can read any relevant information.
> Though, I can boot strap the system via CD
>
> -- 
> Joseph

Re: [gentoo-user] init id c5 response too fast disabled for 5 min

2017-12-30 Thread thelma
I boot-strap the system from CD and run:
fsck /dev/sda5

got bunch of errors eg.:
Directories count wrong for group #1567 (1, counted=0).
Fix? yes

Free inodes count wrong for group #1568 (8073, counted=8192).
Fix? yes

Directories count wrong for group #1568 (1, counted=0).
Fix? yes

Free inodes count wrong for group #1569 (8103, counted=8192).
Fix? yes

Directories count wrong for group #1569 (7, counted=0).
Fix? yes

Now when try to run it again I get:
fsck /dev/sda5
Segmentation fault

Is this partition/drive gone?

Joseph
On 12/31/2017 12:22 AM, mad.scientist.at.la...@tutanota.com wrote:
> that would most likely be a failing/failed hard drive or a bad 
> connection/cable.  I'd suggest carefully checking the cable and then boot off 
> a cd and back up anything you care about on the drive, you might check the 
> SMART status of the drive.  In any case back it up first, worry about 
> understanding it/finding the bug later.  Once everything is backed up you can 
> run the drives self test routines.Back it up before you do anything else, 
> the next time it mounts may be the last (i've used a lot of very old drives 
> from tivo's that were thrown out, you may or may not get it to mount again 
> and may or may not be able to recover your' data).
> 
> good luck.
> 
> mad.scientist.at.large (a good madscientist)
> --
> God bless the rich, the greedy and the corrupt politicians they have put into 
> office.   God bless them for helping me do the right thing by giving the rich 
> my little pile of cash.  After all, the rich know what to do with money.
> 
> 
> 30. Dec 2017 23:32 by the...@sys-concept.com:
> 
> 
>> I'm getting a strange error trying to boot my system.
>>
>> init id c5 response too fast disabled for 5 min
>>
>> the error appears right after when it to start mysql at boot.
>> In addition when the system starts I see:
>>
>> ata4.00 failed command read DMA
>>
>> It is hart to post any information as I can not even boot the system.  I
>> just took a video trying to see if I can read any relevant information.
>> Though, I can boot strap the system via CD
>>
>> -- 
>> Joseph



Re: [gentoo-user] init id c5 response too fast disabled for 5 min

2017-12-30 Thread mad.scientist.at.large
likely dying soon, or if you are lucky a key sector went out, if not the drive 
may be getting worse with every rotation.  If the drive is badly corrupted fsck 
can damage what is left.   definately DO NOT run fsck without knowing if the 
hardware has serious problems, also if part of it won't read don't try to long, 
drive electronics retrain themselves to some extent, trying to recover lost 
data can cause it to misadjust itself and work worse.  at least it's spinning, 
it's when the motor electronics suddendly die that you have real problems.  
hopefully it's not a samsung drive (they have a classic tendency to die this 
way, i.e. spindle motor electronics die so platters don't spin).

again however it could be the drive data/power cable.  anything else happen to 
it recently, i.e. new hardware added or swapped out?  is it an ata or a sata 
drive?  old/new drive/system?   hopefully it doesn't live near the heat 
vent..  if it's hotter than normal in the room it could be heat.  low 
humidity can also cause strange static related problems but they usually happen 
when you touch or stop touching the keyboard/mouse.  

if it's dry, definately humidify before working on the machine, worse case you 
can boil a couple of gallons of water on the stove to humidify it temporarily.  
 under dry conditions i've lost a mother board just from touching the power 
switch, in a room without carpeting, i was not happy.   also when doing 
electronics, try not to wear synthetics or other materials known for static 
(wool is way bad, as are things like silk, if it doesn't get wet easily (won't 
soak up water) it probably isn't static friendly).

mad.scientist.at.large (a good madscientist)
--
God bless the rich, the greedy and the corrupt politicians they have put into 
office.   God bless them for helping me do the right thing by giving the rich 
my little pile of cash.  After all, the rich know what to do with money.


31. Dec 2017 00:28 by the...@sys-concept.com:


> I boot-strap the system from CD and run:
> fsck /dev/sda5
>
> got bunch of errors eg.:
> Directories count wrong for group #1567 (1, counted=0).
> Fix? yes
>
> Free inodes count wrong for group #1568 (8073, counted=8192).
> Fix? yes
>
> Directories count wrong for group #1568 (1, counted=0).
> Fix? yes
>
> Free inodes count wrong for group #1569 (8103, counted=8192).
> Fix? yes
>
> Directories count wrong for group #1569 (7, counted=0).
> Fix? yes
>
> Now when try to run it again I get:
> fsck /dev/sda5
> Segmentation fault
>
> Is this partition/drive gone?
>
> Joseph
> On 12/31/2017 12:22 AM, > mad.scientist.at.la...@tutanota.com>  wrote:
>> that would most likely be a failing/failed hard drive or a bad 
>> connection/cable.  I'd suggest carefully checking the cable and then boot 
>> off a cd and back up anything you care about on the drive, you might check 
>> the SMART status of the drive.  In any case back it up first, worry about 
>> understanding it/finding the bug later.  Once everything is backed up you 
>> can run the drives self test routines.Back it up before you do anything 
>> else, the next time it mounts may be the last (i've used a lot of very old 
>> drives from tivo's that were thrown out, you may or may not get it to mount 
>> again and may or may not be able to recover your' data).
>>
>> good luck.
>>
>> mad.scientist.at.large (a good madscientist)
>> --
>> God bless the rich, the greedy and the corrupt politicians they have put 
>> into office.   God bless them for helping me do the right thing by giving 
>> the rich my little pile of cash.  After all, the rich know what to do with 
>> money.
>>
>>
>> 30. Dec 2017 23:32 by >> the...@sys-concept.com>> :
>>
>>
>>> I'm getting a strange error trying to boot my system.
>>>
>>> init id c5 response too fast disabled for 5 min
>>>
>>> the error appears right after when it to start mysql at boot.
>>> In addition when the system starts I see:
>>>
>>> ata4.00 failed command read DMA
>>>
>>> It is hart to post any information as I can not even boot the system.  I
>>> just took a video trying to see if I can read any relevant information.
>>> Though, I can boot strap the system via CD
>>>
>>> -- 
>>> Joseph

Re: [gentoo-user] init id c5 response too fast disabled for 5 min

2017-12-30 Thread mad.scientist.at.large
with the seg fault, you may have other problems.  you might want to unplug the 
hard drive (so you aren't spinning it) and run whatever diagnostics you can on 
the machine, just to make sure it's not failing/loosing it's little silicon 
mind.   

seg fault shouldn't happen (from drive issues) i don't think, but i suppose if 
fsck gets confused enough it might.  or it might be a more general i/o or 
system problem.

there is definately some problem reading the drive but it could be some other 
part of the system failing causing read issues.  does the cd boot normally or 
do you notice any odd behavior booting off other media?

mad.scientist.at.large (a good madscientist)
--
God bless the rich, the greedy and the corrupt politicians they have put into 
office.   God bless them for helping me do the right thing by giving the rich 
my little pile of cash.  After all, the rich know what to do with money.


31. Dec 2017 00:44 by mad.scientist.at.la...@tutanota.com:


> likely dying soon, or if you are lucky a key sector went out, if not the 
> drive may be getting worse with every rotation.  If the drive is badly 
> corrupted fsck can damage what is left.   definately DO NOT run fsck without 
> knowing if the hardware has serious problems, also if part of it won't read 
> don't try to long, drive electronics retrain themselves to some extent, 
> trying to recover lost data can cause it to misadjust itself and work worse.  
> at least it's spinning, it's when the motor electronics suddendly die that 
> you have real problems.  hopefully it's not a samsung drive (they have a 
> classic tendency to die this way, i.e. spindle motor electronics die so 
> platters don't spin).
>
> again however it could be the drive data/power cable.  anything else happen 
> to it recently, i.e. new hardware added or swapped out?  is it an ata or a 
> sata drive?  old/new drive/system?   hopefully it doesn't live near the heat 
> vent..  if it's hotter than normal in the room it could be heat.  low 
> humidity can also cause strange static related problems but they usually 
> happen when you touch or stop touching the keyboard/mouse.  
>
> if it's dry, definately humidify before working on the machine, worse case 
> you can boil a couple of gallons of water on the stove to humidify it 
> temporarily.   under dry conditions i've lost a mother board just from 
> touching the power switch, in a room without carpeting, i was not happy.   
> also when doing electronics, try not to wear synthetics or other materials 
> known for static (wool is way bad, as are things like silk, if it doesn't get 
> wet easily (won't soak up water) it probably isn't static friendly).
>
> mad.scientist.at.large (a good madscientist)
> --
> God bless the rich, the greedy and the corrupt politicians they have put into 
> office.   God bless them for helping me do the right thing by giving the rich 
> my little pile of cash.  After all, the rich know what to do with money.
>
>
> 31. Dec 2017 00:28 by > the...@sys-concept.com> :
>
>
>> I boot-strap the system from CD and run:
>> fsck /dev/sda5
>>
>> got bunch of errors eg.:
>> Directories count wrong for group #1567 (1, counted=0).
>> Fix? yes
>>
>> Free inodes count wrong for group #1568 (8073, counted=8192).
>> Fix? yes
>>
>> Directories count wrong for group #1568 (1, counted=0).
>> Fix? yes
>>
>> Free inodes count wrong for group #1569 (8103, counted=8192).
>> Fix? yes
>>
>> Directories count wrong for group #1569 (7, counted=0).
>> Fix? yes
>>
>> Now when try to run it again I get:
>> fsck /dev/sda5
>> Segmentation fault
>>
>> Is this partition/drive gone?
>>
>> Joseph
>> On 12/31/2017 12:22 AM, >> mad.scientist.at.la...@tutanota.com>>  wrote:
>>> that would most likely be a failing/failed hard drive or a bad 
>>> connection/cable.  I'd suggest carefully checking the cable and then boot 
>>> off a cd and back up anything you care about on the drive, you might check 
>>> the SMART status of the drive.  In any case back it up first, worry about 
>>> understanding it/finding the bug later.  Once everything is backed up you 
>>> can run the drives self test routines.Back it up before you do anything 
>>> else, the next time it mounts may be the last (i've used a lot of very old 
>>> drives from tivo's that were thrown out, you may or may not get it to mount 
>>> again and may or may not be able to recover your' data).
>>>
>>> good luck.
>>>
>>> mad.scientist.at.large (a good madscientist)
>>> --
>>> God bless the rich, the greedy and the corrupt politicians they have put 
>>> into office.   God bless them for helping me do the right thing by giving 
>>> the rich my little pile of cash.  After all, the rich know what to do with 
>>> money.
>>>
>>>
>>> 30. Dec 2017 23:32 by >>> the...@sys-concept.com>>> :
>>>
>>>
 I'm getting a strange error trying to boot my system.

 init id c5 response too fast disabled for 5 min

 the error appears right after when it to start mysql at boot.
>>>