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

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

Justin T. Gibbs wrote:

>>Hi,
>>
>>I am trying to set up backups on our Linux Mandrake 8.0 fileserver.
>>
>
>...
>
>>aic7xxx driver in the current kernel is 6.1.13.
>>
>
>The latest driver available is 6.2.1 available from here:
>
>http://people.FreeBSD.org/~gibbs/linux/
>
>The 2.4.7 patches will likely work for your mandrake setup.
>For this particular problem, I don't think it will make much
>of a difference.
>

I had built a 2.4.7 (based on Mandrake's 2.4.7-8mdk) with 6.2.0, which I 
tried just before I received your reply, and you were right, no difference.

>
>>Running:
>>
>># mt -f /dev/st0 status
>>
>>when a tape is loaded hangs the machine solid, with only the following 
>>information on the screen:
>>
>>(scsi0:A:3): parity error detected in Data-in phase SEQADDR(0x1a8) 
>>SCSIRATE(0x95)
>>
>
>Parity errors are hard to "create" in the driver.  They almost always
>indicate a problem with your cabling or termination setup.  If you boot
>with "aic7xxx=verbose", the termination settings will be displayed
>at boot which will unveil any problems on the controller end.  What
>are you using for termination on the HP changer?  How long is the cable
>from the machine to the changer?
>
I booted with aic7xxx=verbose, and didn't get any more info than before. 
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.

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.

The following is the last I see of my machine, after typing "mt -f 
/dev/st0 status":
(scsi:A:3): 40.000MB/s transfers (20.000MHz, offset, 16bit)
(scsi:A:3:0): parity error detected in Data-in phase SEQADDR(0x1a8) 
SCSIRATE(0x95).

With kernels 2.4.3-20mdk, 2.4.7-8mdk, and my aic7xxx-6.2-patched 
2.4.7-8mdk I get the same behavior. With 2.2.17-21 (Mandrake 7.2) it is 
slightly different (hangs during modprobe, although does not crash the 
machine), with aic7xxx v 5.1.31. See attached dmesg|grep -i scsi (sorry, 
no aic7xxx=verbose on this one).

Any help most welcome ...

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



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

Linux version 2.4.3-20mdk (chmou@no.mandrakesoft.com) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release / Linux-Mandrake 8.0)) #1 Sun Apr 15 23:03:10 CEST 2001
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000ec000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000007ff0000 (usable)
 BIOS-e820: 0000000007ff0000 - 0000000007ff8000 (ACPI data)
 BIOS-e820: 0000000007ff8000 - 0000000008000000 (ACPI NVS)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
On node 0 totalpages: 32752
zone(0): 4096 pages.
zone(1): 28656 pages.
zone(2): 0 pages.
hm, page 01000000 reserved twice.
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.
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)
Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
VFS: Diskquotas version dquot_6.5.0 initialized
CPU: Before vendor init, caps: 0183f9ff c1c7f9ff 00000000, vendor = 2
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 64K (64 bytes/line)
CPU: After vendor init, caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU: After generic, caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU: Common caps: 0183f9ff c1c7f9ff 00000000 00000000
CPU: AMD Duron(tm) Processor  stepping 01
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfdb71, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Disabled enhanced CPU to PCI writes
PCI: Bursting cornercase bug worked around
PCI: Post Write Fail set to Retry
PCI: Using IRQ router VIA [1106/0686] at 00:07.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.14)
Starting kswapd v1.8
vesafb: framebuffer at 0xda000000, mapped to 0xc8800000, size 4096k
vesafb: mode is 800x600x16, linelength=1600, pages=3
vesafb: protected mode interface info at c000:02e5
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 100x37
fb0: VESA VGA frame buffer device
pty: 256 Unix98 ptys configured
block: queued sectors max/low 83653kB/27884kB, 256 slots per queue
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686a (rev 22) IDE UDMA66 controller on pci00:07.1
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:DMA
hda: FUJITSU MPF3153AT, ATA DISK drive
hdb: ATAPI CDROM 48X, ATAPI CD/DVD-ROM drive
hdd: Hewlett-Packard CD-Writer Plus 8100, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 30023280 sectors (15372 MB) w/512KiB Cache, CHS=1868/255/63, UDMA(33)
hdb: ATAPI CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 >
RAMDISK: Compressed image found at block 0
Uncompressing.......done.
Freeing initrd memory: 157k freed
Serial driver version 5.05 (2000-12-13) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md.c: sizeof(mdp_super_t) = 4096
autodetecting RAID arrays
autorun ...
... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem).
SCSI subsystem driver Revision: 1.00
reiserfs: checking transaction log (device 03:0b) ...
Using r5 hash to sort names
ReiserFS version 3.6.25
VFS: Mounted root (reiserfs filesystem) readonly.
change_root: old root has d_count=3
Trying to unmount old root ... okay
Freeing unused kernel memory: 696k freed
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38215 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38215 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6005: writing inode 38214 on readonly FS
clm-6005: writing inode 38215 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
Adding Swap: 248968k swap-space (priority -1)
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6006: writing inode 38214 on readonly FS
clm-6005: writing inode 38214 on readonly FS
MSDOS FS: Using codepage 850
MSDOS FS: IO charset iso8859-1
MSDOS FS: Using codepage 850
MSDOS FS: IO charset iso8859-1
reiserfs: checking transaction log (device 03:08) ...
Using r5 hash to sort names
reiserfs: using 3.5.x disk format
ReiserFS version 3.6.25
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: HP        Model: CD-Writer+ 8100   Rev: 1.0g
  Type:   CD-ROM                             ANSI SCSI revision: 02
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.251 $ time 23:13:16 Apr 15 2001
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 9 for device 00:07.3
PCI: The same IRQ used for device 00:07.2
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 9
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 9 for device 00:07.2
PCI: The same IRQ used for device 00:07.3
usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 9
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
8139too Fast Ethernet driver 0.9.15c loaded
PCI: Found IRQ 10 for device 00:0d.0
PCI: The same IRQ used for device 00:09.0
eth0: RealTek RTL8139 Fast Ethernet at 0xc8deef00, 00:50:bf:21:3a:85, IRQ 10
eth0:  Identified 8139 chip type 'RTL-8139C'
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1.
Creative EMU10K1 PCI Audio Driver, version 0.7, 23:13:31 Apr 15 2001
PCI: Found IRQ 5 for device 00:0a.0
PCI: The same IRQ used for device 00:0e.0
emu10k1: EMU10K1 rev 8 model 0x8027 found, IO at 0xcc00-0xcc1f, IRQ 5
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
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

--------------090606050306070805030807
Content-Type: text/plain;
 name="dmesg_grep_i_scsi_2.2.17-21mdk"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="dmesg_grep_i_scsi_2.2.17-21mdk"

ide_setup: hdd=ide-scsi
scsi : 0 hosts.
scsi : detected total.
(scsi0) <Adaptec AIC-7892 Ultra 160/m SCSI host adapter> found at PCI 0/9/0
(scsi0) Wide Channel, SCSI ID=7, 32/255 SCBs
(scsi0) Downloading sequencer code... 392 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.31/3.2.4
       <Adaptec AIC-7892 Ultra 160/m SCSI host adapter>
scsi : 1 host.
scsi : aborting command due to timeout : pid 3, scsi0, channel 0, id 3, lun 0 Test Unit Ready 00 00 00 00 00 
SCSI host 0 abort (pid 3) timed out - resetting
SCSI bus is being reset for host 0 channel 0.
SCSI host 0 channel 0 reset (pid 3) timed out - trying harder
SCSI bus is being reset for host 0 channel 0.
SCSI host 0 reset (pid 3) timed out again -
probably an unrecoverable SCSI bus or device hang.

--------------090606050306070805030807--


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?3B7D48DF.50301>