> I red RedBook, but, at least, in my case, it doesn't work.
> May be they try to use tapes only with DEVFS?

Maybe try the following patch to assign it to some other major
number:

--- linux/drivers/s390/char/tapechar.h.nodevfs  Thu Aug 16 17:20:15 2001
+++ linux/drivers/s390/char/tapechar.h  Thu Aug 16 17:21:55 2001
@@ -17,7 +17,8 @@
 #define TAPECHAR_H
 #include <linux/config.h>
 #define TAPECHAR_DEFAULTMODE 0020644
-#define  TAPE_MAJOR                    0        /* get dynamic major since no major 
officialy defined for tape */
+/* #define  TAPE_MAJOR                    0         get dynamic major since no
major officialy defined for tape */
+#define TAPE_MAJOR 37 /* Umm... we need to create device nodes in /dev... */
 /*
  * Prototypes for tape_fops
  */


cu,

Florian La Roche

>
>
> >#mknod /dev/rtibm0 c 254 0 (first rewinding character device)
> >#mknod /dev/ntibm0 c 254 0 (first non-rewinding character device)
> >#mknod /dev/btibm0 b 254 0 (first block device)
> >#mknod /dev/rtibm1 c 254 1 (second rewinding character device)
> >#mknod /dev/ntibm1 c 254 1 (second non-rewinding character device)
> >#mknod /dev/btibm1 b 254 1 (second block device)
> >
> >How that corresponds to Sergey's success using ntibm1, I don't know.  But,
> >it may be worth a try.

Reply via email to