Re: Frozen mouse and keyboard

2022-06-17 Thread Mick Ab
Thanks Brad for your contribution.

I don't think anything can be done with the keyboard when the freeze occurs.

On 15:41, Wed, 15 Jun 2022 Brad Rogers  On Wed, 15 Jun 2022 15:15:35 +0100
> Joe  wrote:
>
> Hello Joe,
>
> >Also try Ctrl-Alt-F3
> >to see if a console is reachable as X might have problems.
>
> Unlikely:  OP reported keyboard is frozen, too.
>
> --
>  Regards  _
>  / )  "The blindingly obvious is never immediately apparent"
> / _)rad   "Is it only me that has a working delete key?"
> I'm in need of your help now
> Burn - Judgement Centre
>


Re: Frozen mouse and keyboard

2022-06-17 Thread Joe
On Fri, 17 Jun 2022 14:23:53 +0100
Mick Ab  wrote:

> Thanks very much, David, for your help.
> 
> Unfortunately it is not possible to log in to the PC from elsewhere.
> 
> As to most of your other points, they will have to wait for another
> similar freeze.
> 
> I was not able to check logs because, subsequent to the freezing, the
> PC had to be rebooted due to a mains power cut and the journald
> system does not persist across boots.
> 
> 
Assuming you're not really tight on disc space, you can fix that, at
least for the duration of the problem.

https://computingforgeeks.com/preserve-systemd-journals-logging-with-persistent-storage/

For reference:

https://lists.debian.org/debian-devel/2020/02/msg0.html

-- 
Joe



Re: Frozen mouse and keyboard

2022-06-17 Thread Mick Ab
Thanks very much, David, for your help.

Unfortunately it is not possible to log in to the PC from elsewhere.

As to most of your other points, they will have to wait for another similar
freeze.

I was not able to check logs because, subsequent to the freezing, the PC
had to be rebooted due to a mains power cut and the journald system does
not persist across boots.


On 19:36, Wed, 15 Jun 2022 David Wright  On Wed 15 Jun 2022 at 09:21:58 (+0100), Mick Ab wrote:
> > I have a fairly new desktop PC running Debian 11. Recently there have
> been
> > a few occasions when the PC has failed to
> > be woken up in the morning after being left overnight. The mouse and
> > keyboard are frozen. Sometimes the monitor appears to be off and on
> > one occasion it was on.
>
> Like others, I would try logging in over the network to see if
> that is still up.
>
> Apart from that, I would take a careful look at the BIOS settings
> under Power Management.
>
> Assuming your mouse and keyboard are USB or unwired, perhaps
> the USB ports are powering down too? If you plug in a USB stick,
> does it light up as normal?
>
> If there's an ethernet card, is the light still on? Does it
> react to (un)plugging?
>
> Disks spinning?
>
> How long did the logs keep updating during the night?
>
> IOW just how dead is the machine?
>
> > A hard reboot has been used to reset the PC, but it is not a good idea to
> > keep doing that.
>
> Modern filesystems/journals etc are pretty forgiving.
> Modern hardware should be unharmed by the experience.
> (Unlike back in the days of parking disk heads.)
>
> Cheers,
> David.
>
>


Re: Frozen mouse and keyboard

2022-06-16 Thread mick crane

On 2022-06-15 09:21, Mick Ab wrote:
I have a fairly new desktop PC running Debian 11. Recently there have 
been

a few occasions when the PC has failed to
be woken up in the morning after being left overnight. The mouse and
keyboard are frozen. Sometimes the monitor appears to be off and on
one occasion it was on.


I have had a separate issue which I think might be the monitor power 
saver communicating with PC.
If I turn off the monitor but leave PC on monitor will not wake up when 
turned back on.
disconnecting the power supply to the monitor and plugging back in 
resolves that.
It used to be that the monitor would not turn back on after going in 
standby mode so I have deselected all power savers in monitor menu.

so rather than hard setting the PC, try power cycle the monitor

mick



Re: Frozen mouse and keyboard

2022-06-15 Thread David Wright
On Wed 15 Jun 2022 at 09:21:58 (+0100), Mick Ab wrote:
> I have a fairly new desktop PC running Debian 11. Recently there have been
> a few occasions when the PC has failed to
> be woken up in the morning after being left overnight. The mouse and
> keyboard are frozen. Sometimes the monitor appears to be off and on
> one occasion it was on.

Like others, I would try logging in over the network to see if
that is still up.

Apart from that, I would take a careful look at the BIOS settings
under Power Management.

Assuming your mouse and keyboard are USB or unwired, perhaps
the USB ports are powering down too? If you plug in a USB stick,
does it light up as normal?

If there's an ethernet card, is the light still on? Does it
react to (un)plugging?

Disks spinning?

How long did the logs keep updating during the night?

IOW just how dead is the machine?

> A hard reboot has been used to reset the PC, but it is not a good idea to
> keep doing that.

Modern filesystems/journals etc are pretty forgiving.
Modern hardware should be unharmed by the experience.
(Unlike back in the days of parking disk heads.)

Cheers,
David.



Re: Frozen mouse and keyboard

2022-06-15 Thread Charlie Gibbs

On Wed, 15 Jun 2022 16:20:01 +0200 Joe  wrote:

> On Wed, 15 Jun 2022 09:21:58 +0100
> Mick Ab  wrote:
>
>> I have a fairly new desktop PC running Debian 11. Recently
>> there have been a few occasions when the PC has failed to
>> be woken up in the morning after being left overnight.
>> The mouse and keyboard are frozen. Sometimes the monitor
>> appears to be off and on one occasion it was on.
>>
>> A hard reboot has been used to reset the PC, but it is not a good
>> idea to keep doing that.
>>
>> There is also a worry that if there is a hardware fault, the
>> situation might get worse over time.
>>
>> Has anyone any idea as to what may be causing the problem and what
>> would be the best way to try and solve it ?
>>
>> I anticipate it might be difficult to solve the problem given that
>> the fault is intermittent.
>
> The usual recommendation for a first test is to see whether there
> is any network activity e.g. response to ping or ssh. Also try
> Ctrl-Alt-F3 to see if a console is reachable as X might have problems.

If you can ssh into the machine from elsewhere, you can at least
do an "su reboot" and get an orderly shutdown.

> Have you checked logs to see whether there is anything suspicious
> before the freeze? If there isn't, the odds are in favour of a
> hardware failure.
>
> If that looks to be the case, I'd open up the machine (assuming it's
> not under warranty, if it is, it's someone else's problem) and reseat
> all the movable connectors and RAM. There's less chance of contact
> problems with SATA than with the big old PATA connectors, but it's not
> impossible. 'Fairly new' it may be, but connectors which aren't locked
> can be jarred half-way out by transport. We can probably rule out a
> build-up of dust yet, but if the machine is very quiet, and modern
> machines tend to be, the fan might have died. There will be a lot more
> troubleshooting tips around the Net.

Those are all good tips.  One more thing: are you running xscreensaver?
As wonderful as it is, it is notoriously unforgiving of poorly-written
drivers.  I have nVidia graphics cards, and for some time I was getting
all sorts of lockups using the nouveau driver.  Switching to nVidia's
proprietary driver solved the problem.

--
/~\  Charlie Gibbs  |  "Some of you may die,
\ /|  but it's a sacrifice
 X   I'm really at ac.dekanfrus |  I'm willing to make."
/ \  if you read it the right way.  |-- Lord Farquaad (Shrek)



Re: Frozen mouse and keyboard

2022-06-15 Thread Hans
Am Mittwoch, 15. Juni 2022, 16:40:37 CEST schrieb Brad Rogers:
This behaviour appears from time to time here, too. It is randomly, but it 
looks like it has something to do with either firefox or the graphics driver.

IMO it looks like X (or something related to the graphics card or X), is 
hanging. So no input is possible. 

It is also no more possible, to switch to the console or login from external, 
because the complete system is frozen then.

When lucky, you can see the mouse cursor move, but clicking is not possible 
any more.

It also appeears, that if you wait, it might happen, the system is starting to 
run agian (after several minutes), but this is not guaranteed. As the OP told 
before: there is no other way, as to hard shutdown by pressing the on/off-
button for several seconds or completely remove power.

Maybe this might help? Do not believe it really.

Best regards

Hans

> On Wed, 15 Jun 2022 15:15:35 +0100
> Joe  wrote:
> 
> Hello Joe,
> 
> >Also try Ctrl-Alt-F3
> >to see if a console is reachable as X might have problems.
> 
> Unlikely:  OP reported keyboard is frozen, too.






Re: Frozen mouse and keyboard

2022-06-15 Thread Brad Rogers
On Wed, 15 Jun 2022 15:15:35 +0100
Joe  wrote:

Hello Joe,

>Also try Ctrl-Alt-F3
>to see if a console is reachable as X might have problems.

Unlikely:  OP reported keyboard is frozen, too.

-- 
 Regards  _
 / )  "The blindingly obvious is never immediately apparent"
/ _)rad   "Is it only me that has a working delete key?"
I'm in need of your help now
Burn - Judgement Centre


pgpXuVPPF3ROO.pgp
Description: OpenPGP digital signature


Re: Frozen mouse and keyboard

2022-06-15 Thread Joe
On Wed, 15 Jun 2022 09:21:58 +0100
Mick Ab  wrote:

> I have a fairly new desktop PC running Debian 11. Recently there have
> been a few occasions when the PC has failed to
> be woken up in the morning after being left overnight. The mouse and
> keyboard are frozen. Sometimes the monitor appears to be off and on
> one occasion it was on.
> 
> A hard reboot has been used to reset the PC, but it is not a good
> idea to keep doing that.
> 
> There is also a worry that if there is a hardware fault, the situation
> might get worse over time.
> 
> Has anyone any idea as to what may be causing the problem and what
> would be the best way to try and solve it ?
> 
> I anticipate it might be difficult to solve the problem given that the
> fault is intermittent.

The usual recommendation for a first test is to see whether there is
any network activity e.g. response to ping or ssh. Also try Ctrl-Alt-F3
to see if a console is reachable as X might have problems.

Have you checked logs to see whether there is anything suspicious
before the freeze? If there isn't, the odds are in favour of a hardware
failure. 

If that looks to be the case, I'd open up the machine (assuming it's
not under warranty, if it is, it's someone else's problem) and reseat
all the movable connectors and RAM. There's less chance of contact
problems with SATA than with the big old PATA connectors, but it's not
impossible. 'Fairly new' it may be, but connectors which aren't locked
can be jarred half-way out by transport. We can probably rule out a
build-up of dust yet, but if the machine is very quiet, and modern
machines tend to be, the fan might have died. There will be a lot more
troubleshooting tips around the Net.

-- 
Joe



Re: Frozen mouse and keyboard

2022-06-15 Thread rhkramer
On Wednesday, June 15, 2022 06:45:45 AM Timothy M Butterworth wrote:
> On Wed, Jun 15, 2022 at 4:22 AM Mick Ab 
> 
> wrote:
> > I have a fairly new desktop PC running Debian 11. Recently there have
> > been a few occasions when the PC has failed to
> > be woken up in the morning after being left overnight. The mouse and
> > keyboard are frozen. Sometimes the monitor appears to be off and on
> > one occasion it was on.
> > 
> > I leave my laptop on 24x7x365 and I do not have any issues. I do not have
> 
> it setup to go to sleep or hibernate though. Have you tried putting the
> laptop to sleep then waking it, to see if you can recreate the bug?

I have an intermittent problem that might or might not be relevant.

I have two computers that I use as almost daily drivers, one running Wheezy (I 
know) and one running Jessie (yes, I know).

They are connected to one set of keyboard / mouse / monitor (by a KVM, but I 
am sure that the KVM is not the source of the problem I'm going to describe).

If if leave the computers for some period of time, of course the power saver 
mode turns the monitor off (or to standby or whatever -- the point is it is 
dark).

If the KVM is set so the Wheezy computer is using the K/V/M (keyboard / video 
/ mouse, I guess), I never have any problem if the monitor has been powered off 
-- if I press a key on the keyboard or move the mouse, the monitor (in 
particular -- keep reading) wakes up and I'm back in business.

If the KVM is set so the Jessie computer is using the K/V/M, occasionally (and 
more often if I leave it that way overnight), the monitor will not wake up 
(and thus, it appears that the keyboard and mouse are not responsive -- the 
system appears dead).

The way I've found to get around the problem is to actually depower and then 
repower the monitor -- initially I did that by unplugging it from the wall -- 
since then I added a "line switch" in the power cord.  I leave the monitor 
unpowered long enough so the red "pilot light" on the monitor fades to black.  

After the monitor is repowered, the keyboard mouse and monitor work as normal.

I can't recall, but I don't think even swtiching the KVM to the Wheezy 
computer solves the problem -- the monitor seems to get into some strange 
state.

I should point out two more things:

   * The "monitor" I use is a actually a 32" (modern) TV (that is one of LED, 
LCD, or whatever the various acronyms are for TV screeen technology) -- it is 
1080P resolution, so adequate for my needs (2560 x 1080 pixels, iirc?? no, I 
don't think thats right -- 1080 vertical, not sure of horizontal)

   * The first time I had the problem I thought the monitor (TV) was dead and 
replaced it with a spare.  Some time after that (don't recall how long) the 
same thing happened with the new monitor, and I sort of accidentally found out 
that depowering and repowering solved the problem.  (Fortunately, I did not 
discard the first monitor which I now assume is good -- haven't tried to test 
it (I put it in the box for the spare monitor).



-- 
A picture, sketch, diagram, or chart is worth a thousand words -- divide by 10 
for each minute of video (or audio) -- instead: create a transcript and edit 
it to 10% of the original!  (Oxford comma included at no charge.)



Re: Frozen mouse and keyboard

2022-06-15 Thread mick crane

On 2022-06-15 09:21, Mick Ab wrote:
I have a fairly new desktop PC running Debian 11. Recently there have 
been

a few occasions when the PC has failed to
be woken up in the morning after being left overnight. The mouse and
keyboard are frozen. Sometimes the monitor appears to be off and on
one occasion it was on.

A hard reboot has been used to reset the PC, but it is not a good idea 
to

keep doing that.

There is also a worry that if there is a hardware fault, the situation
might get worse over time.

Has anyone any idea as to what may be causing the problem and what 
would be

the best way to try and solve it ?

I anticipate it might be difficult to solve the problem given that the
fault is intermittent.


I had similar and advice to change driver from radeon to amdgpu seemed 
to solve issue.

list emails "system freeze", don't know how to do that archive link.

mick



Re: Frozen mouse and keyboard

2022-06-15 Thread Timothy M Butterworth
On Wed, Jun 15, 2022 at 4:22 AM Mick Ab 
wrote:

> I have a fairly new desktop PC running Debian 11. Recently there have been
> a few occasions when the PC has failed to
> be woken up in the morning after being left overnight. The mouse and
> keyboard are frozen. Sometimes the monitor appears to be off and on
> one occasion it was on.
>
> I leave my laptop on 24x7x365 and I do not have any issues. I do not have
it setup to go to sleep or hibernate though. Have you tried putting the
laptop to sleep then waking it, to see if you can recreate the bug?


> A hard reboot has been used to reset the PC, but it is not a good idea to
> keep doing that.
>
> There is also a worry that if there is a hardware fault, the situation
> might get worse over time.
>
> Has anyone any idea as to what may be causing the problem and what would
> be the best way to try and solve it ?
>
> I anticipate it might be difficult to solve the problem given that the
> fault is intermittent.
>


Frozen mouse and keyboard

2022-06-15 Thread Mick Ab
I have a fairly new desktop PC running Debian 11. Recently there have been
a few occasions when the PC has failed to
be woken up in the morning after being left overnight. The mouse and
keyboard are frozen. Sometimes the monitor appears to be off and on
one occasion it was on.

A hard reboot has been used to reset the PC, but it is not a good idea to
keep doing that.

There is also a worry that if there is a hardware fault, the situation
might get worse over time.

Has anyone any idea as to what may be causing the problem and what would be
the best way to try and solve it ?

I anticipate it might be difficult to solve the problem given that the
fault is intermittent.


Re: Frozen mouse and keyboard in new Woody installation

2003-11-27 Thread Kent West
John wrote:

On bootup of newly installed 2.4 Woody, both mouse and
keyboard are frozen on the first desktop manager
screen.  I have tried installing with KDE and again
with Gnome, and the problem is the same either way.
Installation goes fine.  In console mode, after
installation, I am able to apt-get install emacs20 and
fvwm2.  I can rewrite xinitrc to include "exec fvwm2".
BUT: when I reboot, I get either kdm or gnome AND THE
SAME DRATTED FROZEN MOUSE AND KEYBOARD, and now can't
even get a console session, or to try to fix things
with the rescue disk, since the machine goes right to
a display manager and keyboard and mouse freeze again.
 

At the "boot:" prompt, you can enter something like "linux single" and 
avoid going into the display manager. Then you can edit the display 
manager's startup script ("/etc/init.d/kdm"?) and add the single line 
"exit 0" as the first executable line. Now you can restart normally 
without the display manager starting (remove the line later when you 
want to restore kdm).

What's wrong?  And many thanks!
 

After doing the above, does the keyboard work in console? Mouse 
(assuming you have gpm installed)? If you start X with "startx", what 
happens? When the keyboard freezes, does the numlock/capslock toggle the 
indicator lights?

If the keyboard/mouse works in console, but not in X, you might try 
running "dpkg-reconfigure xserver-common" and/or "dpkg-reconfigure 
xserver-xfree86" and select different settings.

P.S.
Do you write me direct, or do I need to join a list to
see an answer?
 

As a general rule, you're expected to either join the list or read the 
answers in the email archives. However, most of us will honor a request 
to CC: to you.

--
Kent


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Frozen mouse and keyboard in new Woody installation

2003-11-26 Thread John
On bootup of newly installed 2.4 Woody, both mouse and
keyboard are frozen on the first desktop manager
screen.  I have tried installing with KDE and again
with Gnome, and the problem is the same either way.

Installation goes fine.  In console mode, after
installation, I am able to apt-get install emacs20 and
fvwm2.  I can rewrite xinitrc to include "exec fvwm2".
 BUT: when I reboot, I get either kdm or gnome AND THE
SAME DRATTED FROZEN MOUSE AND KEYBOARD, and now can't
even get a console session, or to try to fix things
with the rescue disk, since the machine goes right to
a display manager and keyboard and mouse freeze again.

What's wrong?  And many thanks!

P.S.
Do you write me direct, or do I need to join a list to
see an answer?



__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]