LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-10-2008, 11:55 AM   #1
dennisfen
Member
 
Registered: Dec 2005
Location: Moscow, Russia
Distribution: LFS 6.3
Posts: 32

Rep: Reputation: 15
Exclamation Weird system behavior since 2.6.25 kernel. Help needed.


I have some strange system behavior on > 2.6.25 kernels=( At the first glance everything works fine (my broadcom wi-fi NIC is working well, finally): suspend, resume, no performance decrease, but at some moment strange things happen. I cannot start any new process. When I click on some icon in KDE the application doesn't start. I cannot move windows around the desktop. Can't reboot system. I can kill the X server with CTRL+ALT+Backspace _sometimes_. Mostly the system freezes with blank screen, but sometimes I can get the console login shell. Anyway, I can only type login there, the password promt never appears...

I have never seen my system act like this before 2.6.25.

The config I used to compile kernels is always the same. Nothing is changed in my system except kernel. All kernel sources are vanilla ones.

I would eagerly provide any info needed.
 
Old 06-11-2008, 07:20 AM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
It could be that the problem is not the kernel, but XOrg/XWindows.

First, roll-back to your previous kernel version and make sure that the system is again stable.

(I presume that you do keep separate and clearly-identifiable backup copies of each .config file... oui?)

Then, carefully setting-aside your .config file, do a make depclean in the kernel directory, restore the .config file, and recompile/reinstall everything. Reboot and see if you can reproduce the incorrect behavior.

If so, then the probable cause is that the kernel information about your display-device is no longer correct.

Kernel configuration-parameters do change, and the easiest way to find out what may have happened is to diff the old config-file against the new.
 
Old 06-11-2008, 07:33 AM   #3
dennisfen
Member
 
Registered: Dec 2005
Location: Moscow, Russia
Distribution: LFS 6.3
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by sundialsvcs View Post
First, roll-back to your previous kernel version and make sure that the system is again stable.
I did this. Now I'm on 2.6.24.7 and everything is ok.

Quote:
(I presume that you do keep separate and clearly-identifiable backup copies of each .config file... oui?)
I do

Quote:
Then, carefully setting-aside your .config file, do a make depclean in the kernel directory, restore the .config file, and recompile/reinstall everything. Reboot and see if you can reproduce the incorrect behavior.
It was the first thing I've done, when saw this strange behavior. It didn't help - system behaves badly after clean recompile.



I'm not sure if it is my screen driver's malfunction. As I said before, I can kill X (sometimes) and get to console login promt (no screen corruption or anything like that), type my login, press Enter...but no password promt appears I can type some letters and they appear on screen, though.
 
Old 06-11-2008, 08:06 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Nothing odd in any logs?
 
Old 06-11-2008, 06:12 PM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
I agree with "unSpawn"... time to look at the logs.

Let's face it: an awful lot of things about your system right now work just fine. You can not-only "see 'windows'," but you can type into them! Ergo, the actual disruption {"disruptive" though it may be...} is very localized.[/i]

It almost-definitely isn't "the kernel." Check the XWindows/XOrg log files . . .
 
Old 06-11-2008, 11:30 PM   #6
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
By the way, try to switch to text console with Ctrl-Alt-F2 . Does it behave better than after killing X? Try changing default runlevel in inittab to 3 or even 1. Does it work better? Try adding an init script that waits until X is launched and a minute more, then launches xterm (manually specifying DISPLAY). What happens? What output does it generate (surely you should redirect xterm output and stderr to files)?
 
Old 06-12-2008, 03:22 AM   #7
dennisfen
Member
 
Registered: Dec 2005
Location: Moscow, Russia
Distribution: LFS 6.3
Posts: 32

Original Poster
Rep: Reputation: 15
I think you guys got me wrong. The system is working fine *for some time*...it can be even a day! But in the end I _always_ have a situation I described in the first post

As for text console, I told that after killing X I get to text login promt, but cannot login because the password promt never appears.

Uh...maybe I can't describe the situation clearly in English

Today I'll try to reproduce this bad behavior of my system and look through logs more carefully. But the problem is that I do not know how much time do I need to wait until this sh*t happens.

upd.
kernel 2.6.25.4, uptime 54 min. Everything is ok. I'm not sure how long should I wait until something happens...but it will happen

Last edited by dennisfen; 06-12-2008 at 05:18 AM.
 
Old 06-12-2008, 08:00 AM   #8
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Hm. Wait some time and run "ps auxwwwf" . Does it show lots of processes with same name?
 
Old 06-12-2008, 08:05 AM   #9
dennisfen
Member
 
Registered: Dec 2005
Location: Moscow, Russia
Distribution: LFS 6.3
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by raskin View Post
Hm. Wait some time and run "ps auxwwwf" . Does it show lots of processes with same name?
nope, nothing abnormal in the output.



btw, guys, thanks for helping me in this odd situation!
 
Old 06-12-2008, 09:02 AM   #10
dennisfen
Member
 
Registered: Dec 2005
Location: Moscow, Russia
Distribution: LFS 6.3
Posts: 32

Original Poster
Rep: Reputation: 15
Okay. After about 8 hours it happended again...
No errors in dmesg output except Hangcheck: hangcheck value past margin!
Nothing odd in ps aux ouput.

The symptomes were: firefox stopped scrolling and opening new tabs (i could close the existing ones, though), pidgin couldn't open new conversations, but the existing ones were usable (but little bit slower) and conky stoped updating. I managed to run dmesg and ps from the xterm window, which I always keep opened. The I tried to switch to text terminal with CTRL+ALT+F# buttons with no effect. And then I tried to kill X. It died, but I got my system stuck with a blank screen

Checked log from X.org...no errors...
 
Old 06-12-2008, 03:02 PM   #11
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Can you setup an experiment to ssh to the hung machine from outside? Is there any free memory when the computer locks up?
 
Old 06-12-2008, 03:07 PM   #12
dennisfen
Member
 
Registered: Dec 2005
Location: Moscow, Russia
Distribution: LFS 6.3
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by raskin View Post
Can you setup an experiment to ssh to the hung machine from outside? Is there any free memory when the computer locks up?
Yes, I do have some free RAM plus some yet untouched swap space. I'll try to connect to my hung box from another machine next time.
 
Old 06-13-2008, 03:33 AM   #13
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Also it would be interesting if 2.6.26-rc* and 2.6.26-rc*-mm* kernels work..
 
Old 06-13-2008, 04:22 PM   #14
dennisfen
Member
 
Registered: Dec 2005
Location: Moscow, Russia
Distribution: LFS 6.3
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by raskin View Post
Also it would be interesting if 2.6.26-rc* and 2.6.26-rc*-mm* kernels work..
I've tested 2.6.26-rc5 - the same result So I assume that something broke since 2.6.25, there were some new features introduced with that release.
 
Old 06-13-2008, 04:39 PM   #15
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
What drivers are you using for the graphics card?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
weird (slow) system (behavior) pilatus666 Linux - Newbie 6 05-29-2006 06:14 PM
Weird shutdown behavior (black screen, system NOT halted) rutgerw Linux - Software 9 01-07-2006 10:16 AM
Weird behavior Bassy Linux - Software 2 10-20-2005 01:32 PM
Kernel compile = weird mouse behavior SolarBear Slackware 8 11-11-2004 10:48 AM
Weird kernel behavior helloworld Linux - Software 9 06-12-2001 02:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 09:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration