On Sun, 24 Jan 1999, Tobias Richter wrote:
> You ([EMAIL PROTECTED]) wrote:
> > I have a Fujitsu M2513A Magneto optical drive installed in my system,
> > based on an ASUS P2L97-S m/b.
> >
> > The drive uses 230 Mb and 640 Mb disks: the small disks have 512 byte
> > sectors, the larger disks have 2048 byte sectors.
> > Here's what I havem according to scripts/ver_linux:
>
> I have partly older versions, but do not experience any problems
> with that MO drive and controller.
>
> > I have booted with a 230 Mb disk in place: I've been using the drive
> > successfully for some time with these disks and 2.0 series kernels. I can
> > read/write these disks just find: indeed my 2.2.0-pre7 source tre is on
> > one.
>
> The 2.0 series do not support 2048 byte blocksizes, but newer kernels do.
> 2.2.0-pre7 should work.
Which is why I did't complain about the 2.0 kernels and tried
(unsuccessfully) several 2.1 kernels.
>
> > I have autofs configured to mount it at /misc/mo and this works fine too,
> > with 230 Mb disks.
> I didn't try that yet. Maybe autofs explictly requests the wrong
> blksize. You should try to mount it by 'hand'.
[root@possum incoming]# mount /mnt/mo
mount: can't find /mnt/mo in /etc/fstab or /etc/mtab
[root@possum incoming]# mount /dev/sda1 /mnt/mo
/dev/sda1: Input/output error
mount: you must specify the filesystem type
>
> > Device not ready. Make sure there is a disc in the drive.
> > (scsi0:0:0:0) Data overrun detected in Data-In phase, tag 14;
> > Have seen Data Phase. Length=1024, NumSGs=1.
> > sg[0] - Addr 0x1d36400 : Length 1024
Data overrun means there;s more data than requested (or it's arriving too
quickly). As the sectors are 2k....
>
> Last time I had these (almost exact) messages, the drive was _very_
> dirty. You could see the dust on the medium's surface. After cleaning
> the medium with a cloth (like you do with a CD) and the drive's lens
> with Fujitsu head cleaner it resumed normal operation.
Drive's fine with OS/2 (and I can change media types).
I get these at boot:
AIC-7880 Ultra SCSI host adapter> found at PCI 6/0
(scsi0) Wide Channel, SCSI ID=7, 16/255 SCBs
(scsi0) Downloading sequencer code... 419 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.10/3.2.4
<Adaptec AIC-7880 Ultra SCSI host adapter>
scsi : 1 host.
Vendor: FUJITSU Model: M2513A Rev: 1200
Type: Direct-Access ANSI SCSI revision: 01
Detected scsi removable disk sda at scsi0, channel 0, id 0, lun 0
(scsi0:0:0:0) Synchronous at 10.0 Mbyte/sec, offset 10.
scsi : detected 1 SCSI disk total.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 446325 [217 MB] [0.2 GB]
sda: Write Protect
so it's determined drive capacity based on the disk in it. This needs to br
redone at media change.
When I issued the mount command above, we went into this:
Device not ready. Make sure there is a disc in the drive.
(scsi0:0:0:0) Data overrun detected in Data-In phase, tag 14;
Have seen Data Phase. Length=1024, NumSGs=1.
sg[0] - Addr 0x3664c00 : Length 1024
(scsi0:0:0:0) Data overrun detected in Data-In phase, tag 14;
Have seen Data Phase. Length=1024, NumSGs=1.
sg[0] - Addr 0x3664c00 : Length 1024
scsi0 channel 0 : resetting for second half of retries.
SCSI bus is being reset for host 0 channel 0.
(scsi0:0:0:0) Synchronous at 10.0 Mbyte/sec, offset 10.
(scsi0:0:0:0) Data overrun detected in Data-In phase, tag 14;
Have seen Data Phase. Length=1024, NumSGs=1.
sg[0] - Addr 0x3664c00 : Length 1024
(scsi0:0:0:0) Data overrun detected in Data-In phase, tag 14;
Have seen Data Phase. Length=1024, NumSGs=1.
sg[0] - Addr 0x3664c00 : Length 1024
(scsi0:0:0:0) Data overrun detected in Data-In phase, tag 14;
Have seen Data Phase. Length=1024, NumSGs=1.
sg[0] - Addr 0x3664c00 : Length 1024
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 27070000
scsidisk I/O error: dev 08:01, sector 2
(scsi0:0:0:0) Data overrun detected in Data-In phase, tag 14;
Have seen Data Phase. Length=512, NumSGs=1.
sg[0] - Addr 0x3bec000 : Length 512
(scsi0:0:0:0) Data overrun detected in Data-In phase, tag 14;
Have seen Data Phase. Length=512, NumSGs=1.
sg[0] - Addr 0x3bec000 : Length 512
scsi0 channel 0 : resetting for second half of retries.
SCSI bus is being reset for host 0 channel 0.
(scsi0:0:0:0) Synchronous at 10.0 Mbyte/sec, offset 10.
(scsi0:0:0:0) Data overrun detected in Data-In phase, tag 14;
Have seen Data Phase. Length=512, NumSGs=1.
sg[0] - Addr 0x3bec000 : Length 512
(scsi0:0:0:0) Data overrun detected in Data-In phase, tag 14;
Have seen Data Phase. Length=512, NumSGs=1.
sg[0] - Addr 0x3bec000 : Length 512
(scsi0:0:0:0) Data overrun detected in Data-In phase, tag 14;
Have seen Data Phase. Length=512, NumSGs=1.
sg[0] - Addr 0x3bec000 : Length 512
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 27070000
scsidisk I/O error: dev 08:01, sector 0
HPFS: map_sector: read error
(scsi0:0:0:0) Data overrun detected in Data-In phase, tag 14;
Have seen Data Phase. Length=512, NumSGs=1.
sg[0] - Addr 0x3bec000 : Length 512
(scsi0:0:0:0) Data overrun detected in Data-In phase, tag 14;
Have seen Data Phase. Length=512, NumSGs=1.
sg[0] - Addr 0x3bec000 : Length 512
scsi0 channel 0 : resetting for second half of retries.
SCSI bus is being reset for host 0 channel 0.
(scsi0:0:0:0) Synchronous at 10.0 Mbyte/sec, offset 10.
(scsi0:0:0:0) Data overrun detected in Data-In phase, tag 14;
Have seen Data Phase. Length=512, NumSGs=1.
sg[0] - Addr 0x3bec000 : Length 512
(scsi0:0:0:0) Data overrun detected in Data-In phase, tag 14;
Have seen Data Phase. Length=512, NumSGs=1.
sg[0] - Addr 0x3bec000 : Length 512
(scsi0:0:0:0) Data overrun detected in Data-In phase, tag 14;
Have seen Data Phase. Length=512, NumSGs=1.
sg[0] - Addr 0x3bec000 : Length 512
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 27070000
scsidisk I/O error: dev 08:01, sector 0
Reading super block failed
So it seems to have checked 1k sectors and .5k sectors. Not 2k.
--
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]