time out hang on boot

Doug Ledford dledford at redhat.com
Fri Feb 18 05:03:16 PST 2000


philipp scherer wrote:
> 
> I just tried out the new 5.1.26 patch.
> First I got the same behaviour as with 5.1.25 and
> the same error messages. Then I played around
> with the scsi bios settings. As was suggested in
> one of the last messages I switched off the
> initiate sync option and  the system booted.
> Then I switched it on again and changed the
> maximum tranfer rates and still it booted.
> However, some puzzles remain. In the Scsi
> bios the max transfer rate for the  u2W disk
> (id 0) can be set up to 80 whereas for all other
> ID's (including 7 for the host adapter) can be
> set to max. 40.
> The aic7xxx driver reports  sync transfer with 40
> for the u2w disk (bios setting is higher than 40).
> So have these 40 something to do with the bios
> setting for id 7?
> I reduced the rate for the two
> cdroms to 8 but the aic7xxx driver reports
> a sync transfer with 20 ( I include the boot.msg file)
> for my Plextor TSI32X (id 3,  in the middle of the chain)
> I then copied a  CD from the plextor to the disk
> and after that in /proc/scsi/aic7xxx/0 (i include it ) I see the
> transfer switched  to async  transfer ??
> At least the system is running but I am a bit confused,
> Philipp
> 
> ------------------------
> /var/log/boot.msg
> 
> <4>Linux version 2.2.13 (root at kellerassel) (gcc version 2.7.2.3) #4 Fri
> Feb 18 10:35:34 MET 2000
> <4>Detected 400916139 Hz processor.
> <4>Console: colour VGA+ 80x25
> <4>Calibrating delay loop... 399.77 BogoMIPS
> <4>Memory: 127728k/131008k available (1100k kernel code, 416k reserved,
> 1504k data, 60k init)
> <4>Dentry hash table entries: 16384 (order 5, 128k)
> <4>Buffer cache hash table entries: 131072 (order 7, 512k)
> <4>Page cache hash table entries: 32768 (order 5, 128k)
> <4>CPU: Intel Pentium II (Deschutes) stepping 02
> <6>Checking 386/387 coupling... OK, FPU using exception 16 error
> reporting.
> <6>Checking 'hlt' instruction... OK.
> <4>POSIX conformance testing by UNIFIX
> <4>PCI: PCI BIOS revision 2.10 entry at 0xf0720
> <4>PCI: Using configuration type 1
> <4>PCI: Probing PCI hardware
> <6>Linux NET4.0 for Linux 2.2
> <6>Based upon Swansea University Computer Society NET3.039
> <6>NET4: Unix domain sockets 1.0 for Linux NET4.0.
> <6>NET4: Linux TCP/IP 1.0 for NET4.0
> <6>IP Protocols: ICMP, UDP, TCP
> <4>TCP: Hash tables configured (ehash 131072 bhash 65536)
> <4>Starting kswapd v 1.5
> <6>Detected PS/2 Mouse Port.
> <6>Serial driver version 4.27 with no serial options enabled
> <6>ttyS00 at 0x03f8 (irq = 4) is a 16550A
> <6>ttyS01 at 0x02f8 (irq = 3) is a 16550A
> <4>pty: 256 Unix98 ptys configured
> <4>RAM disk driver initialized:  16 RAM disks of 10240K size
> <6>loop: registered device at major 7
> <4>PIIX4: IDE controller on PCI bus 00 dev 21
> <4>PIIX4: device not capable of full native PCI mode
> <4>PIIX4: device disabled (BIOS)
> <6>Floppy drive(s): fd0 is 1.44M
> <6>FDC 0 is a post-1991 82077
> <6>(scsi0) <Adaptec AIC-7890/1 Ultra2 SCSI host adapter> found at PCI
> 0/6/0
> <6>(scsi0) Wide Channel, SCSI ID=7, 32/255 SCBs
> <6>(scsi0) Downloading sequencer code... 395 instructions downloaded
> <4>scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI)
> 5.1.26/3.2.4
> <4>       <Adaptec AIC-7890/1 Ultra2 SCSI host adapter>
> <4>scsi : 1 host.
> <6>(scsi0:0:0:0) Synchronous at 40.0 Mbyte/sec, offset 15.
> <4>  Vendor: IBM       Model: DDRS-39130D       Rev: DC1B
> <4>  Type:   Direct-Access                      ANSI SCSI revision: 02
> <4>Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
> <6>(scsi0:0:2:0) Synchronous at 8.0 Mbyte/sec, offset 31.
> <4>  Vendor: YAMAHA    Model: CRW4416S          Rev: 1.0e
> <4>  Type:   CD-ROM                             ANSI SCSI revision: 02
> <4>Detected scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0
> <6>(scsi0:0:3:0) Synchronous at 20.0 Mbyte/sec, offset 15.
> <4>  Vendor: PLEXTOR   Model: CD-ROM PX-32TS    Rev: 1.03
> <4>  Type:   CD-ROM                             ANSI SCSI revision: 02
> <4>Detected scsi CD-ROM sr1 at scsi0, channel 0, id 3, lun 0
> <4>  Vendor: IOMEGA    Model: ZIP 100           Rev: D.13
> <4>  Type:   Direct-Access                      ANSI SCSI revision: 02
> <4>Detected scsi removable disk sdb at scsi0, channel 0, id 5, lun 0
> <4>scsi : detected 2 SCSI cdroms 2 SCSI disks total.
> <4>sr0: scsi3-mmc drive: 16x/16x writer cd/rw xa/form2 cdda tray
> <6>Uniform CDROM driver Revision: 2.56
> <4>SCSI device sda: hdwr sector= 512 bytes. Sectors= 17850000 [8715 MB]
> [8.7 GB]
> <4>sdb : READ CAPACITY failed.
> <4>sdb : status = 1, message = 00, host = 0, driver = 28
> <4>sdb : extended sense code = 2
> <4>sdb : block size assumed to be 512 bytes, disk size 1GB.
> <4>Partition check:
> <4> sda: sda1 sda2 < sda5 sda6 sda7 sda8 > sda3 sda4
> <4> sdb:scsidisk I/O error: dev 08:10, sector 0
> <4> unable to read partition table
> <5>RAMDISK: Compressed image found at block 0
> <4>VFS: Mounted root (minix filesystem).
> <4>VFS: Mounted root (ext2 filesystem).
> <4>change_root: old root has d_count=1
> <5>Trying to unmount old root ... okay
> <4>Freeing unused kernel memory: 60k freed
> <6>Adding Swap: 130748k swap-space (priority -1)
> Kernel logging (ksyslog) stopped.
> Kernel log daemon terminating.
> 
> -----------------------------------------------------
> /proc/scsi/aic7xxx/0
> 
> 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: 45859
>       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 40.0 MByte/sec, offset 15
>   Transinfo settings: current(12/15/1/0), goal(11/127/1/0),
> user(11/127/1/0)
>   Total transfers 26921 (19137 reads and 7784 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 17068 (17068 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 1682 (1682 reads and 0 writes)

You've got SCSI bus problems.  Either you don't have things cabled correctly
or you have bad cables or you have bad terminators.  The drive is running at
40MByte/s because it is running in SE mode instead of LVD mode (which is
required for 80MByte/s operation) and the CD-ROM is running in async mode most
likely due to transfer errors on the SCSI bus at any higher sync speeds.


-- 

 Doug Ledford <dledford at redhat.com>  http://people.redhat.com/dledford
      Please check my web site for aic7xxx updates/answers before
                      e-mailing me about problems


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