Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 1999 19:36:56 +0200
From:      sthaug@nethelp.no
To:        freebsd-scsi@freebsd.org
Subject:   camcontrol reset 0:3:0 hangs systems
Message-ID:  <3369.934997816@verdi.nethelp.no>

next in thread | raw e-mail | index | archive | help
System: FreeBSD 3.2-STABLE as of 17. august, 2xPII-450, Adaptec SCSI
controller:

ahc0: <Adaptec 2940 Ultra2 SCSI adapter> rev 0x00 int a irq 11 on pci0.12.0
ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs

and 4 IBM disks:

da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DDRS-39130D DC1B> Fixed Direct Access SCSI-2 device 
da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled
da0: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <IBM DDRS-39130D DC1B> Fixed Direct Access SCSI-2 device 
da1: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled
da1: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C)
da2 at ahc0 bus 0 target 3 lun 0
da2: <IBM DNES-318350W SA30> Fixed Direct Access SCSI-3 device 
da2: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da2: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da3 at ahc0 bus 0 target 4 lun 0
da3: <IBM DNES-318350W SA30> Fixed Direct Access SCSI-3 device 
da3: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da3: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)


A "camcontrol reset 0" works fine, "Reset of bus 0 was successful".

A "camcontrol reset 0:3:0" (trying to reset da2) reliably hangs the
system (no response from the command, everything hangs). Error messages
on console:

(xpt0:ahc0:0:3:0): Bus Device Reset Message Sent
ahc0: Bus Device Reset on A:3. 1 SCBs aborted.

The hang occurs whether the system runs a uniprocessor or an SMP kernel,
and it doesn't matter which disk is attempted reset either.

The kernel responds to Ctrl-Alt-Esc, but the DDB backtrace doesn't seem
to be very helpful:

Debugger(c0244008) at Debugger+0x37
scgetc(c0277e0c,2,0,c0277e0c,0) at scgetc+0x7ec
sckbdevent(c0277e0c,0,0,0,c8c82360) at sckbdevent+0x58
atkbd_intr(c0277e0c,0,0,0,c0210a8e) at atkbd_intr+0x1f
atkbd_isa_intr(0,80000000,10,c0210010,0) at atkbd_isa_intr+0x28
Xresume1() at Xresume1+0x2b
--- interrupt, eip = 0xc021bd71, esp = 0xc024f42c, ebp = 0 ---
default_halt() at default_halt+0x1

Steinar Haug, Nethelp consulting, sthaug@nethelp.no
----------------------------------------------------------------------
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.2-STABLE #0: Wed Aug 18 19:05:05 CEST 1999
    sthaug@celery.nethelp.no:/mnt2/src/sys/compile/CELERY_UP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Xeon/Celeron (451.03-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
  Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 268435456 (262144K bytes)
avail memory = 258359296 (252304K bytes)
Preloaded elf kernel "kernel" at 0xc02c6000.
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge> rev 0x03 on pci0.0.0
chip1: <Intel 82443BX host to AGP bridge> rev 0x03 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.4.0
chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.4.3
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x05 int a irq 12 on pci0.10.0
fxp0: Ethernet address 00:90:27:2f:d2:5f
fxp1: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x05 int a irq 10 on pci0.11.0
fxp1: Ethernet address 00:90:27:2f:d2:60
ahc0: <Adaptec 2940 Ultra2 SCSI adapter> rev 0x00 int a irq 11 on pci0.12.0
ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs
Probing for devices on PCI bus 1:
vga0: <ATI model 475a graphics accelerator> rev 0x7a int a irq 11 on pci1.0.0
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 not found
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
Waiting 3 seconds for SCSI devices to settle
changing root device to da0s1a
da2 at ahc0 bus 0 target 3 lun 0
da2: <IBM DNES-318350W SA30> Fixed Direct Access SCSI-3 device 
da2: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da2: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da3 at ahc0 bus 0 target 4 lun 0
da3: <IBM DNES-318350W SA30> Fixed Direct Access SCSI-3 device 
da3: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da3: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DDRS-39130D DC1B> Fixed Direct Access SCSI-2 device 
da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled
da0: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <IBM DDRS-39130D DC1B> Fixed Direct Access SCSI-2 device 
da1: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled
da1: 8715MB (17850000 512 byte sectors: 255H 63S/T 1111C)


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




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