LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums HCL Reviews 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 09-12-2011, 08:34 AM   #1
paranoid times
Member
 
Registered: Jan 2005
Distribution: Fedora Core 3, 4
Posts: 135

Rep: Reputation: 16
BUG: soft lockup. During boot.


I've been trying to figure out why my system has been occasionally powering down on me (As though it gets a cpu overheat.) In this search I found these lines in my messages file:
Code:
Sep 12 13:39:41 magicbane kernel: [   32.190267] BUG: soft lockup - CPU#0 stuck for 22s! [biosdevname:481]
Sep 12 13:39:41 magicbane kernel: [   60.247880] BUG: soft lockup - CPU#0 stuck for 23s! [biosdevname:481]
I don't believe it is related to the shutdown issue. But it does cause my system to take an abnormally long time to boot.

I've tried shutting acpi off at boot, also I read somewhere that removing the quiet option from grub helped. Seemed unlikely to me, but I tried, no effect on with either. Any other ideas?

Thanks,
Michael
 
Old 09-12-2011, 10:03 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
See:
http://bugs.centos.org/view.php?id=3582
http://muffinresearch.co.uk/archives...stuck-for-11s/

Try a different kernel version.
 
Old 09-12-2011, 12:55 PM   #3
paranoid times
Member
 
Registered: Jan 2005
Distribution: Fedora Core 3, 4
Posts: 135

Original Poster
Rep: Reputation: 16
Looks like that worked. I reverted from:
2.6.40.4-5.fc15.i686
to
2.6.38.6-26.rc1.fc15.i686

And the messages are gone from the logs. Now other things are happening. But that is a story for a different post. Thank you for the assistance.
 
Old 10-02-2011, 09:23 AM   #4
paranoid times
Member
 
Registered: Jan 2005
Distribution: Fedora Core 3, 4
Posts: 135

Original Poster
Rep: Reputation: 16
While the above did remove the error message, there was still a substantial pause during boot. The following appears to have removed both the error message and the pause: I was disabling devices that I wasn't using in BIOS. And after disabling the onboard LAN everything boots up right quick. I tested it a few times. With the ethernet enabled things pause during boot. Without it everything is fine. Not the best solution, but since I don't use the wired network here, it works fine for me.
 
Old 10-02-2011, 09:38 AM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
What onboard LAN do you have and what driver does it use ? It should be listed in 'lspci -k'. It could be a bug in the driver.
 
Old 10-02-2011, 09:57 AM   #6
paranoid times
Member
 
Registered: Jan 2005
Distribution: Fedora Core 3, 4
Posts: 135

Original Poster
Rep: Reputation: 16
I think this is it:

Code:
03:00.0 Ethernet controller: Atheros Communications L2 Fast Ethernet (rev a0)
	Subsystem: ASUSTeK Computer Inc. Device 8233
	Kernel driver in use: atl2
	Kernel modules: atl2
Any way to test for bugs or the like?
 
Old 10-02-2011, 10:10 AM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
I have an atheros ethernet card and it does similar things, it uses the atl1c driver, which is staging. I notice that on ifconfig it sometimes reports bogus transfers, like negative numbers and such. That's a clear sign of a bug. Also, it is on IRQ 19 and it often disable this IRQ because of problems. That's another hint.
 
Old 10-02-2011, 10:50 AM   #8
paranoid times
Member
 
Registered: Jan 2005
Distribution: Fedora Core 3, 4
Posts: 135

Original Poster
Rep: Reputation: 16
I might give that a try. I know on an older (Still) kernel for some older Ubuntu that I use to be running this didn't happen. So since I'm not using the ethernet at the moment I'm just going to leave it disabled and see if a future kernel won't fix it. Though thank you for the information. I suspect I will use it in the future.
 
  


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
BUG: soft lockup - CPU#1 stuck for 61s saurin Linux - Kernel 1 10-22-2010 03:14 PM
BUG: soft lockup - CPU#3 stuck for 10s! chakkerz Linux - Server 2 06-16-2008 06:34 PM
BUG: soft lockup detected on CPU#0 and BUG: spinlock recursion on CPU#0 ... BloodyCat Linux - Hardware 3 11-07-2006 02:14 PM
bug:soft lockup detected on cpu#0! paraiso Linux - General 2 01-29-2006 06:42 AM
BUG: Soft lockup detected on CPU#0! 97tbird Linux - General 0 11-03-2005 03:12 PM

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

All times are GMT -5. The time now is 08:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration