All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] pipe.ko
@ 2008-07-14 12:33 Breno Carneiro Pinheiro
  2008-07-14 14:47 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Breno Carneiro Pinheiro @ 2008-07-14 12:33 UTC (permalink / raw)
  To: xenomai@xenomai.org

[-- Attachment #1: Type: text/plain, Size: 285 bytes --]

Hi, I got compiled the example pipe.c in your two parts (kernel and user
space). Trying to load the file pipe.ko I got returned:

sh-3.00# insmod pipe.ko
insmod: error inserting 'pipe.ko': -1 No such device

Am I missing something? Should I load another module before?

Thanks,

Breno

[-- Attachment #2: Type: text/html, Size: 326 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-help] pipe.ko
  2008-07-14 12:33 [Xenomai-help] pipe.ko Breno Carneiro Pinheiro
@ 2008-07-14 14:47 ` Philippe Gerum
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2008-07-14 14:47 UTC (permalink / raw)
  To: Breno Carneiro Pinheiro; +Cc: xenomai@xenomai.org

Breno Carneiro Pinheiro wrote:
> Hi, I got compiled the example pipe.c in your two parts (kernel and user
> space). Trying to load the file pipe.ko I got returned:
> 

The snippet in question is just a skeleton; what actual code are you compiling?

> sh-3.00# insmod pipe.ko
> insmod: error inserting 'pipe.ko': -1 No such device
> 
> Am I missing something? Should I load another module before?
> 

"No such device" == ENODEV. You need to find the reason why init_module()
returns ENODEV. Hint: rt_pipe_create() may return -ENODEV, the native API
documentation says why.

-- 
Philippe.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-14 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-14 12:33 [Xenomai-help] pipe.ko Breno Carneiro Pinheiro
2008-07-14 14:47 ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.