Date: Sun, 12 Nov 2006 11:05:13 -0700 From: "Justin T. Gibbs" <gibbs@scsiguy.com> To: admin@cordef.net.pl Cc: aic7xxx@freebsd.org Subject: Re: Adaptec 29160 + Fujitsu MAS3367NC - cannot force U160 Message-ID: <45576259.9040605@scsiguy.com> In-Reply-To: <45574C1C.5070404@cordef.net.pl> References: <455632E8.5020301@cordef.net.pl> <4557484D.4050505@scsiguy.com> <45574C1C.5070404@cordef.net.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
The jumpers, when populated, force termination to be enabled. You shouldn't need them: http://adaptec-tic.adaptec.com/cgi-bin/adaptec_tic.cfg/php/enduser/std_adp.php?p_faqid=1092&p_created=949587020&p_sid=oPDooumi&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MjImcF9wcm9kcz0wJnBfY2F0cz0wJnBfcHY9JnBfY3Y9JnBfc2VhcmNoX3R5cGU9YW5zd2Vycy5zZWFyY2hfbmwmcF9wYWdlPTEmcF9zZWFyY2hfdGV4dD0yOTE2MCBqdW1wZXI*&p_li=&p_topview=1 The only other guess I have is that the "force-se" jumper is populated on both of your drives. You could verify that the 29160 believes the bus is in SE mode by instrumenting aic7xxx.c:ahc_devlimited_syncrate(). The first if block is where the driver checks the operating mode of the transceiver and limits the negotiation accordingly. -- Justin admin@cordef.net.pl wrote: > Hi Justin > Thank you very much for your reply. > Cable is connected to Primary connector (internal) labeled as LVD/SE, > the second one labeled as SE is unused. > I found that near both sockets there are jumpers. The one near LVD/SE > is opened and the one near SE is closed. I'm not sure if it is important. > HD is 68-pin so I had to use adapter but as I checked it's doing nothing > except providing signals and power to the disk. > > Regards > > Andrew > > Justin T. Gibbs napisał(a): >> The 29160 has two internal connectors. One is labeled LVD/SE. The >> other (furthest from the external connector) is labeled SE only. This >> second connector is only capable of Fast-20 transfers. Are >> you connected to one of the other two connectors that can support LVD >> (e.g. Fast-40/Fast-80) transfers? >> >> -- >> Justin >> >> Andrzej Wojkowski wrote: >>> 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 >>> _______________________________________________ >>> aic7xxx@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/aic7xxx >>> To unsubscribe, send any mail to "aic7xxx-unsubscribe@freebsd.org" >>> >> >> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45576259.9040605>