Comment 26 for bug 19171

Revision history for this message
In , Joost Kooij (joost-213-84-68-67) wrote : more info on udev bug

Hi,

First of all, sorry for using telnet as a mail client. Alas, I'm a little
underorganised right now, so this is in ad hoc mode. I'll try to check the
bug log for any replies and necessary further info you might need.

I tried the "mkdir /dev/.udevdb" mod to /etc/init.d/udev and it did not help.
Some other things I tried, broke my system in many funny ways, but still
I could not find the source of the problem. I did find a stray file + dir
/etc/udev/permissions.d/udev.permissions . dpkg knew nothing about it.

Then I purged both udev and hotplug from my system and reinstalled.
This actually broke in the case of udev, report below.

I also tried booting an initrd kernel (2.6.13-rc3) and a straight kernel
(2.6.13-rc3-mm1) and it made no difference wrt the udev problem. It did
bring up another data point, though (fwiw): I changed one hd controller
driver to be modular, which caused a problem in /etc/init.d/checkfs.sh (hde1
device not found). That spawns an early root login, in which I restarted
udev, hoping that it would preempt the alsa/gpm/gdm errors later. Alas, that
does not work either. When later gdm has given up, udev restart still does
make the system completely functional again.

Here's a terminal dump of some of what I did:

thunderbird:/etc/udev# dpkg -S /etc/udev/permissions.d/
dpkg: /etc/udev/permissions.d/ not found.
thunderbird:/etc/udev# rm -r permissions.d/
thunderbird:/etc/udev# cd
thunderbird:~# apt-get install udev
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  udev: Depends: hotplug (>= 0.0.20040329-17)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
thunderbird:~# apt-get install udev hotplug
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
  ifrename
The following NEW packages will be installed:
  hotplug udev
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/351kB of archives.
After unpacking 1266kB of additional disk space will be used.
Selecting previously deselected package hotplug.
(Reading database ... 81643 files and directories currently installed.)
Unpacking hotplug (from .../hotplug_0.0.20040329-24_all.deb) ...
Selecting previously deselected package udev.
Unpacking udev (from .../archives/udev_0.062-4_i386.deb) ...
Setting up hotplug (0.0.20040329-24) ...

Setting up udev (0.062-4) ...
Populating the new /dev filesystem temporarily mounted on /tmp/udev.3vA3De/...
mount: special device /dev/pts/ does not exist
dpkg: error processing udev (--configure):
 subprocess post-installation script returned error exit status 32
Errors were encountered while processing:
 udev
E: Sub-process /usr/bin/dpkg returned an error code (1)
thunderbird:~# mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/hda6 on /usr type ext3 (rw)
/dev/hda7 on /var type ext3 (rw)
/dev/hda8 on /home type ext3 (rw)
/dev/hdd1 on /mnt type ext3 (rw)
usbfs on /proc/bus/usb type usbfs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
tmpfs on /dev/shm type tmpfs (rw)
thunderbird:~# ls -l /dev/pts
ls: /dev/pts: No such file or directory
thunderbird:~# dpkg -S /dev/pts
dpkg: /dev/pts not found.
thunderbird:~# mkdir /dev/pts
thunderbird:~# apt-get install udev hotplug
Reading package lists... Done
Building dependency tree... Done
udev is already the newest version.
hotplug is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up udev (0.062-4) ...
Populating the new /dev filesystem temporarily mounted on /tmp/udev.wmrJF6/...

thunderbird:~#

Cheers,

Joost

PS: I noticed that udev 0.64 is out..