UDEV and Raw devices
Hi!
I need some help: I nead to use raw devices (/dev/raw/raw*) with kernel 2.6 series... with devfs I have no ploblem, but now... I can't create /dev/raw I have installed a slackware 10. Thanks for your help!!!! |
Logically it is supported without any change if I read correctly :
KERNEL="raw[0-9]*", NAME="raw/%k" in /etc/udev/rules.d/udev.rules |
yes, I've seen that... but the special devices aren't created.
The only one is /dev/rawctl :scratch: |
Have hotplug enabled ?
What is your output for : cat /usr/src/linux/.config | grep -i raw [edit] from kernel config help, I see CONFIG_RAW_DRIVER is marked as obsolete : The raw driver permits block devices to be bound to /dev/raw/rawN. Once bound, I/O against /dev/raw/rawN uses efficient zero-copy I/O. See the raw(8) manpage for more details. The raw driver is deprecated and may be removed from 2.7 kernels. Applications should simply open the device (eg /dev/hda1) x with the O_DIRECT flag. |
out pu is:
CONFIG_IEEE1394_RAWIO=m # CONFIG_IP_NF_RAW is not set CONFIG_RAW_DRIVER=y CONFIG_MAX_RAW_DEVS=256 CONFIG_SND_RAWMIDI=m rc.hotplug is enabled... The use of this dev is obsolete: now, to communicate direct to disk, it can be used O_DIRECT directive. But this directive must be included into source code (with open()) and I can't modify it... |
- Have you a /sys directory ?
- I presume your rc.udev is executable... At least, I would attempt to recompile kernel with CONFIG_RAW_DRIVER as module, don't know if that will help though. |
Sure... sysfs is mounted and rc.udev is started at boot...
I'll try to ricompile with raw dev as module.... I think there's some misconfiguration in udev... baut I don't know how to solve this problem... Thx for your help! |
All times are GMT -5. The time now is 12:16 AM. |