Package: udev
Version: 0.065-1
Severity: normal

I have had udev installed (because hal depends on it) for several
months, and just encountered a problem which has me perplexed.  I don't
know much about udev, so I'm not sure whether my system is in an invalid
state or how it might have gotten that way, so I'll just explain what I
observe.

I am running Debian kernel 2.6.11-1-686.  I have udevd running, however
my /dev directory is a normal disk filesystem and appears to be a
traditional /dev (with hundreds of device files).  There is no tmpfs
mount for devfs.  I recently had a problem with my sound driver
(snd_intel8x0) which I tried to fix by removing it with rmmod and
reinstalling with modprobe.  After I did this, I found that alsaplayer
would play sounds but firefox would not.  It seems to be because firefox
was looking for pre-alsa, OSS devices.  I checked my /dev directory and
found:

    % ls -l dsp*
    c---------  1 root root  14,  3 2005-06-14 19:47 dsp0
    crw-rw----  1 root audio 14, 19 2005-06-14 19:47 dsp1
    crw-rw----  1 root audio 14, 35 2005-06-14 19:47 dsp2
    crw-rw----  1 root audio 14, 51 2005-06-14 19:47 dsp3

This didn't look right, so I changed the mode and owner of dsp0 to match
the others, and added a dsp -> dsp0 symlink (and did similar for mixer,
audio, and adsp).  Now firefox worked.

I still wanted to understand what had caused the breakage, so I removed
snd_intel8x0, and things went back to the above.  I reinstalled
snd_intel8x0 once again, and sure enough, the devices hadn't changed.

So the situation seems to be that udevd is deleting devices when the
module is unloaded, and not creating them when it is loaded.  But I
suspect the real problem may be that udevd is running, but I don't have
a udev-created /dev.  Since I've rebooted since installing udev, and
haven't fiddled with udev configuration, I don't know how I've gotten
into this situation.

Let me know if I can give you more information.

Andrew

-- Package-specific info:
-- /etc/udev/rules.d/:
/etc/udev/rules.d/:
total 0
lrwxrwxrwx  1 root root 20 2005-04-12 19:01 020_permissions.rules -> 
../permissions.rules
lrwxrwxrwx  1 root root 12 2005-08-04 17:35 050_hal-plugdev.rules -> 
../hal.rules
lrwxrwxrwx  1 root root 19 2005-04-12 19:01 cd-aliases.rules -> 
../cd-aliases.rules
lrwxrwxrwx  1 root root 13 2005-04-12 19:01 udev.rules -> ../udev.rules
lrwxrwxrwx  1 root root 12 2005-07-04 14:33 z50_run.rules -> ../run.rules
lrwxrwxrwx  1 root root 19 2005-08-03 11:05 z60_alsa-utils.rules -> 
../alsa-utils.rules
lrwxrwxrwx  1 root root 17 2005-07-04 14:33 z70_hotplugd.rules -> 
../hotplugd.rules

-- /sys/:
/sys/block/fd0/dev
/sys/block/hda/dev
/sys/block/hda/hda1/dev
/sys/block/hda/hda2/dev
/sys/block/hda/hda3/dev
/sys/block/hda/hda4/dev
/sys/block/hda/hda5/dev
/sys/block/hdc/dev
/sys/block/loop0/dev
/sys/block/loop1/dev
/sys/block/loop2/dev
/sys/block/loop3/dev
/sys/block/loop4/dev
/sys/block/loop5/dev
/sys/block/loop6/dev
/sys/block/loop7/dev
/sys/block/ram0/dev
/sys/block/ram1/dev
/sys/block/ram10/dev
/sys/block/ram11/dev
/sys/block/ram12/dev
/sys/block/ram13/dev
/sys/block/ram14/dev
/sys/block/ram15/dev
/sys/block/ram2/dev
/sys/block/ram3/dev
/sys/block/ram4/dev
/sys/block/ram5/dev
/sys/block/ram6/dev
/sys/block/ram7/dev
/sys/block/ram8/dev
/sys/block/ram9/dev
/sys/class/coda/cfs0/dev
/sys/class/coda/cfs1/dev
/sys/class/coda/cfs2/dev
/sys/class/coda/cfs3/dev
/sys/class/coda/cfs4/dev
/sys/class/input/event0/dev
/sys/class/input/event1/dev
/sys/class/input/event2/dev
/sys/class/input/event3/dev
/sys/class/input/mice/dev
/sys/class/input/mouse0/dev
/sys/class/input/mouse1/dev
/sys/class/input/ts0/dev
/sys/class/input/ts1/dev
/sys/class/misc/agpgart/dev
/sys/class/misc/hpet/dev
/sys/class/misc/hw_random/dev
/sys/class/misc/psaux/dev
/sys/class/misc/rtc/dev
/sys/class/misc/vmmon/dev
/sys/class/printer/lp0/dev
/sys/class/sound/timer/dev

-- Kernel configuration:
 isapnp_init not present.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (800, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages udev depends on:
ii  hotplug                  0.0.20040329-25 Linux Hotplug Scripts
ii  initscripts              2.86.ds1-1      Standard scripts needed for bootin
ii  libc6                    2.3.5-3         GNU C Library: Shared libraries an
ii  libselinux1              1.24-2          SELinux shared libraries
ii  lsb-base                 3.0-1           Linux Standard Base 2.0 init scrip
ii  makedev                  2.3.1-78        creates device files in /dev
ii  sed                      4.1.4-2         The GNU sed stream editor

udev recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to