LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-19-2005, 01:20 PM   #1
don_pingu
Member
 
Registered: May 2003
Distribution: slackware-current
Posts: 34

Rep: Reputation: 15
udevd not running


Hi all

I'm having some udev problems on slackware-current (udev-062, kernel 2.6.12.3).

The udev daemon udevd seems to be not running... I don't know if this is normal or not. When i plug in usb devices hotplug recognises them correctly but udev doesn't do anything (such as creating the devices). I assume because it is not running.

Strangely enough /etc/rc.d/rc.udev does not seem to start udevd, it only runs udevstart.

When i manually run udevstart after plugging something in, it works fine. (so the udev rules are fine)

When i manually start udevd (simply udevd&) a lot of stuff breaks including my virtual consoles i think (all terminal emulators including Konsole won't work anymore).

Any help greatly appreciated (trying to get my Palm sync to work, it already works with the manual udevstart execution after hitting the hotsync button).

PS: Anyone know of a way to get KPilot or some equivalent app to store the downloaded data encrypted? I keep my passwords on my Palm and there's little point in having an encrypted KWallet when they're in clear-text on the disk too.
 
Old 07-19-2005, 01:22 PM   #2
Namaseit
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 325

Rep: Reputation: 30
what does dmesg say?
 
Old 07-19-2005, 01:45 PM   #3
don_pingu
Member
 
Registered: May 2003
Distribution: slackware-current
Posts: 34

Original Poster
Rep: Reputation: 15
To what exactly?

If, for example, I insert my external usb harddisk:

usb 1-2: new high speed USB device using ehci_hcd and address 2
ub(1.2): GetMaxLUN returned 0, using 1 LUNs
uba: uba1

and that's it. The device /dev/uba is never created. (unless i manually run udevstart again)

udev doesn't seem to make any noise in /var/log/messages during boot (a grep udev came out empty).
 
Old 07-19-2005, 01:50 PM   #4
Namaseit
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 325

Rep: Reputation: 30
An external usb HDD would usually show up as /dev/sd*

You might have forgotten to compile the right option with your kernel.

device drivers -> USB support -> Freecom USB/ATAPI Bridge support

and

device drivers -> USB support -> SanDisk SDDR-09 (and other SmartMedia) support
 
Old 07-19-2005, 02:16 PM   #5
don_pingu
Member
 
Registered: May 2003
Distribution: slackware-current
Posts: 34

Original Poster
Rep: Reputation: 15
While it is true that I don't have any explanation for the change of usb storage device names (from sd* to ub*), some time ago, it still works fine and so it's not a problem. The problem is the devices not being created automatically on plug-in.
 
Old 07-19-2005, 02:18 PM   #6
don_pingu
Member
 
Registered: May 2003
Distribution: slackware-current
Posts: 34

Original Poster
Rep: Reputation: 15
It may already be useful if someone using a correctly working Slackware with udev could tell me if udevd is running, and what file starts it at boot-up (rc.udev?) and any config changes they had to make. (or working udev.rules file)
 
Old 07-19-2005, 02:19 PM   #7
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
isn't this your prob. ?

http://www.linuxquestions.org/questi...hreadid=343394

egag
 
Old 07-19-2005, 02:41 PM   #8
don_pingu
Member
 
Registered: May 2003
Distribution: slackware-current
Posts: 34

Original Poster
Rep: Reputation: 15
I didn't have any specific alsa problems, but tried going back to udev-50 (the one from 10.1) and.. it worked!

udevd is running after boot and all devices are created automatically.

/me adds exclude rule for udev to swaret.conf

Still wonder what the problem with the new version is though.
 
Old 07-19-2005, 03:04 PM   #9
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
i guess if the latest udev gives prob.'s with alsa, it's no suprise that other prob.'s might come out.
and if you wonder what's the prob exactly, don't give it to much time.
they'll probably change udev again before you find a workaround.
( in fact the newest is udev-063 )

egag
 
Old 07-19-2005, 04:03 PM   #10
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally posted by don_pingu
While it is true that I don't have any explanation for the change of usb storage device names (from sd* to ub*), some time ago, it still works fine and so it's not a problem. The problem is the devices not being created automatically on plug-in.
Look in your kernel config file and see if you see this:

# Block devices
#
CONFIG_BLK_DEV_UB=y

There'll be several other CONFIG_whatever's under #Block devices but according to what you've said so far I'd be willing to bet that CONFIG_BLK_DEV_UB is set to y or m. I'm not sure about the 2.6.12 kernel series but in the 2.6.11 series the help file for UB says that if you enable it you will cripple usb-storage. Having UB set to y or m is why your USB storage devices are being assigned ub* instead of sd*. You may want to look at the help file for UB and see if this problem still exists.

Here is the help file from my 2.6.11.5 kernel config:
Quote:
Low Performance USB Block driver (BLK_DEV_UB)

This driver supports certain USB attached storage devices
such as flash keys.

Warning: Enabling this cripples the usb-storage driver.

If unsure, say N.
Later,
MMYoung
 
  


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
udevd problem Krugger Suse/Novell 1 11-03-2005 09:32 AM
Running setup.exe, but another already running? erisco Linux - Software 2 08-08-2005 05:45 PM
Process running but not running LinuxRam Linux - Newbie 13 12-29-2004 10:45 AM
any linux distro can running in RAM , not need CD_ROM reading when running. wangcity Linux - General 3 09-18-2003 05:45 AM
running samba worked, running it out of xinetd doesn't? system Linux - Networking 1 12-24-2001 03:15 AM


All times are GMT -5. The time now is 04:28 AM.

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