From owner-freebsd-stable Thu Nov 14 19:48: 4 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FD3937B401; Thu, 14 Nov 2002 19:48:01 -0800 (PST) Received: from bast.unixathome.org (bast.unixathome.org [216.187.105.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11CF743E4A; Thu, 14 Nov 2002 19:48:00 -0800 (PST) (envelope-from dan@langille.org) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id 3E2B63F4B; Thu, 14 Nov 2002 22:47:54 -0500 (EST) From: "Dan Langille" To: stable@freebsd.org Date: Thu, 14 Nov 2002 22:47:54 -0500 MIME-Version: 1.0 Subject: Re: 4.7 kernel does not find aha1 Cc: sos@FreeBSD.org Message-ID: <3DD4281A.6672.9CBA39AF@localhost> In-reply-to: <20021114163407.Y5562-100000@m20.unixathome.org> X-mailer: Pegasus Mail for Windows (v4.02a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 14 Nov 2002 at 16:43, Dan Langille wrote: > I just did a build world to upgrade to 4.7 from 4.6. The new kernel does > not detect the aha1 which 4.6 still does. > > Here is an extract from the 4.6 dmesg: > > lpt0: Interrupt-driven port > ppi0: on ppbus0 > aha1: at port 0x330-0x333 iomem 0xcc000-0xcffff > irq 10 drq 5 on isa0 > aha1: AHA-1542CP FW Rev. F.0 (ID=46) SCSI Host Adapter, SCSI ID 7, 16 CCBs > IPsec: Initialized Security Association Processing. > ad0: 1221MB [2482/16/63] at > ata0-master WDMA2 > Waiting 15 seconds for SCSI devices to settle > Mounting root from ufs:/dev/ad0s1a > da1 at aha1 bus 0 target 3 lun 0 > da1: Fixed Direct Access SCSI-2 device > da1: 10.000MB/s transfers (10.000MHz, offset 8) > da1: 8678MB (17773500 512 byte sectors: 64H 32S/T 8678C) > da0 at aha1 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-2 device > da0: 10.000MB/s transfers (10.000MHz, offset 8) > da0: 2047MB (4194058 512 byte sectors: 64H 32S/T 2047C) > IP Filter: v3.4.29 initialized. Default = pass all, Logging = enabled > > And here is the same portion from the 4.7 boot: > > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > IPsec: Initialized Security Association Processing. > ad0: 1221MB [2482/16/63] at > ata0-master WDMA2 > Mounting root from ufs:/dev/ad0s1a > swapon: adding /dev/ad0s1b as swap device > Automatic boot in progress... > /dev/ad0s1a: FILESYSTEM CLEAN; SKIPPING CHECKS > /dev/ad0s1a: clean, 6417 free (113 frags, 788 blocks, 0.2% fragmentation) > Can't open /dev/da1s1e: Device not configured > /dev/da1s1e: CAN'T CHECK FILE SYSTEM. > /dev/da1s1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. > /dev/ad0s1f: FILESYSTEM CLEAN; SKIPPING CHECKS > /dev/ad0s1f: clean, 647398 free (40422 frags, 75872 blocks, 3.6% > fragmentation) > /dev/ad0s1e: FILESYSTEM CLEAN; SKIPPING CHECKS > /dev/ad0s1e: clean, 16961 free (257 frags, 2088 blocks, 1.3% > fragmentation) > THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY: > /dev/da1s1e (/home/ncvs) > Automatic file system check failed . . . help! > Enter full pathname of shell or RETURN for /bin/sh: > > I have checked the kernel config file, aha is in there. Did I miss > something? /usr/src/UPGRADING has no mention of ata. Clues please? I am quite sure I encountered this same problem on this machine during an earlier upgrade, some years ago. I know it was discussed on the lists but I can't find it. Checking the archives for this card, it looks like the pnpinfo may be useful to diagnose the problem: $ sudo pnpinfo Password: Checking for Plug-n-Play devices... Card assigned CSN #1 Vendor ID ADP1542 (0x42159004), Serial Number 0x5a5afe45 PnP Version 1.0, Vendor Version 16 Device Description: Adaptec AHA-1542CP Logical Device ID: ADP1542 0x42159004 #0 Device powers up active Device supports I/O Range Check Vendor register funcs 00 Device Description: SCSI Host Adapter Compatible Device ID: PNP00a0 (a000d041) IRQ: 10 11 12 14 15 - only one type (true/edge) DMA: channel(s) 5 6 7 16-bit, bus master, count by byte, count by word, Type A TAG Start DF Good Configuration I/O Range 0x330 .. 0x330, alignment 0x4, len 0x4 [16-bit addr] TAG Start DF Acceptable Configuration I/O Range 0x334 .. 0x334, alignment 0x4, len 0x4 [16-bit addr] TAG Start DF Acceptable Configuration I/O Range 0x234 .. 0x234, alignment 0x4, len 0x4 [16-bit addr] TAG Start DF Acceptable Configuration I/O Range 0x230 .. 0x230, alignment 0x4, len 0x4 [16-bit addr] TAG Start DF Acceptable Configuration I/O Range 0x134 .. 0x134, alignment 0x4, len 0x4 [16-bit addr] TAG Start DF Sub-optimal Configuration I/O Range 0x130 .. 0x130, alignment 0x4, len 0x4 [16-bit addr] TAG End DF Memory Range: Not writeable (ROM) Memory Range: Read-cacheable, write-through Memory Range: Decode supports range length Memory Range: 8-bit memory only Memory Range: Memory is shadowable Memory Range: Memory is an expansion ROM Memory range minimum address: 0xc8000 Memory range maximum address: 0xdc000 Memory range base alignment: 0x4000 Memory range length: 0x4000 End Tag Successfully got 21 resources, 1 logical fdevs -- card select # 0x0001 CSN ADP1542 (0x42159004), Serial Number 0x5a5afe45 Logical device #0 IO: 0x0330 0x0330 0x0330 0x0330 0x0330 0x0330 0x0330 0x0330 IRQ 10 0 DMA 5 4 IO range check 0x00 activate 0x01 -- Dan Langille : http://www.langille.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message