rawio
[Top] [All Lists]

raw i/o using 2.2.14 kernel

To: Scott Lurndal <slurn@xxxxxxxxxxx>
Subject: raw i/o using 2.2.14 kernel
From: Mary_Ann_DelBusso@xxxxxxxxxxxx
Date: Thu, 29 Jun 2000 10:24:25 -0400 (EDT)
Cc: rawio@xxxxxxxxxxx
In-reply-to: <200006271659.JAA22882@pendragon.eng.nanobiz.com>
References: <200006271659.JAA22882@pendragon.eng.nanobiz.com>
Sender: owner-rawio@xxxxxxxxxxx
Hi Scott,

Sorry to bug you again, but I have one more question...

I had previously gotten raw i/o to work on redhat 6.2
and turbolinux 6.0.4 with the 2.2.13 kernel both with
Stephan's rawio patch and SGI's enhancements.  Now I'm trying
to use the 2.2.14 kernel on turbolinux and am stuck at:

Linux scooby 2.2.14-5smp #1 SMP Fri Mar 31 12:42:09 PST 2000 i686 unknown
[root@scooby mad]# mknod /dev/rsdb1 c 8 17
[root@scooby log]# ls -l /dev/sdb1 /dev/rsdb1
crw-r--r--   1 root     root       8,  17 Jun 29 08:48 /dev/rsdb1
brw-rw----   1 root     disk       8,  17 May  5  1998 /dev/sdb1
[root@scooby mad]# ./dd.raw if=gsk4bas-4.0-3.43.i386.rpm of=/dev/rsdc1 bs=512
./dd.raw: /dev/rsdc1: No such device

Should the 2.2.14 kernel work without the patch/enhancements?

end of strace:
open("/dev/rsdb1", O_RDWR|O_CREAT|O_TRUNC, 0666) = -1 ENOSYS (Function not 
implemented)
open("/dev/rsdb1", O_RDWR|O_CREAT|O_TRUNC, 0666) = -1 ENOSYS (Function not 
implemented)
open("/dev/rsdb1", O_RDWR|O_CREAT|O_TRUNC, 0666) = -1 ENODEV (No such device)
write(2, "./dd.raw: ", 10)              = 10
write(2, "/dev/rsdb1", 10)              = 10
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No 
such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such 
file or directory)
write(2, ": No such device", 16)        = 16
write(2, "\n", 1)                       = 1
_exit(1)                                = ?

Thanks for all your help,
Mary Ann

<Prev in Thread] Current Thread [Next in Thread>