From owner-freebsd-stable Tue Jan 9 17:06:26 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA24039 for stable-outgoing; Tue, 9 Jan 1996 17:06:26 -0800 (PST) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.54]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id RAA24034 Tue, 9 Jan 1996 17:06:18 -0800 (PST) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.6.12/8.6.9) id RAA00239; Tue, 9 Jan 1996 17:04:37 -0800 From: "Steven G. Kargl" Message-Id: <199601100104.RAA00239@troutmask.apl.washington.edu> Subject: aha1742 and kernel builds are broken To: freebsd-stable@freebsd.org Date: Tue, 9 Jan 1996 17:04:36 -0800 (PST) Cc: gibbs@freebsd.org X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-stable@freebsd.org Precedence: bulk cc'd to gibbs@freebsd.org Supped -stable Friday (05 Jan 96) at 0600 pst. I noted that src/sys had some changes/updates including aha1742.c, so I decided to build a new kernel. My new config file (NEWKERNEL) contains controller isa0 controller eisa0 controller ahb0 My old config file (OLDKERNEL) contained controller isa0 controller ahb0 at isa? bio irq ? vector ahbintr dmesg for NEWKERNEL shows eisa0: Probing for devices on the EISA bus ahb0: at 0x1c00-0x1cff irq 11 on eisa0 slot 1 ahb0 waiting for scsi devices to settle (ahb0:0:0): "MAXTOR MXT-540SL J1.5" type 0 fixed SCSI 2 sd0(ahb0:0:0): Direct-Access 521MB (1067740 512 byte sectors) (ahb0:1:0): "QUANTUM LIGHTNING 730S 241E" type 0 fixed SCSI 2 sd1(ahb0:1:0): Direct-Access 699MB (1431760 512 byte sectors) (ahb0:2:0): "HP HP35480A 1109" type 1 removable SCSI 2 st0(ahb0:2:0): Sequential-Access density code 0x13, drive empty dmesg for OLDKERNEL showed Probing for devices on the ISA bus: ahb0: reading board settings, int=11 ahb0 at 0x1000-0x10ff irq 11 on eisa slot 1 ahb0 waiting for scsi devices to settle (ahb0:0:0): "MAXTOR MXT-540SL J1.5" type 0 fixed SCSI 2 sd0(ahb0:0:0): Direct-Access 521MB (1067740 512 byte sectors) (ahb0:1:0): "QUANTUM LIGHTNING 730S 241E" type 0 fixed SCSI 2 sd1(ahb0:1:0): Direct-Access 699MB (1431760 512 byte sectors) (ahb0:2:0): "HP HP35480A 1109" type 1 removable SCSI 2 st0(ahb0:2:0): Sequential-Access density code 0x13, drive empty Clearly, the new sys/i386/eisa/aha1742.c is getting the probe wrong. That is, OLDKERNEL is finding ahb0 at 0x1000-0x10ff and NEWKERNEL is find ahb0 at 0x1c00-0x1cff. NEWKERNEL will hang the system without a panic or a message in /var/log/message. The system will not respond to the keyboard at the console nor will it respond to telneting into the system from a remote site. If you want to hang the system, it is quite repeatable with `iozone 32' in /usr/tmp. %df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/sd0a 49231 17934 27358 40% / /dev/sd0s2e 343551 259272 56794 82% /usr %swapinfo Device 1K-blocks Used Avail Capacity Type /dev/sd0s2b 30720 0 30656 0% Interleaved /dev/sd1s1b 30720 0 30656 0% Interleaved Total 61312 0 61312 0% One other point, to get NEWKERNEL to config and compile, I had to edit sys/i386/conf/files.i386 and comment out the i386/isa/aha1742.c line. Otherwise, you do not pickup the file aha1742.c. -- Steven G. Kargl | Phone: 206-685-4677 | Applied Physics Lab | Fax: 206-543-6785 | Univ. of Washington |---------------------| 1013 NE 40th St | FreeBSD 2.x-stable | Seattle, WA 98105 |---------------------|