osst driver update 0.8.5->0.8.6.1

2000-12-21 Thread Kurt Garloff

Hi Alan,

thanks for merging the osst driver (a driver which support the OnStream
SC-x0, DI-x0 and USB30 tape drives) into the 2.2.19pre1 kernel.

I'd like to ask you to apply the attached patch on top of it, upgrading
the driver version from 0.8.5 to 0.8.6.1.
Changes:
* README.osst does not talk about compilation with supplied Makefiles 
  outside the kernel any more.
* Handle another corner case when recovering read errors.
* Try to graciously handle partial overwrites:
  - Warn when overwriting with an old Write Pass Counter
  - Update filemark counts etc.
* Prevent filemark list corruption by preventing to fsf past EOD.
* Error handling fixes for the polling mode (used on IDE).

Patch is against 2.2.19pre2.
Please apply!

Regards,
-- 
Kurt Garloff  <[EMAIL PROTECTED]>  Eindhoven, NL
GPG key: See mail header, key servers Linux kernel development
SuSE GmbH, Nuernberg, FRG   SCSI, Security


diff -uNr linux-2.2.19-pre2/drivers/scsi/README.osst 
linux-2.2.19p2.osst/drivers/scsi/README.osst
--- linux-2.2.19-pre2/drivers/scsi/README.osst  Fri Dec 22 01:04:29 2000
+++ linux-2.2.19p2.osst/drivers/scsi/README.osstThu Dec 21 23:59:41 2000
@@ -1,6 +1,6 @@
 README file for the osst driver
 ===
-(w) Kurt Garloff <[EMAIL PROTECTED]> 10/2000
+(w) Kurt Garloff <[EMAIL PROTECTED]> 11/2000
 
 This file describes the osst driver as of version 0.8.x/0.9.x, the released
 version of the osst driver.
@@ -34,8 +34,8 @@
 are character devices with major no 206 and minor numbers like the /dev/stX
 devices. If those are not present, you may create them by calling
 Makedevs.sh as root (see below).
-The driver started beig a copy of st and as such, the osst devices'
-behaviour looks very much the same as st to the userspace applications.
+The driver started being a copy of st and as such, the osst devices'
+behavior looks very much the same as st to the userspace applications.
 
 
 History
@@ -50,57 +50,9 @@
 
 Installation
 
-There is an easy and a correct approach to install the osst driver
-(a) Without patching your kernel
-(b) Full integration into your kernel
-(c) The mainstream kernel does already include the osst driver
-
-While it is still possible to use possibility (a), i.e. to compile the osst
-driver as a module without patching your kernel, this is not recommended, as
-you then have only very limited possibility to take advantage of the possible
-coexistence of st and osst. This possibility will be removed later.
-Anyway here is a description of how installation works.
-
-Make sure you have a configured 2.2.1x Linux kernel in /usr/src/linux by
-installing the approriate packages from your distro or by fetching the 
-source tarball from ftp.kernel.org or mirror and unpacking it in /usr/src/
-If your kernel is not yet configure, get a reasonable config file by doing
-cd /usr/src/linux
-make oldconfig # You may use make menuconfig if starting
-   # from scratch
-make dep
-
-(a) Without patching your kernel
-
-cd /path/to/onstream/driver/   # REPLACE THIS WITH THE REAL PATH
-make
-make install
-
-That's all. You will get a couple of warnings on compilation, which you may
-ignore. The osst.o module is now in your module directory ready for loading
-and the device nodes have been created.
-
-(b) Full integration into the kernel. You need to have a reasonable kernel
-config, otherwise you may be unable to use your system, as the produced
-kernel may not support your hardware! IF YOU NEVER COMPILED YOUR OWN
-KERNEL BEFORE, DON'T PROCEED, UNLESS YOU SUCEEDED USING YOUR SELF-
-COMPILED KERNELS.
-
-cd /usr/src/linux
-patch -p1 < /path/to/onstream/driver/osst-2X.diff  # USE REAL PATH! X = 2,3,4
-cp -p /path/to/onstream/driver/osst.? drivers/scsi/# Install drv srcs
-cp -p /path/to/onstream/driver/osst_options.h drivers/scsi/
-
-(b) and (c)
-
-make oldconfig # or menuconfig / xconfig if you prefer
-   # enable the OSST driver!
-make dep
-make bzlilo# to recopmile your kernel and have it
-   # installed
-make modules   # to compile the kernel modules
-make modules_install   # to install your modules
-depmod -a  # append kernel version if necessary
+osst got integrated into the linux kernel. Select it during kernel
+configuration as module or compile statically into the kernel.
+Compile your kernel and install the modules.
 
 Now, your osst driver is inside the kernel or available as a module,
 depending on your choice during kernel config. You may still need to create
@@ -113,7 +65,7 @@
 recognized.
 
 If you want to have the module autoloaded on access to /dev/osst, you may
-add somethind like
+add something like
 alias char-major-206 osst
 to your /etc/modules.conf (old name: conf.modules).
 
@@ -122,6 +74,9 @@
 to make 

osst driver update 0.8.5-0.8.6.1

2000-12-21 Thread Kurt Garloff

Hi Alan,

thanks for merging the osst driver (a driver which support the OnStream
SC-x0, DI-x0 and USB30 tape drives) into the 2.2.19pre1 kernel.

I'd like to ask you to apply the attached patch on top of it, upgrading
the driver version from 0.8.5 to 0.8.6.1.
Changes:
* README.osst does not talk about compilation with supplied Makefiles 
  outside the kernel any more.
* Handle another corner case when recovering read errors.
* Try to graciously handle partial overwrites:
  - Warn when overwriting with an old Write Pass Counter
  - Update filemark counts etc.
* Prevent filemark list corruption by preventing to fsf past EOD.
* Error handling fixes for the polling mode (used on IDE).

Patch is against 2.2.19pre2.
Please apply!

Regards,
-- 
Kurt Garloff  [EMAIL PROTECTED]  Eindhoven, NL
GPG key: See mail header, key servers Linux kernel development
SuSE GmbH, Nuernberg, FRG   SCSI, Security


diff -uNr linux-2.2.19-pre2/drivers/scsi/README.osst 
linux-2.2.19p2.osst/drivers/scsi/README.osst
--- linux-2.2.19-pre2/drivers/scsi/README.osst  Fri Dec 22 01:04:29 2000
+++ linux-2.2.19p2.osst/drivers/scsi/README.osstThu Dec 21 23:59:41 2000
@@ -1,6 +1,6 @@
 README file for the osst driver
 ===
-(w) Kurt Garloff [EMAIL PROTECTED] 10/2000
+(w) Kurt Garloff [EMAIL PROTECTED] 11/2000
 
 This file describes the osst driver as of version 0.8.x/0.9.x, the released
 version of the osst driver.
@@ -34,8 +34,8 @@
 are character devices with major no 206 and minor numbers like the /dev/stX
 devices. If those are not present, you may create them by calling
 Makedevs.sh as root (see below).
-The driver started beig a copy of st and as such, the osst devices'
-behaviour looks very much the same as st to the userspace applications.
+The driver started being a copy of st and as such, the osst devices'
+behavior looks very much the same as st to the userspace applications.
 
 
 History
@@ -50,57 +50,9 @@
 
 Installation
 
-There is an easy and a correct approach to install the osst driver
-(a) Without patching your kernel
-(b) Full integration into your kernel
-(c) The mainstream kernel does already include the osst driver
-
-While it is still possible to use possibility (a), i.e. to compile the osst
-driver as a module without patching your kernel, this is not recommended, as
-you then have only very limited possibility to take advantage of the possible
-coexistence of st and osst. This possibility will be removed later.
-Anyway here is a description of how installation works.
-
-Make sure you have a configured 2.2.1x Linux kernel in /usr/src/linux by
-installing the approriate packages from your distro or by fetching the 
-source tarball from ftp.kernel.org or mirror and unpacking it in /usr/src/
-If your kernel is not yet configure, get a reasonable config file by doing
-cd /usr/src/linux
-make oldconfig # You may use make menuconfig if starting
-   # from scratch
-make dep
-
-(a) Without patching your kernel
-
-cd /path/to/onstream/driver/   # REPLACE THIS WITH THE REAL PATH
-make
-make install
-
-That's all. You will get a couple of warnings on compilation, which you may
-ignore. The osst.o module is now in your module directory ready for loading
-and the device nodes have been created.
-
-(b) Full integration into the kernel. You need to have a reasonable kernel
-config, otherwise you may be unable to use your system, as the produced
-kernel may not support your hardware! IF YOU NEVER COMPILED YOUR OWN
-KERNEL BEFORE, DON'T PROCEED, UNLESS YOU SUCEEDED USING YOUR SELF-
-COMPILED KERNELS.
-
-cd /usr/src/linux
-patch -p1  /path/to/onstream/driver/osst-2X.diff  # USE REAL PATH! X = 2,3,4
-cp -p /path/to/onstream/driver/osst.? drivers/scsi/# Install drv srcs
-cp -p /path/to/onstream/driver/osst_options.h drivers/scsi/
-
-(b) and (c)
-
-make oldconfig # or menuconfig / xconfig if you prefer
-   # enable the OSST driver!
-make dep
-make bzlilo# to recopmile your kernel and have it
-   # installed
-make modules   # to compile the kernel modules
-make modules_install   # to install your modules
-depmod -a  # append kernel version if necessary
+osst got integrated into the linux kernel. Select it during kernel
+configuration as module or compile statically into the kernel.
+Compile your kernel and install the modules.
 
 Now, your osst driver is inside the kernel or available as a module,
 depending on your choice during kernel config. You may still need to create
@@ -113,7 +65,7 @@
 recognized.
 
 If you want to have the module autoloaded on access to /dev/osst, you may
-add somethind like
+add something like
 alias char-major-206 osst
 to your /etc/modules.conf (old name: conf.modules).
 
@@ -122,6 +74,9 @@
 to make programs