Re: [SLUG] Occassional freeze-up in Ubuntu 5.10

2006-10-10 Thread WJ Bundy
I was looking for a solution in theSLUG  archives for Ubuntu 2.6.12 
locking up after going in screen-saver mode.

Has any fix been found for this eventually?
regards
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Occassional freeze-up in Ubuntu 5.10

2006-10-10 Thread Rev Simon Rumble
This one time, at band camp, WJ Bundy wrote:
 I was looking for a solution in theSLUG  archives for Ubuntu 2.6.12 
 locking up after going in screen-saver mode.
 Has any fix been found for this eventually?

Is this on a laptop?  Try turning off the Suspend and Hibernate stuff.  
Many laptops behave badly when suspending or hibernating.

-- 
Rev Simon Rumble [EMAIL PROTECTED]
www.rumble.net

The Tourist Engineer
Nerds need vacations too.
http://engineer.openguides.org/

Hockey is a sport for white men.
Basketball is a sport for black men.
Golf is a sport for white men dressed like black pimps.

- Tiger Woods
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Occassional freeze-up in Ubuntu 5.10

2006-05-28 Thread Simon Wong
On Fri, 2006-05-26 at 14:57 +1000, John Clarke wrote:
 Do you have an answer for my second question: How can I find the source
 difference between two versions of a package?

Not sure exactly.  Does the source package page have any details?
There's the Debian/Ubuntu changelog but that will not give you an exact
diff.

I'd try going to the package's web page via packages.debian.org then
follow the links at the bottom of the page to the source packages etc
and see what you can find.

HTH


-- 
Simon Wong [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Occassional freeze-up in Ubuntu 5.10

2006-05-25 Thread Simon Wong
On Fri, 2006-05-19 at 18:39 +1000, John Clarke wrote:
 And if anyone can tell me how to downgrade my kernel package
 I'd be grateful.  I'd also like to know how to find the source
 difference between any two arbitrary package versions.

To install a specific version of a package do something like:

$ sudo apt-get --reinstall install linux-686=2.6.12.16.1

You'll need to pin that version though to stop it upgrading
automatically.

Do that through Synaptic with the force version menu item.


-- 
Simon Wong [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Occassional freeze-up in Ubuntu 5.10

2006-05-25 Thread John Clarke
On Fri, May 26, 2006 at 02:37:52 +1000, Simon Wong wrote:
 On Fri, 2006-05-19 at 18:39 +1000, John Clarke wrote:
  And if anyone can tell me how to downgrade my kernel package
  I'd be grateful.  I'd also like to know how to find the source
  difference between any two arbitrary package versions.
 
 To install a specific version of a package do something like:
 
 $ sudo apt-get --reinstall install linux-686=2.6.12.16.1

Thanks Simon.

Do you have an answer for my second question: How can I find the source
difference between two versions of a package?


Cheers,

John
-- 
Sigh... What the fsck it is about GUI stuff that makes its authors to produce 
mind-boggling amount of excrements and attempt to pass them for programs?
-- Alexander Viro
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Occassional freeze-up in Ubuntu 5.10

2006-05-19 Thread elliott-brennan

Hi all,

I have a

P4 3GHz
1G RAM

Until recently I was running FC4 on the same 
machine. I installed Ubuntu 5.10 (with KDE) approx 
three weeks ago. Over the last three days, the 
machine has started to freeze. Running at the time 
is usually Konqueror (one instance), gkrellm (one 
instance), Thunderbird 1.5 and Firefox 1.5 
(sometimes with two to four tabs open).


I've only been running Firefox recently (usually 
run Opera).


I'm usually able to kill X and log back in (though 
this takes some time to achieve)... as everything 
is running *extremely* slow, if at all, at the time.


Are there any logs I can check to see what was 
happening at the time?


Any other advice, redirections or suggestions 
would be most appreciated.


Regards,

Patrick


--
Registered Linux User 368634
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Occassional freeze-up in Ubuntu 5.10

2006-05-19 Thread Howard Lowndes

Are you able to run top to see what is hogging the cpu?

elliott-brennan wrote:

Hi all,

I have a

P4 3GHz
1G RAM

Until recently I was running FC4 on the same machine. I installed Ubuntu 
5.10 (with KDE) approx three weeks ago. Over the last three days, the 
machine has started to freeze. Running at the time is usually Konqueror 
(one instance), gkrellm (one instance), Thunderbird 1.5 and Firefox 1.5 
(sometimes with two to four tabs open).


I've only been running Firefox recently (usually run Opera).

I'm usually able to kill X and log back in (though this takes some time 
to achieve)... as everything is running *extremely* slow, if at all, at 
the time.


Are there any logs I can check to see what was happening at the time?

Any other advice, redirections or suggestions would be most appreciated.

Regards,

Patrick




--
Howard.
LANNet Computing Associates - Your Linux people http://lannetlinux.com
When you want a computer system that works, just choose Linux;
When you want a computer system that works, just, choose Microsoft.
--
Flatter government, not fatter government; abolish the Australian states.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Occassional freeze-up in Ubuntu 5.10

2006-05-19 Thread John Clarke
On Fri, May 19, 2006 at 06:14:43 +1000, elliott-brennan wrote:

 Until recently I was running FC4 on the same 
 machine. I installed Ubuntu 5.10 (with KDE) approx 
 three weeks ago. Over the last three days, the 
 machine has started to freeze. Running at the time 

I've had a similar problem since the last Ubuntu kernel update.
I was running Hoary and it had been stable for months, then
after installing the new kernel and rebooting the machine began
randomly freezing solid.  It doesn't seem to be particularly
dependent upon what's running -- I've had it lock up overnight
when I've been logged out. 

At the same time I started seeing messages like these in the logs:

hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
ide: failed opcode was: unknown

Thinking it was a failing hard drive, I replaced the drive with a
new one, and at the same time installed Breezy.  The dma errors
continued to happen and the machine continues to randomly freeze
solid, more frequently than on Hoary.  I'd get two or three days
with Hoary, but I'm lucky to get 24 hours running on Breezy.

I'm sure it *could* be two faulty drives, but it's unlikely, and
especially starting at exactly the time the new kernel was
installed.  I can't prove it's the kernel, but given the timing,
I do suspect it.  If I knew how to downgrade the kernel package
I'd do it to see if the problems go away.

The 686-smp kernel is much more prone to freezing than the non-smp
386 kernel.

I've found that turning off dma seems to fix the problem
(hdparm -d0 /dev/hda), but it also makes the machine noticeably
slower.  Still, a reduction in performance beats random freezing.

One interesting point: ide=nodma on the kernel command line
is supposed to turn off dma at boot time.  I've checked the
source and code to detect that command is there.  It doesn't
work though: I don't see the Prevented DMA message that it's
supposed to print and I get some dma errors before hdparm is
run to turn it off.  Sometimes the machine even freezes early
in the boot process (after Creating initial device nodes but 
before Setting disc parameters).

 Are there any logs I can check to see what was 
 happening at the time?

Have a look in /var/log/syslog for dma errors.


And if anyone can tell me how to downgrade my kernel package
I'd be grateful.  I'd also like to know how to find the source
difference between any two arbitrary package versions.


Cheers,

John
-- 
I wish I could find a one-armed economist, so he couldn't say, 'on the
other hand...'
-- Harry Truman.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Occassional freeze-up in Ubuntu 5.10

2006-05-19 Thread elliott-brennan

Hi Howard,

It takes so long to get anything going, I have 
just killed X instead. Impatient, I know. I've got 
an instance of 'top' running now and I'm going to 
keep it going to see what it can tell me. This 
bugger has been happening about every 24 hrs or so.


Regards,

Patrick

Howard Lowndes wrote:

Are you able to run top to see what is hogging the cpu?

elliott-brennan wrote:

Hi all,

I have a

P4 3GHz
1G RAM

Until recently I was running FC4 on the same machine. I installed 
Ubuntu 5.10 (with KDE) approx three weeks ago. Over the last three 
days, the machine has started to freeze. Running at the time is 
usually Konqueror (one instance), gkrellm (one instance), Thunderbird 
1.5 and Firefox 1.5 (sometimes with two to four tabs open).


I've only been running Firefox recently (usually run Opera).

I'm usually able to kill X and log back in (though this takes some 
time to achieve)... as everything is running *extremely* slow, if at 
all, at the time.


Are there any logs I can check to see what was happening at the time?

Any other advice, redirections or suggestions would be most appreciated.

Regards,

Patrick






--
Registered Linux User 368634
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Occassional freeze-up in Ubuntu 5.10

2006-05-19 Thread Howard Lowndes



John Clarke wrote:

On Fri, May 19, 2006 at 06:14:43 +1000, elliott-brennan wrote:

Until recently I was running FC4 on the same 
machine. I installed Ubuntu 5.10 (with KDE) approx 
three weeks ago. Over the last three days, the 
machine has started to freeze. Running at the time 


I've had a similar problem since the last Ubuntu kernel update.
I was running Hoary and it had been stable for months, then
after installing the new kernel and rebooting the machine began
randomly freezing solid.  It doesn't seem to be particularly
dependent upon what's running -- I've had it lock up overnight
when I've been logged out. 


At the same time I started seeing messages like these in the logs:

hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
ide: failed opcode was: unknown


I've seen that many times with non-smp kernels but never to the extent 
of causing a lockup.


Are you able to disable DMA in the BIOS?


Thinking it was a failing hard drive, I replaced the drive with a
new one, and at the same time installed Breezy.  The dma errors
continued to happen and the machine continues to randomly freeze
solid, more frequently than on Hoary.  I'd get two or three days
with Hoary, but I'm lucky to get 24 hours running on Breezy.

I'm sure it *could* be two faulty drives, but it's unlikely, and
especially starting at exactly the time the new kernel was
installed.  I can't prove it's the kernel, but given the timing,
I do suspect it.  If I knew how to downgrade the kernel package
I'd do it to see if the problems go away.

The 686-smp kernel is much more prone to freezing than the non-smp
386 kernel.

I've found that turning off dma seems to fix the problem
(hdparm -d0 /dev/hda), but it also makes the machine noticeably
slower.  Still, a reduction in performance beats random freezing.

One interesting point: ide=nodma on the kernel command line
is supposed to turn off dma at boot time.  I've checked the
source and code to detect that command is there.  It doesn't
work though: I don't see the Prevented DMA message that it's
supposed to print and I get some dma errors before hdparm is
run to turn it off.  Sometimes the machine even freezes early
in the boot process (after Creating initial device nodes but 
before Setting disc parameters).


Are there any logs I can check to see what was 
happening at the time?


Have a look in /var/log/syslog for dma errors.


And if anyone can tell me how to downgrade my kernel package
I'd be grateful.  I'd also like to know how to find the source
difference between any two arbitrary package versions.


Cheers,

John


--
Howard.
LANNet Computing Associates - Your Linux people http://lannetlinux.com
When you want a computer system that works, just choose Linux;
When you want a computer system that works, just, choose Microsoft.
--
Flatter government, not fatter government; abolish the Australian states.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Occassional freeze-up in Ubuntu 5.10

2006-05-19 Thread Ken Foskey
On Fri, 2006-05-19 at 18:14 +1000, elliott-brennan wrote:
 Until recently I was running FC4 on the same 
 machine. I installed Ubuntu 5.10 (with KDE) approx 
 three weeks ago. Over the last three days, the 
 machine has started to freeze. Running at the time 
 is usually Konqueror (one instance), gkrellm (one 
 instance), Thunderbird 1.5 and Firefox 1.5 
 (sometimes with two to four tabs open).

There are some periodic tasks that might be running...

I have beagle an indexing utility that runs and chews up resources for a
little while.

Perhaps you have automatic updates switched on?  On something like
Dapper the updates can be large.

The other thing is if the hard disk goes ape you might be short of
memory and the system is trying to reclaim some.  My laptop has 512 and
it sometime gets into a spin for a while when I do something silly in
code.

Ta
Ken

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Occassional freeze-up in Ubuntu 5.10

2006-05-19 Thread John Clarke
On Fri, May 19, 2006 at 07:44:13 +1000, Howard Lowndes wrote:
 John Clarke wrote:
  
  hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
  hda: dma_intr: error=0x84 { DriveStatusError BadCRC }
  ide: failed opcode was: unknown
 
 I've seen that many times with non-smp kernels but never to the extent 
 of causing a lockup.

The non-smp kernel seems far less prone to lockup than the smp kernel.

 Are you able to disable DMA in the BIOS?

No, unfortunately.  Any other suggestions?


Thanks,

John
-- 
I wonder what Indians *deliberately* trying to do a Welsh accent would
sound like. Would their heads explode?
-- Paul Martin
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html