From owner-freebsd-bugs@FreeBSD.ORG Wed Jul 20 04:00:35 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D3A316A41F for ; Wed, 20 Jul 2005 04:00:35 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD90843D45 for ; Wed, 20 Jul 2005 04:00:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6K40YCh025213 for ; Wed, 20 Jul 2005 04:00:34 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6K40Yur025212; Wed, 20 Jul 2005 04:00:34 GMT (envelope-from gnats) Resent-Date: Wed, 20 Jul 2005 04:00:34 GMT Resent-Message-Id: <200507200400.j6K40Yur025212@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jason Bacon Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27DBB16A41F for ; Wed, 20 Jul 2005 03:50:14 +0000 (GMT) (envelope-from bacon@smithers.neuro.mcw.edu) Received: from smithers.neuro.mcw.edu (smithers.neuro.mcw.edu [141.106.204.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id C37E543D46 for ; Wed, 20 Jul 2005 03:50:13 +0000 (GMT) (envelope-from bacon@smithers.neuro.mcw.edu) Received: from smithers.neuro.mcw.edu (localhost [127.0.0.1]) by smithers.neuro.mcw.edu (8.13.1/8.13.1) with ESMTP id j6K3oCLk006934 for ; Tue, 19 Jul 2005 22:50:12 -0500 (CDT) (envelope-from bacon@smithers.neuro.mcw.edu) Received: (from bacon@localhost) by smithers.neuro.mcw.edu (8.13.1/8.13.1/Submit) id j6K3oC0r006933; Tue, 19 Jul 2005 22:50:12 -0500 (CDT) (envelope-from bacon) Message-Id: <200507200350.j6K3oC0r006933@smithers.neuro.mcw.edu> Date: Tue, 19 Jul 2005 22:50:12 -0500 (CDT) From: Jason Bacon To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/83765: Adaptec 1542-CP requires plug-and-play switch setting X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jason Bacon List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 04:00:35 -0000 >Number: 83765 >Category: kern >Synopsis: Adaptec 1542-CP requires plug-and-play switch setting >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Jul 20 04:00:34 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jason Bacon >Release: FreeBSD 5.4-RELEASE i386 >Organization: Medical College of Wisconsin >Environment: FreeBSD lisa.neuro.mcw.edu 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Tue Jul 5 11:20:16 CDT 2005 root@lisa.neuro.mcw.edu:/usr/obj/usr/src/sys/lisa i386 >Description: The Adaptec 1542-CP host adapter apparently does not function with the stock FreeBSD 5.x kernel unless the dip switches are set for plug-and-play operation. IT IS NOT SUFFICIENT TO ENABLE PLUG-AND-PLAY IN THE ADAPTEC BIOS VIA CTRL+A AT BOOT TIME. This is apparently contrary to 4.x kernels - I discovered this when upgrading an old system from 4.x to 5.x with a 1542-CP using static IO, IRQ and DMA values. Fdisk complained that no disks were present. I tried various settings in the Adaptec BIOS config. I managed to get the disk recognized in the boot messages, but fdisk still could not find it. Checking the manual revealed that one of the onboard dip switches toggles plug-and-play operation. After flipping this switch, installation went forward with no hitches. >How-To-Repeat: Try installing 5.x on a 1542-CP with PNP disabled via dip switches. >Fix: Set dip switches on the 1542-CP for PNP. >Release-Note: >Audit-Trail: >Unformatted: