Package: udev
Version: 0.050-6
Severity: normal

I am using udev on my Alphastation 500/500 with nobse's kernel 2.6.10.

Looking into df -h shows:
none                  5,0M  5,0M  0  100% /dev

and udev does not work anymore. The interesting thing is: if you create a
file in /dev and echo something in it - no error occurs. After that the file
is empty (bug in tmpfs?)

Looking through /dev/.udevdb which uses the whole space according to "du", I
see about 650 files with each about 20 to 40 bytes. On an Atlon box I have
the same .udevdb using a lot of fewer memory (about 1/8).

This is caused by the kernel page size on alpha machines which is 8192
Bytes, on athlon I think it is 1024 Bytes (correct? /proc/cpuinfo does not
show this). Each 20 Byte file so uses a page of 8192 Bytes *RAM* - not good.

I raised the maximum size in /etc/udev/udev.conf to 8 MB. Now df-h shows:
none                  8,0M  5,3M  2,8M  66% /dev
udev now works but about 4.5 MB of RAM are wasted in comparison to x86

There are 3 solutions:
* raise the default maximum size of /dev in the udev.conf to a higher level
(this eats up no ram if for example limit ist very much higher but safe) for
alpha machines and other high-pagesize-processors - 4.5 MB of RAM wasted
* move udevdb elsewhere - speed issues
* rewrite udev to save the udevdb in a large file (best solution) - but this
is not Debian's issue.

-- Package-specific info:
-- /etc/udev/rules.d/:
/etc/udev/rules.d/:
insgesamt 0
lrwxrwxrwx  1 root root 19 2005-01-07 18:54 cd-aliases.rules -> 
../cd-aliases.rules
lrwxrwxrwx  1 root root 13 2005-01-07 18:54 udev.rules -> ../udev.rules
lrwxrwxrwx  1 root root 12 2005-02-01 00:53 z_hal-plugdev.rules -> ../hal.rules

-- /sys/:
/sys/block/dm-0/dev
/sys/block/fd0/dev
/sys/block/ram0/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/ram1/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/block/sda/dev
/sys/block/sda/sda1/dev
/sys/block/sda/sda2/dev
/sys/block/sda/sda3/dev
/sys/block/sda/sda4/dev
/sys/block/sda/sda5/dev
/sys/block/sdb/dev
/sys/block/sdc/dev
/sys/block/sr0/dev
/sys/class/input/event0/dev
/sys/class/input/mice/dev
/sys/class/misc/device-mapper/dev
/sys/class/misc/psaux/dev
/sys/class/printer/lp0/dev
/sys/class/scsi_generic/sg0/dev
/sys/class/scsi_generic/sg1/dev
/sys/class/scsi_generic/sg2/dev
/sys/class/scsi_generic/sg3/dev

-- Kernel configuration:
 isapnp_init not present.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: alpha
Kernel: Linux 2.6.10-1-generic
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages udev depends on:
ii  hotplug                  0.0.20040329-16 Linux Hotplug Scripts
ii  initscripts              2.86.ds1-1      Standard scripts needed for bootin
ii  libc6.1                  2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  makedev                  2.3.1-75        Creates device files in /dev
ii  sed                      4.1.2-8         The GNU sed stream editor

-- no debconf information


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

Reply via email to