Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2001 17:03:30 +0200
From:      Buchan Milne <bgmilne@cae.co.za>
To:        "Justin T. Gibbs" <gibbs@scsiguy.com>
Cc:        aic7xxx@freebsd.org
Subject:   Re: Kernel hang with Adaptec 29160 and HP 6*40GB Surestore Autoloader
Message-ID:  <3B7E83C2.9060202@cae.co.za>
References:  <200108171711.f7HHBjI96972@aslan.scsiguy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------070403030603040501030900
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Justin T. Gibbs wrote:

>>I booted with aic7xxx=verbose, and didn't get any more info than before. 
>>
>
>If you are loading the driver with modprobe post boot, or you are using
>an initial ramdisk, you need to either specify the verbose option
>on the command line to modprobe or specify the setting in /etc/modules.conf.
>For my initrd setups, I have something like this in /etc/modules.conf:
>
>alias scsi_hostadapter aic7xxx
>options aic7xxx aic7xxx='"verbose.tag_info:{{8.8.8.8.8.8.8.8}}"'
>
>If you just want the verbose setting, replace the above option line with:
>
>options aic7xxx aic7xxx='"verbose"'
>
Done. Is there an FAQ for this driver that has some of this info, 
http://people.freebsd.org/~gibbs/linux/ is very sparse ..... also 
modinfo aic7xxx with the various options does not provide much info 
either ...

>
>>Attached is a dmesg of just after moprobe'ing aic7xxx, and just before 
>>"mt -f /dev/st0 status" which crashed the machine. I did notice, 
>>however, that the 29160 BIOS (although finding the changer as ID3, which 
>>is correct) states "SCSI BIOS not installed" at the end of it's device 
>>detection.
>>
>
>This is because you don't have any bootable devices on the chain.
>
That is what I thought ...

>
>>The cable and terminator were supplied with the card. Unfortunately I 
>>have no other SCSI cables or terminators (except those running in our 
>>Windows server), and not too much experience with SCSI .... The cable is 
>>just longer than 0.5m (about 18 inches), with 3 LVD connectors, and a 
>>terminator after the last connector. The changer is connected to the 
>>last LVD connector, with the other end plugged into the SCSI card (as 
>>depicted in the manual). Tell me if photos would be useful, or if I 
>>should acquire other cables and terminator.
>>
>
>This is an internal changer?
>
Normally. At present it is external (doesn't fit in my desktop machine 
...) ;-)

>
>
>Does the changer have a dip switch to enable termination?  If so, this
>should be *off* for your configuration.  An over-terminated bus can be
>just as deadly as an under-terminated one.
>

According to the manual "the autoloader does not support termination on 
the device itself".

Attached please find a diff to the previous dmesg, now with the verbose 
messages, just after modprobe'ing aic7xxx, and the contents of 
/proc/scsi/aic7xxx/1. Below are the last messages seen when running "mt 
-f /dev/st0 status":

Attached scsi tape st0 at scsi1, channel 0, id 3, lun 0
(scsi:A:3:0): Sending WDTR
(scsi:A:3:0): Received WDTR 1 filtered to 1
(scsi:A:3): 6.6.0 MB/s transfers (16bit)
scsi1: target 3 using 16 bit transfers
(scsi:A:3:0): Sending SDTR period c, offset 7f
(scsi:A:3:0): REceived SDTR persiod c, offset 20
oFiltered to period c, offset 20
(scsi:A:3:0): 40.000MB/s trnasfers (20.000MHz, offset 32, 16bit)
scsi1: target 3 synchronous at 20.0MHz, offset = 20
(scsi:A:3:0): Sending WDTR 1
(scsi:A:3:0): Received WDTR filetered to 1

Regards,
Buchan

-- 
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering         http://www.cae.co.za



--------------070403030603040501030900
Content-Type: text/plain;
 name="dmesg_2.4.3-20mdk_aic7xxx_verbose.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="dmesg_2.4.3-20mdk_aic7xxx_verbose.patch"

--- /home/bgmilne/dmesg_2.4.3-20mdk_aic7xxx	Fri Aug 17 11:49:15 2001
+++ /home/bgmilne/dmesg_2.4.3-20mdk_aic7xxx_verbose	Sat Aug 18 16:15:09 2001
@@ -15,7 +15,7 @@
 Kernel command line: BOOT_IMAGE=linux-nonfb ro root=30b hdd=ide-scsi vga=0 aic7xxx=verbose
 ide_setup: hdd=ide-scsi
 Initializing CPU#0
-Detected 801.847 MHz processor.
+Detected 801.832 MHz processor.
 Console: colour dummy device 80x25
 Calibrating delay loop... 1599.07 BogoMIPS
 Memory: 126008k/131008k available (976k kernel code, 4612k reserved, 287k data, 696k init, 0k highmem)
@@ -278,11 +278,16 @@
 NVRM: loading NVIDIA kernel module version 1.0-769
 PCI: Found IRQ 10 for device 00:09.0
 PCI: The same IRQ used for device 00:0d.0
+ahc_pci:0:9:0: Reading SEEPROM...done.
+ahc_pci:0:9:0: BIOS eeprom is present
+ahc_pci:0:9:0: Secondary High byte termination Enabled
+ahc_pci:0:9:0: Secondary Low byte termination Enabled
+ahc_pci:0:9:0: Primary Low Byte termination Enabled
+ahc_pci:0:9:0: Primary High Byte termination Enabled
+ahc_pci:0:9:0: Downloading Sequencer Program... 424 instructions downloaded
 scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.1.8
         <Adaptec 29160 Ultra160 SCSI adapter>
         aic7892: Wide Channel A, SCSI Id=7, 32/255 SCBs
 
   Vendor: HP        Model: C5713A            Rev: H910
   Type:   Sequential-Access                  ANSI SCSI revision: 02
-st: bufsize 32768, wrt 30720, max init. buffers 4, s/g segs 16.
-Attached scsi tape st0 at scsi1, channel 0, id 3, lun 0

--------------070403030603040501030900
Content-Type: text/plain;
 name="proc_scsi_aic7xxx_1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="proc_scsi_aic7xxx_1"

Adaptec AIC7xxx driver version: 6.1.8
aic7892: Wide Channel A, SCSI Id=7, 32/255 SCBs
Channel A Target 0 Negotiation Settings
	User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 1 Negotiation Settings
	User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 2 Negotiation Settings
	User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 3 Negotiation Settings
	User: 40.000MB/s transfers (20.000MHz DT, offset 255, 16bit)
	Goal: 40.000MB/s transfers (20.000MHz, offset 127, 16bit)
	Curr: 3.300MB/s transfers
	Channel A Target 3 Lun 0 Settings
		Commands Queued 1
		Commands Active 0
		Command Openings 1
		Max Tagged Openings 0
		Device Queue Frozen Count 0
Channel A Target 4 Negotiation Settings
	User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 5 Negotiation Settings
	User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 6 Negotiation Settings
	User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 7 Negotiation Settings
	User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 8 Negotiation Settings
	User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 9 Negotiation Settings
	User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 10 Negotiation Settings
	User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 11 Negotiation Settings
	User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 12 Negotiation Settings
	User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 13 Negotiation Settings
	User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 14 Negotiation Settings
	User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Channel A Target 15 Negotiation Settings
	User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)

--------------070403030603040501030900--


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B7E83C2.9060202>