Thanks
The full message was
open failed: No such device
The problem was that I hadn't done the insmod mbuff.o
After doing that the demo works.
Thanks again
David Miller
Tomasz Motylewski wrote:
>
> On Fri, 5 Nov 1999, David Miller wrote:
>
> > I,m new to rtlinux. Most of my experience is with vxWorks, PSOS, vrtx,
> > etc.
> > I have an app that I plan to do with rtlinux and ran accross mbuf-0.6.2.
> > untard the file into its own dir and ran make and make tests.
> > When I run demo I get two messages that says open failed. The mbuff
> > device
> > file did get created in my local dir.
> > Did a make clean and then make tests in the case that the first time
> > MBUFF_DEV_NAME pointed to /dev/mbuff instead of ./mbuff. Same result.
>
> OK, citing the manual:
>
> The /dev/mbuff should be created with "mknod /dev/mbuff c 10 254"
>
> If you compile with SHM_DEMO defined, you may create ./mbuff in the samy way
> in the mbuf-0.6.2 directory. This file should be there in the distribution -
> but is not. I may always say it was omitted because creating this device file
> has some security implications, so every user should create it consciously.
>
> Abother reason why it did not work could be no support for misc device driver
> in your kernel - do "cat /proc/devices" - you should see line like:
>
> 10 misc
>
> Also when you get messages "open failed", there should be a reason given -
> could you post the full message? Does the module load succesfully - you
> should see message from it in the output of "dmesg" command after
> "insmod mbuff.o"
>
> Please tell me if it works or you need more assistance.
>
> --
> Tomek
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/