LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   10.2 with 2.6 kernel still showing all devices on /dev (https://www.linuxquestions.org/questions/slackware-14/10-2-with-2-6-kernel-still-showing-all-devices-on-dev-366558/)

mirto 09-24-2005 10:33 AM

10.2 with 2.6 kernel still showing all devices on /dev
 
hi, I don't know if this is a stupid question, but when I was using slack 10.1 with a kernel 2.6.13 compiled by me the devices like sdx, hdx and mousex only exists on /dev dir when the device really exist. for exemple If I connect my usb pen #ls /dev/sd* shows it, if I disconnect #ls /dev/sd* is gonne.
What I don't know if the problem is with the new slack or if it is with some kernel oprion that I forgot.
One last question I hv a dane-elec pendrive with 1gb but the speed is very slow about 250KB/s, with a kingston with the same size the speed goes to 1000KB/s, and with my usb hd i got 5MB/s someone knows why my pen is so slow?

cathectic 09-24-2005 12:29 PM

Problem 1) Appearing and dissappearing /dev nodes.

Welcome the world of udev with 2.6 kernels, read the udev FAQ for more information: http://www.kernel.org/pub/linux/util...tplug/udev-FAQ

Suffice to say, this is perfectly normal behaviour, since with udev you now have a dynamic /dev - device nodes are added and removed if the device exists or not.

mirto 09-24-2005 02:59 PM

hi I gess that you don't understand my question very well (maybe because of my english), I'm not worried about the dynamic /dev I worried of doesn't have It! When I used slack 10.1 with 2.6 kernel the dynamic /dev exist and I really like but now that I upgrade to slack 10.2 and compile the 2.6 kernel the old /dev with a lot of devices still showing! what can be wrong?

cathectic 09-24-2005 03:11 PM

Is /etc/rc.d/rc.udev executable?

mirto 09-24-2005 03:27 PM

I'll see, now I'm without my notebook whitch is with 10.2 and the problem. I downloading here the 10.2 since my cds aren't working verry well. As soon as I hv it installed here and of having the same problem I post.
Thanks for your help I hope it solves my problem...

mirto 09-24-2005 08:07 PM

Hi, Thanks a lot. I installed in my desktop computer the slack 10.2 and it has the same problem but making the rc.udev executable solves my problem. Well do you know why this wasn't necessary on the slack 10.1?

cathectic 09-25-2005 05:15 AM

As far as I can see, /etc/rc.d/rc.udev is not exectuable by default in udev-064-i486-2.

If you upgraded from 10.1 and then replaced your old rc.udev with the new one, it would no longer be exectuable. Likewise, if you were installing 10.2 from scratch, rc.udev wouldn't be exectuable either.

Edit
Comparing with an old udev package I have lying around (udev-054-i486-3), rc.udev being non-exectuable by default seems to be a new thing.


All times are GMT -5. The time now is 09:52 AM.