From owner-freebsd-current Fri May 3 01:23:06 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA11050 for current-outgoing; Fri, 3 May 1996 01:23:06 -0700 (PDT) Received: from luke.pmr.com (luke.pmr.com [206.224.65.132]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id BAA11045 Fri, 3 May 1996 01:23:01 -0700 (PDT) Received: (from bob@localhost) by luke.pmr.com (8.7.5/8.6.9) id DAA14478; Fri, 3 May 1996 03:23:15 -0500 (CDT) From: Bob Willcox Message-Id: <199605030823.DAA14478@luke.pmr.com> Subject: Re: ahc driver no longer sees one of my disks To: gibbs@freefall.freebsd.org (Justin T. Gibbs) Date: Fri, 3 May 1996 03:23:15 -0500 (CDT) Cc: freebsd-current@freefall.freebsd.org In-Reply-To: <199605030439.VAA23683@freefall.freebsd.org> from "Justin T. Gibbs" at "May 2, 96 09:39:07 pm" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Justin T. Gibbs wrote: > >Since replacing my 100MHz Pentium CPU with a 166MHz CPU, the Adaptec > >2940 device driver no longer sees one of my SCSI disks, my Toshiba > >3701 CDROM, or my Wangtek 5525ES tape drive (the adapter's BIOS > >does). What I use to get (before the CPU change) for boot output > >was: > > > > The driver uses DELAY() to perform the SCSI bus reset. Perhaps its not > long enough in your new system. My other guess is that the bus settle > delay isn't long enough. What's the value of SCSIDELAY in your kernel? > Is DELAY() really so dependant on the CPU speed? Can we get a better > DELAY() macro? My SCSI_DELAY is set to 15 seconds and the system does appear to wait for that length of time (as measured with a stop watch). Some, possibly relavent, other boot messages I get are: Calibrating clock(s) relative to mc146818A clock ... i586 clock: 166189614 Hz, i8254 clock: 1193157 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency CLK_USE_I586_CALIBRATION not specified - using old calibration method i586 clock: 0 Hz CPU: Pentium (166.18-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping=12 Features=0x1bf Also, incase its any help, rebooting with the -v flag yields the following ahc msgs: ahc0 rev 3 int a irq 12 on pci0:10 mapreg[10] type=1 addr=0000e000 size=0100. mapreg[14] type=0 addr=fb3f6000 size=1000. ahc0: BurstLen = 8DWDs, Latency Timer = 32PCLKS ahc0: Reading SEEPROM...done. ahc0: aic7870 Single Channel, SCSI Id=7, 16 SCBs 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): "QUANTUM PD700S 3110" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 668MB (1368432 512 byte sectors) sd0(ahc0:0:0): with 2448 cyls, 8 heads, and an average 69 sectors/track ahc0: target 1 synchronous at 10.0MHz, offset = 0xf (ahc0:1:0): "DEC DSP3105S X385" type 0 fixed SCSI 2 sd1(ahc0:1:0): Direct-Access 1001MB (2050860 512 byte sectors) sd1(ahc0:1:0): with 2570 cyls, 14 heads, and an average 57 sectors/track -- Bob Willcox bob@luke.pmr.com Austin, TX