Josue de Freitas wrote:
> Hi people,
>
> I'm trying to build the scull module example from Chapter 3 of Linux
> Device Drivers book and it's not working. I create a /dev/scull0 (with
> fixed major number, which is also configured on the module source) but
> when I stand up the module and try something like "dd if=/dev/zero
> of=/dev/scull0" it gives a message "dd: /dev/scull0: No such device". 
> According to the book a "cat /proc/devices" should show the scull
> device when the module is up but nothing about scull is there, nothing
> changes on /proc/devices with or without the module loaded.
>
> So the main question is: dynamic module loading works perfectly on a
> read-only filesystem on uClinux ?
>
>
> If this is not the best place to this kind of question, please tell me
> where I can send this doubt. ;)
>
>
> Thanks in advance, Josue.
> ------------------------------------------------------------------------
>
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected]
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
Hi Josue,

I ran into the same problem with modules not working.  The following
post from *Harald Küthe solved the issue for me:

* http://mailman.uclinux.org/pipermail/uclinux-dev/2005-August/034432.html

Also regarding the read-only filesystem what we do is just create our
dynamic device nodes in /tmp/ which is writable. 

Thanks,
Lance
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to