Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 1999 12:31:58 +0100 (MET)
From:      Arnaud KOPP <arnaud@DotCom.FR>
To:        scsi@FreeBSD.ORG
Subject:   [3.1-RELEASE] Fujitsu M2513A 640MB MO ?
Message-ID:  <199902251131.LAA00804@excalibur.oceanis.net>

next in thread | raw e-mail | index | archive | help
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


So here's my setup :

Motherboard : Gigabyte GA-6BXDS with 2 SCSI integrated buses.
(http://www.gigabyte.com.tw/gigabyte-web/products/ga6bxds.htm)


# dmesg 

Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.1-RELEASE #0: Wed Feb 24 18:56:00 CET 1999
    root@cray.dotcom.fr:/usr/src/sys/compile/CRAY
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Xeon/Celeron (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping=2
  Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,<b24>>
real memory  = 134217728 (131072K bytes)
avail memory = 127737856 (124744K bytes)
Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xf02b8000.
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge> rev 0x03 on pci0.0.0
chip1: <Intel 82443BX host to AGP bridge> rev 0x03 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.7.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.7.3
ax0: <ASIX AX88140A 10/100BaseTX> rev 0x03 int a irq 19 on pci0.11.0
ax0: Ethernet address: 00:40:95:4a:01:28
ax0: autoneg complete, link status good (half-duplex, 10Mbps)
ahc0: <Adaptec aic7895 Ultra SCSI adapter> rev 0x04 int a irq 16 on pci0.12.0
ahc0: aic7895 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc1: <Adaptec aic7895 Ultra SCSI adapter> rev 0x04 int b irq 16 on pci0.12.1
ahc1: Using left over BIOS settings
ahc1: aic7895 Wide Channel B, SCSI Id=7, 16/255 SCBs
Probing for devices on PCI bus 1:
vga0: <Trident model 9750 VGA-compatible display device> rev 0xf3 int a irq 255 on pci1.1.0
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 not found
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
Waiting 15 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
changing root device to da0s1a
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


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)
# cd /
# umount /mnt
(pause ....)
Feb 25 12:26:08 cray /kernel: (da1:ahc0:0:4:0): SCB 0x3 - timed out in command phase, SEQADDR == 0x154
Feb 25 12:26:25 cray /kernel: (da1:ahc0:0:4:0): BDR message in message buffer
Feb 25 12:26:25 cray /kernel: (da1:ahc0:0:4:0): SCB 0x3 - timed out in command phase, SEQADDR == 0x154
Feb 25 12:26:25 cray /kernel: (da1:ahc0:0:4:0): no longer in timeout, status = 34b
Feb 25 12:26:25 cray /kernel: ahc0: Issued Channel A Bus Reset. 1 SCBs aborted
# mount /dev/od1a /mnt
mount: Operation not permitted
Feb 25 12:27:54 cray /kernel: WARNING: R/W mount of /mnt denied.  Filesystem is not clean - run fsck
Feb 25 12:27:54 cray /kernel: WARNING: R/W mount of /mnt denied.  Filesystem is not clean - run fsck
# fsck /dev/od1a
** /dev/rod1a
** Last Mounted on /mnt
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
2 files, 10013 used, 296852 free (2 frags, 148425 blocks, 0.0% fragmentation)

***** FILE SYSTEM MARKED CLEAN *****
(pause ...)
Feb 25 12:28:33 cray /kernel: (da1:ahc0:0:4:0): SCB 0x2 - timed out in command phase, SEQADDR == 0x154
Feb 25 12:28:50 cray /kernel: (da1:ahc0:0:4:0): BDR message in message buffer
Feb 25 12:28:50 cray /kernel: (da1:ahc0:0:4:0): SCB 0x2 - timed out in command phase, SEQADDR == 0x154
Feb 25 12:28:50 cray /kernel: (da1:ahc0:0:4:0): no longer in timeout, status = 34b
Feb 25 12:28:50 cray /kernel: ahc0: Issued Channel A Bus Reset. 1 SCBs aborted

# fsck /dev/od1a
** /dev/rod1a
** Last Mounted on /mnt
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
2 files, 10013 used, 296852 free (2 frags, 148425 blocks, 0.0% fragmentation)
# mount /dev/od1a /mnt



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


Arnaud.
-- 
  /| / Arnaud KOPP @ DotCOM - UnixWare7 - Irix - Linux - {Net,Free,Open}BSD
 /-|<  Work: +33 1 46 67 51 00    Email : arnaud@dotcom.fr
/  | \ Fax : +33 1 46 67 51 01     WWW  : http://www.DotCom.fr


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?199902251131.LAA00804>