Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2006 21:30:32 +0100
From:      Andrzej Wojkowski <admin@cordef.net.pl>
To:        aic7xxx@freebsd.org
Subject:   Adaptec 29160 + Fujitsu MAS3367NC - cannot force U160
Message-ID:  <455632E8.5020301@cordef.net.pl>

next in thread | raw e-mail | index | archive | help
Hi all
I'm writing because I am near to giving up to make these two devices 
work in any mode faster than FAST-20 SCSI.
Devices (29160 controller - standard, not N or LP, and 36GB U320 hard 
disk made by Fujitsu - MAS3367NC) are installed in IBM RS/6000 7044 
under Gentoo Linux compiled against powerpc64 architecture (kernel 
2.6.16-gentooR7).

System recognizes HD as FAST-20 Wide SCSI 40.0 MB and I don't know any 
method to make it work as U160.

I've changed controller (previously it was adaptec 29160LP) - no effect
I've changed cable - it is ASUS/Amphenol U320 terminated at the next 
socket after the HD - no effect
I've changed the disk (previously it was IBM ST318404LC (U160 18GB) 
changed to Fujitsu MAS3367NC 36GB U320 SCSI) - no effect

I cannot enter the BIOS of any controller (29160 or 29160LP) - they 
don't provide Ctrl-A command when installed in standard PC. But I've 
been changing SCSI-Id of disk (I guessed that some Id's can be hard set 
to low speed in EEPROM), but again no effect.

I found in logs that there is no PPR negotiation during Domain 
Validation (U160 specific). Why? Is it connected with GOAL set in 
/proc/scsi/aic7xxx? But how to change it? How to force GOAL to be 160.0 
MB/s?

I'll be thankful for any hints.

Regards

Andrzew

PS Below please find output from /proc/scsi/aic7xxx and form demsg.

-----------------------------------------------------------------------

/proc/scsi/aic7xxx/2

Adaptec AIC7xxx driver version: 7.0
Adaptec (Compaq OEM) 29160 Ultra160 SCSI adapter
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
Allocated SCBs: 4, SG List Length: 128

Serial EEPROM:
0xcb3a 0xcb3a 0xcb3a 0xcb3a 0xcb3a 0xcb3a 0xcb3a 0xcb3a
0xcb3a 0xcb3a 0xcb3a 0xcb3a 0xcb3a 0xcb3a 0xcb3a 0xcb3a
0x08f4 0x7c5d 0x2807 0x0010 0x0301 0xffff 0xffff 0xffff
0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0x0250 0x6650

Target 0 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 1 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 2 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 3 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 4 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 5 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 6 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 7 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 8 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 9 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 10 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 11 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 12 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 13 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 14 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
Target 15 Negotiation Settings
        User: 160.000MB/s transfers (80.000MHz DT, offset 127, 16bit)
        Goal: 40.000MB/s transfers (20.000MHz, offset 127, 16bit)
        Curr: 40.000MB/s transfers (20.000MHz, offset 127, 16bit)
        Channel A Target 15 Lun 0 Settings
                Commands Queued 38
                Commands Active 0
                Command Openings 32
                Max Tagged Openings 32
                Device Queue Frozen Count 0

------------------------------------------------------------------------
dmesg

PCI: Enabling device: (0001:40:0c.0), cmd 143
ahc_pci:64:12:0: Reading SEEPROM...done.
ahc_pci:64:12:0: BIOS eeprom is present
ahc_pci:64:12:0: Secondary High byte termination Enabled
ahc_pci:64:12:0: Secondary Low byte termination Enabled
ahc_pci:64:12:0: Primary Low Byte termination Enabled
ahc_pci:64:12:0: Primary High Byte termination Enabled
ahc_pci:64:12:0: Downloading Sequencer Program... 423 instructions
downloaded
ahc_pci:64:12:0: Features 0x1def6, Bugs 0x40, Flags 0x28485560
scsi2 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
        <Adaptec (Compaq OEM) 29160 Ultra160 SCSI adapter>
        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

scsi2: Slave Alloc 0
scsi2: Selection Timeout on A:0. 0 SCBs aborted
scsi2: Slave Destroy 0
scsi2: Slave Alloc 1
scsi2: Selection Timeout on A:1. 0 SCBs aborted
scsi2: Slave Destroy 1
scsi2: Slave Alloc 2
scsi2: Selection Timeout on A:2. 0 SCBs aborted
scsi2: Slave Destroy 2
scsi2: Slave Alloc 3
scsi2: Selection Timeout on A:3. 0 SCBs aborted
scsi2: Slave Destroy 3
scsi2: Slave Alloc 4
scsi2: Selection Timeout on A:4. 0 SCBs aborted
scsi2: Slave Destroy 4
scsi2: Slave Alloc 5
scsi2: Selection Timeout on A:5. 0 SCBs aborted
scsi2: Slave Destroy 5
scsi2: Slave Alloc 6
scsi2: Selection Timeout on A:6. 0 SCBs aborted
scsi2: Slave Destroy 6
scsi2: Slave Alloc 8
scsi2: Selection Timeout on A:8. 0 SCBs aborted
scsi2: Slave Destroy 8
scsi2: Slave Alloc 9
scsi2: Selection Timeout on A:9. 0 SCBs aborted
scsi2: Slave Destroy 9
scsi2: Slave Alloc 10
scsi2: Selection Timeout on A:10. 0 SCBs aborted
scsi2: Slave Destroy 10
scsi2: Slave Alloc 11
scsi2: Selection Timeout on A:11. 0 SCBs aborted
scsi2: Slave Destroy 11
scsi2: Slave Alloc 12
scsi2: Selection Timeout on A:12. 0 SCBs aborted
scsi2: Slave Destroy 12
scsi2: Slave Alloc 13
scsi2: Selection Timeout on A:13. 0 SCBs aborted
scsi2: Slave Destroy 13
scsi2: Slave Alloc 14
scsi2: Selection Timeout on A:14. 0 SCBs aborted
scsi2: Slave Destroy 14
scsi2: Slave Alloc 15
  Vendor: FUJITSU   Model: MAS3367NC         Rev: 5201
  Type:   Direct-Access                      ANSI SCSI revision: 03
 2:0:15:0: Slave Configure
 target2:0:15: asynchronous
scsi2:A:15:0: Tagged Queuing enabled.  Depth 32
 target2:0:15: Beginning Domain Validation
(scsi2:A:15:0): Sending WDTR 1
(scsi2:A:15:0): Received WDTR 1 filtered to 1
 target2:0:15: FAST-5 WIDE SCSI 2.0 MB/s ST (1020 ns, offset 255)
scsi2: target 15 using 16bit transfers
(scsi2:A:15:0): Sending SDTR period 45, offset 0
(scsi2:A:15:0): Received SDTR period 45, offset 0
        Filtered to period 0, offset 0
 target2:0:15: wide asynchronous
scsi2: target 15 using asynchronous transfers
(scsi2:A:15:0): Sending SDTR period c, offset 7f
(scsi2:A:15:0): Received SDTR period c, offset 7f
        Filtered to period c, offset 7f
 target2:0:15: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 127)
scsi2: target 15 synchronous at 20.0MHz, offset = 0x7f
 target2:0:15: Domain Validation skipping write tests
 target2:0:15: Ending Domain Validation
(scsi2:A:15:0): Sending WDTR 1
(scsi2:A:15:0): Received WDTR 1 filtered to 1
 target2:0:15: FAST-5 WIDE SCSI 2.0 MB/s ST (1020 ns, offset 255)
scsi2: target 15 using 16bit transfers
(scsi2:A:15:0): Sending SDTR period c, offset 7f
(scsi2:A:15:0): Received SDTR period c, offset 7f
        Filtered to period c, offset 7f
 target2:0:15: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 127)
scsi2: target 15 synchronous at 20.0MHz, offset = 0x7f
(scsi2:A:15:0): data overrun detected in Data-in phase.  Tag == 0x3.
(scsi2:A:15:0): Have seen Data Phase.  Length = 0.  NumSGs = 1.
sg[0] - Addr 0x040020040 : Length 32
SCSI device sdb: 71819496 512-byte hdwr sectors (36772 MB)
sdb: Write Protect is off
sdb: Mode Sense: b9 00 00 08
SCSI device sdb: drive cache: write through
SCSI device sdb: 71819496 512-byte hdwr sectors (36772 MB)
sdb: Write Protect is off
sdb: Mode Sense: b9 00 00 08
SCSI device sdb: drive cache: write through
 sdb: sdb1
sd 2:0:15:0: Attached scsi disk sdb
sd 2:0:15:0: Attached scsi generic sg2 type 0



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