From: jdoss@jmd386.lonestar.org (Joe M. Doss)
Subject: Re: problem with ST-01 + Fujitsu HDD
Organization: JD's home system
Date: Sun, 20 Dec 1992 21:36:29 GMT
Distribution: comp

In article <SHIROIWA.92Dec17182328@figaro.mm.t.u-tokyo.ac.jp> shiroiwa@mm.t.u-tokyo.ac.jp (ken shiroiwa) writes:
>Hello everyone.
> I have a problem with SCSI HD. I want to use Seagate ST-01 + Fujitsu M2613S
>SCSI HD 132Mbytes drive on Linux. When I use DOS, they work very well.
> I formated this HD drive 512 bytes/sector and interleave 1 using Silverlining
>on Apple Machintosh. Of course, I changed jumper to IRQ5 on ST-01. SCSI id of
>this HD is 0.
> For using on Linux, I partioned this disk by pfdisk.exe. And in Linux I tried
> to mkfs -c /dev/sda2 9200 (/dev/sda1 is for DOS). But system (or kernel?) tell
>me that just like follows:
>
>SCSI disk error : host 2 id 0 lun 0 return code = 10000000
>oSense class 7, sense error 0, extended sense 5
>scsidisk I/O error
>dev 0802, sector 9736
>
>(Sector number changes each time.)

I had the same thing happening yesterday when I _tried_ to follow the
instructions from Drew Eckhardt for reducing a DOS partition size without
backup/reformat/restore.  This is with a Seagate ST01 attached to a
Quantum 80S drive.  I had been running for a while with a 65 meg DOS
partition on this drive, and a 15 meg Linux partition.  I used Norton
Utilities partition editor option to change partition sizes to 55 meg & 25 meg,
then changed the number of sectors in the DOS boot sector.

DOS was perfectly happy with the smaller partition, and a mkfs 25353 worked,
but when I started filling the Linux partition with files, I got a lot of the
above messages, as soon as 15 meg was put on the drive.  It also gave me
kernel panics with some message about swapping every time I tried to read
any of the files that went past the 15  meg mark.

It turned out that Linux fdisk showed two different values for the
"Begin" and "Start" columns of the partition table.  The "Begin" value was
what I had put in with Norton Utilities (25 megs before the end of the disk),
but the "Start" value was still 15 megs before the end.  I solved this by 
using Linux fdisk to delete partitiion 2, then re-add it.  Now both "Begin"
and "Start" have the same cylinder number, and after re-booting I was
able to mkfs, and fill all 25 megs on the partition.

>
> But I can mount this disk. And when I use this disk for example /usr2
>and access to this disk, kernel complains me
>
>"Kernel panic: unsupported message byte recieved."
>
>Is this problem because of HardWare?
> My machine is HeadLand chipset 386SX-16MHz, 2MB RAM, 1P 2S 1G IDE FDD card,
>3.5 A:, 5.25 B:, 20MB IDE Fuji Electric C:, 101key, ET4000AX SVGA,
>and Seagate ST-01 + Fujitsu M2613S.
> 20MB IDE has partions 8MB for DOS and 4MB*3 for Linux.
> Fujitsu SCSI HD has partions 60MB for DOS (D:) and 36MB*2 for Linux.
> My Linux is LILO version 0.98.patch5.
> Next, I tried "fdisk /dev/sda2" on Linux to make partions,
> but the result is the same.

You should use "fdisk /dev/sda" for the partition table. /dev/sda2 is just
the bad partition.

> I'm sure that IRQs don't conflict.
> I am very sad.
>
>-----------------------------------------------------------------------------
>My name is Takeshi Shiroiwa. I am a master course student in second grade of
>University of Tokyo. I belong to faculty of engneering department of material
>and metallugy.
>e-mail address : shiroiwa@figaro.mm.t.u-tokyo.ac.jp
>-----------------------------------------------------------------------------
-- 
---------------------------------------------------------------------------
|     Joe M. Doss, Jr.                     (standard disclaimer applies)  |
|  jdoss@jmd386.lonestar.org                  <insert cute quote here>    |
---------------------------------------------------------------------------
Newsgroups: comp.os.linux
Subject: Re: A discipline for packages