LinuxQuestions.org
Help answer threads with 0 replies.
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 02-06-2018, 02:37 PM   #1
Telumehtar
LQ Newbie
 
Registered: Jun 2009
Location: Copenhagen, Denmark
Distribution: Slackware current
Posts: 4

Rep: Reputation: 1
udev crashes when adding devices


I have a ThinkPad W520 which crashes, when I add devices via udev.

It is possibly a hardware issue, since it started suddenly a couple of years ago, without any apparent reason. I was running Slackware 14.0 at the time, but switching to 13.37 fixed it, and I have been running 13.37 since.

Now, I have just installed a fresh copy of 14.2, and determined that udev is the cause of the problem. By only adding specific devices via udev, I have managed to get network and graphics working, but I am still working on audio and a lot of minor devices.

Currently, it is just a trial and error process: I add some devices and check, whether the system crashes. For instance, the following will provoke a crash only after the last line:

Code:
root@bor:~# lspci
01:00.0 VGA compatible controller: NVIDIA Corporation GF108GLM [Quadro 1000M] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1)
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)
root@bor:~# udevadm trigger --action=add --property-match='DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0*'
root@bor:~# udevadm trigger --action=add --property-match='DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:03:00.0*'
root@bor:~# udevadm trigger --action=add --property-match='DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.1*'
However, since it all worked in 13.37, it is not JUST a hardware issue. I gather that disabling udev altogether is rather difficult. Is there an alternative way to get the audio working, or does anybody have an idea what is going on?
 
Old 02-06-2018, 06:50 PM   #2
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Have a look on this (for inspiration):
https://askubuntu.com/questions/6411...ound-card-hdmi

Note that there are many reports about some Nvidia drivers versions crashing the system and you should try to play with a different version than the one you're using now - I'm not sure the one you used on 13.37 will still work in 14.2 an its new kernel.

Last edited by abga; 02-06-2018 at 07:07 PM. Reason: - note about Nvidia driver crash
 
1 members found this post helpful.
Old 02-06-2018, 07:07 PM   #3
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Maybe set udev_log="debug" in /etc/udev/udev.conf
Then check /var/log/debug, possibly /var/log/syslog too
 
2 members found this post helpful.
Old 02-07-2018, 03:04 AM   #4
Telumehtar
LQ Newbie
 
Registered: Jun 2009
Location: Copenhagen, Denmark
Distribution: Slackware current
Posts: 4

Original Poster
Rep: Reputation: 1
Thanks for your suggestions.

I have tried starting udev after starting X (twm), and it seems to work. I have tried twice with working sound and no crashes, and it works in X even if I include all devices.

I have absolutely no idea why this should make any difference. The audio driver is probably above suspicion, but I will try to look at the udev log to see if I can find the source of the problem.

For now I will just mark this as solved, but if anybody has an idea as to what is going on, I would like to know.
 
  


Reply

Tags
crash, udev



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
udev keeps changing sd* devices Misel Linux - Software 5 11-30-2008 10:09 AM
Accessing devices from udev Jzarecta Linux - Hardware 4 07-11-2007 07:25 PM
QDI P6I440BX - crashes during udev junpit Linux - Hardware 0 08-29-2006 08:35 AM
UDEV and Raw devices swissworks Slackware 6 09-14-2004 01:08 PM
udev and 51 sound devices! tamills Linux - Hardware 0 05-15-2004 05:43 PM

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

All times are GMT -5. The time now is 11:39 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