Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 1999 15:54:01 -0700 (MST)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        arnaud@DotCom.FR (Arnaud KOPP)
Cc:        scsi@FreeBSD.ORG
Subject:   Re: [3.1-RELEASE] Fujitsu M2513A 640MB MO ?
Message-ID:  <199902252254.PAA47903@panzer.plutotech.com>
In-Reply-To: <199902251131.LAA00804@excalibur.oceanis.net> from Arnaud KOPP at "Feb 25, 1999 12:31:58 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Arnaud KOPP wrote...
> I'm trying to correctly use my FUJITSU M2513A MO drive with FreeBSD
> and get some SCSI errors when trying to unmount my tape :
> 
> 
> # umount /mnt 
> 
> (da1:ahc0:0:4:0): SCB 0x2 - timed out in command phase, SEQADDR == 0x154
> (da1:ahc0:0:4:0): BDR message in message buffer
> (da1:ahc0:0:4:0): SCB 0x2 - timed out in command phase, SEQADDR == 0x154
> (da1:ahc0:0:4:0): no longer in timeout, status = 34b
> ahc0: Issued Channel A Bus Reset. 1 SCBs aborted


The 'timed out in command phase' error indicates that you may have a
cabling or termination problem.

> da1 at ahc0 bus 0 target 4 lun 0
> da1: <FUJITSU M2513A 1300> Removable Direct Access SCSI-2 device 
> da1: 10.0MB/s transfers (10.0MHz, offset 10)
> da1: 606MB (310352 2048 byte sectors: 64H 32S/T 151C)
> da0 at ahc0 bus 0 target 0 lun 0
> da0: <IBM DDRS-34560D DC1B> Fixed Direct Access SCSI-2 device 
> da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled
> da0: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C)
> 
> 
> 
> My disktab says :
> 
> 
> MO640|Fujitsu 2513A MO drive 640 Mb:\
>         :dt=SCSI:ty=removable:\
>         :nc#19397:ns#16:nt#1:\
>         :se#2048:rm#3600:\
>         :pa#310352:oa#0:ta=4.2BSD:ba#4096:fa#2048:\
>         :pc#310352:oc#0:\
>         :pd#310352:od#0:
> 
> 
> # disklabel -w -r od1 MO640
> # newfs -m 0 -o space -i 12288 -u 16 -t 1 -c 413 /dev/rod1a
> /dev/rod1a:     1241408 sectors in 19397 cylinders of 1 tracks, 64 sectors
>         606.2MB in 47 cyl groups (413 c/g, 12.91MB/g, 1088 i/g)
> super-block backups (for fsck -b #) at:
>  32, 26464, 52896, 79328, 105760, 132192, 158624, 185056, 211488, 237920,
>  264352, 290784, 317216, 343648, 370080, 396512, 422944, 449376, 475808,
>  502240, 528672, 555104, 581536, 607968, 634400, 660832, 687264, 713696,
>  740128, 766560, 792992, 819424, 845856, 872288, 898720, 925152, 951584,
>  978016, 1004448, 1030880, 1057312, 1083744, 1110176, 1136608, 1163040,
>  1189472, 1215904,
> 
> # mount /dev/od1a /mnt
> # umount /mnt

Why are you using the 'od' device?  The od device is no longer supported in
FreeBSD 3.x, and I'm actually kinda amazed that you're able to do any I/O
at all to it.

The od device has been replaced by the 'da' device.  That's why your MO
drive shows up as da1.

> That's OK.
> 
> 
> but :
> 
> # mount /dev/od1a /mnt
> # cd /mnt
> # dd if=/dev/zero of=test bs=2048 count=10000
> 10000+0 records in
> 10000+0 records out
> 20480000 bytes transferred in 24.621793 secs (831783 bytes/sec)

[ ... ]

> Any idea of what could be happening ? I know this drive has a write
> cache enabled, maybe that's the point ?

I think you probably have a cabling or termination problem.  Turning write
caching on or off won't make a difference.

Ken
-- 
Kenneth Merry
ken@plutotech.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902252254.PAA47903>