Re: lis_check_ino: major=0 minor=0 is not STREAMS
"Brian F. G. Bidulock" <[email protected]>
| Newsgroups | gmane.linux.kernel.streams |
|---|---|
| Organization | http://www.openss7.org/ |
| Message-ID | <[email protected]> |
John, Gosh, can you be more cryptic? 231 is the clone device on 2.18 and I suppose 244 is your driver and I suppose you are pushing your module. Try man streamio(7) and you will see that I_PUSH only returns ENXIO when the stream is hung up or the pushed module or driver returns ENXIO to the qopen(9) procedure. So, if your stream is not hung up, it appears _you_ are returning ENXIO. But these are guesses: if you can't provide details, you figure it out. --brian On Fri, 01 Apr 2005, John Hodgkinson wrote: > > Can anyone help? > > Using LiS 2.18 on kernel 2.4.21-20.EL > > The above error appears in /var/log/messages and the > ioctl(fd, I_PUSH, module name) fails -1 with errno set to 6. > > The fd has an entry :- > > crw-rw-rw- 1 root root 231, 244 ..... > > > On face value it looks as though getmajor/getminor are not returning > the appropriate values. > > John -- Brian F. G. Bidulock ¦ The reasonable man adapts himself to the ¦ [email protected] ¦ world; the unreasonable one persists in ¦ http://www.openss7.org/ ¦ trying to adapt the world to himself. ¦ ¦ Therefore all progress depends on the ¦ ¦ unreasonable man. -- George Bernard Shaw ¦