timeout hang on boot

Philipp Scherer scherer at venus.t30.physik.tu-muenchen.de
Fri Feb 18 12:28:50 PST 2000


I do not believe that it is a termination problem.
The transfer speed of the u2w  disk was reduced to
40 as in the scsi bios negotiate wide was switched off
for the host adapter (id7) and as suspected this
limited everything to 40.
But the problem with the CD´s is still present.
Probably it is a problem of the cd driver. 
 

old  driver kernel/version before using cd roms:

5.1.10/3.2.4
Compile Options:
  AIC7XXX_RESET_DELAY    : 15
  AIC7XXX_TAGGED_QUEUEING: Adapter Support Enabled
                             Check below to see which
                             devices use tagged queueing
  AIC7XXX_PAGE_ENABLE    : Enabled (This is no longer an option)
  AIC7XXX_PROC_STATS     : Disabled

Adapter Configuration:
           SCSI Adapter: Adaptec AIC-7890/1 Ultra2 SCSI host adapter
                           Ultra2-LVD/SE Wide Controller
    PCI MMAPed I/O Base: 0xe1000000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 15
                   SCBs: Active 0, Max Active 1,
                         Allocated 15, HW 32, Page 255
             Interrupts: 3079
      BIOS Control Word: 0x10a6
   Adapter Control Word: 0x1c5e
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 24
    Tagged Queue By Device array for aic7xxx host instance 0:
      {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
    Actual queue depth per device for aic7xxx host instance 0:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:

(scsi0:0:0:0)
  Device using Wide/Sync transfers at 80.0 MByte/sec, offset 15
  Transinfo settings: current(10/15/1), goal(10/127/1), user(10/127/1)
  Total transfers 2983 (2710 reads and 273 writes)


(scsi0:0:2:0)
  Device using Narrow/Sync transfers at 6.67 MByte/sec, offset 31
  Transinfo settings: current(37/31/0), goal(31/127/0), user(31/127/0)
  Total transfers 0 (0 reads and 0 writes)


(scsi0:0:3:0)
  Device using Narrow/Sync transfers at 8.0 MByte/sec, offset 15
  Transinfo settings: current(31/15/0), goal(31/127/0), user(31/127/0)
  Total transfers 0 (0 reads and 0 writes)


(scsi0:0:5:0)
  Device using Narrow/Async transfers.
  Transinfo settings: current(0/0/0), goal(0/0/0), user(31/127/0)
  Total transfers 0 (0 reads and 0 writes)




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

old version after using the CD´s 


Adaptec AIC7xxx driver version: 5.1.10/3.2.4
Compile Options:
  AIC7XXX_RESET_DELAY    : 15
  AIC7XXX_TAGGED_QUEUEING: Adapter Support Enabled
                             Check below to see which
                             devices use tagged queueing
  AIC7XXX_PAGE_ENABLE    : Enabled (This is no longer an option)
  AIC7XXX_PROC_STATS     : Disabled

Adapter Configuration:
           SCSI Adapter: Adaptec AIC-7890/1 Ultra2 SCSI host adapter
                           Ultra2-LVD/SE Wide Controller
    PCI MMAPed I/O Base: 0xe1000000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 15
                   SCBs: Active 0, Max Active 2,
                         Allocated 15, HW 32, Page 255
             Interrupts: 29269
      BIOS Control Word: 0x10a6
   Adapter Control Word: 0x1c5e
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 24
    Tagged Queue By Device array for aic7xxx host instance 0:
      {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
    Actual queue depth per device for aic7xxx host instance 0:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:

(scsi0:0:0:0)
  Device using Wide/Sync transfers at 80.0 MByte/sec, offset 15
  Transinfo settings: current(10/15/1), goal(10/127/1), user(10/127/1)
  Total transfers 6971 (3941 reads and 3030 writes)


(scsi0:0:2:0)
  Device using Narrow/Sync transfers at 6.67 MByte/sec, offset 31
  Transinfo settings: current(37/31/0), goal(31/127/0), user(31/127/0)
  Total transfers 7534 (7534 reads and 0 writes)


(scsi0:0:3:0)
  Device using Narrow/Sync transfers at 8.0 MByte/sec, offset 15
  Transinfo settings: current(31/15/0), goal(31/127/0), user(31/127/0)
  Total transfers 14609 (14609 reads and 0 writes)


(scsi0:0:5:0)
  Device using Narrow/Async transfers.
  Transinfo settings: current(0/0/0), goal(0/0/0), user(31/127/0)
  Total transfers 0 (0 reads and 0 writes)



 

now with the new version the transfer rates of the CDs are
quite different and the plextor is switched to async again:



new driver before using cds

Adaptec AIC7xxx driver version: 5.1.26/3.2.4
Compile Options:
  TCQ Enabled By Default : Disabled
  AIC7XXX_PROC_STATS     : Disabled
  AIC7XXX_RESET_DELAY    : 15

Adapter Configuration:
           SCSI Adapter: Adaptec AIC-7890/1 Ultra2 SCSI host adapter
                           Ultra-2 LVD/SE Wide Controller at PCI 0/6/0
    PCI MMAPed I/O Base: 0xe1000000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 15
                   SCBs: Active 0, Max Active 1,
                         Allocated 15, HW 32, Page 255
             Interrupts: 3193
      BIOS Control Word: 0x10a6
   Adapter Control Word: 0x1c5e
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 8
    Tagged Queue By Device array for aic7xxx host instance 0:
      {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
    Actual queue depth per device for aic7xxx host instance 0:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:

(scsi0:0:0:0)
  Device using Wide/Sync transfers at 80.0 MByte/sec, offset 15
  Transinfo settings: current(10/15/1/0), goal(10/127/1/0),
user(10/127/1/0)
  Total transfers 3082 (2779 reads and 303 writes)


(scsi0:0:2:0)
  Device using Narrow/Sync transfers at 8.0 MByte/sec, offset 31
  Transinfo settings: current(30/31/0/0), goal(0/127/0/0),
user(0/127/0/0)
  Total transfers 0 (0 reads and 0 writes)


(scsi0:0:3:0)
  Device using Narrow/Sync transfers at 20.0 MByte/sec, offset 15
  Transinfo settings: current(12/15/0/0), goal(0/127/0/0),
user(0/127/0/0)
  Total transfers 0 (0 reads and 0 writes)


(scsi0:0:5:0)
  Device using Narrow/Async transfers.
  Transinfo settings: current(0/0/0/0), goal(0/0/0/0), user(0/127/0/0)
  Total transfers 0 (0 reads and 0 writes)




and finally afterwards
Adaptec AIC7xxx driver version: 5.1.26/3.2.4
Compile Options:
  TCQ Enabled By Default : Disabled
  AIC7XXX_PROC_STATS     : Disabled
  AIC7XXX_RESET_DELAY    : 15

Adapter Configuration:
           SCSI Adapter: Adaptec AIC-7890/1 Ultra2 SCSI host adapter
                           Ultra-2 LVD/SE Wide Controller at PCI 0/6/0
    PCI MMAPed I/O Base: 0xe1000000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 15
                   SCBs: Active 0, Max Active 2,
                         Allocated 15, HW 32, Page 255
             Interrupts: 13848
      BIOS Control Word: 0x10a6
   Adapter Control Word: 0x1c5e
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 8
    Tagged Queue By Device array for aic7xxx host instance 0:
      {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
    Actual queue depth per device for aic7xxx host instance 0:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:

(scsi0:0:0:0)
  Device using Wide/Sync transfers at 80.0 MByte/sec, offset 15
  Transinfo settings: current(10/15/1/0), goal(10/127/1/0),
user(10/127/1/0)
  Total transfers 5892 (2989 reads and 2903 writes)


(scsi0:0:2:0)
  Device using Narrow/Sync transfers at 8.0 MByte/sec, offset 31
  Transinfo settings: current(30/31/0/0), goal(0/127/0/0),
user(0/127/0/0)
  Total transfers 830 (830 reads and 0 writes)


(scsi0:0:3:0)
  Device using Narrow/Async transfers.
  Transinfo settings: current(50/0/0/0), goal(0/0/0/0), user(0/127/0/0)
  Total transfers 6940 (6940 reads and 0 writes)


(scsi0:0:5:0)
  Device using Narrow/Async transfers.
  Transinfo settings: current(0/0/0/0), goal(0/0/0/0), user(0/127/0/0)
  Total transfers 0 (0 reads and 0 writes)





and now there are also some error messages in /var/log/messages:

Feb 18 18:43:20 kellerassel kernel: VFS: Disk change detected on device
fd(2,0)
Feb 18 18:44:24 kellerassel kernel: VFS: Disk change detected on device
sr(11,1)
Feb 18 18:44:32 kellerassel kernel: (scsi0:0:3:0) Parity error during
Data-In phase.
Feb 18 18:44:32 kellerassel last message repeated 2 times
Feb 18 18:44:32 kellerassel kernel: (scsi0:0:3:-1) Reset device,
active_scb 0
Feb 18 18:44:32 kellerassel kernel: (scsi0:0:3:-1) Cleaning up status
information and delayed_scbs.
Feb 18 18:44:32 kellerassel kernel: (scsi0:0:3:-1) Cleaning QINFIFO.
Feb 18 18:44:32 kellerassel kernel: (scsi0:0:3:-1) Cleaning
waiting_scbs.
Feb 18 18:44:32 kellerassel kernel: (scsi0:0:3:-1) Cleaning waiting for
selection list.
Feb 18 18:44:32 kellerassel kernel: (scsi0:0:3:-1) Cleaning disconnected
scbs list.
Feb 18 18:44:32 kellerassel kernel: (scsi0:0:3:0) Aborting scb 0
Feb 18 18:44:32 kellerassel kernel: (scsi0:-1:-1:-1) 1 commands found
and queued for completion.
Feb 18 18:44:32 kellerassel kernel: (scsi0:0:3:-1) Unexpected busfree,
LASTPHASE = 0xa0, SEQADDR = 0x164
Feb 18 18:44:36 kellerassel kernel: (scsi0:0:3:0) Using asynchronous
transfers.
Feb 18 18:45:53 kellerassel kernel: VFS: Disk change detected on device
sr(11,0)


any ideas ?
philipp


To Unsubscribe: send mail to majordomo at FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message




More information about the aic7xxx mailing list