From owner-freebsd-current Sat Jun 8 20:14:41 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA04017 for current-outgoing; Sat, 8 Jun 1996 20:14:41 -0700 (PDT) Received: from absolut-zero.winternet.com (root@absolut-zero.winternet.com [198.174.169.4]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA03956; Sat, 8 Jun 1996 20:14:28 -0700 (PDT) Received: from parka (nordquis@parka.winternet.com [198.174.169.9]) by absolut-zero.winternet.com (8.7.5/8.7.5) with ESMTP id WAA23457; Sat, 8 Jun 1996 22:14:17 -0500 (CDT) Received: (from nordquis@localhost) by parka (8.7.4/8.6.12) id WAA10317; Sat, 8 Jun 1996 22:14:16 -0500 (CDT) From: Brent Nordquist Posted-Date: Sat, 8 Jun 1996 22:14:16 -0500 (CDT) Message-Id: <199606090314.WAA10317@parka> Subject: Adaptec 2940UW: OK in -SNAP, hangs in -current To: gibbs@freefall.freebsd.org (Justin T. Gibbs), aic7xxx@freebsd.org Date: Sat, 8 Jun 1996 22:14:16 -0500 (CDT) Cc: freebsd-current@freebsd.org Reply-to: nordquis@winternet.com (Brent J. Nordquist) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I finally took the plunge this weekend and did a clean install on my system using 2.2-960501-SNAP, and I built a custom kernel. There weren't any problems with the aic7xxx driver that I had seen when I was using 2.1-960505-stable; the system booted several times without a problem. Then I sup'ed -current and did a make world, plus a kernel recompile using the same kernel config file I had used with -SNAP. The builds went fine. However, the new kernel won't boot; it hangs on my 4mm DAT drive and CD-ROM, tries several other non-existent targets, and later panics. Unlike with -stable, it happens every time. The relevant differences from the dmesg log, and the versions of the files, appear below. I saw the message on one of the mailing lists with the patch to two of the driver files, so I applied it, and things were worse: it hangs on the first device (a disk drive). Differences from that boot's dmesg are also below. As a last resort, I tried restoring just the eight aic7xxx driver files from -SNAP into the -current /usr/src/sys and remaking the kernel. It hangs essentially the same way as the unpatched -current aic7xxx kernel. The -SNAP kernel still boots (although things like the -current ps don't work), but the -current kernel (with either -SNAP or -current aic7xxx) doesn't. Any ideas, or other things I need to provide to help troubleshoot? Thanks! Brent =====Unpatched -current kernel============================================ *** dmesg.good Sat Jun 8 17:28:50 1996 --- dmesg.bad Sat Jun 8 17:37:50 1996 *************** *** 32,38 **** ahc0 rev 0 int a irq 9 on pci0:12 mapreg[10] type=1 addr=0000f800 size=0100. mapreg[14] type=0 addr=fefff000 size=1000. - ahc0: BurstLen = 4DWDs, Latency Timer = 96PCLKS ahc0: Reading SEEPROM...done. ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs ahc0: Downloading Sequencer Program...Done --- 32,37 ---- *************** *** 46,57 **** (ahc0:1:0): "SEAGATE ST1480 SUN0424 7516" type 0 fixed SCSI 2 sd1(ahc0:1:0): Direct-Access 411MB (843284 512 byte sectors) sd1(ahc0:1:0): with 1476 cyls, 9 heads, and an average 63 sectors/track ! ahc0:A:2: refuses syncronous negotiation. Using asyncronous transfers ! (ahc0:2:0): "EXABYTE EXB-4200 216" type 1 removable SCSI 2 ! st0(ahc0:2:0): Sequential-Access density code 0x13, drive empty ! ahc0: target 3 synchronous at 5.0MHz, offset = 0xc ! (ahc0:3:0): "NEC CD-ROM DRIVE:500 2.8" type 5 removable SCSI 2 ! cd0(ahc0:3:0): CD-ROM cd present [325252 x 2048 byte records] --- 45,83 ---- (ahc0:1:0): "SEAGATE ST1480 SUN0424 7516" type 0 fixed SCSI 2 sd1(ahc0:1:0): Direct-Access 411MB (843284 512 byte sectors) sd1(ahc0:1:0): with 1476 cyls, 9 heads, and an average 63 sectors/track ! ahc0: board is not responding ! (ahc0:2:0): timed out in message out phase, SCSISIGI==0xf6 ! (ahc0:2:0): asserted ATN - device reset in message buffer ! ahc0: board is not responding ! cmd fail ! (ahc0:2:0): "unknown unknown ????" type 0 fixed SCSI 0 ! sd2(ahc0:2:0): Direct-Access ahc0: board is not responding ! cmd fail ! ahc0: board is not responding ! cmd fail ! 0MB (1 512 byte sectors) ! sd2(ahc0:2:0): with 0 cyls, 64 heads, and an average 32 sectors/track ! ahc0: board is not responding ! ahc0: board is not responding ! cmd fail ! (ahc0:3:0): "unknown unknown ????" type 0 fixed SCSI 0 ! sd3(ahc0:3:0): Direct-Access ahc0: board is not responding ! cmd fail ! ahc0: board is not responding ! cmd fail ! 0MB (1 512 byte sectors) ! sd3(ahc0:3:0): with 0 cyls, 64 heads, and an average 32 sectors/track ! ahc0: board is not responding ! ahc0: board is not responding ! cmd fail ! (ahc0:4:0): "unknown unknown ????" type 0 fixed SCSI 0 ! sd4(ahc0:4:0): Direct-Access ahc0: board is not responding ! cmd fail ! ahc0: board is not responding ! cmd fail ! 0MB (1 512 byte sectors) ! sd4(ahc0:4:0): with 0 cyls, 64 heads, and an average 32 sectors/track ! ahc0: board is not responding *************** *** 82,94 **** ! imasks: bio c0000240, tty c00300ba, net c00300ba new masks: bio c0000240, tty c00300ba, net c00300ba ! sd0s1: type 0xa5, start 983040, end = 2068479, size 1085440 : OK ! sd0s3: type 0x6, start 32, end = 983039, size 983008 : OK ! sd1s1: type 0x5, start 2048, end = 411647, size 409600 : OK ! sd1s2: type 0xa5, start 411648, end = 841727, size 430080 : OK ! sd1s5: type 0x6, start 2080, end = 411647, size 409568 : OK ! sd1s1: type 0x5, start 2048, end = 411647, size 409600 : OK ! sd1s2: type 0xa5, start 411648, end = 841727, size 430080 : OK ! sd1s5: type 0x6, start 2080, end = 411647, size 409568 : OK --- 108,116 ---- ! Device configuration finished ! Considering FFS root f/s. ! Configuring root and swap devs. ! configure() finished. new masks: bio c0000240, tty c00300ba, net c00300ba ! panic: ahc0: Timed-out command times out again =====Difference between -SNAP and -current driver files=================== *** files.good Sat Jun 8 21:30:29 1996 --- files.bad Sat Jun 8 21:32:54 1996 *************** *** 1,8 **** ! dev/aic7xxx/aic7xxx.seq: aic7xxx.seq,v 1.33 1996/04/20 21:20:29 gibbs ! dev/aic7xxx/aic7xxx_reg.h: aic7xxx_reg.h,v 1.8 1996/04/20 21:20:31 gibbs ! i386/eisa/aic7770.c: aic7770.c,v 1.27 1996/04/20 21:21:47 gibbs ! i386/scsi/93cx6.c: 93cx6.c,v 1.4 1995/11/20 12:14:02 phk ! i386/scsi/93cx6.h: 93cx6.h,v 1.2 1995/09/05 23:52:00 gibbs ! i386/scsi/aic7xxx.c: aic7xxx.c,v 1.65 1996/04/28 19:21:19 gibbs ! i386/scsi/aic7xxx.h: aic7xxx.h,v 1.26 1996/04/28 19:21:20 gibbs ! pci/aic7870.c: aic7870.c,v 1.29 1996/04/20 21:31:27 gibbs --- 1,8 ---- ! dev/aic7xxx/aic7xxx.seq: aic7xxx.seq,v 1.40 1996/05/31 06:30:15 gibbs ! dev/aic7xxx/aic7xxx_reg.h: aic7xxx_reg.h,v 1.11 1996/05/21 18:32:23 gibbs ! i386/eisa/aic7770.c: aic7770.c,v 1.29 1996/05/30 07:18:52 gibbs ! i386/scsi/93cx6.c: 93cx6.c,v 1.5 1996/05/30 07:19:54 gibbs ! i386/scsi/93cx6.h: 93cx6.h,v 1.3 1996/05/30 07:19:55 gibbs ! i386/scsi/aic7xxx.c: aic7xxx.c,v 1.72 1996/05/31 06:32:09 gibbs ! i386/scsi/aic7xxx.h: aic7xxx.h,v 1.28 1996/05/30 07:19:59 gibbs ! pci/aic7870.c: aic7870.c,v 1.36 1996/05/30 07:20:17 gibbs =====Patched -current kernel============================================== *** dmesg.good Sat Jun 8 17:28:50 1996 --- dmesg.worse Sat Jun 8 21:53:42 1996 *************** *** 38,... **** ahc0: Downloading Sequencer Program...Done ahc0: Probing channel A ahc0 waiting for scsi devices to settle ! ahc0: target 0 synchronous at 10.0MHz, offset = 0xf ! (ahc0:0:0): "SEAGATE ST31230N 0170" type 0 fixed SCSI 2 ! sd0(ahc0:0:0): Direct-Access 1010MB (2069860 512 byte sectors) ! sd0(ahc0:0:0): with 3992 cyls, 5 heads, and an average 103 sectors/track ! ahc0: target 1 synchronous at 5.0MHz, offset = 0xf ! (ahc0:1:0): "SEAGATE ST1480 SUN0424 7516" type 0 fixed SCSI 2 ! sd1(ahc0:1:0): Direct-Access 411MB (843284 512 byte sectors) ! sd1(ahc0:1:0): with 1476 cyls, 9 heads, and an average 63 sectors/track ! ahc0:A:2: refuses syncronous negotiation. Using asyncronous transfers ! (ahc0:2:0): "EXABYTE EXB-4200 216" type 1 removable SCSI 2 ! st0(ahc0:2:0): Sequential-Access density code 0x13, drive empty ! ahc0: target 3 synchronous at 5.0MHz, offset = 0xc ! (ahc0:3:0): "NEC CD-ROM DRIVE:500 2.8" type 5 removable SCSI 2 ! cd0(ahc0:3:0): CD-ROM cd present [325252 x 2048 byte records] ... --- 38,46 ---- ahc0: Downloading Sequencer Program...Done ahc0: Probing channel A ahc0 waiting for scsi devices to settle ! ahc0: board is not responding ! (ahc0:0:0): timed out in dataout phase, SCSISIGI == 0x0 ! ahc0: Issued Channel A Bus Reset #2. 1 SCBs aborted ! ahc0: board is not responding ! (ahc0:0:0): timed out in dataout phase, SCSISIGI == 0x0 ! ahc0: Issued Channel A Bus Reset #2. 1 SCBs aborted ========================================================================== -- Brent J. Nordquist Which is worse: ignorance or apathy? nordquis@winternet.com ...Who knows? +1 612 827-2747 ...Who cares?