Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2001 10:34:30 -0700 (PDT)
From:      Dave Cornejo <dave@dogwood.com>
To:        freebsd-current@freebsd.org
Subject:   SCSI hangs w/SuperMicro 6010H
Message-ID:  <200106171734.f5HHYUv14460@white.dogwood.com>

next in thread | raw e-mail | index | archive | help
Please excuse me if you've seen this in questions, but I found a
relevancy to current: If I drop back to 4.3 release, this system boots
every time with no hangs observed in half a dozen tries in either UP
or SMP mode.  Anyone else seeing similar?

thanks,
dave c

----- Forwarded message from Dave Cornejo -----

From: Dave Cornejo <dave@dogwood.com>
Message-ID: <200106170720.f5H7KlM90295@white.dogwood.com>
Subject: SuperMicro 6010H SCSI Problems
To: freebsd-questions@freebsd.org
Date: Sun, 17 Jun 2001 00:20:47 -0700 (PDT)
X-Mailer: ELM [version 2.4ME+ PL88 (25)]

I finally got a make release done (a heartfelt thanks to all the
people I badgered to commit fixes for that!) and installed it.

I'm having a problem with a SuperMicro 6010H server (uses a 370DER+
motherboard), dual 1GHz PIII, 1GB RAM, 2 x Seagate ST318451LC drives
(18GB 15K RPM Ultra160 SCSI).  The SCSI chip is an Adaptec 7899.

The software is several different kernels from today (June 16)
cvsupped at various times.

It seems to boot okay with a non-SMP kernel, but hangs with an SMP
one.  It seems to revolve around the SCSI stuff, I did a boot -v and
tried to get into the debugger but it's hung hard.  Oddly sometimes if
you pound on the keyboard at the right point (noted in the edited
output of dmesg below) it will continue on to boot, but you get tons
of "Retrying commands" and "tagged openings now XXX" before things
settle out and all seems to work okay after that.

Another tidbit: swapped the drives and reinstalled and the command
retries aren't happening (at least not as quickly or often), but the
hang is still there.

Any clues would be appreciated...

dave c

what I hope are the relevant bits of dmesg:

ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xd000-0xd0ff mem 0xfeafc000-0xfeafcfff irq 5 at device 5.0 on pci0
ahc0: Reading SEEPROM...done.
ahc0: Manual LVD Termination
ahc0: BIOS eeprom is present
ahc0: Secondary High byte termination Enabled
ahc0: Secondary Low byte termination Enabled
ahc0: Primary Low Byte termination Enabled
ahc0: Primary High Byte termination Enabled
ahc0: Downloading Sequencer Program... 419 instructions downloaded
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs
ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xd800-0xd8ff mem 0xfeaff000-0xfeafffff irq 7 at device 5.1 on pci0
ahc1: Reading SEEPROM...done.
ahc1: Manual LVD Termination
ahc1: BIOS eeprom is present
ahc1: Secondary High byte termination Enabled
ahc1: Secondary Low byte termination Enabled
ahc1: Primary Low Byte termination Enabled
ahc1: Primary High Byte termination Enabled
ahc1: Downloading Sequencer Program... 419 instructions downloaded
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/255 SCBs

...

BIOS Geometries:
 0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 1:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0

...

Waiting 2 seconds for SCSI devices to settle
(noperiph:ahc0:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted.
(probe0:ahc0:0:0:0): Retrying Command
(probe1:ahc0:0:1:0): Retrying Command
(ahc0:A:0:0): Sending PPR bus_width 1, period 9, offset 7f, ppr_options 2
(ahc0:A:0:0): Received PPR width 1, period 9, offset 3f,options 2
	Filtered to width 1, period 9, offset 3f, options 2
ahc0: target 0 using 16bit transfers
ahc0: target 0 synchronous at 80.0MHz DT, offset = 0x3f
(ahc0:A:1:0): Sending PPR bus_width 1, period 9, offset 7f, ppr_options 2
(ahc0:A:1:0): Received PPR width 1, period 9, offset 3f,options 2
	Filtered to width 1, period 9, offset 3f, options 2
ahc0: target 1 using 16bit transfers
ahc0: target 1 synchronous at 80.0MHz DT, offset = 0x3f

>> usually hangs here, but sometimes if you pound on the keyboard at
>> exactly the right moment, it will continue as in this case:

pass0 at ahc0 bus 0 target 0 lun 0
pass0: <SEAGATE ST318451LC 0002> Fixed Direct Access SCSI-3 device 
pass0: Serial Number 3CC00ESN00001048HMU7
pass0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
pass1 at ahc0 bus 0 target 1 lun 0
pass1: <SEAGATE ST318451LC 0002> Fixed Direct Access SCSI-3 device 
pass1: Serial Number 3CC00DZC000010460HC7
pass1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
Creating DISK da0
Creating DISK da1
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST318451LC 0002> Fixed Direct Access SCSI-3 device 
da0: Serial Number 3CC00ESN00001048HMU7
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 17501MB (35843671 512 byte sectors: 255H 63S/T 2231C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <SEAGATE ST318451LC 0002> Fixed Direct Access SCSI-3 device 
da1: Serial Number 3CC00DZC000010460HC7
da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da1: 17501MB (35843671 512 byte sectors: 255H 63S/T 2231C)
Mounting root from ufs:/dev/da0s1a
da0s1: type 0xa5, start 63, end = 35841014, size 35840952 : OK
SMP: AP CPU #1 Launched!
SMP: CPU1 apic_initialize():
     lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff
start_init: trying /sbin/init
da1s1: type 0xa5, start 63, end = 35841014, size 35840952 : OK
da1s1: type 0xa5, start 63, end = 35841014, size 35840952 : OK
da1s1: type 0xa5, start 63, end = 35841014, size 35840952 : OK
da1s1: type 0xa5, start 63, end = 35841014, size 35840952 : OK
da1s1: type 0xa5, start 63, end = 35841014, size 35840952 : OK
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): tagged openings now 64
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): tagged openings now 56
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): tagged openings now 55
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): tagged openings now 53
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): tagged openings now 51
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): tagged openings now 49
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): tagged openings now 47
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): tagged openings now 45
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): tagged openings now 43
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): tagged openings now 42
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): tagged openings now 41
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): tagged openings now 39
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): tagged openings now 37
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): tagged openings now 35
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): Retrying Command
(da0:ahc0:0:0:0): tagged openings now 33
(da0:ahc0:0:0:0): Retrying Command

----- End of forwarded message from Dave Cornejo -----

-- 
Dave Cornejo @ Dogwood Media, Fremont, California (also dcornejo@ieee.org)
  "There aren't any monkeys chasing us..." - Xochi

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




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