LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-01-2015, 03:00 AM   #1
atelszewski.versades
Member
 
Registered: Oct 2014
Posts: 61

Rep: Reputation: Disabled
Linux kernel 4.1.9 completely lockups the machine


Hi,

I updated my kernel to 4.1.9 and I experience total lock-ups.

As always, my first suspicion is Intel graphics, so I disabled RC6 power saving and for now it seems to work the treat. We'll see in a few hours (minutes?).

Some more reports here.

--
Best regards,
Andrzej Telszewski
 
Old 10-01-2015, 05:24 AM   #2
atelszewski.versades
Member
 
Registered: Oct 2014
Posts: 61

Original Poster
Rep: Reputation: Disabled
Hi,

Well, seems like "Series 4800" failure here.
It's not about RC6, 4.1.9 still locks up.
No ping replies, no keyboard nor mouse response.
Interestingly, I had terminal emulator opened (under X) and the cursor was blinking. I guess it's the beauty of hardware cursor

Reverted back to 4.1.8.

--
Best regards,
Andrzej Telszewski
 
Old 10-01-2015, 12:22 PM   #3
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by atelszewski.versades View Post
Hi,

Well, seems like "Series 4800" failure here.
It's not about RC6, 4.1.9 still locks up.
No ping replies, no keyboard nor mouse response.
Interestingly, I had terminal emulator opened (under X) and the cursor was blinking. I guess it's the beauty of hardware cursor

Reverted back to 4.1.8.

--
Best regards,
Andrzej Telszewski
You're not the only one to experience hard locks. Seems 4.1.9 has introduced a regression which interacts badly with X. I,too, have retreated to an earlier version, and will wait until this bug is fixed.
 
Old 10-01-2015, 01:37 PM   #4
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276
I've had some problems with the 4.1.6 kernel when using Flash with Opera or Chromium with the Widevine plugin. In both cases it appears the CPU overheats and the machine locks up.
No problems with Firefox and the pipelight plugins to view Netflix. Regardless, I've gone back to the 3.18.11 kernel.
 
Old 10-01-2015, 02:55 PM   #5
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by cwizardone View Post
I've had some problems with the 4.1.6 kernel when using Flash with Opera or Chromium with the Widevine plugin. In both cases it appears the CPU overheats and the machine locks up.
No problems with Firefox and the pipelight plugins to view Netflix. Regardless, I've gone back to the 3.18.11 kernel.
I'd say that going with any LTS kernel would be a good bet, but personally, I wouldn't go back that far. Nevertheless, each use case differs (and user preference), so whatever works best for you. I've had pretty good mileage with all kernels I've tried on all hardware I've owned; with only one exception (the 14.0 kernel - 3.2.10 on an HP Pavilion notebook - forget the model name at the moment - which resulted in kernel panics upon boot), they've all worked.

Last edited by 1337_powerslacker; 10-01-2015 at 02:58 PM. Reason: kernel panic instead of hard lock
 
Old 10-02-2015, 12:57 AM   #6
lazardo
Member
 
Registered: Feb 2010
Location: SD Bay Area
Posts: 270

Rep: Reputation: Disabled
4.1.9 on up-to-date 14.1 base, zero issues.

GeForce GT730 + v340.93 nvidia driver, Asus M4A88T-M, Phenom(tm) II X4 B55
 
Old 10-02-2015, 09:38 AM   #7
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by lazardo View Post
4.1.9 on up-to-date 14.1 base, zero issues.

GeForce GT730 + v340.93 nvidia driver, Asus M4A88T-M, Phenom(tm) II X4 B55
Could be specific to some hardware configurations, I suppose. All I know is that I didn't have much luck with it.
 
Old 10-03-2015, 03:51 PM   #8
gus3
Member
 
Registered: Jun 2014
Distribution: Slackware
Posts: 490

Rep: Reputation: Disabled
The reports started coming in very quickly about the lockups.

http://lwn.net/Articles/658749/

There is a fix, but it didn't make it into 4.1.10.
 
3 members found this post helpful.
Old 10-04-2015, 07:44 AM   #9
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by gus3 View Post
The reports started coming in very quickly about the lockups.

http://lwn.net/Articles/658749/

There is a fix, but it didn't make it into 4.1.10.
Thanks, gus3, for linking to the fix. I'm building 4.1.10 now; we'll see whether the one-liner fixes the issue.

Last edited by 1337_powerslacker; 10-04-2015 at 08:27 AM.
 
Old 10-04-2015, 08:30 AM   #10
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
For those who don't want to chase links & manually copy/paste into a .patch file, I've uploaded the patch so that others interested in the fix can get it easily. Nevertheless, if you want an explanation for the lockup, do click on the link provided in the above post. As always, remove the .txt suffix before applying the patch.

EDIT: The patch appears to have fixed the issue. Success!
Attached Files
File Type: txt 4.1_lockup_fix.patch.txt (401 Bytes, 47 views)

Last edited by 1337_powerslacker; 10-04-2015 at 11:48 AM.
 
1 members found this post helpful.
Old 10-04-2015, 03:56 PM   #11
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Any clue about what caused the lockup?
(read the contents of that link but didn't understand anything)
 
Old 10-04-2015, 04:58 PM   #12
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by Pearlseattle View Post
Any clue about what caused the lockup?
(read the contents of that link but didn't understand anything)
I'm no kernel developer, but I do have some experience in programming, so my interpretation of the developer's comments is that a subroutine was being called under inappropriate test conditions, causing the deadlock condition (lockup). He added another test condition so that the subroutine would be called only when two conditions were met, instead of just one.
 
1 members found this post helpful.
Old 10-23-2015, 06:32 AM   #13
davleema
Member
 
Registered: Jun 2015
Location: Belgium
Distribution: Slackware x64
Posts: 43

Rep: Reputation: Disabled
Quote:
Originally Posted by gus3 View Post
The reports started coming in very quickly about the lockups.

http://lwn.net/Articles/658749/

There is a fix, but it didn't make it into 4.1.10.
4.1.11 is out. Can anybody tell me if the fix made it into this one?

Thx,

David
 
Old 10-23-2015, 06:42 AM   #14
atelszewski.versades
Member
 
Registered: Oct 2014
Posts: 61

Original Poster
Rep: Reputation: Disabled
Hi,

Looking at the source code from 4.1.11:
Code:
static bool reqsk_queue_unlink(struct request_sock_queue *queue,
			       struct request_sock *req)
{
	struct listen_sock *lopt = queue->listen_opt;
	struct request_sock **prev;
	bool found = false;

	spin_lock(&queue->syn_wait_lock);

	for (prev = &lopt->syn_table[req->rsk_hash]; *prev != NULL;
	     prev = &(*prev)->dl_next) {
		if (*prev == req) {
			*prev = req->dl_next;
			found = true;
			break;
		}
	}

	spin_unlock(&queue->syn_wait_lock);
	if (timer_pending(&req->rsk_timer) && del_timer_sync(&req->rsk_timer))
		reqsk_put(req);
	return found;
}
it seems to be fixed.

I'm running 4.1.11 for 5 hours now without hanging.

--
Best regards,
Andrzej Telszewski
 
1 members found this post helpful.
Old 10-23-2015, 07:20 AM   #15
davleema
Member
 
Registered: Jun 2015
Location: Belgium
Distribution: Slackware x64
Posts: 43

Rep: Reputation: Disabled
Quote:
Originally Posted by atelszewski.versades View Post
Hi,

Looking at the source code from 4.1.11:
Code:
static bool reqsk_queue_unlink(struct request_sock_queue *queue,
			       struct request_sock *req)
{
	struct listen_sock *lopt = queue->listen_opt;
	struct request_sock **prev;
	bool found = false;

	spin_lock(&queue->syn_wait_lock);

	for (prev = &lopt->syn_table[req->rsk_hash]; *prev != NULL;
	     prev = &(*prev)->dl_next) {
		if (*prev == req) {
			*prev = req->dl_next;
			found = true;
			break;
		}
	}

	spin_unlock(&queue->syn_wait_lock);
	if (timer_pending(&req->rsk_timer) && del_timer_sync(&req->rsk_timer))
		reqsk_put(req);
	return found;
}
it seems to be fixed.

I'm running 4.1.11 for 5 hours now without hanging.

--
Best regards,
Andrzej Telszewski
Thx for the info.

David
 
  


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
Completely unsupported hardware support by Linux for ATOM Z3735G machine Xeratul Linux - Hardware 15 12-31-2015 03:11 PM
[SOLVED] Where to get completely minimal Linux image (kernel and Busybox only)? skykooler Linux - General 15 03-09-2012 12:38 PM
new kernel, random lockups, mainly during OpenGL tkalfaoglu Linux - Kernel 8 11-28-2006 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:52 AM.

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