LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-07-2008, 12:09 PM   #1
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
Question Problem with pppd after new udev update from -current


After the -current update from last sunday that changed udev amongst other things, my GSM modem on my laptop stopped working.
"pppd call xxxxx" gives an error:
Code:
You need to create the /dev/ppp device node
Creating it with mknod resolves the problem until the next boot.

Checking around, I found out that the rule "50-udev-default.rules" doesn't exist anymore.
I have another system that has 12.1-stable and it still has this rule and as /dev/ppp after a normal boot.

Any idea what happened?

The workaround is creating the /dev/ppp device as root, as pppd indicates, but I guess this should be done by udev at boot time.

Should I simply copy the "50-udev-default.rules" rule from the 12.1-stable system to my -current system?
 
Old 10-09-2008, 09:16 AM   #2
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current
Posts: 186

Rep: Reputation: 17
I have the same problem.
 
Old 10-09-2008, 10:15 AM   #3
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
The upstream udev rules have moved to /lib/udev/rules.d/ as of udev 128, so the missing files in /etc/udev/rules.d/ are not the issue.

The problem is likely that the ppp node has been removed from /lib/udev/devices in our package, as it should be created automatically when needed.

I still have the device node regardless here and my verizon evdo card works fine, so I'm not sure why it doesn't work elsewhere.

Anyway, it's being investigated - most likely, we'll return the ppp node to /lib/udev/devices/ in udev-130.

Last edited by rworkman; 10-09-2008 at 10:18 AM.
 
Old 10-09-2008, 11:52 AM   #4
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Original Poster
Rep: Reputation: 89
Quote:
Originally Posted by rworkman View Post
The upstream udev rules have moved to /lib/udev/rules.d/ as of udev 128, so the missing files in /etc/udev/rules.d/ are not the issue.
ok, thanks for the explanation.
I have some custom udev-rules, I guess I have to move them to /lib/udev/rules.d as well?
They sure were not moved automatically
I do honestly enjoy the surprises of using -current

I am at work now, using a windows desktop so I am unable to do any testing, but at night will investigate some more.
First thing I'll try is create the ppp node in /lib/udev/devices.
 
Old 10-09-2008, 12:15 PM   #5
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
Quote:
Originally Posted by niels.horn View Post
ok, thanks for the explanation.
I have some custom udev-rules, I guess I have to move them to /lib/udev/rules.d as well?
No, they should stay. /lib/udev/rules.d/ is for rules that should never be edited by local system administrators (package-provided rules typically will go here, but not always). /etc/udev/rules.d/ is for rules that might need to be edited (and obviously custom rules go here).

Quote:
First thing I'll try is create the ppp node in /lib/udev/devices.
Simply copy the ppp node into /lib/udev/devices and it should "just work" thereafter.
 
Old 10-09-2008, 12:24 PM   #6
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Original Poster
Rep: Reputation: 89
Quote:
Originally Posted by rworkman View Post
No, they should stay. /lib/udev/rules.d/ is for rules that should never be edited by local system administrators (package-provided rules typically will go here, but not always). /etc/udev/rules.d/ is for rules that might need to be edited (and obviously custom rules go here).
ok, got it!

I really need to study udev... It's fascinating to see what it can do. Any hints for some documentation? Not the basic stuff, I want to understand how it works, what calls what when and how etc...
I've written some very basic rules, but mostly based on things I found on the internet.
 
Old 10-09-2008, 12:59 PM   #7
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
There's a good user/admin doc in /usr/doc/udev-$VERSION/docs/writing_udev_rules/index.html

For api docs and such, I'm not aware of any - that's pretty much UTSL, I think. :-)
 
Old 10-09-2008, 07:33 PM   #8
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Original Poster
Rep: Reputation: 89
Thumbs up Solved!

Just checked on my -current system...
Creating the ppp "node" in /lib/udev/devices with:
Code:
mknod /lib/udev/devices/ppp c 108 0
(and a reboot) resolved the problem introduced with udev-128

Thanks for the help!
 
Old 10-10-2008, 07:30 AM   #9
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Original Poster
Rep: Reputation: 89
Just installed udev-130 from -current and all is fine again.
Now I will start studying udev in-depth (or even 'UTS' as Robby suggested ) to understand what's happening 'under the hood'.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
current users - udev-128 - don't forget rc.udev.new! tobyl Slackware 3 10-08-2008 03:28 AM
udev problems in current MS3FGX Slackware 15 08-14-2006 06:20 AM
slackware-current, udev 0.96, and custom udev rules not working rignes Slackware 6 08-10-2006 03:43 AM
alsa problem after the latest slackware-current update perfect_circle Slackware 8 04-26-2006 02:15 PM
udev update question (from Current Changelog) dhave Slackware 31 07-22-2005 07:49 PM


All times are GMT -5. The time now is 06:44 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration